/* ==========================================================================
   Halo Ai — marketing site styles
   Tokens sourced verbatim from prototype .theme-dark block (see EDITING.md)
   ==========================================================================

   ---- BREAKPOINT SYSTEM (read before adding any @media) ----------------------
   CSS media queries can't read custom properties, so these live here as the
   single documented contract. Use ONLY these values in @media rules so the whole
   site (and zaheermerali.com, which it mirrors) collapses at the same widths.

     Desktop         >= 1041px   full layout; depth-gauge rail visible
     Tablet-land     901–1040px  wide; nav still full
     Tablet-port     <= 900px    nav collapses to hamburger; page gutters tighten
     Mobile          <= 760px    multi-col grids drop toward 1–2 cols
     Small-mobile    <= 480px    single column; CTA/gutter shrink guards
     Tiny            <= 400px    last-ditch shrink (centered CTA padding)

   Orientation guard (NOT width — height):
     Phone-landscape (max-width:900px) and (orientation:landscape) and (max-height:520px)
       → a phone held sideways: viewport is wide but SHORT. Compress vertical
         padding and cap the mobile menu so it scrolls instead of overflowing.

   Rule of thumb: pick the largest tier at which a component still looks right,
   and only add a smaller tier when it visibly breaks. Don't invent new numbers.
   ---------------------------------------------------------------------------- */

:root {
  --brand-green: #66db82;
  --brand-green-strong: #0a7d47;
  --brand-green-soft: #8fe8a4;
  --brand-navy: #063849;
  --brand-ink: #041f28;

  --font-display: "Barlow", system-ui, sans-serif;
  --font-body: "Barlow", system-ui, sans-serif;

  --radius-sm: 3px;
  --radius-md: 5px;
  --radius-lg: 8px;
  --radius-xl: 12px;
  --radius-2xl: 16px;
  --radius-full: 9999px;

  --focus-ring: 0 0 0 3px rgba(102, 219, 130, 0.5);
}

.theme-dark {
  --bg: #041f28;
  --bg-elevated: #063849;
  --surface: rgba(4, 24, 31, 0.55);
  --surface-2: rgba(4, 24, 31, 0.42);
  --surface-solid: #0a2b37;
  --glass-blur: 7px;
  --border: rgba(255, 255, 255, 0.10);
  --border-strong: rgba(255, 255, 255, 0.18);
  --text: #ffffff;
  --text-muted: #a9c0c9;
  --text-subtle: #7793a0;
  --action: #66db82;
  --action-hover: #7fe698;
  --on-action: #063849;
  --accent: #66db82;
  --error: #ff7b80;
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.5);
  --chip-success-bg: rgba(102, 219, 130, 0.16);
  --glass-tint: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  --logo-bar: #ffffff;
  --mesh-node: rgba(143, 232, 164, 0.5);
  --mesh-edge: rgba(102, 219, 130, 0.28);
  --depth-field: linear-gradient(180deg, #0a4256 0%, #063849 26%, #052c39 58%, #041f28 82%, #03161d 100%);
  --depth-glow: radial-gradient(ellipse 120% 48% at 50% 42%, rgba(102, 219, 130, 0.12), transparent 64%);
  --mesh-show: 1; /* mesh renders in dark only */
  --nav-scrolled-bg: rgba(4, 20, 25, 0.82);
  --menu-bg: rgba(4, 20, 25, 0.96);
  --foot-bg: linear-gradient(180deg, rgba(3, 22, 29, 0.55), rgba(3, 22, 29, 0.92) 45%);

  /* ---- Panel palette (dark) — 5 hues × soft / bold / gradient. See design-system §. ---- */
  --tint-teal-soft: rgba(102, 219, 130, 0.10);
  --tint-teal-bold: rgba(102, 219, 130, 0.22);
  --tint-teal-grad: linear-gradient(155deg, rgba(102, 219, 130, 0.22), rgba(10, 125, 71, 0.10));
  --tint-teal-ink: #8fe8a4;
  --tint-gold-soft: rgba(240, 200, 110, 0.10);
  --tint-gold-bold: rgba(240, 200, 110, 0.22);
  --tint-gold-grad: linear-gradient(155deg, rgba(240, 200, 110, 0.24), rgba(180, 130, 40, 0.10));
  --tint-gold-ink: #f0c86e;
  --tint-coral-soft: rgba(255, 123, 128, 0.10);
  --tint-coral-bold: rgba(255, 123, 128, 0.22);
  --tint-coral-grad: linear-gradient(155deg, rgba(255, 123, 128, 0.24), rgba(150, 50, 60, 0.10));
  --tint-coral-ink: #ff9ca0;
  --tint-violet-soft: rgba(150, 130, 240, 0.10);
  --tint-violet-bold: rgba(150, 130, 240, 0.22);
  --tint-violet-grad: linear-gradient(155deg, rgba(150, 130, 240, 0.24), rgba(70, 55, 150, 0.10));
  --tint-violet-ink: #b3a5f5;
  --tint-slate-soft: rgba(169, 192, 201, 0.08);
  --tint-slate-bold: rgba(169, 192, 201, 0.18);
  --tint-slate-grad: linear-gradient(155deg, rgba(169, 192, 201, 0.18), rgba(119, 147, 160, 0.06));
  --tint-slate-ink: #c7d6dc;
}

/* Frosted tinted-teal light theme. Same green family, darkened to
   #0a7d47 for contrast on light surfaces. Frosted-glass surfaces over
   a soft teal wash. No mesh (--mesh-show:0); a faint static glow instead. */
.theme-light {
  --bg: #e8f2f1;
  --bg-elevated: #ffffff;
  --surface: rgba(255, 255, 255, 0.66);
  --surface-2: rgba(255, 255, 255, 0.5);
  --surface-solid: #ffffff;
  --glass-blur: 14px;
  --border: rgba(6, 56, 73, 0.12);
  --border-strong: rgba(6, 56, 73, 0.22);
  --text: #063849;
  --text-muted: #3f5d64;
  --text-subtle: #6a8891;
  --action: #0a7d47;
  --action-hover: #0c8f51;
  --on-action: #ffffff;
  --accent: #0a7d47;
  --error: #d64550;
  --shadow-md: 0 8px 28px rgba(6, 56, 73, 0.10);
  --chip-success-bg: rgba(10, 125, 71, 0.10);
  --glass-tint: linear-gradient(160deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.18));
  --logo-bar: #063849;
  --mesh-node: rgba(10, 125, 71, 0.35);
  --mesh-edge: rgba(10, 125, 71, 0.18);
  --depth-field: linear-gradient(180deg, #eef6f4 0%, #e8f2f1 40%, #dcecea 100%);
  --depth-glow: radial-gradient(ellipse 120% 52% at 50% 0%, rgba(102, 219, 130, 0.16), transparent 60%);
  --mesh-show: 0;
  --nav-scrolled-bg: rgba(232, 242, 241, 0.82);
  --menu-bg: rgba(238, 246, 244, 0.97);
  --foot-bg: linear-gradient(180deg, rgba(220, 236, 234, 0.72), rgba(210, 230, 227, 0.92) 45%);

  /* ---- Panel palette (light) — same 5 hues, tuned for a light bg ---- */
  --tint-teal-soft: rgba(10, 125, 71, 0.08);
  --tint-teal-bold: rgba(10, 125, 71, 0.16);
  --tint-teal-grad: linear-gradient(155deg, rgba(102, 219, 130, 0.28), rgba(10, 125, 71, 0.10));
  --tint-teal-ink: #0a7d47;
  --tint-gold-soft: rgba(176, 130, 40, 0.09);
  --tint-gold-bold: rgba(176, 130, 40, 0.18);
  --tint-gold-grad: linear-gradient(155deg, rgba(240, 200, 110, 0.36), rgba(176, 130, 40, 0.12));
  --tint-gold-ink: #8a6410;
  --tint-coral-soft: rgba(200, 60, 70, 0.08);
  --tint-coral-bold: rgba(200, 60, 70, 0.16);
  --tint-coral-grad: linear-gradient(155deg, rgba(255, 150, 155, 0.34), rgba(200, 60, 70, 0.12));
  --tint-coral-ink: #b03038;
  --tint-violet-soft: rgba(90, 70, 190, 0.08);
  --tint-violet-bold: rgba(90, 70, 190, 0.16);
  --tint-violet-grad: linear-gradient(155deg, rgba(150, 130, 240, 0.30), rgba(90, 70, 190, 0.12));
  --tint-violet-ink: #4b3aa0;
  --tint-slate-soft: rgba(63, 93, 100, 0.07);
  --tint-slate-bold: rgba(63, 93, 100, 0.14);
  --tint-slate-grad: linear-gradient(155deg, rgba(119, 147, 160, 0.22), rgba(63, 93, 100, 0.08));
  --tint-slate-ink: #3f5d64;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  transition: background-color .5s ease, color .5s ease;
}

:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: var(--radius-sm);
}

/* ---- Depth field (fixed full-page background) ---- */
.depth {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.depth-field {
  position: absolute;
  inset: 0;
  background: var(--depth-field);
}
.depth-glow {
  position: absolute;
  inset: 0;
  background: var(--depth-glow);
}
.mesh {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.theme-light .mesh { display: none; }

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 40px;
}
@media (max-width: 900px) {
  .wrap { padding: 0 28px; }
}
@media (max-width: 480px) {
  .wrap { padding: 0 20px; }
}

/* ---- Nav ---- */
/* Sticky lives on the MOUNT point (#site-nav), a direct child of <body>, so it
   can stick across the whole page. chrome.js injects <header class="snav"> INSIDE
   this mount; if sticky were on .snav its parent would be this short wrapper and
   it would scroll away immediately. Keep sticky here, glass on .snav. */
#site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
}
/* Scroll-linked: --nav-scroll (0→1, set by main.js over ~140px) ramps the
   glass in gradually — background hue fades up, blur deepens, border appears —
   instead of snapping. Content passing under the glass blurs progressively too. */
.snav {
  display: block;
  --nav-scroll: 0;
  /* Baseline glass so the nav ALWAYS reads as a glass panel — both themes, every
     screen size/orientation, even at the top or on short pages that don't scroll.
     The --nav-scroll ramp (0->1 over ~140px, set by main.js) deepens it further:
     hue and blur build on top of this floor instead of starting from nothing. */
  background: color-mix(in srgb, var(--nav-scrolled-bg) calc((0.62 + var(--nav-scroll) * 0.38) * 100%), transparent);
  backdrop-filter: blur(calc(7px + var(--nav-scroll) * 5px)) saturate(calc(1.15 + var(--nav-scroll) * 0.25));
  -webkit-backdrop-filter: blur(calc(7px + var(--nav-scroll) * 5px)) saturate(calc(1.15 + var(--nav-scroll) * 0.25));
  border-bottom: 1px solid color-mix(in srgb, var(--border) calc((0.5 + var(--nav-scroll) * 0.5) * 100%), transparent);
  transition: background-color .12s linear, border-color .12s linear;
}
.snav .inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 14px 40px;
  display: flex;
  align-items: center;
  gap: 18px;
}
/* Tablet-port (<=900): nav gutter tightens (links still shown until 760) */
@media (max-width: 900px) {
  .snav .inner { padding: 14px 28px; }
}
.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--text);
  text-decoration: none;
}
.logo .mark { width: 24px; height: 24px; color: var(--logo-bar); flex-shrink: 0; }
.logo .mark svg { width: 100%; height: 100%; }

.snav .links { display: flex; gap: 20px; margin-left: auto; }
.snav .links a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color .15s ease;
}
.snav .links a:hover { color: var(--accent); }
/* Active menu item: accent color + a "connector" mark below — two dots joined
   by a line, drawn with a gradient on a single pseudo-element. Uses --accent so
   it themes automatically. Marks which section you're in. */
.snav .links a.current { color: var(--accent); position: relative; }
.snav .links a.current::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -9px;
  transform: translateX(-50%);
  width: 22px;
  height: 5px;
  /* line in the middle */
  background:
    linear-gradient(var(--accent), var(--accent)) center/100% 1.5px no-repeat,
    /* two dots at the ends */
    radial-gradient(circle 2.5px at 2.5px 50%, var(--accent) 99%, transparent) left/50% 100% no-repeat,
    radial-gradient(circle 2.5px at calc(100% - 2.5px) 50%, var(--accent) 99%, transparent) right/50% 100% no-repeat;
}

.nav-cta { margin-left: 16px; }

