/* ==========================================================================
   CX Guru  main.css
   India's First AI Search Agency for E-Commerce Brands
   --------------------------------------------------------------------------
   Design language: dark technical SaaS, blueprint grid, engineering-led.
   Plain CSS3 (no framework dependency beyond Bootstrap 5 grid utilities).
   Authored for clean conversion to a custom WordPress theme.
   --------------------------------------------------------------------------
   TABLE OF CONTENTS
   01. Design tokens (:root)
   02. Reset & base
   03. Blueprint background
   04. Typography
   05. Layout primitives (container, section, eyebrow, grid)
   06. Buttons & links
   07. Chips, tags, badges (AI platform tags + data states)
   08. Header / navigation
   09. Footer
   10. Hero + AI Visibility Console (signature)
   11. Brand marquee
   12. Audit pipeline (signature)
   13. Feature / offer / service / leakage cards
   14. Buyer-Intent Capture Score gauge (signature)
   15. Timeline (2019 -> Today)
   16. 30 / 60 / 90 roadmap
   17. Proof / Hall of Fame (tabs, video cards, screenshot wall)
   18. Case study cards + filters
   19. Resources cards
   20. Lead magnet & forms
   21. FAQ accordion
   22. Tables (pricing-style / score model)
   23. Counters & stats
   24. Reveal-on-scroll base + reduced motion
   25. Utilities
   ========================================================================== */

/* 01. DESIGN TOKENS ======================================================== */
:root {
  /* Surfaces */
  --bg:           #08090c;
  --bg-1:         #0b0d12;
  --surface:      #101319;
  --surface-2:    #151922;
  --surface-3:    #1b2029;

  /* Lines */
  --line:         rgba(255, 255, 255, 0.08);
  --line-strong:  rgba(255, 255, 255, 0.15);
  --grid:         rgba(255, 255, 255, 0.035);
  --grid-strong:  rgba(255, 255, 255, 0.06);

  /* Text */
  --text:         #f1f3f6;
  --text-dim:     #aab0bb;
  --text-mute:    #6d747f;

  /* Brand accent (iris)  premium, technical, not a default acid tone */
  --brand:        #6e85ff;
  --brand-bright: #8ba0ff;
  --brand-soft:   rgba(110, 133, 255, 0.14);
  --brand-line:   rgba(110, 133, 255, 0.40);

  /* Data-state semantics (restrained neon) */
  --ok:    #34d39b;   /* found / owned / positive */
  --ok-soft:   rgba(52, 211, 155, 0.14);
  --info:  #5b9dff;   /* strong / informational */
  --info-soft: rgba(91, 157, 255, 0.14);
  --warn:  #f2b347;   /* weak / unstable */
  --warn-soft: rgba(242, 179, 71, 0.14);
  --bad:   #ff5d73;   /* competitor-owned / leakage / critical */
  --bad-soft:  rgba(255, 93, 115, 0.14);
  --ai:    #b48bff;   /* generic AI tag accent */
  --ai-soft:   rgba(180, 139, 255, 0.14);

  /* Type */
  --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono:    "JetBrains Mono", "SFMono-Regular", ui-monospace, Menlo, monospace;

  /* Radii */
  --r-sm: 8px;
  --r:    14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* Spacing rhythm */
  --section-y: clamp(4rem, 9vw, 8rem);
  --gap:       clamp(1rem, 2.4vw, 1.75rem);

  /* Shadows / glow */
  --shadow:      0 1px 0 rgba(255,255,255,0.04) inset, 0 24px 60px -28px rgba(0,0,0,0.8);
  --shadow-lg:   0 1px 0 rgba(255,255,255,0.05) inset, 0 40px 90px -40px rgba(0,0,0,0.85);
  --glow-brand:  0 0 0 1px var(--brand-line), 0 18px 60px -24px rgba(110,133,255,0.55);

  /* Layout */
  --maxw: 1200px;
  --maxw-wide: 1320px;
  --header-h: 68px;
}

/* 02. RESET & BASE ========================================================= */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  font-feature-settings: "cv05" 1, "ss01" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--brand); color: #05060a; }

