/* ════════════════════════════════════════════════════════════
   PSYDON · CloneOS
   Direct, light, conversion-first. Design language extracted
   from enzy.ai: cream field, scattered dots, black grotesk +
   italic serif accents, sage pill CTAs. See docs/enzy-extraction.md
   ════════════════════════════════════════════════════════════ */

:root {
  --cream: #F6F4EF;
  --card: #FFFFFF;
  --ink: #101314;
  --ink-soft: #46504C;
  --ink-faint: #7A837E;
  --green: #4C8C64;
  --green-deep: #1E4632;
  --green-soft: #DFEAE2;
  --line: rgba(16, 19, 20, 0.1);
  --radius: 22px;
  --maxw: 1180px;
  --sans: 'Inter', -apple-system, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --mono: ui-monospace, 'SF Mono', Menlo, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

section { scroll-margin-top: 86px; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

::selection { background: var(--green); color: #fff; }

/* ── scattered dot field ────────────────────────────────────── */
.dots {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Crect x='24' y='36' width='4' height='4' fill='%234C8C64' opacity='.28'/%3E%3Crect x='150' y='18' width='3' height='3' fill='%23101314' opacity='.14'/%3E%3Crect x='214' y='92' width='4' height='4' fill='%234C8C64' opacity='.2'/%3E%3Crect x='68' y='140' width='3' height='3' fill='%23101314' opacity='.12'/%3E%3Crect x='182' y='188' width='4' height='4' fill='%234C8C64' opacity='.24'/%3E%3Crect x='38' y='224' width='3' height='3' fill='%23101314' opacity='.13'/%3E%3C/svg%3E");
}
.dots-2 {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='340' height='340'%3E%3Crect x='60' y='70' width='3' height='3' fill='%23101314' opacity='.12'/%3E%3Crect x='250' y='40' width='4' height='4' fill='%234C8C64' opacity='.22'/%3E%3Crect x='300' y='210' width='3' height='3' fill='%23101314' opacity='.12'/%3E%3Crect x='120' y='280' width='4' height='4' fill='%234C8C64' opacity='.18'/%3E%3Crect x='200' y='150' width='3' height='3' fill='%23101314' opacity='.1'/%3E%3C/svg%3E");
  animation: dot-drift 90s linear infinite;
}
@keyframes dot-drift {
  from { background-position: 0 0; }
  to { background-position: 340px 340px; }
}

/* ── background pixel field (canvas, all viewports) ───────────── */
.pixel-field {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
html.px .dots { display: none; }

main, .nav, .footer { position: relative; z-index: 1; }

/* ── type helpers ───────────────────────────────────────────── */
.mono { font-family: var(--mono); }

.eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  color: var(--green);
  margin-bottom: 20px;
}
.centered { text-align: center; }

h1 {
  font-size: clamp(2.5rem, 5.2vw, 4.1rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
}
h2 {
  font-size: clamp(1.9rem, 3.8vw, 2.9rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
}
h1 em, h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.lede {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 54ch;
  margin-top: 24px;
}
.sub {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 60ch;
  margin: 18px auto 0;
}

/* ── buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 13px 26px;
  border-radius: 999px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease;
  white-space: nowrap;
}
.btn-pill {
  background: var(--green);
  color: #fff;
  box-shadow: 0 8px 22px rgba(76, 140, 100, 0.28);
}
.btn-pill:hover { transform: translateY(-2px); background: #427C58; box-shadow: 0 12px 28px rgba(76, 140, 100, 0.36); }
.btn-ghost {
  border: 1.5px solid var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.6);
}
.btn-ghost:hover { border-color: var(--green); color: var(--green-deep); transform: translateY(-2px); }
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn.wide { width: 100%; justify-content: center; }
.arrow { display: inline-block; transition: transform 0.22s ease; }
.btn:hover .arrow { transform: translateX(4px); }

.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.cta-row.centered { justify-content: center; }

/* ── reveal (hidden only when JS is confirmed present) ─────── */
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
html.js .reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }
.d4 { transition-delay: 0.4s; }

/* ── nav ────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.nav.scrolled {
  background: rgba(246, 244, 239, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wordmark {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.16em;
}
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a:not(.btn) {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}
.nav-links a:not(.btn):hover { color: var(--ink); }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 40px; height: 40px;
  position: relative;
  z-index: 110;
  cursor: pointer;
}
.nav-toggle span {
  position: absolute;
  left: 8px; right: 8px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.3s ease, top 0.3s ease;
}
.nav-toggle span:first-child { top: 15px; }
.nav-toggle span:last-child { top: 24px; }
.nav.open .nav-toggle span:first-child { top: 19px; transform: rotate(45deg); }
.nav.open .nav-toggle span:last-child { top: 19px; transform: rotate(-45deg); }

/* ── hero ───────────────────────────────────────────────────── */
.hero { padding: 158px 28px 90px; }
.hero-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 60px;
  align-items: center;
}
.proof-strip {
  margin-top: 30px;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  color: var(--ink-faint);
}

@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

/* ── hand-phone DM hero ─────────────────────────────────────── */
/* .phone-anchor holds the hero column shape; the stage inside it is what
   travels. When JS is present and the journey runs, app.js re-parents the
   stage to <body>, so the anchor keeps the layout footprint reserved. */
.phone-anchor {
  width: min(380px, 88vw);
  aspect-ratio: 675 / 1018;
  margin-inline: auto;
}
.phone-stage {
  position: relative;
  width: min(380px, 88vw);
  aspect-ratio: 675 / 1018;
  margin-inline: auto;
  animation: phone-float 7s ease-in-out infinite;
}
/* Once JS lifts the stage out to <body> and drives it per frame, kill the
   float keyframes so the inline transform is the single source of truth
   (a running animation would otherwise override the inline transform). */
.phone-stage.traveling {
  position: fixed;
  left: 0;
  top: 0;
  margin: 0;
  z-index: 60;
  transform-origin: center center;
  will-change: transform;
  animation: none;
}
@keyframes phone-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.phone-hand {
  position: absolute;
  inset: 0;
  width: 100%;
  z-index: 2;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 24px 40px rgba(16, 19, 20, 0.16));
}
.phone-screen {
  position: absolute;
  left: 12.44%;
  top: 2.36%;
  width: 42.37%;
  height: 62.48%;
  z-index: 1;
  overflow: hidden;
  border-radius: clamp(10px, 9.8cqw, 18px);
  background: #FFFFFF;
  container-type: inline-size;
}
.booked-chip {
  position: absolute;
  top: -14px;
  right: -10px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--green-deep);
  box-shadow: 0 10px 24px rgba(16, 19, 20, 0.14);
  white-space: nowrap;
}
.chip-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(76, 140, 100, 0.18);
  animation: pulse 1.8s ease-in-out infinite;
}

