/* InteliBuy — site styles
   Brand colours are data colours: sky = Google, pink = Meta, violet = CRM,
   slate dashed = plan, coral = behind plan. Chrome stays navy and white. */

:root {
  --bg: #021422;
  --bg-alt: #03192A;
  --card-a: #0C2740;
  --card-b: #091F33;
  --tile: #0C2740;
  --raised: #0F2E4A;
  --seg-on: #163A57;
  --field: #071C2E;

  --white: #FFFFFF;
  --ink: #F2F8FC;
  --text-2: #B9D3E2;
  --text-card: #A9C3D3;
  --faint: #7F9BB0;
  --link: #7FD3F2;
  --pale: #A9DDF2;
  --peach: #FFB48A;

  --line: rgba(160, 210, 235, .14);
  --line-2: rgba(160, 210, 235, .08);
  --line-hi: rgba(160, 210, 235, .32);

  --sky: #0593C6;   --sky-l: #2BB8EC;
  --pink: #D83995;  --pink-l: #F062B4;
  --violet: #7A55E0; --violet-l: #9C86FF;
  --plan: #8FA3B5;
  --coral: #FF8A5B; --coral-line: #E4571C;

  --good: #3FD39A; --good-bg: rgba(63, 211, 154, .12);
  --bad: #FF8A5B;  --bad-bg: rgba(255, 138, 91, .13);
  --warn: #F5B342; --warn-bg: rgba(245, 179, 66, .13);

  --btn: linear-gradient(120deg, #B3226F, #BE2A7C);
  --accent: linear-gradient(120deg, #0593C6, #5C6BD8, #D83995);

  --sans: "Satoshi", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --gutter: clamp(16px, 4vw, 64px);
  --header: 72px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --r-sm: 8px; --r: 14px; --r-lg: 22px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
table { border-collapse: collapse; width: 100%; }
code, .mono { font-family: var(--mono); }
.tnum, td, .num { font-variant-numeric: tabular-nums; }
.muted { color: var(--faint); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  background: var(--white); color: #04223A; font-weight: 700; padding: 10px 16px; border-radius: var(--r-sm);
  transition: top .2s;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1520px; margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- type ---------- */
.kicker {
  font: 500 12px/16px var(--mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--peach);
  margin-bottom: 18px;
}
.kicker span { color: var(--white); }

.hl {
  font-weight: 900;
  font-size: clamp(32px, 3.5vw, 56px);
  line-height: 1.04;
  letter-spacing: -.028em;
  color: var(--white);
  text-wrap: balance;
}
.hl-xl { font-size: clamp(40px, 5vw, 80px); line-height: 1; letter-spacing: -.035em; }
.hl-hero { font-size: clamp(44px, 5.4vw, 84px); line-height: 1.0; letter-spacing: -.035em; }
.hl .ln { display: block; }
.hl-hero .ln-2 { font-weight: 700; color: var(--pale); }
.hl .ln-soft { font-weight: 500; color: var(--text-2); }

.lede { font-size: clamp(17px, 1.3vw, 20px); line-height: 1.55; color: var(--text-2); max-width: 52ch; }
.note { font-size: 12.5px; line-height: 1.45; color: var(--text-card); }
.mono-cap { display: block; font: 500 11px/16px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-card); }
.eyebrow { font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--text-card); }
h3 { font-size: 18px; line-height: 1.35; font-weight: 700; letter-spacing: -.012em; color: var(--white); }
.idx { font: 500 12px/1.9 var(--mono); color: var(--peach); letter-spacing: .04em; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px; border-radius: var(--r-sm);
  font-size: 15.5px; font-weight: 700; line-height: 1; white-space: nowrap;
  transition: background-color .2s, border-color .2s, filter .2s, transform .15s;
  border: 1px solid transparent;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--btn); color: var(--white); box-shadow: 0 8px 24px -10px rgba(216, 57, 149, .7); }
.btn-primary:hover { filter: brightness(1.1); }
.btn-ghost { background: rgba(255, 255, 255, .06); border-color: rgba(160, 210, 235, .25); color: var(--white); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: rgba(160, 210, 235, .45); }
.btn-white { background: var(--white); color: #04587E; }
.btn-white:hover { background: #E8F6FC; }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: 14.5px; }
.link-btn { color: var(--link); font-size: 13px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(127, 211, 242, .4); min-height: 32px; }
.link-btn:hover { text-decoration-color: var(--link); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- pills, swatches ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 5px; white-space: nowrap;
  padding: 3px 10px; border-radius: 999px;
  font-size: 12.5px; font-weight: 700; line-height: 18px; font-variant-numeric: tabular-nums;
}
.pill-good { color: var(--good); background: var(--good-bg); }
.pill-bad { color: var(--bad); background: var(--bad-bg); }
.pill-warn { color: var(--warn); background: var(--warn-bg); }
.pill-info { color: var(--link); background: rgba(127, 211, 242, .12); }
.pill-quiet { color: var(--text-card); background: rgba(255, 255, 255, .06); }

.sw { display: inline-block; width: 10px; height: 10px; border-radius: 3px; flex: none; }
.sw-google { background: var(--sky); }
.sw-meta { background: var(--pink); }
.sw-crm { background: var(--violet); }
.sw-plan, .sw-dash { width: 16px; height: 2px; border-radius: 0; background: repeating-linear-gradient(90deg, var(--plan) 0 4px, transparent 4px 7px); }
.sw-weekend { background: rgba(126, 214, 246, .12); outline: 1px solid rgba(126, 214, 246, .2); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12.5px; color: var(--text-card); }
.legend li { display: inline-flex; align-items: center; gap: 7px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header);
  background: rgba(2, 20, 34, .88);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.scrolled .site-header { border-bottom-color: var(--line-2); }
.header-row { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 11px; min-height: 44px; }
.brand-word { font-size: 23px; letter-spacing: -.02em; font-weight: 400; color: var(--white); }
.brand-word b { font-weight: 900; }
.petals .p { fill: #fff; opacity: .42; transition: opacity .35s; }
.petals .p.on { opacity: 1; }
.site-nav { display: flex; gap: 26px; margin-left: 12px; }
.site-nav a { font-size: 15px; font-weight: 500; color: var(--text-2); padding: 10px 0; transition: color .2s; }
.site-nav a:hover { color: var(--white); }
.header-cta { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: var(--r-sm); position: relative; }
.menu-btn span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .25s, top .25s; }
.menu-btn span:first-child { top: 17px; }
.menu-btn span:last-child { top: 25px; }
.menu-open .menu-btn span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .menu-btn span:last-child { top: 21px; transform: rotate(-45deg); }
.nav-only-mobile { display: none !important; }

/* ---------- pager (deck mode only) ---------- */
.pager { display: none; }
.deck .pager { display: block; }
.rail {
  position: fixed; right: 14px; top: 50%; transform: translateY(-50%); z-index: 40;
  display: flex; flex-direction: column; gap: 2px;
}
.rail button { position: relative; width: 36px; height: 22px; display: flex; align-items: center; justify-content: flex-end; }
.rail .tick { width: 10px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .28); transition: width .3s var(--ease), background-color .2s; }
.rail button:hover .tick { background: rgba(255, 255, 255, .7); }
.rail button[aria-current] .tick { width: 24px; background: linear-gradient(90deg, var(--coral), var(--pink)); }
.rail .tip {
  position: absolute; right: 42px; top: 50%; transform: translate(6px, -50%);
  white-space: nowrap; font: 500 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase;
  color: var(--white); background: var(--tile); border: 1px solid var(--line); border-radius: 6px; padding: 6px 8px;
  opacity: 0; pointer-events: none; transition: opacity .15s, transform .15s;
}
.rail button:hover .tip, .rail button:focus-visible .tip { opacity: 1; transform: translate(0, -50%); }
.folio { position: fixed; right: 24px; bottom: 18px; z-index: 40; font: 400 12px var(--mono); color: var(--faint); letter-spacing: .08em; }
.folio-now { color: var(--white); font-weight: 500; }

/* ---------- slides ---------- */
.slide { position: relative; padding-block: clamp(72px, 10vw, 120px); border-top: 1px solid var(--line-2); }
.slide:first-child { border-top: 0; }
.s-alt { background: linear-gradient(180deg, rgba(5, 42, 66, .32), rgba(5, 42, 66, .12)); }

html.deck { scroll-snap-type: y mandatory; }
.deck .slide {
  height: calc(100dvh - var(--header));
  min-height: 0;
  padding-block: 28px;
  display: flex; align-items: center;
  scroll-snap-align: start;
  overflow: hidden;
}
.deck .slide-inner {
  padding-inline: calc(64px / var(--z, 1)) calc(92px / var(--z, 1));
  max-width: calc(1520px / var(--z, 1));
}

/* ---------- reveal motion (only with JS) ---------- */
.js .slide .hl .ln { overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.js .slide .hl .ln > span { display: inline-block; transform: translateY(108%); transition: transform .75s var(--ease); }
.js .slide .hl .ln:nth-child(2) > span { transition-delay: .07s; }
.js .slide .hl .ln:nth-child(3) > span { transition-delay: .14s; }
.js .slide.in .hl .ln > span { transform: none; }
.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .55s ease-out .18s, transform .7s var(--ease) .18s; }
.js .in [data-reveal] { opacity: 1; transform: none; }
.js [data-stagger] > * { opacity: 0; transform: translateY(12px); transition: opacity .5s ease-out, transform .6s var(--ease); transition-delay: calc(.22s + var(--i, 0) * 60ms); }
.js .in [data-stagger] > * { opacity: 1; transform: none; }
.show-all .slide .hl .ln > span, .show-all [data-reveal], .show-all [data-stagger] > * { opacity: 1 !important; transform: none !important; }

/* ---------- cards ---------- */
.card {
  position: relative;
  background: linear-gradient(180deg, var(--card-a), var(--card-b));
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 28px 56px -28px rgba(0, 0, 0, .7);
}
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; padding: 16px 20px 0; }
.card-title { display: flex; align-items: center; gap: 8px 16px; flex-wrap: wrap; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 20px 14px; }
.sync { display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--text-card); }
.sync-mark { width: 16px; height: 16px; flex: none; }
.loader .p { fill: var(--link); opacity: .18; animation: petal 1.6s linear infinite; animation-delay: calc(var(--r) * -100ms); }
.loader.done .p { animation: none; opacity: 1; fill: var(--good); }
@keyframes petal { 0%, 100% { opacity: .18; } 10% { opacity: 1; } 40% { opacity: .18; } }

