/* Layout: text on one side, a live workflow canvas on the other, alternating; one buyer question per section */
:root {
  color-scheme: dark;
  --ink: #0C1215;
  --ink-2: #111A1E;
  --ink-3: #18242A;
  --ink-4: #21303A;
  --cream: #F3EFE6;
  --fog: #B4BEBC;
  --teal: #1FB8A6;
  --teal-deep: #0D7568;
  --mint: #7FE3D6;
  --amber: #E8A94A;
  --k-orange: #EF9A7B; --k-sand: #D9C28C; --k-blue: #9DBBFF; --k-violet: #C9A3F2; --k-green: #8EDC9C;
  --line: color-mix(in srgb, var(--cream) 12%, transparent);
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-text: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-logo: "Manrope", "Geist", sans-serif;
  --s-small: 0.875rem;
  --s-body: 1.0625rem;
  --s-lead: clamp(1.15rem, 1.5vw, 1.3rem);
  --s-h3: clamp(1.6rem, 2.4vw, 2.1rem);
  --s-h2: clamp(2.3rem, 4.4vw, 3.6rem);
  --s-h1: clamp(2.8rem, 5vw, 4.4rem);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --header-h: 64px;
}
/* The close band is always deep teal, so it keeps the dark-mode ink and cream */
.close { --ink: #0C1215; --cream: #F3EFE6; --fog: #D4E4E0; --mint: #7FE3D6; color: var(--cream); }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: calc(var(--header-h) + 20px); }
body { margin: 0; background: var(--ink); color: var(--cream); font: 400 var(--s-body)/1.6 var(--font-text); -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--ink); }
h1, h2, h3, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 84rem; margin-inline: auto; padding-left: max(clamp(20px, 5vw, 56px), env(safe-area-inset-left, 0px)); padding-right: max(clamp(20px, 5vw, 56px), env(safe-area-inset-right, 0px)); }
.skip { position: absolute; left: 16px; top: -120px; z-index: 100; background: var(--cream); color: var(--ink); padding: 12px 16px; font-weight: 600; text-decoration: none; }
.skip:focus { top: calc(env(safe-area-inset-top, 0px) + 8px); }
.h2 { font: 700 var(--s-h2)/0.98 var(--font-display); letter-spacing: -0.01em; }
.h3 { font: 700 var(--s-h3)/1.02 var(--font-display); }
.lead { font-size: var(--s-lead); line-height: 1.5; max-width: 52ch; }
.muted { color: var(--fog); }
.small { font-size: var(--s-small); line-height: 1.5; }
section { padding-block: clamp(5.5rem, 11vw, 10rem); }
.sec-head { display: grid; gap: 1.25rem; max-width: 46rem; margin-bottom: clamp(2.75rem, 5.5vw, 4.75rem); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 1.3rem; border: 0; border-radius: 10px; font: 600 var(--s-body)/1 var(--font-text); text-decoration: none; white-space: nowrap; cursor: pointer; background: var(--cream); color: var(--ink); transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease, box-shadow 200ms ease; }
.btn:active { transform: scale(0.97); }
.btn-ghost { background: transparent; color: var(--cream); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--cream) 35%, transparent); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--mint); }
  .btn-ghost:hover { background: transparent; color: var(--mint); box-shadow: inset 0 0 0 1.5px var(--mint); }
}

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: color-mix(in srgb, var(--ink) 94%, transparent); border-bottom: 1px solid var(--line); }
.bar { height: var(--header-h); display: flex; align-items: center; gap: 1rem; }
.brand { display: inline-flex; align-items: center; min-height: 44px; margin-right: auto; text-decoration: none; color: var(--cream); }
.brand svg { width: 140px; height: 30px; overflow: visible; }
.brand-text { font-family: var(--font-logo); font-weight: 800; font-size: 22px; fill: currentColor; letter-spacing: -0.03em; }
.brand-loop, .brand-arrow { fill: none; stroke: var(--teal); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.nav { display: flex; gap: 0.25rem; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.7rem; color: var(--fog); text-decoration: none; font-weight: 500; font-size: 0.95rem; border-radius: 8px; white-space: nowrap; transition: color 200ms ease; }
.nav a[aria-current="true"] { color: var(--cream); }
@media (hover: hover) and (pointer: fine) { .nav a:hover { color: var(--cream); } }
.bar .btn { min-height: 42px; padding: 0 1rem; font-size: 0.94rem; }
.menu-btn { display: none; min-height: 42px; padding: 0 0.9rem; border-radius: 10px; border: 0; background: var(--ink-3); color: var(--cream); font: 500 0.94rem var(--font-text); cursor: pointer; }
.mnav { border-top: 1px solid var(--line); }
.mnav a { display: flex; align-items: center; min-height: 52px; text-decoration: none; font-size: 1.05rem; }
.mnav ul { padding-block: 0.25rem 1rem; }
@media (max-width: 880px) { .nav { display: none; } .menu-btn { display: inline-flex; align-items: center; } }
@media (max-width: 400px) { .brand svg { width: 108px; height: 24px; } .bar { gap: 0.4rem; } .bar .btn { padding: 0 0.75rem; } .menu-btn { padding: 0 0.7rem; } }
@media (min-width: 881px) { .mnav { display: none !important; } }

/* Hero */
.hero { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(3.5rem, 7vw, 6rem) clamp(3rem, 6vw, 5rem); }
/* 3D floor behind the hero: faded at the bottom so it hands over to the trust bar, and under the headline so the copy stays readable */
.hero-floor { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; opacity: 0; transition: opacity 900ms var(--ease-out);
  -webkit-mask-image: linear-gradient(180deg, #000 84%, transparent), linear-gradient(90deg, rgba(0, 0, 0, 0.4), #000 55%); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(180deg, #000 84%, transparent), linear-gradient(90deg, rgba(0, 0, 0, 0.4), #000 55%); mask-composite: intersect; }
.hero-floor.on { opacity: 1; }
.hero h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.hero h1 .wi { display: inline-block; will-change: transform; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 13fr) minmax(0, 11fr); gap: clamp(2.5rem, 4.5vw, 4.5rem); align-items: center; }
.hero-copy { display: grid; gap: 1.9rem; }
.hero h1 { font: 700 var(--s-h1)/0.95 var(--font-display); letter-spacing: -0.015em; }
.hero h1 .h1-2 { display: block; color: var(--mint); }
.ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-quote { margin: 0; padding-left: 1rem; border-left: 3px solid var(--teal); display: grid; gap: 0.4rem; max-width: 46ch; }
.hero-quote blockquote { margin: 0; color: var(--cream); }
.hero-quote figcaption { color: var(--fog); font-size: var(--s-small); }
.hero-quote figcaption b { color: var(--cream); font-weight: 600; }
@media (max-width: 960px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); } }

