/* ASSAY marketing kit · shared page styles.
   Imports tokens from the root design system. */
@import url('colors_and_type.css');

/* ═══════════════════════════════════════════════════════════
   ASSAY COPPER SCROLLBAR — the square hallmark
   Every pixel of scroll surface is branded.
   ═══════════════════════════════════════════════════════════ */

/* Firefox */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--copper) var(--cream-2);
}

/* Chromium, Safari, Edge */
::-webkit-scrollbar {
  width: 10px;
  height: 6px; /* horizontal scrollbars (overflow-x tables) */
}
::-webkit-scrollbar-track {
  background: var(--cream-2);
  border-left: 1px solid var(--mid);
}
::-webkit-scrollbar-track:horizontal {
  border-left: none;
  border-top: 1px solid var(--mid);
}
::-webkit-scrollbar-thumb {
  background: var(--copper);
  border-radius: 0;              /* square — the hallmark */
  border: 2px solid var(--cream-2); /* breathing room against track */
}
::-webkit-scrollbar-thumb:hover  { background: #a8622e; }
::-webkit-scrollbar-thumb:active { background: var(--ink); }
::-webkit-scrollbar-corner       { background: var(--cream-2); }
::-webkit-scrollbar-button       { display: none; } /* no arrows */

/* ── Scroll progress bar — 2px copper line at viewport top ── */
/* Width is driven by --scroll-pct CSS custom property,
   set by Nav.jsx on every scroll event (no React re-renders). */
.scroll-prog {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 201;        /* above nav (99) and cookie bar (200) */
  pointer-events: none;
  overflow: hidden;
}
.scroll-prog::after {
  content: '';
  display: block;
  height: 100%;
  width: var(--scroll-pct, 0%);
  background: var(--copper);
  /* no transition — keeps up with fast scrolling without lag */
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  /* short aliases used by this kit so markup stays readable */
  --c2: var(--cream-2);
  --cu: var(--copper);
  --cu-d: var(--copper-dim);
  --wg: var(--warm-gray);
  --dark: var(--dark-surface);
  --dkr: var(--dark-deeper);
  --hot: var(--score-hot);
  --fd: var(--serif-display);
  --fb: var(--sans-body);
  --fm: var(--mono-data);
}
html { background: var(--cream); color: var(--ink); scroll-behavior: smooth; }
body { font-family: var(--fb); font-weight: 400; line-height: 1.65; overflow-x: hidden; }

/* ── utilities ─────────────────────────────── */
.W { max-width: 1200px; margin: 0 auto; padding: 0 56px; }
.ey {
  font-family: var(--fm); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--cu); margin-bottom: 16px;
}
.D {
  font-family: var(--fd); font-weight: 300; letter-spacing: -0.022em;
  line-height: 1.07; color: var(--ink);
}
.Di {
  font-family: var(--fd); font-weight: 300; font-style: italic;
  letter-spacing: -0.022em; line-height: 1.07; color: var(--ink);
}
.reveal { opacity: 0; transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.on { opacity: 1; transform: none; }
.r1 { transition-delay: 0.1s; } .r2 { transition-delay: 0.2s; } .r3 { transition-delay: 0.3s; }

/* ── nav ────────────────────────────────────── */
nav.assay-nav {
  position: sticky; top: 0; z-index: 99;
  display: flex; align-items: center; height: 64px;
  padding: 0 56px; background: var(--cream);
  border-bottom: 1px solid var(--mid);
  transition: box-shadow 0.25s;
}
nav.assay-nav.scrolled { box-shadow: 0 2px 28px rgba(28,25,23,0.09); }
.logo { font-family: var(--fd); font-size: 20px; font-weight: 600;
  letter-spacing: 0.04em; color: var(--ink); text-decoration: none; margin-right: auto;
  display: inline-flex; align-items: baseline; gap: 6px; }
.logo .dot { width: 8px; height: 8px; background: var(--cu); flex-shrink: 0;
  align-self: baseline; }
.nl { display: flex; align-items: center; }
.nl a, .nl-btn { font-size: 14px; color: var(--wg); text-decoration: none; padding: 0 18px;
  transition: color 0.18s; font-family: var(--fb); background: none; border: 0; cursor: pointer;
  height: 64px; display: inline-flex; align-items: center; gap: 6px; }
.nl a:hover, .nl a.current, .nl-btn:hover, .nl-btn.current, .nl-btn.open { color: var(--ink); }
.nl-btn svg { transition: transform 0.18s; opacity: 0.7; }
.nl-btn.open svg { transform: rotate(180deg); }
.nav-drop { position: relative; }
.nav-pop { position: absolute; top: 100%; left: 12px; z-index: 100;
  background: var(--cream); border: 1px solid var(--mid); padding: 22px;
  min-width: 520px; box-shadow: 0 12px 40px -16px rgba(28,25,23,0.18);
  display: grid; gap: 8px; }
.nav-pop.narrow { min-width: 320px; }
.nav-pop-label { font-family: var(--fm); font-size: 9px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--wg); margin-top: 4px; padding-left: 12px; }
.nav-pop-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.nav-pop.narrow .nav-pop-grid { grid-template-columns: 1fr; }
.nav-pop-item { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px;
  text-decoration: none; transition: background 0.15s; height: auto !important; }
.nav-pop-item:hover { background: var(--c2); }
.nav-pop-t { font-size: 14px; color: var(--ink); font-family: var(--fb); }
.nav-pop-d { font-size: 12px; color: var(--wg); font-family: var(--fb); }
.ncta { font-size: 14px; font-weight: 500; background: var(--cu); color: var(--cream);
  padding: 9px 22px; text-decoration: none; margin-left: 14px; transition: background 0.18s; }
.ncta:hover { background: var(--ink); }

/* ── hero ───────────────────────────────────── */
.hero { display: grid; grid-template-columns: 3fr 2fr;
  gap: 80px; align-items: center; padding: 120px 56px 96px;
  max-width: 1200px; margin: 0 auto; }
.h-ey { font-family: var(--fm); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--cu); margin-bottom: 20px; }
.h1 { font-size: clamp(46px, 5.8vw, 82px); margin-bottom: 24px; }
.h-sub { font-size: 18px; color: var(--wg); line-height: 1.72;
  max-width: 480px; margin-bottom: 40px; }
.cta-row { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.h-demo { font-family: var(--fm); font-size: 12px; color: var(--wg); letter-spacing: 0.02em;
  margin-top: 16px; }
.h-demo a { color: var(--cu); text-decoration: none; }
.h-demo a:hover { color: var(--ink); }
.btn { font-size: 15px; font-weight: 500; background: var(--cu); color: var(--cream);
  padding: 14px 32px; text-decoration: none; border: none; cursor: pointer;
  font-family: var(--fb); transition: background 0.18s, transform 0.12s; }
.btn:hover { background: var(--ink); transform: translateY(-1px); }
.btn2 { font-family: var(--fm); font-size: 12px; letter-spacing: 0.06em;
  color: var(--wg); text-decoration: none; border-bottom: 1px solid var(--mid);
  padding-bottom: 2px; transition: color 0.2s, border-color 0.2s; }
.btn2:hover { color: var(--ink); border-color: var(--ink); }

/* dial card */
.dial-card { border: 1px solid var(--mid); border-left: 3px solid var(--cu);
  background: var(--c2); padding: 44px 36px;
  display: flex; flex-direction: column; align-items: center; }
.dial-wrap { position: relative; width: 168px; height: 168px; margin: 0 auto 20px; }
.dsvg { width: 168px; height: 168px; transform: rotate(-90deg); }
.d-track { fill: none; stroke: var(--mid); stroke-width: 9; }
.d-arc { fill: none; stroke: var(--cu); stroke-width: 9;
  stroke-dasharray: 427; stroke-dashoffset: 427; stroke-linecap: round;
  transition: stroke-dashoffset 2s cubic-bezier(0.22, 0.61, 0.36, 1) 0.3s; }
.d-arc.go { stroke-dashoffset: 81.1; }
.d-center { position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; }
.d-num { font-family: var(--fd); font-size: 52px; font-weight: 300; line-height: 1; color: var(--ink); }
.d-denom { font-family: var(--fm); font-size: 10px; letter-spacing: 0.08em; color: var(--wg); margin-top: 2px; }
.d-badge { font-family: var(--fm); font-size: 11px; font-weight: 500; letter-spacing: 0.06em;
  padding: 4px 12px; background: rgba(196,80,26,0.10); color: var(--hot);
  opacity: 0; transition: opacity 0.5s 0.2s; margin-bottom: 14px; }
.d-badge.show { opacity: 1; }
.d-stat { font-family: var(--fd); font-size: 22px; font-weight: 300; color: var(--ink);
  text-align: center; line-height: 1.2; margin-bottom: 6px; }
.d-cap { font-family: var(--fm); font-size: 10px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--wg); text-align: center; }

/* ── gap band ───────────────────────────────── */
.gap-band { background: var(--ink); padding: 52px 0; }
.gap-inner { max-width: 1200px; margin: 0 auto; padding: 0 56px;
  display: flex; flex-direction: column; gap: 28px; }
.gap-statement { font-family: var(--fd); font-size: clamp(26px, 3vw, 40px);
  font-weight: 300; color: var(--cream); line-height: 1.2; max-width: 680px; }
