/* ==========================================================================
   InBooked — site styles
   Colour follows the original inbooked.in: a white page, near-black anchor
   bands, light-grey sections for rhythm, and one violet accent used
   sparingly (buttons, the assistant's replies, checks, and anything booked).
   Two themes, picked from the device setting. Every component reads the
   semantic tokens below, so a `.dark` band or the dark theme simply
   redefines them and everything inside follows.
   ========================================================================== */

:root {
  color-scheme: light;
  --bg: #FFFFFF;
  --bg-2: #F4F4F5;           /* grey sections, card fills on white */
  --bg-3: #E9E9EC;           /* insets, segmented controls */
  --surface: #FFFFFF;        /* cards that sit on --bg-2 */
  --line: #E4E4E7;
  --line-2: #D4D4D8;
  --ink: #18181B;
  --ink-2: #52525B;
  --ink-3: #85858E;
  --ink-soft: rgba(24, 24, 27, .4);   /* the grey half of a heading */
  --invert: #18181B;         /* small solid chips in mock UI */
  --invert-ink: #FFFFFF;

  --accent: #6D48D7;         /* 5.9:1 on white */
  --accent-ink: #FFFFFF;
  --accent-soft: rgba(109, 72, 215, .08);
  --accent-line: rgba(109, 72, 215, .32);
  --glow: rgba(109, 72, 215, .10);
  --hair: rgba(24, 24, 27, .045);
  --danger: #DC2626;
  --ok: #15803D;

  --logo-filter: invert(1) grayscale(1);
  --grain: 0;
  --shadow: 0 1px 2px rgba(24,24,27,.05), 0 12px 32px -16px rgba(24,24,27,.16);
  --shadow-lg: 0 2px 4px rgba(24,24,27,.04), 0 30px 60px -30px rgba(24,24,27,.24);

  --f-head: 'Prompt', 'Inter', ui-sans-serif, system-ui, sans-serif;
  --f-ui: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;
  --f-brand: 'Syne', var(--f-ui);

  --fs-hero: clamp(2.7rem, 5.4vw, 5rem);
  --fs-h2: clamp(2rem, 4.4vw, 3.6rem);
  --fs-h3: clamp(1.2rem, 1.7vw, 1.5rem);
  --fs-lede: clamp(1.02rem, 1.25vw, 1.18rem);
  --fs-body: clamp(.97rem, 1.02vw, 1.04rem);

  --wrap: 1200px;
  --gut: clamp(1rem, 4vw, 2.5rem);
  --sec: clamp(5rem, 11vw, 9rem);
  --r: 20px;
  --r-lg: 24px;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
}

