/* ============================================================
   Practice Operators — design system v2 "Well-Run Practice"
   Light-first warm premium · one dark governance band
   Display: Bricolage Grotesque · Body: Instrument Sans · Mono: IBM Plex Mono
   ============================================================ */

:root {
  /* surfaces */
  --paper: #F7F4EC;
  --paper-2: #F0ECDF;
  --card: #FFFFFF;
  --ink: #17201B;
  --ink-2: #3A4741;
  --muted: #5E6B65;
  --line: #E4DECE;
  --line-strong: #D3CBB4;

  /* brand green */
  --green-950: #0A2E1F;
  --green-900: #0C3B27;
  --green-800: #0D4B30;
  --green-700: #10603D;
  --green-600: #147A4C;
  --green-500: #1E9C62;
  --mint: #E2F2E8;
  --mint-ink: #0D5434;

  /* status */
  --amber-ink: #8A5D14;
  --amber-bg: #F7E9CC;
  --leak-ink: #9C4A33;
  --leak-bg: #F6E1D9;

  /* dark band */
  --dark: #0D1512;
  --dark-2: #121D18;
  --dark-card: #16231D;
  --dark-text: #E9F0EB;
  --dark-muted: #99A9A0;
  --dark-line: rgba(233, 240, 235, 0.11);
  --run: #3FD98A;
  --run-soft: rgba(63, 217, 138, 0.14);

  /* type */
  --font-display: "Bricolage Grotesque", "Avenir Next", ui-sans-serif, sans-serif;
  --font-body: "Instrument Sans", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* shape & motion */
  --radius-lg: 26px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-soft: 0 24px 50px -24px rgba(23, 32, 27, 0.18), 0 4px 14px -8px rgba(23, 32, 27, 0.08);
  --shadow-lift: 0 34px 70px -28px rgba(23, 32, 27, 0.26), 0 6px 18px -10px rgba(23, 32, 27, 0.1);
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --container: 1180px;
  --section-y: clamp(5.5rem, 10vw, 9.5rem);
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.06; letter-spacing: -0.02em; margin: 0; font-weight: 640; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--green-700); color: #fff; }
:focus-visible { outline: 2.5px solid var(--green-600); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 200;
  background: var(--ink); color: #fff; padding: 0.6rem 1rem; border-radius: 10px;
  transition: top 0.2s var(--ease); text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* grain */
.grain {
  position: fixed; inset: 0; z-index: 120; pointer-events: none; opacity: 0.05;
  mix-blend-mode: multiply;
}

/* scroll progress */
.progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%;
  z-index: 130; pointer-events: none;
}
.progress > i {
  display: block; height: 100%; width: 100%;
  background: linear-gradient(90deg, var(--green-600), var(--green-500));
  transform-origin: 0 50%; transform: scaleX(0);
}

/* ---------- layout ---------- */
.wrap { max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }
section { position: relative; }
.section { padding-block: var(--section-y); }
section[id], .final-cta[id] { scroll-margin-top: 6rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--green-700);
  border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 0.45rem 0.95rem; background: rgba(255, 255, 255, 0.6);
}
.eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--green-500); box-shadow: 0 0 0 3px var(--mint);
}
.dark-band .eyebrow { color: var(--run); border-color: var(--dark-line); background: rgba(233, 240, 235, 0.04); }
.dark-band .eyebrow::before { background: var(--run); box-shadow: 0 0 0 3px var(--run-soft); }

.h2 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); margin-top: 1.4rem; max-width: 21ch; }
.lede { color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.2rem); max-width: 58ch; margin-top: 1.35rem; }
.center { text-align: center; }
.center .h2, .center .lede { margin-inline: auto; }

em.swash { font-style: italic; font-weight: 560; color: var(--green-700); }
.dark-band em.swash { color: var(--run); }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%);
  z-index: 110; width: min(var(--container), calc(100% - 2rem));
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.55rem 0.65rem 0.55rem 1.15rem;
  border-radius: 999px; border: 1px solid transparent;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.nav.is-scrolled {
  background: rgba(251, 249, 243, 0.78);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  border-color: var(--line);
  box-shadow: 0 12px 34px -18px rgba(23, 32, 27, 0.25);
}
/* over a cinematic (dark image) hero, the nav is white until you scroll */
.has-cine-hero .nav:not(.is-scrolled) .brand,
.has-cine-hero .nav:not(.is-scrolled) .nav-links a { color: #fff; }
.has-cine-hero .nav:not(.is-scrolled) .nav-links a:hover { color: #fff; opacity: 0.78; }
.has-cine-hero .nav:not(.is-scrolled) .brand .dot { box-shadow: 0 0 0 4px rgba(255,255,255,0.16); }
.has-cine-hero .nav:not(.is-scrolled) .menu-btn { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.38); }
.has-cine-hero .nav:not(.is-scrolled) .menu-btn span,
.has-cine-hero .nav:not(.is-scrolled) .menu-btn span::before,
.has-cine-hero .nav:not(.is-scrolled) .menu-btn span::after { background: #fff; }
.brand {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-display); font-weight: 660; font-size: 1.06rem;
  letter-spacing: -0.01em; text-decoration: none;
}
.brand .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--green-500); box-shadow: 0 0 0 4px var(--mint);
}
.nav-links { display: flex; align-items: center; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  text-decoration: none; font-size: 0.94rem; font-weight: 540; color: var(--ink-2);
  transition: color 0.2s var(--ease), transform 0.2s var(--ease); display: inline-block;
}
.nav-links a:hover { color: var(--ink); transform: translateY(-1px); }
.nav-cta { display: flex; align-items: center; gap: 0.6rem; }

