/* ============ TOKENS ============ */
:root {
  --bg: #141009;          /* warm espresso-charcoal */
  --bg-2: #1b160d;        /* lifted scene */
  --surface: #221c11;     /* cards */
  --surface-2: #2a2214;
  --line: rgba(240, 226, 200, 0.10);
  --line-strong: rgba(240, 226, 200, 0.20);
  --text: #f4ece0;        /* warm ivory */
  --muted: #b3a78f;
  --dim: #7e735e;
  --accent: #c9a86a;      /* brass / champagne */
  --accent-hi: #e1c587;
  --accent-soft: rgba(201, 168, 106, 0.12);
  --maxw: 1140px;
  --readw: 720px;
  --display: "Fraunces", "Hanken Grotesk", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip; /* clip (not hidden) so position:sticky keeps working */
  width: 100%;
  max-width: 100vw;
}
a { color: inherit; text-decoration: none; }
.mono { font-family: var(--mono); }
.accent { color: var(--accent); }

/* warm vignette glow at top — subtle, not the AI grid */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(110% 60% at 50% -8%, rgba(201, 168, 106, 0.10), transparent 60%),
    radial-gradient(80% 50% at 100% 105%, rgba(201, 168, 106, 0.05), transparent 70%);
}
/* film grain overlay — tactile, printed-not-templated depth */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none;
  opacity: 0.045; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 140px 140px;
}

/* ============ TYPE ============ */
h1, h2, h3 {
  font-family: var(--display); font-optical-sizing: auto;
  font-weight: 500; letter-spacing: -0.012em; line-height: 1.06;
}
h1 { font-size: clamp(2.45rem, 5.4vw, 3.6rem); font-weight: 460; letter-spacing: -0.018em; line-height: 1.02; }
h2 { font-size: clamp(2rem, 4.2vw, 3rem); font-weight: 480; }
h3 { font-weight: 540; }
.kicker {
  display: inline-flex; align-items: center; gap: 11px;
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 26px;
}
.kicker::before { content: ""; width: 28px; height: 1px; background: var(--accent); opacity: 0.7; }

/* ============ LAYOUT / SCENES ============ */
section { padding: clamp(72px, 9vw, 120px) 32px; max-width: var(--maxw); margin: 0 auto; }
.band { max-width: 100%; background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.band-inner, .section-head { max-width: var(--readw); }
.section-head { margin: 0 auto clamp(48px, 7vw, 80px); text-align: center; }
.section-head .kicker { justify-content: center; }
.section-sub { color: var(--muted); margin-top: 20px; font-size: 1.12rem; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 600; font-size: 0.96rem; padding: 13px 26px;
  border-radius: 8px; border: 1px solid var(--line-strong);
  background: transparent; color: var(--text);
  transition: transform .18s ease, background .2s ease, border-color .2s ease, color .2s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); border-color: var(--accent); }