:focus-visible {
  outline: 2px solid var(--brand-bright);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 2000;
  background: var(--text);
  color: #05060a;
  padding: 0.6rem 1rem;
  border-radius: 0 0 var(--r-sm) 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

/* 03. BLUEPRINT BACKGROUND ================================================= */
.bp-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(var(--grid) 1px, transparent 1px) 0 0 / 100% 88px,
    linear-gradient(90deg, var(--grid) 1px, transparent 1px) 0 0 / 88px 100%;
  -webkit-mask-image: radial-gradient(120% 90% at 50% -10%, #000 35%, transparent 92%);
          mask-image: radial-gradient(120% 90% at 50% -10%, #000 35%, transparent 92%);
}
.bp-glow {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background:
    radial-gradient(60% 40% at 50% -6%, rgba(110,133,255,0.16), transparent 70%),
    radial-gradient(40% 30% at 88% 8%, rgba(52,211,155,0.07), transparent 70%);
}

/* 04. TYPOGRAPHY =========================================================== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  color: var(--text);
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); letter-spacing: -0.03em; line-height: 1.02; }
h2 { font-size: clamp(1.85rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.55rem); letter-spacing: -0.015em; }
h4 { font-size: 1.05rem; letter-spacing: -0.01em; }

p { margin: 0 0 1rem; color: var(--text-dim); }
p:last-child { margin-bottom: 0; }
strong { color: var(--text); font-weight: 600; }

.lead {
  font-size: clamp(1.08rem, 1.6vw, 1.3rem);
  line-height: 1.55;
  color: var(--text-dim);
  max-width: 60ch;
}
.micro {
  font-size: 0.95rem;
  color: var(--text-mute);
  line-height: 1.55;
}
.accent { color: var(--brand-bright); }
.text-ok { color: var(--ok); }
.text-bad { color: var(--bad); }
.text-warn { color: var(--warn); }

/* 05. LAYOUT PRIMITIVES ==================================================== */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2rem);
}
.container-wide { max-width: var(--maxw-wide); }
.container-narrow { max-width: 820px; }