.gap-counter { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.gc-text { font-size: 15px; color: var(--wg); }
.gc-num { font-family: var(--fm); font-size: 22px; font-weight: 500;
  color: var(--cu); letter-spacing: -0.01em; }

/* ── pain verticals ─────────────────────────── */
.pain-sec { padding: 96px 0; }
.pain-header { margin-bottom: 52px; }
.pain-title { font-size: clamp(30px, 3.8vw, 50px); max-width: 640px; }
.pain-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1px; background: var(--mid); }
.pc { background: var(--cream); padding: 44px 36px; display: flex; flex-direction: column;
  text-decoration: none; color: inherit; transition: background 0.2s; }
.pc:hover { background: var(--c2); }
.pc-cat { font-family: var(--fm); font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--wg); margin-bottom: 20px; }
.pc-body { font-size: 16px; color: var(--ink); line-height: 1.65; flex: 1; margin-bottom: 20px; }
.pc-fig { font-family: var(--fd); font-size: 32px; font-weight: 300; color: var(--cu);
  line-height: 1.1; margin-bottom: 6px; }
.pc-unit { font-size: 14px; color: var(--wg); }
.pc-link { font-family: var(--fm); font-size: 11px; letter-spacing: 0.06em;
  color: var(--cu); margin-top: 24px; }

/* ── bridge ─────────────────────────────────── */
.bridge-strip { padding: 64px 0; text-align: center; }
.bridge-strip p { font-family: var(--fd); font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 300; font-style: italic; color: var(--wg);
  max-width: 680px; margin: 0 auto; line-height: 1.4; }

/* ── demo ───────────────────────────────────── */
.demo-sec { background: var(--c2); padding: 100px 0; }
.demo-title { font-size: clamp(30px, 3.8vw, 50px); max-width: 600px; margin-bottom: 12px; }
.demo-sub { font-size: 17px; color: var(--wg); margin-bottom: 52px; max-width: 520px; }
.terminal { background: var(--cream); border: 1px solid var(--mid); }
.t-bar { display: flex; align-items: center; gap: 8px;
  padding: 14px 24px; border-bottom: 1px solid var(--mid); }
.td { width: 10px; height: 10px; border-radius: 50%; }
.td.r { background: #E08080; } .td.y { background: #DEB060; } .td.g { background: var(--cu); }
.t-title { font-family: var(--fm); font-size: 11px; color: var(--wg); margin-left: 8px; opacity: 0.6; }
.t-log { padding: 24px 28px; font-family: var(--fm); font-size: 13px; line-height: 2.15; min-height: 200px; }
.tl { display: flex; gap: 20px; }
.ts { min-width: 80px; color: var(--wg); opacity: 0.5; flex-shrink: 0; }
.tm { color: var(--ink); }
.tc { color: var(--cu); }
.th { color: var(--hot); font-weight: 500; }
.t-cursor { display: inline-block; width: 7px; height: 14px; background: var(--ink);
  vertical-align: middle; margin-left: 2px; animation: assay-blink 0.9s step-end infinite; }
@keyframes assay-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.t-rule { border: none; border-top: 1px solid var(--mid); margin: 8px 0; }
.t-close { border-top: 1px solid rgba(185,112,56,0.18); padding: 16px 28px;
  font-family: var(--fm); font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--cu); opacity: 0; transition: opacity 0.4s; }
.t-close.show { opacity: 1; }

/* ── before / after ─────────────────────────── */
.ba-sec { padding: 100px 0; }
.ba-title { font-size: clamp(30px, 3.8vw, 50px); margin-bottom: 52px; }
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.ba-col { padding: 48px 44px; }
.ba-before { background: var(--c2); border: 1px solid var(--mid); }
.ba-after { background: var(--cream); border: 1px solid var(--mid); border-left: 3px solid var(--cu); }
.ba-lab { font-family: var(--fm); font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--wg); margin-bottom: 28px; }
.ba-lab.cu { color: var(--cu); }
.ba-list { display: flex; flex-direction: column; gap: 20px; }
.ba-item { display: flex; gap: 14px; }
.ba-dot { font-size: 18px; line-height: 1.45; flex-shrink: 0; }
.ba-txt { font-size: 15px; color: var(--ink); line-height: 1.65; }
.ba-txt .d { color: var(--wg); }
.ba-txt .c { color: var(--cu); font-weight: 500; }

/* ── compare ────────────────────────────────── */
.cmp-sec { background: var(--dark); padding: 100px 0; }
.cmp-sec .ey { color: var(--cu); }
.cmp-title { font-size: clamp(30px, 3.8vw, 50px); color: var(--cream); margin-bottom: 52px; }
.cmp { width: 100%; border-collapse: collapse; }
.cmp thead th { font-family: var(--fm); font-size: 10px; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 14px 24px; text-align: left; font-weight: 400;
  border-bottom: 1px solid rgba(255,255,255,0.09); color: var(--wg); }
.cmp thead th.cu { color: var(--cu); }
.cmp tbody td { padding: 22px 24px; font-size: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.05); color: var(--wg); }
.cmp tbody td.dim { opacity: 0.35; text-decoration: line-through; }
.cmp tbody td.cu { color: var(--cu); font-weight: 500; }
.cmp tbody tr:last-child td { border-bottom: none; }

/* ── pricing ────────────────────────────────── */
.pr-sec { background: var(--dkr); padding: 100px 0; }
.pr-sec .ey { color: var(--cu); }
.pr-title { font-size: clamp(30px, 3.8vw, 50px); color: var(--cream); margin-bottom: 8px; }
.pr-sub { font-size: 17px; color: var(--wg); margin-bottom: 52px; }
.pr-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1px; background: rgba(255,255,255,0.07); }
.tier { background: var(--dkr); padding: 44px 36px; display: flex; flex-direction: column; }
.tier.f { background: #201C19; border-top: 2px solid var(--cu); }
.t-name { font-family: var(--fm); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--wg); margin-bottom: 20px; }
.t-price { font-family: var(--fd); font-size: clamp(36px, 3.5vw, 54px);
  font-weight: 300; color: var(--cream); line-height: 1; margin-bottom: 6px; }
.t-cycle { font-size: 13px; color: var(--wg); margin-bottom: 32px; }
.t-feats { display: flex; flex-direction: column; gap: 11px; flex: 1; margin-bottom: 32px; }
.t-feat { font-size: 14px; color: var(--wg); display: flex; gap: 10px; }
.t-feat::before { content: '—'; color: var(--cu); flex-shrink: 0; }
.t-btn { display: block; text-align: center; font-size: 14px; font-weight: 500; padding: 13px;
  text-decoration: none; transition: all 0.18s; margin-top: auto; }
.t-btn-secondary { margin-top: 8px !important; padding: 11px; font-size: 13px; }
.t-btn.p { background: var(--cu); color: var(--cream); }
.t-btn.p:hover { background: var(--cu-d); }
.t-btn.o { border: 1px solid rgba(255,255,255,0.13); color: var(--wg); }
.t-btn.o:hover { border-color: var(--cu); color: var(--cu); }
.pr-note { font-size: 13px; color: var(--wg); text-align: center; margin-top: 24px; }
.pr-note a { color: var(--cu); text-decoration: none; }

/* ── how ────────────────────────────────────── */
.how-sec { padding: 100px 0; }
.how-title { font-size: clamp(30px, 3.8vw, 50px); margin-bottom: 52px; }
.how-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 72px; }
.how-item { display: flex; gap: 24px; }
.how-n { font-family: var(--fd); font-size: 56px; font-weight: 300;
  color: var(--mid); line-height: 1; flex-shrink: 0; min-width: 64px; }
.how-step { font-family: var(--fd); font-size: 20px; font-weight: 300; color: var(--ink); margin-bottom: 8px; }
.how-desc { font-size: 15px; color: var(--wg); line-height: 1.65; }

/* ── closing CTA ────────────────────────────── */
.cta-sec { padding: 120px 0; }
.cta-inner { max-width: 720px; margin: 0 auto; text-align: center; padding: 0 56px; }
.cta-h { font-size: clamp(44px, 6vw, 82px); margin-bottom: 14px; line-height: 1.04; }
.cta-sub { font-size: 18px; color: var(--wg); margin-bottom: 40px; }
.cta-demo { font-family: var(--fm); font-size: 12px; color: var(--wg); margin-top: 14px; letter-spacing: 0.04em; }
.cta-demo a { color: var(--cu); text-decoration: none; }
.trust { display: flex; align-items: center; justify-content: center; gap: 40px;
  flex-wrap: nowrap; margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--mid); }
.trust-item { font-size: 13px; color: var(--wg); display: flex; align-items: center; gap: 8px; }
.trust-item::before { content: '◆'; font-size: 7px; color: var(--cu); }
.faq { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px;
  margin-top: 56px; padding-top: 48px; border-top: 1px solid var(--mid); text-align: left; }
.faq-q { font-size: 15px; font-weight: 500; color: var(--ink); margin-bottom: 8px; }
.faq-a { font-size: 14px; color: var(--wg); line-height: 1.65; }

/* ── footer ─────────────────────────────────── */
footer.assay-footer { background: var(--ink); padding: 24px 56px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px; }
.fc { font-family: var(--fm); font-size: 12px; color: var(--wg); }
.fl { display: flex; gap: 28px; }
.fl a { font-family: var(--fm); font-size: 12px; color: var(--wg);
  text-decoration: none; transition: color 0.18s; }
.fl a:hover { color: var(--cu); }

/* ── cookie bar ─────────────────────────────── */
.cookie-bar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
  background: var(--ink); border-top: 1px solid rgba(255,255,255,0.09);
  padding: 16px 56px; display: flex; align-items: center; gap: 20px;
  flex-wrap: wrap; transform: translateY(0);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1); }