/* theme toggle (light / dark) */
.theme-toggle {
  width: 40px; height: 40px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--border-strong);
  border-radius: var(--radius-md); color: var(--text-muted); cursor: pointer;
  transition: color .15s ease, border-color .15s ease;
}
.theme-toggle:hover { color: var(--accent); border-color: var(--accent); }
.theme-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .i-sun { display: none; }
.theme-toggle .i-moon { display: none; }
.theme-dark .theme-toggle .i-sun { display: block; }
.theme-light .theme-toggle .i-moon { display: block; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  cursor: pointer;
  margin-left: 8px;
}
.hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  margin: 0 auto;
  transition: transform .25s ease;
}
/* two bars cross into an × (each bar is 4px from center: 2px gap/2 + 2px half-height) */
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 28px 20px;
  background: var(--menu-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.mobile-menu a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  padding: 12px 4px;
  min-height: 44px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:last-child { border-bottom: 0; margin-top: 8px; }
/* Active item in the mobile/tablet menu: accent text + a left accent bar + tint. */
.mobile-menu a.current { color: var(--accent); padding-left: 14px; border-left: 3px solid var(--accent); background: color-mix(in srgb, var(--accent) 8%, transparent); }
/* the CTA button in the menu keeps its button colors, not the muted link color */
.mobile-menu a.btn-primary { color: var(--on-action); justify-content: center; text-transform: none; }
.mobile-menu.open { display: flex; }

/* Mobile (<=760): nav collapses to hamburger. Three zones — logo left ·
   Get a Demo centered · toggle + hamburger right. (Was 820; aligned to 760.) */
@media (max-width: 760px) {
  .snav .links { display: none; }
  .hamburger { display: flex; }
  .snav .nav-cta { margin-left: auto; margin-right: auto; }
  .snav .theme-toggle { margin-left: 0; }
  .snav .hamburger { margin-left: 8px; }
}
/* Tiny (<=400): let the centered CTA shrink gracefully */
@media (max-width: 400px) {
  .snav .nav-cta { padding-left: 12px; padding-right: 12px; }
}

/* Phone-landscape: wide but SHORT viewport (phone held sideways). Cap the open
   mobile menu so it scrolls inside the viewport instead of overflowing past it. */
@media (max-width: 900px) and (orientation: landscape) and (max-height: 520px) {
  .mobile-menu.open { max-height: calc(100vh - 68px); overflow-y: auto; }
  .mobile-menu a { padding: 9px 4px; min-height: 40px; }
}

/* ---- Buttons ---- */
.btn {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  border-radius: var(--radius-md);
  padding: 11px 22px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all .18s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary { background: var(--action); color: var(--on-action); }
.btn-primary:hover { background: var(--action-hover); }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: 9px 16px; min-height: 38px; font-size: 12px; }

/* Vendor Snapshot nav CTA — special/new treatment (gold outline, distinct from
   the green primary "Get a Demo"). The .cta-new pill flags it as a new offering. */
.btn-snapshot { background: color-mix(in srgb, var(--tint-gold-ink) 12%, transparent); color: var(--tint-gold-ink); border-color: color-mix(in srgb, var(--tint-gold-ink) 45%, transparent); }
.btn-snapshot:hover { background: color-mix(in srgb, var(--tint-gold-ink) 20%, transparent); border-color: var(--tint-gold-ink); }
.cta-new { font-family: var(--font-display); font-weight: 700; font-size: 8.5px; letter-spacing: 0.08em; text-transform: uppercase; background: var(--tint-gold-ink); color: var(--bg); border-radius: var(--radius-full); padding: 2px 6px; margin-left: 6px; vertical-align: middle; }
.nav-cta-snapshot { margin-left: 16px; }
/* On tighter desktop widths the second CTA crowds the nav — drop the snapshot
   CTA before the links collapse; it stays reachable in the mobile menu + footer. */
@media (max-width: 1040px) { .nav-cta-snapshot { display: none; } }

/* ---- Hero ---- */
.hero {
  padding: 72px 0 0;
  position: relative;
}
.hero .wrap > * { max-width: 680px; }
.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 6vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 18px;
}
.eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.hero .tagline {
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-muted);
  margin-bottom: 28px;
  max-width: 46ch;
}
.metrics { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 26px 0 0; }
.metrics span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--accent);
}
.metrics span em { color: var(--text-muted); font-style: normal; font-weight: 400; font-family: var(--font-body); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---- Ticker ---- */
.ticker {
  margin-top: 44px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(var(--glass-blur));
  overflow: hidden;
  position: relative;
}
.ticker-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 14px;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.ticker-label .pulse {
  width: 7px; height: 7px; border-radius: var(--radius-full);
  background: var(--action);
  animation: tkPulse 2.4s ease-out infinite;
}
@keyframes tkPulse {
  0% { box-shadow: 0 0 0 0 rgba(102, 219, 130, 0.5); }
  70% { box-shadow: 0 0 0 7px rgba(102, 219, 130, 0); }
  100% { box-shadow: 0 0 0 0 rgba(102, 219, 130, 0); }
}
.ticker-track { display: flex; width: max-content; animation: tickerScroll 60s linear infinite; }
.ticker:hover .ticker-track,
.ticker:focus-within .ticker-track { animation-play-state: paused; }
@keyframes tickerScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.tk { display: inline-flex; align-items: baseline; gap: 8px; padding: 11px 18px; border-right: 1px solid var(--border); white-space: nowrap; }
.tk .sym { font-family: var(--font-display); font-weight: 700; font-size: 12.5px; color: var(--text); letter-spacing: 0.03em; text-transform: uppercase; }
.tk .scr { font-family: var(--font-display); font-weight: 700; font-size: 13px; }
.tk .chg { font-size: 11px; font-weight: 700; }
.tk.up .scr, .tk.up .chg { color: var(--accent); }
.tk.down .scr, .tk.down .chg { color: var(--error); }
.tk .flag {
  margin-left: 6px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 8.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: var(--radius-full);
  background: var(--chip-success-bg);
  color: var(--accent);
}
.tk.down .flag { background: rgba(255, 123, 128, 0.16); color: var(--error); }

/* ---- Waterline ---- */
.waterline {
  position: relative;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.waterline-wave {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: rgba(102, 219, 130, 0.12);
  animation: waterlineDrift 9s ease-in-out infinite;
}
@keyframes waterlineDrift {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(-24px); }
}
.waterline-caption {
  position: relative;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-subtle);
  background: var(--bg);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
}

/* ---- Sections ---- */
.section { padding: 56px 0; border-top: 1px solid var(--border); }
.section h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 3.4vw, 32px);
  line-height: 1.14;
  letter-spacing: -0.018em;
  color: var(--text);
  margin-bottom: 12px;
  max-width: 32ch;
}
.section p.lead { font-size: 15px; line-height: 1.6; color: var(--text-muted); margin-bottom: 32px; max-width: 48ch; }

.glass {
  background: var(--surface);
  backdrop-filter: blur(var(--glass-blur));
  background-image: var(--glass-tint);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

/* ---- Stats ---- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .stats { grid-template-columns: 1fr; } }
.stat { border-radius: var(--radius-lg); padding: 22px; }
.stat .val { font-family: var(--font-display); font-weight: 700; font-size: 34px; line-height: 1; color: var(--accent); margin-bottom: 8px; letter-spacing: -0.01em; }
.stat .lbl { font-size: 13px; line-height: 1.45; color: var(--text-muted); }

/* ---- Platform cards ---- */
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } }
.card { border-radius: var(--radius-xl); padding: 24px; }
.card .chip {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--chip-success-bg);
  color: var(--accent);
  padding: 5px 11px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}
.card h3 { font-family: var(--font-display); font-weight: 700; font-size: 17px; line-height: 1.25; color: var(--text); margin-bottom: 8px; letter-spacing: -0.01em; }
.card p { font-size: 14px; line-height: 1.55; color: var(--text-muted); }

/* ---- Approach mini cards ---- */
.mini { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 760px) { .mini { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .mini { grid-template-columns: 1fr; } }
.mini .m { border-radius: var(--radius-lg); padding: 18px; }
.mini .m .ic { width: 18px; height: 18px; color: var(--accent); margin-bottom: 10px; display: block; }
.mini .m .ic svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; display: block; }
.mini .m h3 { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--text); margin-bottom: 6px; }
.mini .m p { font-size: 12.5px; line-height: 1.45; color: var(--text-muted); }

/* ---- Voices / testimonials ---- */
.voices { padding: 56px 0; border-top: 1px solid var(--border); overflow: hidden; }
.voices .head { max-width: 1080px; margin: 0 auto 28px; padding: 0 40px; }
@media (max-width: 900px) { .voices .head { padding: 0 28px; } }
.voices .head h2 { max-width: 40ch; }
.voices .head p.lead { max-width: 52ch; }
.qtrack-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.qtrack { display: flex; gap: 16px; width: max-content; padding: 4px 40px; animation: qScroll 68s linear infinite; }
.qtrack-wrap:hover .qtrack,
.qtrack-wrap:focus-within .qtrack { animation-play-state: paused; }
@keyframes qScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.qcard { width: 340px; flex-shrink: 0; border-radius: var(--radius-xl); padding: 24px; display: flex; flex-direction: column; }
@media (max-width: 560px) { .qcard { width: 280px; } }
.qcard .mark { width: 22px; height: 22px; color: var(--accent); opacity: 0.9; margin-bottom: 12px; }
.qcard blockquote { font-family: var(--font-body); font-size: 15px; line-height: 1.55; color: var(--text); margin: 0 0 16px; flex: 1; }
.qcard blockquote mark {
  background: var(--chip-success-bg);
  color: var(--accent);
  padding: 1px 4px;
  border-radius: 3px;
  font-weight: 600;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.qcard .who { display: flex; align-items: center; gap: 10px; padding-top: 14px; border-top: 1px solid var(--border); }
.qcard .who .badge {
  width: 34px; height: 34px; border-radius: var(--radius-md);
  background: var(--chip-success-bg); color: var(--accent);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.qcard .who .badge svg { width: 17px; height: 17px; }
.qcard .who .org { font-family: var(--font-display); font-weight: 700; font-size: 13.5px; color: var(--text); line-height: 1.25; }
.qcard .who .topic { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--accent); margin-top: 5px; }

/* ---- Team ---- */
.team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 900px) { .team { grid-template-columns: repeat(2, minmax(0, 1fr)); } } /* tablet-port: 3→2 */
@media (max-width: 640px) { .team { grid-template-columns: 1fr; } }                          /* mobile: →1 */
.member { border-radius: var(--radius-lg); padding: 20px; display: flex; gap: 14px; align-items: flex-start; }
.member .av {
  width: 52px; height: 52px; border-radius: var(--radius-full);
  background: var(--chip-success-bg); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 16px;
  flex-shrink: 0; overflow: hidden;
}
.member .av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.member .nm { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--text); }
.member .rl { font-size: 11px; color: var(--accent); margin-bottom: 6px; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; }
.member .bio { font-size: 12.5px; line-height: 1.5; color: var(--text-muted); }
.member .member-li { display: inline-flex; align-items: center; margin-top: 10px; color: var(--text-subtle); transition: color .15s ease; }
.member .member-li:hover { color: var(--accent); }
.member .member-li svg { width: 16px; height: 16px; }