/* ── the DM UI (all CSS, phone-scale type) ──────────────────── */
.dm-ui {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  font-family: var(--sans);
  color: var(--ink);
  background: #fff;
}
.dm-header {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 54px;
  flex-shrink: 0;
  padding: 0 10px;
  border-bottom: 1px solid var(--line);
}
.dm-back { color: var(--ink); font-size: 20px; font-weight: 400; line-height: 1; }
.dm-avatar {
  width: 30px; height: 30px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green-deep);
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dm-id { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.dm-name { font-size: 11px; font-weight: 700; }
.dm-active { display: flex; align-items: center; gap: 4px; font-size: 9px; color: var(--ink-faint); }
.dm-active-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--green); }
.dm-messages {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 12px;
  overflow: hidden;
  transition: opacity 0.5s ease;
}
.dm-messages.dm-fade { opacity: 0; }
.dm-bubble {
  max-width: 82%;
  padding: 7px 10px;
  font-size: 10.5px;
  line-height: 1.35;
  border-radius: 16px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  word-wrap: break-word;
}
.dm-bubble.show { opacity: 1; transform: none; }
.dm-bubble.lead {
  align-self: flex-start;
  background: #EFEDE8;
  color: var(--ink);
  border-bottom-left-radius: 4px;
}
.dm-bubble.clone {
  align-self: flex-end;
  background: var(--green);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.dm-typing {
  align-self: flex-end;
  display: inline-flex;
  gap: 4px;
  padding: 9px 12px;
  background: var(--green);
  border-radius: 16px;
  border-bottom-right-radius: 4px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.dm-typing.show { opacity: 1; transform: none; }
.dm-typing span {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  animation: dm-blink 1.2s ease-in-out infinite;
}
.dm-typing span:nth-child(2) { animation-delay: 0.2s; }
.dm-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes dm-blink { 0%, 60%, 100% { opacity: 0.35; } 30% { opacity: 1; } }

/* booking card bubble */
.dm-book {
  align-self: flex-end;
  max-width: 86%;
  background: #fff;
  border: 1.5px solid var(--green);
  border-radius: 14px;
  padding: 9px 11px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.dm-book.show { opacity: 1; transform: none; }
.dm-book-top { display: flex; align-items: center; gap: 6px; }
.dm-book-cal {
  width: 20px; height: 20px;
  flex-shrink: 0;
  border-radius: 6px;
  background: var(--green-soft);
  color: var(--green-deep);
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dm-book-when { font-size: 10px; font-weight: 700; color: var(--ink); }
.dm-book-title { margin-top: 5px; font-size: 10.5px; font-weight: 600; color: var(--ink); }
.dm-book-tick {
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 9.5px;
  font-weight: 700;
  color: var(--green-deep);
}
.dm-book-tick .tick {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dm-system {
  align-self: center;
  max-width: 88%;
  margin-top: 2px;
  font-size: 8.5px;
  text-align: center;
  color: var(--ink-faint);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.dm-system.show { opacity: 1; }
.dm-input {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 8px 10px;
  border-top: 1px solid var(--line);
}
.dm-field {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 10px;
  color: var(--ink-faint);
}
.dm-glyphs { font-size: 12px; color: var(--ink-faint); letter-spacing: 3px; }

/* ── journey (traveling-phone pin section) ──────────────────── */
/* No-JS / reduced-motion baseline: a plain static two-column card grid,
   no sticky, no pin, eyebrow always visible. All motion is layered on
   only under html.js below (and disabled again under reduced motion). */
.journey { position: relative; }
.journey-track { max-width: var(--maxw); margin: 0 auto; padding: 40px 28px 20px; }
.journey-stage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: start;
}
.j-eyebrow { grid-column: 1 / -1; text-align: center; margin-bottom: 8px; }
.j-col {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
@media (max-width: 700px) {
  .journey-stage { grid-template-columns: 1fr; }
}
.j-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 24px;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink-soft);
  box-shadow: 0 18px 44px rgba(16, 19, 20, 0.08);
}
.j-card strong { color: var(--ink); }

/* Motion layer: only when JS is confirmed. The track becomes a 260vh
   scroll runway and the stage pins for the middle 100vh while JS streams
   the columns past the fixed phone. */
html.js .journey-track { height: 260vh; padding: 0; max-width: none; }
html.js .journey-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  overflow: clip;
}
html.js .journey-stage .j-eyebrow {
  position: absolute;
  /* sit just above the centered phone's top edge (phone is ~630px tall scaled,
     centered a touch below 50vh), never higher than 20px from the stage top */
  top: max(20px, calc(50vh - 318px));
  left: 0;
  right: 0;
  margin-bottom: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
}
html.js .journey.pinned .j-eyebrow { opacity: 1; }
/* short viewports: the phone owns the center, no room above it for the eyebrow */
@media (max-height: 800px) {
  html.js .journey-stage .j-eyebrow { display: none; }
}
html.js .j-col {
  position: absolute;
  top: 0;
  height: 100%;
  width: min(340px, 38vw);
  justify-content: flex-start;
  margin-top: 0;
  will-change: transform;
}
html.js .j-left { left: calc(50% - min(340px, 38vw) - clamp(214px, 19vw, 252px)); }
html.js .j-right { right: calc(50% - min(340px, 38vw) - clamp(214px, 19vw, 252px)); }
/* subtle alternating tilt on the cards */
html.js .j-left .j-card:nth-child(odd),
html.js .j-right .j-card:nth-child(even) { rotate: -1.6deg; }
html.js .j-left .j-card:nth-child(even),
html.js .j-right .j-card:nth-child(odd) { rotate: 1.6deg; }

/* Mobile: both columns centered on one track, phone (z 60) rides above.
   JS gives the right column a big head-start offset so the two streams
   interleave down the center instead of stacking on top of each other. */
@media (max-width: 860px) {
  html.js .j-col {
    width: min(300px, 78vw);
    left: 50%;
    right: auto;
    margin-left: calc(min(300px, 78vw) / -2);
    z-index: 5;
  }
  html.js .j-right { left: 50%; right: auto; }
  html.js .j-card { opacity: 0.95; }
}

/* Reduced motion: strip the pin entirely, fall back to the static grid. */
@media (prefers-reduced-motion: reduce) {
  html.js .journey-track { height: auto; padding: 40px 28px 20px; max-width: var(--maxw); }
  html.js .journey-stage {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: auto;
    overflow: visible;
  }
  html.js .journey-stage .j-eyebrow {
    position: static;
    grid-column: 1 / -1;
    opacity: 1;
    margin-bottom: 8px;
  }
  html.js .j-col {
    position: static;
    width: auto;
    height: auto;
    transform: none !important;
  }
  html.js .j-left, html.js .j-right { left: auto; right: auto; margin-left: 0; }
  html.js .j-card { rotate: none; }
}
@media (prefers-reduced-motion: reduce) and (max-width: 700px) {
  html.js .journey-stage { grid-template-columns: 1fr; }
}

/* ── stack marquee ──────────────────────────────────────────── */
.stack-band {
  padding: 64px 0 72px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.45);
}
.stack-band .eyebrow { text-align: center; margin-bottom: 26px; }
.marquee { overflow: hidden; }
.marquee-track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  animation: marquee 36s linear infinite;
}
.marquee-track span {
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  opacity: 0.5;
  padding: 0 8px;
}
.marquee-track i {
  font-style: normal;
  color: var(--green);
  padding: 0 22px;
  font-size: 0.9rem;
}
@keyframes marquee { to { transform: translateX(-50%); } }
.stack-note {
  text-align: center;
  margin-top: 26px;
  font-size: 0.92rem;
  color: var(--ink-faint);
  padding: 0 24px;
}

/* ── the effect ─────────────────────────────────────────────── */
.effect { padding: 110px 28px; max-width: var(--maxw); margin: 0 auto; text-align: center; }
.giant-stat {
  font-weight: 800;
  font-size: clamp(4.2rem, 13vw, 9.5rem);
  line-height: 1;
  letter-spacing: -0.04em;
}
.giant-stat .currency, .giant-stat .plus { color: var(--green); }
.stat-claim { margin-top: 18px; font-size: 1.15rem; font-weight: 600; }
.fine-print {
  margin: 14px auto 0;
  max-width: 56ch;
  font-size: 0.85rem;
  color: var(--ink-faint);
}
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 64px;
}
.stat-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 24px;
}
.stat-num {
  font-weight: 800;
  font-size: 2.5rem;
  letter-spacing: -0.03em;
  color: var(--green-deep);
}
.stat-label { margin-top: 8px; font-size: 0.9rem; color: var(--ink-soft); }