.cookie-bar.hidden { transform: translateY(110%); }
.cookie-icon { flex-shrink: 0; color: var(--cu); opacity: 0.85; }
.cookie-text { font-size: 13px; color: var(--wg); flex: 1; line-height: 1.55; min-width: 220px; }
.cookie-text a { color: var(--cu); text-decoration: none; }
.cookie-text a:hover { text-decoration: underline; }
.cookie-btns { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.cookie-accept { font-family: var(--fb); font-size: 13px; font-weight: 500;
  background: var(--cu); color: var(--cream); padding: 8px 20px; border: none;
  cursor: pointer; transition: background 0.18s; }
.cookie-accept:hover { background: var(--cu-d); }
.cookie-decline { font-family: var(--fb); font-size: 13px; color: var(--wg);
  background: none; border: 1px solid rgba(255,255,255,0.14);
  padding: 8px 16px; cursor: pointer;
  transition: border-color 0.18s, color 0.18s; }
.cookie-decline:hover { border-color: rgba(255,255,255,0.3); color: var(--cream); }

/* ── calculator surface ─────────────────────── */
.calc-sec { padding: 96px 0; }
.calc-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: start; }
.calc-form { display: flex; flex-direction: column; gap: 28px; }
.calc-field label { font-family: var(--fm); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--wg); display: block; margin-bottom: 10px; }
.calc-field input[type=range] { width: 100%; -webkit-appearance: none; height: 1px;
  background: var(--mid); outline: none; }
.calc-field input[type=range]::-webkit-slider-thumb { -webkit-appearance: none;
  width: 14px; height: 14px; background: var(--cu); cursor: pointer; }
.calc-field input[type=range]::-moz-range-thumb { width: 14px; height: 14px;
  background: var(--cu); border: 0; cursor: pointer; border-radius: 0; }
.calc-readout { font-family: var(--fd); font-weight: 300; font-size: 38px;
  line-height: 1; color: var(--ink); letter-spacing: -0.022em; }
.calc-readout .u { font-family: var(--fm); font-size: 13px; color: var(--wg); margin-left: 8px; }
.calc-card { background: var(--c2); border: 1px solid var(--mid);
  border-left: 3px solid var(--cu); padding: 44px 36px; }
.calc-row { display: flex; justify-content: space-between; align-items: baseline;
  padding: 18px 0; border-bottom: 1px solid var(--mid); font-size: 14px; }
.calc-row:last-child { border-bottom: none; }
.calc-row .k { color: var(--wg); }
.calc-row .v { font-family: var(--fm); color: var(--ink); font-size: 16px; }
.calc-row.tot { padding-top: 28px; }
.calc-row.tot .k { font-family: var(--fd); font-size: 22px; font-weight: 300; color: var(--ink); }
.calc-row.tot .v { font-family: var(--fd); font-size: clamp(40px, 4.5vw, 64px);
  font-weight: 300; color: var(--cu); letter-spacing: -0.022em; }

/* ── dashboard demo surface ─────────────────── */
.dash {
  display: grid; grid-template-columns: 232px 1fr;
  min-height: calc(100vh - 64px);
  background: var(--c2);
}
.dash-side { background: var(--cream); border-right: 1px solid var(--mid); padding: 32px 24px; }
.ds-group { font-family: var(--fm); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--wg); margin-top: 28px; margin-bottom: 12px; }
.ds-item { display: flex; align-items: center; gap: 10px; padding: 8px 10px;
  font-size: 14px; color: var(--ink); cursor: pointer; text-decoration: none; }
.ds-item.active { background: var(--c2); border-left: 2px solid var(--cu);
  margin-left: -10px; padding-left: 18px; }
.ds-item:hover { background: var(--c2); }
.dash-main { padding: 40px 56px; overflow: auto; }
.dh { display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--mid); }
.dh-h { font-family: var(--fd); font-weight: 300; font-size: 38px;
  line-height: 1.07; letter-spacing: -0.022em; color: var(--ink); }
.dh-sub { font-size: 14px; color: var(--wg); margin-top: 6px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--mid); border: 1px solid var(--mid); margin-bottom: 32px; }
.kpi { background: var(--cream); padding: 24px 24px; }
.kpi-l { font-family: var(--fm); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--wg); margin-bottom: 12px; }
.kpi-v { font-family: var(--fd); font-weight: 300; font-size: 38px;
  line-height: 1; color: var(--ink); letter-spacing: -0.022em; }
.kpi-delta { font-family: var(--fm); font-size: 12px; color: var(--cu); margin-top: 10px; }
.lead-tbl { background: var(--cream); border: 1px solid var(--mid); }
.lt-head, .lt-row { display: grid;
  grid-template-columns: 60px 1.6fr 1fr 0.9fr 0.9fr 60px; gap: 18px;
  padding: 16px 24px; align-items: center; }
.lt-head { background: var(--c2); font-family: var(--fm); font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--wg); border-bottom: 1px solid var(--mid); }
.lt-row { border-bottom: 1px solid var(--mid); font-size: 14px; }
.lt-row:last-child { border-bottom: none; }
.lt-row:hover { background: var(--c2); }
.lt-score { font-family: var(--fd); font-weight: 300; font-size: 22px; line-height: 1; }
.lt-score.hot { color: var(--hot); }
.lt-score.warm { color: var(--cu); }
.lt-score.cold { color: var(--wg); }
.lt-status { font-family: var(--fm); font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 4px 10px; display: inline-block; }
.lt-status.hot { background: rgba(196,80,26,0.10); color: var(--hot); }
.lt-status.warm { background: rgba(185,112,56,0.10); color: var(--cu); }
.lt-status.cold { background: var(--c2); color: var(--wg); }

/* ── page hero (subpages) ───────────────────── */
.subhero { padding: 96px 0 64px; max-width: 1200px; margin: 0 auto; padding-left: 56px; padding-right: 56px; }
.subhero .ey { margin-bottom: 20px; }
.subhero h1 { font-size: clamp(46px, 5.8vw, 78px); max-width: 920px; }
.subhero p.sh-sub { font-size: 18px; color: var(--wg); max-width: 580px; margin-top: 24px; line-height: 1.7; }

/* ── how-it-works pipeline ──────────────────── */
.pipe-sec { padding: 80px 0 120px; background: var(--c2); border-top: 1px solid var(--mid); border-bottom: 1px solid var(--mid); }
.pipe-title { font-size: clamp(28px, 3.4vw, 44px); margin-bottom: 12px; max-width: 720px; }
.pipe-sub { font-size: 16px; color: var(--wg); max-width: 560px; margin-bottom: 64px; }
.pipe-rail { position: relative; display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--mid); border: 1px solid var(--mid); }
.pipe-node { background: var(--cream); padding: 28px 36px; display: grid; grid-template-columns: 56px 1fr 1fr 220px; gap: 32px; align-items: center; cursor: pointer; transition: background 0.18s; }
.pipe-node:hover { background: var(--c2); }
.pipe-node.open { background: var(--cream); border-left: 3px solid var(--cu); padding-left: 33px; }
.pipe-n { font-family: var(--fd); font-weight: 300; font-size: 36px; color: var(--mid); line-height: 1; }
.pipe-node.open .pipe-n { color: var(--cu); }
.pipe-name { font-family: var(--fd); font-weight: 300; font-size: 22px; color: var(--ink); line-height: 1.15; }
.pipe-tag { font-family: var(--fm); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--wg); margin-top: 6px; }
.pipe-summ { font-size: 14px; color: var(--wg); line-height: 1.6; }
.pipe-io { display: flex; align-items: center; gap: 10px; font-family: var(--fm); font-size: 11px; color: var(--wg); justify-self: end; }
.pipe-io .arr { color: var(--cu); }
.pipe-io .in { color: var(--ink); }
.pipe-io .out { color: var(--cu); }
.pipe-detail { background: var(--cream); padding: 0 36px; max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.2, 0.6, 0.2, 1), padding 0.3s; }
.pipe-node.open + .pipe-detail { max-height: 600px; padding: 8px 36px 40px; border-left: 3px solid var(--cu); padding-left: 33px; }
.pipe-detail-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; padding-top: 8px; border-top: 1px solid var(--mid); padding-top: 24px; }
.pipe-detail h4 { font-family: var(--fm); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cu); margin-bottom: 14px; }
.pipe-detail ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.pipe-detail li { font-size: 14px; color: var(--ink); line-height: 1.6; padding-left: 18px; position: relative; }
.pipe-detail li::before { content: '—'; color: var(--cu); position: absolute; left: 0; }
.pipe-sample { background: var(--c2); border: 1px solid var(--mid); padding: 20px; }
.pipe-sample-h { font-family: var(--fm); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--wg); margin-bottom: 10px; }
.pipe-sample pre { font-family: var(--fm); font-size: 12px; line-height: 1.7; color: var(--ink); white-space: pre-wrap; }
.pipe-sample .k { color: var(--wg); }
.pipe-sample .v { color: var(--cu); }
.pipe-sample .s { color: var(--hot); font-weight: 500; }