/* ---- CTA band ---- */
.ctaband { border-radius: var(--radius-2xl); padding: 48px 36px; text-align: center; }
.ctaband > * { max-width: 52ch; margin-left: auto; margin-right: auto; }
.ctaband h2 { margin-bottom: 14px; max-width: 22ch; }
.ctaband p { font-size: 15px; line-height: 1.55; color: var(--text-muted); margin-bottom: 26px; max-width: 46ch; }

/* ============================================================
   PANEL PALETTE — 5 hues × 3 treatments, theme-adaptive.
   Add a hue class + a treatment class to any panel:
     <div class="card panel-tint tint-gold soft">…</div>
   Hues: tint-teal · tint-gold · tint-coral · tint-violet · tint-slate
   Treatments: soft (quiet default) · bold (feature callout) · grad (hero/feature)
   No accent-edge style by design. Chips/labels inside pick up --panel-ink.
   ============================================================ */
.panel-tint { border: 1px solid var(--border); border-radius: var(--radius-xl); }
.panel-tint.tint-teal   { --panel-soft: var(--tint-teal-soft);   --panel-bold: var(--tint-teal-bold);   --panel-grad: var(--tint-teal-grad);   --panel-ink: var(--tint-teal-ink); }
.panel-tint.tint-gold   { --panel-soft: var(--tint-gold-soft);   --panel-bold: var(--tint-gold-bold);   --panel-grad: var(--tint-gold-grad);   --panel-ink: var(--tint-gold-ink); }
.panel-tint.tint-coral  { --panel-soft: var(--tint-coral-soft);  --panel-bold: var(--tint-coral-bold);  --panel-grad: var(--tint-coral-grad);  --panel-ink: var(--tint-coral-ink); }
.panel-tint.tint-violet { --panel-soft: var(--tint-violet-soft); --panel-bold: var(--tint-violet-bold); --panel-grad: var(--tint-violet-grad); --panel-ink: var(--tint-violet-ink); }
.panel-tint.tint-slate  { --panel-soft: var(--tint-slate-soft);  --panel-bold: var(--tint-slate-bold);  --panel-grad: var(--tint-slate-grad);  --panel-ink: var(--tint-slate-ink); }
.panel-tint.soft { background: var(--panel-soft); }
.panel-tint.bold { background: var(--panel-bold); }
.panel-tint.grad { background: var(--panel-grad); }
/* accent elements inside a tinted panel adopt the hue's ink */
.panel-tint .chip { background: color-mix(in srgb, var(--panel-ink) 16%, transparent); color: var(--panel-ink); }
.panel-tint .eyebrow, .panel-tint .topic, .panel-tint blockquote mark { color: var(--panel-ink); }
.panel-tint blockquote mark { background: color-mix(in srgb, var(--panel-ink) 16%, transparent); }

/* ---- Learn-more ramp link (home → deep pages) ---- */
.learn-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 28px; font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent); text-decoration: none; transition: gap .18s ease, opacity .18s ease; }
.learn-more:hover { gap: 12px; opacity: 0.85; }

/* ---- Trusted-by logo strip (hero). Swap placeholder tiles for real logos. ---- */
.trusted { margin-top: 40px; }
.trusted .trusted-label { font-family: var(--font-display); font-weight: 700; font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-subtle); margin-bottom: 14px; }
.trusted .logos { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.trusted .logos .logo-slot { height: 26px; display: inline-flex; align-items: center; gap: 8px; color: var(--text-muted); font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: 0.02em; opacity: 0.75; transition: opacity .2s ease, color .2s ease; }
.trusted .logos .logo-slot:hover { opacity: 1; color: var(--text); }
/* placeholder glyph — a small bar-mark echoing the Halo logo; replace the whole slot with a real <img> */
.trusted .logos .logo-slot .ph { width: 22px; height: 22px; border-radius: var(--radius-sm); background: color-mix(in srgb, var(--accent) 22%, transparent); flex-shrink: 0; }
.trusted .logos img { height: 26px; width: auto; display: block; opacity: 0.8; filter: grayscale(1); transition: opacity .2s ease, filter .2s ease; }
.trusted .logos img:hover { opacity: 1; filter: grayscale(0); }

/* ---- Media slot — on-brand SVG placeholder until real photography drops in ---- */
.media { position: relative; border-radius: var(--radius-2xl); overflow: hidden; border: 1px solid var(--border); background: var(--surface-solid); aspect-ratio: 16 / 10; }
.media img, .media svg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.media .media-tag { position: absolute; left: 14px; bottom: 12px; z-index: 2; font-family: var(--font-display); font-weight: 700; font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-subtle); background: color-mix(in srgb, var(--bg) 70%, transparent); border: 1px solid var(--border); border-radius: var(--radius-full); padding: 5px 12px; backdrop-filter: blur(4px); }
.media-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: center; }
@media (max-width: 760px) { .media-split { grid-template-columns: 1fr; gap: 20px; } }

/* ---- Metric-triad band (big numbers, count-up) ---- */
.metric-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; border-radius: var(--radius-2xl); padding: 36px; }
@media (max-width: 640px) { .metric-band { grid-template-columns: 1fr; gap: 24px; text-align: center; } }
.metric-band .metric .mv { font-family: var(--font-display); font-weight: 700; font-size: clamp(38px, 6vw, 56px); line-height: 1; color: var(--accent); letter-spacing: -0.02em; }
.metric-band .metric .ml { font-size: 14px; line-height: 1.4; color: var(--text-muted); margin-top: 8px; max-width: 26ch; }
@media (max-width: 640px) { .metric-band .metric .ml { margin-left: auto; margin-right: auto; } }

/* ---- Award band (Spend Matters Future 5) ---- */
.award { border-radius: var(--radius-2xl); padding: 32px 36px; display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.award-badge { font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); border: 1px solid var(--border-strong); border-radius: var(--radius-md); padding: 14px 18px; white-space: nowrap; flex-shrink: 0; }
.award-body { flex: 1; min-width: 260px; }
.award-body h2 { margin-bottom: 10px; }
.award-body p { font-size: 14px; line-height: 1.55; color: var(--text-muted); max-width: 62ch; }
.award-body .learn-more { margin-top: 14px; }

