@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,600;9..144,700&family=IBM+Plex+Mono:wght@500&family=Manrope:wght@400;500;600;700&display=swap");

:root {
  --color-surface: oklch(97% 0.015 92);
  --color-surface-alt: oklch(93% 0.025 154);
  --color-paper: oklch(99% 0.008 92);
  --color-text: oklch(23% 0.025 166);
  --color-muted: oklch(52% 0.035 164);
  --color-accent: oklch(55% 0.13 159);
  --color-accent-dark: oklch(39% 0.10 160);
  --color-warm: oklch(82% 0.09 78);
  --color-line: oklch(85% 0.025 156);
  --space-shell: min(7vw, 6rem);
  --space-section: clamp(5rem, 9vw, 9rem);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", monospace;
  --radius: 1.15rem;
  --shadow: 0 1.25rem 3.5rem oklch(30% 0.05 160 / 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--color-text);
  background: var(--color-surface);
  font-family: var(--font-body);
  line-height: 1.65;
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  border-bottom: 1px solid var(--color-line);
  background: oklch(97% 0.015 92 / 0.88);
  backdrop-filter: blur(1rem);
}
.nav {
  min-height: 4.7rem;
  padding: 0 var(--space-shell);
  display: flex;
  align-items: center;
  gap: 1.4rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-right: auto;
  font-family: var(--font-display);
  font-size: 1.3rem;
}
.brand-mark {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 50%;
  color: var(--color-paper);
  background: var(--color-accent-dark);
}
.nav-link { color: var(--color-muted); font-size: 0.9rem; }
.nav-cta, .cta-primary {
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  color: var(--color-paper);
  background: var(--color-accent-dark);
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease;
}
.nav-cta { padding: 0.68rem 1rem; font-size: 0.88rem; }
.cta-primary { padding: 1rem 1.35rem; }
.nav-cta:hover, .cta-primary:hover { transform: translateY(-2px); background: var(--color-accent); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 0.74fr);
  gap: clamp(2rem, 7vw, 8rem);
  align-items: center;
  min-height: calc(100dvh - 4.7rem);
  padding: clamp(4rem, 8vw, 8rem) var(--space-shell);
  overflow: hidden;
}
.eyebrow, .route-label {
  color: var(--color-accent-dark);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--font-display); letter-spacing: -0.045em; line-height: 1.04; }
h1 { margin-bottom: 1.55rem; font-size: clamp(3.25rem, 7vw, 7.8rem); }
h1 em { color: var(--color-accent); font-weight: 600; }
h2 { font-size: clamp(2.15rem, 4.4vw, 4.75rem); }
.hero-lede { max-width: 42rem; color: var(--color-muted); font-size: clamp(1rem, 1.4vw, 1.25rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1.1rem; align-items: center; margin: 2rem 0 0.8rem; }
.text-link { border-bottom: 1px solid var(--color-accent); color: var(--color-accent-dark); font-weight: 700; }
.quiet-note { color: var(--color-muted); font-size: 0.78rem; }
.text-button { padding: 0; border: 0; border-bottom: 1px solid var(--color-accent); cursor: pointer; color: var(--color-accent-dark); background: transparent; font-size: 0.82rem; font-weight: 700; }

.route-card {
  position: relative;
  padding: 1.3rem;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-paper);
  box-shadow: var(--shadow);
  animation: settle 700ms ease both;
}
.route-head, .next-step { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.75rem; }
.route-head { color: var(--color-muted); font-family: var(--font-mono); }
.machine-figure {
  position: relative;
  height: 13rem;
  margin: 1.2rem 0;
  border-radius: 0.8rem;
  background: var(--color-surface-alt);
}
.machine-figure span { position: absolute; display: block; background: var(--color-accent-dark); }
.machine-back { left: 28%; bottom: 24%; width: 12%; height: 52%; border-radius: 0.35rem; }
.machine-seat { left: 36%; bottom: 27%; width: 30%; height: 8%; border-radius: 0.35rem; }
.machine-bar { right: 21%; top: 30%; width: 40%; height: 5%; border-radius: 0.35rem; transform: rotate(-12deg); }
.machine-base { left: 19%; bottom: 18%; width: 64%; height: 5%; border-radius: 0.35rem; }
.route-body h2 { margin-bottom: 1rem; font-size: 2rem; }
dl { margin: 0; }
dl div { display: grid; grid-template-columns: 4rem 1fr; padding: 0.48rem 0; border-top: 1px solid var(--color-line); font-size: 0.88rem; }
dt { color: var(--color-muted); }
dd { margin: 0; font-weight: 700; }
.next-step { margin: 1.2rem -1.3rem -1.3rem; padding: 1rem 1.3rem; border-radius: 0 0 var(--radius) var(--radius); color: var(--color-paper); background: var(--color-accent-dark); }