.menu-btn {
  display: none; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: var(--card);
  align-items: center; justify-content: center;
}
.menu-btn span { position: relative; width: 17px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.32s var(--ease), background 0.2s; }
.menu-btn span::before, .menu-btn span::after {
  content: ""; position: absolute; left: 0; width: 17px; height: 2px;
  background: var(--ink); border-radius: 2px; transition: transform 0.32s var(--ease);
}
.menu-btn span::before { top: -5.5px; } .menu-btn span::after { top: 5.5px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { transform: translateY(5.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { transform: translateY(-5.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; z-index: 105; inset: 0; padding: 6.2rem 1.6rem 2rem;
  background: rgba(247, 244, 236, 0.94);
  -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px);
  display: none; flex-direction: column; gap: 0.35rem;
  opacity: 0; transition: opacity 0.3s var(--ease);
}
.mobile-menu.is-open { display: flex; }
.mobile-menu.is-visible { opacity: 1; }
.mobile-menu a {
  font-family: var(--font-display); font-size: 2rem; font-weight: 620;
  text-decoration: none; padding: 0.65rem 0.25rem; border-bottom: 1px solid var(--line);
  transform: translateY(14px); opacity: 0; transition: transform 0.5s var(--ease), opacity 0.5s var(--ease);
}
.mobile-menu.is-visible a { transform: none; opacity: 1; }
.mobile-menu a.btn {
  margin-top: 1.4rem; justify-content: center;
  font-family: var(--font-body); font-size: 1.1rem; font-weight: 600;
  border-bottom: 0; padding: 0.6rem 0.65rem 0.6rem 1.45rem;
}

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 0.85rem;
  border-radius: 999px; text-decoration: none; border: 0;
  padding: 0.5rem 0.55rem 0.5rem 1.45rem;
  font-weight: 600; font-size: 1rem; letter-spacing: -0.005em;
  background: var(--green-700); color: #fff;
  transition: transform 0.28s var(--ease-spring), background 0.25s var(--ease), box-shadow 0.3s var(--ease);
  box-shadow: 0 14px 30px -14px rgba(16, 96, 61, 0.55);
  overflow: hidden;
}
.btn:hover { background: var(--green-600); transform: translateY(-2px) scale(1.015); box-shadow: 0 20px 40px -16px rgba(16, 96, 61, 0.6); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn .orb {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  background: rgba(255, 255, 255, 0.16); display: inline-flex; align-items: center; justify-content: center;
  transition: background 0.25s var(--ease);
}
.btn .orb svg { width: 15px; height: 15px; transition: transform 0.32s var(--ease); }
.btn:hover .orb { background: rgba(255, 255, 255, 0.24); }
.btn:hover .orb svg { transform: translate(2px, -2px); }
.btn--sm { padding: 0.34rem 0.4rem 0.34rem 1.1rem; font-size: 0.92rem; }
.btn--sm .orb { width: 32px; height: 32px; }
.btn--light { background: var(--paper); color: var(--green-900); box-shadow: 0 16px 36px -16px rgba(0, 0, 0, 0.45); }
.btn--light:hover { background: #fff; }
.btn--light .orb { background: var(--green-700); color: #fff; }
.btn--light:hover .orb { background: var(--green-600); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 580; text-decoration: none; color: var(--ink-2);
  padding: 0.85rem 0.4rem; border-radius: 8px;
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn-ghost:hover { color: var(--ink); transform: translateY(-1px); }
.btn-ghost svg { width: 14px; height: 14px; transition: transform 0.3s var(--ease); }
.btn-ghost:hover svg { transform: translateY(2px); }

/* ---------- hero ---------- */
/* ============================================================
   CINEMATIC HERO — full-bleed aspirational image/video, text on top
   (Superpower / Oura pattern). Content anchored bottom-left.
   ============================================================ */
.hero--cine {
  position: relative; isolation: isolate; overflow: clip; color: #fff;
  min-height: 100svh; min-height: 100dvh;
  display: flex; align-items: flex-end;
}
.hero-media { position: absolute; inset: 0; z-index: -2; background: var(--green-950); }
.hero-media img, .hero-media video {
  width: 100%; height: 100%; object-fit: cover; object-position: 70% 38%;
  will-change: transform;
}
.hero-scrim {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8,19,13,0.46) 0%, rgba(8,19,13,0) 20%, rgba(8,19,13,0) 38%, rgba(8,19,13,0.60) 74%, rgba(8,19,13,0.94) 100%),
    linear-gradient(90deg, rgba(8,19,13,0.82) 0%, rgba(8,19,13,0.34) 44%, rgba(8,19,13,0) 70%);
}

/* ============================================================
   HERO before/after slider — the SAME clinic wiped between two
   states. Busy (base) is also the no-JS / reduced-motion fallback.
   ============================================================ */
.hero-slider { --hs: 50%; --hs-knob-y: 32%; }
.hs-img { position: absolute; inset: 0; overflow: hidden; }
.hs-busy { z-index: 1; }
.hs-quiet { z-index: 2; clip-path: inset(0 calc(100% - var(--hs)) 0 0); will-change: clip-path; }
.hs-img picture { display: contents; }
/* .hero-slider prefix wins over the base `.hero-media img` object-position (70% 38%) */
.hero-slider .hs-still, .hero-slider .hs-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 44%; }
/* video fades in over its still poster once it's actually playing (no black flash) */
.hs-video { opacity: 0; transition: opacity 0.8s var(--ease); background: transparent; }
.hs-video.is-playing { opacity: 1; }
.hero-slider .hero-scrim { z-index: 3; }

/* state labels — sit in the clear upper band, above the scrim */
.hs-label {
  position: absolute; top: clamp(5rem, 13vh, 7.5rem); z-index: 4;
  font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: #F4FBF6; padding: 0.4rem 0.72rem; border-radius: 999px;
  background: rgba(10, 20, 14, 0.34); border: 1px solid rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px);
  opacity: 0.92; white-space: nowrap;
}
.hs-label--quiet { left: clamp(1rem, 4vw, 2.4rem); }
.hs-label--busy { right: clamp(1rem, 4vw, 2.4rem); color: #FCF5E6; background: rgba(58, 34, 8, 0.3); border-color: rgba(255, 236, 196, 0.28); }

/* the wipe seam + draggable knob */
.hs-seam {
  position: absolute; top: 0; bottom: 0; left: var(--hs); z-index: 5;
  width: 2px; margin-left: -1px; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 16%, rgba(255,255,255,0.9) 84%, rgba(255,255,255,0) 100%);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
  transition: opacity 0.6s var(--ease);
}
/* after the mobile auto-reveal settles on busy, fade the seam for a clean money shot */
.hero-slider.is-revealed .hs-seam { opacity: 0; }
.hs-knob {
  position: absolute; top: var(--hs-knob-y, 50%); left: 50%; transform: translate(-50%, -50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.16); border: 1.5px solid rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(9px); backdrop-filter: blur(9px);
  display: grid; place-items: center; color: #fff;
  box-shadow: 0 12px 32px -10px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.hs-knob svg { width: 26px; height: 26px; }
.hero-slider.is-touched .hs-knob { animation: hsKnobRest 0.6s var(--ease); }
@keyframes hsKnobRest { from { transform: translate(-50%, -50%) scale(1.12); } to { transform: translate(-50%, -50%) scale(1); } }

/* interaction cue — fades out once they've moved/dragged */
.hs-cue {
  position: absolute; left: 50%; top: clamp(19%, 22vh, 25%); transform: translateX(-50%); z-index: 5;
  font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.13em; text-transform: uppercase;
  color: #fff; white-space: nowrap; padding: 0.5rem 0.95rem; border-radius: 999px;
  background: rgba(10, 20, 14, 0.44); border: 1px solid rgba(255, 255, 255, 0.24);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  opacity: 0; animation: hsCueIn 0.8s var(--ease) 1.2s forwards;
  transition: opacity 0.45s var(--ease);
}
@keyframes hsCueIn { to { opacity: 0.92; } }
.hero-slider.is-touched .hs-cue { animation: none; opacity: 0; }

/* touch-only drag surface — upper image band, never over the CTAs */
.hs-touch { position: absolute; left: 0; right: 0; top: 0; height: 46%; z-index: 6; pointer-events: none; touch-action: pan-y; }

/* The quiet layer + seam + cue + labels stay hidden until JS marks the slider
   interactive. That single gate is also the no-JS and reduced-motion fallback:
   a clean, static busy hero (the money shot). */
.hs-quiet, .hs-seam, .hs-cue, .hs-label { display: none; }
.hero-slider.is-interactive .hs-quiet,
.hero-slider.is-interactive .hs-seam,
.hero-slider.is-interactive .hs-cue,
.hero-slider.is-interactive .hs-label { display: block; }
.hero-inner {
  width: 100%;
  padding-block: clamp(7rem, 13vh, 9.5rem) clamp(3rem, 6vw, 5.5rem);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2.4rem; align-items: end;
}
.hero-copy { max-width: 40rem; }
.hero--cine .eyebrow {
  color: #EAF6EE; border-color: rgba(255,255,255,0.28); background: rgba(255,255,255,0.08);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.hero--cine .eyebrow::before { background: var(--accent); box-shadow: 0 0 0 3px rgba(63,217,138,0.25); }

.hero-title {
  font-size: clamp(2.6rem, 6vw, 5.15rem); line-height: 1.0; letter-spacing: -0.03em;
  font-weight: 660; color: #fff; margin-top: 1.5rem; text-shadow: 0 2px 30px rgba(0,0,0,0.25);
}
.ht-fixed { display: block; }
/* the rotating phrase gets its OWN reserved line so length changes never reflow the rest */
.ht-rot { display: block; min-height: 1.06em; overflow: hidden; }
.hero-title .rot { display: inline-block; position: relative; }
.hero-title .rot-word {
  display: inline-block; color: #6BE8A6; font-style: italic; font-weight: 560;
  text-shadow: 0 2px 24px rgba(20,120,70,0.45); will-change: transform, filter, opacity;
}
.hero-title .rot-word.out { animation: rotOut 0.42s var(--ease) forwards; }
.hero-title .rot-word.in { animation: rotIn 0.52s var(--ease) forwards; }
@keyframes rotOut { to { opacity: 0; filter: blur(9px); transform: translateY(-0.42em); } }
@keyframes rotIn { from { opacity: 0; filter: blur(11px); transform: translateY(0.5em); } to { opacity: 1; filter: blur(0); transform: none; } }
.reduced .hero-title .rot-word.out, .reduced .hero-title .rot-word.in { animation: none; }

.hero-sub { margin-top: 1.6rem; color: rgba(255,255,255,0.84); font-size: clamp(1.05rem, 1.5vw, 1.2rem); max-width: 44ch; }
.hero-ctas { display: flex; align-items: center; gap: 1.2rem; margin-top: 2.1rem; flex-wrap: wrap; }
.btn-ghost--on-dark { color: #fff; }
.btn-ghost--on-dark:hover { color: #fff; opacity: 0.85; }
.hero-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 2rem 0 0; padding: 0; }
.hero-trust li {
  display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.83rem; font-weight: 500;
  color: #EAF6EE; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16);
  border-radius: 999px; padding: 0.45rem 0.9rem;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.hero-trust li svg { width: 15px; height: 15px; color: var(--accent); flex: none; }

/* floating Telegram-style proof card in the hero */
.hero-chat { align-self: end; margin-bottom: 0.3rem; }
.hero-chat .chat { width: 348px; transform: rotate(1.4deg); animation: floatCard 7s var(--ease) infinite; }
@keyframes floatCard { 0%, 100% { transform: rotate(1.4deg) translateY(0); } 50% { transform: rotate(1.4deg) translateY(-9px); } }
.reduced .hero-chat .chat { animation: none; }

.hero-scroll {
  position: absolute; left: 50%; bottom: 1.3rem; transform: translateX(-50%);
  z-index: 2; text-decoration: none; color: rgba(255,255,255,0.72);
  font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.22em; text-transform: uppercase;
  display: inline-flex; flex-direction: column; align-items: center; gap: 0.6rem;
}
.hero-scroll::after { content: ""; width: 1px; height: 36px; background: linear-gradient(rgba(255,255,255,0.7), transparent); animation: scrollCue 2.1s var(--ease) infinite; }
@keyframes scrollCue { 0% { transform: scaleY(0.3); transform-origin: top; opacity: 0.4; } 50% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(0.3); transform-origin: bottom; opacity: 0.4; } }
.reduced .hero-scroll::after { animation: none; }

/* hero entrance — CSS-driven so content is never left hidden if JS/GSAP lags */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > *, .hero-chat { opacity: 0; animation: heroIn 0.9s var(--ease) both; }
  .hero-copy .eyebrow { animation-delay: 0.15s; }
  .hero-title { animation-delay: 0.26s; }
  .hero-sub { animation-delay: 0.5s; }
  .hero-ctas { animation-delay: 0.62s; }
  .hero-trust { animation-delay: 0.72s; }
  .hero-chat { animation: heroIn 1s var(--ease) 0.5s both; }
  .hero-scroll { opacity: 0; animation: heroFade 1s var(--ease) 1.1s both; }
}
@keyframes heroIn { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes heroFade { from { opacity: 0; } to { opacity: 1; } }

/* visual artifact */
.artifact { position: relative; perspective: 1100px; }
.artifact--photo {
  padding: 0.48rem;
  border: 1px solid rgba(211, 203, 180, 0.88);
  border-radius: clamp(1.6rem, 3vw, 2.3rem);
  background: rgba(255, 255, 255, 0.48);
  box-shadow: var(--shadow-lift);
  transform-style: preserve-3d;
}
.hero-photo-card {
  position: relative;
  margin: 0;
  width: 100%;
  height: clamp(430px, 46vw, 610px);
  overflow: hidden;
  border-radius: calc(clamp(1.6rem, 3vw, 2.3rem) - 0.48rem);
  background: var(--paper-2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.hero-photo-card--audit { height: clamp(390px, 43vw, 570px); }
.hero-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 50%;
}
.hero-photo-card--audit img { object-position: 44% 50%; }
.hero-photo-card--audit .photo-chip--bottom { display: none; }
.hero-photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(13, 21, 18, 0.04), rgba(13, 21, 18, 0.68)),
    linear-gradient(90deg, rgba(13, 21, 18, 0.16), transparent 48%);
}
.photo-chip {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  max-width: calc(100% - 1.8rem);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  background: rgba(253, 252, 247, 0.92);
  color: var(--green-900);
  box-shadow: 0 16px 34px -22px rgba(13, 21, 18, 0.55);
  padding: 0.55rem 0.82rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  line-height: 1.2;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
}
.photo-chip--top { top: 0.95rem; right: 0.95rem; }
.photo-chip--bottom { right: 0.95rem; bottom: 5.9rem; }
.photo-caption {
  position: absolute;
  z-index: 2;
  left: 1.1rem;
  right: 1.1rem;
  bottom: 1.1rem;
  color: #F9FBF7;
}
.photo-caption strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.photo-caption span {
  display: block;
  max-width: 34ch;
  margin-top: 0.45rem;
  color: rgba(249, 251, 247, 0.84);
  font-size: 0.9rem;
  line-height: 1.4;
}

/* receipt artifact */
.receipt-stack { position: relative; transform-style: preserve-3d; }
.receipt {
  position: relative; background: #FDFCF7; border: 1px solid var(--line);
  border-radius: 14px 14px 4px 4px;
  box-shadow: var(--shadow-lift);
  padding: 1.35rem 1.4rem 1.7rem;
  font-family: var(--font-mono);
  transform: rotate(1.6deg);
  will-change: transform;
}
.receipt::after { /* perforated bottom */
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 12px;
  background:
    linear-gradient(-45deg, transparent 70%, #FDFCF7 71%) 0 0 / 14px 12px repeat-x,
    linear-gradient(45deg, transparent 70%, #FDFCF7 71%) 0 0 / 14px 12px repeat-x;
  transform: translateY(100%);
  filter: drop-shadow(0 6px 5px rgba(23, 32, 27, 0.07));
}
.receipt.ghost {
  position: absolute; inset: 0; z-index: -1;
  box-shadow: 0 18px 40px -22px rgba(23, 32, 27, 0.25);
}
.receipt.ghost.g1 { transform: rotate(-3deg) translate(-14px, 12px); background: #F6F3E9; }
.receipt.ghost.g2 { transform: rotate(5deg) translate(18px, 26px); background: #F2EEE2; }
.receipt-head {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 0.8rem; border-bottom: 1.5px dashed var(--line-strong);
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.receipt-head strong { color: var(--ink); font-weight: 600; }
.receipt-lines { list-style: none; margin: 0; padding: 0.4rem 0 0; }
.receipt-lines li {
  display: grid; grid-template-columns: auto 1fr auto; gap: 0.7rem; align-items: baseline;
  padding: 0.52rem 0; font-size: 0.8rem; border-bottom: 1px solid rgba(23, 32, 27, 0.05);
}
.receipt-lines .t { color: var(--muted); font-size: 0.72rem; }
.receipt-lines .d { color: var(--ink-2); line-height: 1.45; }
.chip {
  font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.22rem 0.55rem; border-radius: 999px; font-weight: 600; white-space: nowrap;
}
.chip--ok { background: var(--mint); color: var(--mint-ink); }
.chip--warn { background: var(--amber-bg); color: var(--amber-ink); }
.chip--esc { background: var(--leak-bg); color: var(--leak-ink); }
.chip--muted { background: #EEEBE0; color: var(--muted); }
.receipt-total {
  margin-top: 0.9rem; padding-top: 0.85rem; border-top: 1.5px dashed var(--line-strong);
  display: flex; gap: 1.1rem; justify-content: space-between; flex-wrap: wrap;
}
.receipt-total b { display: block; font-size: 1.25rem; color: var(--green-700); font-weight: 600; }
.receipt-total span { font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.receipt-caption {
  margin-top: 3.1rem; text-align: center; font-family: var(--font-mono);
  font-size: 0.72rem; color: var(--muted);
}

/* ---------- marquee ---------- */
.marquee {
  border-block: 1px solid var(--line);
  background: var(--paper-2);
  overflow: hidden; padding: 0.85rem 0;
  display: flex; user-select: none;
}
.marquee .track {
  display: flex; flex: none; align-items: center; gap: 2.6rem; padding-right: 2.6rem;
  font-family: var(--font-mono); font-size: 0.76rem; color: var(--ink-2); white-space: nowrap;
  animation: marquee 46s linear infinite;
}
.marquee .track svg { width: 12px; height: 12px; color: var(--green-600); flex: none; }
.marquee .track > span { display: inline-flex; align-items: center; gap: 0.55rem; }
@keyframes marquee { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .marquee .track { animation: none; } }

/* ---------- leaks ---------- */
.outcomes {
  background: var(--paper-2);
  border-block: 1px solid var(--line);
}
/* what-it-should-feel-like: three plain outcome cards. No photography, on purpose —
   the imagery budget is spent on the hero; mid-page proof comes from product surfaces */
.feel-grid {
  margin-top: clamp(2.4rem, 5vw, 3.6rem);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem;
}
.feel-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.7rem 1.6rem 1.8rem; box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column; gap: 0.85rem;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.feel-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.feel-icon {
  width: 44px; height: 44px; border-radius: 13px; flex: none;
  background: var(--mint); color: var(--green-700);
  display: grid; place-items: center;
}
.feel-icon svg { width: 21px; height: 21px; }
.feel-who {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted);
}
.feel-card h3 { font-size: 1.32rem; font-weight: 630; max-width: 20ch; }

.leak-diagram { margin-top: clamp(2.5rem, 5vw, 4rem); }
.leak-diagram svg { width: 100%; height: auto; }
.pipe-flow { stroke-dasharray: 7 11; animation: flow 1.4s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -18; } }
.drip { animation: drip 2.6s var(--ease) infinite; transform-origin: center; opacity: 0; }
.drip.d2 { animation-delay: 0.9s; } .drip.d3 { animation-delay: 1.7s; }
@keyframes drip {
  0% { transform: translateY(0); opacity: 0; }
  12% { opacity: 0.9; }
  70% { transform: translateY(26px); opacity: 0.7; }
  100% { transform: translateY(34px); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .pipe-flow, .drip { animation: none; } .drip { opacity: 0.55; } }

.leak-grid {
  margin-top: clamp(2.2rem, 4vw, 3rem);
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.1rem;
}
.leak-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.7rem 1.6rem 1.6rem; box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column; gap: 0.65rem;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.leak-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.leak-card:nth-child(1) { grid-column: span 7; }
.leak-card:nth-child(2) { grid-column: span 5; }
.leak-card:nth-child(3) { grid-column: span 5; }
.leak-card:nth-child(4) { grid-column: span 7; }
.leak-card .num {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.16em;
  color: var(--leak-ink); display: inline-flex; align-items: center; gap: 0.5rem;
}
.leak-card .num::after { content: ""; height: 1px; width: 34px; background: var(--leak-bg); }
.leak-card h3 { font-size: 1.35rem; font-weight: 620; }
.leak-card p { color: var(--muted); font-size: 0.97rem; }
.kicker {
  margin-top: clamp(2.4rem, 4vw, 3.2rem);
  font-family: var(--font-display); font-weight: 600; font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  letter-spacing: -0.015em; max-width: 34ch;
  padding-left: 1.4rem; border-left: 3px solid var(--green-600);
}

/* ---------- reframe / comparison ---------- */
.compare {
  margin-top: clamp(2.6rem, 5vw, 4rem);
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 1.1rem; align-items: stretch;
}
.compare-col { border-radius: var(--radius-lg); padding: 1.9rem 1.8rem; }
.compare-col.old { background: transparent; border: 1.5px dashed var(--line-strong); }
.compare-col.new {
  background: var(--card); border: 1px solid var(--line);
  box-shadow: var(--shadow-lift); position: relative; overflow: hidden;
}
.compare-col.new::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--green-700), var(--green-500));
}
.compare-col h3 {
  font-size: 1.02rem; font-weight: 620; letter-spacing: 0.01em;
  display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1rem;
}
.compare-col.old h3 { color: var(--muted); }
.compare-col ul { list-style: none; margin: 0; padding: 0; }
.compare-col li {
  display: flex; gap: 0.8rem; align-items: flex-start;
  padding: 0.85rem 0; font-size: 0.98rem; border-top: 1px solid var(--line);
}
.compare-col.old li { color: var(--muted); border-top-color: rgba(211, 203, 180, 0.55); }
.compare-col li svg { width: 17px; height: 17px; flex: none; margin-top: 0.22rem; }
.compare-col.old li svg { color: var(--leak-ink); opacity: 0.75; }
.compare-col.new li svg { color: var(--green-600); }
.hold-line {
  margin-top: 1.9rem; display: inline-flex; align-items: center; gap: 0.8rem;
  background: var(--mint); color: var(--mint-ink); border-radius: 999px;
  padding: 0.8rem 1.35rem; font-weight: 600; font-size: 0.98rem;
}
.hold-line svg { width: 17px; height: 17px; flex: none; }

/* ---------- lanes bento ---------- */
.lane-grid {
  margin-top: clamp(2.6rem, 5vw, 4rem);
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.1rem;
}
.lane {
  position: relative; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 1.8rem 1.7rem;
  box-shadow: var(--shadow-soft); overflow: hidden;
  display: flex; flex-direction: column; gap: 0.9rem;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.lane:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.lane--w3 { grid-column: span 3; }
.lane--w2 { grid-column: span 2; }
.lane-head { display: flex; align-items: center; gap: 0.85rem; }
.lane-icon {
  width: 44px; height: 44px; border-radius: 13px; flex: none;
  background: var(--mint); color: var(--green-700);
  display: grid; place-items: center;
}
.lane-icon svg { width: 21px; height: 21px; }
.lane h3 { font-size: 1.3rem; font-weight: 630; }
.lane .does { color: var(--muted); font-size: 0.97rem; }
.lane .wont {
  margin-top: auto; padding-top: 1rem; border-top: 1.5px dashed var(--line-strong);
  font-family: var(--font-mono); font-size: 0.74rem; line-height: 1.6; color: var(--ink-2);
  display: flex; gap: 0.6rem;
}
.lane .wont svg { width: 15px; height: 15px; flex: none; margin-top: 0.1rem; color: var(--leak-ink); }
.lane .wont b { color: var(--leak-ink); font-weight: 600; letter-spacing: 0.06em; }

/* lane micro-UIs */
.micro { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #FBFAF4; padding: 0.9rem 1rem; min-height: 74px; display: flex; align-items: center; }
.wave { display: flex; align-items: center; gap: 3.5px; height: 34px; width: 100%; }
.wave i {
  flex: 1; background: var(--green-500); border-radius: 3px; height: 22%;
  animation: wave 1.5s var(--ease) infinite alternate;
}
.wave i:nth-child(3n) { animation-duration: 1.15s; }
.wave i:nth-child(4n) { animation-duration: 1.8s; height: 40%; }
.wave i:nth-child(5n) { animation-duration: 0.95s; }
@keyframes wave { from { transform: scaleY(0.4); } to { transform: scaleY(2.4); } }
@media (prefers-reduced-motion: reduce) { .wave i { animation: none; transform: scaleY(1.4); } }

.mini-chart { display: flex; align-items: flex-end; gap: 7px; height: 52px; width: 100%; }
.mini-chart i { flex: 1; border-radius: 4px 4px 2px 2px; background: var(--mint); position: relative; transform-origin: bottom; }
.mini-chart i.hot { background: var(--green-500); }
.mini-chart i.flag { background: var(--amber-bg); outline: 1.5px dashed var(--amber-ink); outline-offset: -1.5px; }
.typer-line { font-family: var(--font-mono); font-size: 0.76rem; color: var(--ink-2); width: 100%; line-height: 1.6; min-height: 2.6em; }
.typer-line .cursor { display: inline-block; width: 7px; height: 0.95em; background: var(--green-600); vertical-align: -0.12em; margin-left: 2px; animation: blink 1.05s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.sortlist { width: 100%; display: flex; flex-direction: column; gap: 6px; }
.sortlist > div {
  display: flex; justify-content: space-between; align-items: center; gap: 0.6rem;
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  padding: 0.4rem 0.65rem; font-family: var(--font-mono); font-size: 0.68rem; color: var(--ink-2);
  transition: transform 0.6s var(--ease-spring);
}
.lane-foot {
  grid-column: 1 / -1; text-align: center; color: var(--muted);
  font-size: 0.95rem; padding-top: 0.8rem;
}
.lane-foot b { color: var(--ink-2); font-weight: 600; }

/* ---------- sprint (sticky stack) ---------- */
.sprint-stack { margin-top: clamp(2.8rem, 5vw, 4rem); display: block; }
/* scroll spacer: gives each card a pinned, crisp reading window before the next climbs over it */
.sprint-card:not(:last-child) { margin-bottom: 40vh; }
.sprint-card {
  position: sticky; top: calc(88px + var(--i, 0) * 3rem);
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
  padding: clamp(1.8rem, 4vw, 2.8rem);
  display: grid; grid-template-columns: auto 1fr; gap: clamp(1.2rem, 3vw, 2.4rem);
  align-items: start; min-height: 240px;
  will-change: transform;
}
.sprint-card .step {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--green-700); background: var(--mint); border-radius: 999px; padding: 0.5rem 0.9rem;
  white-space: nowrap;
}
.sprint-card h3 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 640; }
.sprint-card p { color: var(--muted); margin-top: 0.8rem; max-width: 56ch; }
.sprint-card .art { margin-top: 1.3rem; }
.ladder {
  margin-top: clamp(2.6rem, 5vw, 3.6rem); text-align: center;
  font-family: var(--font-mono); font-size: 0.78rem; color: var(--muted);
  display: flex; align-items: center; justify-content: center; gap: 0.9rem; flex-wrap: wrap;
}
.ladder svg { width: 13px; height: 13px; color: var(--green-600); }

/* ---------- dark governance band ---------- */
.dark-band {
  background: var(--dark); color: var(--dark-text);
  border-radius: clamp(1.8rem, 4vw, 3rem);
  margin-inline: clamp(0.5rem, 1.5vw, 1.25rem);
  padding-block: var(--section-y);
  position: relative; overflow: clip;
}
.dark-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: radial-gradient(60% 45% at 75% 0%, rgba(63, 217, 138, 0.09), transparent 70%);
}
/* ambient "quiet systems" loop behind the governance band */
.band-video {
  position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.28; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 22%, #000 80%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 22%, #000 80%, transparent);
}
.dark-band > .wrap { position: relative; z-index: 2; }
.dark-band .h2 { color: var(--dark-text); }
.dark-band .lede { color: var(--dark-muted); }
.gov-grid {
  margin-top: clamp(2.6rem, 5vw, 4rem);
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(1.4rem, 3.5vw, 3rem);
  align-items: start;
}
.gov-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.gov-card {
  background: var(--dark-card); border: 1px solid var(--dark-line); border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  box-shadow: inset 0 1px 0 rgba(233, 240, 235, 0.06);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}
.gov-card:hover { transform: translateY(-3px); border-color: rgba(63, 217, 138, 0.35); }
.gov-card svg { width: 22px; height: 22px; color: var(--run); }
.gov-card h3 { font-size: 1.12rem; font-weight: 620; margin-top: 0.9rem; color: var(--dark-text); }
.gov-card p { font-size: 0.9rem; color: var(--dark-muted); margin-top: 0.5rem; }
.log-panel {
  background: #0A110E; border: 1px solid var(--dark-line); border-radius: var(--radius);
  overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8);
}
.log-head {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.85rem 1.1rem; border-bottom: 1px solid var(--dark-line);
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--dark-muted);
}
.log-head .lights { display: flex; gap: 5px; margin-right: 0.4rem; }
.log-head .lights i { width: 8px; height: 8px; border-radius: 50%; background: var(--dark-line); }
.log-head .lights i:first-child { background: var(--run); box-shadow: 0 0 8px var(--run-soft); }
.log-body { padding: 1.1rem 1.2rem 1.3rem; font-family: var(--font-mono); font-size: 0.79rem; }
.log-row {
  display: grid; grid-template-columns: auto 1fr; gap: 0.9rem; align-items: baseline;
  padding: 0.6rem 0; border-bottom: 1px solid rgba(233, 240, 235, 0.06);
  opacity: 0; transform: translateY(8px);
}
.log-row.is-on { opacity: 1; transform: none; transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.no-js .log-row, .reduced .log-row { opacity: 1; transform: none; }
.log-row .t { color: var(--dark-muted); font-size: 0.72rem; }
.log-row .d { color: #C7D4CC; line-height: 1.55; }
.log-row .d .arrow { color: var(--run); }
.log-row .d .warn { color: #E8C583; }
.log-caption { padding: 0 1.2rem 1.1rem; font-family: var(--font-mono); font-size: 0.68rem; color: var(--dark-muted); }

/* ---------- who it's for ---------- */
.fit-grid { margin-top: clamp(2.4rem, 5vw, 3.6rem); display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 1.1rem; }
.fit-col { border-radius: var(--radius-lg); padding: 1.9rem 1.8rem; }
.fit-col.yes { background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.fit-col.no { border: 1.5px dashed var(--line-strong); }
.fit-col h3 { font-size: 1.15rem; font-weight: 630; margin-bottom: 0.6rem; }
.fit-col.no h3 { color: var(--muted); }
.fit-col li {
  display: flex; gap: 0.75rem; padding: 0.6rem 0; align-items: flex-start; font-size: 0.99rem;
}
.fit-col ul { list-style: none; margin: 0; padding: 0; }
.fit-col li svg { width: 17px; height: 17px; flex: none; margin-top: 0.24rem; }
.fit-col.yes li svg { color: var(--green-600); }
.fit-col.no li { color: var(--muted); }
.fit-col.no li svg { color: var(--line-strong); }

/* ---------- founder ---------- */
.founder-card {
  margin-top: clamp(2.4rem, 5vw, 3.6rem);
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  display: grid; grid-template-columns: auto 1fr; gap: clamp(1.6rem, 4vw, 3rem);
  padding: clamp(1.8rem, 4.5vw, 3rem); align-items: start;
}
.monogram {
  width: 92px; height: 92px; border-radius: 50%; flex: none;
  background: linear-gradient(145deg, var(--green-900), var(--green-600));
  color: #EAF6EE; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 640; font-size: 1.7rem; letter-spacing: 0.02em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), var(--shadow-soft);
}
.founder-quote {
  font-family: var(--font-display); font-weight: 570; font-style: italic;
  font-size: clamp(1.35rem, 2.6vw, 1.85rem); letter-spacing: -0.015em; line-height: 1.28;
}
.founder-body { color: var(--muted); margin-top: 1.1rem; max-width: 62ch; }
.founder-sig { margin-top: 1.3rem; font-family: var(--font-mono); font-size: 0.78rem; color: var(--ink-2); }

/* ---------- FAQ ---------- */
.faq-list { margin-top: clamp(2.2rem, 4vw, 3rem); max-width: 780px; margin-inline: auto; }
.faq {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1.4rem;
  align-items: center; padding: 1.35rem 0.2rem;
  font-family: var(--font-display); font-weight: 610; font-size: 1.13rem; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq .pm { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-strong); flex: none; position: relative; transition: transform 0.35s var(--ease), background 0.25s, border-color 0.25s; }
.faq .pm::before, .faq .pm::after {
  content: ""; position: absolute; inset: 0; margin: auto; background: var(--ink-2); border-radius: 2px;
  transition: transform 0.35s var(--ease), background 0.25s;
}
.faq .pm::before { width: 11px; height: 1.8px; }
.faq .pm::after { width: 1.8px; height: 11px; }
.faq[open] .pm { transform: rotate(45deg); background: var(--green-700); border-color: var(--green-700); }
.faq[open] .pm::before, .faq[open] .pm::after { background: #fff; }
.faq .faq-a { color: var(--muted); padding: 0 3rem 1.4rem 0.2rem; max-width: 64ch; }
.faq summary:hover { color: var(--green-900); }

/* ---------- final CTA ---------- */
.final-cta {
  position: relative; overflow: clip;
  background: linear-gradient(160deg, var(--green-950), var(--green-800) 55%, var(--green-700));
  color: #F2F8F3; border-radius: clamp(1.8rem, 4vw, 3rem);
  margin-inline: clamp(0.5rem, 1.5vw, 1.25rem);
  padding: clamp(4rem, 9vw, 7rem) clamp(1.5rem, 5vw, 4rem);
  text-align: center;
}
.final-cta::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: radial-gradient(50% 60% at 50% 110%, rgba(63, 217, 138, 0.28), transparent 70%);
}
/* ambient loop on the green CTA band: screen-blend so only the light bokeh glows through */
.band-video--screen { mix-blend-mode: screen; opacity: 0.55;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 26%, #000 82%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 26%, #000 82%, transparent);
}
.final-cta > *:not(.band-video) { position: relative; z-index: 2; }
.final-cta .eyebrow { color: #A8E3C2; border-color: rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.06); }
.final-cta .eyebrow::before { background: var(--run); box-shadow: 0 0 0 3px rgba(63, 217, 138, 0.25); }
.final-cta h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); margin: 1.4rem auto 0; max-width: 18ch; color: #F6FBF7; }
.final-cta p { color: #BFDCC9; max-width: 56ch; margin: 1.3rem auto 0; font-size: 1.08rem; }
.final-cta .btn { margin-top: 2.2rem; }
.final-cta .reassure { margin-top: 1.2rem; font-family: var(--font-mono); font-size: 0.74rem; color: #9CC9AD; letter-spacing: 0.03em; }

/* ---------- footer ---------- */
.footer { padding: clamp(3rem, 6vw, 4.5rem) 0 2.2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.2rem; align-items: start; }
.footer .brand { font-size: 1.15rem; }
.footer .tag { color: var(--muted); margin-top: 0.8rem; font-size: 0.92rem; max-width: 46ch; }
.footer h4 { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 0.9rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.55rem; }
.footer a { text-decoration: none; color: var(--ink-2); font-size: 0.95rem; transition: color 0.2s; }
.footer a:hover { color: var(--green-700); }
.footer-legal {
  margin-top: 2.6rem; padding-top: 1.4rem; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  font-size: 0.82rem; color: var(--muted);
}
.status-ok { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-mono); font-size: 0.72rem; color: var(--green-700); }
.status-ok i { width: 8px; height: 8px; border-radius: 50%; background: var(--green-500); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(30, 156, 98, 0.4); } 50% { box-shadow: 0 0 0 6px rgba(30, 156, 98, 0); } }

/* ---------- mobile sticky CTA ---------- */
.mobile-cta {
  display: none;
  position: fixed; left: 50%; z-index: 100;
  bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%) translateY(150%);
  white-space: nowrap;
  box-shadow: 0 18px 44px -14px rgba(16, 96, 61, 0.65);
  transition: transform 0.45s var(--ease);
}
.mobile-cta.is-on { transform: translateX(-50%) translateY(0); }
@media (max-width: 680px) {
  .mobile-cta { display: inline-flex; }
}

/* ---------- reveal utilities ---------- */
.rv { opacity: 0; transform: translateY(26px); }
.no-js .rv, .reduced .rv { opacity: 1; transform: none; }
.rv.is-in { opacity: 1; transform: none; transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }

/* ---------- audit page extras ---------- */
.gov-cards--3 { margin-top: clamp(2.4rem, 5vw, 3.6rem); grid-template-columns: repeat(3, 1fr); }
.leak-grid--3 { margin-top: clamp(2.2rem, 4vw, 3rem); }
.leak-grid--3 .leak-card { grid-column: span 4; }

.audit-hero h1 { max-width: 17ch; }
.steps-3 { margin-top: clamp(2.4rem, 5vw, 3.6rem); display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; counter-reset: step; }
.step-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-soft); padding: 1.7rem 1.6rem; position: relative;
}
.step-card .n {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.16em; color: var(--green-700);
  background: var(--mint); border-radius: 999px; padding: 0.4rem 0.8rem; display: inline-block;
}
.step-card h3 { font-size: 1.25rem; margin-top: 1rem; }
.step-card p { color: var(--muted); font-size: 0.96rem; margin-top: 0.55rem; }
.get-list { margin-top: clamp(2.2rem, 4vw, 3rem); display: grid; gap: 1rem; max-width: 820px; }
.get-item {
  display: flex; gap: 1.1rem; align-items: flex-start;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-soft); padding: 1.4rem 1.5rem;
}
.get-item svg { width: 20px; height: 20px; color: var(--green-600); flex: none; margin-top: 0.2rem; }
.get-item b { font-weight: 630; }
.get-item p { color: var(--muted); font-size: 0.96rem; margin-top: 0.25rem; }
.booking-box {
  margin-top: clamp(2rem, 4vw, 3rem);
  border: 1.5px dashed var(--line-strong); border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.55);
  padding: clamp(2rem, 5vw, 3rem); text-align: center; color: var(--muted);
  font-family: var(--font-mono); font-size: 0.82rem;
}

/* ---------- live loop demo (Clinic Loop ring + operator console) ---------- */
.demo {
  margin-top: clamp(2.6rem, 5vw, 4rem);
  display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: 1.2rem;
  align-items: stretch;
}
.demo-panel {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft); padding: clamp(1.3rem, 3vw, 2rem);
}
.demo-loop { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.1rem; }
.demo-loop svg { width: 100%; max-width: 330px; height: auto; overflow: visible; }
.loop-ring { fill: none; stroke: var(--line-strong); stroke-width: 2; stroke-dasharray: 2 9; stroke-linecap: round; }
.loop-node .nd { fill: var(--card); stroke: var(--line-strong); stroke-width: 2; transition: fill 0.4s var(--ease), stroke 0.4s var(--ease); }
.loop-node text { font-family: var(--font-mono); font-size: 12px; fill: var(--muted); transition: fill 0.4s var(--ease); }
.loop-node.active .nd { fill: var(--green-600); stroke: var(--green-600); }
.loop-node.active text { fill: var(--ink); }
.loop-node.done .nd { fill: var(--mint); stroke: var(--green-500); }
.loop-dot { fill: var(--green-500); filter: drop-shadow(0 0 7px rgba(30, 156, 98, 0.55)); }
.loop-center { font-family: var(--font-mono); font-size: 11px; fill: var(--muted); letter-spacing: 0.06em; }
.loop-caption { font-family: var(--font-mono); font-size: 0.72rem; color: var(--muted); text-align: center; max-width: 30ch; }

.demo-console {
  background: #0A110E; border: 1px solid var(--dark-line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; min-height: 360px;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.6);
}
.dc-head {
  display: flex; align-items: center; gap: 0.6rem; padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--dark-line);
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dark-muted);
}
.dc-head .lights { display: flex; gap: 5px; margin-right: 0.3rem; }
.dc-head .lights i { width: 8px; height: 8px; border-radius: 50%; background: var(--dark-line); }
.dc-head .lights i:first-child { background: var(--run); box-shadow: 0 0 8px var(--run-soft); }
.dc-head .live { margin-left: auto; color: var(--run); display: inline-flex; align-items: center; gap: 0.4rem; }
.dc-head .live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--run); animation: pulse 2s var(--ease) infinite; }
.dc-body {
  padding: 1.05rem 1.15rem; font-family: var(--font-mono); font-size: 0.78rem; color: #C7D4CC;
  flex: 1; display: flex; flex-direction: column; gap: 0.6rem;
  overflow-y: auto; scrollbar-width: thin;
}
.dc-row { opacity: 0; transform: translateY(6px); animation: dcIn 0.4s var(--ease) forwards; line-height: 1.55; }
@keyframes dcIn { to { opacity: 1; transform: none; } }
.dc-row .t { color: var(--dark-muted); }
.dc-row .arrow { color: var(--run); }
.dc-row .warn { color: #E8C583; }
.dc-quote { color: #EAF2EC; border-left: 2px solid var(--dark-line); padding-left: 0.7rem; display: inline-block; }
.dc-draft { color: #A8E3C2; background: rgba(63, 217, 138, 0.06); border: 1px dashed rgba(63, 217, 138, 0.28); border-radius: 9px; padding: 0.55rem 0.7rem; display: inline-block; }
.dc-wave { display: inline-flex; align-items: center; gap: 3px; height: 22px; vertical-align: middle; margin-right: 0.5rem; }
.dc-wave i { width: 3px; background: var(--run); border-radius: 2px; height: 30%; animation: dwave 0.9s var(--ease) infinite alternate; }
@keyframes dwave { from { height: 14%; } to { height: 92%; } }
.dc-row .chip { vertical-align: baseline; }
.demo-controls { margin-top: 1.5rem; display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.demo-play .orb svg { width: 13px; height: 13px; }
.demo-play[disabled] { opacity: 0.62; cursor: default; transform: none; box-shadow: none; }
.demo-status { font-family: var(--font-mono); font-size: 0.74rem; color: var(--muted); letter-spacing: 0.01em; }

/* ---------- Telegram/Slack-style chat component (the operator messages you) ---------- */
.chat {
  background: #FBFAF4; border: 1px solid var(--line); border-radius: 22px; overflow: hidden;
  box-shadow: var(--shadow-lift); display: flex; flex-direction: column;
}
.chat-head { display: flex; align-items: center; gap: 0.7rem; padding: 0.7rem 0.9rem; background: #fff; border-bottom: 1px solid var(--line); }
.chat-avatar {
  width: 38px; height: 38px; border-radius: 50%; flex: none;
  background: linear-gradient(150deg, var(--green-900), var(--green-600)); color: #EAF6EE;
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 640; font-size: 0.9rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.25);
}
.chat-who { line-height: 1.2; }
.chat-who b { font-size: 0.9rem; font-weight: 620; display: block; color: var(--ink); }
.chat-who small { font-size: 0.72rem; color: var(--muted); display: inline-flex; align-items: center; gap: 0.35rem; }
.chat-who small::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green-500); }
.chat-app {
  margin-left: auto; font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--line-strong); border-radius: 7px; padding: 0.22rem 0.45rem;
}
.chat-body {
  padding: 0.9rem; display: flex; flex-direction: column; gap: 0.5rem;
  background: var(--paper-2); flex: 1; overflow-y: auto; scrollbar-width: thin;
}
.msg { max-width: 88%; opacity: 0; transform: translateY(8px); animation: msgIn 0.42s var(--ease) forwards; }
@keyframes msgIn { to { opacity: 1; transform: none; } }
.msg-in { align-self: flex-start; }
.msg-out { align-self: flex-end; }
.msg-bubble {
  background: #fff; border: 1px solid var(--line); border-radius: 5px 16px 16px 16px;
  padding: 0.6rem 0.75rem; font-size: 0.86rem; line-height: 1.45; color: var(--ink-2);
  box-shadow: 0 5px 14px -10px rgba(23,32,27,0.35);
}
.msg-out .msg-bubble { background: var(--mint); border-color: transparent; border-radius: 16px 5px 16px 16px; color: var(--mint-ink); font-weight: 500; }
.msg-note { color: var(--muted); font-style: italic; }
.msg-draft { display: block; margin-top: 0.45rem; padding: 0.5rem 0.6rem; background: var(--paper); border: 1px dashed var(--line-strong); border-radius: 10px; color: var(--ink-2); font-style: normal; }
.msg .chip { margin-top: 0.45rem; }
.msg-actions { display: flex; gap: 0.4rem; margin-top: 0.55rem; }
.msg-actions button {
  font: inherit; font-size: 0.74rem; font-weight: 600; border-radius: 9px; padding: 0.32rem 0.72rem;
  border: 1px solid var(--green-700); background: var(--green-700); color: #fff; cursor: default;
}
.msg-actions button.ghost { background: transparent; color: var(--green-800); }
.msg time { display: block; font-size: 0.62rem; color: var(--muted); margin-top: 0.28rem; font-family: var(--font-mono); }
.msg-out time { text-align: right; }
.chat-typing { align-self: flex-start; display: inline-flex; gap: 4px; padding: 0.6rem 0.8rem; background: #fff; border: 1px solid var(--line); border-radius: 5px 16px 16px 16px; }
.chat-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: typedot 1.2s var(--ease) infinite; }
.chat-typing i:nth-child(2) { animation-delay: 0.18s; }
.chat-typing i:nth-child(3) { animation-delay: 0.36s; }
@keyframes typedot { 0%, 60%, 100% { transform: translateY(0); opacity: 0.4; } 30% { transform: translateY(-4px); opacity: 1; } }

/* demo variant: the chat is the loop's right-hand panel */
.chat--demo { min-height: 380px; }
.chat--demo .chat-body { min-height: 0; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3.2rem; }
  .artifact { max-width: 620px; }
  .hero-inner { grid-template-columns: 1fr; gap: 2.2rem; }
  .hero-chat { justify-self: start; }
  .hero-chat .chat { width: min(340px, 100%); }
  .gov-grid { grid-template-columns: 1fr; }
  .lane--w2 { grid-column: span 3; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .hero-chat { display: none; }
  .hero-scroll { display: none; }
  .hero-title { font-size: clamp(2.4rem, 9vw, 3.4rem); }
  /* Mobile hero is text-dense with no clear band, so the knob/cue/labels would
     collide with the copy. The full-bleed wipe + auto-reveal + seam carry it;
     dragging still works via the upper touch strip. */
  .hero-slider.is-interactive .hs-label,
  .hero-slider.is-interactive .hs-cue,
  .hero-slider.is-interactive .hs-knob { display: none; }
  .hs-seam { box-shadow: 0 0 22px rgba(255, 255, 255, 0.5); }
}
@media (max-width: 820px) {
  .nav-links, .nav .btn--sm { display: none; }
  .nav--lp .btn--sm { /* LP keeps its only CTA, compact */
    display: inline-flex; white-space: nowrap; font-size: 0.82rem;
    padding: 0.28rem 0.3rem 0.28rem 0.8rem; gap: 0.5rem;
  }
  .nav--lp .btn--sm .orb { width: 27px; height: 27px; }
  .nav--lp .brand { font-size: 0.98rem; }
  .menu-btn { display: inline-flex; }
  .gov-cards--3 { grid-template-columns: 1fr; }
  .leak-grid--3 .leak-card { grid-column: auto; }
  .demo { grid-template-columns: 1fr; }
  .demo-console { min-height: 320px; }
  .feel-grid { grid-template-columns: 1fr; }
  .trust-strip { grid-template-columns: 1fr 1fr; row-gap: 0.3rem; }
  .compare { grid-template-columns: 1fr; }
  .leak-grid { grid-template-columns: 1fr; }
  .leak-card:nth-child(n) { grid-column: auto; }
  .lane-grid { grid-template-columns: 1fr; }
  .lane--w3, .lane--w2 { grid-column: auto; }
  .gov-cards { grid-template-columns: 1fr; }
  .fit-grid { grid-template-columns: 1fr; }
  .founder-card { grid-template-columns: 1fr; }
  .sprint-card { grid-template-columns: 1fr; gap: 0.9rem; min-height: 0; top: calc(80px + var(--i, 0) * 0.8rem); }
  .sprint-card:not(:last-child) { margin-bottom: 30vh; }
  .sprint-card .step { justify-self: start; }
  .steps-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .faq .faq-a { padding-right: 0.5rem; }
}
.show-sm { display: none; }
@media (max-width: 480px) {
  .hide-sm { display: none; }
  .show-sm { display: inline; }
  .hero-ctas { align-items: stretch; flex-direction: column; }
  .hero-ctas .btn { justify-content: space-between; }
  .trust-strip { grid-template-columns: 1fr; }
  .receipt { transform: rotate(0.8deg); }
}

/* touch: neutralise tilt */
@media (hover: none) {
  .lane:hover, .leak-card:hover, .gov-card:hover, .feel-card:hover { transform: none; }
}