.thesis {
  margin: 72px auto 0;
  max-width: 760px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 44px 48px 34px;
  text-align: left;
}
.thesis p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  line-height: 1.3;
  color: var(--ink);
}
.thesis em { color: var(--green-deep); }
.thesis footer {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: var(--sans);
  font-style: normal;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* ── comparison ─────────────────────────────────────────────── */
.compare { padding: 110px 28px; max-width: var(--maxw); margin: 0 auto; }
.compare h2 { margin-bottom: 46px; }
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.compare-card {
  border-radius: var(--radius);
  padding: 38px 34px;
}
.compare-card h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: 22px; }
.compare-card li {
  position: relative;
  padding: 10px 0 10px 32px;
  font-size: 0.97rem;
  border-top: 1px solid var(--line);
}
.compare-card li::before {
  position: absolute;
  left: 2px;
  font-weight: 800;
}
.compare-card.old { background: var(--card); border: 1px solid var(--line); color: var(--ink-soft); }
.compare-card.old li::before { content: '\2715'; color: var(--ink-faint); font-size: 0.8rem; top: 13px; }
.compare-card.new { background: var(--green-deep); color: #EFF5F0; }
.compare-card.new h3 { color: #fff; }
.compare-card.new li { border-top-color: rgba(255, 255, 255, 0.14); }
.compare-card.new li::before { content: '\2713'; color: #8FD3AB; top: 11px; }

/* ── ROI calculator ─────────────────────────────────────────── */
.calc { padding: 110px 28px; max-width: var(--maxw); margin: 0 auto; }
.calc h2 { margin-bottom: 6px; }
.calc .sub { margin-bottom: 50px; }
.calc-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 44px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
}
.calc-field { display: block; margin-bottom: 26px; }
.calc-field:last-child { margin-bottom: 0; }
.calc-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.calc-hint {
  display: block;
  margin-top: 3px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink-faint);
}
.calc-field input[type="range"] {
  width: 100%;
  accent-color: var(--green);
  margin-top: 8px;
}
.calc-field input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  background: var(--line);
  border-radius: 999px;
}
.calc-field input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  margin-top: -7px;
  border-radius: 50%;
  background: var(--green);
  border: none;
  box-shadow: 0 4px 10px rgba(76, 140, 100, 0.35);
}
.calc-field input[type="range"]::-moz-range-track {
  height: 4px;
  background: var(--line);
  border-radius: 999px;
}
.calc-field input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green);
  border: none;
  box-shadow: 0 4px 10px rgba(76, 140, 100, 0.35);
}
.calc-val {
  display: inline-block;
  margin-top: 8px;
  color: var(--green-deep);
  font-weight: 800;
  font-size: 1.15rem;
}
.calc-results {
  border-left: 1px solid var(--line);
  padding-left: 44px;
  text-align: center;
}
.calc-big {
  font-weight: 800;
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  color: var(--green-deep);
  letter-spacing: -0.02em;
}
.calc-big-label { margin-top: 6px; font-size: 0.9rem; color: var(--ink-soft); }
.calc-rows { margin-top: 26px; text-align: left; }
.calc-rows li {
  position: relative;
  padding: 9px 0 9px 30px;
  font-size: 0.94rem;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
}
.calc-rows li::before {
  content: '\2713';
  position: absolute;
  left: 2px; top: 10px;
  color: var(--green);
  font-weight: 800;
}
.calc-rows li span { font-weight: 800; color: var(--ink); }
.calc-note { margin-top: 20px; font-size: 0.9rem; color: var(--ink-soft); }
.calc-results .btn { margin-top: 22px; }
@media (max-width: 860px) {
  .calc-card { grid-template-columns: 1fr; }
  .calc-results {
    border-left: none;
    border-top: 1px solid var(--line);
    padding-left: 0;
    padding-top: 36px;
  }
}