.table-wrap { padding: 0 20px 18px; overflow-x: auto; }
.data-table { font-size: 13px; }
.data-table th, .data-table td { padding: 6px 10px; text-align: right; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.data-table th:first-child, .data-table td:first-child { text-align: left; }
.data-table th { font: 500 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.table-scroll { overflow-x: auto; }

/* ---------- 01 hero ---------- */
.s-hero { background: linear-gradient(155deg, #021422 0%, #052A42 55%, #2A0A24 100%); border-top: 0; overflow: hidden; }
.hero-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(640px 420px at 88% 8%, rgba(5, 147, 198, .2), transparent 62%),
    radial-gradient(520px 380px at 96% 92%, rgba(216, 57, 149, .16), transparent 62%);
}
.s-hero .slide-inner { position: relative; }
.hero-top { margin-bottom: clamp(22px, 3vh, 36px); }
.hero-side { display: flex; align-items: center; justify-content: space-between; gap: 20px 48px; flex-wrap: wrap; margin-top: clamp(18px, 2.6vh, 28px); }
.hero-side .lede { max-width: 62ch; }
.hero-side .cta-row { margin-top: 0; flex: none; }
@media (min-width: 1100px) { .hl-hero .ln { white-space: nowrap; } }
.legend-src .src-k { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.hero-card::before { content: ""; position: absolute; left: 20px; right: 20px; top: -1px; height: 2px; background: var(--accent); border-radius: 2px; opacity: .9; }
.hero-card .card-head { padding-top: 16px; }
.runrate { position: relative; height: clamp(250px, 33vh, 360px); margin: 6px 0 0; outline-offset: -2px; touch-action: pan-y; }
.runrate svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.runrate text { font: 400 11px var(--mono); fill: var(--faint); }
.rr-grid-line { stroke: var(--line-2); }
.rr-plan { stroke: var(--plan); stroke-width: 1.75; stroke-dasharray: 5 5; fill: none; }
.rr-actual { stroke: var(--sky-l); stroke-width: 2.75; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.rr-proj { stroke: var(--coral-line); stroke-width: 2; stroke-dasharray: 6 5; fill: none; }
.rr-gap { fill: var(--coral); opacity: .2; }
.rr-gap-future { fill: url(#hatch); opacity: .9; }
.rr-today-line { stroke: rgba(255, 255, 255, .55); stroke-width: 1; }
.rr-guide { stroke: rgba(255, 255, 255, .35); stroke-width: 1; stroke-dasharray: 2 3; }
.rr-dot { fill: var(--bg); stroke-width: 2; }
.rr-today {
  position: absolute; transform: translate(-50%, 0); top: 4px;
  font: 500 11px/1 var(--mono); letter-spacing: .08em; color: var(--white);
  background: #031A2C; border: 1px solid rgba(255, 255, 255, .45); border-radius: 999px; padding: 5px 10px; white-space: nowrap;
}
.rr-callout {
  position: absolute; min-width: 220px;
  background: var(--raised); border: 1px solid var(--line); border-left: 3px solid var(--coral);
  border-radius: 10px; padding: 10px 14px 11px;
  box-shadow: 0 16px 32px -12px rgba(0, 0, 0, .7);
}
.rr-callout .k { font: 500 10.5px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-card); }
.rr-callout .v { font-size: 26px; font-weight: 900; letter-spacing: -.02em; color: var(--coral); line-height: 1.15; font-variant-numeric: tabular-nums; }
.rr-callout .s { font-size: 13px; color: var(--ink); font-variant-numeric: tabular-nums; }
.rr-callout .s b { font-weight: 700; }
.rr-end { position: absolute; transform: translateY(-50%); font: 500 11px/1.35 var(--mono); letter-spacing: .04em; white-space: nowrap; }
.rr-end b { display: block; font-weight: 500; font-size: 12.5px; letter-spacing: 0; }
.rr-end-plan { color: var(--plan); }
.rr-end-proj { color: var(--coral); }
.rr-tip {
  position: absolute; pointer-events: none; z-index: 2;
  background: #04192A; border: 1px solid var(--line-hi); border-radius: 8px; padding: 8px 10px;
  font-size: 12.5px; line-height: 1.5; white-space: nowrap; font-variant-numeric: tabular-nums;
  box-shadow: 0 12px 24px -10px rgba(0, 0, 0, .7);
  opacity: 0; transition: opacity .12s;
}
.rr-tip.on { opacity: 1; }
.rr-tip .d { font: 500 10.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-card); }
.rr-tip i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 6px; }
.key-line { display: inline-block; width: 18px; height: 0; margin: 0 6px 3px 0; vertical-align: middle; border-top: 2.5px solid var(--sky-l); }
.key-plan { border-top: 2px dashed var(--plan); margin-left: 14px; }
.key-proj { border-top: 2px dashed var(--coral-line); margin-left: 14px; }
.hint { margin-left: 18px; color: var(--faint); font-size: 11px; }

/* hero chart draw-in: line first, then gap, projection and labels */
.js .runrate .rr-actual.anim { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.2s var(--ease) .2s; }
.js .runrate.go .rr-actual.anim { stroke-dashoffset: 0; }
.js .runrate .late { opacity: 0; transition: opacity .5s ease-out 1.25s; }
.js .runrate.go .late { opacity: 1; }
.js .runrate.go .rr-tip.late, .rr-tip { transition: opacity .12s; }

/* ---------- 02 how ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 40px 64px; align-items: center; }
.split-l .lede { margin-top: 20px; }
.outputs { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 32px; margin-top: 32px; }
.outputs li, .checklist li { display: grid; grid-template-columns: 34px 1fr; border-top: 1px solid var(--line); padding-top: 14px; }
.outputs p, .checklist p { font-size: 15px; line-height: 1.5; color: var(--text-2); margin-top: 3px; }
.ledger { font-size: 14px; margin-top: 10px; }
.ledger th { font: 500 10.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); text-align: left; padding: 10px 12px 8px; border-bottom: 1px solid var(--line); }
.ledger td { padding: 11px 12px; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.ledger th:first-child, .ledger td:first-child { padding-left: 20px; }
.ledger th:last-child, .ledger td:last-child { padding-right: 20px; }
.ledger .num { text-align: right; }
.ledger .src { display: inline-flex; align-items: center; gap: 9px; }
.ledger .src small { display: block; font: 400 10.5px var(--mono); color: var(--faint); letter-spacing: .04em; }
.ledger tfoot td { border-bottom: 0; font-weight: 700; padding-block: 13px; color: var(--white); }
.ledger tbody tr { transition: background-color .4s; }
.ledger tbody tr.tick { background: rgba(127, 211, 242, .06); }
.ledger tbody tr { transition: opacity .35s, transform .35s var(--ease), background-color .6s; }
.ledger tbody tr.pend { opacity: 0; transform: translateX(-6px); }
.ledger .dpos { color: var(--warn); }
.ledger .dneg { color: var(--bad); }
.ledger .dok { color: var(--text-card); }

/* ---------- 03 hood ---------- */
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; margin-bottom: clamp(24px, 3.4vh, 40px); }
.head-tight { margin-bottom: 18px; }
.head-lede { max-width: 40ch; }
.flow {
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 24px clamp(48px, 9vw, 160px); align-items: center;
  padding: 26px 30px;
}
.flow-wires { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.flow-wires path { fill: none; stroke: rgba(160, 210, 235, .2); stroke-width: 1.25; }
.flow-col { display: grid; gap: 10px; position: relative; }
.node {
  display: flex; align-items: center; gap: 12px;
  background: rgba(2, 20, 34, .55); border: 1px solid var(--line); border-radius: 10px;
  padding: 11px 14px;
}
.node b { display: block; font-size: 15px; font-weight: 700; line-height: 1.3; }
.node span { display: block; font-size: 11.5px; color: var(--text-card); }
.flow-out .node { border-left: 2px solid var(--peach); }
.flow-hub { position: relative; display: grid; justify-items: center; gap: 12px; }
.hub { filter: drop-shadow(0 0 28px rgba(5, 147, 198, .35)); }
.hub-label { font-size: 11px; color: var(--text-card); text-align: center; line-height: 1.5; letter-spacing: .06em; text-transform: uppercase; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px 40px; margin-top: clamp(22px, 3vh, 36px); }
.steps li { border-top: 1px solid var(--line); padding-top: 14px; }
.steps h3 { margin-top: 2px; }
.steps p { font-size: 15px; line-height: 1.5; color: var(--text-2); margin-top: 6px; max-width: 42ch; }

/* ---------- 04 plan ---------- */
.head-num { align-items: flex-end; }
.bignum { text-align: right; }
.bignum-v { display: block; font-size: clamp(56px, 6.6vw, 108px); font-weight: 900; letter-spacing: -.045em; line-height: .92; font-variant-numeric: tabular-nums; margin: 6px 0; }
.bignum-v small { font-size: .38em; font-weight: 500; letter-spacing: -.01em; color: var(--pale); margin-left: .12em; }
.plan-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 32px 44px; align-items: start; }
.sheet {
  background: #F4F1EA; color: #1A2633; border-radius: 6px; overflow: hidden;
  box-shadow: 0 36px 70px -26px rgba(0, 0, 0, .8), 0 0 0 1px rgba(0, 0, 0, .25);
  transform: rotate(-1.2deg); transform-origin: 50% 0;
}
.js .in .sheet[data-reveal] { transform: rotate(-1.2deg); }
.sheet-bar { display: flex; align-items: center; gap: 10px; background: #E6E0D3; padding: 8px 12px; font-size: 11.5px; color: #33404C; border-bottom: 1px solid #D3CCBD; }
.xl { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 3px; background: #1F7A4D; color: #fff; font: 700 11px var(--sans); }
.sheet-body { overflow-x: auto; }
.sheet table { font: 400 11.5px/1 var(--mono); color: #1A2633; }
.sheet th, .sheet td { border: 1px solid #DDD6C8; padding: 6px 8px; text-align: left; white-space: nowrap; height: 26px; }
.sheet .colh th { background: #ECE7DC; color: #5C636B; font-weight: 400; text-align: center; padding: 3px 6px; height: 20px; }
.sheet .rowh { background: #ECE7DC; color: #5C636B; text-align: center; width: 28px; padding: 0 4px; }
.sheet .merged { font-weight: 500; letter-spacing: .02em; }
.sheet .hdr td { font-weight: 500; background: #E9E3D6; }
.sheet .num { text-align: right; }
.sheet .found { background: rgba(5, 147, 198, .12); box-shadow: inset 2px 0 0 #04587E, inset -2px 0 0 #04587E; }
.sheet .found-top { box-shadow: inset 2px 0 0 #04587E, inset -2px 0 0 #04587E, inset 0 2px 0 #04587E; }
.sheet .found-bot { box-shadow: inset 2px 0 0 #04587E, inset -2px 0 0 #04587E, inset 0 -2px 0 #04587E; }
.sheet .total td { font-weight: 500; border-top: 2px solid #1A2633; }
.sheet-note { font-size: 11px; line-height: 1.45; color: #33404C; background: #ECE7DC; padding: 8px 12px; border-top: 1px solid #D3CCBD; }
.sheet-note .tag { display: inline-block; background: #04587E; color: #fff; padding: 1px 6px; border-radius: 3px; margin-right: 6px; text-transform: uppercase; letter-spacing: .06em; font-size: 10px; }
.bars-card { padding-bottom: 10px; }
.due-tick { display: inline-block; width: 0; height: 12px; border-left: 2px dashed var(--white); margin-right: 7px; vertical-align: -2px; opacity: .8; }
.pbars { position: relative; padding: 14px 20px 6px; display: grid; gap: 14px; }
.pbars li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 14px; align-items: center; }
.pb-name { display: flex; align-items: center; gap: 9px; font-size: 14.5px; font-weight: 500; color: var(--white); min-width: 0; }
.pb-name span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pb-nums { font-size: 12.5px; color: var(--text-card); text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pb-nums b { color: var(--white); font-weight: 700; }
.pb-track { grid-column: 1 / -1; position: relative; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .07); display: flex; align-items: center; }
.pb-fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 99px; transform-origin: left; transition: transform 1s var(--ease); }
.pb-short { position: absolute; top: 0; bottom: 0; border-radius: 0 99px 99px 0; background: repeating-linear-gradient(135deg, rgba(255, 138, 91, .55) 0 3px, transparent 3px 6px); }
.pb-due { position: absolute; top: -5px; bottom: -5px; width: 0; border-left: 2px dashed rgba(255, 255, 255, .8); }
.pb-row-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; margin-top: -2px; }
.js .bars-card .pb-fill { transform: scaleX(0); }
.js .in .bars-card .pb-fill { transform: scaleX(1); }

/* ---------- 05 run rate ---------- */
.rr-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); gap: 32px 48px; align-items: start; }
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.calc-inputs { padding: 24px; display: grid; gap: 20px; }
.calc-out { padding: 26px 28px; border-left: 1px solid var(--line); display: flex; flex-direction: column; align-items: flex-start; }
.field label { display: flex; justify-content: space-between; gap: 8px; font-size: 13.5px; font-weight: 500; color: var(--text-card); margin-bottom: 8px; }
.field-row { position: relative; display: flex; align-items: center; }
.field-row .pre { position: absolute; left: 13px; color: var(--text-card); font-size: 17px; pointer-events: none; }
.field input[type=number] {
  width: 100%; height: 46px; padding: 0 12px 0 30px;
  background: var(--field); color: var(--white); border: 1px solid var(--line); border-radius: var(--r-sm);
  font: 700 18px var(--sans); font-variant-numeric: tabular-nums; -moz-appearance: textfield;
  transition: border-color .2s;
}
.field input#rr-day { padding-left: 12px; }
.field input[type=number]:hover { border-color: var(--line-hi); }
.field input[type=number]:focus { border-color: var(--link); outline: none; box-shadow: 0 0 0 3px rgba(127, 211, 242, .2); }
.field input::-webkit-outer-spin-button, .field input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.field input[aria-invalid=true] { border-color: var(--bad); }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; margin-top: 6px; cursor: pointer; }
input[type=range]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--sky-l) var(--fill, 50%), rgba(255, 255, 255, .12) var(--fill, 50%)); }
input[type=range]::-moz-range-track { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .12); }
input[type=range]::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--sky-l); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: var(--white); margin-top: -7px; box-shadow: 0 0 0 4px rgba(43, 184, 236, .25); }
input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border: 0; border-radius: 50%; background: var(--white); box-shadow: 0 0 0 4px rgba(43, 184, 236, .25); }
input[type=range]:focus-visible { outline: none; }
input[type=range]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px var(--link); }
.rr-need { font-size: clamp(44px, 4.6vw, 74px); font-weight: 900; letter-spacing: -.04em; line-height: 1; margin: 8px 0 4px; font-variant-numeric: tabular-nums; color: var(--white); }
.rr-need.invalid { font-size: clamp(32px, 3vw, 44px); color: var(--text-card); }
.rr-sub { color: var(--text-2); font-size: 15px; margin-bottom: 14px; }
.month-track { position: relative; width: 100%; height: 10px; border-radius: 99px; background: rgba(255, 255, 255, .07); margin: 20px 0 14px; }
.month-track::after { content: "Budget"; position: absolute; right: 0; top: 16px; font: 400 10.5px var(--mono); color: var(--faint); letter-spacing: .06em; text-transform: uppercase; }
.month-track i { position: absolute; top: 0; bottom: 0; border-radius: 99px; transition: width .4s var(--ease), left .4s var(--ease); }
.mt-spent { left: 0; background: var(--sky-l); }
.mt-proj { background: repeating-linear-gradient(135deg, rgba(228, 87, 28, .7) 0 3px, transparent 3px 6px); border-radius: 0 99px 99px 0 !important; }
.rr-msg { font-size: 15px; line-height: 1.5; color: var(--ink); margin-top: 18px; max-width: 34ch; }
.points li { border-top: 1px solid var(--line); padding: 15px 0 18px; }
.points p { font-size: 15px; line-height: 1.5; color: var(--text-2); margin-top: 5px; }

/* ---------- 06 one view ---------- */
.seg { display: inline-flex; padding: 4px; border-radius: 10px; background: rgba(255, 255, 255, .07); }
.seg button { min-height: 38px; padding: 0 16px; border-radius: 7px; font-size: 14px; font-weight: 500; color: var(--text-2); transition: background-color .2s, color .2s; }
.seg button:hover { color: var(--white); }
.seg button[aria-checked=true] { background: var(--seg-on); color: var(--white); box-shadow: 0 2px 8px rgba(0, 0, 0, .3); }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.kpis li { padding: 14px 18px 12px; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; gap: 2px 12px; align-items: center; }
.kpis li + li { border-left: 1px solid var(--line-2); }
.kpi-top { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.kpi-v { font-size: clamp(22px, 1.9vw, 28px); font-weight: 700; letter-spacing: -.015em; line-height: 1.25; font-variant-numeric: tabular-nums; color: var(--white); white-space: nowrap; }
.kpi-split { font-size: 13px; line-height: 1.45; color: var(--text-2); font-variant-numeric: tabular-nums; }
.kpi-split b { color: var(--white); font-weight: 700; }
.kpi-split i { display: inline-block; width: 7px; height: 7px; border-radius: 2px; margin-right: 6px; vertical-align: 1px; }
.kpi-spark { width: 110px; height: 34px; }
.kpi-spark .now { fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.kpi-spark .prev { fill: none; stroke: var(--plan); stroke-width: 1; stroke-dasharray: 3 3; opacity: .7; }
.ov-grid { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); gap: 16px; margin-top: 16px; }
.bars { position: relative; height: clamp(170px, 24vh, 250px); margin: 8px 12px 0 4px; }
.bars svg { width: 100%; height: 100%; overflow: visible; }
.bars text { font: 400 10.5px var(--mono); fill: var(--faint); }
.js .bars .bar { transform: scaleY(0); transform-box: fill-box; transform-origin: bottom; transition: transform .6s var(--ease); transition-delay: calc(var(--d) * 28ms); }
.js .in .bars .bar { transform: none; }
.mix-card { display: flex; flex-direction: column; }
.mix { display: flex; align-items: center; gap: 20px; padding: 14px 20px 6px; }
.mix svg { flex: none; }
.mix-legend { display: grid; gap: 10px; font-size: 13.5px; }
.mix-legend b { display: block; font-size: 19px; font-weight: 700; font-variant-numeric: tabular-nums; }
.mix-legend span { color: var(--text-card); }
.cpa-bars { padding: 10px 20px 16px; display: grid; gap: 9px; margin-top: auto; border-top: 1px solid var(--line-2); }
.cpa-bars .t { font: 500 10.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.cpa-row { display: grid; grid-template-columns: 60px 1fr auto; gap: 10px; align-items: center; font-size: 13px; font-variant-numeric: tabular-nums; }
.cpa-row .tr { height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .07); position: relative; }
.cpa-row .tr i { position: absolute; inset: 0 auto 0 0; border-radius: 99px; }

/* ---------- 07 creatives ---------- */
.cr-summary { display: flex; gap: 8px 32px; flex-wrap: wrap; }
.cr-summary div { min-width: 0; }
.cr-summary dt { font: 500 10.5px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-card); }
.cr-summary dd { font-size: 26px; font-weight: 900; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1.2; }
.cr-summary dd.bad { color: var(--bad); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.chip { min-height: 36px; padding: 0 15px; border-radius: 999px; background: var(--tile); border: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--ink); transition: border-color .2s, background-color .2s; }
.chip:hover { border-color: var(--line-hi); }
.chip[aria-pressed=true] { background: var(--btn); border-color: transparent; color: var(--white); }
.cr-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 340px); gap: 16px; align-items: start; }
.cr-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.cr-tile {
  width: 100%; text-align: left; border-radius: 12px; overflow: hidden;
  background: linear-gradient(180deg, var(--card-a), var(--card-b)); border: 1px solid var(--line);
  transition: border-color .2s, transform .2s var(--ease);
}
.cr-tile:hover { border-color: var(--line-hi); }
.cr-tile[aria-pressed=true] { border-color: var(--link); box-shadow: 0 0 0 1px var(--link); }
.cr-meta { padding: 9px 12px 11px; display: grid; gap: 6px; }
.cr-meta .t { font-size: 14px; font-weight: 700; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cr-meta .row { display: flex; align-items: center; justify-content: space-between; gap: 6px; font: 400 11px var(--mono); color: var(--text-card); }
.cr-meta .row span:first-child { display: inline-flex; align-items: center; gap: 6px; }
.cr-empty { grid-column: 1 / -1; padding: 28px; text-align: center; color: var(--text-card); border: 1px dashed var(--line); border-radius: 12px; }

.ad { position: relative; aspect-ratio: 16 / 9; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 9px 11px; color: var(--c, #1a1a1a); background: var(--bgc); }
.ad .brand-s { font: 500 8.5px var(--mono); letter-spacing: .16em; text-transform: uppercase; opacity: .8; position: relative; z-index: 1; }
.ad .ad-t { font-size: 15px; font-weight: 900; letter-spacing: -.02em; line-height: 1.05; max-width: 54%; position: relative; z-index: 1; }
.ad .ad-s { font-size: 10.5px; line-height: 1.3; max-width: 58%; opacity: .85; margin-top: 3px; position: relative; z-index: 1; }
.ad .ad-cta { position: absolute; right: 10px; bottom: 9px; font-size: 9.5px; font-weight: 700; padding: 3px 8px; border-radius: 99px; background: var(--c); color: var(--bgc); z-index: 1; }
.ad svg { position: absolute; right: 0; top: 8%; height: 84%; width: 46%; }
.ad-fmt { position: absolute; left: 9px; bottom: 8px; font: 500 8px var(--mono); }
.tone-linen { --bgc: #E9DFCF; --c: #3B2F25; }
.tone-amber { --bgc: #2B1E14; --c: #FBE3B8; }
.tone-terracotta { --bgc: #B9573D; --c: #FFF1E6; }
.tone-sage { --bgc: #A9B8A0; --c: #1F2C1C; }
.tone-slate { --bgc: #3D4A57; --c: #F2F5F7; }
.tone-plum { --bgc: #4A1E3A; --c: #F6D9C9; }

.cr-detail { padding: 14px; display: grid; gap: 12px; }
.cr-detail .ad { aspect-ratio: 16 / 10; border-radius: 10px; padding: 14px 16px; }
.cr-detail .ad .ad-t { font-size: 24px; }
.cr-detail .ad .ad-s { font-size: 13px; }
.cr-detail .ad .brand-s { font-size: 10px; }
.cr-detail .ad .ad-cta { font-size: 12px; padding: 5px 11px; right: 14px; bottom: 13px; }
.cr-detail h3 { font-size: 17px; }
.cr-detail .sub { font: 400 11.5px var(--mono); color: var(--text-card); margin-top: 2px; }
.cr-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-2); border-radius: 10px; overflow: hidden; }
.cr-stats div { background: var(--card-b); padding: 9px 12px; }
.cr-stats dt { font: 500 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-card); }
.cr-stats dd { font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums; }
.cr-advice { font-size: 13.5px; line-height: 1.5; color: var(--ink); padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, .04); border-left: 3px solid var(--tone, var(--link)); }

/* ---------- 08 crm ---------- */
.chain { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; }
.chain li { position: relative; padding: 0 20px 0 0; }
.chain li + li { padding-left: 22px; border-left: 1px solid var(--line-2); }
.chain .v { display: block; font-size: clamp(34px, 3.5vw, 58px); font-weight: 900; letter-spacing: -.04em; line-height: 1.05; font-variant-numeric: tabular-nums; margin: 8px 0 4px; white-space: nowrap; }
.chain .src { font-size: 12.5px; color: var(--text-card); }
.chain .rate { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font: 500 11.5px var(--mono); color: var(--ink); background: rgba(255, 255, 255, .05); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; }
.chain-band { height: 78px; margin-top: 24px; }
.chain-band svg { width: 100%; height: 100%; }
.js .chain-band .seg-r { transform: scaleX(0); transform-origin: left; transform-box: fill-box; transition: transform .7s var(--ease); transition-delay: calc(.3s + var(--d) * 120ms); }
.js .in .chain-band .seg-r { transform: none; }
.crm-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; margin-top: 24px; }
.crm-note { font-size: 16px; line-height: 1.55; color: var(--text-2); max-width: 62ch; }
.crm-note b { color: var(--white); }
.crm-note .pill { margin-right: 6px; vertical-align: 1px; }
.crm-roas { text-align: right; }
.roas { display: block; font-size: clamp(40px, 3.6vw, 56px); font-weight: 900; letter-spacing: -.035em; line-height: 1; margin-top: 6px; color: var(--violet-l); }

/* ---------- 09 ask ---------- */
.split-ask { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.prompts { display: grid; gap: 10px; margin: 30px 0 16px; }
.prompt {
  display: grid; grid-template-columns: 28px 1fr; align-items: start; gap: 4px;
  text-align: left; min-height: 52px; padding: 13px 16px; border-radius: 10px;
  background: var(--tile); border: 1px solid var(--line); font-size: 15.5px; font-weight: 500; line-height: 1.4;
  transition: border-color .2s, background-color .2s;
}
.prompt .idx { line-height: 1.6; }
.prompt:hover { border-color: var(--line-hi); }
.prompt[aria-pressed=true] { border-color: var(--link); background: #0E2C47; }
.chat { min-height: 400px; display: flex; flex-direction: column; }
.chat-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.bubble-q { align-self: flex-end; max-width: 85%; background: var(--seg-on); border-radius: 14px 14px 4px 14px; padding: 10px 14px; font-size: 15px; line-height: 1.45; min-height: 44px; }
.bubble-q .caret { display: inline-block; width: 2px; height: 1em; background: var(--link); vertical-align: -2px; margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.bubble-a { align-self: stretch; display: grid; gap: 12px; }
.bubble-a .thinking { display: inline-flex; align-items: center; gap: 8px; font: 400 12px var(--mono); color: var(--text-card); }
.bubble-a .data-table { font-size: 13.5px; }
.bubble-a .data-table td { padding: 8px 10px; }
.bubble-a .summary { font-size: 15px; line-height: 1.5; color: var(--ink); }
.js .bubble-a .fade { opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s var(--ease); }
.js .bubble-a .fade.on { opacity: 1; transform: none; }

/* ---------- 10 security ---------- */
.s-security { background: linear-gradient(155deg, #021422 0%, #052A42 50%, #3A0A2E 100%); }
.s-security .hl { margin-bottom: 32px; }
.scopes { display: flex; flex-wrap: wrap; gap: 10px; }
.scopes li { display: inline-flex; align-items: center; gap: 9px; padding: 9px 14px; border-radius: 999px; background: rgba(2, 20, 34, .5); border: 1px solid var(--line); font-size: 14px; }
.scopes code { font-size: 13px; color: var(--link); }
.trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(32px, 5vh, 56px); }
.trust > div { padding: 4px 28px 0 0; }
.trust > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.trust h3 { font-size: 20px; }
.trust p { font-size: 15px; line-height: 1.55; color: var(--text-2); margin-top: 8px; }
.sec-note { margin-top: clamp(28px, 4vh, 44px); max-width: 76ch; font-size: 13.5px; }

/* ---------- 11 checklist ---------- */
.checklist { margin-top: 28px; display: grid; gap: 0; }
.checklist li { padding: 12px 0 13px; }
.checklist p { font-size: 14.5px; }
.terms-table { font-size: 14px; margin-top: 10px; }
.terms-table th { font: 500 10.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); text-align: left; padding: 10px 12px 8px; border-bottom: 1px solid var(--line); }
.terms-table td { padding: 12px; border-bottom: 1px solid var(--line-2); }
.terms-table th:first-child, .terms-table td:first-child { padding-left: 20px; }
.terms-table th:last-child, .terms-table td:last-child { padding-right: 20px; }
.terms-table .q { font-family: var(--mono); font-size: 13px; color: var(--ink); }
.terms-table .k { color: var(--text-card); }
.terms .card-foot { padding-top: 12px; }

/* ---------- 12 contact ---------- */
.s-contact { flex-direction: column; padding-bottom: 0; }
.deck .s-contact { padding-bottom: 0; align-items: stretch; }
.deck .s-contact .slide-inner { flex: 1; display: flex; align-items: center; }
.closing {
  position: relative; overflow: hidden; width: 100%;
  border-radius: var(--r-lg); border: 1px solid var(--line);
  background: linear-gradient(135deg, #0A2236 0%, #1A1530 55%, #2A0A24 100%);
  padding: clamp(40px, 6vw, 88px);
}
.closing::before, .closing::after { content: ""; position: absolute; pointer-events: none; border-radius: 50%; }
.closing::before { width: 640px; height: 640px; right: -220px; top: -300px; background: radial-gradient(closest-side, rgba(216, 57, 149, .32), transparent); }
.closing::after { width: 560px; height: 560px; left: -200px; bottom: -320px; background: radial-gradient(closest-side, rgba(255, 138, 91, .22), transparent); }
.closing > * { position: relative; z-index: 1; }
.closing-bloom { position: absolute !important; z-index: 0 !important; right: -60px; top: 50%; transform: translateY(-50%); opacity: 1; }
.closing-bloom .p, .closing-bloom .p.on { opacity: .055; }
.closing .lede { margin-top: 22px; max-width: 46ch; }
.site-footer { background: #010D17; padding: 22px 0; width: 100%; border-top: 1px solid var(--line-2); margin-top: clamp(48px, 8vw, 96px); }
.deck .site-footer { margin-top: 0; }
.footer-row { display: flex; align-items: center; gap: 16px 32px; flex-wrap: wrap; }
.footer-row nav { display: flex; gap: 20px; }
.footer-row nav a { font-size: 14px; color: var(--text-2); padding: 10px 0; }
.footer-row nav a:hover { color: var(--white); }
.footer-row .note { margin-left: auto; }
.brand-word.sm { font-size: 18px; }
.site-footer .brand-word { font-size: 19px; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .site-nav { gap: 20px; }
}
@media (max-width: 1023px) {
  .site-nav {
    position: fixed; left: 0; right: 0; top: var(--header); z-index: 49;
    flex-direction: column; gap: 0; margin: 0; padding: 8px var(--gutter) 20px;
    background: rgba(2, 20, 34, .97); border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
  }
  .site-nav a { padding: 13px 0; font-size: 17px; border-bottom: 1px solid var(--line-2); }
  .site-nav .btn { margin-top: 14px; border-bottom: 1px solid rgba(160, 210, 235, .25); }
  .menu-open .site-nav { opacity: 1; transform: none; visibility: visible; }
  .menu-btn { display: block; }
  .nav-only-mobile { display: inline-flex !important; }
}
@media (max-width: 960px) {
  .hero-top, .split, .split-ask, .plan-grid, .rr-grid, .ov-grid, .cr-grid { grid-template-columns: minmax(0, 1fr); }
  .flow { grid-template-columns: minmax(0, 1fr); padding: 20px; }
  .flow-wires { display: none; }
  .flow-hub { grid-auto-flow: column; justify-content: start; align-items: center; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .chain { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 0; }
  .chain li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .chain li:last-child { grid-column: 1 / -1; }
  .chain-band { display: none; }
  .trust { grid-template-columns: 1fr 1fr; gap: 28px 0; }
  .trust > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .kpis li:nth-child(3) { border-left: 0; }
  .kpis li:nth-child(n+3) { border-top: 1px solid var(--line-2); }
  .bignum { text-align: left; }
  .crm-roas { text-align: left; }
  .sheet { transform: none; }
  .js .in .sheet[data-reveal] { transform: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hide-sm { display: none !important; }
  .header-cta .btn-primary { padding: 0 12px; }
  .brand-word { font-size: 20px; }
  .outputs { grid-template-columns: minmax(0, 1fr); }
  .calc { grid-template-columns: minmax(0, 1fr); }
  .calc-out { border-left: 0; border-top: 1px solid var(--line); }
  .cr-list { grid-template-columns: 1fr 1fr; }
  .trust { grid-template-columns: minmax(0, 1fr); }
  .trust > div, .trust > div + div { padding: 0; border-left: 0; }
  .trust > div + div { border-top: 1px solid var(--line); padding-top: 20px; }
  .chip, .seg button, .link-btn { min-height: 44px; }
  .kpis li { padding: 12px 14px; min-width: 0; grid-template-columns: minmax(0, 1fr); }
  .kpi-top { flex-wrap: wrap; gap: 4px 8px; }
  .kpi-spark { width: 100%; height: 26px; }
  .cr-list .ad .ad-s, .cr-list .ad .ad-cta { display: none; }
  .cr-list .ad .ad-t { max-width: 60%; font-size: 13px; }
  .cr-meta .row { flex-wrap: wrap; }
  .runrate { height: 340px; }
  .mix { flex-direction: column; align-items: flex-start; }
  .footer-row .note { margin-left: 0; }
  .card-foot .hint { display: none; }
  .rr-callout { min-width: 0; }
}
@media (max-width: 380px) {
  .brand-word { font-size: 18px; }
  .header-cta .btn-primary { font-size: 13.5px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .slide .hl .ln > span, .js [data-reveal], .js [data-stagger] > *,
  .js .ledger-card .ledger tbody tr, .js .bubble-a .fade { opacity: 1 !important; transform: none !important; }
  .js .bars-card .pb-fill, .js .bars .bar, .js .chain-band .seg-r { transform: none !important; }
  .js .runrate .rr-actual.anim { stroke-dashoffset: 0 !important; }
  .js .runrate .late { opacity: 1 !important; }
  .js .in .sheet[data-reveal], .sheet { transform: rotate(-1.2deg) !important; }
  .loader .p { opacity: .6; }
}
@media (prefers-reduced-motion: reduce) and (max-width: 960px) {
  .sheet, .js .in .sheet[data-reveal] { transform: none !important; }
}

.field .hint-v { font: 400 12px var(--mono); color: var(--link); font-variant-numeric: tabular-nums; }

/* chat answer tables scroll inside the card on narrow screens */
.bubble-a { min-width: 0; }
.bubble-a > .fade:first-child { overflow-x: auto; }
.bubble-a .data-table td:first-child, .bubble-a .data-table th:first-child { white-space: normal; min-width: 120px; }
.chat, .chat-body { min-width: 0; }

/* ---------- content from the live site ---------- */
.legend .soon { color: var(--faint); font-style: normal; border-left: 1px solid var(--line); padding-left: 12px; }
.plan-lede { margin-top: 14px; font-size: 16px; }
.ov-note { text-align: right; margin-left: auto; margin-right: 12px; }
.cr-note { margin-top: 10px; max-width: 60ch; font-size: 13.5px; }
.sec-lede { margin: -16px 0 26px; max-width: 60ch; }
.sec-lede code { color: var(--link); font-size: .9em; }
.scope-no { color: var(--faint); }
.scope-no s { font-family: var(--mono); font-size: 13px; color: var(--text-card); }
.scope-no .x { color: var(--bad); font-size: 11px; }
.link-inline { color: var(--link); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(127, 211, 242, .4); }
.link-inline:hover { text-decoration-color: var(--link); }
.sheet .grp td { font-weight: 500; color: #04587E; letter-spacing: .06em; background: #F0ECE3; }
.crm-file { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 12px; color: var(--text-card); margin-bottom: clamp(18px, 3vh, 30px); }
.crm-file .xl { margin-right: 2px; }
.crm-file .warn-t { color: var(--warn); }
.crm-camp { flex-basis: 100%; color: var(--faint); font-size: 11.5px; }
.term-mix { padding: 12px 20px 2px; }
.tm-bar { display: flex; height: 8px; border-radius: 99px; overflow: hidden; gap: 2px; }
.tm-bar i { display: block; height: 100%; }
.tm-opportunity { background: var(--good); }
.tm-targeted { background: var(--link); }
.tm-negative { background: var(--bad); }
.tm-legend { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 9px; font-size: 12.5px; color: var(--text-card); font-variant-numeric: tabular-nums; }
.tm-legend li { display: inline-flex; align-items: center; gap: 7px; }
.tm-legend i { width: 8px; height: 8px; border-radius: 2px; display: inline-block; }
@media (max-width: 960px) { .ov-note { text-align: left; margin: 0; } }

.chips .cr-note { margin: 0 0 0 auto; align-self: center; max-width: 46ch; text-align: right; font-size: 12.5px; }
.cr-detail .ad { aspect-ratio: 16 / 8.2; }
@media (max-width: 960px) { .chips .cr-note { margin: 4px 0 0; text-align: left; flex-basis: 100%; } }


/* =========================================================
   v3 · THE MONDAY STORY
   Act 1 lives in a light "spreadsheet world"; the turn brings back navy.
   ========================================================= */
:root {
  --p-bg: #ECEAE4; --p-sheet: #F4F1EA; --p-ink: #1A2633; --p-2: #4A5562; --p-3: #5C636B;
  --p-grid: #D6D0C2; --p-na: #B42318; --p-kick: #8A3F17; --p-link: #04587E;
}
.act-paper { background: var(--p-bg); color: var(--p-ink); border-top-color: rgba(26, 38, 51, .1); }
.act-paper .slide-inner { position: relative; z-index: 1; }
.act-paper .hl { color: var(--p-ink); }
.act-paper .hl .ln-soft { color: #56616E; font-weight: 500; }
.act-paper .kicker { color: var(--p-kick); }
.act-paper .kicker span { color: var(--p-ink); }
.act-paper .lede { color: var(--p-2); }
.act-paper .btn-ghost { background: transparent; border-color: rgba(26, 38, 51, .3); color: var(--p-ink); }
.act-paper .btn-ghost:hover { background: rgba(26, 38, 51, .05); border-color: rgba(26, 38, 51, .5); }
.act-paper :focus-visible { outline-color: var(--p-link); }
.act-paper .mono { font-family: var(--mono); }

/* the slide's time, set huge, as a graphic */
.clock-bg {
  position: absolute; right: 3%; top: 50%; transform: translateY(-50%); z-index: 0;
  font-weight: 900; font-size: clamp(120px, 19vw, 300px); line-height: 1; letter-spacing: -.06em;
  color: rgba(26, 38, 51, .055); font-variant-numeric: tabular-nums; pointer-events: none; user-select: none;
}

.ficon { display: inline-grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 4px; color: #fff; font: 700 8px var(--sans); letter-spacing: .02em; }
.ficon-xlsx { background: #1F7A4D; font-size: 11px; }
.ficon-csv { background: #5C636B; }

/* 1 · cold open */
.hl-cold { font-size: clamp(40px, 4.5vw, 72px); line-height: 1.02; letter-spacing: -.035em; }
.monday-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); gap: 40px 64px; align-items: end; }
.monday-copy .lede { margin-top: 22px; max-width: 52ch; }
.product-line { display: flex; align-items: center; gap: 10px; margin-top: 26px; padding-top: 16px; border-top: 1px solid rgba(26, 38, 51, .14); font-size: 14px; color: var(--p-2); max-width: 64ch; }
.pl-mark { flex: none; }
.desk { background: var(--p-sheet); border: 1px solid var(--p-grid); border-radius: 10px; padding: 14px 16px 12px; box-shadow: 0 24px 44px -26px rgba(26, 38, 51, .45); transform: rotate(1.5deg); }
.desk-label { font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--p-3); margin-bottom: 6px; }
.desk-files li { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; padding: 9px 2px; border-bottom: 1px solid #E2DCCF; }
.desk-files li .mono { font-size: 12.5px; color: var(--p-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.desk-files li small { grid-column: 2; font-size: 10.5px; color: var(--p-3); }
.desk-note { font-size: 11px; color: var(--p-na); margin-top: 10px; }

/* 2 · four exports */
.files { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.xfile { background: var(--p-sheet); border: 1px solid var(--p-grid); border-radius: 6px; overflow: hidden; box-shadow: 0 24px 40px -26px rgba(26, 38, 51, .5); transform: rotate(var(--r, 0deg)); transition: transform .6s var(--ease), opacity .4s ease-out; }
.xfile.pre { opacity: 0; transform: translateY(-32px) rotate(calc(var(--r, 0deg) * 3)); }
.xfile-bar { display: flex; align-items: center; gap: 8px; padding: 7px 10px; background: #E6E0D3; border-bottom: 1px solid #D3CCBD; font-size: 11px; color: #33404C; }
.xfile-body { overflow-x: auto; }
.xfile table { font: 400 10.5px/1.2 var(--mono); color: var(--p-ink); }
.xfile th { font-weight: 500; text-align: left; background: #ECE7DC; color: var(--p-3); padding: 6px 7px; border-bottom: 1px solid var(--p-grid); white-space: nowrap; }
.xfile td { padding: 8px 7px; border-bottom: 1px solid #E4DED1; white-space: nowrap; }
.xfile td.num { text-align: right; }
.hl-g, .hl-m { transition: background-color .45s, box-shadow .45s; font-weight: 500; }
.hl-g { background: rgba(5, 147, 198, .15); box-shadow: inset 3px 0 0 #0593C6; }
.hl-m { background: rgba(216, 57, 149, .13); box-shadow: inset 3px 0 0 #D83995; }
.g-off .hl-g, .m-off .hl-m { background: transparent; box-shadow: none; font-weight: 400; }
.chain-key { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 22px; font-size: 14px; color: var(--p-2); }
.ck { display: inline-flex; align-items: center; gap: 9px; }
.ck i { width: 16px; height: 11px; border-radius: 2px; }
.ck-g i { background: rgba(5, 147, 198, .25); box-shadow: inset 3px 0 0 #0593C6; }
.ck-m i { background: rgba(216, 57, 149, .22); box-shadow: inset 3px 0 0 #D83995; }

/* 3 · the VLOOKUPs */
.vl-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, .5fr); gap: 32px 48px; align-items: start; }
.xsheet { background: var(--p-sheet); border: 1px solid var(--p-grid); border-radius: 6px; overflow: hidden; box-shadow: 0 30px 56px -30px rgba(26, 38, 51, .5); }
.fx { display: flex; align-items: stretch; background: #fff; border-bottom: 1px solid var(--p-grid); font-size: 13px; }
.fx-cell { padding: 9px 12px; min-width: 56px; color: var(--p-3); border-right: 1px solid var(--p-grid); }
.fx-f { padding: 9px 10px; color: var(--p-3); font-style: italic; border-right: 1px solid var(--p-grid); }
.fx-text { padding: 9px 12px; color: var(--p-ink); white-space: nowrap; overflow: hidden; min-height: 1.3em; }
.xsheet-scroll { overflow-x: auto; }
.xsheet table { font: 400 12.5px/1 var(--mono); color: var(--p-ink); }
.xsheet th, .xsheet td { border: 1px solid #DDD6C8; padding: 0 10px; height: 31px; white-space: nowrap; text-align: left; }
.xsheet .colh th { background: #ECE7DC; color: var(--p-3); font-weight: 400; text-align: center; height: 22px; padding: 0 4px; }
.xsheet .rowh { background: #ECE7DC; color: var(--p-3); text-align: center; width: 34px; padding: 0 4px; }
.xsheet .hdr td { font-weight: 500; background: #E9E3D6; }
.xsheet .num { text-align: right; }
.xsheet .na { color: var(--p-na); font-weight: 500; background: rgba(180, 35, 24, .07); }
.xsheet td { transition: color .2s, background-color .2s; }
.xsheet .blank { color: transparent !important; background: transparent !important; }
.xsheet-tab { display: flex; flex-wrap: wrap; background: #E6E0D3; border-top: 1px solid #D3CCBD; font-size: 11px; color: var(--p-3); }
.xsheet-tab span { padding: 6px 12px; border-right: 1px solid #D3CCBD; }
.xsheet-tab .on { background: var(--p-sheet); color: var(--p-ink); font-weight: 500; }
.na-count { display: flex; align-items: baseline; gap: 8px; color: var(--p-na); font-weight: 900; font-size: clamp(60px, 6.4vw, 104px); letter-spacing: -.045em; line-height: .95; font-variant-numeric: tabular-nums; }
.na-x { font-size: .42em; font-weight: 500; color: var(--p-2); letter-spacing: 0; }
.na-count b { font-family: var(--mono); font-size: .36em; font-weight: 500; letter-spacing: 0; }
.na-cap { font-size: 14px; color: var(--p-2); margin-top: 10px; max-width: 24ch; }
.sticky {
  margin-top: 30px; width: fit-content; max-width: 100%; padding: 16px 20px 18px;
  background: #F6DA6A; color: #3B3200; font: 500 15px/1.65 var(--sans);
  transform: rotate(2.5deg); box-shadow: 0 16px 28px -18px rgba(60, 50, 0, .7);
  transition: opacity .4s, transform .5s var(--ease);
}
.sticky.pre { opacity: 0; transform: rotate(9deg) translateY(-12px); }

/* 4 · the client asks */
.client-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 440px); gap: 48px 80px; align-items: center; }
.client-grid .lede { margin-top: 20px; max-width: 40ch; }
.msg-card { background: #fff; border: 1px solid var(--p-grid); border-radius: 18px; overflow: hidden; box-shadow: 0 34px 64px -32px rgba(26, 38, 51, .5); }
.msg-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid #EEE9DF; }
.msg-head b { display: block; font-size: 15px; color: var(--p-ink); }
.msg-head span:not(.avatar) { display: block; font-size: 12px; color: var(--p-3); }
.avatar { flex: none; display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #1A2633; color: #fff; font: 700 12.5px var(--sans); }
.msg-body { display: flex; flex-direction: column; gap: 12px; padding: 22px 18px 18px; background: #F6F4EF; min-height: 230px; }
.bubble-in { align-self: flex-start; max-width: 88%; background: #fff; border: 1px solid #E4DED1; border-radius: 4px 16px 16px 16px; padding: 11px 14px 8px; font-size: 17px; line-height: 1.4; color: var(--p-ink); }
.bubble-in time { display: block; margin-top: 4px; text-align: right; font: 400 11px var(--mono); color: var(--p-3); }
.bubble-out.typing { align-self: flex-end; display: flex; gap: 5px; padding: 14px 16px; background: #1A2633; border-radius: 16px 16px 4px 16px; }
.bubble-out.typing i { width: 7px; height: 7px; border-radius: 50%; background: #fff; opacity: .3; animation: dot 1.2s ease-in-out infinite; }
.bubble-out.typing i:nth-child(2) { animation-delay: .15s; }
.bubble-out.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 80%, 100% { opacity: .3; transform: none; } 40% { opacity: 1; transform: translateY(-3px); } }
.msg-draft { align-self: flex-end; font-size: 11.5px; color: var(--p-3); }
.bubble-in, .bubble-out, .msg-draft { transition: opacity .4s, transform .45s var(--ease); }
.bubble-in.pre, .bubble-out.pre, .msg-draft.pre { opacity: 0; transform: translateY(10px); }

/* 5 · five sent, four tomorrow */
.sent-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px 64px; align-items: center; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 28px; margin: 28px 0 18px; padding-top: 18px; border-top: 1px solid rgba(26, 38, 51, .16); }
.stats > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 8px; transition: opacity .4s, transform .5s var(--ease); }
.stats > div.pre { opacity: 0; transform: translateY(14px); }
.stats dd { font-size: clamp(44px, 4.6vw, 78px); font-weight: 900; letter-spacing: -.045em; line-height: .95; color: var(--p-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.stats dd small { font-size: .42em; font-weight: 500; color: var(--p-2); margin-left: 3px; letter-spacing: 0; }
.stats dt { font-size: 13.5px; line-height: 1.35; color: var(--p-2); max-width: 22ch; }
.next-link { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; margin-top: 18px; font-weight: 700; color: var(--p-link); border-bottom: 2px solid currentColor; }
.next-link:hover { color: var(--p-ink); }
.outbox { background: #fff; border: 1px solid var(--p-grid); border-radius: 14px; padding: 4px 0; box-shadow: 0 30px 56px -32px rgba(26, 38, 51, .45); }
.outbox li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: center; padding: 11px 18px; border-bottom: 1px solid #EEE9DF; transition: opacity .35s, transform .4s var(--ease); }
.outbox li:last-child { border-bottom: 0; }
.outbox li.pre { opacity: 0; transform: translateX(14px); }
.outbox b { display: block; font-size: 14px; font-weight: 500; color: var(--p-ink); }
.outbox small { font-size: 11px; color: var(--p-3); }
.ob-sent .ob-tick { color: #1F7A4D; font-weight: 700; }
.ob-wait { background: #FAF8F4; }
.ob-wait b { color: var(--p-3); }
.ob-wait .ob-tick { color: #8A9099; }

/* 6 · the turn (navy returns) */
.turn-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 20px; align-items: start; }
.tstage { border: 1px dashed var(--line); border-radius: var(--r); padding: 14px; }
.tstage-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; }
.na-flip { font-size: 12px; color: var(--bad); font-variant-numeric: tabular-nums; transition: color .3s; }
.flipped .na-flip { color: var(--good); }
.tfiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tfile { background: var(--p-sheet); color: var(--p-ink); border-radius: 6px; overflow: hidden; transition: opacity .4s, transform .5s var(--ease); }
.tfile.pre { opacity: 0; transform: translateY(16px) scale(.97); }
.tfile-bar { display: flex; align-items: center; gap: 7px; padding: 6px 9px; background: #E6E0D3; border-bottom: 1px solid #D3CCBD; font-size: 10.5px; color: #33404C; }
.tfile-bar .ficon { width: 18px; height: 18px; }
.tfile ul { display: grid; gap: 7px; padding: 8px 10px 10px; }
.tv { display: grid; gap: 1px; }
.tv .raw { font-size: 10.5px; color: var(--p-3); text-decoration: line-through; text-decoration-color: rgba(26, 38, 51, .35); transition: color .3s; }
.tv .to { font-size: 12.5px; font-weight: 700; transition: opacity .3s, transform .35s var(--ease); }
.tv-google .to { color: var(--p-link); }
.tv-meta .to { color: #A11F6C; }
.tv .to b { color: #1F7A4D; }
.tv.pend .raw { text-decoration: none; color: var(--p-ink); }
.tv.pend .to { opacity: 0; transform: translateX(-6px); }
.turn-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 20px; font-size: 15px; font-weight: 700; color: var(--white); }
.turn-foot .mono-cap { margin-right: 4px; }
.turn-src { margin-left: auto; font-size: 11.5px; font-weight: 400; color: var(--text-card); }

/* 12 · ask: the client's message, again */
.client-msg { display: flex; align-items: flex-start; gap: 10px; padding: 14px 20px 0; }
.client-msg .avatar { width: 32px; height: 32px; background: var(--p-sheet); color: var(--p-ink); font-size: 11px; }
.client-msg .who { font-size: 12px; color: var(--text-card); }
.client-msg time { font: 400 11px var(--mono); margin-left: 6px; }
.client-msg p { display: inline-block; margin-top: 4px; padding: 8px 12px; font-size: 15px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); border-radius: 4px 14px 14px 14px; }
.ask-lede { margin-top: 16px; font-size: 16px; }

/* 15 · the report, already done */
.report-split { grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); }
.mini-h { font: 500 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-card); margin: 24px 0 2px; }
.checklist-c { margin-top: 6px; }
.checklist-c li { padding: 8px 0 9px; }
.checklist-c h3 { font-size: 16px; }
.checklist-c p { font-size: 14px; }
.checklist-c .term-mix { padding: 6px 0 0; }
.report-stack { position: relative; max-width: 440px; margin: 18px 18px 0 auto; }
.rp { border-radius: 12px; }
.rp-1 { position: relative; z-index: 2; background: #F7F5F0; color: var(--p-ink); padding: 20px 22px 16px; box-shadow: 0 44px 80px -34px rgba(0, 0, 0, .85); }
.rp-2 { position: absolute; z-index: 1; inset: -9px -9px 9px 9px; background: #E3DED3; transform: rotate(1.2deg); }
.rp-3 { position: absolute; z-index: 0; inset: -18px -18px 18px 18px; background: #D2CBBC; transform: rotate(2.4deg); }
.rp-1 header { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 10.5px; color: var(--p-3); }
.rp-brand { display: inline-flex; align-items: center; gap: 7px; font: 700 12.5px var(--sans); color: var(--p-ink); }
.rp-1 h4 { margin: 14px 0 6px; font-size: 22px; font-weight: 900; letter-spacing: -.02em; }
.rp-k { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--p-3); }
.rp-v { font-size: 34px; font-weight: 900; letter-spacing: -.03em; color: var(--p-na); font-variant-numeric: tabular-nums; line-height: 1.1; }
.rp-chart { width: 100%; height: 64px; margin: 8px 0 4px; }
.rp-lines li { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: center; padding: 7px 0; font-size: 13px; border-top: 1px solid #E4DED1; }
.rp-1 .pill-good { color: #15803D; background: rgba(21, 128, 61, .1); }
.rp-1 .pill-bad { color: var(--p-na); background: rgba(180, 35, 24, .08); }
.rp-1 footer { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 10.5px; color: var(--p-3); }
.rp-1 footer span:first-child { margin-right: auto; }
.rp-fmt { border: 1px solid #CFC8B9; border-radius: 4px; padding: 2px 6px; }

/* pager: clock folio, acts, legible on light slides */
.folio { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.folio-time { font: 500 13px var(--mono); letter-spacing: .08em; color: var(--white); }
.folio-act { font: 400 10.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.rail li.act-start { margin-top: 12px; }
html[data-tone="paper"] .rail .tick { background: rgba(26, 38, 51, .3); }
html[data-tone="paper"] .rail button:hover .tick { background: rgba(26, 38, 51, .7); }
html[data-tone="paper"] .rail button[aria-current] .tick { background: linear-gradient(90deg, var(--coral), var(--pink)); }
html[data-tone="paper"] .folio-time { color: var(--p-ink); }
html[data-tone="paper"] .folio-act { color: var(--p-3); }

@media (max-width: 960px) {
  .monday-grid, .vl-grid, .client-grid, .sent-grid, .turn-grid, .report-split { grid-template-columns: minmax(0, 1fr); }
  .desk { transform: none; }
  .files { grid-template-columns: 1fr 1fr; }
  .clock-bg { top: 24px; transform: none; right: 12px; font-size: 30vw; }
  .report-stack { margin: 24px auto 0 0; }
  .turn-src { margin-left: 0; }
}
@media (max-width: 560px) {
  .files, .tfiles { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .stats > div { flex-direction: row-reverse; justify-content: flex-end; align-items: baseline; gap: 14px; }
  .stats dd { font-size: 46px; min-width: 120px; }
  .msg-body { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .bubble-out.typing i { animation: none; opacity: .7; }
}
.client-msg .who { display: block; }
@media (max-width: 960px) { .report-stack { max-width: calc(100% - 20px); margin-right: 20px; } }
@media (max-width: 960px) { .clock-bg { top: 6px; font-size: 26vw; color: rgba(26, 38, 51, .04); } }

/* ---------- PRODUCT.md pass ---------- */
.tag-prog { font: 500 9.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--warn); border: 1px solid rgba(245, 179, 66, .4); border-radius: 999px; padding: 1px 6px; margin-left: 2px; }
.research { margin: 0 0 12px; font-size: 14px; color: var(--p-2); max-width: 54ch; }
.research b { color: var(--p-ink); font-weight: 900; }
.computed { font-size: 11px; color: var(--text-card); letter-spacing: .02em; }
.walkins { margin-top: 22px; padding: 14px 20px 16px; }
.wk-h { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 20px; margin-bottom: 10px; }
.wk-rows { display: grid; gap: 9px; }
.wk-rows li { display: grid; grid-template-columns: minmax(150px, 220px) 1fr 40px; gap: 14px; align-items: center; font-size: 14px; }
.wk-l small { display: block; font-size: 10.5px; color: var(--text-card); }
.wk-t { height: 10px; border-radius: 99px; background: rgba(255, 255, 255, .06); position: relative; }
.wk-t i { position: absolute; inset: 0 auto 0 0; border-radius: 99px; }
.wk-plan { background: repeating-linear-gradient(90deg, var(--plan) 0 6px, transparent 6px 9px); }
.wk-model { background: var(--sky-l); }
.wk-real { background: var(--violet-l); }
.wk-rows b { text-align: right; font-size: 18px; font-weight: 700; }
.scopes li code { color: var(--link); }
.rp-lines .rp-f { font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--p-3); }
.rp-lines li { grid-template-columns: 96px 1fr auto; }
@media (max-width: 560px) { .wk-rows li { grid-template-columns: 1fr 40px; } .wk-t { grid-column: 1 / -1; grid-row: 2; } }

/* ---------- portfolio of clients ---------- */
.tone-loan { --bgc: #12395A; --c: #EAF4FB; }
.tone-serum { --bgc: #F1E4DA; --c: #3A2A22; }
.tone-course { --bgc: #1E2A4A; --c: #E9EEFF; }
.tone-spf { --bgc: #F6D36B; --c: #3B2B00; }
.tone-realty { --bgc: #DCE3E8; --c: #1C2B36; }
.crm-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin-bottom: clamp(16px, 2.6vh, 26px); }
.crm-bar .crm-file { margin-bottom: 0; flex: 1 1 420px; min-width: 0; }
.crm-tabs button[aria-selected=true] { background: var(--seg-on); color: var(--white); box-shadow: 0 2px 8px rgba(0, 0, 0, .3); }
.deck #crm { padding-bottom: 52px; }