/* live pipeline (animated) */
.live-sec { padding: 100px 0; }
.live-title { font-size: clamp(28px, 3.4vw, 44px); margin-bottom: 12px; }
.live-sub { font-size: 16px; color: var(--wg); margin-bottom: 48px; max-width: 560px; }
.live-stage { background: var(--ink); border: 1px solid var(--ink); padding: 40px 32px; }
.live-call { display: flex; align-items: center; gap: 16px; padding: 12px 16px; background: rgba(247,244,238,0.06); border: 1px solid rgba(247,244,238,0.09); margin-bottom: 32px; }
.live-phone { width: 32px; height: 32px; border: 1px solid var(--cu); display: grid; place-items: center; color: var(--cu); }
.live-meta { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.live-meta .n { font-size: 14px; color: var(--cream); }
.live-meta .t { font-family: var(--fm); font-size: 11px; color: var(--wg); }
.live-time { font-family: var(--fm); font-size: 12px; color: var(--cu); }
.live-blink { width: 7px; height: 7px; border-radius: 50%; background: var(--cu); animation: assay-blink 1.4s ease-in-out infinite; }
.live-stages { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: rgba(247,244,238,0.09); border: 1px solid rgba(247,244,238,0.09); }
.live-stage-cell { background: var(--ink); padding: 18px 16px; min-height: 130px; display: flex; flex-direction: column; gap: 6px; position: relative; transition: background 0.3s; }
.live-stage-cell.active { background: #2A2724; border-left: 2px solid var(--cu); }
.live-stage-cell.done { background: var(--ink); }
.live-stage-cell.done::after { content: '✓'; position: absolute; top: 14px; right: 16px; font-size: 14px; color: var(--cu); }
.live-stage-n { font-family: var(--fm); font-size: 10px; letter-spacing: 0.12em; color: var(--wg); }
.live-stage-name { font-family: var(--fd); font-size: 16px; font-weight: 300; color: var(--cream); line-height: 1.2; }
.live-stage-data { font-family: var(--fm); font-size: 11px; color: var(--cu); margin-top: auto; opacity: 0; transition: opacity 0.3s; min-height: 16px; }
.live-stage-cell.active .live-stage-data,
.live-stage-cell.done .live-stage-data { opacity: 1; }
.live-readout { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 1px; background: rgba(247,244,238,0.09); border: 1px solid rgba(247,244,238,0.09); margin-top: 32px; }
.live-r { background: var(--ink); padding: 18px 20px; }
.live-r-l { font-family: var(--fm); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--wg); margin-bottom: 8px; }
.live-r-v { font-family: var(--fd); font-size: 30px; font-weight: 300; color: var(--cream); line-height: 1; }
.live-r-v.cu { color: var(--cu); }
.live-r-v.hot { color: var(--hot); }
.live-controls { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.live-btn { font-family: var(--fm); font-size: 11px; letter-spacing: 0.06em; padding: 8px 16px; background: rgba(247,244,238,0.06); border: 1px solid rgba(247,244,238,0.14); color: var(--cream); cursor: pointer; transition: all 0.18s; }
.live-btn:hover { border-color: var(--cu); color: var(--cu); }
.live-btn.primary { background: var(--cu); border-color: var(--cu); color: var(--cream); }
.live-btn.primary:hover { background: var(--cu-d); color: var(--cream); }

/* ── pricing page ───────────────────────────── */
.matrix-sec { padding: 100px 0; }
.matrix-title { font-size: clamp(28px, 3.4vw, 44px); margin-bottom: 12px; }
.matrix-sub { font-size: 16px; color: var(--wg); margin-bottom: 52px; max-width: 540px; }
.matrix { width: 100%; border-collapse: collapse; border-top: 1px solid var(--mid); }
.matrix th, .matrix td { padding: 18px 20px; text-align: left; border-bottom: 1px solid var(--mid); font-size: 14px; vertical-align: middle; }
.matrix thead th { font-family: var(--fm); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--wg); font-weight: 400; }
.matrix thead th.cu { color: var(--cu); }
.matrix thead th.feat { width: 38%; }
.matrix .group td { background: var(--c2); font-family: var(--fm); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--wg); padding: 14px 20px; }
.matrix td.k { color: var(--ink); font-weight: 500; }
.matrix td.v { color: var(--wg); font-family: var(--fm); font-size: 13px; }
.matrix td.m-check { color: var(--cu); font-size: 15px; }
.matrix td.m-dash { color: var(--mid); }
.matrix td.feat-col { color: var(--ink); }

.over-sec { padding: 80px 0; background: var(--c2); }
.over-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: start; }
.over-card { background: var(--cream); border: 1px solid var(--mid); border-left: 3px solid var(--cu); padding: 32px 36px; }
.over-row { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--mid); font-size: 14px; }
.over-row:last-child { border-bottom: none; }
.over-row .k { color: var(--wg); }
.over-row .v { font-family: var(--fm); color: var(--ink); }

/* mini ROI */
.mini-roi { background: var(--cream); border: 1px solid var(--mid); border-left: 3px solid var(--cu); padding: 36px 36px; }
.mini-roi h3 { font-family: var(--fd); font-weight: 300; font-size: 26px; line-height: 1.2; margin-bottom: 6px; }
.mini-roi p.s { font-size: 14px; color: var(--wg); margin-bottom: 28px; }
.mini-field { margin-bottom: 22px; }
.mini-field label { font-family: var(--fm); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--wg); display: block; margin-bottom: 8px; }
.mini-field .ro { font-family: var(--fd); font-size: 28px; font-weight: 300; color: var(--ink); line-height: 1; margin-bottom: 8px; }
.mini-field .ro .u { font-family: var(--fm); font-size: 11px; color: var(--wg); margin-left: 6px; }
.mini-roi input[type=range] { width: 100%; -webkit-appearance: none; height: 1px; background: var(--mid); outline: none; }
.mini-roi input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; background: var(--cu); cursor: pointer; }
.mini-roi input[type=range]::-moz-range-thumb { width: 14px; height: 14px; background: var(--cu); border: 0; cursor: pointer; border-radius: 0; }
.mini-result { background: var(--c2); padding: 22px 24px; margin-top: 8px; }
.mini-result .l { font-family: var(--fm); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--wg); margin-bottom: 8px; }
.mini-result .v { font-family: var(--fd); font-size: 44px; font-weight: 300; color: var(--cu); line-height: 1; }
.mini-result .n { font-size: 13px; color: var(--wg); margin-top: 8px; }

/* faq accordion */
.faq-sec { padding: 100px 0; border-top: 1px solid var(--mid); }
.faq-list { display: flex; flex-direction: column; border-top: 1px solid var(--mid); }
.faq-item { border-bottom: 1px solid var(--mid); }
.faq-q-btn { width: 100%; background: none; border: 0; cursor: pointer; padding: 24px 0; display: flex; justify-content: space-between; align-items: center; gap: 24px; text-align: left; font-family: var(--fb); font-size: 17px; color: var(--ink); transition: color 0.15s; }
.faq-q-btn:hover { color: var(--cu); }
.faq-q-btn .plus { font-family: var(--fd); font-weight: 300; font-size: 28px; color: var(--cu); line-height: 1; transition: transform 0.25s; flex-shrink: 0; }
.faq-q-btn.open .plus { transform: rotate(45deg); }
.faq-a-body { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.3s; font-size: 15px; color: var(--wg); line-height: 1.7; max-width: 720px; }
.faq-a-body.open { max-height: 320px; padding-bottom: 24px; }

/* ── agency page ────────────────────────────── */
.agency-hero { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; padding: 96px 56px 80px; max-width: 1200px; margin: 0 auto; align-items: start; }
.agency-stat { background: var(--c2); border: 1px solid var(--mid); border-left: 3px solid var(--cu); padding: 28px 32px; }
.agency-stat + .agency-stat { margin-top: 1px; border-top: 0; }
.agency-stat .l { font-family: var(--fm); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--wg); margin-bottom: 10px; }
.agency-stat .v { font-family: var(--fd); font-size: 44px; font-weight: 300; color: var(--ink); line-height: 1; }
.agency-stat .v.cu { color: var(--cu); }
.agency-stat .d { font-size: 13px; color: var(--wg); margin-top: 8px; }

.subs-sec { background: var(--dark); padding: 100px 0; }
.subs-sec .ey { color: var(--cu); }
.subs-title { font-size: clamp(28px, 3.4vw, 44px); color: var(--cream); margin-bottom: 12px; }
.subs-sub { font-size: 16px; color: var(--wg); margin-bottom: 52px; max-width: 580px; }
.subs-mock { background: var(--ink); border: 1px solid rgba(247,244,238,0.09); }
.subs-mock-head { display: grid; grid-template-columns: 1.6fr 0.8fr 0.8fr 0.8fr 0.8fr 60px; gap: 16px; padding: 14px 24px; background: rgba(247,244,238,0.04); border-bottom: 1px solid rgba(247,244,238,0.09); font-family: var(--fm); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--wg); }
.subs-mock-row { display: grid; grid-template-columns: 1.6fr 0.8fr 0.8fr 0.8fr 0.8fr 60px; gap: 16px; padding: 18px 24px; border-bottom: 1px solid rgba(247,244,238,0.05); align-items: center; font-size: 14px; color: var(--cream); }
.subs-mock-row:last-child { border-bottom: none; }
.subs-mock-row .cell-meta { display: flex; flex-direction: column; gap: 2px; }
.subs-mock-row .cell-meta .nm { color: var(--cream); }
.subs-mock-row .cell-meta .sub { font-family: var(--fm); font-size: 11px; color: var(--wg); }
.subs-mock-row .v-mono { font-family: var(--fm); font-size: 13px; color: var(--cu); }
.subs-mock-row .v-wg { font-family: var(--fm); font-size: 13px; color: var(--wg); }
.subs-mock-row .pill { font-family: var(--fm); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 10px; background: rgba(185,112,56,0.16); color: var(--cu); display: inline-block; }
.subs-mock-row .pill.cold { background: rgba(247,244,238,0.06); color: var(--wg); }