/* ── method (rolodex scroll-stack) ─────────────────────────── */
.method { padding: 110px 28px; max-width: var(--maxw); margin: 0 auto; }
.method h2 { margin-bottom: 6px; }
.method .sub { margin-bottom: 50px; margin-left: 0; }
.method .method-card {
  position: sticky;
  top: calc(96px + var(--stack-i, 0) * 16px);
}
.method-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 44px 46px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
  box-shadow: 0 24px 60px rgba(16, 19, 20, 0.12);
}
.method-card + .method-card { margin-top: 18px; }
/* Once a card's .reveal entry transition has finished, app.js adds
   .stacking and starts driving transform/opacity inline every scroll
   frame. Swap the transition to box-shadow only here so those inline
   writes never fight (or get delayed by) the .reveal transition below. */
html.js .method-card.stacking { transition: box-shadow 0.2s ease; }
.method-card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 2rem;
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.method-card .step {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--green);
}
.method-card p { margin-top: 14px; color: var(--ink-soft); font-size: 1rem; max-width: 52ch; }
.method-card strong { color: var(--ink); font-weight: 700; }
.method-visual { display: flex; justify-content: center; }
.viz { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; }
.viz-pill {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 9px 16px;
  color: var(--ink-soft);
  background: var(--cream);
}
.viz-pill.green { border-color: var(--green); color: var(--green-deep); background: var(--green-soft); }
.viz-arrow { color: var(--green); font-weight: 800; }