.truth-strip { display: flex; flex-wrap: wrap; gap: 1rem 3rem; padding: 1.4rem var(--space-shell); color: var(--color-accent-dark); background: var(--color-warm); font-weight: 700; }
.truth-strip p { margin: 0; }
.section-shell { padding: var(--space-section) var(--space-shell); }
.pain { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(20rem, 0.8fr); gap: 5vw; }
.section-intro h2 { margin-bottom: 0; }
.pain-list { margin: 0; padding: 0; list-style: none; }
.pain-list li { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1.3rem 0; border-top: 1px solid var(--color-line); }
.pain-list span, .steps span { color: var(--color-accent); font-family: var(--font-mono); font-size: 0.75rem; }
.pain-list h3, .steps h3 { margin-bottom: 0.35rem; font-size: 1.05rem; }
.pain-list p, .steps p, .how-copy p, .pricing-copy, details p { margin-bottom: 0; color: var(--color-muted); }

.how { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr); gap: 6vw; background: var(--color-surface-alt); }
.steps { display: grid; gap: 0.8rem; }
.steps article { padding: 1.25rem; border-left: 0.25rem solid var(--color-accent); background: var(--color-paper); }
.pricing { display: grid; grid-template-columns: 1fr minmax(17rem, 0.5fr); gap: 4rem; align-items: end; }
.price-box { padding: 1.4rem; border: 1px solid var(--color-line); border-radius: var(--radius); background: var(--color-paper); }
.price { margin-bottom: 0; color: var(--color-accent-dark); font-family: var(--font-display); font-size: 5rem; line-height: 1; }
.price span { font-size: 2rem; }
.price-box .cta-primary { display: block; width: 100%; margin-top: 1rem; text-align: center; }
.faq { max-width: 70rem; }
details { border-top: 1px solid var(--color-line); padding: 1rem 0; }
summary { cursor: pointer; font-weight: 700; }
details p { padding-top: 0.7rem; }
footer { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; padding: 2rem var(--space-shell); border-top: 1px solid var(--color-line); }
footer p { margin: 0; color: var(--color-muted); font-size: 0.85rem; }

.fakedoor { position: fixed; inset: 0; z-index: 10; display: grid; place-items: center; padding: 1rem; background: oklch(23% 0.025 166 / 0.62); }
.fakedoor[hidden] { display: none; }
.fakedoor-panel { position: relative; max-width: 32rem; padding: 1.7rem; border-radius: var(--radius); background: var(--color-paper); box-shadow: var(--shadow); animation: settle 260ms ease both; }
.fakedoor-panel h2 { font-size: 2.35rem; }
.fakedoor-close { position: absolute; top: 0.6rem; right: 0.7rem; border: 0; cursor: pointer; color: var(--color-muted); background: transparent; font-size: 1.7rem; }
label { display: block; margin-bottom: 0.4rem; font-weight: 700; }
input { width: 100%; padding: 0.85rem; border: 1px solid var(--color-line); border-radius: 0.55rem; background: var(--color-surface); }
form button { width: 100%; margin-top: 0.8rem; padding: 0.85rem; border: 0; border-radius: 0.55rem; cursor: pointer; color: var(--color-paper); background: var(--color-accent-dark); font-weight: 700; }

@keyframes settle {
  from { opacity: 0; transform: translateY(1rem); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 820px) {
  .nav-link { display: none; }
  .hero, .pain, .how, .pricing { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 4rem; }
  .route-card { max-width: 30rem; }
  .truth-strip { display: grid; gap: 0.35rem; }
}