/* apply form */
.apply-sec { padding: 100px 0; }
.apply-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: start; }
.apply-form { display: flex; flex-direction: column; gap: 20px; }
.apply-field { display: flex; flex-direction: column; gap: 8px; }
.apply-field label { font-family: var(--fm); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--wg); }
.apply-field input, .apply-field select, .apply-field textarea { font-family: var(--fb); font-size: 15px; color: var(--ink); background: var(--cream); border: 1px solid var(--mid); padding: 12px 14px; outline: none; transition: border-color 0.18s, box-shadow 0.18s; }
.apply-field input:focus, .apply-field select:focus, .apply-field textarea:focus { border-color: var(--cu); box-shadow: 0 0 0 3px var(--copper-glow); }
.apply-field textarea { min-height: 110px; resize: vertical; }
.apply-submit { display: inline-flex; align-items: center; }
.apply-success { background: var(--c2); border: 1px solid var(--cu); border-left: 3px solid var(--cu); padding: 18px 22px; }
.apply-success .h { font-family: var(--fd); font-weight: 300; font-size: 22px; color: var(--ink); margin-bottom: 6px; }
.apply-success .b { font-size: 14px; color: var(--wg); }

/* ── security page ──────────────────────────── */
.sec-pills { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.sec-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; background: var(--c2); border: 1px solid var(--mid); font-family: var(--fm); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); }
.sec-pill .ck { color: var(--cu); }
.sec-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--mid); border: 1px solid var(--mid); }
.sec-pillar { background: var(--cream); padding: 40px 36px; }
.sec-pillar h3 { font-family: var(--fd); font-weight: 300; font-size: 24px; margin-bottom: 8px; line-height: 1.2; }
.sec-pillar .e { font-family: var(--fm); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cu); margin-bottom: 16px; }
.sec-pillar p { font-size: 14px; color: var(--wg); line-height: 1.7; }
.flow-sec { padding: 100px 0; background: var(--c2); border-top: 1px solid var(--mid); border-bottom: 1px solid var(--mid); }
.flow-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--mid); border: 1px solid var(--mid); }
.flow-cell { background: var(--cream); padding: 28px 24px; position: relative; min-height: 180px; display: flex; flex-direction: column; gap: 10px; }
.flow-cell .n { font-family: var(--fm); font-size: 10px; letter-spacing: 0.12em; color: var(--wg); }
.flow-cell .name { font-family: var(--fd); font-weight: 300; font-size: 18px; line-height: 1.2; color: var(--ink); }
.flow-cell .desc { font-size: 13px; color: var(--wg); line-height: 1.65; }
.flow-cell .where { font-family: var(--fm); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cu); margin-top: auto; }

/* ── legal / long-form ──────────────────────── */
.legal-shell { display: grid; grid-template-columns: 220px 1fr; gap: 80px; max-width: 1100px; margin: 0 auto; padding: 64px 56px 120px; }
.legal-toc { position: sticky; top: 88px; align-self: start; }
.legal-toc-h { font-family: var(--fm); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--wg); margin-bottom: 16px; }
.legal-toc a { display: block; font-size: 13px; color: var(--wg); text-decoration: none; padding: 6px 0; border-left: 1px solid var(--mid); padding-left: 14px; margin-left: -1px; transition: color 0.18s, border-color 0.18s; }
.legal-toc a:hover, .legal-toc a.current { color: var(--cu); border-left-color: var(--cu); }
.legal-body { max-width: 720px; }
.legal-body h2 { font-family: var(--fd); font-weight: 300; font-size: 30px; line-height: 1.15; margin-top: 56px; margin-bottom: 16px; letter-spacing: -0.018em; scroll-margin-top: 88px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { font-family: var(--fb); font-weight: 500; font-size: 16px; color: var(--ink); margin-top: 24px; margin-bottom: 8px; }
.legal-body p { font-size: 15px; color: var(--ink); line-height: 1.75; margin-bottom: 16px; }
.legal-body ul { padding-left: 22px; margin-bottom: 16px; }
.legal-body li { font-size: 15px; color: var(--ink); line-height: 1.75; margin-bottom: 6px; }
.legal-body .updated { font-family: var(--fm); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--wg); margin-bottom: 32px; }
.legal-body code { font-family: var(--fm); font-size: 13px; background: var(--c2); padding: 2px 6px; color: var(--cu); }

/* ── verticals (custom layouts) ──────────────── */
/* lead-gen: funnel */
.funnel-sec { padding: 80px 0 100px; }
.funnel-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center; }
.funnel-stack { display: flex; flex-direction: column; gap: 8px; }
.funnel-bar { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: 22px 28px; background: var(--c2); border: 1px solid var(--mid); position: relative; transition: all 0.4s; }
.funnel-bar .l { font-family: var(--fd); font-weight: 300; font-size: 22px; line-height: 1.1; color: var(--ink); }
.funnel-bar .l .sub { font-size: 13px; color: var(--wg); font-family: var(--fb); display: block; margin-top: 2px; }
.funnel-bar .v { font-family: var(--fm); font-size: 16px; color: var(--cu); }
.funnel-bar.b1 { width: 100%; }
.funnel-bar.b2 { width: 80%; }
.funnel-bar.b3 { width: 60%; }
.funnel-bar.b4 { width: 50%; border-left: 3px solid var(--cu); background: var(--cream); grid-template-columns: 1fr; gap: 6px; }
.funnel-bar.b5 { width: 34%; border-left: 3px solid var(--cu); background: var(--cream); grid-template-columns: 1fr; gap: 6px; }
.funnel-bar.b4 .v, .funnel-bar.b5 .v { font-size: 18px; }
.funnel-aside h3 { font-family: var(--fd); font-weight: 300; font-size: 30px; line-height: 1.15; margin-bottom: 16px; }
.funnel-aside p { font-size: 15px; color: var(--wg); line-height: 1.7; margin-bottom: 20px; }

/* hiring: scoring rubric */
.rubric-sec { padding: 96px 0; background: var(--c2); border-top: 1px solid var(--mid); border-bottom: 1px solid var(--mid); }
.rubric-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.rubric-card { background: var(--cream); border: 1px solid var(--mid); border-left: 3px solid var(--cu); padding: 28px 32px; }
.rubric-row { display: grid; grid-template-columns: 1fr 180px 60px; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--mid); }
.rubric-row:last-child { border-bottom: none; }
.rubric-row .label { font-size: 14px; color: var(--ink); }
.rubric-row .bar { height: 6px; background: var(--mid); position: relative; }
.rubric-row .bar i { display: block; height: 100%; background: var(--cu); }
.rubric-row .score { font-family: var(--fm); font-size: 13px; color: var(--cu); text-align: right; }
.rubric-summary { padding-top: 18px; border-top: 1px solid var(--mid); display: flex; justify-content: space-between; align-items: baseline; }
.rubric-summary .l { font-family: var(--fm); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--wg); }
.rubric-summary .v { font-family: var(--fd); font-size: 36px; font-weight: 300; color: var(--cu); line-height: 1; }
.rubric-aside h3 { font-family: var(--fd); font-weight: 300; font-size: 30px; line-height: 1.15; margin-bottom: 16px; }
.rubric-aside p { font-size: 15px; color: var(--wg); line-height: 1.7; margin-bottom: 16px; }
.rubric-aside .quote { font-family: var(--fd); font-weight: 300; font-style: italic; font-size: 18px; color: var(--ink); line-height: 1.5; padding-left: 20px; border-left: 2px solid var(--cu); margin-top: 24px; }

/* receptionist: schedule */
.sched-sec { padding: 96px 0; }
.sched-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: start; }
.sched-list { background: var(--cream); border: 1px solid var(--mid); }
.sched-row { display: grid; grid-template-columns: 90px 1fr 100px; gap: 16px; align-items: center; padding: 16px 24px; border-bottom: 1px solid var(--mid); }
.sched-row:last-child { border-bottom: none; }
.sched-row .t { font-family: var(--fm); font-size: 12px; color: var(--wg); }
.sched-row .ev { display: flex; flex-direction: column; gap: 2px; }
.sched-row .ev .h { font-size: 14px; color: var(--ink); }
.sched-row .ev .s { font-size: 12px; color: var(--wg); }
.sched-row .tag { font-family: var(--fm); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 10px; text-align: center; }
.sched-row .tag.book { background: rgba(185,112,56,0.12); color: var(--cu); }
.sched-row .tag.fwd { background: var(--c2); color: var(--wg); }
.sched-row .tag.miss { background: rgba(196,80,26,0.10); color: var(--hot); }
.sched-row.assay { background: var(--c2); border-left: 3px solid var(--cu); padding-left: 21px; }