.section { padding-block: var(--section-y); position: relative; }
.section-tight { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.section + .section { padding-top: 0; }

.section-head { max-width: 64ch; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .lead { margin-top: 0.9rem; }
.section-head.center .lead { margin-inline: auto; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 1.6rem;
  height: 1px;
  background: var(--brand-line);
}
.eyebrow.no-rule::before { display: none; }
.section-head.center .eyebrow { justify-content: center; }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* Bootstrap-style row helpers are provided by Bootstrap 5; these augment it */
.grid {
  display: grid;
  gap: var(--gap);
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* 06. BUTTONS & LINKS ====================================================== */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  --btn-bd: var(--line-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  padding: 0.78rem 1.3rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--btn-bd);
  background: var(--btn-bg);
  color: var(--btn-fg);
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .bi, .btn svg { font-size: 1.05em; }

.btn-primary {
  --btn-bg: #f4f5f7;
  --btn-fg: #07080c;
  --btn-bd: #f4f5f7;
}
.btn-primary:hover { box-shadow: 0 12px 34px -14px rgba(255,255,255,0.4); background: #fff; }

.btn-ghost {
  --btn-bg: rgba(255,255,255,0.02);
  --btn-fg: var(--text);
}
.btn-ghost:hover { --btn-bd: var(--brand-line); background: var(--brand-soft); }

.btn-accent {
  --btn-bg: var(--brand);
  --btn-fg: #06070d;
  --btn-bd: var(--brand);
}
.btn-accent:hover { box-shadow: var(--glow-brand); }

.btn-lg { padding: 0.95rem 1.6rem; font-size: 1.02rem; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--brand-bright);
  font-size: 0.95rem;
}
.link-arrow .bi { transition: transform .18s ease; }
.link-arrow:hover .bi { transform: translateX(3px); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; }

/* 07. CHIPS / TAGS / BADGES ================================================ */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  padding: 0.34rem 0.6rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--text-dim);
}
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

/* AI platform tags  restrained tints */
.tag { --c: var(--text-dim); --cs: rgba(255,255,255,0.06);
  color: var(--c); border-color: color-mix(in srgb, var(--c) 30%, transparent); background: var(--cs); }
.tag-chatgpt   { --c: #19c39c; --cs: rgba(25,195,156,0.12); }
.tag-gemini    { --c: #6ea8ff; --cs: rgba(110,168,255,0.12); }
.tag-perplexity{ --c: #34d3d3; --cs: rgba(52,211,211,0.12); }
.tag-copilot   { --c: #5b9dff; --cs: rgba(91,157,255,0.12); }
.tag-grok      { --c: #c3c8d2; --cs: rgba(195,200,210,0.10); }
.tag-claude    { --c: #f0a878; --cs: rgba(240,168,120,0.12); }
.tag-google    { --c: #8ab4ff; --cs: rgba(138,180,255,0.12); }

/* Data-state badges */
.badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.28rem 0.55rem; border-radius: var(--r-sm);
  border: 1px solid var(--line);
}
.badge .dot { width: 6px; height: 6px; border-radius: 50%; }
.badge-ok   { color: var(--ok);   background: var(--ok-soft);   border-color: color-mix(in srgb, var(--ok) 28%, transparent); }
.badge-info { color: var(--info); background: var(--info-soft); border-color: color-mix(in srgb, var(--info) 28%, transparent); }
.badge-warn { color: var(--warn); background: var(--warn-soft); border-color: color-mix(in srgb, var(--warn) 28%, transparent); }
.badge-bad  { color: var(--bad);  background: var(--bad-soft);  border-color: color-mix(in srgb, var(--bad) 28%, transparent); }
.badge-mute { color: var(--text-mute); background: var(--surface-2); }

/* 08. HEADER / NAV ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
          backdrop-filter: blur(14px) saturate(120%);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
}
.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
  color: var(--text);
}
.brand .mark {
  width: 30px; height: 30px; border-radius: 9px;
  display: grid; place-items: center;
  background: linear-gradient(150deg, var(--brand) 0%, #4b62e8 100%);
  color: #06070d; font-weight: 700; font-family: var(--font-mono);
  box-shadow: 0 6px 18px -8px rgba(110,133,255,0.7);
}
.brand small {
  display: block; font-family: var(--font-mono); font-weight: 400;
  font-size: 0.6rem; letter-spacing: 0.18em; color: var(--text-mute);
  text-transform: uppercase; margin-top: 1px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-inline: auto;
}
.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-dim);
  padding: 0.5rem 0.7rem;
  border-radius: var(--r-sm);
  transition: color .15s ease, background .15s ease;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.nav-links a[aria-current="page"] { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 0.6rem; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface);
  align-items: center; justify-content: center;
}
.nav-toggle .bi { font-size: 1.25rem; }

/* Mobile drawer */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 1500;
  background: var(--bg);
  padding: calc(var(--header-h) + 1rem) clamp(1.1rem, 5vw, 2rem) 2rem;
  display: flex; flex-direction: column; gap: 0.25rem;
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform .35s cubic-bezier(.4,0,.2,1), visibility .35s;
  overflow-y: auto;
}
.mobile-nav.open { transform: translateY(0); visibility: visible; }
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 500;
  color: var(--text); padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}
.mobile-nav .btn { margin-top: 1.25rem; }
.mobile-nav-close {
  position: absolute; top: 14px; right: clamp(1.1rem,5vw,2rem);
  width: 42px; height: 42px; border-radius: var(--r-sm);
  border: 1px solid var(--line); background: var(--surface);
  display: grid; place-items: center;
}

/* Sticky mobile CTA bar */
.mobile-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 900;
  display: none;
  gap: 0.6rem;
  padding: 0.7rem clamp(0.9rem, 4vw, 1.2rem) calc(0.7rem + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
}
.mobile-cta .btn { flex: 1; }

/* 09. FOOTER =============================================================== */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-1);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  margin-top: clamp(3rem, 7vw, 6rem);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 2rem;
}
.footer-brand p { margin-top: 1rem; max-width: 34ch; font-size: 0.92rem; }
.footer-col h5 {
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--text-mute);
  margin: 0 0 1rem; font-weight: 500;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a { font-size: 0.92rem; color: var(--text-dim); }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  align-items: center; margin-top: 3rem; padding-top: 1.5rem;
  border-top: 1px solid var(--line); font-size: 0.85rem; color: var(--text-mute);
}
.footer-bottom .meta-links { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.footer-bottom a:hover { color: var(--text-dim); }

/* 10. HERO + AI VISIBILITY CONSOLE ========================================= */
.hero { padding-block: clamp(3rem, 7vw, 6rem) var(--section-y); position: relative; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero-copy { max-width: 620px; }
.hero h1 { margin-bottom: 1.1rem; }
.hero .lead { margin-bottom: 1.4rem; }
.hero-micro {
  border-left: 2px solid var(--brand-line);
  padding-left: 1rem;
  margin: 1.4rem 0 1.8rem;
  font-size: 0.98rem;
  color: var(--text-mute);
  max-width: 52ch;
}

/* Rotating phrase */
.rotator {
  display: inline-flex;
  align-items: baseline;
  min-height: 1.05em;
}
.rotator .rot-word {
  color: var(--brand-bright);
  position: relative;
  white-space: nowrap;
}
.rotator .rot-word::after {
  content: "";
  display: inline-block;
  width: 2px; height: 0.95em;
  margin-left: 3px;
  background: var(--brand-bright);
  transform: translateY(0.08em);
  animation: caret 1s steps(1) infinite;
}
@keyframes caret { 50% { opacity: 0; } }

/* The console (signature visual) */
.console {
  position: relative;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(120% 80% at 80% -10%, rgba(110,133,255,0.10), transparent 60%),
    var(--surface);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.console::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(var(--grid-strong) 1px, transparent 1px) 0 0 / 100% 26px,
    linear-gradient(90deg, var(--grid-strong) 1px, transparent 1px) 0 0 / 26px 100%;
  -webkit-mask-image: radial-gradient(120% 100% at 50% 0, #000 50%, transparent);
          mask-image: radial-gradient(120% 100% at 50% 0, #000 50%, transparent);
  pointer-events: none;
}
.console-bar {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
  position: relative;
}
.console-bar .dots { display: flex; gap: 6px; }
.console-bar .dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--surface-3); display: block; }
.console-title {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em;
  color: var(--text-mute);
  flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.console-bar .live {
  margin-left: auto; display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ok);
}
.console-bar .live .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 var(--ok); animation: ping 1.8s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(52,211,155,0.5);} 100% { box-shadow: 0 0 0 8px rgba(52,211,155,0);} }

.console-body { padding: 1.1rem; position: relative; z-index: 1; }
.console-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.console-panel {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: rgba(255,255,255,0.015);
  padding: 0.9rem;
}
.console-panel h6 {
  font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-mute); margin: 0 0 0.7rem; font-weight: 500;
}

/* score ring */
.score-ring { display: flex; align-items: center; gap: 0.9rem; }
.ring {
  --val: 0;
  width: 92px; height: 92px; border-radius: 50%; flex: none;
  background: conic-gradient(var(--brand) calc(var(--val) * 1%), rgba(255,255,255,0.06) 0);
  display: grid; place-items: center; position: relative;
  transition: background 1.2s cubic-bezier(.2,.7,.2,1);
}
.ring::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: var(--surface); }
.ring b { position: relative; font-family: var(--font-display); font-size: 1.5rem; }
.ring b small { font-size: 0.7rem; color: var(--text-mute); font-family: var(--font-mono); }
.score-meta .badge { margin-bottom: 0.5rem; }
.score-meta p { font-size: 0.82rem; color: var(--text-mute); margin: 0; }