/* ---- Footer ---- */
.foot {
  border-top: 1px solid var(--border);
  /* Theme-driven: dark shades toward the abyss floor; light uses a teal wash */
  background: var(--foot-bg);
  backdrop-filter: blur(2px);
}
.foot .inner { max-width: 1080px; margin: 0 auto; padding: 40px 40px 32px; }
@media (max-width: 900px) { .foot .inner { padding: 40px 28px 32px; } }
.foot .cols { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; margin-bottom: 28px; }
.foot .col { min-width: 130px; }
.foot .col h6 { font-family: var(--font-display); font-weight: 700; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-subtle); margin-bottom: 12px; }
.foot .col a { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--text-muted); text-decoration: none; margin-bottom: 9px; min-height: 20px; }
.foot .col a:hover { color: var(--accent); }
/* planned (not-yet-built) footer links: dimmed + a 'soon' tag, shown in priority order */
.foot .col a.soon { color: var(--text-subtle); opacity: 0.6; cursor: default; pointer-events: none; }
.foot .col a.soon .soon-tag { font-family: var(--font-display); font-weight: 700; font-size: 8px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); border-radius: var(--radius-full); padding: 1px 6px; opacity: 0.9; }
.foot .bottom { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding-top: 20px; border-top: 1px solid var(--border); }
.foot .bottom .cr { font-size: 12px; color: var(--text-subtle); }
.foot .social { display: flex; gap: 10px; }
.foot .social a {
  width: 44px; height: 44px; border-radius: var(--radius-md); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; color: var(--text-muted);
  text-decoration: none;
}
.foot .social a:hover { color: var(--accent); border-color: var(--accent); }
.foot .social svg { width: 16px; height: 16px; }

/* ---- Ask AI about Halo Ai (footer block, injected by main.js) ---- */
.ask-ai { margin: 4px 0 26px; padding: 20px 22px; border: 1px solid var(--border); border-radius: var(--radius-xl); background: var(--tint-violet-soft); display: flex; align-items: center; gap: 18px 24px; flex-wrap: wrap; }
.ask-ai .ask-lead { display: flex; flex-direction: column; gap: 4px; min-width: 200px; flex: 1; }
.ask-ai .ask-title { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--text); display: flex; align-items: center; gap: 8px; }
.ask-ai .ask-title .spark { width: 15px; height: 15px; color: var(--tint-violet-ink); flex-shrink: 0; }
.ask-ai .ask-sub { font-size: 12px; line-height: 1.45; color: var(--text-subtle); }
.ask-ai .ask-links { display: flex; flex-wrap: wrap; gap: 8px; }
.ask-ai .ask-links a { font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: 0.02em; color: var(--text-muted); text-decoration: none; border: 1px solid var(--border-strong); border-radius: var(--radius-full); padding: 7px 14px; min-height: 36px; display: inline-flex; align-items: center; gap: 7px; transition: color .15s ease, border-color .15s ease, background .15s ease; }
.ask-ai .ask-links a:hover { color: var(--tint-violet-ink); border-color: var(--tint-violet-ink); background: color-mix(in srgb, var(--tint-violet-ink) 10%, transparent); }
.ask-ai .ask-links a .ai-logo { width: 15px; height: 15px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ask-ai .ask-links a .ai-logo svg { width: 100%; height: 100%; display: block; }

/* ---- Depth gauge rail (desktop only) ---- */
.depth-gauge {
  position: fixed;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.depth-gauge-track {
  width: 3px;
  height: 220px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  position: relative;
  overflow: hidden;
}
.depth-gauge-fill {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 0%;
  background: var(--accent);
  border-radius: var(--radius-full);
  transition: height .1s linear;
}
.depth-gauge-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-subtle);
  writing-mode: vertical-rl;
  white-space: nowrap;
}
@media (max-width: 1180px) { .depth-gauge { display: none; } }

/* ---- Deep-page components (Platform / Approach / Sources / About / Customers / Contact) ---- */
.page-hero { padding: 64px 0 8px; }
.page-hero .eyebrow { margin-bottom: 14px; }
.eyebrow.breadcrumb { display: flex; align-items: center; gap: 8px; }
.eyebrow.breadcrumb a { color: var(--accent); text-decoration: none; opacity: 0.85; transition: opacity .15s ease; }
.eyebrow.breadcrumb a:hover { opacity: 1; }
.eyebrow.breadcrumb span { color: var(--text-subtle); }
.page-hero h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(32px, 5.5vw, 52px); line-height: 1.04; letter-spacing: -0.02em; color: var(--text); margin-bottom: 16px; max-width: 18ch; }
.page-hero .lead { font-size: 17px; line-height: 1.55; color: var(--text-muted); max-width: 60ch; }

.prose { max-width: 62ch; }
.prose p { font-size: 15px; line-height: 1.65; color: var(--text-muted); margin-bottom: 16px; }
.prose p strong { color: var(--text); font-weight: 600; }

/* checklist (verbatim bullet lists from the live site) */
ul.checklist { list-style: none; max-width: 68ch; margin: 8px 0 8px; }
ul.checklist li { position: relative; padding-left: 30px; margin-bottom: 12px; font-size: 15px; line-height: 1.55; color: var(--text-muted); }
ul.checklist li::before { content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: var(--radius-full); background: var(--chip-success-bg); }
ul.checklist li::after { content: ""; position: absolute; left: 5px; top: 7px; width: 8px; height: 5px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
ul.checklist li strong { color: var(--text); font-weight: 600; }

/* pain-point pills (say goodbye to manual triage) */
.painpills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.painpills span { font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--text-muted); border: 1px solid var(--border); border-radius: var(--radius-full); padding: 8px 16px; text-decoration: line-through; text-decoration-color: var(--error); }

/* industries grid */
.industries { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 640px) { .industries { grid-template-columns: 1fr; } }
.industry { border-radius: var(--radius-lg); padding: 24px; }
.industry h3 { font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: 0.03em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.industry p { font-size: 14px; line-height: 1.55; color: var(--text-muted); }

/* single pulled quote (per deep page) */
.pullquote { border-radius: var(--radius-xl); padding: 32px 36px; max-width: 820px; }
.pullquote blockquote { font-family: var(--font-body); font-size: 20px; line-height: 1.45; color: var(--text); margin: 0 0 16px; }
.pullquote blockquote mark { background: var(--chip-success-bg); color: var(--accent); padding: 1px 5px; border-radius: 3px; font-weight: 600; }
.pullquote .attr { font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--text-muted); }
.pullquote .attr .topic { color: var(--accent); text-transform: uppercase; letter-spacing: 0.05em; font-size: 11px; margin-left: 8px; }

/* section heading for deep pages */
.dsection { padding: 48px 0; border-top: 1px solid var(--border); }
.dsection > .eyebrow { margin-bottom: 12px; }
.dsection h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 3.2vw, 30px); line-height: 1.14; letter-spacing: -0.018em; color: var(--text); margin-bottom: 12px; max-width: 34ch; }
.dsection > .lead { font-size: 15px; line-height: 1.6; color: var(--text-muted); margin-bottom: 28px; max-width: 52ch; }

/* HubSpot form embed shell */
.form-shell { border-radius: var(--radius-xl); padding: 28px; max-width: 640px; }
.form-shell .hs-placeholder { border: 1px dashed var(--border-strong); border-radius: var(--radius-lg); padding: 40px 24px; text-align: center; }
.form-shell .hs-placeholder p { font-size: 14px; line-height: 1.6; color: var(--text-muted); }
.form-shell .hs-placeholder code { font-family: ui-monospace, "SF Mono", monospace; font-size: 12px; background: var(--chip-success-bg); color: var(--accent); padding: 1px 6px; border-radius: var(--radius-sm); }

/* ---- FAQ (per-page section + consolidated /resources/ hub) ----
   Injected by main.js from the shared FAQ map into #faq (per page) or
   #faqAll (hub). Native <details>/<summary> — accessible, keyboard-driven,
   no JS state. Tokens only; adopts both themes automatically. */
.faq-list { max-width: 760px; display: flex; flex-direction: column; gap: 10px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface-2); backdrop-filter: blur(var(--glass-blur)); overflow: hidden; }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 20px; min-height: 44px;
  font-family: var(--font-display); font-weight: 700; font-size: 15px; line-height: 1.3;
  color: var(--text); transition: color .15s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }
.faq-item .faq-q { flex: 1; }
/* +/× toggle drawn from two token-colored bars (no icon font/asset) */
.faq-item .faq-icon { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.faq-item .faq-icon::before, .faq-item .faq-icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; background: var(--accent);
  border-radius: var(--radius-full); transition: transform .2s ease, opacity .2s ease;
}
.faq-item .faq-icon::before { width: 14px; height: 2px; transform: translate(-50%, -50%); }
.faq-item .faq-icon::after  { width: 2px; height: 14px; transform: translate(-50%, -50%); }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq-item .faq-a { padding: 0 20px 18px; }
.faq-item .faq-a p { font-size: 14px; line-height: 1.6; color: var(--text-muted); max-width: 64ch; }
.faq-item .faq-a a { color: var(--accent); text-decoration: none; border-bottom: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); }
.faq-item .faq-a a:hover { border-bottom-color: var(--accent); }
.faq-item[open] > summary { color: var(--accent); }

/* Consolidated hub: grouped sets */
.faq-group + .faq-group { margin-top: 40px; }
.faq-group-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(18px, 2.4vw, 22px); letter-spacing: -0.01em; color: var(--text); margin-bottom: 14px; }

/* ---- Sources: hero-number + Intrinsic Score decomposition (Round 3) ----
   Asymmetric split: one display-scale number owns the left; the tappable
   Intrinsic Score sits right and decomposes into 4 traced domains. The score
   component (.intrinsic-score) is shared — reused on Home, Vendor Snapshot,
   and the sample report. Tokens only; teal is the Sources dominant hue. */
.score-split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
@media (max-width: 860px) { .score-split { grid-template-columns: 1fr; gap: 20px; } }

.hero-number { display: flex; flex-direction: column; }
.hero-number .hn-value { font-family: var(--font-display); font-weight: 700; font-size: clamp(72px, 14vw, 168px); line-height: 0.9; letter-spacing: -0.03em; color: var(--accent); }
.hero-number .hn-cap { font-size: 15px; line-height: 1.5; color: var(--text-muted); max-width: 30ch; margin-top: 12px; }
.hero-number .hn-rail { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 22px; }
.hero-number .hn-rail .hn-stat { font-family: var(--font-display); }
.hero-number .hn-rail .hn-stat b { display: block; font-weight: 700; font-size: 22px; color: var(--text); letter-spacing: -0.01em; }
.hero-number .hn-rail .hn-stat span { font-size: 12.5px; color: var(--text-muted); }

/* Intrinsic Score card (shared component) */
.intrinsic-score { border-radius: var(--radius-2xl); overflow: hidden; border: 1px solid var(--border); background: var(--surface); backdrop-filter: blur(var(--glass-blur)); background-image: var(--glass-tint); box-shadow: var(--shadow-md); }
.intrinsic-score .score-hero { width: 100%; text-align: left; cursor: pointer; background: transparent; border: 0; padding: 24px 26px; display: flex; flex-direction: column; gap: 4px; color: inherit; transition: background .15s ease; }
.intrinsic-score .score-hero:hover { background: color-mix(in srgb, var(--accent) 7%, transparent); }
.score-hero-label { font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-subtle); }
.score-hero-label .score-hero-sub { display: block; text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 12px; color: var(--text-subtle); margin-top: 3px; }
.score-hero-num { display: flex; align-items: baseline; gap: 10px; margin-top: 6px; }
.score-hero-value { font-family: var(--font-display); font-weight: 700; font-size: clamp(48px, 8vw, 76px); line-height: 1; letter-spacing: -0.02em; color: var(--accent); }
.score-hero-max { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--text-muted); }
.score-hero-cue { font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent); margin-top: 10px; display: inline-flex; align-items: center; gap: 6px; transition: gap .18s ease; }
.intrinsic-score .score-hero:hover .score-hero-cue { gap: 11px; }
.intrinsic-score.is-open .score-hero-cue { opacity: 0.55; }

.score-break { padding: 0 26px 24px; border-top: 1px solid var(--border); }
.score-break-lead { font-size: 13.5px; line-height: 1.55; color: var(--text-muted); margin: 18px 0 16px; }
.score-break-lead strong { color: var(--text); font-weight: 600; }
.score-domains { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.score-domain-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.score-domain-name { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--text); }
.score-domain-val { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--accent); }
.score-bar { height: 6px; border-radius: var(--radius-full); background: color-mix(in srgb, var(--accent) 14%, transparent); margin: 7px 0 6px; overflow: hidden; }
.score-bar span { display: block; height: 100%; border-radius: var(--radius-full); background: var(--accent); width: 0; transition: width .8s cubic-bezier(.2,.7,.2,1); }
.intrinsic-score.is-open .score-bar span { width: var(--w, 0); }
.score-domain-src { font-size: 12px; line-height: 1.45; color: var(--text-subtle); }
.score-domain-src a { color: var(--accent); text-decoration: none; border-bottom: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); }
.score-note { font-size: 11px; color: var(--text-subtle); margin-top: 16px; font-style: italic; }
@media (prefers-reduced-motion: reduce) { .score-bar span { transition: none; } }

/* ---- Home: split hero (Round 3) — copy left, Intrinsic Score card right ---- */
.hero-split { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 36px; align-items: center; }
@media (max-width: 900px) { .hero-split { grid-template-columns: 1fr; gap: 28px; } }
.hero-split .hero-copy { max-width: 640px; }
.hero-split .hero-copy > * { max-width: 560px; }
.intrinsic-score.hero-score { align-self: center; }
@media (max-width: 900px) { .intrinsic-score.hero-score { max-width: 460px; } }

/* ---- Vendor Snapshot fanfare panel (home) — new/special callout (Round 4) ---- */
.vs-fanfare { border-radius: var(--radius-2xl); padding: 40px 40px; position: relative; overflow: hidden; }
@media (max-width: 560px) { .vs-fanfare { padding: 28px 22px; } }
.vs-fanfare-body { max-width: 640px; position: relative; z-index: 1; }
.vs-badge { display: inline-block; font-family: var(--font-display); font-weight: 700; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--tint-gold-ink); background: color-mix(in srgb, var(--tint-gold-ink) 16%, transparent); border: 1px solid color-mix(in srgb, var(--tint-gold-ink) 40%, transparent); border-radius: var(--radius-full); padding: 5px 13px; margin-bottom: 14px; }
.vs-fanfare h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(24px, 3.6vw, 34px); line-height: 1.12; letter-spacing: -0.02em; color: var(--text); margin-bottom: 12px; max-width: 24ch; }
.vs-fanfare-body > p { font-size: 15px; line-height: 1.6; color: var(--text-muted); margin-bottom: 22px; max-width: 56ch; }
.vs-fanfare-stats { display: flex; flex-wrap: wrap; gap: 14px 32px; margin-bottom: 26px; }
.vs-fanfare-stats .vs-stat b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 26px; color: var(--tint-gold-ink); letter-spacing: -0.01em; }
.vs-fanfare-stats .vs-stat span { font-size: 12.5px; line-height: 1.4; color: var(--text-muted); max-width: 22ch; display: block; }
.vs-fanfare .cta-row { gap: 12px; }