/* Workflow canvas */
.wf { background: var(--ink-2); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.wf-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.wf-title { font-weight: 600; font-size: 0.95rem; }
.wf-title span { color: var(--fog); font-weight: 400; }
.seg { position: relative; display: inline-flex; background: var(--ink); border-radius: 9px; padding: 3px; }
.seg button { position: relative; z-index: 1; min-height: 34px; padding: 0 0.8rem; border: 0; background: transparent; color: var(--fog); font: 500 0.88rem var(--font-text); cursor: pointer; border-radius: 7px; transition: color 200ms ease; }
.seg button[aria-pressed="true"] { color: var(--ink); }
.seg .knob { position: absolute; top: 3px; bottom: 3px; left: 3px; border-radius: 7px; background: var(--cream); transition: transform 240ms var(--ease-out), width 240ms var(--ease-out), background-color 200ms ease; }
.seg.with .knob { background: var(--amber); }
.wf-svg { display: block; width: 100%; }
.wf-svg .bgdot { fill: color-mix(in srgb, var(--cream) 9%, transparent); }
.wf-svg .edge { fill: none; stroke: color-mix(in srgb, var(--cream) 22%, transparent); stroke-width: 1.7; transition: stroke 200ms ease, opacity 240ms ease; }
.wf-svg .edge[data-s="done"] { stroke: var(--mint); }
.wf-svg .edge[data-s="off"] { opacity: 0.15; }
.wf-svg .edge.bypass { stroke-dasharray: 5 5; opacity: 0; }
.wf.without .wf-svg .edge.bypass { opacity: 1; }
.wf-svg .packet { fill: var(--mint); }
.wf-svg .node .box { fill: var(--ink-3); stroke: color-mix(in srgb, var(--cream) 28%, transparent); stroke-width: 1.5; transition: stroke 200ms ease, fill 200ms ease; }
.wf-svg .node[data-s="run"] .box { stroke: var(--teal); fill: color-mix(in srgb, var(--teal) 24%, var(--ink-3)); stroke-width: 2; }
.wf-svg .node[data-s="done"] .box { stroke: var(--mint); }
.wf-svg .node .chk { opacity: 0; transition: opacity 200ms ease; }
.wf-svg .node .chk circle { fill: var(--mint); }
.wf-svg .node .chk path { fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wf-svg .node[data-s="done"] .chk { opacity: 1; }
.wf-svg .node { transition: opacity 240ms ease; }
.wf-svg .node[data-s="blocked"] { opacity: 0.32; }
.wf-svg .node[data-s="skip"] { opacity: 0.22; }
.wf-svg .node.you .box { stroke: var(--amber); }
.wf-svg .node.you[data-s="wait"] .box { fill: color-mix(in srgb, var(--amber) 16%, transparent); stroke-width: 2.2; animation: wait 1.3s ease-in-out infinite; }
.wf-svg .node.you .lbl { fill: var(--amber); font-weight: 600; }
@keyframes wait { 50% { fill: color-mix(in srgb, var(--amber) 34%, transparent); } }
.wf-svg .lbl { fill: var(--fog); font: 500 12px var(--font-text); }
.wf-status { display: flex; align-items: center; gap: 0.6rem; padding: 12px 14px; border-top: 1px solid var(--line); font-size: 0.92rem; min-height: 48px; }
.wf-status i { width: 9px; height: 9px; border-radius: 50%; flex: none; background: var(--mint); }
.wf.with .wf-status i { background: var(--amber); animation: blink 1.3s ease-in-out infinite; }
@keyframes blink { 50% { opacity: 0.35; } }

/* Hero: a founder's week. Amber blocks are work a system could run; outlined ones stay with the founder */
.week { position: relative; background: var(--ink-2); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.week.with .wf-status i { background: var(--amber); animation: blink 1.3s ease-in-out infinite; }
.wk-cal { --cols: 5; padding: 12px 14px 6px; }
.wk-days { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); margin-left: 26px; padding-bottom: 6px; color: var(--fog); font-size: 0.8rem; font-weight: 500; }
.wk-days span { padding-left: 4px; }
.wk-body { position: relative; height: 340px; }
.wk-hours span { position: absolute; left: 0; top: calc(var(--h) / 9 * 100%); transform: translateY(-50%); color: var(--fog); font-size: 0.72rem; font-variant-numeric: tabular-nums; }
.wk-hours span:first-child { transform: none; }
.wk-hours span:last-child { transform: translateY(-100%); }
.wk-grid { position: absolute; inset: 0 0 0 26px; border-radius: 8px; background-color: var(--ink); background-image: radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--cream) 10%, transparent) 1px, transparent 0); background-size: 16px 16px; }
.blk { position: absolute; left: calc(var(--d) / var(--cols) * 100% + 3px); width: calc(100% / var(--cols) - 6px); top: calc(var(--s) / 9 * 100% + 2px); height: calc(var(--l) / 9 * 100% - 4px);
  display: flex; flex-direction: column; justify-content: flex-start; gap: 2px; padding: 5px 7px; border-radius: 7px; overflow: hidden;
  background: color-mix(in srgb, var(--amber) 17%, var(--ink-3)); box-shadow: inset 3px 0 0 var(--amber); font-size: 0.74rem; line-height: 1.22; color: var(--cream); }
.blk .sysname { display: none; font-weight: 600; }
.blk.sys { background: color-mix(in srgb, var(--mint) 20%, var(--ink-3)); box-shadow: inset 3px 0 0 var(--mint); }
.blk.sys .task { display: none; } .blk.sys .sysname { display: block; }
.blk.keep { background: var(--ink-3); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--cream) 22%, transparent); color: var(--fog); transition: color 300ms ease, box-shadow 300ms ease; }
.week.without .blk.keep { color: var(--cream); box-shadow: inset 0 0 0 1.5px var(--cream); }
.wk-sys { display: flex; flex-wrap: wrap; gap: 5px; margin: 0; padding: 8px 14px 12px; list-style: none; }
.wk-sys li { display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px; border-radius: 999px; background: var(--ink-3); color: var(--fog); font-size: 0.72rem; font-weight: 500; transition: background-color 300ms ease, color 300ms ease; }
.wk-sys li b { font-weight: 600; font-variant-numeric: tabular-nums; color: var(--mint); display: none; }
.wk-sys li.on { background: color-mix(in srgb, var(--mint) 20%, var(--ink-3)); color: var(--cream); }
.wk-sys li.on b { display: inline; }
#wk-status b { font-variant-numeric: tabular-nums; }
@media (max-width: 520px) {
  .wk-cal { --cols: 3; }
  .wk-days span:nth-child(n+4), .blk[data-d="3"], .blk[data-d="4"] { display: none; }
  .wk-body { height: 380px; }
}