/* platform list */
.plat-list { display: flex; flex-direction: column; gap: 0.55rem; }
.plat-row { display: flex; align-items: center; gap: 0.6rem; font-size: 0.82rem; }
.plat-row .name { color: var(--text-dim); width: 88px; flex: none; }
.plat-row .meter { flex: 1; height: 6px; border-radius: 3px; background: rgba(255,255,255,0.06); overflow: hidden; }
.plat-row .meter i { display: block; height: 100%; width: 0; border-radius: 3px; background: var(--brand); transition: width 1.2s cubic-bezier(.2,.7,.2,1); }
.plat-row .meter.ok i { background: var(--ok); }
.plat-row .meter.warn i { background: var(--warn); }
.plat-row .meter.bad i { background: var(--bad); }
.plat-row .pct { font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-mute); width: 34px; text-align: right; }

/* prompt feed */
.feed { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.2rem; }
.feed-item {
  display: flex; align-items: center; gap: 0.6rem; justify-content: space-between;
  padding: 0.5rem 0.6rem; border: 1px solid var(--line); border-radius: var(--r-sm);
  background: rgba(255,255,255,0.012); font-size: 0.8rem;
}
.feed-item .q { color: var(--text-dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.console-foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 0.9rem; padding-top: 0.8rem; border-top: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 0.68rem; color: var(--text-mute); letter-spacing: 0.06em;
}
.console-foot .road { display: flex; gap: 0.4rem; }
.console-foot .road span { padding: 0.18rem 0.45rem; border: 1px solid var(--line); border-radius: 5px; }

/* 11. BRAND MARQUEE ======================================================== */
.marquee-wrap { overflow: hidden; position: relative; padding-block: 0.5rem; }
.marquee-wrap::before, .marquee-wrap::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 2; pointer-events: none;
}
.marquee-wrap::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.marquee-wrap::after { right: 0; background: linear-gradient(270deg, var(--bg), transparent); }
.marquee {
  display: flex; gap: 1rem; width: max-content;
  animation: scroll-x 38s linear infinite;
}
.marquee:hover { animation-play-state: paused; }
@keyframes scroll-x { to { transform: translateX(-50%); } }
.logo-slot {
  display: grid; place-items: center;
  min-width: 190px; height: 76px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--r);
  background: var(--surface);
  color: var(--text-mute);
  font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.04em;
  text-align: center; padding: 0 1rem;
}

/* 12. AUDIT PIPELINE (signature) =========================================== */
.pipeline {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.pipeline-head {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem 1.2rem; border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
}
.pipeline-head .console-title { font-size: 0.74rem; }
.pipeline-body { padding: 1.2rem; display: flex; flex-direction: column; gap: 0; }
.node {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 0.9rem;
  padding: 0.7rem 0.2rem;
  position: relative;
}
.node .idx {
  width: 28px; height: 28px; border-radius: 8px;
  display: grid; place-items: center;
  border: 1px solid var(--line); background: var(--surface-2);
  font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-mute);
  transition: border-color .3s, color .3s, background .3s;
}
.node .body .nm { font-weight: 600; font-size: 0.96rem; }
.node .body .sub { font-size: 0.8rem; color: var(--text-mute); }
.node::after {
  content: ""; position: absolute; left: 13px; top: 46px; bottom: -8px; width: 1px;
  background: linear-gradient(var(--line-strong), transparent);
}
.node:last-child::after { display: none; }
.node.active .idx { color: var(--brand-bright); border-color: var(--brand-line); background: var(--brand-soft); }
.node.done .idx { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 40%, transparent); background: var(--ok-soft); }