/* ---- Halo Effect Matrix (shared: Approach embed + /halo-effect/ page) ---- */
.halo-matrix { --hm-ink: var(--tint-teal-ink); }
.hm-grid { display: grid; grid-template-columns: 140px repeat(3, 1fr); gap: 10px; align-items: stretch; }
@media (max-width: 720px) { .hm-grid { grid-template-columns: 92px repeat(3, 1fr); gap: 6px; } }
.hm-corner { }
.hm-outcome { display: flex; flex-direction: column; justify-content: flex-end; padding: 4px 6px 10px; text-align: center; }
.hm-outcome b { font-family: var(--font-display); font-weight: 700; font-size: clamp(20px, 3vw, 30px); color: var(--accent); letter-spacing: -0.01em; }
.hm-outcome span { font-family: var(--font-display); font-weight: 700; font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-muted); margin-top: 2px; }
.hm-pillar { display: flex; align-items: center; font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: 0.03em; text-transform: uppercase; color: var(--accent); padding-right: 8px; }
@media (max-width: 720px) { .hm-pillar { font-size: 10px; writing-mode: vertical-rl; transform: rotate(180deg); justify-content: center; } }
.hm-cell { text-align: left; cursor: pointer; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 14px 15px; display: flex; flex-direction: column; gap: 6px; color: inherit; transition: border-color .15s ease, background .15s ease, transform .15s ease; min-height: 108px; }
.hm-cell:hover { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, var(--surface-2)); transform: translateY(-2px); }
.hm-cell.is-active { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, var(--surface-2)); }
.hm-cell-title { font-family: var(--font-display); font-weight: 700; font-size: 14px; line-height: 1.2; color: var(--text); }
.hm-cell-short { font-size: 12px; line-height: 1.4; color: var(--text-muted); flex: 1; }
.hm-cell-open { font-family: var(--font-display); font-weight: 700; font-size: 10.5px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent); }
@media (max-width: 720px) { .hm-cell-short { display: none; } .hm-cell { min-height: 84px; } }
.hm-brief { margin-top: 16px; border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 22px 24px; background: var(--surface); backdrop-filter: blur(var(--glass-blur)); }
.hm-brief-tag { display: inline-block; font-family: var(--font-display); font-weight: 700; font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.hm-brief h3 { font-family: var(--font-display); font-weight: 700; font-size: 19px; color: var(--text); margin-bottom: 12px; letter-spacing: -0.01em; }
.hm-brief ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.hm-brief li { position: relative; padding-left: 22px; font-size: 14px; line-height: 1.55; color: var(--text-muted); }
.hm-brief li::before { content: ""; position: absolute; left: 0; top: 7px; width: 10px; height: 10px; border-radius: var(--radius-full); background: var(--chip-success-bg); border: 1px solid var(--accent); }
.hm-brief-proof { margin: 16px 0 0; padding: 14px 18px; border-left: 2px solid var(--accent); background: color-mix(in srgb, var(--accent) 7%, transparent); border-radius: 0 var(--radius-md) var(--radius-md) 0; font-style: italic; font-size: 14px; line-height: 1.5; color: var(--text); }
.hm-brief-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

/* Standalone brief page (/halo-effect/brief/) */
#briefPage .eyebrow a { color: var(--accent); text-decoration: none; }
#briefPage .brief-tag { font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); margin: 8px 0 10px; }
#briefPage h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 5vw, 44px); line-height: 1.08; letter-spacing: -0.02em; color: var(--text); margin-bottom: 20px; max-width: 22ch; }
@media print {
  .depth, #site-nav, #site-footer, .hm-brief-actions { display: none !important; }
  #briefPage { padding: 0; }
}

/* ---- Approach: convergence funnels (two streams → one insight) ---- */
.funnels { display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: center; }
@media (max-width: 760px) { .funnels { grid-template-columns: 1fr; } }
.funnel { border-radius: var(--radius-xl); padding: 22px 24px; border: 1px solid var(--border); }
.funnel.outside { background: var(--tint-slate-soft); }
.funnel.inside { background: var(--tint-teal-soft); }
.funnel h3 { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.funnel p { font-size: 13.5px; line-height: 1.5; color: var(--text-muted); }
.funnel-core { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 128px; height: 128px; border-radius: var(--radius-full); background: var(--tint-teal-grad); border: 1px solid var(--border-strong); text-align: center; }
@media (max-width: 760px) { .funnel-core { width: 108px; height: 108px; margin: 4px auto; } }
.funnel-core b { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--accent); }
.funnel-core span { font-size: 11px; color: var(--text-muted); line-height: 1.2; margin-top: 2px; }

/* ---- Approach: recursive 4-step loop ---- */
.loop-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 760px) { .loop-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 440px) { .loop-steps { grid-template-columns: 1fr; } }
.loop-step { border-radius: var(--radius-lg); padding: 18px; border: 1px solid var(--border); background: var(--surface-2); }
.loop-step .ls-no { font-family: var(--font-display); font-weight: 700; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.loop-step h4 { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--text); margin-bottom: 6px; }
.loop-step p { font-size: 12.5px; line-height: 1.45; color: var(--text-muted); }
.loop-monitor { margin-top: 12px; border: 1px dashed color-mix(in srgb, var(--accent) 45%, transparent); border-radius: var(--radius-lg); padding: 14px 18px; display: flex; align-items: center; gap: 12px; background: color-mix(in srgb, var(--accent) 6%, transparent); }
.loop-monitor .lm-badge { font-family: var(--font-display); font-weight: 700; font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); border-radius: var(--radius-full); padding: 4px 10px; white-space: nowrap; }
.loop-monitor p { font-size: 13px; line-height: 1.5; color: var(--text-muted); }

/* ---- Platform: architecture map ---- */
.archmap { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 14px; align-items: center; border-radius: var(--radius-2xl); padding: 28px; border: 1px solid var(--border); background: var(--surface-2); }
@media (max-width: 860px) { .archmap { grid-template-columns: 1fr; gap: 10px; } }
.archmap-col h4 { font-family: var(--font-display); font-weight: 700; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; text-align: center; }
.archmap-col .am-item { font-size: 12.5px; color: var(--text-muted); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 8px 10px; margin-bottom: 7px; text-align: center; background: var(--surface); }
.archmap-core { text-align: center; border-radius: var(--radius-xl); padding: 22px 16px; background: var(--tint-teal-grad); border: 1px solid var(--border-strong); }
.archmap-core b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--accent); }
.archmap-core span { font-size: 12px; color: var(--text-muted); }
.archmap-arrow { text-align: center; color: var(--accent); font-size: 22px; font-weight: 700; }
@media (max-width: 860px) { .archmap-arrow { transform: rotate(90deg); } }

/* ---- Editorial numbered rows (Platform) ---- */
.editorial { display: flex; flex-direction: column; }
.ed-row { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 24px 0; border-top: 1px solid var(--border); }
@media (max-width: 560px) { .ed-row { grid-template-columns: 44px 1fr; gap: 14px; } }
.ed-row .ed-no { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 5vw, 44px); line-height: 1; color: color-mix(in srgb, var(--accent) 55%, transparent); letter-spacing: -0.02em; }
.ed-row .ed-chip { font-family: var(--font-display); font-weight: 700; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.ed-row h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(18px, 2.6vw, 24px); line-height: 1.15; color: var(--text); margin-bottom: 8px; letter-spacing: -0.01em; }
.ed-row p { font-size: 14px; line-height: 1.6; color: var(--text-muted); max-width: 60ch; }