/* ── roster ─────────────────────────────────────────────────── */
.roster { padding: 110px 0; max-width: var(--maxw); margin: 0 auto; }
.roster .eyebrow, .roster h2, .roster .sub { padding-left: 28px; padding-right: 28px; }
.roster h2 { margin-bottom: 6px; }
.roster .sub { margin-bottom: 44px; }
.roster-marquee { margin-bottom: 40px; }
.roster-track { animation: marquee-rev 55s linear infinite; }
@keyframes marquee-rev { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.creator-card {
  flex-shrink: 0;
  min-width: 240px;
  margin: 0 9px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  white-space: normal;
}
.creator-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.creator-badge {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--green-deep);
  background: var(--green-soft);
  border-radius: 6px;
  padding: 4px 8px;
}
.creator-count { font-weight: 800; font-size: 0.95rem; letter-spacing: -0.01em; }
.creator-niche { margin-top: 12px; font-size: 0.9rem; color: var(--ink-soft); }
.creator-status {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-faint);
}
.creator-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(76, 140, 100, 0.16);
}
.roster-note { margin-top: 20px; font-size: 0.9rem; color: var(--ink-faint); }

/* ── book (embedded calendar) ───────────────────────────────── */
.book { padding: 100px 28px; max-width: var(--maxw); margin: 0 auto; text-align: center; }
.book h2 { margin-bottom: 6px; }
.book .sub { margin-bottom: 40px; }
.book-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  padding: 10px;
  min-height: 720px;
  box-shadow: 0 24px 60px rgba(16, 19, 20, 0.08);
}
.book-card iframe { min-height: 700px; display: block; }