/* Proof strip */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* Trust bar: client names as type-only wordmarks on a slow loop; the edge fade is a mask, not a visible gradient */
.trust { padding-block: clamp(1.5rem, 3vw, 2.5rem) clamp(3.5rem, 7vw, 5.5rem); }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.mq-track { display: flex; width: max-content; animation: mq 48s linear infinite; }
.mq-set { display: flex; align-items: center; gap: clamp(3rem, 6vw, 5.5rem); padding: 0 clamp(1.5rem, 3vw, 2.75rem); margin: 0; list-style: none; }
.mq-set li { display: flex; align-items: center; height: 56px; white-space: nowrap; color: color-mix(in srgb, var(--cream) 58%, transparent); transition: color 200ms ease; }
@keyframes mq { to { transform: translateX(-50%); } }
@media (hover: hover) and (pointer: fine) { .marquee:hover .mq-track { animation-play-state: paused; } .mq-set li:hover { color: var(--cream); } }
.wm-kraken { font: 800 1.55rem/1 var(--font-logo); letter-spacing: -0.045em; text-transform: lowercase; }
.wm-imperium { font: 600 1.5rem/1 "Cormorant Garamond", Georgia, serif; letter-spacing: 0.16em; -webkit-text-stroke: 0.35px currentColor; text-transform: uppercase; }
.wm-aether { font: 400 1.5rem/1 var(--font-text); letter-spacing: -0.03em; }
.wm-aether b { font-weight: 600; }
.wm-bellvines { gap: 0.6rem; font: italic 600 1.95rem/1 "Cormorant Garamond", Georgia, serif; letter-spacing: -0.01em; }
.bv-mark { width: 34px; height: 34px; flex: none; background: currentColor; -webkit-mask: url(assets/bellvines.png) center / contain no-repeat; mask: url(assets/bellvines.png) center / contain no-repeat; }
.wm-oak { font: 700 1.7rem/1 var(--font-display); letter-spacing: 0.08em; text-transform: uppercase; }
@media (max-width: 600px) { .mq-set { gap: 2.5rem; } .mq-set li { height: 48px; } }
.wm-oak span span { font-weight: 600; opacity: 0.7; margin-left: 0.3em; }
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .mq-track { display: block; width: auto; }
  .mq-set { flex-wrap: wrap; justify-content: center; gap: 0.5rem 2.5rem; }
  .mq-set[aria-hidden] { display: none; }
}
.proof { background: var(--ink-2); padding-block: clamp(5rem, 10vw, 9rem); }
.proof .wrap { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
.proof-figs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.25rem clamp(2.5rem, 5vw, 4.5rem); }
.proof-figs dt { font: 700 clamp(2.2rem, 4vw, 3.2rem)/1 var(--font-display); color: var(--cream); font-variant-numeric: tabular-nums; }
.proof-figs dd { color: var(--fog); margin-top: 0.4rem; max-width: 30ch; }
@media (max-width: 760px) { .proof-figs { grid-template-columns: minmax(0, 1fr); } }

/* Leak audit */
.audit .grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.75rem, 4vw, 3.5rem); align-items: stretch; }
.sliders { display: grid; align-content: space-between; gap: 1.8rem; background: var(--ink-2); border-radius: 14px; padding: clamp(1.5rem, 3.5vw, 2.75rem); }
.field-top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.field-top label { color: var(--fog); font-size: 0.95rem; }
.field-top output { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 40px; margin: 0; background: transparent; cursor: pointer; --p: 50%; touch-action: pan-y; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--mint) var(--p), color-mix(in srgb, var(--cream) 15%, transparent) var(--p)); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -9px; border-radius: 50%; background: var(--cream); border: 4px solid var(--ink-2); transition: transform 150ms var(--ease-out); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.15); }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 4px; background: color-mix(in srgb, var(--cream) 15%, transparent); }
input[type="range"]::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--mint); }
input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--cream); border: 4px solid var(--ink-2); }
.result { background: var(--ink-3); border-radius: 14px; padding: clamp(1.5rem, 3.5vw, 2.75rem); display: grid; gap: 1.4rem; }
.result .k { color: var(--fog); font-size: 0.95rem; }
.result .big { font: 700 clamp(3rem, 6vw, 4.4rem)/0.95 var(--font-display); color: var(--amber); font-variant-numeric: tabular-nums; }
.rows { display: grid; gap: 0.85rem; }
.row-top { display: flex; justify-content: space-between; gap: 1rem; font-size: var(--s-small); color: var(--fog); }
.row-top b { color: var(--cream); font-weight: 600; font-variant-numeric: tabular-nums; }
.track { height: 6px; border-radius: 6px; background: color-mix(in srgb, var(--cream) 8%, transparent); margin-top: 0.4rem; overflow: hidden; }
.fill { height: 100%; background: var(--amber); border-radius: 6px; transform-origin: left center; transform: scaleX(0); transition: transform 450ms var(--ease-out); }
.gain { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.gain b { font-size: 1.6rem; font-weight: 600; color: var(--mint); font-variant-numeric: tabular-nums; }
.verdict { font-size: 0.95rem; }
.verdict b { color: var(--cream); font-weight: 600; }
details.maths summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-size: var(--s-small); color: var(--mint); }
details.maths ul { display: grid; gap: 0.45rem; padding-left: 1.1rem; list-style: disc; font-size: var(--s-small); color: var(--fog); }
.lead-form { display: grid; gap: 1rem 3rem; margin-top: clamp(1.25rem, 2.5vw, 1.75rem); padding: clamp(1.25rem, 2.5vw, 1.75rem) clamp(1.5rem, 3.5vw, 2.75rem); background: var(--ink-2); border-radius: 14px; }
.lead-copy, .lead-act { display: grid; gap: 0.5rem; align-content: center; }
.lead-form label { font-weight: 600; font-size: 1.2rem; }
@media (min-width: 900px) { .lead-form { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; } }
.lead-row { display: flex; flex-wrap: wrap; gap: 8px; }
.lead-form input[type="email"] { flex: 1 1 12rem; min-width: 0; min-height: 50px; padding: 0 14px; border-radius: 10px; border: 1px solid color-mix(in srgb, var(--cream) 28%, transparent); background: var(--ink); color: var(--cream); font: inherit; }
.lead-form input::placeholder { color: var(--fog); opacity: 0.8; }
.lead-form input[aria-invalid="true"] { border-color: var(--amber); }
.note { font-size: var(--s-small); color: var(--fog); }
.note a { color: var(--mint); }
.note.err { color: var(--amber); }
.note.ok { color: var(--mint); }
@media (max-width: 899px) { .audit .grid { grid-template-columns: minmax(0, 1fr); } .result { position: static; } }
.leakbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--ink-4); padding: 12px max(16px, env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); transform: translateY(110%); transition: transform 200ms var(--ease-out); }
.leakbar.on { transform: none; transition: transform 320ms var(--ease-drawer); }
.leakbar .v { font: 700 1.7rem/1 var(--font-display); color: var(--amber); font-variant-numeric: tabular-nums; }
.leakbar .g { display: block; font-size: var(--s-small); color: var(--fog); margin-top: 2px; }
.leakbar a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 1rem; border-radius: 10px; background: var(--cream); color: var(--ink); text-decoration: none; font-weight: 600; font-size: var(--s-small); }
.callbar .g { margin-top: 0; }
.callbar a { white-space: nowrap; }
@media (min-width: 900px) { .leakbar { display: none; } }

