:root {
  color-scheme: dark;
  --background: oklch(0.08 0 0);
  --foreground: oklch(0.985 0 0);
  --muted: oklch(0.62 0 0);
  --border: oklch(0.22 0 0);
  --brand: oklch(0.58 0.21 27);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body,
button {
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: var(--brand);
  color: var(--foreground);
}

.shell {
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 0 24px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--border);
  background: oklch(0.08 0 0 / 0.72);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  height: 56px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  text-transform: uppercase;
}

.wordmark-dot {
  width: 6px;
  height: 6px;
  background: var(--brand);
}

.primary-nav {
  display: none;
  align-items: center;
  gap: 32px;
  color: oklch(0.985 0 0 / 0.7);
  font-size: 14px;
}

.primary-nav a,
.site-footer a,
.wordmark,
.nav-action {
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.primary-nav a:hover,
.site-footer a:hover,
.wordmark:hover {
  color: var(--foreground);
}

.nav-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid var(--border);
  padding: 0 18px;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.nav-action:hover,
.button.secondary:hover {
  border-color: var(--foreground);
}

.hero {
  position: relative;
  display: flex;
  min-height: 640px;
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding-top: 72px;
  padding-bottom: 56px;
}

.hero h1,
.section-heading h2 {
  margin: 0;
  max-width: 880px;
  font-weight: 700;
  line-height: 0.98;
  text-wrap: balance;
}

.hero h1 {
  font-size: 48px;
}

.hero h1 > span {
  display: block;
}

.brand {
  color: var(--brand);
}

.accent-underline {
  position: relative;
  display: inline-block;
}

.accent-underline::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 4px;
  background: var(--brand);
}

.hero-copy {
  max-width: 680px;
  margin: 40px 0 0;
  color: oklch(0.985 0 0 / 0.75);
  font-size: 16px;
  line-height: 1.7;
}

.button-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 40px;
}

.button {
  width: 100%;
  min-height: 48px;
  padding: 0 28px;
}

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

.button.primary:hover {
  border-color: var(--brand);
  background: var(--brand);
  color: var(--foreground);
}

.button.large {
  min-height: 56px;
  padding: 0 32px;
}

.hairline {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, oklch(0.58 0.21 27 / 0.5), transparent);
}

.hairline.bottom {
  bottom: 0;
}

.hairline.top {
  top: 0;
}

.section-glow-a,
.section-glow-b,
.section-glow-c,
.section-glow-d {
  position: relative;
  overflow: hidden;
}

.section-glow-a::before,
.section-glow-b::before,
.section-glow-c::before,
.section-glow-d::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.section-glow-a::before {
  background: radial-gradient(ellipse 60% 55% at 92% 8%, oklch(0.58 0.21 27 / 0.28), transparent 65%);
}

.section-glow-b::before {
  background: radial-gradient(ellipse 55% 50% at 95% 30%, oklch(0.58 0.21 27 / 0.2), transparent 70%);
}

.section-glow-c::before {
  background: radial-gradient(ellipse 55% 50% at 5% 70%, oklch(0.58 0.21 27 / 0.2), transparent 70%);
}

.section-glow-d::before {
  background: radial-gradient(ellipse 70% 60% at 10% 90%, oklch(0.58 0.21 27 / 0.3), transparent 65%);
}

.stats-section,
.section,
.site-footer {
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  margin: 0;
  padding: 0;
  background: var(--border);
  list-style: none;
}

.stats-grid li {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--background);
  padding: 32px 0;
}

.stats-grid span,
.numbered-card > span,
.section-heading > span,
.pill-list li,
.site-footer p,
.footer-meta,
.cta-row p {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  text-transform: uppercase;
}

.stats-grid span,
.numbered-card > span,
.section-heading > span {
  color: var(--brand);
  letter-spacing: 0.22em;
}

.stats-grid strong {
  color: oklch(0.985 0 0 / 0.75);
  font-size: 15px;
  font-weight: 400;
}

.section {
  position: relative;
  scroll-margin-top: 56px;
  padding: 96px 0;
}

.section > .shell {
  position: relative;
  z-index: 1;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 56px;
}

.section-heading > span {
  font-size: 32px;
  line-height: 1;
}

.section-heading h2 {
  font-size: 40px;
}

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border);
}

.numbered-card {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  border: 1px solid var(--border);
  background: var(--background);
  padding: 28px;
}

.numbered-card h3 {
  min-height: 0;
  margin: 0;
  font-size: 28px;
  line-height: 1.1;
}

.numbered-card p,
.offset-copy p {
  margin: 0;
  color: oklch(0.985 0 0 / 0.75);
  line-height: 1.7;
}

.numbered-card p {
  font-size: 15px;
}

.offset-copy {
  display: grid;
  gap: 40px;
}

.offset-copy p {
  font-size: 18px;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pill-list li {
  border: 1px solid var(--border);
  padding: 10px 16px;
  color: oklch(0.985 0 0 / 0.82);
  letter-spacing: 0.18em;
}

.final-cta {
  padding: 128px 0;
}

.final-cta .section-heading h2 {
  font-size: 48px;
}

.cta-row {
  gap: 24px;
}

.cta-row p {
  color: var(--muted);
  letter-spacing: 0.16em;
}

.site-footer {
  border-top: 1px solid var(--border);
  border-bottom: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-top: 64px;
  padding-bottom: 64px;
}

.footer-mark {
  font-size: 18px;
}

.site-footer p,
.footer-meta {
  color: var(--muted);
  line-height: 1.7;
  letter-spacing: 0.14em;
}

.site-footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: oklch(0.985 0 0 / 0.7);
  font-size: 14px;
}

@media (min-width: 640px) {
  .button-row {
    flex-direction: row;
    align-items: center;
  }

  .button {
    width: auto;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .primary-nav {
    display: flex;
  }

  .hero h1 {
    font-size: 72px;
  }

  .hero-copy {
    font-size: 18px;
  }

  .card-grid.two,
  .card-grid.three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .numbered-card h3 {
    min-height: 2.2em;
  }

  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-meta {
    text-align: right;
  }
}

@media (min-width: 1024px) {
  .shell {
    padding: 0 40px;
  }

  .hero {
    min-height: calc(100svh - 56px);
  }

  .hero-inner {
    padding-top: 112px;
    padding-bottom: 96px;
  }

  .hero h1 {
    font-size: 96px;
  }

  .section {
    padding: 128px 0;
  }

  .section-heading {
    grid-template-columns: 80px 1fr;
    gap: 24px;
    margin-bottom: 80px;
  }

  .section-heading h2 {
    font-size: 60px;
  }

  .card-grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .offset-copy {
    margin-left: 96px;
    max-width: 920px;
  }

  .final-cta {
    padding: 160px 0;
  }

  .final-cta .section-heading h2 {
    font-size: 88px;
  }
}

@media (min-width: 1280px) {
  .hero h1 {
    font-size: 120px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