/* 13. CARDS ================================================================ */
.card {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  padding: 1.4rem;
  position: relative;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
  height: 100%;
}
.card.lift:hover { transform: translateY(-4px); border-color: var(--line-strong); background: var(--surface-2); }
.card .card-ico {
  width: 42px; height: 42px; border-radius: 11px;
  display: grid; place-items: center; margin-bottom: 1rem;
  background: var(--brand-soft); color: var(--brand-bright);
  border: 1px solid var(--brand-line);
  font-size: 1.2rem;
}
.card h3 { font-size: 1.12rem; margin-bottom: 0.5rem; }
.card p { font-size: 0.92rem; }
.card .card-num {
  font-family: var(--font-mono); font-size: 0.74rem; color: var(--text-mute);
  letter-spacing: 0.1em; margin-bottom: 0.8rem; display: block;
}

/* state-coloured icon variants */
.card-ico.ok   { background: var(--ok-soft);   color: var(--ok);   border-color: color-mix(in srgb,var(--ok) 35%,transparent); }
.card-ico.bad  { background: var(--bad-soft);  color: var(--bad);  border-color: color-mix(in srgb,var(--bad) 35%,transparent); }
.card-ico.warn { background: var(--warn-soft); color: var(--warn); border-color: color-mix(in srgb,var(--warn) 35%,transparent); }
.card-ico.info { background: var(--info-soft); color: var(--info); border-color: color-mix(in srgb,var(--info) 35%,transparent); }
.card-ico.ai   { background: var(--ai-soft);   color: var(--ai);   border-color: color-mix(in srgb,var(--ai) 35%,transparent); }

/* leakage cards have a top accent line */
.card-leak { border-top: 2px solid var(--bad); }

/* service card  richer */
.service-card { display: flex; flex-direction: column; gap: 0.9rem; }
.service-card .meta-block { border-top: 1px solid var(--line); padding-top: 0.8rem; }
.service-card .meta-block dt { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 0.2rem; }
.service-card .meta-block dd { margin: 0 0 0.7rem; font-size: 0.88rem; color: var(--text-dim); }
.service-card .meta-block dd:last-child { margin-bottom: 0; }

/* feature split rows (used on audit page) */
.split {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem,4vw,3.5rem); align-items: center;
}
.split.reverse > :first-child { order: 2; }

/* simple checklist */
.checklist { display: flex; flex-direction: column; gap: 0.7rem; }
.checklist li { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.96rem; color: var(--text-dim); }
.checklist li .bi { color: var(--ok); margin-top: 0.18rem; flex: none; }
.crosslist li .bi { color: var(--bad); }

/* pull quote */
.pquote {
  border: 1px solid var(--line); border-left: 3px solid var(--brand);
  border-radius: var(--r); background: var(--surface);
  padding: clamp(1.5rem,3vw,2.4rem); 
}
.pquote blockquote { font-family: var(--font-display); font-size: clamp(1.3rem,2.4vw,1.9rem); line-height: 1.3; letter-spacing: -0.02em; margin: 0 0 1.2rem; color: var(--text); }
.pquote .cite { display: flex; align-items: center; gap: 0.8rem; }
.pquote .cite .avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--surface-3); border: 1px solid var(--line); display: grid; place-items: center; font-family: var(--font-mono); font-size: 0.8rem; color: var(--text-mute); }
.pquote .cite b { display: block; font-size: 0.92rem; }
.pquote .cite span { font-size: 0.82rem; color: var(--text-mute); }

/* 14. BUYER-INTENT CAPTURE SCORE GAUGE ===================================== */
.scorecard {
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--surface); box-shadow: var(--shadow); overflow: hidden;
}
.scorecard-grid { display: grid; grid-template-columns: 1.1fr 1fr; }
.scorecard-left { padding: clamp(1.5rem,3vw,2.4rem); border-right: 1px solid var(--line); }
.scorecard-right { padding: clamp(1.5rem,3vw,2.4rem); }
.gauge-wrap { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.gauge {
  --val: 0;
  width: 150px; height: 150px; border-radius: 50%; flex: none;
  background: conic-gradient(from 180deg, var(--ok) 0 calc(var(--val)*1%), rgba(255,255,255,0.07) calc(var(--val)*1%));
  display: grid; place-items: center; position: relative;
  transition: background 1.4s cubic-bezier(.2,.7,.2,1);
}
.gauge::before { content:""; position:absolute; inset:14px; border-radius:50%; background: var(--surface); }
.gauge .val { position: relative; text-align: center; }
.gauge .val b { font-family: var(--font-display); font-size: 2.4rem; line-height: 1; }
.gauge .val span { display:block; font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-mute); margin-top: 0.3rem; }