/* ── pricing ────────────────────────────────────────────────── */
.pricing { padding: 110px 28px; max-width: var(--maxw); margin: 0 auto; }
.pricing h2 { margin-bottom: 46px; }
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
.price-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
}
.price-card .badge {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--green-deep);
  background: var(--green-soft);
  border-radius: 6px;
  padding: 5px 10px;
  align-self: flex-start;
}
.price-card h3 { font-family: var(--serif); font-weight: 400; font-size: 2.1rem; margin-top: 16px; }
.price-line { margin-top: 8px; color: var(--ink-soft); font-size: 0.95rem; }
.price-card ul { margin: 24px 0 28px; flex: 1; }
.price-card li {
  position: relative;
  padding: 9px 0 9px 30px;
  font-size: 0.94rem;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
}
.price-card li::before {
  content: '\2713';
  position: absolute;
  left: 2px; top: 10px;
  color: var(--green);
  font-weight: 800;
}
.price-card.flagship { background: var(--ink); color: #E8EAE8; border-color: var(--ink); }
.price-card.flagship h3 { color: #fff; }
.price-card.flagship .price-line { color: #B9C1BB; }
.price-card.flagship li { color: #C6CDC8; border-top-color: rgba(255, 255, 255, 0.12); }
.price-card.flagship li::before { color: #8FD3AB; }
.price-card.flagship .badge { background: rgba(143, 211, 171, 0.16); color: #8FD3AB; }
.price-card.flagship .btn-pill { box-shadow: 0 8px 22px rgba(76, 140, 100, 0.45); }

/* ── who ────────────────────────────────────────────────────── */
.who { padding: 100px 28px; max-width: 900px; margin: 0 auto; text-align: center; }
.who-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}
.who-chips span {
  font-weight: 700;
  font-size: 0.92rem;
  border: 1.5px solid var(--line);
  background: var(--card);
  border-radius: 999px;
  padding: 12px 22px;
}
.who-chips span.hot { background: var(--green); border-color: var(--green); color: #fff; }
.who .sub { margin-top: 30px; }

/* ── faq ────────────────────────────────────────────────────── */
.faq { padding: 100px 28px; max-width: 820px; margin: 0 auto; }
.faq h2 { margin-bottom: 36px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 40px 20px 0;
  font-weight: 700;
  font-size: 1.05rem;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute;
  right: 4px; top: 50%;
  transform: translateY(-50%);
  color: var(--green);
  font-size: 1.3rem;
  font-weight: 600;
  transition: transform 0.25s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--ink-soft); font-size: 0.96rem; max-width: 64ch; }

/* ── final ──────────────────────────────────────────────────── */
.final { padding: 120px 28px 130px; max-width: 860px; margin: 0 auto; text-align: center; }

/* ── footer ─────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.5);
  padding: 56px 28px 40px;
}
.footer-inner { max-width: var(--maxw); margin: 0 auto; text-align: center; }
.wordmark-foot { font-weight: 800; font-size: 1.4rem; letter-spacing: 0.2em; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 26px; margin-top: 24px; }
.footer-links a {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.footer-links a:hover { color: var(--ink); }
.footer-line { margin-top: 30px; font-size: 0.62rem; letter-spacing: 0.18em; color: var(--ink-faint); }

/* ── blog ───────────────────────────────────────────────────── */
/* Listing page + post typography. Reuses the existing tokens and the
   shared nav/footer/dots; adds only the card, byline, article, and CTA
   pieces the blog needs. */
.blog-wrap { padding: 128px 28px 40px; max-width: 760px; margin: 0 auto; }
.blog-wrap h2 { margin-bottom: 6px; }
.blog-wrap .sub { margin-left: 0; margin-bottom: 46px; }

.post-list { display: flex; flex-direction: column; gap: 20px; }
.post-card {
  display: block;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 32px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.post-card:hover {
  transform: translateY(-3px);
  border-color: var(--green);
  box-shadow: 0 18px 44px rgba(16, 19, 20, 0.1);
}
.post-card h3 {
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.post-card p { margin-top: 12px; color: var(--ink-soft); font-size: 1rem; }
.post-card .post-meta {
  margin-top: 18px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* article body */
.post { max-width: 720px; margin: 0 auto; padding: 128px 28px 40px; }
.post h1 { font-size: clamp(2.1rem, 4.4vw, 3.1rem); }
.post .byline {
  margin-top: 22px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.post-body { margin-top: 40px; }
.post-body h2 {
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  margin-top: 48px;
  margin-bottom: 16px;
}
.post-body p {
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.7;
  margin-top: 18px;
}
.post-body ul {
  list-style: none;
  margin: 20px 0 0;
}
.post-body li {
  position: relative;
  padding: 8px 0 8px 26px;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.6;
}
.post-body li::before {
  content: '\2013';
  position: absolute;
  left: 4px;
  top: 8px;
  color: var(--green);
  font-weight: 800;
}
.post-body a {
  color: var(--green-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: var(--green);
  transition: color 0.2s ease;
}
.post-body a:hover { color: var(--green); }
.post-body strong { color: var(--ink); font-weight: 700; }

.post-cta {
  margin-top: 56px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 40px 38px;
  text-align: center;
  box-shadow: 0 18px 44px rgba(16, 19, 20, 0.08);
}
.post-cta h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.7rem, 3.2vw, 2.2rem);
  line-height: 1.2;
}
.post-cta p { margin: 12px auto 24px; color: var(--ink-soft); font-size: 1rem; max-width: 46ch; }

/* ── responsive ─────────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .compare-grid, .price-grid { grid-template-columns: 1fr; }
  .method-card { grid-template-columns: 1fr; padding: 34px 28px; }
  .method-visual { justify-content: flex-start; }
  .stat-row { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: rgba(246, 244, 239, 0.98);
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    transform: translateY(-102%);
    visibility: hidden;
    transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1), visibility 0s linear 0.4s;
  }
  .nav.open .nav-links { transform: none; visibility: visible; transition-delay: 0s; }
  .nav-links a:not(.btn) { font-size: 1.05rem; }
}

@media (max-width: 620px) {
  .hero { padding: 122px 20px 64px; }
  .effect, .compare, .calc, .method, .pricing, .who, .faq {
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 78px;
    padding-bottom: 78px;
  }
  .roster { padding-top: 78px; padding-bottom: 78px; }
  .roster .eyebrow, .roster h2, .roster .sub { padding-left: 20px; padding-right: 20px; }
  .final { padding: 88px 20px 96px; }
  .cta-row .btn-lg { flex: 1 1 auto; justify-content: center; }
  .phone-stage { width: min(320px, 86vw); }
  .book { padding-left: 20px; padding-right: 20px; }
  .book-card { min-height: 780px; }
  .marquee-track span { font-size: 1.15rem; }
  .thesis { padding: 32px 26px 26px; }
  .compare-card, .price-card { padding: 30px 24px; }
  .calc-card { padding: 30px 24px; }
  .calc-results { padding-top: 30px; }
  .giant-stat { font-size: clamp(3.4rem, 17vw, 5.2rem); }
  .blog-wrap, .post { padding-left: 20px; padding-right: 20px; padding-top: 104px; }
  .post-card { padding: 26px 22px; }
  .post-cta { padding: 32px 24px 30px; }
}

/* ── reduced motion ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