/* Five leaks */
.leaks { background: var(--ink-2); }
.leaks .wf { background: var(--ink); }
.panel { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5.5vw, 5.5rem); align-items: center; }
.panel-copy { display: grid; gap: 1.3rem; transition: opacity 180ms var(--ease-out), filter 180ms var(--ease-out), transform 220ms var(--ease-out); }
.panel-copy.swap { opacity: 0; filter: blur(3px); transform: translateY(6px); }
.built { display: grid; gap: 0.6rem; margin-top: 0.4rem; }
.built li { display: grid; grid-template-columns: 1.2rem minmax(0, 1fr); gap: 0.5rem; }
.built li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--mint); margin-top: 0.5em; }
.panel .src { color: var(--fog); font-size: var(--s-small); }
@media (max-width: 960px) { .panel { grid-template-columns: minmax(0, 1fr); } }

/* How it works */
.stagebar { display: flex; gap: 6px; margin-bottom: 2rem; }
.stagebar span { height: 10px; border-radius: 5px; flex-basis: 0; }
.stages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.stage { background: var(--ink-2); border-radius: 14px; padding: clamp(1.5rem, 3vw, 2.5rem); display: grid; gap: 1rem; align-content: start; }
.stage .when { font-weight: 600; }
.stage .when.a { color: var(--amber); } .stage .when.b { color: var(--mint); } .stage .when.c { color: var(--fog); }
.stage .keep { color: var(--fog); font-size: 0.95rem; }
.stage .keep b { color: var(--cream); font-weight: 600; }
.how-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.how-cta p { color: var(--fog); max-width: 52ch; }
@media (max-width: 860px) { .stages { grid-template-columns: minmax(0, 1fr); } }

/* Kam */
.kam { background: var(--ink-2); }
.kam .wrap { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(2.5rem, 6.5vw, 6.5rem); align-items: center; }
.kam figcaption { margin-top: 0.6rem; }
.kam-copy { display: grid; gap: 1.4rem; }
.creds { display: grid; gap: 0.5rem; }
.creds li { display: grid; grid-template-columns: 1.2rem minmax(0, 1fr); gap: 0.5rem; }
.creds li::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--teal); margin-top: 0.5em; }
.sig { color: var(--mint); font-weight: 500; }
@media (max-width: 860px) { .kam .wrap { grid-template-columns: minmax(0, 1fr); } }

/* Fit and compare */
.fit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); margin-bottom: clamp(3.5rem, 7vw, 6rem); }
.fit .sec-head { margin-bottom: clamp(2.25rem, 4.5vw, 3.5rem); }
.fit-col { background: var(--ink-2); border-radius: 14px; padding: clamp(1.5rem, 3vw, 2.5rem); display: grid; gap: 1.5rem; align-content: start; }
.fit-col h3 { display: flex; align-items: center; gap: 0.7rem; font: 700 1.9rem/1 var(--font-display); }
.fit-col.yes { background: color-mix(in srgb, var(--teal) 9%, var(--ink-2)); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--teal) 50%, transparent); }
.fit-col.yes h3, .fit-col.yes .mk { color: var(--mint); } .fit-col.no h3, .fit-col.no .mk { color: var(--amber); }
.fit-col.no li { color: var(--fog); }
.fit-col ul { display: grid; gap: 1rem; }
.fit-col li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 0.8rem; align-items: start; }
.fit-ic svg, .mk { display: block; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.fit-ic svg { width: 28px; height: 28px; }
.mk { margin-top: 0.2rem; transform: scale(var(--m, 1)); }
.mk circle { fill: color-mix(in srgb, currentColor 14%, transparent); }
.compare-h { margin-bottom: 1.25rem; max-width: 32ch; }
.v { position: relative; display: inline-block; width: 18px; height: 18px; margin-right: 0.55rem; border-radius: 50%; vertical-align: -3px; transform: scale(var(--m, 1)); }
.v.y { background: var(--teal); }
.v.y::after { content: ""; position: absolute; left: 6px; top: 3px; width: 4px; height: 8px; border: solid var(--ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.v.n { color: var(--fog); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--fog) 70%, transparent); }
.v.n::after { content: ""; position: absolute; inset: 5px; background: linear-gradient(45deg, transparent 42%, currentColor 42% 58%, transparent 58%), linear-gradient(-45deg, transparent 42%, currentColor 42% 58%, transparent 58%); }
.v.p { box-shadow: inset 0 0 0 1.5px var(--amber); }
.v.p::after { content: ""; position: absolute; left: 4px; right: 4px; top: 8px; height: 2px; border-radius: 1px; background: var(--amber); }
.table-wrap { overflow-x: auto; background: var(--ink-2); border-radius: 14px; }
.compare table { width: 100%; min-width: 46rem; border-collapse: collapse; font-size: 0.95rem; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 0.9rem 1rem; border-bottom: 1px solid var(--line); }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare thead th { color: var(--fog); font-weight: 500; font-size: var(--s-small); }
.compare td { color: var(--fog); }
.compare .us { color: var(--cream); background: color-mix(in srgb, var(--teal-deep) 30%, transparent); }
.compare thead .us { color: var(--mint); font-weight: 600; }
@media (max-width: 760px) {
  .fit-grid { grid-template-columns: minmax(0, 1fr); }
  .table-wrap { background: transparent; overflow: visible; }
  .compare table { min-width: 0; }
  .compare table, .compare tbody, .compare tr, .compare th, .compare td { display: block; }
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .compare tbody tr { background: var(--ink-2); border-radius: 14px; padding: 1rem; margin-bottom: 0.75rem; display: grid; gap: 0.4rem; }
  .compare th, .compare td { padding: 0; border: 0; }
  .compare td { font-size: var(--s-small); }
  .compare td::before { content: attr(data-label) ": "; }
  .compare td.us { background: transparent; color: var(--mint); font-size: var(--s-body); font-weight: 500; }
  .compare td.us::before { content: ""; }
}

/* FAQ */
.faq .wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 2.5rem clamp(3rem, 7vw, 6.5rem); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 60px; padding-block: 0.9rem; font-weight: 600; font-size: 1.05rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 1.5rem; font-weight: 400; color: var(--mint); transition: transform 200ms var(--ease-out); flex: none; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding-bottom: 1.1rem; color: var(--fog); max-width: 60ch; }
@media (max-width: 860px) { .faq .wrap { grid-template-columns: minmax(0, 1fr); } }