/* Dark anchor bands (light theme), and the tokens the dark theme uses */
.dark {
  color-scheme: dark;
  --bg: #0D0D0D;
  --bg-2: #161618;
  --bg-3: #1F1F22;
  --surface: #1C1C1F;
  --line: #262626;
  --line-2: #34343A;
  --ink: #F4F4F5;
  --ink-2: #A1A1AA;
  --ink-3: #71717A;
  --ink-soft: rgba(244, 244, 245, .45);
  --invert: #F4F4F5;
  --invert-ink: #0D0D0D;
  --accent: #A78BFA;         /* 7.2:1 on #0D0D0D */
  --accent-ink: #0D0D0D;
  --accent-soft: rgba(167, 139, 250, .1);
  --accent-line: rgba(167, 139, 250, .38);
  --glow: rgba(109, 72, 215, .24);
  --hair: rgba(255, 255, 255, .035);
  --danger: #F87171;
  --ok: #4ADE80;
  --logo-filter: grayscale(1);
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 12px 32px -16px rgba(0,0,0,.6);
  --shadow-lg: 0 2px 4px rgba(0,0,0,.3), 0 30px 60px -30px rgba(0,0,0,.8);
  background: var(--bg);
  color: var(--ink);
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #0D0D0D;
    --bg-2: #161618;
    --bg-3: #1F1F22;
    --surface: #1C1C1F;
    --line: #262626;
    --line-2: #34343A;
    --ink: #F4F4F5;
    --ink-2: #A1A1AA;
    --ink-3: #71717A;
    --ink-soft: rgba(244, 244, 245, .45);
    --invert: #F4F4F5;
    --invert-ink: #0D0D0D;
    --accent: #A78BFA;
    --accent-ink: #0D0D0D;
    --accent-soft: rgba(167, 139, 250, .1);
    --accent-line: rgba(167, 139, 250, .38);
    --glow: rgba(109, 72, 215, .24);
    --hair: rgba(255, 255, 255, .035);
    --danger: #F87171;
    --ok: #4ADE80;
    --logo-filter: grayscale(1);
    --grain: .03;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 12px 32px -16px rgba(0,0,0,.6);
    --shadow-lg: 0 2px 4px rgba(0,0,0,.3), 0 30px 60px -30px rgba(0,0,0,.8);
  }
  /* In the dark theme the anchor bands go one step deeper, edged with a line */
  .dark { --bg: #050505; --bg-2: #111113; --surface: #18181B; border-top: 1px solid #1C1C1F; border-bottom: 1px solid #1C1C1F; }
  .terms__card.dark, .notice.dark { border: 1px solid #26262B; }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
html:not(.lenis) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-ui);
  font-size: var(--fs-body);
  line-height: 1.6;
  letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
[hidden] { display: none !important; }
b, strong { font-weight: 600; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 1rem; top: -4rem; z-index: 200; background: var(--ink); color: var(--bg); padding: .7rem 1rem; border-radius: 10px; transition: top .2s; }
.skip:focus { top: 1rem; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }

/* Film grain, dark theme only: keeps large flat blacks from banding */
body::after {
  content: ''; position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: var(--grain);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Type ---------- */
h1, h2, h3, .h2, .h3, .hero__title, .cta__title, .cs-title, .stat dd, .fig dd, .lead__amt, .ledger__v,
.clock__face, .who li, .jargon__row, .badge b, .menu nav a, .beat, .step__copy .h3, .industry__ask-t, .no__foot {
  font-family: var(--f-head);
}
.kicker {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--f-mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-2); margin-bottom: 1.3rem;
}
.kicker::before { content: ''; width: 18px; height: 1px; background: currentColor; opacity: .6; }
.h2 {
  font-size: var(--fs-h2); font-weight: 500; line-height: 1.1; letter-spacing: -.012em;
  max-width: 18ch; text-wrap: balance;
}
.h2--xl { font-size: clamp(2.4rem, 5.4vw, 4.6rem); }
.h3 { font-size: var(--fs-h3); font-weight: 500; letter-spacing: -.01em; line-height: 1.25; }
/* Emphasis: same face, set in grey */
em { font-style: normal; font-weight: inherit; color: var(--ink-soft); }
.lede { font-size: var(--fs-lede); color: var(--ink-2); max-width: 46ch; line-height: 1.6; }
.muted { color: var(--ink-3); }
.small { font-size: .9rem; }
.fineprint { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .03em; color: var(--ink-3); margin-top: .9rem; }

/* Split-text scaffolding (added by JS) */
.w { display: inline-block; overflow: clip; overflow-clip-margin: .2em; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.wi { display: inline-block; will-change: transform; }

/* ---------- Buttons ---------- */
.btn {
  --h: 48px;
  position: relative; display: inline-flex; align-items: center; gap: .75rem;
  height: var(--h); padding: 0 .4rem 0 1.35rem; border-radius: 999px;
  font-weight: 500; letter-spacing: -.005em; white-space: nowrap; overflow: hidden;
  transition: background .3s, box-shadow .35s var(--ease), filter .3s;
}
.btn--sm { --h: 40px; font-size: .9rem; padding-left: 1.1rem; gap: .6rem; }
.btn--lg { --h: 54px; font-size: 1.02rem; padding-left: 1.5rem; }
.btn--xl { --h: 64px; font-size: 1.12rem; padding-left: 1.9rem; padding-right: .5rem; gap: 1rem; }
.btn--primary, .btn--dark { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover, .btn--dark:hover { filter: brightness(1.08); box-shadow: 0 12px 30px -12px var(--accent); }
.btn__label { position: relative; display: inline-block; }
.btn__icon {
  display: grid; place-items: center; flex: none;
  width: calc(var(--h) - 12px); height: calc(var(--h) - 12px); border-radius: 50%;
  background: var(--accent-ink); color: var(--accent); overflow: hidden;
  transition: transform .5s var(--ease);
}
.btn__icon svg { width: 40%; height: 40%; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease); }
.btn:hover .btn__icon { transform: rotate(45deg); }
.btn:not([data-magnetic]):active { transform: scale(.97); }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem; font-weight: 500; color: var(--ink);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; padding-bottom: 2px;
  transition: background-size .5s var(--ease), color .3s;
}
.link-arrow svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.link-arrow:hover { background-size: 100% 1px; color: var(--accent); }
.link-arrow:hover svg { transform: translate(2px, 2px); }
.link-arrow--light:hover svg { transform: translateX(4px); }

.pulse { position: relative; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }
.pulse::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: pulse 2s var(--ease) infinite; }
.pulse--green { background: #22C55E; }
@keyframes pulse { 0% { transform: scale(1); opacity: .6 } 100% { transform: scale(3); opacity: 0 } }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 14px 0 auto; z-index: 100; padding-inline: var(--gut); pointer-events: none; transition: transform .7s cubic-bezier(.65, 0, .35, 1); will-change: transform; }
.nav.is-hidden { transform: translateY(-140%); }
.nav__inner {
  pointer-events: auto; max-width: 1100px; margin-inline: auto;
  display: flex; align-items: center; gap: 1.5rem;
  height: 60px; padding: 0 .5rem 0 1.4rem; border-radius: 999px;
  background: color-mix(in srgb, var(--bg) 82%, transparent); border: 1px solid var(--line);
  backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  transition: box-shadow .45s var(--ease), border-color .45s var(--ease);
}
.nav.is-scrolled .nav__inner { border-color: var(--line-2); box-shadow: var(--shadow); }
.brand { font-family: var(--f-brand); font-weight: 700; font-size: 1.3rem; letter-spacing: -.02em; display: inline-flex; align-items: baseline; color: var(--ink); }
.brand__dot { display: inline-block; width: .26em; height: .26em; margin-left: .06em; background: var(--accent); transition: transform .5s var(--ease-spring); }
.brand:hover .brand__dot { transform: rotate(90deg) scale(1.2); }
.nav__links { display: flex; gap: .15rem; margin-left: auto; }
.nav__links a { position: relative; padding: .5rem .85rem; border-radius: 999px; font-size: .92rem; color: var(--ink-2); transition: color .25s, background .25s; }
.nav__links a:hover { color: var(--ink); background: var(--bg-2); }
.nav__links a.is-active { color: var(--ink); }
.nav__links a.is-active::after { content: ''; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--accent); }
.nav__burger { display: none; width: 44px; height: 44px; border-radius: 50%; position: relative; }
.nav__burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ink); transition: transform .45s var(--ease); }
.nav__burger span:first-child { top: 18px; } .nav__burger span:last-child { top: 25px; }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 99; background: var(--bg);
  display: flex; flex-direction: column; justify-content: flex-end; gap: 2.5rem;
  padding: 7rem var(--gut) 2.5rem;
  clip-path: circle(0% at calc(100% - 44px) 44px); transition: clip-path .7s var(--ease);
}
.menu.is-open { clip-path: circle(150% at calc(100% - 44px) 44px); }
.menu nav { display: grid; }
.menu nav a { display: flex; align-items: baseline; gap: 1rem; font-size: clamp(2rem, 9vw, 3rem); font-weight: 500; letter-spacing: -.01em; line-height: 1.3; border-bottom: 1px solid var(--line); padding: .4rem 0; }
.menu nav a small { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .1em; color: var(--accent); }
.menu .btn { justify-content: space-between; padding-right: 1.6rem; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; padding-top: clamp(7.5rem, 14vh, 10rem); overflow: hidden; isolation: isolate; }
.hero__vignette {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(55% 50% at 82% 18%, var(--glow), transparent 70%);
}
/* Faint column hairlines, like the grid on a drawing sheet */
.hero__vignette::before {
  content: ''; position: absolute; inset: 0; margin-inline: auto; max-width: var(--wrap);
  background: repeating-linear-gradient(90deg, var(--hair) 0 1px, transparent 1px calc(100% / 6));
  -webkit-mask: linear-gradient(#000, transparent 85%); mask: linear-gradient(#000, transparent 85%);
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero__for {
  display: flex; align-items: center; gap: .9rem;
  font-size: .9rem; color: var(--ink-3);
  margin-bottom: 2.2rem;
}
.hero__for b { font-weight: 500; color: var(--ink); }
.hero__rule { flex: none; width: 36px; height: 1px; background: var(--accent); transform-origin: 0 50%; }
.hero__title { font-size: var(--fs-hero); font-weight: 500; line-height: 1.04; letter-spacing: -.015em; max-width: 11ch; }
.hl { color: var(--accent); }
.hero__lede { margin-top: 1.9rem; font-size: clamp(1rem, 1.2vw, 1.12rem); line-height: 1.6; color: var(--ink-2); max-width: 44ch; text-wrap: pretty; }
.hero__ctas { margin-top: 2.4rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem 2rem; }

.hero__demo { position: relative; }
.hero__demo .fineprint { text-align: center; }

/* Chat (lives in step 03) */
.chat {
  position: relative; border-radius: var(--r-lg); padding: 1rem;
  background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow-lg);
}
.chat__head { display: flex; align-items: center; gap: .8rem; padding: .3rem .4rem .9rem; border-bottom: 1px solid var(--line); }
.chat__avatar { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-family: var(--f-mono); font-size: .75rem; font-weight: 500; color: var(--accent-ink); background: var(--accent); }
.chat__name { font-weight: 500; font-size: .95rem; line-height: 1.2; }
.chat__status { display: flex; align-items: center; gap: .45rem; font-size: .78rem; color: var(--ink-2); }
.chat__timer { margin-left: auto; font-family: var(--f-mono); font-size: .72rem; color: var(--ink-3); padding: .3rem .6rem; border-radius: 999px; border: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.chat__body { display: flex; flex-direction: column; justify-content: flex-end; gap: .55rem; padding: 1rem .3rem .4rem; height: 360px; overflow: hidden; -webkit-mask: linear-gradient(transparent, #000 12%); mask: linear-gradient(transparent, #000 12%); }
.chat .msg { flex: none; }
.js .chat .msg:not([hidden]), .js .chat .typing:not([hidden]) { animation: msgin .45s var(--ease-spring) both; }
@keyframes msgin { from { opacity: 0; transform: translateY(12px) scale(.94); } }
.js .chat .booked { opacity: 0; transform: translateY(8px); }
.js .chat .booked.is-on { opacity: 1; transform: none; }
.msg { max-width: 84%; padding: .65rem .9rem; border-radius: 16px; font-size: .9rem; line-height: 1.45; position: relative; transform-origin: 0 100%; }
.msg[data-t]::after { content: attr(data-t); display: block; font-family: var(--f-mono); font-size: .64rem; margin-top: .3rem; opacity: .6; }
.msg--in { align-self: flex-start; background: var(--bg-3); color: var(--ink); border-bottom-left-radius: 5px; }
.msg--out { align-self: flex-end; background: var(--accent); color: var(--accent-ink); border-bottom-right-radius: 5px; transform-origin: 100% 100%; }
.typing { align-self: flex-start; display: inline-flex; gap: 4px; padding: .8rem .9rem; border-radius: 16px; background: var(--bg-3); color: var(--ink-2); border-bottom-left-radius: 5px; }
.typing--out { align-self: flex-end; background: var(--accent-soft); color: var(--accent); border-radius: 16px 16px 5px 16px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .5; animation: typing 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%,60%,100% { transform: translateY(0); opacity: .35 } 30% { transform: translateY(-4px); opacity: .9 } }

.booked {
  transition: opacity .5s var(--ease), transform .5s var(--ease);
  display: flex; align-items: center; gap: .9rem; margin-top: .8rem; padding: .85rem 1rem;
  border-radius: 16px; background: var(--accent-soft); border: 1px solid var(--accent-line);
}
.booked__icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); flex: none; }
.booked__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.booked__title { font-weight: 600; font-size: .92rem; color: var(--accent); }
.booked__meta { font-family: var(--f-mono); font-size: .72rem; color: var(--ink-2); }

.hero__stats {
  margin-top: clamp(3rem, 7vh, 5rem); display: grid; grid-template-columns: repeat(3, auto) 1fr; align-items: end; gap: 1rem clamp(1.5rem, 4vw, 4rem);
  padding-top: 1.8rem; border-top: 1px solid var(--line);
}
.stat { display: flex; flex-direction: column-reverse; }
.stat dd { font-size: clamp(2.2rem, 4.2vw, 3.4rem); font-weight: 500; letter-spacing: -.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat dt { font-size: .82rem; color: var(--ink-2); margin-top: .5rem; }
.hero__source { justify-self: end; max-width: 30ch; font-size: .82rem; color: var(--ink-3); text-align: right; }
.hero__source a { color: var(--accent); text-decoration: underline; text-decoration-color: var(--accent-line); text-underline-offset: 3px; transition: text-decoration-color .3s; }
.hero__source a:hover { text-decoration-color: var(--accent); }

/* ---------- Marquees ---------- */
.marquee { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marq 38s linear infinite; }
.marquee--rev .marquee__track { animation-direction: reverse; animation-duration: 46s; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marq { to { transform: translateX(-50%); } }
.marquee--logos { margin-top: clamp(2.5rem, 6vh, 4rem); padding-block: 1.5rem 3rem; }
.logos { display: flex; align-items: center; gap: clamp(3rem, 8vw, 7rem); padding-right: clamp(3rem, 8vw, 7rem); }
/* The logo files are white: shown as-is on dark, inverted to ink on light */
.logos img { height: var(--h); width: auto; opacity: var(--o); filter: var(--logo-filter); transition: opacity .3s; }
.logos li:hover img { opacity: 1; }

/* ---------- Night (problem) ---------- */
.night { position: relative; padding-block: var(--sec); overflow: clip; isolation: isolate; }
.night__sky { display: none; }
.night__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.night__clock { position: sticky; top: 24vh; }
.clock { position: relative; height: clamp(4.2rem, 8vw, 7rem); overflow: hidden; }
.clock__face {
  position: absolute; left: 0; top: 0; display: flex; align-items: flex-start; gap: .5rem;
  font-size: clamp(3.6rem, 7vw, 6rem); font-weight: 400; letter-spacing: -.02em; line-height: 1;
  color: var(--ink); font-variant-numeric: tabular-nums;
  opacity: 0; transform: translateY(40%); filter: blur(6px);
  transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease);
}
.clock__face.is-on { opacity: 1; transform: none; filter: none; }
.clock__face.is-past { transform: translateY(-40%); }
.clock__face small { font-family: var(--f-mono); font-size: .2em; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-top: .7em; }
.clock__steps { margin-top: 2rem; display: grid; gap: .1rem; border-left: 1px solid var(--line-2); }
.clock__steps li { position: relative; display: flex; align-items: center; gap: .8rem; padding: .45rem 0 .45rem 1.1rem; font-size: .92rem; color: var(--ink-3); transition: color .6s var(--ease); }
.clock__steps li i { position: absolute; left: -1px; top: 20%; bottom: 20%; width: 1px; background: var(--accent); transform: scaleY(0); transition: transform .6s var(--ease); }
.clock__steps li.is-on { color: var(--ink); }
.clock__steps li.is-on i { transform: scaleY(1); }
.beats { margin-top: clamp(3rem, 8vw, 6rem); display: grid; gap: clamp(3rem, 14vh, 9rem); }
.beat { font-size: clamp(1.3rem, 2.1vw, 1.8rem); line-height: 1.45; letter-spacing: -.01em; font-weight: 400; transition: opacity .8s var(--ease); }
.js .beats.is-live .beat { opacity: .3; }
.js .beats.is-live .beat.is-on { opacity: 1; }
.beat__t { display: block; font-family: var(--f-mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 1rem; }

/* ---------- Sections (shared) ---------- */
section { position: relative; }
.sec-head { margin-bottom: clamp(3rem, 7vw, 5rem); }
.sec-head .lede { margin-top: 1.4rem; }
.sec-head--split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem 4rem; align-items: end; }
.sec-head--split .lede { margin-top: 0; }

.paper { background: var(--bg-2); color: var(--ink); border-radius: clamp(24px, 4vw, 40px); margin-inline: clamp(0px, 1vw, 12px); }

/* ---------- How ---------- */
.how { padding-block: var(--sec); }
.steps { display: grid; gap: clamp(1.2rem, 3vw, 2rem); }
.step {
  position: sticky; top: clamp(90px, 12vh, 120px);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center;
  min-height: min(78vh, 680px); padding: clamp(1.6rem, 4vw, 3.6rem);
  border-radius: var(--r-lg); border: 1px solid var(--line);
  background: var(--bg-2);
  box-shadow: 0 -12px 40px -24px rgba(0,0,0,.25);
  transform-origin: 50% 0;
  overflow: hidden;
}
.step::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: var(--bg); opacity: var(--dim, 0); pointer-events: none; }
.step:nth-child(2) { top: calc(clamp(90px, 12vh, 120px) + 16px); }
.step:nth-child(3) { top: calc(clamp(90px, 12vh, 120px) + 32px); }
.step__n { display: block; font-family: var(--f-mono); font-size: .8rem; letter-spacing: .1em; color: var(--accent); margin-bottom: 1.3rem; }
.step__copy .h3 { font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1.1; letter-spacing: -.012em; margin-bottom: 1.2rem; }
.step__copy p { color: var(--ink-2); max-width: 46ch; }
.step__copy p + p { margin-top: 1rem; }
.step__copy p.muted { color: var(--ink-3); font-size: .95rem; padding-left: 1rem; border-left: 1px solid var(--line-2); }
.step__visual { position: relative; display: grid; justify-items: center; }

/* Ad mock (always a white social card, as it would look in a feed) */
.ad { width: min(100%, 330px); border-radius: 18px; background: #fff; color: #18181B; overflow: hidden; border: 1px solid rgba(24,24,27,.08); box-shadow: var(--shadow-lg); transform-style: preserve-3d; transition: transform .6s var(--ease); }
.ad__head { display: flex; align-items: center; gap: .6rem; padding: .7rem .8rem; font-size: .78rem; line-height: 1.2; }
.ad__head small { display: block; color: #85858E; font-size: .68rem; }
.ad__logo { width: 30px; height: 30px; border-radius: 50%; background: #18181B; color: #fff; display: grid; place-items: center; font-size: .62rem; font-weight: 600; }
.ad__dots { margin-left: auto; color: #A1A1AA; letter-spacing: 1px; }
.ad__img { aspect-ratio: 4 / 4.4; overflow: hidden; }
.ad__img img { width: 100%; height: 115%; object-fit: cover; will-change: transform; }
.ad__foot { display: flex; align-items: center; gap: .8rem; padding: .8rem; background: #F4F4F5; font-size: .8rem; line-height: 1.35; }
.ad__btn { flex: none; background: #18181B; color: #fff; padding: .5rem .8rem; border-radius: 8px; font-size: .75rem; font-weight: 500; }
.ad .fineprint { color: #85858E; background: #fff; margin: 0; padding: .6rem .8rem; font-size: .62rem; }
.loop { display: flex; align-items: center; gap: .5rem; margin-top: 1.2rem; }
.loop__chip { font-family: var(--f-mono); font-size: .7rem; padding: .4rem .75rem; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-2); background: var(--surface); }
.loop__chip--v { color: var(--accent); border-color: var(--accent-line); background: var(--accent-soft); }
.loop__arrow { width: 44px; fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; stroke-dasharray: 4 5; animation: dash 1s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -9; } }

/* Site mock */
.site { position: relative; width: min(100%, 440px); border-radius: 16px; overflow: hidden; background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow-lg); }
.site__bar { display: flex; align-items: center; gap: 6px; padding: .7rem .9rem; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.site__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.site__bar span { margin-left: .6rem; flex: 1; font-family: var(--f-mono); font-size: .68rem; color: var(--ink-3); background: var(--surface); padding: .3rem .6rem; border-radius: 6px; border: 1px solid var(--line); }
.site__body { padding: 1rem; }
.site__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: .9rem; font-size: .9rem; }
.site__add { display: inline-flex; align-items: center; gap: .4rem; font-size: .78rem; font-weight: 500; padding: .45rem .8rem; border-radius: 999px; background: var(--invert); color: var(--invert-ink); transition: transform .3s var(--ease-spring), background .3s; }
.site__add span { font-size: 1rem; line-height: 1; transition: transform .4s var(--ease); }
.site__add:hover { background: var(--accent); color: var(--accent-ink); }
.site__add:hover span { transform: rotate(90deg); }
.site__add:active { transform: scale(.94); }
.site__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .55rem; }
.tile { border-radius: 10px; overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); position: relative; }
.tile__img { display: block; aspect-ratio: 1; }
.tile__img--a { background: linear-gradient(160deg, #6B5540, #3A2E23); }
.tile__img--b { background: linear-gradient(200deg, #5A5F68, #2E3036); }
.tile__img--c { background: linear-gradient(140deg, #6A6258, #33302C); }
.tile__img--d { background: url('/assets/project-photo.jpg') center 40% / cover; }
.tile__t { display: block; padding: .4rem .5rem; font-size: .66rem; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile__live { position: absolute; top: 6px; left: 6px; font-family: var(--f-mono); font-size: .56rem; letter-spacing: .06em; text-transform: uppercase; padding: .15rem .4rem; border-radius: 4px; background: var(--accent); color: var(--accent-ink); }
.site__toast {
  position: absolute; left: 50%; bottom: 14px; transform: translate(-50%, 140%);
  display: flex; align-items: center; gap: .5rem; white-space: nowrap;
  font-size: .76rem; padding: .5rem .85rem; border-radius: 999px; background: var(--invert); color: var(--invert-ink);
  transition: transform .6s var(--ease-spring);
}
.site__toast.is-on { transform: translate(-50%, 0); }
.site__toast::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #22C55E; }

/* Qualify */
.qualify { width: min(100%, 440px); padding: 1rem; border-radius: 18px; background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow-lg); }
.seg { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 12px; background: var(--bg-3); margin-bottom: 1rem; }
.seg button { position: relative; z-index: 1; padding: .6rem .5rem; font-size: .8rem; color: var(--ink-3); border-radius: 9px; transition: color .3s; }
.seg button[aria-selected="true"] { color: var(--ink); font-weight: 500; }
.seg__pill { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 9px; background: var(--surface); box-shadow: 0 1px 3px rgba(0,0,0,.12); transition: transform .5s var(--ease); }
.seg[data-active="remodel"] .seg__pill { transform: translateX(100%); }
.qlist { display: grid; gap: .45rem; counter-reset: q; }
.qlist li { display: flex; align-items: center; gap: .8rem; padding: .7rem .8rem; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); font-size: .88rem; }
.qlist__k { flex: none; width: 74px; font-family: var(--f-mono); font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.qlist li::after { content: ''; margin-left: auto; width: 18px; height: 18px; flex: none; border-radius: 50%; border: 1px solid var(--line-2); background: no-repeat center / 10px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m2.5 6.5 2.3 2.3 4.7-5'/%3E%3C/svg%3E"); background-color: transparent; transition: background-color .35s var(--ease), border-color .35s; }
.qlist li.is-done::after { background-color: var(--accent); border-color: var(--accent); }
.qualify__result { display: flex; align-items: center; gap: .6rem; margin-top: .9rem; font-size: .8rem; color: var(--accent); opacity: .35; transition: opacity .5s; }
.qualify.is-done .qualify__result { opacity: 1; }

/* ---------- Receipts / funnel (a dark band, as on the original site) ---------- */
.receipts { background: var(--bg); }
.receipts__pin { min-height: 100svh; display: flex; align-items: center; padding-block: clamp(6rem, 10vh, 8rem) 3rem; }
.receipts__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.receipts .h2 { font-size: clamp(1.8rem, 2.8vw, 2.6rem); }
.receipts .lede { margin-top: 1.2rem; font-size: 1rem; }
.ledger-wrap { position: relative; margin: 2rem 0; }
.ledger { border-top: 1px solid var(--line); }
.ledger__marker { position: absolute; left: -1.1rem; top: 0; width: 2px; height: 0; border-radius: 2px; background: var(--accent); opacity: 0; transition: transform .8s var(--ease), height .8s var(--ease), opacity .5s; }
.ledger-wrap.is-live .ledger__marker { opacity: 1; }
.ledger__row { display: grid; grid-template-columns: clamp(7.5rem, 11vw, 9.5rem) 1fr; align-items: baseline; gap: 1.2rem; padding: .8rem 0; border-bottom: 1px solid var(--line); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.ledger__v { font-size: clamp(1.35rem, 2.2vw, 1.85rem); font-weight: 500; letter-spacing: -.015em; font-variant-numeric: tabular-nums; transition: color .6s var(--ease); }
.ledger__k { font-size: .9rem; color: var(--ink-2); }
.ledger__row--v .ledger__v { color: var(--accent); }
.js .ledger.is-live .ledger__row { opacity: .22; transform: translateX(-6px); }
.js .ledger.is-live .ledger__row.is-on { opacity: 1; transform: none; }
.receipts__viz { position: relative; }
.funnel { width: 100%; aspect-ratio: 1 / .92; }
.funnel__legend { display: flex; flex-wrap: wrap; gap: 1.2rem; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.lg { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: .45rem; vertical-align: 0; }
.lg--all { background: #6B6B76; } .lg--out { background: transparent; border: 1px solid #52525B; } .lg--in { background: var(--accent); }
.funnel__caption { position: absolute; top: 0; right: 0; transition: opacity .35s var(--ease), transform .35s var(--ease); font-family: var(--f-mono); font-size: .72rem; color: var(--ink-2); padding: .35rem .75rem; border-radius: 999px; border: 1px solid var(--line-2); background: color-mix(in srgb, var(--bg) 80%, transparent); }

/* ---------- Month ---------- */
.month { padding-block: var(--sec); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.chips button { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem .95rem; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font-size: .88rem; color: var(--ink-2); transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease-spring); }
.chips button span { font-family: var(--f-mono); font-size: .7rem; opacity: .6; }
.chips button:hover { border-color: var(--ink); color: var(--ink); }
.chips button:active { transform: scale(.95); }
.chips button[aria-pressed="true"] { background: var(--invert); color: var(--invert-ink); border-color: var(--invert); }
.cal { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.cal__col { display: flex; flex-direction: column; gap: .8rem; padding: .9rem; border-radius: var(--r); background: var(--bg-3); min-height: 100%; }
.cal__wk { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); padding: .2rem .3rem .4rem; display: flex; justify-content: space-between; }
.lead {
  padding: 1rem 1.05rem 1.1rem; border-radius: 16px; background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: box-shadow .5s var(--ease);
}
.no-js-anim .lead, .cal.is-ready .lead { transition: transform .5s var(--ease), box-shadow .5s var(--ease), opacity .5s var(--ease), filter .5s var(--ease); }
.lead:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.lead.is-dim { opacity: .3; filter: grayscale(1); transform: scale(.97); }
.lead header { display: flex; align-items: center; gap: .55rem; font-size: .9rem; }
.av { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: .7rem; font-weight: 600; background: var(--bg-3); color: var(--ink); }
.tag { margin-left: auto; font-family: var(--f-mono); font-size: .6rem; letter-spacing: .06em; text-transform: uppercase; padding: .22rem .5rem; border-radius: 6px; background: var(--accent-soft); color: var(--accent); white-space: nowrap; }
.tag--c { background: transparent; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.lead__amt { margin-top: .9rem; font-size: clamp(1.5rem, 2.2vw, 1.9rem); font-weight: 500; letter-spacing: -.015em; line-height: 1; }
.lead__meta { margin-top: .5rem; font-size: .82rem; color: var(--ink-2); line-height: 1.4; }
.lead__meta span { display: flex; align-items: center; gap: .3rem; margin-top: .15rem; color: var(--ink); }
.lead__meta span::before { content: ''; width: 10px; height: 10px; flex: none; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%238B8B94' stroke-width='1.4'%3E%3Cpath d='M6 11s4-3.6 4-6.2A4 4 0 0 0 2 4.8C2 7.4 6 11 6 11z'/%3E%3Ccircle cx='6' cy='4.8' r='1.4'/%3E%3C/svg%3E"); }

/* ---------- Says no ---------- */
.no { padding-block: var(--sec); }
.rejects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.reject {
  position: relative; min-height: 180px; padding: 1.4rem; border-radius: var(--r);
  background: var(--bg-2); border: 1px solid var(--line); overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem;
  transition: border-color .4s, background .4s;
}
.reject:hover { border-color: var(--line-2); }
.reject__n { font-family: var(--f-mono); font-size: .72rem; color: var(--ink-3); }
.reject p { font-size: clamp(1.05rem, 1.35vw, 1.2rem); letter-spacing: -.01em; line-height: 1.4; max-width: 24ch; position: relative; transition: color .6s var(--ease); }
.js .reject.is-closed p { color: var(--ink-3); }
.stamp {
  position: absolute; top: 1.1rem; right: 1.1rem;
  font-family: var(--f-mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase;
  padding: .3rem .6rem; border-radius: 6px; border: 1.5px solid var(--danger); color: var(--danger);
  transform: rotate(-8deg) scale(1); opacity: .9;
}
.js .stamp { opacity: 0; transform: rotate(-8deg) scale(1.7); transition: opacity .3s, transform .5s var(--ease-spring); }
.js .reject.is-closed .stamp { opacity: .9; transform: rotate(-8deg) scale(1); }
.no__foot { margin-top: clamp(2.5rem, 5vw, 4rem); font-size: clamp(1.15rem, 1.7vw, 1.45rem); line-height: 1.5; letter-spacing: -.01em; color: var(--ink-3); max-width: 44ch; }
.no__foot b { color: var(--ink); font-weight: 500; }

/* ---------- Industry ---------- */
.industry { padding-block: var(--sec) calc(var(--sec) * .7); overflow: hidden; }
.industry__grid .lede { margin-top: 1.4rem; }
.industry__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.who { display: grid; gap: .1rem; }
.who li { font-size: clamp(1.8rem, 3.8vw, 3.2rem); font-weight: 500; letter-spacing: -.015em; line-height: 1.18; }
.who li span { position: relative; display: inline-block; }
.who__x { color: var(--ink-soft); opacity: .6; }
.who__x span::after { content: ''; position: absolute; left: -2%; right: -2%; top: 54%; height: 2px; border-radius: 2px; background: var(--ink-3); transform-origin: 0 50%; }
.js .who__x span::after { transform: scaleX(var(--sx, 0)); }
.no-js-anim .who__x span::after { transform: scaleX(1); }
.who__y { color: var(--ink); }
.who__y span::before { content: ''; position: absolute; left: -.45em; top: .58em; width: .15em; height: .15em; margin-top: -.075em; background: var(--accent); transform: scale(1); }
.js .who__y span::before { transform: scale(0); transition: transform .5s var(--ease-spring) .3s; }
.js .who.is-on .who__y span::before { transform: scale(1); }
.who__y { padding-left: .5em; }
.jargon { margin-top: clamp(4rem, 9vw, 7rem); display: grid; gap: .4rem; }
.jargon__row { display: flex; align-items: center; gap: 1.6rem; padding-right: 1.6rem; white-space: nowrap; font-size: clamp(1.9rem, 5vw, 4rem); font-weight: 500; letter-spacing: -.015em; line-height: 1.2; color: var(--ink); }
.jargon__row i { font-style: normal; font-size: .35em; color: var(--accent); }
.jargon__row--ghost { color: transparent; -webkit-text-stroke: 1px var(--ink-soft); }

/* ---------- Compare ---------- */
.compare { padding-block: var(--sec); }
.race { margin-bottom: 2.5rem; padding: 1.4rem 1.6rem; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); display: grid; gap: .9rem; }
.race__label { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.race__row { display: grid; grid-template-columns: 130px 1fr 90px; align-items: center; gap: 1rem; font-size: .9rem; }
.race__bar { height: 8px; border-radius: 8px; background: var(--bg-3); overflow: hidden; }
.race__bar i { display: block; height: 100%; width: 100%; border-radius: inherit; background: var(--ink-3); opacity: .6; transform-origin: 0 50%; transform: scaleX(0); }
.race__row--us .race__bar i { background: var(--accent); opacity: 1; }
.race__row--us .race__who { font-weight: 600; }
.race__t { font-family: var(--f-mono); font-size: .85rem; text-align: right; font-variant-numeric: tabular-nums; }
.table-wrap { border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.cmp { width: 100%; border-collapse: collapse; font-size: 1rem; }
.cmp th, .cmp td { text-align: left; padding: 1.15rem 1.5rem; border-bottom: 1px solid var(--line); vertical-align: middle; line-height: 1.45; }
.cmp tbody tr:last-child > * { border-bottom: 0; }
.cmp thead th { font-family: var(--f-mono); font-size: .72rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); background: var(--bg-2); }
.cmp tbody th { font-weight: 500; }
.cmp td { color: var(--ink-3); }
.cmp .cmp__us { background: var(--accent-soft); color: var(--ink); font-weight: 500; }
.cmp thead .cmp__us { color: var(--accent); background: var(--accent-soft); }
.cmp tbody tr { transition: background .3s; }
.cmp tbody tr:hover { background: var(--bg-2); }
.ok, .bad { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; margin-right: .6rem; vertical-align: middle; position: relative; top: -1px; }
.ok { background: var(--accent); }
.ok::before { content: ''; width: 9px; height: 5px; border-left: 1.8px solid var(--accent-ink); border-bottom: 1.8px solid var(--accent-ink); transform: translateY(-1px) rotate(-45deg); }
.bad { background: var(--bg-3); }
.bad::before { content: ''; width: 8px; height: 1.6px; background: var(--ink-3); }

/* ---------- Ownership ---------- */
.own { padding-block: var(--sec); }
.own__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.own .lede { margin-top: 1.5rem; }
.vault { padding: 1.2rem; border-radius: var(--r-lg); border: 1px solid var(--line); background: radial-gradient(120% 100% at 100% 0%, var(--glow), transparent 60%), var(--bg-2); }
.vault__switch { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 14px; background: var(--bg-3); }
.vault__switch button { padding: .65rem; border-radius: 10px; font-size: .86rem; color: var(--ink-3); transition: background .35s var(--ease), color .35s, box-shadow .35s; }
.vault__switch button[aria-pressed="true"] { background: var(--surface); color: var(--ink); font-weight: 500; box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.vault__card { padding: 1.4rem .6rem .4rem; }
.vault__label { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 1rem; }
.vault__list { display: grid; gap: .5rem; }
.vault__list li { display: flex; align-items: center; gap: .8rem; padding: .85rem 1rem; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); font-size: .98rem; transition: opacity .5s var(--ease), transform .5s var(--ease), filter .5s, background .5s; }
.vault__ic { width: 22px; height: 22px; border-radius: 50%; flex: none; background: var(--accent); position: relative; transition: background .4s; }
.vault__ic::before { content: ''; position: absolute; left: 7px; top: 6px; width: 8px; height: 5px; border-left: 1.8px solid var(--accent-ink); border-bottom: 1.8px solid var(--accent-ink); transform: rotate(-45deg); transition: opacity .3s; }
.vault.is-them .vault__list li { opacity: .4; transform: translateX(10px); text-decoration: line-through; text-decoration-color: var(--danger); }
.vault.is-them .vault__ic { background: var(--line-2); }
.vault.is-them .vault__ic::before { opacity: 0; }
.vault__verdict { margin-top: 1.2rem; font-size: 1.08rem; font-weight: 500; letter-spacing: -.01em; color: var(--accent); min-height: 1.6em; }
.vault.is-them .vault__verdict { color: var(--danger); }

/* ---------- Testimonial ---------- */
.testi { padding-block: calc(var(--sec) * .6) var(--sec); }
.testi__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.testi__who { margin: 2rem 0 1.6rem; color: var(--ink-2); line-height: 1.55; }
.testi__who b { color: var(--ink); font-weight: 500; }
.player { position: relative; justify-self: center; width: min(100%, 360px); aspect-ratio: 480 / 848; border-radius: var(--r-lg); overflow: hidden; background: #000; box-shadow: 0 40px 80px -30px var(--glow), var(--shadow-lg); }
.player__v { width: 100%; height: 100%; object-fit: cover; }
.player__play {
  position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255,255,255,.18); color: #fff;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.35);
  transition: transform .5s var(--ease-spring), background .3s, opacity .4s;
}
.player__play svg { width: 26px; height: 26px; fill: currentColor; margin-left: 4px; }
.player__play:hover { transform: scale(1.08); background: var(--accent); }
.player__ring { position: absolute; inset: -1px; border-radius: 50%; border: 1px solid rgba(255,255,255,.55); animation: ring 2.4s var(--ease) infinite; }
@keyframes ring { 0% { transform: scale(1); opacity: .8 } 100% { transform: scale(1.6); opacity: 0 } }
.player.is-playing .player__play { opacity: 0; pointer-events: none; transform: scale(.6); }

/* ---------- Offer ---------- */
.offer { padding-block: var(--sec); }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.pillar { padding: clamp(1.4rem, 2.5vw, 2rem); border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); transition: box-shadow .5s var(--ease); }
.pillars.is-ready .pillar, .no-js-anim .pillar { transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pillar__n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--invert); color: var(--invert-ink); font-family: var(--f-mono); font-size: .8rem; margin-bottom: 1.5rem; }
.pillar .h3 { margin-bottom: 1.1rem; }
.pillar ul { display: grid; gap: .75rem; }
.pillar li { position: relative; padding-left: 1.3rem; font-size: .96rem; color: var(--ink-2); line-height: 1.5; }
.pillar li::before { content: ''; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; background: var(--accent); }
.terms { display: grid; grid-template-columns: 1.15fr .85fr; gap: 1rem; margin-top: clamp(3rem, 6vw, 5rem); }
.terms__card { padding: clamp(1.6rem, 3vw, 2.6rem); border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.terms__card .h3 { margin-bottom: 1rem; }
.terms__card p { color: var(--ink-2); }
.terms__card p + p { margin-top: .9rem; }
.terms__card--dark { background: var(--bg); border-color: transparent; display: grid; grid-template-columns: auto 1fr; gap: 2rem; align-items: center; }
.terms__price { color: var(--ink) !important; font-weight: 500; font-size: 1.05rem; margin-bottom: 1.4rem; }
.badge { position: relative; width: 128px; height: 128px; display: grid; place-items: center; }
.badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 20s linear infinite; }
.badge text { font-family: var(--f-mono); font-size: 9.2px; letter-spacing: .16em; fill: var(--accent); }
.badge b { font-size: 3.2rem; font-weight: 500; line-height: 1; color: var(--ink); }
.badge::before { content: ''; position: absolute; inset: 26px; border-radius: 50%; border: 1px solid var(--line-2); background: radial-gradient(circle at 30% 20%, var(--accent-soft), transparent 70%); }
@keyframes spin { to { transform: rotate(360deg); } }
.extra { margin-top: clamp(1.5rem, 3vw, 2.5rem); padding: 1.4rem clamp(1.4rem, 3vw, 2.6rem); border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--accent); display: grid; grid-template-columns: auto 1fr; gap: 1rem 2rem; align-items: baseline; }
.extra .kicker { margin: 0; }
.extra p { color: var(--ink-2); }
.extra b { color: var(--ink); font-weight: 500; }

/* ---------- CTA ---------- */
.cta { padding-block: calc(var(--sec) * 1.2); text-align: center; overflow: hidden; isolation: isolate; }
.cta__glow { position: absolute; left: var(--gx, 50%); top: var(--gy, 55%); width: min(900px, 120vw); aspect-ratio: 1; transform: translate(-50%, -50%); z-index: -1; pointer-events: none; background: radial-gradient(closest-side, var(--glow), transparent 70%); transition: left 1.2s var(--ease), top 1.2s var(--ease); }
.cta__inner { display: grid; justify-items: center; }
.cta__title { font-size: clamp(2.8rem, 8vw, 7rem); font-weight: 500; letter-spacing: -.02em; line-height: 1.02; max-width: 12ch; text-wrap: balance; }
.cta .lede { margin: 1.8rem auto 2.6rem; text-align: center; }
/* Cal.com calendar, embedded in the closing section */
.cal-embed { position: relative; width: min(100%, 1000px); min-height: 560px; margin-top: .4rem; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); overflow: hidden; text-align: left; }
.cal-embed iframe { display: block; width: 100%; }
.cal-embed__loading { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--f-mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.cal-embed.is-ready .cal-embed__loading { display: none; }
.cal-embed__alt { margin-top: 1.4rem; font-size: .9rem; color: var(--ink-2); }

/* ---------- Footer (dark band) ---------- */
.foot { padding: 2rem 0 2.2rem; overflow: hidden; }
.foot__mark { font-family: var(--f-brand); font-weight: 700; font-size: clamp(4rem, 17.5vw, 15.5rem); letter-spacing: -.045em; line-height: .9; display: flex; align-items: baseline; color: var(--bg-3); user-select: none; margin-bottom: 1.6rem; white-space: nowrap; }
.foot__mark .brand__dot { background: var(--accent); }
.foot__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; font-size: .9rem; color: var(--ink-3); }
.foot__row nav { display: flex; gap: 1.6rem; }
.foot__row a { color: var(--accent); transition: color .25s; }
.foot__row a:hover { color: var(--ink); }

/* ---------- Hero: the system, as four icons on a rail ---------- */
.hero__demo { padding-left: clamp(0rem, 2.5vw, 2.5rem); border-left: 1px solid var(--line); }
.flow { position: relative; display: grid; }
.flow__step { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 1.1rem; padding-bottom: 1.9rem; transition: opacity .5s var(--ease); }
.flow__step:last-child { padding-bottom: 0; }
/* rail runs from this icon down to the next one */
.flow__rail { position: absolute; left: 22px; top: 50px; bottom: 6px; width: 0; }
.flow__rail::before, .flow__fill { content: ''; position: absolute; left: 0; top: 0; bottom: 0; transform: translateX(-50%); }
.flow__rail::before { width: 1px; background: var(--line-2); }
.flow__fill { display: block; width: 1.5px; background: var(--accent); transform-origin: 50% 0; transform: translateX(-50%) scaleY(1); }
.flow__step:last-child .flow__rail { display: none; }
.flow__ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; border: 1px solid var(--accent-line); background: var(--accent-soft); color: var(--accent); transition: color .4s, border-color .4s, background .4s, box-shadow .4s; }
.flow__ic svg { width: 21px; height: 21px; }
.flow__k { display: flex; align-items: center; gap: .5rem; font-family: var(--f-mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); line-height: 1.4; }
.flow__k b { font-weight: 500; color: var(--accent); }
.flow__t { margin-top: .15rem; font-family: var(--f-head); font-size: clamp(1.02rem, 1.3vw, 1.15rem); line-height: 1.3; color: var(--ink); }
.flow__st { display: flex; justify-content: flex-end; }
.flow__note { text-align: left !important; margin-top: 1.8rem; }

.fv-live { display: inline-flex; align-items: center; gap: .4rem; }
.fv-live i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.flow .fv-live { color: var(--accent); border-color: var(--accent-line); background: var(--accent-soft); }
.js .flow.is-live .fv-live { color: var(--ink-3); border-color: var(--line-2); background: transparent; }
.js .flow.is-live .is-reached .fv-live { color: var(--accent); border-color: var(--accent-line); background: var(--accent-soft); }
.js .flow.is-live .is-current .fv-live i { animation: pulse-dot 1.4s var(--ease) infinite; }
@keyframes pulse-dot { 0%, 100% { opacity: 1 } 50% { opacity: .3 } }
.fv-pill { padding: .25rem .7rem; border-radius: 999px; font-size: .76rem; border: 1px solid var(--line-2); color: var(--ink-3); white-space: nowrap; transition: color .4s, border-color .4s, background .4s; }
.fv-send, .fv-slot { color: var(--accent); border-color: var(--accent-line); background: var(--accent-soft); }
.fv-slot { font-weight: 500; }
.fv-state { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ok); transition: opacity .4s; }

/* Live states (JS only). Without JS every step shows complete. */
.js .flow.is-live .flow__step { opacity: .4; }
.js .flow.is-live .flow__step.is-reached { opacity: 1; }
.js .flow.is-live .flow__ic { color: var(--ink-3); border-color: var(--line-2); background: transparent; }
.js .flow.is-live .is-reached .flow__ic { color: var(--accent); border-color: var(--accent-line); background: var(--accent-soft); }
.js .flow.is-live .is-current .flow__ic { box-shadow: 0 0 0 5px var(--accent-soft); }
.js .flow.is-live .fv-send, .js .flow.is-live .fv-slot { color: var(--ink-3); border-color: var(--line-2); background: transparent; }
.js .flow.is-live .fv-send.is-on, .js .flow.is-live .fv-slot.is-on { color: var(--accent); border-color: var(--accent-line); background: var(--accent-soft); }
.js .flow.is-live .fv-state { opacity: 0; }
.js .flow.is-live .fv-state.is-done { opacity: 1; }

@media (max-width: 1024px) {
  .hero__demo { padding-left: 0; border-left: 0; padding-top: 2rem; border-top: 1px solid var(--line); }
}
@media (max-width: 420px) {
  .flow__step { grid-template-columns: 40px minmax(0, 1fr) auto; gap: .85rem; }
  .flow__ic { width: 40px; height: 40px; border-radius: 12px; }
  .flow__rail { left: 20px; top: 46px; }
  .fv-pill { font-size: .7rem; padding: .22rem .55rem; }
}

/* ---------- Step 03: the chat ---------- */
.step__visual--chat .chat { width: min(100%, 420px); }
.step__visual--chat .fineprint { text-align: center; }

/* ---------- Industry: the questions it asks ---------- */
.industry__ask { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem clamp(2.5rem, 6vw, 6rem); align-items: center; margin-top: clamp(4rem, 8vw, 6.5rem); }
.industry__ask-t { font-size: clamp(1.3rem, 2.1vw, 1.8rem); font-weight: 500; line-height: 1.3; letter-spacing: -.01em; max-width: 22ch; margin-bottom: 1rem; }
.industry__ask .muted { max-width: 44ch; }

/* ==========================================================================
   Case study page
   ========================================================================== */
.cs-hero { position: relative; padding: clamp(8rem, 18vh, 11rem) 0 clamp(3rem, 6vw, 5rem); overflow: hidden; isolation: isolate; }
.crumbs { display: flex; gap: .6rem; font-size: .85rem; color: var(--ink-3); margin-bottom: 2rem; }
.crumbs a { color: var(--ink-2); transition: color .25s; }
.crumbs a:hover { color: var(--accent); }
.cs-title { font-size: clamp(2.5rem, 5.8vw, 5rem); font-weight: 500; letter-spacing: -.015em; line-height: 1.05; max-width: 15ch; text-wrap: balance; }
.cs-hero .lede { margin-top: 1.6rem; }
.figs { margin-top: clamp(3rem, 6vw, 4.5rem); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.fig { display: flex; flex-direction: column-reverse; padding: 1.4rem 1.3rem 1.5rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .4s; }
.fig:hover { background: var(--bg-2); }
.fig dd { font-size: clamp(1.8rem, 3.2vw, 2.7rem); font-weight: 500; letter-spacing: -.015em; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fig dt { margin-top: .55rem; font-size: .85rem; color: var(--ink-2); }
.fig--v dd { color: var(--accent); }
.cs-proof { padding-block: clamp(1rem, 3vw, 2rem) clamp(5rem, 10vw, 8rem); }
.shot { display: grid; gap: 1.2rem; }
.shot__btn { position: relative; display: block; width: 100%; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line-2); background: #fff; cursor: zoom-in; box-shadow: 0 40px 80px -40px var(--glow), var(--shadow-lg); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.shot__btn:hover { transform: translateY(-3px); }
.shot__btn img { width: 100%; height: auto; }
.shot__hint { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: .4rem; font-family: var(--f-mono); font-size: .7rem; padding: .4rem .75rem; border-radius: 999px; background: #18181B; color: #fff; }
.shot__hint svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.shot figcaption { color: var(--ink-2); max-width: 60ch; font-size: .95rem; }
.shot figcaption b { display: block; color: var(--ink); font-weight: 500; margin-bottom: .2rem; }
.cs-method { padding-block: var(--sec); }
.method { display: grid; gap: 1rem; }
.method__item { display: grid; grid-template-columns: 80px 1fr; gap: 1.5rem; padding: clamp(1.5rem, 3vw, 2.4rem); border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.method__n { font-family: var(--f-mono); font-size: .8rem; color: var(--accent); padding-top: .35rem; }
.method__item .h3 { margin-bottom: .9rem; }
.method__item p { color: var(--ink-2); max-width: 68ch; }
.method__item p + p { margin-top: .8rem; }
.notice { margin-top: 1rem; padding: clamp(1.5rem, 3vw, 2.4rem); border-radius: var(--r); color: var(--ink-2); }
.notice .kicker { color: var(--accent); }
.notice p { max-width: 70ch; font-size: 1.05rem; }
.notice b { color: var(--ink); font-weight: 500; }
.cs-back { margin-top: 2rem; color: var(--ink-2); }
.lightbox { margin: auto; max-width: min(96vw, 1800px); padding: 0; border: 0; border-radius: 14px; background: #fff; overflow: visible; }
.lightbox::backdrop { background: rgba(5,5,7,.85); backdrop-filter: blur(4px); }
.lightbox img { width: 100%; height: auto; border-radius: 14px; }
.lightbox__close { position: absolute; top: -48px; right: 0; padding: .5rem 1rem; border-radius: 999px; background: #fff; color: #18181B; font-size: .85rem; }
.lightbox[open] { animation: lb .5s var(--ease); }
@keyframes lb { from { opacity: 0; transform: scale(.94) } }
@media (max-width: 860px) {
  .figs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .method__item { grid-template-columns: 1fr; gap: .6rem; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__demo { max-width: 560px; margin-top: 1rem; }
  .receipts__grid { grid-template-columns: 1fr; }
  .cal { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rejects { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .terms { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
  .nav__burger { display: block; }
  .nav__inner { padding-left: 1.2rem; gap: .6rem; }
  .hero__stats { grid-template-columns: repeat(3, auto); }
  .hero__source { grid-column: 1 / -1; justify-self: start; text-align: left; max-width: none; }
  .night__grid, .industry__grid, .industry__ask, .own__grid, .testi__grid { grid-template-columns: 1fr; }
  .night__clock { display: none; }
  .js .beats.is-live .beat { opacity: 1; }
  .sec-head--split { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; position: relative; top: auto !important; min-height: 0; }
  .pillars { grid-template-columns: 1fr; }
  .receipts__pin { min-height: 0; }
  .player { width: min(100%, 320px); }
}
@media (max-width: 560px) {
  :root { --r-lg: 20px; }
  .nav { inset: 10px 0 auto; }
  .nav__inner { height: 56px; }
  .nav__cta .btn__label { font-size: .85rem; }
  .hero__for { font-size: .86rem; gap: .7rem; }
  .hero__rule { width: 20px; }
  .hero__stats { gap: 1rem 1.4rem; }
  .stat dd { font-size: 2rem; }
  .stat dt { font-size: .74rem; }
  .chat__body { height: 330px; }
  .cal { grid-template-columns: 1fr; }
  .rejects { grid-template-columns: 1fr; }
  .reject { min-height: 140px; }
  .race__row { grid-template-columns: 96px 1fr 64px; gap: .6rem; font-size: .8rem; }
  .cmp th, .cmp td { padding: .9rem .8rem; font-size: .86rem; }
  .cmp thead th:first-child { width: 34%; }
  .ok, .bad { display: none; }
  .terms__card--dark { grid-template-columns: 1fr; }
  .extra { grid-template-columns: 1fr; }
  .hero__ctas .btn { width: 100%; justify-content: space-between; }
  .ledger__row { grid-template-columns: 7rem 1fr; }
}

/* ==========================================================================
   Reduced motion: everything lands in its final state
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .marquee__track { animation: none; }
}