/* ── responsive ─────────────────────────────── */
/* hybrid hero (canonical) */
.hh-card { border: 1px solid var(--mid); border-left: 3px solid var(--cu); background: var(--c2); padding: 22px 24px; }
.hh-top { background: var(--cream); border: 1px solid var(--mid); padding: 16px 18px; }
.hh-caller { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid var(--mid); }
.hh-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--cu); animation: assay-blink 1.4s ease-in-out infinite; flex-shrink: 0; }
.hh-caller-meta { display: flex; flex-direction: column; gap: 1px; flex: 1; min-width: 0; }
.hh-nm { font-size: 14px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hh-org { font-family: var(--fm); font-size: 10px; letter-spacing: 0.06em; color: var(--wg); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hh-tag { font-family: var(--fm); font-size: 9px; letter-spacing: 0.12em; color: var(--cu); padding: 3px 8px; background: rgba(185,112,56,0.10); flex-shrink: 0; }
.hh-stages { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; }
.hh-stage { display: flex; flex-direction: column; gap: 4px; padding: 8px 6px 8px 8px; background: var(--c2); border-left: 2px solid var(--mid); transition: background 0.22s, border-left-color 0.22s; min-height: 50px; }
.hh-stage.on { background: var(--cream); border-left-color: var(--cu); box-shadow: 0 0 0 1px var(--cu) inset; }
.hh-stage.done { background: var(--cream); border-left-color: var(--cu); }
.hh-stage-n { font-family: var(--fm); font-size: 9px; letter-spacing: 0.06em; color: var(--wg); }
.hh-stage.done .hh-stage-n, .hh-stage.on .hh-stage-n { color: var(--cu); }
.hh-stage-name { font-family: var(--fd); font-weight: 300; font-size: 12px; color: var(--ink); line-height: 1.1; }

.hh-bridge { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 10px 0 8px; font-family: var(--fm); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--wg); }
.hh-bridge-arr { font-family: var(--fd); font-size: 16px; color: var(--cu); line-height: 1; }

.hh-list { background: var(--cream); border: 1px solid var(--mid); }
.hh-row { display: grid; grid-template-columns: 1fr 36px 70px; gap: 10px; align-items: center; padding: 8px 14px; border-bottom: 1px solid var(--mid); transition: background 0.5s; }
.hh-row:last-child { border-bottom: none; }
.hh-row.new { background: rgba(185,112,56,0.06); animation: hh-fade-in 0.6s ease-out; }
@keyframes hh-fade-in { from { opacity: 0; transform: translateY(-6px); background: rgba(185,112,56,0.16); } to { opacity: 1; transform: none; background: rgba(185,112,56,0.06); } }
.hh-row-meta { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.hh-row-nm { font-size: 12px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hh-row-org { font-family: var(--fm); font-size: 9px; letter-spacing: 0.04em; color: var(--wg); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hh-row-score { font-family: var(--fd); font-weight: 300; font-size: 20px; line-height: 1; text-align: right; }
.hh-row-score.hot { color: var(--hot); }
.hh-row-score.warm { color: var(--cu); }
.hh-row-score.cold { color: var(--wg); }
.hh-row-pill { font-family: var(--fm); font-size: 9px; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 0; text-align: center; }
.hh-row-pill.hot { background: rgba(196,80,26,0.10); color: var(--hot); }
.hh-row-pill.warm { background: rgba(185,112,56,0.10); color: var(--cu); }
.hh-row-pill.cold { background: var(--mid); color: var(--wg); }
.hh-footer { display: flex; justify-content: space-between; padding-top: 12px; margin-top: 12px; border-top: 1px solid var(--mid); font-family: var(--fm); font-size: 10px; letter-spacing: 0.06em; color: var(--wg); }

/* density */
body.density-compact .hero { padding: 80px 56px 64px; }
body.density-compact .pain-sec,
body.density-compact .ba-sec,
body.density-compact .demo-sec,
body.density-compact .pr-sec,
body.density-compact .cmp-sec,
body.density-compact .how-sec,
body.density-compact .matrix-sec,
body.density-compact .over-sec,
body.density-compact .calc-sec,
body.density-compact .faq-sec,
body.density-compact .pipe-sec,
body.density-compact .live-sec,
body.density-compact .flow-sec,
body.density-compact .rubric-sec,
body.density-compact .sched-sec,
body.density-compact .funnel-sec,
body.density-compact .apply-sec,
body.density-compact .subs-sec { padding: 64px 0; }
body.density-compact .bridge-strip { padding: 36px 0; }
body.density-compact .cta-sec { padding: 80px 0; }
body.density-compact .subhero { padding-top: 72px; padding-bottom: 48px; }
body.density-compact .pain-title,
body.density-compact .ba-title,
body.density-compact .demo-title,
body.density-compact .pr-title,
body.density-compact .cmp-title,
body.density-compact .how-title,
body.density-compact .matrix-title,
body.density-compact .pipe-title,
body.density-compact .live-title { margin-bottom: 24px; }



/* ── about page ─────────────────────────────── */
.principles-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--mid); border: 1px solid var(--mid); }
.principle { background: var(--cream); padding: 36px 40px; display: flex; gap: 24px; }
.principle-n { font-family: var(--fd); font-weight: 300; font-size: 40px; color: var(--cu);
  line-height: 1; flex-shrink: 0; }
.principle-name { font-family: var(--fd); font-weight: 300; font-size: 22px; line-height: 1.2;
  color: var(--ink); margin-bottom: 12px; letter-spacing: -0.012em; }
.principle-body { font-size: 15px; color: var(--wg); line-height: 1.7; }

.origin-sec { padding: 100px 0; background: var(--c2); border-top: 1px solid var(--mid);
  border-bottom: 1px solid var(--mid); }
.origin-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: start; }
.origin-p { font-size: 16px; color: var(--ink); line-height: 1.75; margin-bottom: 18px; }
.origin-quote { font-family: var(--fd); font-weight: 300; font-style: italic; font-size: 22px;
  color: var(--ink); line-height: 1.5; padding-left: 22px; border-left: 2px solid var(--cu);
  margin-top: 28px; }
.origin-card { background: var(--cream); border: 1px solid var(--mid); border-left: 3px solid var(--cu);
  padding: 32px 36px; }
.origin-stat { padding: 14px 0; border-bottom: 1px solid var(--mid); }
.origin-stat:last-child { border-bottom: none; }
.os-l { font-family: var(--fm); font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--wg); margin-bottom: 6px; }
.os-v { font-family: var(--fd); font-weight: 300; font-size: 32px; color: var(--ink);
  line-height: 1; letter-spacing: -0.018em; margin-bottom: 4px; }
.os-d { font-size: 13px; color: var(--wg); line-height: 1.55; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.09);
  margin-bottom: 64px; }
.contact-row { background: var(--dark); padding: 20px 24px; display: flex;
  justify-content: space-between; align-items: baseline; gap: 16px; }
.contact-l { font-size: 14px; color: var(--wg); }
.contact-e { font-family: var(--fm); font-size: 14px; color: var(--cu); text-decoration: none; }
.contact-e:hover { color: var(--cream); }
.contact-extra { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 48px;
  padding-top: 48px; border-top: 1px solid rgba(255,255,255,0.09); }


.trust-strip { padding: 72px 0; border-top: 1px solid var(--mid); }
.trust-strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--mid); border: 1px solid var(--mid); margin-bottom: 24px; }
.trust-strip-cell { background: var(--cream); padding: 24px 24px; }
.ts-l { font-family: var(--fm); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--wg); margin-bottom: 14px; }
.ts-v { font-family: var(--fd); font-weight: 300; font-size: 19px; line-height: 1.2;
  color: var(--ink); letter-spacing: -0.012em; margin-bottom: 10px; }
.ts-d { font-size: 13px; color: var(--wg); line-height: 1.6; }
.trust-strip-foot { font-size: 14px; color: var(--wg); line-height: 1.7; text-align: center;
  max-width: 720px; margin: 0 auto; }
.trust-strip-foot a { color: var(--cu); text-decoration: none; }
.trust-strip-foot a:hover { text-decoration: underline; }

/* ── boot state ─────────────────────────────── */
/* Static pre-React placeholder. Lives inside #root and is replaced when
   React's first render runs. Prevents the white flash during Babel compile. */
.boot {
  min-height: 70vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--cream);
  gap: 18px;
}
.boot-mark {
  display: inline-flex; align-items: baseline; gap: 6px;
  font-family: var(--fd); font-weight: 600; font-size: 28px;
  letter-spacing: 0.04em; color: var(--ink);
}
.boot-mark::after {
  content: ''; width: 10px; height: 10px; background: var(--cu);
  align-self: baseline;
}
.boot-bar {
  width: 120px; height: 1px; background: var(--mid); position: relative; overflow: hidden;
}
.boot-bar::after {
  content: ''; position: absolute; inset: 0; background: var(--cu);
  width: 30%; animation: boot-slide 1.4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes boot-slide {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(400%); }
}
.boot-label {
  font-family: var(--fm); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--wg);
}


/* ── blog ────────────────────────────────────── */
.blog-hero { padding: 80px 0 48px; }
.blog-hero .W { max-width: 1100px; }
.blog-hero h1 { font-size: clamp(40px, 5vw, 64px); margin-bottom: 16px; }
.blog-hero p.intro { font-size: 18px; color: var(--wg); max-width: 640px; line-height: 1.7; }

.blog-grid {
  max-width: 1100px; margin: 0 auto; padding: 0 56px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--mid); border: 1px solid var(--mid); margin-bottom: 80px;
}
.blog-card { background: var(--cream); padding: 36px 36px; display: flex; flex-direction: column; gap: 16px;
  text-decoration: none; color: inherit; transition: background 0.18s; }