/* Close */
.close { background: var(--teal-deep); }
.close .wrap { display: grid; gap: clamp(2.25rem, 4.5vw, 3.5rem); justify-items: start; }
.close-head { display: grid; gap: 1.25rem; }
.close h2 { max-width: 18ch; }
.close p { max-width: 56ch; }
.close p b { font-weight: 600; font-variant-numeric: tabular-nums; }
.close .btn { background: var(--cream); color: var(--ink); }
.btn-lg { min-height: 58px; padding: 0 1.9rem; font-size: 1.15rem; }
.close .btn.lit { animation: btn-ring 2.2s ease-out 1; }
@keyframes btn-ring { from { box-shadow: 0 0 0 0 color-mix(in srgb, var(--cream) 50%, transparent); } to { box-shadow: 0 0 0 20px transparent; } }
/* Three steps on a line: the line fills and each number lights in turn (default is fully lit; the script dims them first) */
.call-steps { --gap: clamp(1rem, 3vw, 2.5rem); width: 100%; margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.call-steps li { position: relative; display: grid; gap: 0.45rem; align-content: start; padding-top: 3.4rem; }
.call-steps li b { font: 700 1.6rem/1.05 var(--font-display); }
.call-steps li > span:not(.cs-n) { max-width: 30ch; }
.cs-n { position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--cream); background: var(--cream); color: var(--ink); font: 700 1.1rem/1 var(--font-display); transition: background-color 300ms ease, color 300ms ease, border-color 300ms ease; }
[data-run] li:not(.on) .cs-n { background: transparent; color: var(--cream); border-color: color-mix(in srgb, var(--cream) 35%, transparent); }
.call-steps li:not(:last-child)::before, .call-steps li:not(:last-child)::after { content: ""; position: absolute; left: 46px; top: 17px; width: calc(100% + var(--gap) - 56px); height: 2px; border-radius: 1px; }
.call-steps li:not(:last-child)::before { background: color-mix(in srgb, var(--cream) 22%, transparent); }
.call-steps li:not(:last-child)::after { background: var(--cream); transform: scaleX(var(--f, 1)); transform-origin: left; }
@media (max-width: 760px) {
  .call-steps { --gap: 1.75rem; grid-template-columns: minmax(0, 1fr); }
  .call-steps li { padding: 0 0 0 3.4rem; min-height: 36px; }
  .call-steps li:not(:last-child)::before, .call-steps li:not(:last-child)::after { left: 17px; top: 46px; width: 2px; height: calc(100% + var(--gap) - 56px); }
  .call-steps li:not(:last-child)::after { transform: scaleY(var(--f, 1)); transform-origin: top; }
}
#book-leak { justify-self: start; }
@media (min-width: 900px) {
  .close-head { width: 100%; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(2rem, 5vw, 5rem); align-items: end; }
}

/* Footer */
.site-footer { padding-block: clamp(3.5rem, 7vw, 5.5rem) 2.5rem; font-size: var(--s-small); color: var(--fog); }
.foot { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr)); gap: 2.5rem; }
.foot h2 { font-size: var(--s-small); font-weight: 600; color: var(--cream); margin-bottom: 0.25rem; }
.foot a { display: inline-flex; min-height: 40px; align-items: center; text-decoration: none; color: var(--fog); }
@media (hover: hover) and (pointer: fine) { .foot a:hover { color: var(--cream); } }
.legal { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); display: grid; gap: 0.6rem; }
.legal details summary { cursor: pointer; min-height: 40px; display: inline-flex; align-items: center; color: var(--cream); font-weight: 600; }
.legal p { max-width: 70ch; }
.legal a { color: inherit; }
@media (max-width: 760px) { .foot { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot > div:first-child { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation: none !important; }
}

/* Production additions */
.hp { position: absolute; left: -9999px; }


/* Pain strip: six situations, each opens the matching leak tab */
.signs { padding-block: clamp(4.5rem, 9vw, 8rem); }
.signs-grid { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 4.2vw, 3.25rem); }
.signs-grid a { display: grid; gap: 1rem; align-content: space-between; min-height: 8rem; padding: 1.25rem 1.4rem; border-radius: 14px; background: var(--ink-2); color: var(--cream); text-decoration: none; transition: background-color 0.2s; }
.signs-grid a:hover { background: var(--ink-3); }
.signs-grid span { color: var(--mint); font-size: var(--s-small); font-weight: 500; }
@media (max-width: 900px) { .signs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .signs-grid { grid-template-columns: minmax(0, 1fr); } .signs-grid a { min-height: 0; } }

.wm-octify { gap: 0.6rem; font: 600 1.55rem/1 var(--font-text); letter-spacing: -0.03em; }
.wm-octify img { width: 34px; height: 34px; border-radius: 9px; opacity: 0.85; }

/* Cards sit in a serpentine so the run turns at the end of each row (DOM order stays 1 to 6) */
.signs-grid a { position: relative; border: 1px solid color-mix(in srgb, var(--cream) 9%, transparent); transition: background-color 0.2s, border-color 0.35s, box-shadow 0.35s; }
.signs-grid a[data-s="run"] { border-color: var(--teal); box-shadow: 0 0 0 4px color-mix(in srgb, var(--teal) 16%, transparent); }
.signs-grid a[data-s="done"] { border-color: color-mix(in srgb, var(--teal) 55%, transparent); }
.signs-grid a[data-s="done"]::after { content: ""; position: absolute; top: 1rem; right: 1rem; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); }
@media (min-width: 901px) { .signs-grid a:nth-of-type(6) { order: 4; } .signs-grid a:nth-of-type(5) { order: 5; } .signs-grid a:nth-of-type(4) { order: 6; } }
@media (min-width: 561px) and (max-width: 900px) { .signs-grid a:nth-of-type(4) { order: 1; } .signs-grid a:nth-of-type(3) { order: 2; } .signs-grid a:nth-of-type(5) { order: 3; } .signs-grid a:nth-of-type(6) { order: 4; } }
.signs-wire { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 1; }
.wire { fill: none; stroke: color-mix(in srgb, var(--cream) 20%, transparent); stroke-width: 1.5; }
.wire-run { fill: none; stroke: var(--teal); stroke-width: 2; stroke-linecap: round; }
.port { fill: var(--ink); stroke: color-mix(in srgb, var(--cream) 45%, transparent); stroke-width: 1.5; }
.wire-dot { fill: var(--mint); filter: drop-shadow(0 0 6px var(--mint)); }