.weights { display: flex; flex-direction: column; gap: 0.7rem; }
.weight-row { display: grid; grid-template-columns: 1fr auto; gap: 0.6rem; align-items: center; }
.weight-row .wl { font-size: 0.9rem; color: var(--text-dim); }
.weight-row .wb { height: 7px; border-radius: 4px; background: rgba(255,255,255,0.06); grid-column: 1 / -1; overflow: hidden; }
.weight-row .wb i { display:block; height:100%; width:0; background: var(--brand); border-radius:4px; transition: width 1.2s cubic-bezier(.2,.7,.2,1); }
.weight-row .wv { font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-mute); }

.score-legend { display: flex; flex-direction: column; gap: 0.55rem; }
.score-legend .lr { display: flex; align-items: center; gap: 0.7rem; font-size: 0.9rem; }
.score-legend .band { font-family: var(--font-mono); font-size: 0.72rem; width: 64px; color: var(--text-mute); }
.score-legend .label { color: var(--text-dim); }
.score-legend .pill { width: 10px; height: 10px; border-radius: 3px; flex: none; }

/* 15. TIMELINE ============================================================= */
.timeline { position: relative; display: flex; flex-direction: column; gap: 0; }
.timeline::before {
  content: ""; position: absolute; left: 9px; top: 8px; bottom: 8px; width: 1px;
  background: linear-gradient(var(--brand-line), var(--line), transparent);
}
.tl-item { display: grid; grid-template-columns: 20px 1fr; gap: 1.2rem; padding: 0.5rem 0 1.6rem; position: relative; }
.tl-item .tl-dot {
  width: 20px; height: 20px; border-radius: 50%; margin-top: 4px;
  border: 1px solid var(--brand-line); background: var(--bg);
  display: grid; place-items: center;
}
.tl-item .tl-dot i { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.tl-item.now .tl-dot i { background: var(--ok); }
.tl-year { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.12em; color: var(--brand-bright); margin-bottom: 0.35rem; }
.tl-item.now .tl-year { color: var(--ok); }
.tl-item h4 { margin-bottom: 0.35rem; }
.tl-item p { font-size: 0.92rem; }

/* 16. ROADMAP (30/60/90) =================================================== */
.roadmap { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.phase {
  border: 1px solid var(--line); border-radius: var(--r); background: var(--surface);
  padding: 1.4rem; position: relative; overflow: hidden;
}
.phase .ph-num {
  font-family: var(--font-display); font-size: 2.6rem; line-height: 1;
  color: var(--brand-bright); letter-spacing: -0.03em;
}
.phase .ph-num small { font-size: 0.9rem; font-family: var(--font-mono); color: var(--text-mute); letter-spacing: 0.08em; }
.phase h4 { margin: 0.6rem 0 1rem; }
.phase ul { display: flex; flex-direction: column; gap: 0.55rem; }
.phase li { display: flex; gap: 0.55rem; font-size: 0.9rem; color: var(--text-dim); align-items: flex-start; }
.phase li .bi { color: var(--brand-bright); margin-top: 0.18rem; font-size: 0.85rem; flex: none; }
.phase:nth-child(2) .ph-num, .phase:nth-child(2) li .bi { color: var(--ok); }
.phase:nth-child(3) .ph-num, .phase:nth-child(3) li .bi { color: var(--info); }

/* 17. PROOF / HALL OF FAME ================================================= */
.tabs { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-bottom: 1.8rem; border: 1px solid var(--line); border-radius: var(--r-pill); padding: 0.3rem; width: max-content; max-width: 100%; }
.tab-btn {
  font-family: var(--font-body); font-weight: 600; font-size: 0.88rem;
  padding: 0.5rem 1rem; border-radius: var(--r-pill); border: 0; background: transparent; color: var(--text-dim);
  transition: background .15s, color .15s;
}
.tab-btn[aria-selected="true"] { background: var(--surface-3); color: var(--text); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fade .3s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } }

.video-card {
  border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
  background: var(--surface); height: 100%;
}
.video-thumb {
  aspect-ratio: 16/9; position: relative; display: grid; place-items: center;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.02) 0 12px, transparent 12px 24px),
    var(--surface-2);
  border-bottom: 1px solid var(--line); color: var(--text-mute);
  font-family: var(--font-mono); font-size: 0.72rem; text-align: center; padding: 1rem;
}
.video-thumb .play {
  position: absolute; width: 54px; height: 54px; border-radius: 50%;
  background: rgba(255,255,255,0.92); color: #06070d; display: grid; place-items: center;
  font-size: 1.3rem; box-shadow: 0 10px 30px -10px rgba(0,0,0,0.7);
}
.video-card .vc-foot { padding: 0.9rem 1rem; }
.video-card .vc-foot b { font-size: 0.92rem; }
.video-card .vc-foot span { font-size: 0.8rem; color: var(--text-mute); display: block; }