.blog-card:hover { background: var(--c2); }
.blog-card.feat { grid-column: span 2; padding: 48px 40px; border-left: 3px solid var(--cu); }
.blog-card .cat {
  font-family: var(--fm); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--cu);
}
.blog-card h2 { font-family: var(--fd); font-weight: 300; font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.2; letter-spacing: -0.014em; color: var(--ink); }
.blog-card.feat h2 { font-size: clamp(28px, 3vw, 42px); }
.blog-card .lede { font-size: 15px; color: var(--wg); line-height: 1.7; }
.blog-card .meta {
  font-family: var(--fm); font-size: 11px; color: var(--wg);
  margin-top: auto; padding-top: 12px; display: flex; gap: 14px;
}
.blog-card .meta span:not(:last-child)::after { content: ' · '; margin-left: 14px; color: var(--mid); }

/* Article shell — single-post layout */
.post-shell { max-width: 1100px; margin: 0 auto; padding: 64px 56px 96px;
  display: grid; grid-template-columns: 220px 1fr; gap: 80px; }
.post-toc { position: sticky; top: 88px; align-self: start; }
.post-toc h4 {
  font-family: var(--fm); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--wg); margin-bottom: 16px;
}
.post-toc a {
  display: block; font-size: 13px; color: var(--wg); text-decoration: none;
  padding: 6px 0; padding-left: 14px; border-left: 1px solid var(--mid);
  margin-left: -1px; transition: color 0.18s, border-color 0.18s; line-height: 1.4;
}
.post-toc a:hover, .post-toc a.current { color: var(--cu); border-left-color: var(--cu); }

.post-body { max-width: 720px; }
.post-meta {
  font-family: var(--fm); font-size: 11px; letter-spacing: 0.06em; color: var(--wg);
  display: flex; gap: 18px; margin-bottom: 24px; flex-wrap: wrap;
}
.post-meta .cat { color: var(--cu); }
.post-body h1 { font-family: var(--fd); font-weight: 300; font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1.1; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 24px; }
.post-body .lede { font-size: 19px; color: var(--ink); line-height: 1.65; margin-bottom: 40px; }
.post-body h2 { font-family: var(--fd); font-weight: 300; font-size: 32px;
  line-height: 1.2; letter-spacing: -0.014em; color: var(--ink);
  margin-top: 56px; margin-bottom: 18px; scroll-margin-top: 88px; }
.post-body h3 { font-family: var(--fb); font-weight: 500; font-size: 18px; color: var(--ink);
  margin-top: 32px; margin-bottom: 10px; }
.post-body p { font-size: 16px; color: var(--ink); line-height: 1.8; margin-bottom: 18px; }
.post-body p strong { color: var(--ink); font-weight: 500; }
.post-body a { color: var(--cu); text-decoration: none; border-bottom: 1px solid rgba(185,112,56,0.30); }
.post-body a:hover { border-bottom-color: var(--cu); }
.post-body ul, .post-body ol { margin: 0 0 18px 20px; padding-left: 16px; }
.post-body li { font-size: 16px; color: var(--ink); line-height: 1.8; margin-bottom: 8px; }
.post-body blockquote {
  font-family: var(--fd); font-weight: 300; font-style: italic; font-size: 22px;
  color: var(--ink); line-height: 1.5; padding: 14px 22px; border-left: 2px solid var(--cu);
  margin: 28px 0;
}
.post-body code {
  font-family: var(--fm); font-size: 14px; color: var(--cu);
  background: var(--c2); padding: 2px 6px;
}
.post-body pre {
  background: var(--c2); padding: 18px 22px; margin: 24px 0;
  font-family: var(--fm); font-size: 13px; line-height: 1.7; color: var(--ink);
  overflow-x: auto; border-left: 2px solid var(--cu);
}
.post-body pre code { background: none; padding: 0; color: var(--ink); }
.post-body .callout {
  background: var(--c2); border-left: 3px solid var(--cu); padding: 22px 26px;
  margin: 28px 0;
}
.post-body .callout p:last-child { margin-bottom: 0; }
.post-body .callout strong { color: var(--cu); display: block; margin-bottom: 6px;
  font-family: var(--fm); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; }
.post-body table { width: 100%; border-collapse: collapse; margin: 28px 0; }
.post-body th, .post-body td { padding: 12px 16px; text-align: left;
  border-bottom: 1px solid var(--mid); font-size: 14px; vertical-align: top; }
.post-body th { font-family: var(--fm); font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--wg); font-weight: 400; }
.post-body hr {
  border: none; border-top: 1px solid var(--mid); margin: 56px 0;
}
.post-cta {
  background: var(--ink); color: var(--cream); padding: 32px 36px;
  border-left: 3px solid var(--cu); margin: 48px 0 24px;
}
.post-cta h3 { font-family: var(--fd); font-weight: 300; font-size: 24px;
  line-height: 1.25; color: var(--cream); margin-bottom: 10px; letter-spacing: -0.012em; }
.post-cta p { font-size: 15px; color: var(--wg); margin-bottom: 18px; line-height: 1.65; }
.post-cta a {
  display: inline-block; background: var(--cu); color: var(--cream); padding: 10px 22px;
  font-size: 14px; font-weight: 500; text-decoration: none; transition: background 0.18s;
  border-bottom: none;
}
.post-cta a:hover { background: var(--cream); color: var(--ink); }

.post-related {
  max-width: 1100px; margin: 0 auto; padding: 0 56px 80px;
}
.post-related h3 { font-family: var(--fm); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--wg); margin-bottom: 18px; }
.related-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1px;
  background: var(--mid); border: 1px solid var(--mid); }
.related-card { background: var(--cream); padding: 22px 24px; display: flex;
  flex-direction: column; gap: 10px; text-decoration: none; color: inherit; transition: background 0.18s; }
.related-card:hover { background: var(--c2); }
.related-card .cat {
  font-family: var(--fm); font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--cu);
}
.related-card h4 { font-family: var(--fd); font-weight: 300; font-size: 20px;
  line-height: 1.25; color: var(--ink); letter-spacing: -0.012em; }
.related-card .arr {
  font-family: var(--fm); font-size: 11px; color: var(--cu); margin-top: auto;
}



/* ═══════════════════════════════════════════════════════════
   MOBILE — comprehensive responsive additions
   Three breakpoints: 900px (tablet), 600px, 480px (mobile)
   ═══════════════════════════════════════════════════════════ */

/* ── Hamburger button (desktop: hidden) ─────────────────── */
.hamburger {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; padding: 8px;
  background: none; border: 0; cursor: pointer;
  margin-left: 12px; flex-shrink: 0; order: 3;
}
.hamburger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.2s ease;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Desktop CTA — one button, React controls mobile variant */
.ncta-desk  { display: inline-block; }
.ncta-panel {
  /* Mobile panel CTA: React only renders this when mobileOpen=true,
     so no CSS display fight needed. Just style it as a full-width block. */
  display: block;
  margin: 12px 20px 4px;
  width: calc(100% - 40px);
  text-align: center;
  padding: 13px 22px;
  font-size: 15px;
}
/* Prevent the nav link hover rule from clobbering CTA text colour */
.nl .ncta-panel:hover { color: var(--cream); }

/* Backdrop behind mobile menu */
.nav-backdrop {
  position: fixed; inset: 0; top: 64px;
  background: rgba(24,22,20,0.4);
  z-index: 97;
  animation: backdrop-in 0.2s ease;
}
@keyframes backdrop-in { from { opacity: 0; } to { opacity: 1; } }