/* Story intro: labelled work piles up on the founder, the logo's loop sweeps in, then the hero arrives */
.intro { display: none; }
.intro-on .intro, .intro.live { position: absolute; top: 0; left: 0; right: 0; height: min(calc(100svh - 72px), 100%); z-index: auto; display: grid; place-items: start center; padding: clamp(3.5rem, 13vh, 7rem) 1.5rem 0; pointer-events: none; }
.intro-skip { z-index: 6; position: absolute; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1.25rem, 4vh, 2.5rem); pointer-events: auto; min-height: 40px; padding: 0 1rem; font-size: var(--s-small); }
.intro-on .hero [data-in], .intro-on .hero h1 { opacity: 0; }

/* Click-to-play video testimonial */
.vid { position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; padding: 0; border: 0; border-radius: 14px; overflow: hidden; background: var(--ink-3); cursor: pointer; }
.vid img, video.vid { display: block; width: 100%; height: 100%; object-fit: cover; }
.vid-play { position: absolute; inset: 0; margin: auto; width: 3.5rem; height: 3.5rem; border-radius: 50%; background: color-mix(in srgb, var(--ink) 55%, transparent); box-shadow: inset 0 0 0 1.5px var(--cream); transition: transform 0.2s, background-color 0.2s; }
.vid-play::after { content: ""; position: absolute; left: 53%; top: 50%; translate: -50% -50%; border-left: 0.95rem solid var(--cream); border-block: 0.6rem solid transparent; }
.vid:hover .vid-play { transform: scale(1.06); background: color-mix(in srgb, var(--teal-deep) 80%, transparent); }
.vid-len { position: absolute; left: 0.6rem; bottom: 0.6rem; padding: 0.2rem 0.5rem; border-radius: 6px; background: color-mix(in srgb, var(--ink) 70%, transparent); color: var(--cream); font: 500 var(--s-small)/1 var(--font-text); font-variant-numeric: tabular-nums; }

/* Testimonials: one big highlight per founder, swipe or arrows, no autoplay */
.hero .lead { text-wrap: balance; }
.hero .lead b { color: var(--cream); font-weight: 600; }
.tm { display: grid; gap: 1.1rem; }
.tm-kicker { margin: 0; color: var(--amber); font: 600 var(--s-small)/1 var(--font-text); letter-spacing: 0.08em; text-transform: uppercase; }
.tm-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 20px; }
.tm-track::-webkit-scrollbar { display: none; }
.tm-slide { flex: 0 0 100%; scroll-snap-align: start; margin: 0; padding: clamp(1.5rem, 4vw, 3rem); display: grid; align-content: center; gap: 1.25rem; background: var(--ink-3); box-shadow: inset 0 0 0 1px var(--line); }
.tm-tag { display: inline-flex; align-items: center; gap: 0.5rem; width: fit-content; padding: 0.3rem 0.75rem; border-radius: 999px; background: color-mix(in srgb, var(--amber) 14%, transparent); color: var(--cream); font: 600 0.8rem/1.2 var(--font-text); }
.tm-tag::before { content: ""; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--amber); }
.tm-big { margin: 0; color: var(--cream); font: 700 clamp(1.8rem, 3.6vw, 3rem)/1.1 var(--font-display); letter-spacing: -0.01em; max-width: 26em; }
.tm-big mark { background: none; color: var(--amber); }
.tm-more { margin: 0; color: var(--fog); font-size: 1rem; line-height: 1.55; max-width: 62ch; display: grid; gap: 0.75em; }
.tm-more p { margin: 0; }
.tm-slide figcaption { color: var(--fog); font-size: var(--s-small); }
.tm-slide figcaption b { color: var(--cream); font-weight: 600; }
.tm-slide.has-vid { grid-template-columns: minmax(0, 1fr) 10.5rem; column-gap: clamp(1.5rem, 4vw, 3rem); }
.tm-slide.has-vid > :not(.vid) { grid-column: 1; }
.tm-slide.has-vid .vid { grid-column: 2; grid-row: 1 / span 4; align-self: center; }
.tm-nav { display: flex; align-items: center; gap: 0.6rem; }
.tm-btn { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0; border: 0; border-radius: 50%; background: var(--ink-3); box-shadow: inset 0 0 0 1px var(--line); color: var(--cream); cursor: pointer; transition: background-color 0.2s, opacity 0.2s; }
.tm-btn svg { width: 1.2rem; height: 1.2rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tm-btn:hover:not(:disabled) { background: var(--ink-4); }
.tm-btn:disabled { opacity: 0.35; cursor: default; }
.tm-dots { display: flex; margin-left: 0.5rem; }
.tm-dots button { width: 1.75rem; height: 2.75rem; padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
.tm-dots button::before { content: ""; position: absolute; inset: 0; margin: auto; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--fog); opacity: 0.5; transition: width 0.25s var(--ease-out), opacity 0.25s; }
.tm-dots button[aria-current] ::before, .tm-dots button[aria-current]::before { width: 1.4rem; border-radius: 999px; background: var(--amber); opacity: 1; }
@media (max-width: 700px) { .tm-track { align-items: flex-start; overflow-y: hidden; transition: height 0.3s var(--ease-out); } .tm-slide.has-vid { grid-template-columns: minmax(0, 1fr); } .tm-slide.has-vid .vid { grid-column: 1; grid-row: auto; max-width: 9.5rem; } }


/* Browser surfaces */
html { accent-color: var(--teal); caret-color: var(--teal); scrollbar-color: color-mix(in srgb, var(--cream) 30%, transparent) transparent; }
::selection { background: var(--teal); color: var(--ink); }
.verdict b, .leakbar, #book-leak { font-variant-numeric: tabular-nums; }

/* Touch targets and narrow screens */
.mq-pause { position: absolute; right: clamp(0.5rem, 2vw, 1.5rem); top: 50%; translate: 0 -50%; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--ink-3); color: var(--cream); cursor: pointer; }
.mq-pause svg { width: 18px; height: 18px; fill: currentColor; }
.mq-pause .play, .mq-pause[aria-pressed="true"] .pause { display: none; } .mq-pause[aria-pressed="true"] .play { display: block; }
.trust { position: relative; }
.motion-off .mq-track { animation-play-state: paused; }
@media (max-width: 900px), (pointer: coarse) { .seg button { min-height: 44px; } .menu-btn, .site-header .btn { min-height: 44px; } .foot a { min-height: 44px; min-width: 44px; } input[type="range"] { min-height: 44px; } }
@media (max-width: 600px) { .btn { white-space: normal; text-align: center; padding-block: 0.6rem; } }