.testimonial-card {
  border: 1px solid var(--line); border-radius: var(--r); background: var(--surface);
  padding: 1.4rem; height: 100%; display: flex; flex-direction: column; gap: 1rem;
}
.testimonial-card .stars { color: var(--warn); font-size: 0.9rem; letter-spacing: 2px; }
.testimonial-card blockquote { margin: 0; font-size: 0.98rem; color: var(--text-dim); line-height: 1.55; }
.testimonial-card .who { display: flex; align-items: center; gap: 0.7rem; margin-top: auto; }
.testimonial-card .who .avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--surface-3); border: 1px solid var(--line); display: grid; place-items: center; font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-mute); }
.testimonial-card .who b { font-size: 0.9rem; display: block; }
.testimonial-card .who span { font-size: 0.78rem; color: var(--text-mute); }

/* screenshot wall (masonry-ish) */
.wall { columns: 3; column-gap: var(--gap); }
.wall .shot {
  break-inside: avoid; margin-bottom: var(--gap);
  border: 1px dashed var(--line-strong); border-radius: var(--r);
  background: var(--surface); color: var(--text-mute);
  font-family: var(--font-mono); font-size: 0.74rem;
  display: grid; place-items: center; text-align: center; padding: 1.5rem 1rem;
}
.wall .shot.s1 { min-height: 150px; } .wall .shot.s2 { min-height: 220px; }
.wall .shot.s3 { min-height: 120px; } .wall .shot.s4 { min-height: 190px; }

/* permission note */
.note {
  border: 1px solid var(--line); border-left: 3px solid var(--warn);
  border-radius: var(--r); background: var(--warn-soft); padding: 1.1rem 1.3rem;
  font-size: 0.9rem; color: var(--text-dim);
}
.note.info { border-left-color: var(--info); background: var(--info-soft); }
.note.brand { border-left-color: var(--brand); background: var(--brand-soft); }
.note b { color: var(--text); }

/* placeholder block (generic, clearly labelled) */
.placeholder {
  border: 1px dashed var(--line-strong); border-radius: var(--r);
  background: repeating-linear-gradient(135deg, rgba(255,255,255,0.018) 0 14px, transparent 14px 28px);
  color: var(--text-mute); font-family: var(--font-mono); font-size: 0.74rem;
  display: grid; place-items: center; text-align: center; padding: 1.6rem 1rem; min-height: 92px;
}

/* 18. CASE STUDIES ========================================================= */
.filters { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.filter-btn {
  font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.04em;
  padding: 0.5rem 0.85rem; border-radius: var(--r-pill);
  border: 1px solid var(--line); background: var(--surface); color: var(--text-dim);
  transition: all .15s;
}
.filter-btn.active, .filter-btn:hover { border-color: var(--brand-line); background: var(--brand-soft); color: var(--text); }

.cs-card {
  border: 1px solid var(--line); border-radius: var(--r); background: var(--surface);
  overflow: hidden; height: 100%; display: flex; flex-direction: column;
  transition: transform .2s, border-color .2s;
}
.cs-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.cs-card .cs-top { padding: 1.3rem 1.3rem 0; display: flex; justify-content: space-between; gap: 0.6rem; align-items: flex-start; }
.cs-card .cs-body { padding: 1rem 1.3rem 1.3rem; flex: 1; display: flex; flex-direction: column; }
.cs-card h3 { font-size: 1.12rem; margin: 0.6rem 0 0.5rem; }
.cs-card .cs-tag { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-mute); }
.cs-card .sample-flag { margin-top: auto; padding-top: 1rem; }

/* 19. RESOURCES ============================================================ */
.res-card {
  border: 1px solid var(--line); border-radius: var(--r); background: var(--surface);
  padding: 1.3rem; height: 100%; display: flex; flex-direction: column; gap: 0.7rem;
  transition: transform .2s, border-color .2s;
}
.res-card:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.res-card .res-cat { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand-bright); }
.res-card h3 { font-size: 1.08rem; margin: 0; }
.res-card p { font-size: 0.88rem; flex: 1; }
.res-card .res-foot { display: flex; align-items: center; justify-content: space-between; font-size: 0.8rem; color: var(--text-mute); }