/* ── 900px: tablet / large mobile ───────────────────────── */
@media (max-width: 900px) {
  /* Hamburger visible */
  .hamburger { display: flex; }

  /* Desktop CTA hidden; mobile CTA shown inside .nl panel */
  .ncta-desk { display: none; }
  /* ncta-panel is React-rendered only when mobileOpen — no CSS needed */

  /* Mobile nav panel */
  .nl {
    display: none;
    position: fixed;
    top: 64px; left: 0; right: 0;
    max-height: calc(100dvh - 64px);
    overflow-y: auto;
    background: var(--cream);
    border-bottom: 1px solid var(--mid);
    box-shadow: 0 8px 32px rgba(24,22,20,0.12);
    flex-direction: column;
    align-items: stretch;
    z-index: 98;
    padding-bottom: 16px;
  }
  .nl.mobile-open { display: flex; }

  .nl a, .nl-btn {
    height: 52px; padding: 0 24px;
    font-size: 16px; width: 100%;
    justify-content: flex-start;
    border-bottom: 1px solid var(--mid);
    border-right: 0;
  }
  .nl-btn { border-bottom: 1px solid var(--mid); }

  /* Mobile: nav-pop is inline (not absolute) */
  .nav-drop { width: 100%; }
  .nav-pop {
    position: static;
    box-shadow: none;
    border: none;
    border-left: 3px solid var(--cu);
    min-width: 0;
    padding: 8px 16px 12px 24px;
    margin: 0;
    background: var(--c2);
  }
  .nav-pop-grid { grid-template-columns: 1fr; gap: 0; }
  .nav-pop.narrow .nav-pop-grid { grid-template-columns: 1fr; }
  .nav-pop-label { padding-left: 0; margin-top: 12px; }
  .nav-pop-item { padding: 10px 8px; height: auto !important; border-bottom: 1px solid var(--mid); }
  .nav-pop-item:last-child { border-bottom: none; }

  /* Core layout fixes (some were already set; keeping for completeness) */
  nav.assay-nav { padding: 0 20px; }
  .W { padding: 0 20px; }
  .hero { grid-template-columns: 1fr; padding: 72px 20px 56px; gap: 40px; }
  .pain-grid, .ba-grid, .pr-grid, .how-grid, .calc-grid, .kpis,
  .sec-pillars, .flow-grid, .agency-hero, .apply-grid,
  .funnel-grid, .rubric-grid, .sched-grid, .over-grid { grid-template-columns: 1fr; }
  .live-stages { grid-template-columns: 1fr 1fr 1fr; }
  .live-readout { grid-template-columns: 1fr 1fr; }
  .legal-shell { grid-template-columns: 1fr; gap: 32px; padding: 48px 20px 80px; }
  .legal-toc { position: static; }
  .subhero { padding-left: 20px; padding-right: 20px; }
  .agency-hero { padding-left: 20px; padding-right: 20px; }
  .matrix th, .matrix td { padding: 12px 8px; font-size: 12px; }
  .pipe-node { grid-template-columns: 1fr; gap: 12px; padding: 20px; }
  .pipe-io { justify-self: start; }
  .nav-pop { left: 0; right: 0; }
  .faq { grid-template-columns: 1fr; gap: 24px; }
  .cta-inner { padding: 0 20px; }
  footer.assay-footer { padding: 20px; flex-direction: column; align-items: flex-start; }
  .fl { flex-wrap: wrap; gap: 8px 16px; }
  .dash { grid-template-columns: 1fr; }
  .dash-side { display: none; }
  .dash-main { padding: 20px; }
  .lt-head, .lt-row { grid-template-columns: 50px 1.4fr 1fr 60px; }
  .lt-row > :nth-child(3), .lt-head > :nth-child(3),
  .lt-row > :nth-child(4), .lt-head > :nth-child(4) { display: none; }
  .trust-strip-grid { grid-template-columns: 1fr 1fr; }
  .gap-inner { padding: 0 20px; }
  .blog-grid, .related-grid { grid-template-columns: 1fr; padding: 0 20px; }
  .blog-card.feat { grid-column: auto; }
  .post-shell { grid-template-columns: 1fr; padding: 48px 20px 64px; gap: 32px; }
  .post-toc { position: static; }
  .post-related { padding: 0 20px 64px; }
  .blog-hero .W { padding: 0 20px; }
  .principles-grid, .origin-grid, .contact-grid, .contact-extra { grid-template-columns: 1fr; }
  .hh-stages { grid-template-columns: 1fr 1fr 1fr; }
}

/* ── 600px: large phones ────────────────────────────────── */
@media (max-width: 600px) {
  .hh-stages { grid-template-columns: 1fr 1fr; }
  .live-stages { grid-template-columns: 1fr 1fr; }
  .trust { flex-wrap: wrap; gap: 16px 24px; }
  .trust-strip-grid { grid-template-columns: 1fr; }
  .pr-grid { gap: 2px; }
  .bridge-strip { padding: 48px 0; }
  .demo-sec { padding: 72px 0; }
  .ba-sec, .how-sec, .pain-sec, .cmp-sec, .cta-sec { padding: 72px 0; }
  .cta-h { font-size: clamp(36px, 9vw, 56px); }
}

/* ── 480px: true mobile / small phones ──────────────────── */
@media (max-width: 480px) {
  /* Typography */
  .h1 { font-size: clamp(36px, 9.5vw, 52px); }
  .h-sub { font-size: 16px; margin-bottom: 32px; }
  .cta-row { gap: 16px; }
  .subhero h1 { font-size: clamp(32px, 9vw, 48px); }

  /* Hero layout */
  .hero { padding: 56px 20px 44px; }
  .dial-card { padding: 32px 24px; }

  /* HeroHybrid: 6-col stages → 2 cols */
  .hh-stages { grid-template-columns: 1fr 1fr; }
  .hh-stage { min-height: 44px; }

  /* Compare table: horizontal scroll */
  .cmp-sec .W { overflow-x: auto; -webkit-overflow-scrolling: touch; padding-right: 0; }
  .cmp { min-width: 400px; }
  .cmp thead th, .cmp tbody td { padding: 14px 14px; font-size: 14px; }

  /* Pricing matrix: horizontal scroll */
  .matrix-sec .W { overflow-x: auto; -webkit-overflow-scrolling: touch; padding-right: 0; }
  .matrix { min-width: 460px; }

  /* Pricing tiers: full-width stack, no gap hairline */
  .pr-grid { background: transparent; gap: 8px; }
  .tier { padding: 32px 24px; }
  .t-price { font-size: clamp(32px, 8vw, 48px); }

  /* Agency sub-accounts mock: reduce to 3 visible columns */
  .subs-mock-head,
  .subs-mock-row { grid-template-columns: 1.8fr 1fr 60px; }
  .subs-mock-head > *:nth-child(n+3):not(:nth-child(6)),
  .subs-mock-row  > *:nth-child(n+3):not(:nth-child(6)) { display: none; }

  /* Rubric: hide bar column */
  .rubric-row { grid-template-columns: 1fr 60px; }
  .rubric-row .bar { display: none; }

  /* Schedule: hide time column */
  .sched-row { grid-template-columns: 1fr 90px; gap: 12px; }
  .sched-row .t { display: none; }

  /* Funnel bars: full width on mobile */
  .funnel-bar.b2, .funnel-bar.b3,
  .funnel-bar.b4, .funnel-bar.b5 { width: 100%; }

  /* Pipeline detail: single column */
  .pipe-detail-grid { grid-template-columns: 1fr; gap: 24px; }

  /* Security flow: 5-col → 2-col */
  .flow-grid { grid-template-columns: 1fr 1fr; }

  /* How-it-works numbers */
  .how-n { font-size: 40px; min-width: 48px; }
  .how-grid { gap: 32px 48px; }

  /* Live pipeline readout: 2 cols */
  .live-readout { grid-template-columns: 1fr 1fr; }
  .live-r-v { font-size: 24px; }

  /* Trust strip */
  .trust-strip-grid { grid-template-columns: 1fr; }

  /* Cookie bar: stack on narrow */
  .cookie-bar { flex-direction: column; align-items: flex-start; gap: 14px; padding: 18px 20px; }
  .cookie-btns { width: 100%; display: flex; justify-content: flex-end; gap: 10px; }

  /* Legal */
  .legal-shell { padding: 36px 20px 72px; }
  .legal-body h2 { font-size: 24px; }

  /* Post/blog tables: horizontal scroll */
  .blog-body table,
  .post-body table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }

  /* About contact extra */
  .contact-extra { gap: 28px; }

  /* Gap band */
  .gap-inner { padding: 0 20px; }
  .gap-statement { font-size: clamp(22px, 6vw, 32px); }

  /* Bridge */
  .bridge-strip { padding: 40px 0; }
  .bridge-strip p { padding: 0 20px; }

  /* CTA section */
  .cta-sec { padding: 72px 0; }
  .cta-h { font-size: clamp(34px, 9vw, 48px); }
  .cta-sub { font-size: 16px; }

  /* Prevent iOS auto-zoom on inputs (must be >= 16px) */
  input, select, textarea, .apply-field input,
  .apply-field select, .apply-field textarea { font-size: 16px !important; }

  /* Mini ROI */
  .mini-roi { padding: 28px 20px; }
  .mini-result .v { font-size: 36px; }

  /* Agency */
  .agency-hero { padding: 64px 20px 56px; }

  /* Footer links */
  .fl a { font-size: 13px; }

  /* Overflow guard: catch any rogue wide elements */
  .W, section, .hero, .ba-sec .W, .demo-sec .W,
  .how-sec .W, .pr-sec .W { max-width: 100vw; }
}

/* ── Blog index ─────────────────────────────────────────── */
.blog-hero { padding: 96px 0 72px; border-bottom: 1px solid var(--mid); }

.blog-card {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 40px;
  border: 1px solid var(--mid);
  background: var(--cream);
  position: relative;
  transition: border-color 0.2s, box-shadow 0.2s;
  margin-bottom: 0;
}
.blog-card:hover {
  border-color: var(--cu);
  box-shadow: 0 4px 24px rgba(24,22,20,0.07);
}
.blog-card.feat {
  margin-bottom: 48px;
  display: grid;
  grid-template-columns: 1fr;
}
.blog-card.feat .blog-card-title {
  font-size: clamp(22px, 3vw, 36px);
  max-width: 680px;
}
.blog-card-tag {
  display: inline-block;
  font-family: var(--fm);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--cu);
  padding: 4px 10px;
  margin-bottom: 16px;
}
.blog-card-cat {
  font-family: var(--fm);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cu);
  margin-bottom: 14px;
}
.blog-card-title {
  font-family: var(--fd);
  font-weight: 300;
  font-size: clamp(18px, 2.2vw, 26px);
  line-height: 1.15;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin-bottom: 14px;
}
.blog-card:hover .blog-card-title { color: var(--cu); }
.blog-card-deck {
  font-size: 15px;
  color: var(--wg);
  line-height: 1.7;
  margin-bottom: 24px;
}
.blog-card-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--fm);
  font-size: 12px;
  color: var(--wg);
}
.blog-card-arrow {
  margin-left: auto;
  color: var(--cu);
  font-size: 16px;
  transition: transform 0.2s;
}
.blog-card:hover .blog-card-arrow { transform: translateX(4px); }
.blog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* Mobile */
@media (max-width: 640px) {
  .blog-hero { padding: 64px 0 48px; }
  .blog-card { padding: 28px 24px; }
  .blog-card.feat { margin-bottom: 32px; }
  .blog-grid { grid-template-columns: 1fr; }
}