/* Founder: cutout in front of a graphic panel, so the head breaks out of it */
.kam-stage { --ink: #0C1215; --cream: #F3EFE6; --mint: #7FE3D6; --amber: #E8A94A; position: relative; margin: 0; width: min(100%, 30rem); aspect-ratio: 900 / 930; }
.kam-panel { position: absolute; inset: 24% 0 0 0; overflow: hidden; border-radius: 22px; background: var(--teal-deep); }
.kam-panel svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.kam-dots { color: var(--cream); opacity: 0.16; }
.kam-rings circle { fill: none; stroke: var(--mint); stroke-width: 1.5; }
.kam-rings circle:nth-child(1) { opacity: 0.5; } .kam-rings circle:nth-child(2) { opacity: 0.36; } .kam-rings circle:nth-child(3) { opacity: 0.24; } .kam-rings circle:nth-child(4) { opacity: 0.14; }
.kam-lane { fill: none; stroke: var(--cream); stroke-width: 1.5; opacity: 0.3; }
.kam-node { fill: var(--ink); stroke: var(--cream); stroke-width: 1.5; opacity: 0.7; }
.kam-packet { fill: var(--mint); }
.kam-stage img { position: absolute; inset: 0; width: 100%; height: 100%; clip-path: inset(0 round 0 0 22px 22px); }
@media (max-width: 640px) { .kam-stage { width: min(100%, 22rem); } }
.site-header .btn { white-space: nowrap; }
.legal summary { display: flex; align-items: center; min-height: 44px; }

.intro-stage { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; }
.founder { position: absolute; left: 0; top: 0; width: calc(88px * var(--u, 1)); height: calc(88px * var(--u, 1)); display: grid; place-items: center; border: 3px solid var(--amber); border-radius: 50%; background: var(--ink-2); color: var(--cream); }
.founder svg { width: 54%; height: 54%; }
.founder b { position: absolute; top: calc(100% + 0.55rem); left: 50%; translate: -50% 0; padding: 0.3rem 0.9rem; border-radius: 999px; background: var(--amber); color: var(--ink); font: 600 1rem/1 var(--font-text); }
.chip { position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.45rem 0.85rem 0.45rem 0.6rem; border: 1px solid color-mix(in srgb, var(--cream) 14%, transparent); border-radius: 999px; background: var(--ink-3); color: var(--cream); font: 500 clamp(0.8rem, 1.6vw, 1rem)/1 var(--font-text); white-space: nowrap; transition: border-color 0.3s; }
.chip > svg:first-child { width: 1.25em; height: 1.25em; flex: none; }
.chip .ok { display: none; width: 1.1em; height: 1.1em; flex: none; }
.chip .ok circle { fill: var(--mint); } .chip .ok path { fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.chip.done { border-color: var(--mint); } .chip.done .ok { display: block; }
.flyer { position: fixed; left: 0; top: 0; z-index: 60; pointer-events: none; }
.flyer svg { display: block; width: 100%; height: 100%; overflow: visible; }
.flyer .brand-loop, .flyer .brand-arrow { stroke-width: 2.4; }
.logo-away .site-header .brand-loop, .logo-away .site-header .brand-arrow { opacity: 0; }

/* Proof numbers: each one is a small picture, not just a figure */
.proof-figs { gap: clamp(1rem, 2vw, 1.5rem); }
.fig { display: flex; flex-direction: column; gap: 0.6rem; padding: clamp(1.25rem, 2.5vw, 1.75rem); border-radius: 14px; background: var(--ink); }
.fig dt { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.fig dd { margin-top: 0.1rem; }
.mrr-nums, .churn-nums { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; }
.mrr-arrow { width: 44px; height: 16px; flex: none; fill: none; stroke: var(--amber); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.mrr-to { color: var(--mint); }
.churn-chart { display: block; width: 100%; height: auto; margin-top: 0.7rem; overflow: visible; }
.cc-grid { stroke: color-mix(in srgb, var(--cream) 16%, transparent); stroke-dasharray: 3 4; }
.cc-line { fill: none; stroke: var(--mint); stroke-width: 2.5; stroke-linecap: round; }
.cc-area { fill: color-mix(in srgb, var(--mint) 14%, transparent); }
.cc-dot { fill: var(--ink); stroke: var(--mint); stroke-width: 2.5; }
.churn-chart text { fill: var(--fog); font: 500 10px var(--font-text); }
@media (max-width: 900px) { .proof-figs { grid-template-columns: minmax(0, 1fr); } }

/* Testimonials: text on the left, video on the right */

/* Five places the agency leaks: one hub, five labelled nodes */
.leak-map { position: relative; margin-bottom: clamp(2rem, 4vw, 3rem); }
.leak-hub { display: flex; align-items: center; gap: 0.6rem; width: max-content; margin: 0 auto clamp(2.5rem, 5vw, 3.75rem); padding: 0.55rem 1.1rem 0.55rem 0.85rem; border: 2px solid var(--amber); border-radius: 999px; background: var(--ink); color: var(--cream); font: 600 1rem/1 var(--font-text); }
.leak-hub svg { width: 22px; height: 26px; overflow: visible; }
.leak-wire { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.leak-edge { fill: none; stroke: color-mix(in srgb, var(--cream) 22%, transparent); stroke-width: 1.5; }
.leak-edge-run { fill: none; stroke: var(--teal); stroke-width: 2.4; stroke-linecap: round; }
.leak-dot { fill: var(--mint); }
.leak-nodes { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(0.75rem, 1.6vw, 1.25rem); }
.leak-node { display: grid; justify-items: start; gap: 0.45rem; padding: 1.1rem 1.15rem; border: 1px solid color-mix(in srgb, var(--cream) 12%, transparent); border-radius: 14px; background: var(--ink-3); color: var(--cream); text-align: left; cursor: pointer; transition: border-color 0.25s, background-color 0.25s; }
.leak-node b { font: 700 1.15rem/1.1 var(--font-display); }
.leak-node small { color: var(--fog); font-size: var(--s-small); line-height: 1.35; }
.ln-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: color-mix(in srgb, var(--teal) 20%, transparent); color: var(--mint); }
.ln-ic svg { width: 22px; height: 22px; }
.leak-node[aria-selected="true"] { border-color: var(--teal); background: var(--ink); }
@media (hover: hover) and (pointer: fine) { .leak-node:hover { border-color: color-mix(in srgb, var(--teal) 70%, transparent); } }
@media (max-width: 900px) { .leak-hub, .leak-wire { display: none; } .leak-nodes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .leak-nodes { grid-template-columns: minmax(0, 1fr); } .leak-node { grid-template-columns: 40px minmax(0, 1fr); column-gap: 0.9rem; row-gap: 0.1rem; align-items: center; } .ln-ic { grid-row: 1 / span 2; } }

/* 90 days: the bar fills as you scroll and each stage lights up in turn; the call to action closes it */
.stagebar { position: relative; }
.stagebar span { position: relative; overflow: hidden; background: var(--ink-4); }
.stagebar span::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--c); transform: scaleX(var(--f, 1)); transform-origin: left center; }
.stagebar .bar-dot { display: none; position: absolute; top: 50%; left: 0; width: 16px; height: 16px; margin: -8px 0 0 -8px; border: 3px solid var(--teal); border-radius: 50%; background: var(--cream); }
.stagebar.run .bar-dot { display: block; }
.stage { border: 1px solid transparent; transition: border-color 0.35s; }
.stage[data-s="run"] { border-color: var(--teal); } .stage[data-s="done"] { border-color: color-mix(in srgb, var(--teal) 45%, transparent); }
.how-cta { justify-content: space-between; margin-top: clamp(1.5rem, 3vw, 2.25rem); padding: clamp(1.25rem, 2.5vw, 1.75rem) clamp(1.25rem, 3vw, 2.25rem); border: 1px solid color-mix(in srgb, var(--cream) 12%, transparent); border-radius: 14px; background: var(--ink-2); transition: border-color 0.4s; }
.how-cta[data-s="on"] { border-color: var(--teal); }
.how-cta p { order: 1; } .how-cta .btn { order: 2; }

/* Founder: task chips beside him instead of a ring over his head */
.kam-chip { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.4rem 0.75rem; border: 1px solid color-mix(in srgb, var(--cream) 18%, transparent); border-radius: 999px; background: var(--ink); color: var(--cream); font: 500 0.85rem/1 var(--font-text); white-space: nowrap; }
.kam-chip svg { width: 1.05em; height: 1.05em; } .kam-chip svg circle { fill: var(--mint); } .kam-chip svg path { fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.kam-chip-a { left: -2%; top: 9%; } .kam-chip-b { right: -3%; top: 27%; } .kam-chip-c { left: 0; top: 54%; }
@media (max-width: 640px) { .kam-chip { font-size: 0.75rem; padding: 0.35rem 0.6rem; } }

/* FAQ: heading and note in the narrow column, the list in the wide one */
.faq-head { display: grid; gap: 1.25rem; align-content: start; }
.flytrail { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 59; pointer-events: none; }
.flytrail line { stroke: var(--teal); stroke-linecap: round; }
.flyhead { fill: none; stroke: var(--teal); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }

/* The O settles back into the logo when the line returns */
@keyframes logo-pop { 0% { transform: scale(0.6); opacity: 0.3; } 60% { transform: scale(1.18); } 100% { transform: scale(1); opacity: 1; } }
.logo-pop .site-header .brand-loop, .logo-pop .site-header .brand-arrow { transform-box: fill-box; transform-origin: center; animation: logo-pop 0.5s var(--ease-out); }

/* Proof cards: one big number each, the picture centred in what is left, the description pinned to the bottom so all three line up */
.proof-figs { align-items: stretch; }
.fig { align-items: center; gap: 1rem; min-height: 18.5rem; padding: clamp(1.25rem, 2.2vw, 1.75rem); text-align: center; }
.fig dt { display: flex; flex: 1; flex-direction: column; align-items: center; gap: 1rem; width: 100%; font-size: clamp(1.75rem, 2.6vw, 2.3rem); }
.fig dt > :last-child { margin-block: auto; }
.fig dd { max-width: 32ch; margin: 0; min-height: 5.8em; font-size: 0.9rem; line-height: 1.45; }
.mrr-nums, .churn-nums, .d30-nums { display: flex; align-items: center; justify-content: center; min-height: 2.4rem; }
.d30-nums { gap: 0.3em; }
.d30-nums b { font-weight: 700; }
.mrr-chart { display: flex; align-items: flex-end; justify-content: center; gap: 1.25rem; width: min(100%, 11rem); margin-top: 1.3rem; }
.mc-col { display: flex; flex: 1; flex-direction: column; align-items: center; gap: 0.5rem; }
.mc-col em { color: var(--fog); font: 500 0.72rem/1 var(--font-text); font-style: normal; }
.mc-bar { position: relative; display: flex; align-items: flex-end; width: 100%; height: 4.25rem; }
.mc-bar i { display: block; width: 100%; border-radius: 8px 8px 3px 3px; background: var(--ink-4); transform-origin: bottom center; }
.mc-a i { height: 25%; } .mc-b i { height: 100%; background: var(--mint); }
.mc-bar b { position: absolute; left: 50%; top: -1.4rem; translate: -50% 0; color: var(--mint); font: 700 0.95rem/1 var(--font-display); }
.d30-steps { position: relative; display: grid; gap: 0.7rem; width: min(100%, 12.5rem); padding-left: 1.6rem; text-align: left; }
.d30-line { position: absolute; left: 0.4rem; top: 0.6rem; bottom: 0.6rem; width: 3px; border-radius: 2px; background: var(--ink-4); }
.d30-fill { position: absolute; inset: 0; border-radius: 2px; background: var(--amber); transform-origin: top center; }
.d30-step { position: relative; color: var(--fog); font: 500 0.85rem/1.2 var(--font-text); transition: color 0.3s; }
.d30-step::before { content: ""; position: absolute; left: -1.6rem; top: 0.1rem; width: 0.8rem; height: 0.8rem; border: 2px solid var(--ink-4); border-radius: 50%; background: var(--ink); transition: border-color 0.3s, background-color 0.3s; }
.d30-step.on { color: var(--cream); } .d30-step.on::before { border-color: var(--mint); background: var(--mint); }
.churn-chart { width: min(100%, 12rem); margin-top: 0; }
@media (max-width: 900px) { .fig { min-height: 0; } .fig dd { min-height: 0; } }

/* Background: a very faint grid on the grey (tinted) sections only, drifting a little slower than the page as you scroll. The dark green band and the plain sections stay clean. */
.proof, .leaks, .kam { position: relative; isolation: isolate; }
.proof > .wrap, .leaks > .wrap, .kam > .wrap { position: relative; z-index: 1; }
.bg-fx { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.bg-grid { -webkit-mask-image: radial-gradient(ellipse 85% 80% at 50% 50%, #000 40%, transparent 100%); mask-image: radial-gradient(ellipse 85% 80% at 50% 50%, #000 40%, transparent 100%); }
.bg-grid i { position: absolute; inset: -100px 0; background-image: linear-gradient(color-mix(in srgb, var(--cream) 3.5%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--cream) 3.5%, transparent) 1px, transparent 1px); background-size: 56px 56px; }

/* Gold for the things that should stand out: the card labels, the big proof numbers and the names on testimonials */
.signs-grid span { color: var(--amber); }
.fig dt, .mrr-to, .mc-bar b { color: var(--amber); }
.mrr-arrow { stroke: color-mix(in srgb, var(--cream) 55%, transparent); }
.hero-quote figcaption b { color: var(--amber); }

/* Light theme: keep the calendar blocks a clean pale gold and mint instead of a tan mix */