/* 20. LEAD MAGNET & FORMS ================================================== */
.leadmag {
  border: 1px solid var(--line-strong); border-radius: var(--r-xl);
  background:
    radial-gradient(120% 120% at 100% 0, rgba(110,133,255,0.12), transparent 55%),
    var(--surface);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.6rem, 4vw, 3rem);
}
.leadmag-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(1.5rem,4vw,3rem); align-items: center; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.82rem; font-weight: 500; color: var(--text-dim); }
.field label .req { color: var(--bad); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 0.94rem; color: var(--text);
  background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 0.7rem 0.85rem; transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-mute); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand-line); box-shadow: 0 0 0 3px var(--brand-soft);
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236d747f' d='M6 8 0 0h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.85rem center; padding-right: 2.2rem; }
.form-consent { font-size: 0.78rem; color: var(--text-mute); margin-top: 0.4rem; }

/* 21. FAQ ACCORDION ======================================================== */
.faq { display: flex; flex-direction: column; gap: 0.7rem; }
.faq-item { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); overflow: hidden; }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 1.3rem; background: transparent; text-align: left;
  font-family: var(--font-display); font-size: 1.02rem; font-weight: 500; letter-spacing: -0.01em; color: var(--text);
}
.faq-q .bi { transition: transform .25s ease; color: var(--text-mute); flex: none; }
.faq-item.open .faq-q .bi { transform: rotate(45deg); color: var(--brand-bright); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a .faq-a-inner { padding: 0 1.3rem 1.2rem; color: var(--text-dim); font-size: 0.95rem; line-height: 1.6; }
.faq-a p { margin-bottom: 0.7rem; }

/* 22. TABLES =============================================================== */
.matrix { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.matrix th, .matrix td { text-align: left; padding: 0.8rem 0.9rem; border-bottom: 1px solid var(--line); }
.matrix thead th { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-mute); font-weight: 500; }
.matrix tbody tr:hover { background: rgba(255,255,255,0.015); }
.matrix td:first-child { color: var(--text); font-weight: 500; }

/* 23. COUNTERS / STATS ===================================================== */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.stat { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); padding: 1.3rem; }
.stat .num { font-family: var(--font-display); font-size: clamp(1.8rem,3.5vw,2.6rem); letter-spacing: -0.03em; color: var(--text); line-height: 1; }
.stat .num .suffix { color: var(--brand-bright); }
.stat .lbl { font-size: 0.86rem; color: var(--text-mute); margin-top: 0.5rem; }

/* 24. REVEAL ON SCROLL + REDUCED MOTION ==================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal-delay="3"] { transition-delay: .24s; }
[data-reveal-delay="4"] { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .marquee { animation: none !important; }
  .rotator .rot-word::after { animation: none !important; }
}

/* 25. UTILITIES ============================================================ */
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2.25rem; }
.mb-0 { margin-bottom: 0 !important; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.muted { color: var(--text-mute); }
.dim { color: var(--text-dim); }
.mono { font-family: var(--font-mono); }
.nowrap { white-space: nowrap; }
.hide { display: none !important; }
.flex { display: flex; }
.gap-1 { gap: 0.5rem; } .gap-2 { gap: 1rem; }
.wrap { flex-wrap: wrap; }
.aic { align-items: center; }
.jcb { justify-content: space-between; }
.jcc { justify-content: center; }
.full-w { width: 100%; }
.maxw-60 { max-width: 60ch; }
.divider-band { border-block: 1px solid var(--line); }
.surface-band { background: var(--bg-1); }

/* 26. BREADCRUMBS + FIXED-HEADER CLEARANCE (added) ========================= */
html { scroll-padding-top: calc(var(--header-h) + 1rem); }

/* Homepage hero must clear the fixed header on every viewport */
.hero { padding-top: calc(var(--header-h) + clamp(1.6rem, 5vw, 3.5rem)); }

/* Interior pages open with .page-head (carries the header clearance) */
.page-head {
  padding-top: calc(var(--header-h) + clamp(2rem, 5vw, 3.5rem));
  padding-bottom: clamp(1.6rem, 3.5vw, 2.75rem);
}
.page-head .section-head { margin-bottom: 0; }

.crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem;
  font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.05em;
  color: var(--text-mute); margin-bottom: 1.4rem;
}
.crumbs a { color: var(--text-dim); }
.crumbs a:hover { color: var(--brand-bright); }
.crumbs .sep { opacity: 0.5; }
.crumbs [aria-current="page"] { color: var(--text); }

/* platform tag dot (used in audit/console contexts) */
.tag .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* prose + aside layout used on content pages */
.prose-aside { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(1.5rem,4vw,3rem); align-items: start; }
@media (max-width: 860px){ .prose-aside { grid-template-columns: 1fr; } }

/* anchor offset target helper for in-page sections */
[id]{ scroll-margin-top: calc(var(--header-h) + 1rem); }