.btn-lg { padding: 16px 30px; font-size: 1rem; }
.btn-sm { padding: 9px 18px; font-size: 0.86rem; border-radius: 6px; }
.btn-ghost:hover { background: var(--accent-soft); }
.btn-accent {
  background: var(--accent); color: #251c09; border-color: var(--accent); font-weight: 700;
}
.btn-accent:hover { background: var(--accent-hi); border-color: var(--accent-hi); color: #251c09; }

/* ============ NAV ============ */
.nav {
  position: sticky; top: 0; z-index: 60; width: 100%;
  background: rgba(20, 16, 9, 0.78); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 32px; max-width: var(--maxw); margin: 0 auto;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -0.01em; }
.logo-word { font-family: var(--display); font-weight: 560; letter-spacing: -0.008em; font-size: 1.06rem; }
.logo-mark {
  font-family: var(--mono); font-size: 0.8rem; font-weight: 500;
  color: var(--accent); border: 1px solid var(--accent); border-radius: 6px;
  width: 28px; height: 28px; display: grid; place-items: center;
}
.nav-links { display: flex; gap: 30px; font-size: 0.9rem; color: var(--muted); }
.nav-links a:hover { color: var(--text); }

/* ============ HERO ============ */
.hero { text-align: left; padding-top: clamp(64px, 6vw, 64px); max-width: 840px; }
.hero h1 { margin: 0; }
/* the pivot word, set in italic display for editorial contrast */
.hero h1 .accent { font-style: italic; font-weight: 440; letter-spacing: -0.01em; }
.lede { color: var(--muted); font-size: clamp(1.05rem, 1.8vw, 1.18rem); max-width: 56ch; margin: 24px 0 0; line-height: 1.7; }
.lede strong { color: var(--text); font-weight: 600; }
.hero-sub { color: var(--muted); font-size: clamp(1.1rem, 1.9vw, 1.15rem); max-width: 60ch; margin: 10px 0 0; line-height: 1.5; }
.hero-cta { display: flex; gap: 14px; justify-content: flex-start; flex-wrap: wrap; margin-top: 32px; }

/* ============ VIDEO VSL ============ */
.video-frame {
  position: relative; width: 100%; margin: 18px 0 0;
  aspect-ratio: 16 / 9; overflow: hidden; border-radius: 10px;
  border: 1px solid var(--line-strong); background: var(--surface-2);
  box-shadow: 0 30px 70px rgba(0,0,0,0.45);
}
.video-placeholder {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%; color: var(--dim); font-size: 0.9rem; letter-spacing: 0.1em; text-transform: uppercase;
}
/* Founder-video poster: tasteful holding state until the real embed is dropped in. */
.video-poster {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  width: 100%; height: 100%;
  background:
    radial-gradient(120% 120% at 50% 35%, rgba(201,168,106,0.10), transparent 60%),
    var(--surface-2);
}
.video-play {
  width: 64px; height: 64px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: rgba(0,0,0,0.25);
  display: flex; align-items: center; justify-content: center; position: relative;
}
.video-play::after {
  content: ""; width: 0; height: 0; margin-left: 4px;
  border-style: solid; border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent var(--accent);
}
.video-cap { color: var(--dim); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; }

/* ============ LIVE PILL (hero demo + earn cards) ============ */
.live { display: inline-flex; align-items: center; gap: 9px; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--accent); animation: pulse 2.6s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(201,168,106,0.5);} 70%{ box-shadow: 0 0 0 10px rgba(201,168,106,0);} 100%{ box-shadow:0 0 0 0 rgba(201,168,106,0);} }

/* ============ TRUST ============ */
.trust { text-align: center; padding-top: clamp(56px, 7vw, 84px); padding-bottom: clamp(56px, 7vw, 84px); }
.trust-label { display: block; font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim); margin-bottom: 18px; }

/* ============ PROBLEM / BIG STATEMENT ============ */
.problem { text-align: left; }
.big-p { font-size: clamp(1.1rem, 2vw, 1.3rem); line-height: 1.6; color: var(--text); max-width: 56ch; margin: 22px 0 0; }
.big-p.dim { color: var(--accent); font-style: normal; max-width: 56ch; }

/* ============ PROTOCOL — scroll-driven tabs ============ */
/* Tightened track + head spacing so the pinned viewport never presents a mostly-empty screen. */
.protocol { padding-top: clamp(56px, 7vw, 88px); }
.protocol .section-head { margin-bottom: clamp(16px, 3vw, 32px); }
.scrolly { position: relative; height: 280vh; }
.scrolly-sticky { position: sticky; top: 0; min-height: 100vh; display: grid; align-items: center; }
.tabs { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: clamp(28px, 5vw, 64px); align-items: stretch; width: 100%; }
.tabs-list { display: flex; flex-direction: column; gap: 4px; }
.tab {
  display: grid; grid-template-columns: 3px 1fr; gap: 22px; align-items: start;
  text-align: left; background: none; border: none; cursor: pointer;
  padding: 22px 8px; border-radius: 8px; color: inherit; font: inherit;
  transition: background .3s ease;
}
.tab:hover { background: var(--accent-soft); }
.tab-bar { width: 3px; align-self: stretch; min-height: 100%; background: var(--line-strong); border-radius: 3px; position: relative; overflow: hidden; }
.tab-fill { position: absolute; inset: 0 0 auto 0; height: 0; width: 100%; background: var(--accent); border-radius: 3px; }
.tab.is-active .tab-fill { box-shadow: 0 0 10px rgba(201,168,106,0.6); }
.tab-no { display: block; font-size: 0.78rem; color: var(--dim); margin-bottom: 8px; }
.tab.is-active .tab-no { color: var(--accent); }
.tab-title { display: block; font-size: clamp(1.35rem, 2.6vw, 1.85rem); font-weight: 600; letter-spacing: -0.02em; color: var(--muted); transition: color .3s ease; }
.tab.is-active .tab-title { color: var(--text); }
.tab-desc {
  display: block; color: var(--muted); font-size: 1.02rem; line-height: 1.55;
  max-height: 0; opacity: 0; overflow: hidden; margin-top: 0;
  transition: max-height .5s ease, opacity .4s ease, margin-top .4s ease;
}
.tab.is-active .tab-desc { max-height: 230px; opacity: 1; margin-top: 12px; }