/* ---- Customers: multi-dimension filter wall ---- */
.filterbar { display: flex; flex-direction: column; gap: 14px; margin-bottom: 26px; }
.filter-group { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.filter-group .fg-label { font-family: var(--font-display); font-weight: 700; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-subtle); width: 96px; flex-shrink: 0; }
.filter-toggle { font-family: var(--font-display); font-weight: 700; font-size: 12px; color: var(--text-muted); background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 7px 12px; min-height: 36px; cursor: pointer; transition: transform .12s ease, border-color .15s ease, color .15s ease, background .15s ease; }
.filter-toggle:hover { border-color: var(--accent); color: var(--accent); }
.filter-toggle.is-on { background: var(--chip-success-bg); border-color: var(--accent); color: var(--accent); }
.filter-toggle:active { transform: scale(0.94); }
.filter-toggle .ft-count { opacity: 0.6; margin-left: 5px; }
.filter-status { font-size: 13px; color: var(--text-muted); margin-bottom: 18px; }
.filter-status b { color: var(--text); }
.cwall { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 720px) { .cwall { grid-template-columns: 1fr; } }
.cwall .cw-card { border-radius: var(--radius-xl); padding: 22px 24px; display: flex; flex-direction: column; }
.cwall .cw-card.is-hidden { display: none; }
.cwall .cw-card blockquote { font-size: 15px; line-height: 1.55; color: var(--text); margin-bottom: 14px; flex: 1; }
.cwall .cw-card .cw-tags { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 14px; border-top: 1px solid var(--border); }
.cwall .cw-card .cw-org { font-family: var(--font-display); font-weight: 700; font-size: 12.5px; color: var(--text); width: 100%; margin-bottom: 4px; }
.cwall .cw-card .cw-tag { font-size: 10px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-subtle); border: 1px solid var(--border); border-radius: var(--radius-full); padding: 3px 9px; }
.filter-empty { grid-column: 1 / -1; text-align: center; padding: 40px 20px; color: var(--text-muted); font-size: 14px; }

/* ---- Vendor Snapshot hero demo (looping request animation) ---- */
.vs-hero-split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 900px) { .vs-hero-split { grid-template-columns: 1fr; gap: 28px; } }
.snap-window { border-radius: var(--radius-xl); border: 1px solid var(--border-strong); background: var(--surface); backdrop-filter: blur(var(--glass-blur)); box-shadow: var(--shadow-md); overflow: hidden; }
.snap-bar { display: flex; align-items: center; gap: 9px; padding: 11px 16px; border-bottom: 1px solid var(--border); background: color-mix(in srgb, var(--bg) 40%, transparent); }
.snap-mark { width: 18px; height: 18px; color: var(--logo-bar); flex-shrink: 0; }
.snap-mark svg { width: 100%; height: 100%; }
.snap-mark.pulsing { animation: snapPulse 0.9s ease-in-out infinite; }
@keyframes snapPulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.45; transform: scale(0.86); } }
.snap-url { font-family: var(--font-display); font-weight: 700; font-size: 11px; letter-spacing: 0.02em; color: var(--text-subtle); }
.snap-body { padding: 26px 24px; min-height: 300px; display: flex; align-items: center; }
.snap-stage { width: 100%; }
.snap-tag { padding: 8px 16px 12px; font-family: var(--font-display); font-weight: 700; font-size: 9.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-subtle); text-align: right; }

.snap-phase { animation: snapFade .35s ease both; }
@keyframes snapFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.snap-label { font-family: var(--font-display); font-weight: 700; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-subtle); display: block; margin-bottom: 10px; }
.snap-input { display: flex; align-items: center; gap: 4px; border: 1px solid var(--border-strong); border-radius: var(--radius-md); padding: 14px 16px; background: var(--surface-2); }
.snap-input-text { font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--text); }
.snap-caret { width: 2px; height: 20px; background: var(--accent); animation: snapBlink 1s step-end infinite; }
@keyframes snapBlink { 50% { opacity: 0; } }
.snap-go { margin-left: auto; font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: 0.03em; text-transform: uppercase; color: var(--on-action); background: var(--action); border-radius: var(--radius-sm); padding: 7px 12px; white-space: nowrap; transition: transform .15s ease; }
.snap-go.firing { transform: scale(0.92); }

.snap-sending { text-align: center; }
.snap-spinner { width: 34px; height: 34px; border-radius: 50%; border: 3px solid color-mix(in srgb, var(--accent) 25%, transparent); border-top-color: var(--accent); display: inline-block; animation: snapSpin .7s linear infinite; margin-bottom: 14px; }
@keyframes snapSpin { to { transform: rotate(360deg); } }
.snap-sending p { font-size: 13.5px; color: var(--text-muted); }
.snap-sending b { color: var(--text); }

.snap-co b { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--text); display: block; }
.snap-co span { font-size: 12px; color: var(--text-subtle); }
.snap-num { display: flex; align-items: baseline; gap: 10px; margin: 10px 0 16px; }
.snap-num-v { font-family: var(--font-display); font-weight: 700; font-size: 54px; line-height: 1; color: var(--accent); letter-spacing: -0.02em; }
.snap-num-max { font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--text-muted); }
.snap-domains { display: flex; flex-direction: column; gap: 10px; max-height: 160px; overflow: hidden; }
.snap-domains.snap-scroll { animation: snapDepth 2.6s cubic-bezier(.4,0,.7,1) forwards; }
@keyframes snapDepth { 0% { transform: translateY(0); } 100% { transform: translateY(-40px); } }
.snap-dom { display: grid; grid-template-columns: 92px 1fr 32px; align-items: center; gap: 10px; opacity: 0; transform: translateX(-6px); transition: opacity .4s ease, transform .4s ease; }
.snap-dom.in { opacity: 1; transform: none; }
.snap-dom-n { font-family: var(--font-display); font-weight: 700; font-size: 12px; color: var(--text-muted); }
.snap-dom-bar { height: 6px; border-radius: var(--radius-full); background: color-mix(in srgb, var(--accent) 14%, transparent); overflow: hidden; }
.snap-dom-bar span { display: block; height: 100%; background: var(--accent); border-radius: var(--radius-full); transition: width .7s cubic-bezier(.2,.7,.2,1); }
.snap-dom-v { font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--accent); text-align: right; }
@media (prefers-reduced-motion: reduce) {
  .snap-mark.pulsing, .snap-spinner, .snap-caret { animation: none; }
  .snap-domains.snap-scroll { animation: none; }
}

/* ---- Draft-copy marker ----
   Any element wrapping Dia-drafted (not-yet-approved) copy gets data-draft.
   It appends a small amber superscript asterisk after the copy — visible and
   easy to find, but it does NOT affect layout (no outline, no box). Shows only
   in draft mode (<body class="show-drafts">, default in this build). Strip for
   launch by removing "show-drafts" (or the data-draft attributes). Hover the
   asterisk for the note passed in data-draft. To find every marker later:
   search the codebase for  data-draft . */
body.show-drafts [data-draft]::after {
  content: "*";
  color: var(--tint-gold-ink);
  font-weight: 700;
  font-size: 0.7em;
  vertical-align: super;
  line-height: 0;
  margin-left: 1px;
  cursor: help;
}
@media print { body.show-drafts [data-draft]::after { content: none; } }

/* ---- Reveal-on-scroll ---- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Phone-landscape vertical compression ----
   Wide-but-short viewport (phone sideways): the tall stacked vertical rhythm
   wastes the little height there is. Tighten top/bottom padding on the big
   vertical blocks so more content is reachable without endless scroll.
   Width/height guard matches the nav menu-cap rule above (one landscape tier). */
@media (max-width: 900px) and (orientation: landscape) and (max-height: 520px) {
  .hero { padding-top: 40px; }
  .section, .voices { padding: 36px 0; }
  .page-hero { padding: 40px 0 4px; }
  .dsection { padding: 32px 0; }
  .ctaband { padding: 32px 28px; }
  .metric-band { padding: 28px; }
  .faq-item summary { padding: 12px 16px; }
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .ticker-track, .qtrack { animation: none !important; }
  .reveal { opacity: 1; transform: none; }
  .mesh { display: none; }
}
