:root {
  color-scheme: light dark;
  --bg: #f4f2ec;
  --surface: #e9e5da;
  --surface-strong: #ddd7c8;
  --text: #171713;
  --muted: #5d5a51;
  --line: #cbc4b5;
  --accent: #a65f16;
  --accent-ink: #fff9ef;
  --radius: 14px;
  --max: 1180px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #11110f;
    --surface: #1a1916;
    --surface-strong: #24211c;
    --text: #f1eee5;
    --muted: #aaa398;
    --line: #39352e;
    --accent: #c77a2d;
    --accent-ink: #17100a;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Aptos", "Segoe UI Variable", "Segoe UI", sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 5;
  transform: translateY(-150%);
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--text);
  color: var(--bg);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header,
main,
footer {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.site-header {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 750;
  text-decoration: none;
}

.brand img {
  border-radius: var(--radius);
}

nav {
  display: flex;
  align-items: center;
  gap: 24px;
  white-space: nowrap;
}

nav a,
footer a {
  color: var(--muted);
  font-size: 0.94rem;
  text-decoration: none;
}

nav a:hover,
footer a:hover,
.text-link:hover {
  color: var(--accent);
}

.nav-cta {
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.hero {
  min-height: calc(100dvh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(440px, 1.1fr);
  align-items: center;
  gap: clamp(36px, 7vw, 92px);
  padding-block: 48px 72px;
}

.kicker {
  margin: 0 0 16px;
  color: var(--accent);
  font-family: "Cascadia Mono", "SFMono-Regular", monospace;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 700px;
  margin-bottom: 22px;
  font-size: clamp(3.1rem, 6.4vw, 6.6rem);
  line-height: 0.94;
  letter-spacing: -0.065em;
}

.hero-lead {
  max-width: 520px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 750;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease;
}

.button:active {
  transform: translateY(1px);
}

.button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
}

.button.secondary:hover {
  background: var(--surface);
}

.hero-visual {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 24px 80px color-mix(in srgb, var(--accent) 10%, transparent);
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-block: 0 132px;
  border-block: 1px solid var(--line);
}

.summary p {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0;
  padding: 28px 0;
}

.summary p + p {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.summary strong {
  font-size: 2rem;
  line-height: 1;
}

.summary span {
  color: var(--muted);
}

.services,
.boundary,
.about {
  margin-block: 132px;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 52px;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2.3rem, 4vw, 4.3rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.section-heading p,
.about p,
.boundary p {
  color: var(--muted);
  font-size: 1.08rem;
}

.service {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 36px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
}

.service:last-child {
  border-bottom: 1px solid var(--line);
}

.service h3 {
  margin-bottom: 10px;
  font-size: clamp(1.35rem, 2.3vw, 2rem);
}

.service div > p {
  max-width: 720px;
  margin-bottom: 16px;
  color: var(--muted);
}

code {
  color: var(--accent);
  font-family: "Cascadia Mono", "SFMono-Regular", monospace;
  font-size: 0.86rem;
}

.price {
  min-width: 146px;
  margin: 0;
  text-align: right;
}

.price strong,
.price span {
  display: block;
}

.price strong {
  font-size: 2rem;
  line-height: 1;
}

.price span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.82rem;
}

.boundary {
  padding: clamp(32px, 7vw, 84px);
  border-radius: var(--radius);
  background: var(--surface-strong);
}

.boundary p {
  max-width: 760px;
}

.boundary .venues {
  margin: 34px 0 0;
  color: var(--text);
  font-family: "Cascadia Mono", "SFMono-Regular", monospace;
  font-size: 0.84rem;
  line-height: 2;
}

.about {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  align-items: center;
  gap: clamp(36px, 8vw, 110px);
}

.about img {
  width: min(100%, 380px);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  filter: saturate(0.75);
}

.about > div {
  max-width: 620px;
}

.github-fact {
  margin-bottom: 10px;
  font-family: "Cascadia Mono", "SFMono-Regular", monospace;
  font-size: 0.88rem !important;
}

.text-link {
  color: var(--accent);
  font-weight: 750;
  text-underline-offset: 4px;
}

footer {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
}

footer p {
  margin: 0;
  font-weight: 750;
}

footer div {
  display: flex;
  gap: 22px;
}

@media (max-width: 860px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-block: 64px 88px;
  }

  .hero-copy {
    max-width: 680px;
  }

  .hero-visual {
    width: 100%;
  }

  .summary {
    margin-bottom: 96px;
  }

  .summary p {
    align-items: flex-start;
    flex-direction: column;
  }

  .about {
    grid-template-columns: minmax(180px, 0.7fr) minmax(0, 1.3fr);
  }
}

@media (max-width: 640px) {
  .site-header,
  main,
  footer {
    width: min(calc(100% - 32px), var(--max));
  }

  .site-header {
    min-height: 64px;
  }

  .brand span,
  nav > a:not(.nav-cta) {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-block: 52px 64px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.5rem);
  }

  .summary {
    grid-template-columns: 1fr;
    margin-bottom: 84px;
  }

  .summary p,
  .summary p + p {
    flex-direction: row;
    padding: 20px 0;
    border-left: 0;
  }

  .summary p + p {
    border-top: 1px solid var(--line);
  }

  .services,
  .boundary,
  .about {
    margin-block: 84px;
  }

  .service {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .price {
    text-align: left;
  }

  .about {
    grid-template-columns: 1fr;
  }

  .about img {
    width: min(72vw, 320px);
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 28px;
  }

  footer div {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