/* stage / panels */
.tabs-stage { position: relative; min-height: 380px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.panel {
  position: absolute; inset: 0; margin: 0; padding: clamp(24px, 3.4vw, 40px);
  display: flex; flex-direction: column; justify-content: center; gap: 18px;
  opacity: 0; visibility: hidden; transform: translateY(10px) scale(0.99);
  transition: opacity .5s ease, transform .5s ease, visibility .5s;
}
.panel.is-active { opacity: 1; visibility: visible; transform: none; }
.viz-head { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }

/* panel 0 — funnel */
.funnel { display: flex; flex-direction: column; gap: 14px; }
.frow { position: relative; }
.frow::before {
  content: ""; display: block; height: 46px; width: var(--w); border-radius: 8px;
  background: linear-gradient(90deg, rgba(201,168,106,0.28), rgba(201,168,106,0.10));
  border: 1px solid var(--line); transform-origin: left; transform: scaleX(0);
}
.panel.is-active .frow::before { animation: growx .8s cubic-bezier(.2,.7,.2,1) forwards; }
.panel.is-active .frow:nth-child(2)::before { animation-delay: .08s; }
.panel.is-active .frow:nth-child(3)::before { animation-delay: .16s; }
.panel.is-active .frow:nth-child(4)::before { animation-delay: .24s; }
@keyframes growx { to { transform: scaleX(1); } }
.frow span { position: absolute; top: 13px; left: 16px; font-size: 0.92rem; color: var(--text); }
.frow b { position: absolute; top: 13px; right: 16px; font-size: 0.92rem; color: var(--muted); }
.frow.leak::before { background: linear-gradient(90deg, rgba(201,168,106,0.5), rgba(201,168,106,0.16)); border-color: var(--accent); }
.frow.leak em { position: absolute; top: -9px; right: 0; font-size: 0.66rem; color: var(--accent); letter-spacing: 0.08em; }

/* panel 1 — objections */
.objs { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.objs li {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 18px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 8px;
  font-size: 1rem; color: var(--text);
  opacity: 0; transform: translateX(-8px);
}
.panel.is-active .objs li { animation: slidein .5s ease forwards; }
.panel.is-active .objs li:nth-child(1) { animation-delay: .1s; }
.panel.is-active .objs li:nth-child(2) { animation-delay: .35s; }
.panel.is-active .objs li:nth-child(3) { animation-delay: .6s; }
.panel.is-active .objs li:nth-child(4) { animation-delay: .85s; }
@keyframes slidein { to { opacity: 1; transform: none; } }
.mark { display: inline-flex; align-items: center; gap: 6px; font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.mark::before { content: "✓"; }
.objs-foot { color: var(--dim); font-size: 0.8rem; letter-spacing: 0.04em; }
/* One worked objection (replaces the "handled" stamp grid) */
.obj-worked { display: flex; flex-direction: column; gap: 14px; margin-bottom: 16px; }
.obj-said {
  margin: 0; padding: 12px 16px; border-radius: 8px;
  background: var(--surface-2); border: 1px solid var(--line);
  color: var(--muted); font-size: 0.95rem;
}
.obj-met {
  margin: 0; padding: 14px 16px; border-radius: 8px;
  background: rgba(201,168,106,0.08); border: 1px solid rgba(201,168,106,0.32);
  color: var(--text); font-size: 0.98rem; line-height: 1.55;
}
/* About: quiet "verify me" link — the panel always goes to check the human */
.about-verify { margin-top: 18px; color: var(--muted); font-size: 0.95rem; }
.about-verify a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* panel 2 — deployment hours */
.deploy {}
.hours { display: grid; grid-template-columns: repeat(24, 1fr); gap: 4px; }
.hours i {
  height: 34px; border-radius: 4px; background: #181308; border: 1px solid var(--line);
  display: block;
}
.hours i.on { background: var(--accent-soft); border-color: rgba(201,168,106,0.4); }
.hours i.deal { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 10px rgba(201,168,106,0.6); }
.panel.is-active .hours i { animation: hpop .4s ease backwards; }
@keyframes hpop { from { opacity: 0; transform: translateY(6px); } }
.deploy-stats { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 20px; color: var(--muted); font-size: 0.95rem; }
.deploy-stats b { color: var(--accent); font-weight: 700; }

/* stacked layout: mobile / still screenshots — heading then its card, interleaved */
.scrolly.static-track { height: auto; }
.scrolly.static-track .scrolly-sticky { position: static; min-height: 0; display: block; }
.tabs.static { grid-template-columns: 1fr; gap: 0; }
.tabs.static .tabs-stage { display: none; }           /* panels are moved into the list */
.tabs.static .tabs-list { gap: 0; }
.tabs.static .tab { cursor: default; padding-bottom: 6px; }
.tabs.static .tab-desc { max-height: none; opacity: 1; margin-top: 12px; }
.tabs.static .tab-title { color: var(--text); }
.tabs.static .tab-fill { height: 100% !important; }
.tabs.static .panel {
  position: relative; opacity: 1; visibility: visible; transform: none;
  display: flex; min-height: 260px; min-width: 0; max-width: calc(100% - 25px);
  margin: 16px 0 36px 25px;   /* indent past the 3px bar + 22px gap to sit under the text */
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
}
.tabs.static .objs li { min-width: 0; }
.tabs.static .objs li span { min-width: 0; overflow-wrap: anywhere; }
.tabs.static .mark { flex: none; }

/* ============ EARN — light contrast section, auto-advancing ============ */
.earn {
  /* contrast flip: redefine the palette locally so shared components go light */
  --bg-2: #efe9db;
  --surface: #ffffff;
  --surface-2: #f4efe3;
  --line: rgba(38, 28, 14, 0.10);
  --line-strong: rgba(38, 28, 14, 0.17);
  --text: #1d1710;
  --muted: #6a5e4b;
  --dim: #968a71;
  --accent: #9c7430;
  --accent-soft: rgba(156, 116, 48, 0.10);
  color: var(--text);
}
.earn-grid {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 4vw, 52px); align-items: center;
  max-width: 940px; /* keep the two columns tight, not stretched across the full band */
}

/* left — the four steps */
.earn-steps { display: flex; flex-direction: column; gap: 2px; }
.estep {
  display: flex; flex-direction: column; gap: 14px;
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  color: inherit; font: inherit; padding: 22px 14px; border-radius: 10px;
  transition: background .3s ease, opacity .3s ease;
}
.estep:not(.is-active) { opacity: 0.6; }
.estep:hover { background: var(--accent-soft); opacity: 1; }
.estep-bar { order: 2; height: 3px; width: 100%; background: var(--line-strong); border-radius: 3px; overflow: hidden; }
.estep-fill { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 3px; }
.estep.is-active .estep-fill { box-shadow: 0 0 10px rgba(156, 116, 48, 0.6); }
.estep-no { display: block; font-size: 0.78rem; color: var(--dim); margin-bottom: 7px; }
.estep.is-active .estep-no { color: var(--accent); }
.estep-title { display: block; font-size: clamp(1.3rem, 2.5vw, 1.8rem); font-weight: 600; letter-spacing: -0.02em; color: var(--muted); transition: color .3s ease; }
.estep.is-active .estep-title { color: var(--text); }
.estep-desc {
  display: block; color: var(--muted); font-size: 1.02rem; line-height: 1.55;
  max-height: 0; opacity: 0; overflow: hidden; margin-top: 0;
  transition: max-height .5s ease, opacity .4s ease, margin-top .4s ease;
}
.estep.is-active .estep-desc { max-height: 230px; opacity: 1; margin-top: 11px; }

/* right — the swapping viewer card + gradient leak */
.earn-stage { position: relative; min-height: 360px; }
.earn-glow {
  position: absolute; z-index: 0; left: -16%; bottom: -24%; width: 82%; height: 92%;
  border-radius: 50%; filter: blur(46px); opacity: 0.62; pointer-events: none; will-change: transform;
  background: radial-gradient(circle, rgba(201, 168, 106, 0.45), rgba(156, 116, 48, 0.2) 50%, transparent 72%);
  animation: edrift 9s ease-in-out infinite alternate;
}
@keyframes edrift {
  0%   { transform: translate(-5%, 5%)  rotate(-5deg) scale(1); }
  100% { transform: translate(11%, -9%) rotate(9deg)  scale(1.1); }
}
.ecard {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; justify-content: center; gap: 18px;
  padding: clamp(22px, 3vw, 34px);
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 26px 64px rgba(40, 30, 12, 0.12);
  opacity: 0; visibility: hidden; transform: translateX(22px) scale(0.985);
  transition: opacity .5s ease, transform .55s cubic-bezier(.22,.61,.36,1), visibility .55s;
  will-change: transform, opacity;
}
.ecard.is-active { opacity: 1; visibility: visible; transform: none; }
.ecard-top { display: flex; justify-content: space-between; align-items: center; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.ecard-live { display: inline-flex; align-items: center; gap: 9px; color: var(--accent); }
.ecard-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(156,116,48,0.5); animation: epulse 2.4s ease-out infinite; }
@keyframes epulse { 0% { box-shadow: 0 0 0 0 rgba(156,116,48,0.45); } 70%,100% { box-shadow: 0 0 0 8px rgba(156,116,48,0); } }
/* live equalizer — constant motion so the active card never reads as a still image */
.ecard-eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; margin-left: 1px; }
.ecard-eq i { width: 2px; height: 30%; border-radius: 1px; background: var(--accent); opacity: 0.85; }
.ecard.is-active .ecard-eq i { animation: eeq 1s ease-in-out infinite; }
.ecard-eq i:nth-child(2) { animation-delay: .18s; }
.ecard-eq i:nth-child(3) { animation-delay: .36s; }
.ecard-eq i:nth-child(4) { animation-delay: .12s; }
@keyframes eeq { 0%, 100% { height: 22%; } 50% { height: 100%; } }
.ecard-row { display: flex; align-items: center; gap: 14px; }
.ecard-av { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--line); font-size: 1.15rem; color: var(--accent); }
.ecard-id { display: flex; flex-direction: column; min-width: 0; }
.ecard-id b { font-size: 1rem; font-weight: 600; color: var(--text); }
.ecard-id span { font-size: 0.85rem; color: var(--muted); }
.ecard-state { margin-left: auto; flex: none; font-family: var(--mono); font-size: 0.72rem; font-weight: 500; padding: 5px 12px; border-radius: 999px; white-space: nowrap; }
.s-guard { background: rgba(166, 92, 58, 0.13); color: #a65c3a; }
.s-listen { background: rgba(176, 132, 36, 0.16); color: #8a6816; }
.s-warm { background: rgba(64, 108, 168, 0.15); color: #3f6196; }
.s-done { background: rgba(54, 138, 84, 0.16); color: #2f7d4e; }
.ecard-moment { font-size: 1.05rem; line-height: 1.5; color: var(--text); font-weight: 500; }
.ecard-toast { display: flex; align-items: center; gap: 11px; padding: 12px 14px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--line); font-size: 0.92rem; color: var(--muted); }
.ecard-toast s { color: var(--dim); }
.ecard-ic { width: 28px; height: 28px; flex: none; display: grid; place-items: center; border-radius: 6px; background: #fff; border: 1px solid var(--line); color: var(--accent); font-size: 0.95rem; }
.ecard-toast.t-done { background: rgba(54, 138, 84, 0.10); border-color: rgba(54, 138, 84, 0.28); color: #2f7d4e; }
.ecard-toast.t-done .ecard-ic { color: #2f7d4e; border-color: rgba(54, 138, 84, 0.32); }
.ecard.is-active .ecard-row { animation: erise .5s ease both; }
.ecard.is-active .ecard-moment { animation: erise .5s ease .06s both; }
.ecard.is-active .ecard-toast { animation: erise .5s ease .12s both; }
@keyframes erise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.earn-foot { text-align: center; color: var(--dim); font-size: 0.82rem; margin-top: clamp(36px, 6vw, 56px); }

/* stacked (mobile / still): each step's card sits directly under its step */
.earn-grid.static { grid-template-columns: 1fr; gap: 0; }
.earn-grid.static .earn-stage { display: none; }
.earn-grid.static .estep { cursor: default; opacity: 1; padding-bottom: 8px; }
.earn-grid.static .ecard {
  position: relative; inset: auto; opacity: 1; visibility: visible; transform: none;
  margin: 6px 0 30px; box-shadow: 0 16px 40px rgba(40, 30, 12, 0.08);
}

/* ============ CONCIERGE ============ */
.concierge-inner { max-width: var(--readw); margin: 0 auto; text-align: left; }
.concierge-inner > p { color: var(--muted); font-size: 1.18rem; line-height: 1.66; max-width: 60ch; margin: 24px 0 0; }
.concierge blockquote {
  margin: 44px 0 0; max-width: 52ch; font-family: var(--display); font-style: italic;
  font-size: clamp(1.4rem, 2.8vw, 1.95rem); font-weight: 460;
  line-height: 1.32; letter-spacing: -0.01em; color: var(--text);
  padding-top: 36px; border-top: 1px solid var(--line-strong);
}

/* ============ ABOUT ============ */
.about-inner { max-width: var(--readw); margin: 0 auto; }
.about-inner .kicker { justify-content: flex-start; }
.about h2 { margin-bottom: 24px; }
.about p { color: var(--muted); font-size: 1.16rem; line-height: 1.66; margin-bottom: 18px; max-width: 58ch; }
.signature { color: var(--accent); font-size: 0.95rem; margin-top: 26px; }

/* ============ CTA ============ */
.cta { text-align: center; }
.cta-inner {
  max-width: 820px; margin: 0 auto; padding: clamp(56px, 9vw, 100px) 36px;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(201,168,106,0.14), transparent 60%),
    var(--surface);
  border: 1px solid var(--line-strong); border-radius: 14px;
}
.cta h2 { margin-bottom: 16px; }
.cta p { color: var(--muted); font-size: 1.16rem; max-width: 52ch; margin: 0 auto 34px; }
.cta-fine { margin-top: 22px; color: var(--dim); font-size: 0.84rem; }

/* ===== TEARDOWN INTAKE FORM ===== */
.td-form { text-align: left; max-width: 560px; margin: 0 auto; display: grid; gap: 18px; }
.td-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.td-field { display: grid; gap: 8px; }
.td-field label {
  font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted);
}
.td-field .td-opt { color: var(--dim); text-transform: none; letter-spacing: 0; font-size: 0.92em; }
.td-field input, .td-field textarea {
  width: 100%; font-family: var(--sans); font-size: 1rem; color: var(--text);
  background: var(--bg); border: 1px solid var(--line-strong); border-radius: 8px;
  padding: 13px 15px; transition: border-color .2s ease, box-shadow .2s ease;
}
.td-field textarea { resize: vertical; min-height: 110px; line-height: 1.55; }
.td-field input::placeholder, .td-field textarea::placeholder { color: var(--dim); }
.td-field input:focus, .td-field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}
.td-submit { width: 100%; justify-content: center; margin-top: 4px; }

/* ============ FOOTER ============ */
.footer { max-width: var(--maxw); margin: 0 auto; padding: 52px 32px 44px; border-top: 1px solid var(--line); }
.footer-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.footer-links { display: flex; gap: 24px; color: var(--muted); font-size: 0.9rem; flex-wrap: wrap; }
.footer-links a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-top: 24px; color: var(--dim); font-size: 0.84rem; }
.footer-legal { display: flex; gap: 18px; }
.footer-legal a:hover { color: var(--text); }

/* ============ SCROLL REVEAL ============ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ============ RESPONSIVE ============ */
@media (max-width: 880px) {
  .nav-links { display: none; }

  /* hero: desktop-only spacing cuts (fold fix) don't apply below the tablet
     breakpoint — restore the original mobile gaps so the verified phone layout
     is untouched. */
  .hero-sub { margin-top: 22px; }
  .video-frame { margin-top: 40px; }

  /* THE METHOD (Tabs) - Interleaved Stack */
  .tabs { display: flex; flex-direction: column; gap: 0; }
  .tabs-list, .tabs-stage { display: contents; }
  .tab[data-tab="0"] { order: 1; }
  .panel[data-panel="0"] { order: 2; }
  .tab[data-tab="1"] { order: 3; }
  .panel[data-panel="1"] { order: 4; }
  .tab[data-tab="2"] { order: 5; }
  .panel[data-panel="2"] { order: 6; }
  
  .panel {
    position: relative; opacity: 1; visibility: visible; transform: none;
    display: flex; min-height: auto; min-width: 0; max-width: calc(100% - 25px);
    margin: 16px 0 44px 25px; /* indent past the 3px bar */
    background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
    padding: clamp(20px, 4vw, 24px);
  }
  .scrolly { height: auto; }
  .scrolly-sticky { position: static; min-height: 0; display: block; }
  .tab { padding-bottom: 6px; cursor: default; }
  .tab:hover { background: none; }
  .tab-desc { max-height: none; opacity: 1; margin-top: 12px; }
  .tab-title { color: var(--text); }
  .tab-fill { height: 100% !important; }
  
  /* Force charts into end-state */
  .panel .frow::before, .panel .objs li, .panel .hours i { animation: none; opacity: 1; transform: none; }
  .panel .frow::before { transform: scaleX(1); }

  /* THE EARN (Steps) - Interleaved Stack */
  .earn-grid { display: flex; flex-direction: column; gap: 0; }
  .earn-steps, .earn-stage { display: contents; }
  .estep[data-estep="0"] { order: 1; }
  .ecard[data-ecard="0"] { order: 2; }
  .estep[data-estep="1"] { order: 3; }
  .ecard[data-ecard="1"] { order: 4; }
  .estep[data-estep="2"] { order: 5; }
  .ecard[data-ecard="2"] { order: 6; }
  .estep[data-estep="3"] { order: 7; }
  .ecard[data-ecard="3"] { order: 8; }
  
  .estep { cursor: default; opacity: 1; padding-bottom: 8px; }
  .ecard {
    position: relative; inset: auto; opacity: 1; visibility: visible; transform: none;
    margin: 16px 0 44px; box-shadow: 0 16px 40px rgba(40, 30, 12, 0.08);
  }
  .earn-glow { display: none; }
  
  /* Force cards into end-state */
  .ecard .ecard-row, .ecard .ecard-moment, .ecard .ecard-toast { animation: none; opacity: 1; transform: none; }
  .ecard-live i, .ecard-eq i { animation: none; }
}
@media (max-width: 560px) {
  section { padding: 64px 20px; }
  .nav-inner { padding: 13px 18px; }
  .nav .btn-sm { padding: 8px 13px; font-size: 0.78rem; }
  .logo-word { font-size: 0.95rem; }
  h1 { font-size: clamp(2rem, 8vw, 2.6rem); line-height: 1.03; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .tier { flex-direction: column; gap: 16px; padding: 20px; }
  .tier-price { align-items: flex-start; text-align: left; }
  .tier-note { text-align: left; }
  .gmenu { grid-template-columns: 1fr; }

  /* Funnel: at phone widths the narrow bars can't hold their labels
     ("Second meeting" overflows the 24% bar), so the label moves onto
     its own line above the bar and the count stays on the bar. */
  .frow { padding-top: 26px; }
  .frow span { top: 2px; left: 0; font-size: 0.86rem; color: var(--muted); }
  .frow b { top: 39px; color: var(--text); }
  .frow.leak em { top: 4px; right: 0; }
}

/* Brand rule: the "L1" numeral never stands alone (Layer1 vs LayerOne confusion),
   so the full wordmark stays visible at every width; shrink instead of hiding. */
@media (max-width: 380px) {
  .logo-word { font-size: 0.88rem; }
  .logo { gap: 7px; }
  .nav .btn-sm { padding: 7px 10px; font-size: 0.74rem; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .live-dot { animation: none; }
  html { scroll-behavior: auto; }
  /* keep the scroll-driven phase swap, but make it instant (no animated transforms) */
  .panel { transition: opacity .2s linear; transform: none !important; }
  .panel.is-active .frow::before,
  .panel.is-active .objs li,
  .panel.is-active .hours i { animation: none; opacity: 1; transform: none; }
  .panel.is-active .frow::before { transform: scaleX(1); }
  /* earn: keep the calm content swap (cross-fade), but kill ambient bouncing */
  .earn-glow { animation: none; }
  .ecard-live i,
  .ecard-eq i { animation: none; }
  .ecard { transition: opacity .25s linear; transform: none !important; }
  .ecard.is-active .ecard-row,
  .ecard.is-active .ecard-moment,
  .ecard.is-active .ecard-toast { animation: none; opacity: 1; transform: none; }
}

/* ============ HERO DEMO — a pitch, rebuilt ============ */
.demo-card {
  margin: clamp(48px, 7vw, 80px) 0 0; max-width: 620px; text-align: left;
  background: var(--surface-2);
  border: 1px solid var(--line-strong); border-radius: 10px;
  padding: clamp(24px, 3.6vw, 36px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.demo-head { padding-bottom: 14px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.demo-generic {
  position: relative; display: block; color: var(--dim); font-size: 0.96rem; line-height: 1.55;
  padding: 14px 16px; background: var(--bg); border: 1px solid var(--line); border-radius: 8px;
}
.demo-generic::after {
  content: ""; position: absolute; left: 16px; right: 16px; top: 50%; height: 1.5px; width: 0; background: var(--dim);
  transition: width 0.45s ease;
}
.demo-card.is-struck .demo-generic::after { width: calc(100% - 32px); }
.demo-rebuilt {
  color: var(--text); font-size: 1.04rem; line-height: 1.55; font-weight: 500; margin-top: 12px;
  padding: 14px 16px; background: rgba(201, 168, 106, 0.06); border: 1px solid rgba(201, 168, 106, 0.3); border-radius: 8px;
  opacity: 0; transform: translateY(6px); transition: opacity 0.6s ease 0.15s, transform 0.6s ease 0.15s;
}
.demo-card.is-struck .demo-rebuilt { opacity: 1; transform: none; }

/* ============ BUILT FOR ============ */
.trust-desc { max-width: 52ch; margin: 0 auto; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.25rem); line-height: 1.5; }

/* ============ THE WORK — before / after ============ */
.work > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.work .section-head { margin-bottom: clamp(40px, 6vw, 64px); }
.teardown { display: grid; grid-template-columns: 1fr; gap: 14px; max-width: 860px; margin: 0 auto; }
.td-card { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: clamp(22px, 3vw, 32px); }
.td-card p { color: var(--text); font-size: 1.04rem; line-height: 1.6; }
.td-before { background: var(--surface); border-color: var(--line-strong); }
.td-before p { color: var(--muted); font-style: italic; }
.td-after { background: var(--surface-2); border-color: var(--accent); box-shadow: 0 22px 54px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.04); }
.td-tag { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); margin-bottom: 14px; }
.td-after .td-tag { color: var(--accent); }
.td-arrow { justify-self: center; color: var(--accent); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; padding: 8px 0; display: flex; align-items: center; gap: 12px; }
.td-arrow::before, .td-arrow::after { content: ""; width: 32px; height: 1px; background: var(--accent); opacity: 0.4; }
.work-note { text-align: center; color: var(--muted); font-size: 0.92rem; font-family: var(--sans); max-width: 54ch; margin: 36px auto 0; line-height: 1.6; }
.work-cta { text-align: center; margin-top: 30px; }

/* ============ WAYS TO WORK — ladder ============ */
.offer .section-head { text-align: left; margin-left: auto; margin-right: auto; max-width: 940px; }
.offer .section-head .kicker { justify-content: flex-start; }
.offer .stakes { max-width: 62ch; margin-left: 0; margin-right: 0; }
.ladder { display: flex; flex-direction: column; gap: 14px; max-width: 940px; margin: 0 auto; }
.tier { display: flex; justify-content: space-between; align-items: flex-start; gap: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 24px 28px; }
.tier-name { font-size: 1.22rem; font-weight: 600; letter-spacing: -0.01em; }
.tier-desc { color: var(--muted); font-size: 0.98rem; line-height: 1.55; margin-top: 7px; max-width: 60ch; }
.tier-price { font-family: var(--mono); color: var(--accent); font-size: 1.08rem; white-space: nowrap; text-align: right; flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.tier-note { color: var(--dim); font-size: 0.75rem; font-family: var(--sans); text-align: right; line-height: 1.4; }
.tier-how { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 0.9rem; }
.tier-anchor { background: linear-gradient(180deg, var(--surface-2), var(--surface)); border-color: var(--line-strong); box-shadow: 0 26px 64px rgba(0, 0, 0, 0.42); }
.tier-anchor .tier-name { font-family: var(--display); font-weight: 500; font-size: 1.72rem; letter-spacing: -0.01em; }
.tier-anchor .tier-price { font-size: 1.5rem; color: var(--accent-hi); }
.ladder-or { text-align: center; color: var(--dim); font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; margin: 4px 0; }
.capacity { text-align: center; color: var(--muted); font-size: 0.96rem; margin-top: 30px; }

/* ============ GUARANTEE ============ */
.guarantee-inner { max-width: var(--readw); margin: 0 auto; text-align: left; }
.guarantee-inner .kicker { justify-content: flex-start; }
.guarantee-inner > p { color: var(--muted); font-size: 1.12rem; line-height: 1.66; max-width: 58ch; margin: 22px 0 0; }
.gmenu { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 36px; text-align: left; }
.gopt { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 22px 24px; }
.gopt.is-default { border-color: var(--accent); }
.gopt h4 { font-size: 1.02rem; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.gopt h4 .mono { font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: #251c09; background: var(--accent); padding: 3px 8px; border-radius: 999px; }
.gopt p { color: var(--muted); font-size: 0.95rem; line-height: 1.55; margin-top: 12px; }

/* ============ FOUNDING ============ */
.founding-inner { max-width: var(--readw); margin: 0 auto; text-align: left; }
.founding-inner .kicker { justify-content: flex-start; }
.founding-inner > p { color: var(--muted); font-size: 1.14rem; line-height: 1.66; max-width: 56ch; margin: 22px 0 0; }

/* ============ NEW SECTIONS — responsive + reduced motion ============ */
@media (max-width: 880px) {
  .tier { flex-direction: column; gap: 12px; }
  .tier-price { text-align: left; align-items: flex-start; }
  .tier-note { text-align: left; }
  .gmenu { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .demo-generic::after { width: 100%; transition: none; }
  .demo-rebuilt { opacity: 1; transform: none; transition: none; }
}
