/* ConsentLayer — component & section styles.
   Extracted from the canonical landing page. Contains the full :root
   design-token block (do not remove — every rule below references it).
   Loaded site-wide + in the block editor via functions.php. */

/* =================================================================
 * ConsentLayer · Marketing Landing Page
 * Strictly bound to design-system tokens & components.
 * ================================================================= */
/* ConsentLayer Design Tokens
 * Generated from the Figma source of truth.
 *
 * BRAND FONTS (self-hosted, OFL):
 *   Inter variable — primary type for everything.
 *   JetBrains Mono — code blocks only (loaded via Google Fonts).
 */

@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/Geist-Variable.woff2") format('woff2-variations');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/Inter-Variable.ttf") format('truetype-variations');
}
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/Inter-Italic-Variable.ttf") format('truetype-variations');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("../fonts/JetBrainsMono-Variable.ttf") format('truetype-variations');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: italic;
  font-weight: 100 800;
  font-display: swap;
  src: url("../fonts/JetBrainsMono-Italic-Variable.ttf") format('truetype-variations');
}

/*
 * Drop into your CSS pipeline, then build everything against these variables.
 *
 * Structure:
 *   :root            Primitives (raw scales — never reference these directly in components)
 *   :root            Aliases (semantic tokens — reference THESE in components)
 *   :root[data-theme=dark]  Dark-mode overrides for aliases only
 *
 * Type: Inter for everything. JetBrains Mono ONLY inside code blocks.
 * Icons: Lucide at 1.75px stroke, sized 14/16/20/24/32.
 */

:root {
  /* === Primitives :: Blue scale (brand) === */
  --color-blue-50:  #E6F0FF;
  --color-blue-100: #C2DBFF;
  --color-blue-200: #8EB8FF;
  --color-blue-300: #5A95FF;
  --color-blue-400: #2E7AFF;
  --color-blue-500: #0065FF;
  --color-blue-600: #0052CC;
  --color-blue-700: #003E99;
  --color-blue-800: #002966;
  --color-blue-900: #001533;

  /* === Primitives :: Navy scale (wordmark + dark surfaces) === */
  --color-navy-50:  #F2F4F7;
  --color-navy-100: #E1E5EB;
  --color-navy-200: #C2CBD8;
  --color-navy-300: #94A1B5;
  --color-navy-400: #5E6C82;
  --color-navy-500: #354560;
  --color-navy-600: #1F3056;
  --color-navy-700: #0F2447;
  --color-navy-800: #081D3F;
  --color-navy-900: #04102A;

  /* === Primitives :: Neutral (cool grey, tuned against navy) === */
  --color-neutral-0:   #FFFFFF;
  --color-neutral-50:  #F7F9FC;
  --color-neutral-100: #EEF1F6;
  --color-neutral-200: #DDE3EC;
  --color-neutral-300: #B8C2D1;
  --color-neutral-400: #8995AB;
  --color-neutral-500: #5C6A82;
  --color-neutral-600: #3F4D66;
  --color-neutral-700: #2A3A55;
  --color-neutral-800: #182843;
  --color-neutral-900: #0C1A35;

  /* === Primitives :: Status === */
  --color-success-50:  #ECFDF5;
  --color-success-100: #D1FAE5;
  --color-success-300: #6EE7B7;
  --color-success-500: #10B981;
  --color-success-600: #059669;
  --color-success-700: #047857;
  --color-warning-50:  #FFFBEB;
  --color-warning-100: #FEF3C7;
  --color-warning-300: #FCD34D;
  --color-warning-500: #F59E0B;
  --color-warning-600: #D97706;
  --color-warning-700: #B45309;
  --color-danger-50:   #FEF2F2;
  --color-danger-100:  #FEE2E2;
  --color-danger-300:  #FCA5A5;
  --color-danger-500:  #EF4444;
  --color-danger-600:  #DC2626;
  --color-danger-700:  #B91C1C;

  /* === Primitives :: Teal (now the primary CTA color) === */
  --color-teal-50:   #F0FDFA;
  --color-teal-100:  #CCFBF1;
  --color-teal-300:  #5EEAD4;
  --color-teal-500:  #14B8A6;
  --color-teal-600:  #0D9488;
  --color-teal-700:  #0F766E;

  /* === Primitives :: Spark gradient (RESERVED for the spark mark only — never use elsewhere) === */
  --color-spark-purple: #B700FF;
  --color-spark-blue:   #5667FF;
  --color-spark-cyan:   #21DEFF;
  --gradient-spark: linear-gradient(135deg, var(--color-spark-purple) 0%, var(--color-spark-blue) 50%, var(--color-spark-cyan) 100%);

  /* === Aliases :: Text (light mode) === */
  --text-primary:    #081D3F;
  --text-secondary:  #3F4D66;
  --text-tertiary:   #5C6A82;
  --text-disabled:   #B8C2D1;
  --text-inverse:    #FFFFFF;
  --text-brand:      #0065FF;
  --text-on-brand:   #FFFFFF;
  --text-success:    #047857;
  --text-warning:    #B45309;
  --text-danger:     #B91C1C;

  /* === Aliases :: Surfaces === */
  --surface-page:           #F7F9FC;
  --surface-default:        #FFFFFF;
  --surface-elevated:       #FFFFFF;
  --surface-sunken:         #EEF1F6;
  --surface-hover:          #F7F9FC;
  --surface-active:         #EEF1F6;
  --surface-brand:          #0065FF;
  --surface-brand-subtle:   #E6F0FF;
  --surface-success:        #10B981;
  --surface-success-subtle: #ECFDF5;
  --surface-warning:        #F59E0B;
  --surface-warning-subtle: #FFFBEB;
  --surface-danger:         #EF4444;
  --surface-danger-subtle:  #FEF2F2;

  /* === Aliases :: Borders === */
  --border-default:    #DDE3EC;
  --border-subtle:     #EEF1F6;
  --border-strong:     #B8C2D1;
  --border-focus:      #0065FF;
  --border-focus-glow: rgba(0, 101, 255, 0.18);
  --border-success:    #10B981;
  --border-warning:    #F59E0B;
  --border-danger:     #EF4444;

  /* === Spacing (4px grid) === */
  --space-0:  0;
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  20px;
  --space-6:  24px;
  --space-8:  32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;

  /* === Radius === */
  --radius-0:    0;
  --radius-xs:   2px;
  --radius-sm:   4px;
  --radius-md:   6px;
  --radius-lg:   8px;
  --radius-xl:   12px;
  --radius-2xl:  16px;
  --radius-full: 9999px;

  /* === Stroke / border widths === */
  --stroke-0:  0;
  --stroke-sm: 1px;  /* default */
  --stroke-md: 2px;  /* emphasis, active */
  --stroke-lg: 3px;  /* focus glow size */
  --stroke-xl: 4px;  /* rare */

  /* === Elevation (multi-layer navy-tinted: contact + ambient + atmospheric) === */
  --shadow-xs:
    0 1px 1px 0 rgba(8, 29, 63, 0.04),
    0 0 0 1px rgba(8, 29, 63, 0.04);
  --shadow-sm:
    0 1px 2px 0 rgba(8, 29, 63, 0.04),
    0 2px 6px 0 rgba(8, 29, 63, 0.06);
  --shadow-md:
    0 1px 2px 0 rgba(8, 29, 63, 0.04),
    0 4px 12px 0 rgba(8, 29, 63, 0.08),
    0 8px 24px 0 rgba(8, 29, 63, 0.06);
  --shadow-lg:
    0 1px 2px 0 rgba(8, 29, 63, 0.04),
    0 4px 8px 0 rgba(8, 29, 63, 0.06),
    0 12px 28px 0 rgba(8, 29, 63, 0.10),
    0 24px 48px 0 rgba(8, 29, 63, 0.08);
  --shadow-xl:
    0 1px 2px 0 rgba(8, 29, 63, 0.04),
    0 4px 8px 0 rgba(8, 29, 63, 0.06),
    0 12px 24px 0 rgba(8, 29, 63, 0.08),
    0 24px 48px 0 rgba(8, 29, 63, 0.10),
    0 48px 96px 0 rgba(8, 29, 63, 0.12);
  --shadow-focus-glow: 0 0 0 3px rgba(0, 101, 255, 0.18);

  /* === Typography :: families === */
  /* v2: Geist primary, Inter fallback. Geist is more open than Inter so
     we can run slightly tighter letter-spacing in display sizes. */
  --font-sans: 'Geist', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'Geist Mono', 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* === Typography :: type styles (size / line-height / letter-spacing / weight) === */
  --type-display-size:    56px;  --type-display-lh:    64px;  --type-display-ls:    -0.054em; --type-display-weight:    700;
  --type-h1-size:         36px;  --type-h1-lh:         44px;  --type-h1-ls:         -0.056em; --type-h1-weight:         700;
  --type-h2-size:         24px;  --type-h2-lh:         32px;  --type-h2-ls:         -0.042em; --type-h2-weight:         600;
  --type-h3-size:         18px;  --type-h3-lh:         26px;  --type-h3-ls:         -0.028em; --type-h3-weight:         600;
  --type-h4-size:         15px;  --type-h4-lh:         22px;  --type-h4-ls:         0;        --type-h4-weight:         600;
  --type-body-large-size: 16px;  --type-body-large-lh: 25px;  --type-body-large-ls: 0;        --type-body-large-weight: 400;
  --type-body-size:       14px;  --type-body-lh:       21px;  --type-body-ls:       0;        --type-body-weight:       400;
  --type-small-size:      13px;  --type-small-lh:      19px;  --type-small-ls:      0;        --type-small-weight:      400;
  --type-micro-size:      12px;  --type-micro-lh:      18px;  --type-micro-ls:      0;        --type-micro-weight:      500;
  --type-eyebrow-size:    11px;  --type-eyebrow-lh:    14px;  --type-eyebrow-ls:    0.072em;  --type-eyebrow-weight:    600;
  --type-code-size:       13px;  --type-code-lh:       19px;  --type-code-ls:       0;        --type-code-weight:       400;
}

/* === Dark mode (aliases only — primitives stay constant) === */
:root[data-theme='dark'],
[data-theme='dark'] {
  --text-primary:    #F7F9FC;
  --text-secondary:  #C2CBD8;
  --text-tertiary:   #94A1B5;
  --text-disabled:   #354560;
  --text-inverse:    #081D3F;
  --text-brand:      #5A95FF;
  --text-on-brand:   #FFFFFF;
  --text-success:    #6EE7B7;
  --text-warning:    #FCD34D;
  --text-danger:     #FCA5A5;

  --surface-page:           #04102A;
  --surface-default:        #081D3F;
  --surface-elevated:       #0F2447;
  --surface-sunken:         #04102A;
  --surface-hover:          #0F2447;
  --surface-active:         #1F3056;
  --surface-brand-subtle:   rgba(0, 101, 255, 0.15);
  --surface-success-subtle: rgba(16, 185, 129, 0.15);
  --surface-warning-subtle: rgba(245, 158, 11, 0.15);
  --surface-danger-subtle:  rgba(239, 68, 68, 0.15);

  --border-default:    #1F3056;
  --border-subtle:     #0F2447;
  --border-strong:     #354560;
}

/* === Auto dark mode via OS preference === */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --text-primary:    #F7F9FC;
    --text-secondary:  #C2CBD8;
    --text-tertiary:   #94A1B5;
    --text-disabled:   #354560;
    --text-inverse:    #081D3F;
    --text-brand:      #5A95FF;
    --text-success:    #6EE7B7;
    --text-warning:    #FCD34D;
    --text-danger:     #FCA5A5;
    --surface-page:    #04102A;
    --surface-default: #081D3F;
    --surface-elevated:#0F2447;
    --surface-sunken:  #04102A;
    --surface-hover:   #0F2447;
    --surface-active:  #1F3056;
    --surface-brand-subtle:   rgba(0, 101, 255, 0.15);
    --surface-success-subtle: rgba(16, 185, 129, 0.15);
    --surface-warning-subtle: rgba(245, 158, 11, 0.15);
    --surface-danger-subtle:  rgba(239, 68, 68, 0.15);
    --border-default:  #1F3056;
    --border-subtle:   #0F2447;
    --border-strong:   #354560;
  }
}

/* === Type style shorthands (use as mixins) === */
.type-display          { font-family: var(--font-sans); font-weight: 700; font-size: 56px; line-height: 64px; letter-spacing: -0.054em; }
.type-h1               { font-family: var(--font-sans); font-weight: 700; font-size: 36px; line-height: 44px; letter-spacing: -0.056em; }
.type-h2               { font-family: var(--font-sans); font-weight: 600; font-size: 24px; line-height: 32px; letter-spacing: -0.042em; }
.type-h3               { font-family: var(--font-sans); font-weight: 600; font-size: 18px; line-height: 26px; letter-spacing: -0.028em; }
.type-h4               { font-family: var(--font-sans); font-weight: 600; font-size: 15px; line-height: 22px; }
.type-body-large       { font-family: var(--font-sans); font-weight: 400; font-size: 16px; line-height: 25px; }
.type-body             { font-family: var(--font-sans); font-weight: 400; font-size: 14px; line-height: 21px; }
.type-body-medium      { font-family: var(--font-sans); font-weight: 500; font-size: 14px; line-height: 21px; }
.type-body-semibold    { font-family: var(--font-sans); font-weight: 600; font-size: 14px; line-height: 21px; }
.type-small            { font-family: var(--font-sans); font-weight: 400; font-size: 13px; line-height: 19px; }
.type-small-medium     { font-family: var(--font-sans); font-weight: 500; font-size: 13px; line-height: 19px; }
.type-small-semibold   { font-family: var(--font-sans); font-weight: 600; font-size: 13px; line-height: 19px; }
.type-micro            { font-family: var(--font-sans); font-weight: 500; font-size: 12px; line-height: 18px; }
.type-micro-regular    { font-family: var(--font-sans); font-weight: 400; font-size: 12px; line-height: 18px; }
.type-micro-semibold   { font-family: var(--font-sans); font-weight: 600; font-size: 12px; line-height: 18px; }
.type-tag              { font-family: var(--font-sans); font-weight: 500; font-size: 11px; line-height: 14px; }
.type-eyebrow          { font-family: var(--font-mono); font-weight: 600; font-size: 11px; line-height: 14px; letter-spacing: 0.072em; text-transform: uppercase; }
.type-pill-label       { font-family: var(--font-sans); font-weight: 600; font-size: 10px; line-height: 14px; letter-spacing: 0.1em; text-transform: uppercase; }
.type-code             { font-family: var(--font-mono); font-weight: 400; font-size: 13px; line-height: 19px; }


* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: var(--surface-default);
  -webkit-font-smoothing: antialiased;
  line-height: 1.45;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img, svg { display: block; max-width: 100%; }

/* === Buttons ============================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px;
  font: 600 14px/21px var(--font-sans);
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: all 150ms ease;
  white-space: nowrap;
}
.btn-primary    { background: var(--color-teal-600); color: #fff; }
.btn-primary:hover { background: var(--color-teal-700); }
.btn-primary:active { background: #0a5a55; }
.btn-secondary  { background: var(--surface-default); color: var(--text-primary); border-color: var(--border-default); }
.btn-secondary:hover { background: var(--surface-hover); border-color: var(--border-strong); }
.btn-ghost      { background: transparent; color: var(--text-secondary); }
.btn-ghost:hover { color: var(--text-primary); }
.btn-link       { background: transparent; color: var(--text-brand); padding: 0; border: 0; font-weight: 600; }
.btn-lg         { padding: 13px 22px; font-size: 15px; line-height: 22px; border-radius: var(--radius-lg); }
/* 1.3× scale of .btn-lg for the hero primary action */
.btn-xl         { padding: 17px 30px; font-size: 17px; line-height: 25px; border-radius: var(--radius-lg); font-weight: 600; }
/* Wide-gap variant for hero + footer CTAs: keeps the arrow at a
   deliberate 20px gap from the label so it reads as a forward cue. */
.btn-arrow-wide { gap: 14px; padding-right: 30px; }
.btn-arrow-wide .btn-arrow { font-weight: 500; transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1); }
.btn-arrow-wide:hover .btn-arrow { transform: translateX(2px); }
/* Nav-only dark CTA: text label on a navy surface, no icon, no extra chrome */
.btn-nav-dark   {
  background: var(--color-navy-800); color: #fff;
  padding: 8px 16px; font-size: 14px; line-height: 21px; font-weight: 600;
  border-radius: var(--radius-md);
}
.btn-nav-dark:hover  { background: var(--color-navy-900); }
.btn-nav-dark:active { background: #04102A; }
.btn-on-dark    { background: #fff; color: var(--color-navy-800); }
.btn-on-dark:hover { background: var(--color-neutral-50); }
.btn-ghost-on-dark { background: transparent; color: var(--color-navy-200); border: 1px solid rgba(255,255,255,0.16); }
.btn-ghost-on-dark:hover { color: #fff; border-color: rgba(255,255,255,0.32); }

/* === Pills ================================================ */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px;
  font: 600 11px/14px var(--font-sans);
  letter-spacing: 0.06em; text-transform: uppercase;
  border-radius: var(--radius-full);
}
.pill-brand   { background: var(--surface-brand-subtle); color: var(--color-blue-700); }
.pill-live    { background: var(--surface-success-subtle); color: var(--text-success); }
.pill-warn    { background: var(--surface-warning-subtle); color: var(--text-warning); }
.pill-on-dark { background: rgba(255, 255, 255, 0.08); color: #C2DBFF; border: 1px solid rgba(255, 255, 255, 0.12); }

/* === Layout =============================================== */
.container        { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.container-narrow { max-width: 880px;  margin: 0 auto; padding: 0 32px; }
.container-wide   { max-width: 1320px; margin: 0 auto; padding: 0 32px; }
.section    { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.surface-sunken { background: var(--surface-page); }

/* === Eyebrows & section heads ============================= */
.eyebrow {
  font: 600 11px/14px var(--font-mono);
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--color-teal-600);
  margin-bottom: 16px;
  display: inline-block;
}
.section-head { margin-bottom: 56px; max-width: 100%; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-title {
  font: 700 44px/56px var(--font-sans);
  letter-spacing: -0.018em;
  color: var(--text-primary);
  margin-bottom: 16px;
  max-width: 100%;
  text-transform: capitalize;  /* Title Case every word (acronyms like GDPR stay intact) */
  text-wrap: balance;
}
.section-sub {
  font: 400 17px/26px var(--font-sans);
  color: var(--text-secondary);
  max-width: 100%;
  text-wrap: pretty;
}
.section-head.center .section-sub { margin-left: auto; margin-right: auto; }

/* === Nav ================================================== */
.nav {
  position: absolute; top: 0; left: 0; right: 0; z-index: 50;
  background: transparent;
  border-bottom: 0;
}
.nav-inner {
  height: 64px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.nav-brand { display: flex; align-items: center; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-link {
  position: relative;
  display: inline-flex; align-items: center;
  font: 500 14px/21px var(--font-sans);
  color: var(--text-secondary);
  padding: 4px 0;
  transition: color 160ms var(--ease-out-soft);
}
.nav-link:hover { color: var(--text-primary); }
.nav-link.is-active { color: var(--text-primary); font-weight: 600; }
.nav-cta { display: flex; align-items: center; gap: 16px; }
.nav-signin {
  font: 500 14px/21px var(--font-sans);
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 160ms var(--ease-out-soft);
}
.nav-signin:hover { color: var(--text-primary); }

/* === Hero ================================================= */
.hero {
  padding: 80px 0 96px;
  position: relative;
  overflow: hidden;
}
/* Blue + teal mesh gradient, parked behind an opt-in attribute.
   To re-enable: <section class="hero" data-mesh="on" ...>.
   Two recipes preserved: the original (saturated) and the polish-pass (soft). */
.hero[data-mesh="on"] {
  background:
    /* top-left lavender-blue cloud */
    radial-gradient(60% 60% at 8% -4%,  rgba(0, 101, 255, 0.20),  transparent 60%),
    /* top-right mint/teal cloud */
    radial-gradient(55% 60% at 95% -2%, rgba(94, 234, 212, 0.36), transparent 58%),
    /* depth haze */
    radial-gradient(40% 45% at 30% 25%, rgba(0, 101, 255, 0.08),  transparent 65%),
    /* bottom-right teal vignette */
    radial-gradient(45% 45% at 100% 100%, rgba(20, 184, 166, 0.10), transparent 65%);
}
.hero[data-mesh="soft"] {
  background:
    radial-gradient(58% 56% at 10% -2%,  rgba(0, 101, 255, 0.12),  transparent 60%),
    radial-gradient(54% 58% at 92% -2%,  rgba(94, 234, 212, 0.22), transparent 60%),
    radial-gradient(38% 42% at 32% 26%,  rgba(0, 101, 255, 0.05),  transparent 65%),
    radial-gradient(40% 40% at 100% 100%, rgba(20, 184, 166, 0.06), transparent 70%);
}
.hero-eyebrow {
  display: inline-block;
  margin-top: 50px;
  margin-bottom: 24px;
  font: 600 12px/16px var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-navy-500);
}

.hero-content { max-width: 1080px; margin: 0 auto; text-align: center; }
.hero-title {
  font: 700 68px/76px var(--font-sans);
  letter-spacing: -0.032em;
  color: var(--text-primary);
  margin-bottom: 24px;
  max-width: none;             /* override parent .hero-content's 760px so the H1 can run to 2 lines */
  text-transform: capitalize;  /* Title Case every word */
  text-wrap: balance;
}
.hero-title .accent { color: var(--text-brand); display: block; }
.hero-sub {
  font: 400 19px/29px var(--font-sans);
  color: var(--text-secondary);
  max-width: 100%;
  margin: 0 auto 36px;
  text-wrap: pretty;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; justify-content: center; }
.hero-cta-alt {
  font: 500 14px/21px var(--font-sans);
  color: var(--text-secondary);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--border-default);
  transition: color 160ms var(--ease-out-soft), text-decoration-color 160ms var(--ease-out-soft);
}
.hero-cta-alt:hover { color: var(--text-primary); text-decoration-color: var(--text-primary); }

/* === CLI install button — fixed size, vertical slide-up reveal ===== */
/* Both hero CTAs share one fixed width so they read as a matched pair,
   contents perfectly centered. No width morph — the reveal is a vertical
   slide: label exits up, command rises from below into the same slot. */
.hero-cta .btn-xl,
.hero-cta .hero-install-btn {
  width: 320px;
  box-sizing: border-box;
}
.hero-install-btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 22px;                    /* matches btn-xl vertical padding (border eats 2px) */
  height: 61px;
  background: var(--surface-default);
  border: 2px solid var(--border-default);
  border-radius: var(--radius-lg);
  color: var(--text-primary);
  cursor: pointer;
  overflow: hidden;                      /* clips the off-slot row so only one shows at a time */
  transition: border-color 180ms var(--ease-out-soft),
              background 180ms var(--ease-out-soft),
              box-shadow 220ms var(--ease-out-soft);
}
.hero-install-btn:hover {
  border-color: var(--border-strong);
  background: var(--surface-hover);
  box-shadow: 0 1px 2px rgba(var(--shadow-tint), 0.04), 0 8px 20px -8px rgba(var(--shadow-tint), 0.12);
}
.hero-install-flipper {
  position: absolute;                    /* fills the button reliably (button is position:relative) */
  inset: 0;
}
/* Two rows stacked in the same slot. The label sits at rest (Y 0); the
   command waits one full height below (Y 100%), hidden by the button's
   overflow:hidden. On reveal BOTH translate up by exactly one height —
   the label exits through the top, the command rises into the slot.
   Pure translateY = no distortion, no reflow, GPU-composited. */
.hero-install-face {
  position: absolute;
  inset: 0;
  display: inline-flex; align-items: center; justify-content: center;
  white-space: nowrap;
  will-change: transform;
  transition: transform 480ms cubic-bezier(0.76, 0, 0.24, 1),
              opacity 300ms var(--ease-out-soft);
}
/* FRONT — "Install with AI Agent", centered, visible at rest. */
.hero-install-face-front {
  gap: 10px;
  font: 600 17px/25px var(--font-sans);   /* matches .btn-xl on the primary CTA */
  color: var(--text-primary);
  transform: translateY(0);
}
.hero-install-face-icon { color: var(--text-secondary); flex: 0 0 auto; width: 19px; height: 19px; }
/* BACK — the command, parked one height below the slot. */
.hero-install-face-back {
  gap: 12px;
  font: 500 14px/20px var(--font-mono);
  color: var(--text-primary);
  transform: translateY(100%);
}
/* Revealed: everything rises one height in unison. */
.hero-install-btn.is-revealed .hero-install-face-front { transform: translateY(-100%); }
.hero-install-btn.is-revealed .hero-install-face-back  { transform: translateY(0); }

/* Reduced-motion: instant swap via opacity, no vertical travel. */
@media (prefers-reduced-motion: reduce) {
  .hero-install-face { transition: opacity 160ms ease; transform: none !important; }
  .hero-install-face-back { opacity: 0; }
  .hero-install-btn.is-revealed .hero-install-face-front { opacity: 0; }
  .hero-install-btn.is-revealed .hero-install-face-back  { opacity: 1; }
}
.hero-install-prompt {
  color: var(--text-tertiary);
  font-weight: 500;
}
.hero-install-cmd {
  letter-spacing: -0.005em;
  user-select: all;
}
.hero-install-copy {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px;
  color: var(--text-tertiary);
  border-radius: var(--radius-sm);
  background: var(--color-neutral-100);
  transition: color 160ms var(--ease-out-soft), background 160ms var(--ease-out-soft);
}
.hero-install-btn:hover .hero-install-copy {
  color: var(--text-primary);
  background: var(--color-neutral-200);
}
/* Icon swap: copy ↔ check via classes on the button */
.hero-install-copy .check-icon { display: none; }
.hero-install-btn.is-copied .hero-install-copy .copy-icon { display: none; }
.hero-install-btn.is-copied .hero-install-copy .check-icon { display: block; }
.hero-install-btn.is-copied {
  border-color: var(--color-teal-500);
  background: var(--color-teal-50);
}
.hero-install-btn.is-copied .hero-install-label { color: var(--color-teal-700); }
.hero-install-btn.is-copied .hero-install-copy {
  color: var(--color-teal-700);
  background: var(--color-teal-100);
}
.hero-sub-code {
  font: 500 14px/22px var(--font-mono);
  background: var(--color-neutral-100);
  color: var(--text-primary);
  padding: 1px 6px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

/* === Agent install panel (hero LEFT) ===================== */
.agent-panel {
  background: #fff;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  box-shadow:
    0 1px 2px rgba(8, 29, 63, 0.04),
    0 24px 48px -20px rgba(8, 29, 63, 0.20);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.agent-chrome {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  background: var(--color-neutral-50);
  border-bottom: 1px solid var(--border-subtle);
  font: 500 12px/16px var(--font-mono);
  color: var(--text-tertiary);
}
.agent-chrome-title {
  flex: 1; min-width: 0;
  color: var(--text-secondary);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.agent-chrome-tag {
  font: 600 10px/14px var(--font-mono);
  letter-spacing: 0.08em;
  padding: 3px 8px;
  background: var(--color-blue-50);
  color: var(--color-blue-700);
  border-radius: var(--radius-full);
}
.agent-body {
  padding: 20px 22px 18px;
  display: flex; flex-direction: column;
}
.agent-prompt {
  display: flex; align-items: flex-start; gap: 10px;
  font: 600 15px/22px var(--font-sans);
  color: var(--text-primary);
  margin-bottom: 14px;
}
.agent-prompt::before {
  content: ">";
  color: var(--color-blue-500);
  font: 700 15px/22px var(--font-mono);
  flex: 0 0 auto;
}
.agent-response {
  display: flex; flex-direction: column; gap: 7px;
  padding-left: 14px;
  border-left: 2px solid var(--color-neutral-200);
  margin-left: 2px;
}
.agent-step {
  display: flex; align-items: center; gap: 9px;
  font: 400 13px/19px var(--font-sans);
  color: var(--text-secondary);
}
.agent-step.calling { color: var(--text-tertiary); font-style: italic; }
.agent-step.calling .step-arrow {
  font: 600 13px/19px var(--font-mono);
  color: var(--color-blue-500);
  font-style: normal;
}
.agent-step .step-check {
  color: var(--color-success-600, #16a34a);
  flex: 0 0 auto;
}
.agent-step code {
  font: 500 12px/18px var(--font-mono);
  background: var(--color-neutral-100);
  padding: 1px 6px;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
}
.agent-cta {
  display: flex; align-items: center; gap: 10px;
  margin-top: 16px; padding-top: 14px;
  border-top: 1px dashed var(--border-default);
  font: 500 13px/19px var(--font-sans);
  color: var(--text-tertiary);
}
.agent-cta-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--color-success-500, #22c55e);
  flex: 0 0 auto;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18);
}
.agent-cta strong { color: var(--text-primary); font-weight: 600; }
.agent-cta-link {
  margin-left: auto;
  color: var(--color-teal-700);
  font-weight: 600;
}
.agent-cta-link:hover { color: var(--color-teal-600); }
.hero-meta {
  margin-top: 28px;
  font: 500 12px/18px var(--font-sans);
  color: var(--text-tertiary);
  letter-spacing: 0.01em;
  display: flex; gap: 8px; align-items: center; justify-content: center;
  flex-wrap: wrap;
}
.hero-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--color-neutral-300); }

/* Hero split visual */
.hero-visual {
  margin-top: 72px;
  position: relative;
}
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
  position: relative;
}
.hero-split::after {
  /* center connector — labels the agent → policy handoff */
  content: "→ live in seconds";
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  background: var(--color-navy-800);
  color: #C2DBFF;
  font: 500 11px/14px var(--font-sans);
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow-md);
  z-index: 4;
  white-space: nowrap;
}

/* Faux browser chrome */
.browser {
  background: var(--surface-default);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 440px;
}
.browser-chrome {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  background: var(--color-neutral-50);
  border-bottom: 1px solid var(--border-subtle);
}
.chrome-dots { display: flex; gap: 6px; }
.chrome-dots span {
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--color-neutral-200);
}
.chrome-url {
  flex: 1;
  background: var(--surface-default);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 5px 12px;
  font: 400 12px/18px var(--font-mono);
  color: var(--text-secondary);
  display: flex; align-items: center; gap: 8px;
}
.chrome-url .lock { color: var(--color-success-600); }
.browser-body {
  flex: 1;
  padding: 28px;
  display: flex; flex-direction: column; justify-content: flex-end;
  position: relative;
  background:
    linear-gradient(180deg, var(--surface-default) 0%, var(--surface-default) 60%, var(--color-neutral-50) 100%);
}
.browser-body::before {
  /* faux page content silhouette */
  content: "";
  position: absolute; left: 28px; right: 28px; top: 28px;
  height: 180px;
  background:
    linear-gradient(var(--color-neutral-100) 16px, transparent 0) 0 0/100% 28px,
    linear-gradient(var(--color-neutral-100) 16px, transparent 0) 0 28px/70% 28px,
    linear-gradient(var(--color-neutral-100) 16px, transparent 0) 0 56px/85% 28px;
  background-repeat: no-repeat;
  opacity: 0.7;
}

/* Embedded cookie banner */
.cookie-banner {
  background: var(--surface-default);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  padding: 18px 20px;
  box-shadow: var(--shadow-xl);
  position: relative; z-index: 2;
}
.cookie-banner-title {
  font: 600 14px/21px var(--font-sans);
  color: var(--text-primary);
  margin-bottom: 4px;
}
.cookie-banner-body {
  font: 400 12px/18px var(--font-sans);
  color: var(--text-secondary);
  margin-bottom: 14px;
}
.cookie-banner-actions {
  display: flex; gap: 6px; align-items: center; flex-wrap: wrap;
}
.cookie-banner-actions .btn { padding: 7px 14px; font-size: 13px; line-height: 18px; border-radius: var(--radius-sm); }
/* Banner mockups represent the customer-facing ConsentLayer widget, which
   ships in product-blue (not marketing-teal). Scope the override so the
   marketing page's CTA color stays unaffected. */
.cookie-banner-actions .btn-primary,
.mini-actions .btn-primary {
  background: var(--color-blue-500); border-color: var(--color-blue-500); color: #fff;
}
.cookie-banner-actions .btn-primary:hover,
.mini-actions .btn-primary:hover {
  background: var(--color-blue-600); border-color: var(--color-blue-600);
}

/* Faux terminal */
.terminal {
  background: var(--color-navy-900);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 440px;
  border: 1px solid var(--color-navy-700);
}
.terminal-chrome {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  background: var(--color-navy-800);
  border-bottom: 1px solid var(--color-navy-700);
}
.terminal-chrome .chrome-dots span { background: rgba(255,255,255,0.18); }
.terminal-chrome .title {
  font: 500 11px/14px var(--font-mono);
  color: var(--color-navy-300);
  letter-spacing: 0.04em;
}
.terminal-body {
  padding: 22px 24px;
  font: 400 13px/22px var(--font-mono);
  color: #F7F9FC;
  flex: 1;
  overflow: hidden;
}
.terminal-body .prompt { color: var(--color-blue-300); }
.terminal-body .cmd    { color: #F7F9FC; }
.terminal-body .muted  { color: var(--color-navy-300); }
.terminal-body .ok     { color: var(--color-success-300); }
.terminal-body .json-key   { color: var(--color-blue-300); }
.terminal-body .json-str   { color: var(--color-success-300); }
.terminal-body .json-num   { color: #FCD34D; }
.terminal-body .json-bool  { color: #C2DBFF; }
.terminal-body .json-punct { color: var(--color-navy-300); }
.terminal-body .comment    { color: var(--color-navy-400); font-style: italic; }
.terminal-body pre { font: inherit; white-space: pre; }

/* === Logo bar ============================================= */
.logo-bar-caption {
  text-align: center;
  font: 500 13px/18px var(--font-sans);
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 32px;
}
/* Marquee: continuous left-to-right scroll with edge fade.
   Track holds the items doubled; we translate from 0 to -50% so the
   second half lines up exactly with the first, creating a seamless loop. */
.logo-strip {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 96px,
    #000 calc(100% - 96px),
    transparent 100%
  );
          mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 96px,
    #000 calc(100% - 96px),
    transparent 100%
  );
}
/* Seamless-loop technique: each item carries its own trailing margin, so the
   duplicate Set B begins exactly where Set A's seamless step lands. Using `gap`
   instead leaves an unbalanced trailing edge that snaps ~half-a-gap at loop. */
.logo-strip-track {
  display: flex; align-items: center; flex-wrap: nowrap;
  width: max-content;
  animation: logo-marquee 40s linear infinite;
  /* Promote to a GPU layer so the transform is composited, not painted */
  will-change: transform;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
}
@keyframes logo-marquee {
  from { transform: translate3d(0, 0, 0); }       /* Set A on screen */
  to   { transform: translate3d(-50%, 0, 0); }    /* Set B replaces it, identical → seamless */
}
@media (prefers-reduced-motion: reduce) {
  .logo-strip-track { animation: none; transform: translate3d(-25%, 0, 0); }
}
/* Combined-sheet variant: a single PNG carries all wordmarks at consistent
   optical sizing, so per-logo height tuning is no longer needed. The track
   holds two identical copies side-by-side; the keyframes translate by -50%
   to land Set B exactly where Set A started. */
.logo-strip-sheet {
  height: 32px;
  width: auto;
  flex: 0 0 auto;
  opacity: 0.85;
  display: block;
  margin-right: 80px;
}
.logo-bar-foot {
  margin-top: 24px;
  text-align: center;
  font: 500 12px/18px var(--font-sans);
  color: var(--text-tertiary);
}

/* === Platform bento (7 heterogeneous cards on a 12-col grid) ============== */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.bento-card {
  background: var(--surface-default);
  border: 1px solid transparent;          /* reserves the 1px so layout doesn't shift on hover */
  border-radius: var(--radius-xl);
  padding: 28px;
  position: relative;
  overflow: hidden;
  display: flex; flex-direction: column;
  gap: 12px;                              /* standard rhythm: heading → body → bullets */
  min-height: 320px;
  transition: border-color 220ms var(--ease-out-soft),
              box-shadow 240ms var(--ease-out-soft);
}
.bento-card:hover {
  border-color: var(--border-default);
  box-shadow:
    0 1px 2px rgba(var(--shadow-tint), 0.04),
    0 12px 32px -16px rgba(var(--shadow-tint), 0.10);
}
.bento-card.span-6 { grid-column: span 6; }
.bento-card.span-3 { grid-column: span 3; }

/* Wide card: text on left, visual on right */
.bento-card.span-6 {
  flex-direction: row;
  align-items: stretch;
  gap: 32px;
  padding: 32px;
  min-height: 360px;
}
.bento-card.span-6 .bento-text   { flex: 0 0 38%; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.bento-card.span-6 .bento-visual { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; justify-content: center; margin-top: 0; }

.bento-head {
  display: flex; align-items: center; gap: 10px;
  font: 600 18px/24px var(--font-sans);
  letter-spacing: -0.015em;
  color: var(--text-primary);
}
.bento-head svg { width: 20px; height: 20px; color: var(--color-blue-500); flex: 0 0 auto; }
.bento-copy {
  font: 400 14px/22px var(--font-sans);
  letter-spacing: -0.005em;
  color: var(--text-secondary);
  margin: 0;
  text-wrap: balance;
}
.bento-copy .lead  { color: var(--text-primary); }
.bento-copy .trail { color: var(--text-tertiary); }
.bento-bullets {
  list-style: none; padding: 0;
  margin: auto 0 0;                                /* push the checklist to the bottom of the text column */
  display: flex; flex-direction: column; gap: 8px;
}
.bento-bullets li {
  display: flex; align-items: flex-start; gap: 10px;
  font: 400 13px/19px var(--font-sans);
  color: var(--text-secondary);
}
/* margin-top tunes optical alignment with the cap-height of the first text line */
.bento-bullets li svg { width: 14px; height: 14px; color: var(--color-blue-500); flex: 0 0 auto; margin-top: 3px; }

.bento-visual {
  margin-top: auto;
  pointer-events: none;
  user-select: none;
}

/* --- Per-card visuals ------------------------------------------------- */

/* Policy: JSON viewer */
.bv-json {
  width: 100%; max-width: 420px; margin: 0 auto;
  background: var(--surface-page);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 2px rgba(var(--shadow-tint), 0.04), 0 8px 24px -12px rgba(var(--shadow-tint), 0.10);
  overflow: hidden;
}
.bv-json-head {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 14px;                              /* slimmer topbar */
  background: var(--surface-default);
  border-bottom: 1px solid var(--border-default);
  font: 500 11px/14px var(--font-mono);
  color: var(--text-tertiary);
}
.bv-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.bv-dot-r { background: #FF6166; } .bv-dot-y { background: #FFC130; } .bv-dot-g { background: #2BC450; }
.bv-json-url { margin-left: 8px; }
.bv-json-body {
  margin: 0; padding: 14px 16px;
  font: 400 12px/20px var(--font-mono);
  color: var(--text-secondary);
  white-space: pre;
  background: var(--surface-page);
}
.bv-json-body .k { color: var(--color-teal-700); }
.bv-json-body .s { color: var(--text-primary); }
.bv-json-body .b { color: var(--color-blue-500); }

/* MCP: mini terminal */
.bv-term {
  width: 100%;
  background: var(--color-navy-900);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  font: 400 12px/20px var(--font-mono);
  color: var(--color-navy-200);
  box-shadow: 0 1px 2px rgba(var(--shadow-tint), 0.05);
}
.bv-term-line { color: var(--color-neutral-50); margin-bottom: 2px; }
.bv-term-line .prompt { color: var(--color-teal-500); margin-right: 6px; }
.bv-term-out { color: var(--color-success-300); }
.bv-term-out .muted { color: var(--color-navy-300); }

/* Banner: mini browser */
.bv-browser {
  width: 100%;
  background: var(--surface-page);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(var(--shadow-tint), 0.04);
}
.bv-browser-chrome {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 10px;
  background: var(--surface-default);
  border-bottom: 1px solid var(--border-default);
}
.bv-url {
  margin-left: 8px;
  font: 500 10px/14px var(--font-mono);
  color: var(--text-tertiary);
}
.bv-browser-body { padding: 18px 12px 14px; position: relative; }
.bv-banner {
  background: var(--surface-default);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  box-shadow: 0 1px 2px rgba(var(--shadow-tint), 0.04), 0 6px 16px -8px rgba(var(--shadow-tint), 0.12);
}
.bv-banner-head { font: 600 11px/16px var(--font-sans); color: var(--text-primary); margin-bottom: 8px; }
.bv-banner-actions { display: flex; gap: 4px; }
.bv-btn { font: 600 9px/13px var(--font-sans); padding: 3px 7px; border-radius: var(--radius-sm); border: 1px solid var(--border-default); }
.bv-btn-primary   { background: var(--color-blue-500); color: #fff; border-color: var(--color-blue-500); }
.bv-btn-secondary { background: var(--surface-default); color: var(--text-primary); }
.bv-btn-ghost     { background: transparent; color: var(--text-secondary); border-color: transparent; }
.bv-banner-skeleton { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.bv-banner-skeleton span { height: 6px; background: var(--surface-sunken); border-radius: var(--radius-full); display: block; }
.bv-banner-skeleton span:nth-child(1) { width: 65%; }
.bv-banner-skeleton span:nth-child(2) { width: 45%; }

/* Scanner: tracker rows */
.bv-rows { display: flex; flex-direction: column; gap: 6px; width: 100%; }
.bv-row {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px;
  background: var(--surface-page);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
}
.bv-rid {
  width: 22px; height: 22px; border-radius: var(--radius-sm);
  background: var(--surface-sunken);
  font: 600 10px/22px var(--font-mono);
  color: var(--text-secondary);
  text-align: center;
  flex: 0 0 22px;
}
.bv-row.bv-row-new .bv-rid { background: #D97706; color: #fff; }   /* solid amber + white "?" for strong contrast */
.bv-rname { flex: 1; font: 500 12px/16px var(--font-sans); color: var(--text-primary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bv-rbadge { font: 500 10px/14px var(--font-sans); color: var(--text-tertiary); background: var(--surface-sunken); padding: 2px 6px; border-radius: var(--radius-sm); }
.bv-rbadge.bv-rbadge-new { background: #FEF3C7; color: #92400E; }

/* Ledger: signed entries */
.bv-ledger { display: flex; flex-direction: column; gap: 4px; width: 100%; }
.bv-led {
  display: grid; grid-template-columns: 64px 1fr auto;
  align-items: center;
  padding: 7px 10px;
  background: var(--surface-page);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  font: 500 11px/16px var(--font-mono);
}
.bv-led .time  { color: var(--text-tertiary); }
.bv-led .ev    { color: var(--text-primary); }
.bv-led .sig   {
  display: inline-flex; align-items: center; gap: 4px;
  font: 500 10px/14px var(--font-sans);
  color: var(--color-success-700);
}
.bv-led .sig::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--color-success-500);
}

/* Edge loader: tiny perf bars */
.bv-perf { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.bv-perf-row { display: grid; grid-template-columns: 64px 1fr 56px; align-items: center; gap: 10px; }
.bv-perf-row .lbl  { font: 500 11px/16px var(--font-mono); color: var(--text-secondary); }
.bv-perf-row .bar  { position: relative; height: 8px; background: var(--surface-sunken); border-radius: var(--radius-full); overflow: hidden; }
.bv-perf-row .fill { position: absolute; top: 0; left: 0; height: 100%; border-radius: inherit; background: var(--color-teal-500); }
.bv-perf-row .fill.warn { background: var(--color-warning-500); }
.bv-perf-row .fill.slow { background: var(--color-neutral-300); }
.bv-perf-row .t    { font: 500 11px/16px var(--font-mono); color: var(--text-tertiary); text-align: right; }
.bv-perf-row .t.good { color: var(--color-teal-700); }

/* Regions: stacked pills */
.bv-regions { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.bv-region {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  background: var(--surface-page);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
}
.bv-region .flag {
  width: 24px; height: 16px; border-radius: 2px;
  flex: 0 0 24px;
  background: var(--surface-sunken);
  border: 1px solid var(--border-default);
  position: relative;
  overflow: hidden;
}
.bv-region .flag.eu { background: linear-gradient(180deg, #003399 0 50%, #FFCC00 50% 100%); border-color: transparent; }
.bv-region .flag.us { background: linear-gradient(180deg, #B22234 0 33%, #FFFFFF 33% 66%, #3C3B6E 66% 100%); border-color: transparent; }
.bv-region .flag.br { background: #009C3B; border-color: transparent; }
.bv-region .flag.br::before { content: ""; position: absolute; inset: 4px 4px; background: #FFDF00; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.bv-region .name { flex: 1; font: 500 13px/19px var(--font-sans); color: var(--text-primary); }
.bv-region .name .law { color: var(--text-tertiary); font-weight: 400; margin-left: 6px; }
.bv-region .status {
  font: 500 10px/14px var(--font-sans);
  color: #065F46;
  background: #D1FAE5;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

/* Bento CTA row at bottom of section */
.bento-foot { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 40px; flex-wrap: wrap; }
.bento-foot .btn { width: 200px; justify-content: center; }   /* equal-width, centred CTAs */
.bento-link {
  display: inline-flex; align-items: center; gap: 6px;
  font: 600 13px/19px var(--font-sans);
  color: var(--color-teal-700);
  text-decoration: none;
  transition: gap 180ms var(--ease-out-soft), color 180ms var(--ease-out-soft);
}
.bento-link:hover { gap: 10px; color: var(--color-teal-600); }
.bento-link:focus-visible { outline: 2px solid var(--color-teal-600); outline-offset: 4px; }

/* Responsive: tablet collapses wide card to full-width row */
@media (max-width: 1180px) {
  .bento-card.span-6 { grid-column: span 12; flex-direction: column; }
  .bento-card.span-6 .bento-text   { flex: 1 1 auto; max-width: none; }
  .bento-card.span-3 { grid-column: span 6; }
}
@media (max-width: 720px) {
  .bento { gap: 12px; }
  .bento-card.span-3, .bento-card.span-6 { grid-column: span 12; }
  .bento-card { padding: 24px; min-height: 280px; }
}

/* === Motion bento (In Motion section) =====================
   Full-bleed atmospheric backdrop + curvy white pill nav + white content card.
   Wraps the existing .tabs / .tab-btn / .tab-panel system so the JS toggle
   keeps working — only the visual chrome is replaced. */
.motion-bento {
  position: relative;
  padding: 96px 0 120px;
  overflow: hidden;
  isolation: isolate;
  background: var(--color-navy-700);     /* base — video plays at 50% over this */
}
.motion-bento-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 60%;
  z-index: -2;
  transform: scale(1.02);
  pointer-events: none;
  opacity: 0.3;                          /* blends with the navy base for a calmer field */
}
/* No wash — video plays at full intensity. Section-head text uses light
   tones so it reads cleanly on the dark video instead. */
.motion-bento-tint {
  position: absolute; inset: 0;
  background: transparent;
  z-index: -1;
}
.motion-bento .container { position: relative; }

/* Section head: light text on the dark video */
.motion-bento .section-head .eyebrow      { color: var(--color-teal-300); }
.motion-bento .section-head .section-title{
  color: #fff;
  font-size: clamp(28px, 5.5vw, 44px);
  line-height: 1.12;
}
.motion-bento .section-head .section-sub  {
  color: rgba(232, 245, 245, 0.78);
  font-size: clamp(15px, 1.6vw, 18px);
}

/* Tabs container loses all its chrome — the pill IS the chrome now */
.motion-bento .tabs {
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Pill nav: rounded-full white pill floating on the sky */
.motion-bento .tabs-nav {
  display: inline-flex;
  grid-template-columns: none;
  width: auto;
  background: #fff;
  border-bottom: 0;
  padding: 6px;
  border-radius: var(--radius-full);
  gap: 4px;
  box-shadow:
    0 1px 2px rgba(15, 36, 71, 0.06),
    0 10px 28px -8px rgba(15, 36, 71, 0.18);
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}
.motion-bento .tabs-nav::-webkit-scrollbar { display: none; }

/* Each tab is a pill segment; active pill is teal-tinted */
.motion-bento .tab-btn {
  border: 0 !important;
  background: transparent !important;
  color: var(--text-secondary);
  padding: 11px 22px;
  font: 500 16px/24px var(--font-sans);
  border-radius: var(--radius-full);
  white-space: nowrap;
  flex: 0 0 auto;
  transition: background 200ms var(--ease-out-soft), color 200ms var(--ease-out-soft);
}
.motion-bento .tab-btn:hover  { color: var(--text-primary); }
.motion-bento .tab-btn[aria-selected="true"] {
  background: var(--color-navy-800) !important;
  color: #fff;
  font-weight: 600;
}
.motion-bento .tab-btn[aria-selected="true"]::after { display: none; }
/* Hide the leading mono number in the pill design — labels alone read cleaner */
.motion-bento .tab-btn .tab-num { display: none; }
/* The inner span carries its own font rule that overrides .tab-btn; force it
   here so the pill labels actually grow when we resize .tab-btn. */
.motion-bento .tab-btn .tab-label { font: 500 16px/24px var(--font-sans); letter-spacing: -0.01em; }
.motion-bento .tab-btn[aria-selected="true"] .tab-label { font-weight: 600; color: #fff; }

/* Content stage: white rounded card, lifted above the sky.
   Stacking-grid technique: ALL panels render in the same grid cell, so the
   card always sizes to the TALLEST panel's natural height. Switching tabs
   only toggles visibility — no content reflow, no height jump. */
.motion-bento .tab-panels {
  margin-top: 32px;
  width: 100%;
  background: #fff;
  border-radius: var(--radius-2xl);
  box-shadow:
    0 1px 2px rgba(15, 36, 71, 0.06),
    0 24px 60px -20px rgba(15, 36, 71, 0.22);
  overflow: hidden;
  display: grid;                         /* one cell shared by every panel */
  grid-template-rows: minmax(480px, auto); /* gives panels a concrete height so visuals stretch */
}
.motion-bento .tab-panel {
  display: grid !important;              /* override base .tab-panel { display: none } */
  grid-column: 1; grid-row: 1;           /* stack every panel in the same cell */
  padding: 16px 16px 16px 40px;
  gap: 56px;
  grid-template-columns: 1fr 2fr;
  grid-template-rows: 1fr;               /* row fills the panel height so visuals can stretch */
  align-items: stretch;
  min-height: 480px;
  visibility: hidden;
  pointer-events: none;
}
.motion-bento .tab-panel[aria-selected="true"] {
  visibility: visible;
  pointer-events: auto;
  grid-template-columns: 1fr 2fr;        /* re-assert against base .tab-panel[aria-selected="true"] which sets 1.05fr 1fr */
}
/* Copy column: centred content within the full-height column. */
.motion-bento .tab-panel > .tab-panel-copy {
  display: flex; flex-direction: column; justify-content: center;
  min-height: 0;
}
/* Visual column (every tab uses a bare wrapper div, not always .tab-panel-visual)
   — make the wrapper a flex column and force the inner graphic to fill the
   full row height regardless of its own intrinsic layout. */
.motion-bento .tab-panel > *:not(.tab-panel-copy) {
  display: flex; flex-direction: column;
  min-height: 0;
}
.motion-bento .tab-panel > *:not(.tab-panel-copy) > * {
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;                          /* explicit fill in case the graphic ignores flex grow */
  box-sizing: border-box;
}
/* For graphics whose frame is the visible container (dark bg, border, etc.) —
   make them flex-column AND force full height so the frame reaches the panel edges. */
.motion-bento .tab-panel .terminal,
.motion-bento .tab-panel .code-block,
.motion-bento .tab-panel .mock,
.motion-bento .tab-panel .log-card,
.motion-bento .tab-panel .agent-split,
.motion-bento .tab-panel .audit-list,
.motion-bento .tab-panel .scanner-inbox {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  min-height: 0 !important;
  box-sizing: border-box !important;
}
.motion-bento .tab-panel .terminal > .terminal-body,
.motion-bento .tab-panel .code-block > pre,
.motion-bento .tab-panel .mock > *:not(.mock-head):last-child,
.motion-bento .tab-panel .log-card > *:last-child {
  flex: 1 1 auto;
  min-height: 0;
}

/* Responsive */
@media (max-width: 960px) {
  .motion-bento { padding: 72px 0 88px; }
  .motion-bento .tab-panel[aria-selected="true"] {
    grid-template-columns: 1fr;
    padding: 28px;
    gap: 24px;
  }
  .motion-bento .tabs-nav { max-width: calc(100vw - 32px); }
  .motion-bento .tab-btn { padding: 9px 14px; font-size: 13px; }
}
@media (max-width: 480px) {
  .motion-bento .section-head .section-title {
    font: 700 32px/40px var(--font-sans);
    letter-spacing: -0.02em;
  }
  .motion-bento .section-head .section-sub { font-size: 15px; line-height: 22px; }
  .motion-bento .tabs { align-items: stretch; }
  .motion-bento .tab-panel[aria-selected="true"] { padding: 22px; }
}

/* === Feature tabs (legacy / generic) ===================== */
.tabs {
  border: 1px solid var(--border-default);
  border-radius: var(--radius-2xl);
  background: var(--surface-default);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.tabs-nav {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--color-neutral-50);
  border-bottom: 1px solid var(--border-subtle);
}
.tab-btn {
  background: transparent;
  border: 0;
  padding: 18px 20px;
  text-align: left;
  display: flex; align-items: flex-start; gap: 12px;
  border-right: 1px solid var(--border-subtle);
  position: relative;
  transition: background 120ms ease;
}
.tab-btn:last-child { border-right: 0; }
.tab-btn:hover { background: var(--surface-hover); }
.tab-btn[aria-selected="true"] { background: var(--surface-default); }
.tab-btn[aria-selected="true"]::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: var(--color-blue-500);
}
.tab-num {
  font: 600 11px/14px var(--font-mono);
  color: var(--text-tertiary);
  padding-top: 2px;
}
.tab-btn[aria-selected="true"] .tab-num { color: var(--text-brand); }
.tab-label-wrap { display: flex; flex-direction: column; gap: 2px; }
.tab-label {
  font: 600 14px/21px var(--font-sans);
  color: var(--text-primary);
  letter-spacing: -0.012em;
}
.tab-sub {
  font: 400 12px/18px var(--font-sans);
  color: var(--text-tertiary);
}
.tab-panels { position: relative; }
.tab-panel { display: none; padding: 36px; }
.tab-panel[aria-selected="true"] { display: grid; grid-template-columns: 1.05fr 1fr; gap: 36px; align-items: center; }
.tab-panel-copy h3 {
  font: 600 24px/34px var(--font-sans);
  letter-spacing: -0.016em;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.tab-panel-copy p {
  font: 400 15px/24px var(--font-sans);
  color: var(--text-secondary);
  margin-bottom: 10px;
}
.tab-panel-copy ul {
  margin-top: 18px;
  list-style: none;
  display: flex; flex-direction: column; gap: 10px;
}
.tab-panel-copy ul li {
  display: flex; align-items: flex-start; gap: 10px;
  font: 500 14px/21px var(--font-sans);
  color: var(--text-secondary);
}
.tab-panel-copy ul li svg { flex-shrink: 0; color: var(--color-success-500); margin-top: 2px; }

/* Tab mockups */
.mock {
  background: var(--surface-default);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.mock-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px;
  background: var(--color-neutral-50);
  border-bottom: 1px solid var(--border-subtle);
  font: 500 12px/18px var(--font-mono);
  color: var(--text-tertiary);
}
.mock-head .badge {
  font: 600 10px/14px var(--font-sans);
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-success);
  background: var(--surface-success-subtle);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

/* Snippet mock */
.snippet {
  background: var(--color-navy-900);
  color: #F7F9FC;
  padding: 22px 24px;
  font: 400 13px/22px var(--font-mono);
}
.snippet .tag    { color: #C2DBFF; }
.snippet .attr   { color: var(--color-success-300); }
.snippet .str    { color: #FCD34D; }
.snippet .comment{ color: var(--color-navy-400); font-style: italic; }
.snippet-tabs {
  display: flex; gap: 4px;
  padding: 10px 14px 0;
  background: var(--color-navy-900);
}
.snippet-tab {
  font: 500 11px/14px var(--font-mono);
  color: var(--color-navy-300);
  padding: 6px 12px;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
}
.snippet-tab.active {
  color: #F7F9FC;
  background: var(--color-navy-800);
  border-color: var(--color-navy-700);
  border-bottom-color: var(--color-navy-800);
}

/* Scanner queue mock */
.scan-row {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 14px; align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-subtle);
}
.scan-row:last-child { border-bottom: 0; }
.scan-row .ico {
  width: 32px; height: 32px;
  background: var(--surface-sunken);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font: 700 11px/14px var(--font-mono);
  color: var(--text-secondary);
}
.scan-row .name {
  font: 600 13px/19px var(--font-sans);
  color: var(--text-primary);
}
.scan-row .meta {
  font: 400 12px/18px var(--font-mono);
  color: var(--text-tertiary);
}
.scan-row .actions { display: flex; gap: 4px; }
.scan-row .actions .btn { padding: 5px 10px; font-size: 12px; border-radius: var(--radius-sm); }

/* Agents fetch mock */
.well-known {
  background: var(--surface-default);
  padding: 18px 22px;
  display: grid; gap: 14px;
}
.kv-line {
  display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: center;
  font: 500 12px/18px var(--font-mono);
}
.kv-line .k { color: var(--text-tertiary); }
.kv-line .v { color: var(--text-primary); }

/* Audit log mock */
.log-row {
  display: grid; grid-template-columns: 28px 1fr auto; gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border-subtle);
  align-items: center;
}
.log-row:last-child { border-bottom: 0; }
.log-row .avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--color-navy-800); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font: 600 11px/14px var(--font-sans);
}
.log-row .who { font: 500 13px/19px var(--font-sans); color: var(--text-primary); }
.log-row .what { font: 400 12px/18px var(--font-sans); color: var(--text-secondary); }
.log-row .ts { font: 500 12px/18px var(--font-mono); color: var(--text-tertiary); }
.log-row .sig {
  display: inline-flex; align-items: center; gap: 4px;
  font: 500 11px/14px var(--font-mono); color: var(--text-success);
}

/* === Zigzag =============================================== */
.zigzag {
  display: flex; flex-direction: column; gap: 96px;
}
.zigzag-row {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}
.zigzag-row.right { grid-template-columns: 1.1fr 1fr; }
.zigzag-row.right .zigzag-copy { order: 2; }
.zigzag-row.right .zigzag-visual { order: 1; }
/* Uniform 500px tile for every graphic. Only the PRIMARY card fills the tile —
   the absolutely-positioned ts-tooltip is excluded (stretching it broke b4). */
.zigzag-visual {
  height: 500px;
  border-radius: var(--radius-xl);
  display: flex;
  align-items: stretch;
}
.zigzag-visual > .code-block,
.zigzag-visual > .mock,
.zigzag-visual > .log-card,
.zigzag-visual > .cwv-waterfall {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
/* Code editor: dark surface fills the tile; code stacks from the top like a real
   editor (flex keeps white-space:pre formatting intact). */
.zigzag-visual > .code-block > pre { flex: 1 1 auto; margin: 0; }
/* Agent split keeps its 2-column grid — just fill the tile and stretch both panes. */
.zigzag-visual > .agent-split { width: 100%; height: 100%; align-items: stretch; }
/* Row mocks: header pinned to top, the rows group fills + centres in the rest. */
.zigzag-visual > .mock > .mock-rows,
.zigzag-visual > .log-card > .log-rows {
  flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center;
}
/* Waterfall has no header bar — centre the whole graphic vertically. */
.zigzag-visual > .cwv-waterfall { justify-content: center; }
@media (max-width: 768px) {
  .zigzag-visual { height: 420px; }
}
.zigzag-copy .num {
  font: 600 11px/14px var(--font-mono);
  color: var(--color-teal-600);
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
/* Inline link CTA at the bottom of each zigzag benefit's primary group */
.zigzag-cta {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 20px;
  font: 600 14px/21px var(--font-sans);
  color: var(--color-teal-600);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  transition: gap 120ms ease, color 120ms ease, text-decoration-thickness 120ms ease;
}
.zigzag-cta:hover { gap: 10px; color: var(--color-teal-700); text-decoration-thickness: 2px; }
.zigzag-cta svg { width: 16px; height: 16px; }

/* Hairline separator: splits each zigzag-copy into Group 1 (eyebrow → title →
   description → CTA) and Group 2 (quote-card) with a noticeable break. */
.zigzag-sep {
  border: 0;
  border-top: 1px solid var(--border-default);
  margin: 40px 0;
  width: 100%;
}

/* Quotes hidden until we have real testimonials to put here. Markup left
   intact so we can re-enable by removing this block. */
.zigzag-copy .quote-card,
.zigzag-copy .zigzag-sep { display: none; }
.zigzag-copy h3 {
  font: 700 32px/42px var(--font-sans);
  letter-spacing: -0.014em;
  color: var(--text-primary);
  margin-bottom: 16px;
  text-wrap: balance;
}
.zigzag-copy p {
  font: 400 16px/25px var(--font-sans);
  color: var(--text-secondary);
  margin-bottom: 24px;
  text-wrap: pretty;
}
.quote-card {
  position: relative;
  border: 1px solid var(--border-default);
  background: var(--surface-page);
  padding: 20px 22px 16px;
  border-radius: var(--radius-lg);
  display: flex; flex-direction: column; gap: 10px;
}
.quote-card::before {
  content: "\201C"; /* curly opening quote */
  position: absolute; top: 4px; left: 14px;
  font: 700 36px/1 var(--font-sans);
  color: var(--color-teal-500);
  opacity: 0.55;
  pointer-events: none;
}
.quote-card .q {
  font: 500 14px/22px var(--font-sans);
  color: var(--text-primary);
  font-style: italic;
  padding-top: 14px;
  text-wrap: pretty;
}
.quote-card .attr {
  font: 500 12px/18px var(--font-sans);
  color: var(--text-secondary);
  border-top: 1px solid var(--border-subtle);
  padding-top: 10px;
}
.quote-card .ph-tag {
  display: inline-flex; align-items: center; gap: 4px;
  margin-left: 8px;
  font: 600 10px/14px var(--font-sans);
  letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--surface-warning-subtle);
  color: var(--text-warning);
  padding: 2px 7px;
  border-radius: var(--radius-full);
}

/* Visual mocks for zigzag */
.code-block {
  background: var(--color-navy-900);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-navy-700);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.code-block .head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 16px;
  background: var(--color-navy-800);
  border-bottom: 1px solid var(--color-navy-700);
}
.code-block .file {
  font: 500 11px/14px var(--font-mono);
  color: var(--color-navy-300);
}
.code-block .copy-btn {
  font: 500 11px/14px var(--font-sans);
  color: var(--color-navy-300);
  background: transparent;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  padding: 4px 10px;
  display: inline-flex; align-items: center; gap: 4px;
}
.code-block pre {
  padding: 20px 22px;
  font: 400 13px/22px var(--font-mono);
  color: #F7F9FC;
  white-space: pre;
  overflow: auto;
}
.code-block .kw   { color: #C2DBFF; }
.code-block .str  { color: var(--color-success-300); }
.code-block .num  { color: #FCD34D; }
.code-block .com  { color: var(--color-navy-400); font-style: italic; }
.code-block .fn   { color: var(--color-blue-300); }

/* TS autocomplete tooltip mock */
.ts-tooltip {
  position: absolute;
  background: var(--surface-default);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 12px 14px;
  font: 400 12px/18px var(--font-mono);
  color: var(--text-primary);
  min-width: 280px;
  z-index: 3;
}
.ts-tooltip .ts-kw { color: var(--color-blue-700); }
.ts-tooltip .ts-type { color: var(--color-success-700); }
.ts-tooltip .ts-prop { color: var(--text-primary); font-weight: 600; }
.ts-tooltip .ts-comment { color: var(--text-tertiary); font-style: italic; font-family: var(--font-sans); font-size: 12px; }

/* Stats bar */
.cwv-waterfall {
  background: var(--surface-default);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  padding: 24px;
  display: flex; flex-direction: column; gap: 10px;
}
.cwv-row {
  display: grid; grid-template-columns: 130px 1fr 64px;
  gap: 12px; align-items: center;
}
.cwv-row .label {
  font: 500 12px/18px var(--font-mono);
  color: var(--text-secondary);
  white-space: nowrap;
  text-overflow: ellipsis; overflow: hidden;
}
.cwv-row .bar {
  background: var(--surface-sunken);
  border-radius: var(--radius-sm);
  height: 12px;
  position: relative;
}
.cwv-row .bar-fill {
  position: absolute; top: 0; bottom: 0;
  background: var(--color-blue-500);
  border-radius: var(--radius-sm);
}
.cwv-row .bar-fill.cl { background: var(--color-success-500); }
.cwv-row .bar-fill.tracker { background: var(--color-neutral-300); }
.cwv-row .time {
  font: 500 12px/18px var(--font-mono);
  color: var(--text-tertiary);
  text-align: right;
}
.cwv-marker {
  margin-top: 8px; padding-top: 12px;
  border-top: 1px dashed var(--border-default);
  display: flex; justify-content: space-between;
  font: 500 11px/14px var(--font-mono);
  color: var(--text-tertiary);
}

/* Audit log card variant */
.log-card {
  background: var(--surface-default);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.log-card .log-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--color-neutral-50);
}
.log-card .log-head .title {
  font: 600 13px/19px var(--font-sans);
  color: var(--text-primary);
}
.log-card .log-head .btn { padding: 6px 12px; font-size: 12px; border-radius: var(--radius-sm); }

/* Split agent panel */
.agent-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  background: var(--surface-default);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  padding: 16px;
}
.agent-pane {
  background: var(--color-neutral-50);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: flex; flex-direction: column;
  min-height: 280px;
}
.agent-pane .pane-eyebrow {
  font: 600 10px/14px var(--font-mono);
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 12px;
  white-space: nowrap;
}
.agent-pane .mini-banner {
  background: var(--surface-default);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 12px;
  box-shadow: var(--shadow-xs);
}
.agent-pane .mini-banner-title {
  font: 600 12px/18px var(--font-sans);
  color: var(--text-primary);
  margin-bottom: 4px;
}
.agent-pane .mini-banner-body {
  font: 400 11px/16px var(--font-sans);
  color: var(--text-secondary);
  margin-bottom: 10px;
}
.agent-pane .mini-actions { display: flex; gap: 4px; }
.agent-pane .mini-actions .btn { padding: 4px 8px; font-size: 11px; border-radius: var(--radius-sm); }
.agent-pane .mini-prefs { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.agent-pane .mini-pref {
  display: flex; align-items: center; justify-content: space-between;
  padding: 7px 10px;
  background: var(--surface-default);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font: 500 11px/16px var(--font-sans);
  color: var(--text-secondary);
}
.agent-pane .mini-pref .toggle {
  width: 24px; height: 14px; border-radius: var(--radius-full);
  background: var(--color-neutral-300);
  position: relative; flex: 0 0 auto;
}
.agent-pane .mini-pref .toggle::after {
  content: ""; position: absolute; top: 2px; left: 2px;
  width: 10px; height: 10px; border-radius: 50%; background: #fff;
}
.agent-pane .mini-pref .toggle.on { background: var(--color-blue-500); }
.agent-pane .mini-pref .toggle.on::after { left: 12px; }
.agent-pane pre {
  font: 400 11px/18px var(--font-mono);
  color: var(--text-primary);
  white-space: pre;
  overflow: hidden;
}
.agent-pane pre .k { color: var(--color-blue-700); }
.agent-pane pre .s { color: var(--color-success-700); }
.agent-pane pre .n { color: var(--color-warning-700); }
.agent-pane pre .p { color: var(--text-tertiary); }

/* === Testimonials ========================================= */
.testimonials {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.testimonial {
  padding: 28px;
  background: var(--surface-default);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  display: flex; flex-direction: column;
  transition: all 200ms ease;
}
.testimonial:hover { box-shadow: var(--shadow-sm); border-color: var(--border-strong); }
.testimonial .quote-mark {
  color: var(--color-blue-500);
  margin-bottom: 14px;
}
.testimonial .q {
  font: 500 16px/24px var(--font-sans);
  letter-spacing: -0.012em;
  color: var(--text-primary);
  margin-bottom: 24px;
  flex: 1;
  text-wrap: pretty;
}
.testimonial .attr {
  display: flex; align-items: center; gap: 12px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
}
.testimonial .avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--color-navy-800);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font: 600 12px/16px var(--font-sans);
}
.testimonial .who {
  font: 600 13px/19px var(--font-sans);
  color: var(--text-primary);
}
.testimonial .role {
  font: 400 12px/18px var(--font-sans);
  color: var(--text-tertiary);
}
.placeholder-notice {
  text-align: center;
  margin-top: 32px;
  font: 500 12px/18px var(--font-sans);
  color: var(--text-warning);
  background: var(--surface-warning-subtle);
  border: 1px solid var(--color-warning-300);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  display: inline-flex; align-items: center; gap: 8px;
}

/* === FAQ ================================================== */
.faq {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--border-default);
}
.faq details {
  border-bottom: 1px solid var(--border-default);
  padding: 20px 0;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  font: 600 17px/26px var(--font-sans);
  letter-spacing: -0.024em;
  color: var(--text-primary);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: var(--radius-full);
  background: var(--surface-sunken);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary);
  transition: all 200ms ease;
}
.faq details[open] summary .chev {
  transform: rotate(45deg);
  background: var(--color-teal-50);
  color: var(--color-teal-700);
}
.faq details[open] summary { color: var(--text-primary); }
.faq .answer {
  margin-top: 12px;
  font: 400 15px/24px var(--font-sans);
  color: var(--text-secondary);
  max-width: 760px;
  text-wrap: pretty;
}
.faq .answer code {
  font: 500 13px/19px var(--font-mono);
  background: var(--surface-sunken);
  padding: 1px 6px;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
}

/* === Dark CTA ============================================= */
.cta-dark {
  background: var(--color-navy-900);
  color: #F7F9FC;
  border-radius: var(--radius-2xl);
  padding: 80px 64px;
  overflow: hidden; position: relative;
  text-align: center;
}
.cta-dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 50% 60% at 50% 0%, rgba(0,101,255,0.22), transparent 60%),
    radial-gradient(ellipse 40% 50% at 100% 100%, rgba(86,103,255,0.18), transparent 70%);
}
.cta-dark::after {
  /* subtle dotted grid texture */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse 70% 80% at center, black 30%, transparent 80%);
  opacity: 0.7;
}
.cta-dark > * { position: relative; z-index: 1; }
.cta-title {
  font: 700 56px/68px var(--font-sans);
  letter-spacing: -0.022em;
  color: #F7F9FC;
  margin: 16px auto 16px;
  max-width: 760px;
  text-wrap: balance;
}
.cta-sub {
  font: 400 18px/27px var(--font-sans);
  color: var(--color-navy-200);
  max-width: 560px; margin: 0 auto 32px;
  text-wrap: pretty;
}
.cta-actions {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 32px;
}
.trust-row {
  display: flex; gap: 20px; flex-wrap: wrap;
  justify-content: center;
  font: 500 13px/19px var(--font-sans);
  color: var(--color-navy-200);
}
.trust-row span {
  display: inline-flex; align-items: center; gap: 6px;
}
.trust-row svg { color: var(--color-success-300); }
/* Light-surface variant for hero (same treatment, adjusted for white bg) */
.trust-row-light            { color: var(--text-secondary); }
.trust-row-light svg        { color: var(--color-success-600); }
.hero-meta.trust-row-light  { margin-top: 28px; }

/* === Footer — light four-column =========================== */
.footer {
  background: var(--color-neutral-50);
  color: var(--text-secondary);
  padding: 96px 0 40px;
  border-top: 1px solid var(--border-subtle);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 88px;
  margin-bottom: 64px;
}
.footer-col-title {
  font: 600 16px/22px var(--font-sans);
  color: var(--text-primary);
  letter-spacing: -0.005em;
  margin-bottom: 24px;
}
.footer-link {
  display: block;
  font: 400 14px/28px var(--font-sans);
  color: var(--text-secondary);
  transition: color 120ms var(--ease-out-soft, ease);
}
.footer-link:hover { color: var(--text-primary); }
.footer-socials {
  display: flex; gap: 14px;
  margin-top: 14px;
}
.footer-socials a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
  color: var(--text-tertiary);
  transition: color 120ms var(--ease-out-soft, ease);
}
.footer-socials a:hover { color: var(--text-primary); }
.footer-socials svg { width: 18px; height: 18px; }
.footer-lang {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 16px;
  padding: 9px 14px;
  background: #fff;
  color: var(--text-primary);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  font: 500 13px/18px var(--font-sans);
  cursor: pointer;
}
.footer-lang svg { width: 16px; height: 16px; }
.footer-bottom {
  margin-top: 0;
  padding-top: 32px;
  border-top: 1px solid var(--border-default);
  display: flex; flex-direction: column; gap: 14px;
  font: 400 13px/20px var(--font-sans);
  color: var(--text-tertiary);
}
.footer-bottom-row {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
}
.footer-legal-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal-links a {
  color: var(--text-secondary);
  transition: color 120ms var(--ease-out-soft, ease);
}
.footer-legal-links a:hover { color: var(--text-primary); }
@media (max-width: 920px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom-row { flex-direction: column; align-items: flex-start; }
}

/* === Icon helper ========================================== */
.icon {
  stroke: currentColor; fill: none;
  stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}

/* === Tweaks panel ========================================= */
.tweaks-panel {
  position: fixed; right: 24px; bottom: 24px; z-index: 100;
  width: 280px;
  background: var(--surface-default);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 16px;
  display: none;
}
.tweaks-panel.active { display: block; }
.tweaks-panel h4 {
  font: 600 13px/19px var(--font-sans);
  color: var(--text-primary);
  margin-bottom: 12px;
}
.tweak-row { display: flex; align-items: center; justify-content: space-between; padding: 6px 0; }
.tweak-row label { font: 500 12px/18px var(--font-sans); color: var(--text-secondary); }

/* =================================================================
   POLISH PASS — design-taste-frontend (MOTION 6 / DENSITY 4 / VARIANCE 8)
   Globally adds premium easing, tints shadows to brand hue, constrains
   body type to 65ch, softens the hero mesh, and stagger-fades the hero
   block on load. CSS-only · GPU-safe · no JS dependencies.
================================================================= */

/* --- 1. Global motion: replace lazy `ease` with premium spring curve --- */
:root {
  --ease-out-soft: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-snap: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-tint:   8, 29, 63;   /* navy-800 RGB for tinted shadows */
}
.btn               { transition: background 180ms var(--ease-out-soft), color 180ms var(--ease-out-soft), transform 180ms var(--ease-out-soft), box-shadow 200ms var(--ease-out-soft); }
.btn-primary       { box-shadow: 0 1px 1px rgba(var(--shadow-tint), 0.04), 0 6px 16px -6px rgba(13, 148, 136, 0.32); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 1px 1px rgba(var(--shadow-tint), 0.06), 0 10px 24px -8px rgba(13, 148, 136, 0.42); }
.btn-primary:active{ transform: translateY(0); }
.btn-secondary     { box-shadow: 0 1px 1px rgba(var(--shadow-tint), 0.03); }
.btn-secondary:hover { transform: translateY(-1px); box-shadow: 0 1px 1px rgba(var(--shadow-tint), 0.05), 0 8px 20px -8px rgba(var(--shadow-tint), 0.10); }

.nav-link          { transition: color 160ms var(--ease-out-soft); }

/* --- 2. Body type: section titles + descriptions fill container; cap measure only for in-flow body copy --- */
.faq .answer,
.tab-panel-copy p,
.zigzag-copy p { max-width: 65ch; }
.section-sub,
.section-head.center .section-sub,
.hero-sub { max-width: 100%; }
.faq .answer   { line-height: 1.65; }

/* --- 3. Card materiality: tint shadow + smooth border-color hover --- */
.testimonial,
.faq details,
.quote-card {
  transition: border-color 220ms var(--ease-out-soft),
              box-shadow 240ms var(--ease-out-soft),
              transform 220ms var(--ease-out-soft);
}
.testimonial {
  box-shadow: 0 1px 2px rgba(var(--shadow-tint), 0.03);
}
.testimonial:hover {
  box-shadow:
    0 1px 2px rgba(var(--shadow-tint), 0.05),
    0 16px 32px -16px rgba(var(--shadow-tint), 0.10);
}

/* --- 4. Hero mesh: parked behind data-mesh attr (kept here for reference) --- */
/* Definition now lives in the .hero[data-mesh="soft"] selector above. */

/* --- 5. Hero stagger fade-in (MOTION 6: animation-delay cascade) --- */
@keyframes riseIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-content > * {
  opacity: 0;
  animation: riseIn 700ms var(--ease-out-soft) forwards;
}
.hero-content > .hero-eyebrow { animation-delay:  40ms; }
.hero-content > .hero-title   { animation-delay: 110ms; }
.hero-content > .hero-sub     { animation-delay: 180ms; }
.hero-content > .hero-cta     { animation-delay: 250ms; }
.hero-content > .hero-meta    { animation-delay: 320ms; }
.hero-visual {
  opacity: 0;
  animation: riseIn 900ms var(--ease-out-soft) 420ms forwards;
}
@media (prefers-reduced-motion: reduce) {
  .hero-content > *, .hero-visual { animation: none; opacity: 1; }
}

/* --- 5b. "In motion" section: drifting cloud mesh background ---------
   Two independent radial-gradient cloud layers (blue + teal) drift
   slowly across the section on alternate cycles. 50s / 60s loops are
   below the perceptual threshold for "movement" — readers register
   atmosphere, not motion. GPU-cheap (transform only). */
#how-it-works { position: relative; overflow: hidden; isolation: isolate; }
#how-it-works::before,
#how-it-works::after {
  content: "";
  position: absolute;
  inset: -12%;
  z-index: -1;
  pointer-events: none;
  will-change: transform;
}
#how-it-works::before {
  background: radial-gradient(46% 50% at 22% 28%, rgba(0, 101, 255, 0.06), transparent 65%);
  animation: cloudDriftA 56s var(--ease-out-soft, ease-in-out) infinite alternate;
}
#how-it-works::after {
  background: radial-gradient(50% 54% at 78% 72%, rgba(94, 234, 212, 0.07), transparent 65%);
  animation: cloudDriftB 64s var(--ease-out-soft, ease-in-out) infinite alternate;
}
@keyframes cloudDriftA {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(3%, -1.5%, 0); }
}
@keyframes cloudDriftB {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-3%, 1.5%, 0); }
}
@media (prefers-reduced-motion: reduce) {
  #how-it-works::before, #how-it-works::after { animation: none; }
}

/* --- 6. Type micro-rhythm: tighter mono leading + crisper code text --- */
code, pre, .terminal-body, .step-body, .json-key, .json-str { font-feature-settings: "ss01", "cv11"; }
.hero-title { text-rendering: optimizeLegibility; }
.section-title, .hero-title, .cta-title, .zigzag-copy h3 {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --- 7. Section rhythm: pull logo bar tighter to the hero --- */
.section-sm:has(.logo-strip) { padding-top: 0; padding-bottom: 72px; }

/* --- 8. FAQ chevron: gentle rotate on open --- */
.faq details .chev svg { transition: transform 240ms var(--ease-out-soft); }
.faq details[open] .chev svg { transform: rotate(45deg); }

/* --- 9. Focus rings: brand-tinted, WCAG 1.4.11 compliant (3:1 vs page) --- */
:focus-visible {
  outline: 2px solid var(--color-teal-600);
  outline-offset: 3px;
}
.btn:focus-visible {
  outline-color: var(--color-teal-600);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.18);
}
/* Anchor links inside dark surfaces (final-CTA, terminal labels) need a lighter ring */
.cta-dark :focus-visible,
.terminal :focus-visible { outline-color: var(--color-teal-300); }

/* ===== Hanging-nav (concave-corner tab) section ===== */
.hangnav-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 0 0 96px;
  background: var(--color-navy-700);     /* navy base — same as the old tab section */
}
/* same motion video, same 0.3 opacity as the old tab section */
.hangnav-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 60%;
  z-index: 0;
  transform: scale(1.02);
  pointer-events: none;
  opacity: 0.3;
}
/* keep strip, bar, and panel above the video */
.hangnav-strip,
.hangnav-bar,
.hangnav-section > .container { position: relative; z-index: 1; }
/* full-width white block across the top — now holds the section title */
.hangnav-strip {
  background: #fff;
  padding: 64px 24px 36px;
}
/* the bar that hangs down from the strip, centered */
.hangnav-bar {
  position: relative;
  width: max-content;
  margin: 0 auto;
  display: flex;
  gap: 2px;
  padding: 6px;
  background: #fff;
  border-radius: 0 0 22px 22px;       /* convex rounded bottom; top is square (joins strip) */
}
/* ---- the signature concave (inny) corners ---- */
/* Each fillet is a 22px white square sitting just outside a top corner of the
   bar. A radial-gradient mask carves a quarter-circle bite from its OUTER-BOTTOM
   corner, revealing the purple behind — so the white strip and the bar read as
   one sheet bulging downward. */
.hangnav-fillet {
  position: absolute;
  top: 0;
  width: 22px; height: 22px;
  background: #fff;
}
.hangnav-fillet-left {
  left: -22px;
  -webkit-mask: radial-gradient(circle 22px at 0 100%, transparent 21.5px, #000 22px);
          mask: radial-gradient(circle 22px at 0 100%, transparent 21.5px, #000 22px);
}
.hangnav-fillet-right {
  right: -22px;
  -webkit-mask: radial-gradient(circle 22px at 100% 100%, transparent 21.5px, #000 22px);
          mask: radial-gradient(circle 22px at 100% 100%, transparent 21.5px, #000 22px);
}
/* ---- tabs + sliding active pill ---- */
.hangnav-indicator {
  position: absolute;
  z-index: 0;
  top: 6px; left: 0;
  height: calc(100% - 12px);
  background: var(--color-navy-800);
  border-radius: 999px;
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
              width 220ms cubic-bezier(0.22, 1, 0.36, 1);
}
.hangtab {
  position: relative;
  z-index: 1;
  border: 0;
  background: none;
  cursor: pointer;
  font: 500 15px/1 var(--font-sans);
  color: #8b8b96;
  padding: 11px 18px;
  border-radius: 999px;
  white-space: nowrap;
  transition: color 180ms ease, background 180ms ease;
}
.hangtab:hover { color: #555560; background: rgba(0,0,0,0.035); }
.hangtab.is-active { color: #fff; font-weight: 600; }
.hangtab.is-active:hover { background: none; }
/* ---- floating content panel below ---- */
.hangnav-panel {
  max-width: 1180px;
  margin: 64px auto 0;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 30px 60px -24px rgba(20, 20, 50, 0.45);
  padding: 0;                            /* columns own their insets */
  overflow: hidden;
}
/* --- Fixed-height content area: identical for every tab --- */
.hangnav-panel .tab-panels {
  display: grid;
  grid-template-rows: 510px;             /* hard height — never changes with content */
}
.hangnav-panel .tab-panel {
  display: grid !important;              /* override base .tab-panel { display:none } */
  grid-column: 1; grid-row: 1;           /* every panel stacks in the same cell */
  grid-template-columns: 1fr 2fr;        /* 1/3 text · 2/3 graphic */
  grid-template-rows: 1fr;
  gap: 0;
  padding: 0;
  align-items: stretch;
  visibility: hidden;
  pointer-events: none;
}
.hangnav-panel .tab-panel[aria-selected="true"] {
  visibility: visible;
  pointer-events: auto;
  grid-template-columns: 1fr 2fr;        /* re-assert over base 1.05fr 1fr */
}
/* Text column (1/3): heading + paragraph pinned to TOP, checklist to BOTTOM. */
.hangnav-panel .tab-panel > .tab-panel-copy {
  display: flex; flex-direction: column; justify-content: flex-start;
  padding: 40px;
  min-height: 0;
}
.hangnav-panel .tab-panel-copy ul { margin-top: auto; }   /* push checklist to the bottom */
.hangnav-panel .tab-panel-copy ul li svg {                /* all checkmarks blue */
  color: var(--color-blue-500);
}
/* Section head now sits in the white top block — dark text. */
.hangnav-head {
  margin: 0 auto;
  max-width: 720px;
}
.hangnav-head .eyebrow { color: var(--color-teal-600); }
.hangnav-head .section-title { color: var(--text-primary); }
.hangnav-head .section-sub { color: var(--text-secondary); }
.hangnav-panel { margin-top: 56px; }     /* gap between hanging nav and panel */
/* Graphic column (2/3): consistent 20px gap on ALL sides; graphic fills the rest. */
.hangnav-panel .tab-panel > *:not(.tab-panel-copy) {
  display: flex; flex-direction: column;
  padding: 20px;
  min-height: 0;
}
.hangnav-panel .tab-panel > *:not(.tab-panel-copy) > * {
  flex: 1 1 auto; min-height: 0; height: 100%; box-sizing: border-box;
}
/* Make framed graphics fill the column height; overflow scrolls if a tab
   has more content than the fixed height allows. */
.hangnav-panel .tab-panel .terminal,
.hangnav-panel .tab-panel .code-block,
.hangnav-panel .tab-panel .mock,
.hangnav-panel .tab-panel .log-card {
  display: flex !important; flex-direction: column !important;
  height: 100% !important; min-height: 0 !important; box-sizing: border-box !important;
}
.hangnav-panel .tab-panel .terminal > .terminal-body,
.hangnav-panel .tab-panel .code-block > pre,
.hangnav-panel .tab-panel .mock,
.hangnav-panel .tab-panel .log-card {
  overflow: auto;
}
@media (max-width: 960px) {
  .hangnav-panel .tab-panels { grid-template-rows: auto; }
  .hangnav-panel .tab-panel[aria-selected="true"] { grid-template-columns: 1fr; }
  .hangnav-panel .tab-panel > .tab-panel-copy { padding: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .hangnav-indicator { transition: none; }
}


/* ===== features page styles ===== */
.feat-categories {
  display: flex; flex-wrap: wrap; gap: 8px;
  justify-content: center;
  max-width: 720px; margin: 36px auto 0;
}
.feat-chip {
  font: 500 13px/19px var(--font-mono);
  letter-spacing: 0.02em;
  padding: 8px 14px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-full);
  background: var(--surface-default);
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 160ms var(--ease-out-soft, ease),
              border-color 160ms var(--ease-out-soft, ease),
              transform 160ms var(--ease-out-soft, ease);
}
.feat-chip:hover {
  color: var(--text-primary);
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

/* Feature spotlight rows */
.spot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 880px) { .spot { grid-template-columns: 1fr; gap: 32px; } }
/* Robust flip: explicit order on BOTH children so the swap works regardless
   of which child appears first in markup. */
.spot--reverse .spot-copy   { order: 1; }
.spot--reverse .spot-visual { order: 2; }
.spot-copy .num {
  display: inline-block;
  font: 500 12px/14px var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: lowercase;
  color: var(--text-tertiary);
  margin-bottom: 12px;
}
.spot-copy h3 {
  font: 700 32px/40px var(--font-sans);
  letter-spacing: -0.024em;
  color: var(--text-primary);
  margin: 0 0 14px;
}
.spot-copy > p {
  font: 400 16px/26px var(--font-sans);
  color: var(--text-secondary);
  margin: 0 0 18px;
  max-width: 56ch;
}
.spot-bullets {
  list-style: none; padding: 0; margin: 0 0 4px;
  display: flex; flex-direction: column; gap: 8px;
}
.spot-bullets li {
  position: relative;
  padding-left: 22px;
  font: 500 14px/22px var(--font-sans);
  color: var(--text-primary);
}
.spot-bullets li::before {
  content: "";
  position: absolute; left: 0; top: 8px;
  width: 14px; height: 7px;
  border-left: 1.5px solid var(--color-teal-600);
  border-bottom: 1.5px solid var(--color-teal-600);
  transform: rotate(-45deg) translateY(-2px);
}
.spot-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 20px;
  font: 600 14px/20px var(--font-sans);
  color: var(--color-teal-700, var(--color-teal-600));
  text-decoration: none;
  transition: gap 160ms var(--ease-out-soft, ease);
}
.spot-link:hover { gap: 10px; }

.spot-visual {
  background: var(--surface-default);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: 0 1px 2px rgba(var(--shadow-tint, 8, 29, 63), 0.04);
}

/* Stat row inside spot visuals */
.spot-stats {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 4px;
  margin-top: 12px;
  padding: 16px 0 0;
  border-top: 1px solid var(--border-subtle);
}
.spot-stat .v {
  display: block;
  font: 700 22px/28px var(--font-sans);
  letter-spacing: -0.018em;
  color: var(--text-primary);
}
.spot-stat .v small { font-weight: 500; font-size: 14px; color: var(--text-secondary); letter-spacing: 0; }
.spot-stat .l {
  display: block;
  font: 500 11px/14px var(--font-mono);
  letter-spacing: 0.06em;
  color: var(--text-tertiary);
  text-transform: lowercase;
  margin-top: 2px;
}

/* Mock scanner / audit / agent panels (lightweight, all CSS) */
.spot-list { display: flex; flex-direction: column; }
.spot-list-row {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.spot-list-row:last-child { border-bottom: none; }
.spot-list-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--color-teal-600); }
.spot-list-dot.warn { background: #f59e0b; }
.spot-list-dot.neu  { background: var(--border-default); }
.spot-list-name { font: 500 13px/19px var(--font-sans); color: var(--text-primary); }
.spot-list-name code { font: 500 12px/16px var(--font-mono); color: var(--text-secondary); }
.spot-list-meta { font: 500 12px/16px var(--font-mono); color: var(--text-tertiary); }

/* Dev experience grid (replaces testimonials) */
.devex-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
@media (max-width: 768px) { .devex-grid { grid-template-columns: 1fr; } }
.devex {
  background: var(--surface-default);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  padding: 28px;
  transition: border-color 220ms var(--ease-out-soft, ease),
              box-shadow 240ms var(--ease-out-soft, ease),
              transform 220ms var(--ease-out-soft, ease);
}
.devex:hover {
  transform: translateY(-2px);
  box-shadow: 0 1px 2px rgba(var(--shadow-tint, 8, 29, 63), 0.04),
              0 12px 28px -16px rgba(var(--shadow-tint, 8, 29, 63), 0.10);
}
.devex .num {
  font: 500 11px/14px var(--font-mono);
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 10px;
}
.devex h3 {
  font: 600 18px/24px var(--font-sans);
  letter-spacing: -0.018em;
  color: var(--text-primary);
  margin: 0 0 8px;
}
.devex p {
  font: 400 14px/22px var(--font-sans);
  color: var(--text-secondary);
  margin: 0 0 12px;
  max-width: 65ch;
}
.devex-tags {
  display: flex; flex-wrap: wrap; gap: 6px;
  list-style: none; padding: 0; margin: 0;
}
.devex-tags li {
  font: 500 11px/14px var(--font-mono);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  background: var(--surface-sunken);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}

/* ===== pricing page styles ===== */
/* Hero with billing toggle */
.pricing-hero { padding: 96px 0 56px; position: relative; background: transparent; }
.pricing-hero > .container { position: relative; z-index: 1; }
.pricing-hero .hero-eyebrow { justify-content: center; }
.pricing-hero h1 {
  font: 700 56px/64px var(--font-sans);
  letter-spacing: -0.032em;
  text-align: center;
  color: var(--text-primary);
  max-width: 18ch; margin: 16px auto 18px;
}
@media (max-width: 720px) { .pricing-hero h1 { font-size: 40px; line-height: 48px; } }
.pricing-hero p.lead {
  text-align: center;
  font: 400 18px/28px var(--font-sans);
  color: var(--text-secondary);
  max-width: 56ch; margin: 0 auto 32px;
}

/* Billing toggle */
.billing-toggle {
  display: inline-flex; gap: 4px;
  padding: 4px;
  background: var(--surface-default);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-full);
  margin: 0 auto 8px;
  box-shadow: 0 1px 2px rgba(var(--shadow-tint, 8, 29, 63), 0.04);
}
.billing-toggle button {
  font: 600 13px/19px var(--font-sans);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 160ms var(--ease-out-soft, ease);
  display: inline-flex; align-items: center; gap: 8px;
}
.billing-toggle button.active {
  background: var(--color-navy-900);
  color: var(--text-on-brand, #fff);
}
.billing-toggle .save {
  font: 600 10px/14px var(--font-mono);
  letter-spacing: 0.08em;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  background: var(--color-blue-50);
  color: var(--color-blue-700);
}
.billing-toggle button.active .save {
  background: var(--color-blue-100);
  color: var(--color-navy-900);
}
.billing-wrap { text-align: center; margin-bottom: 56px; }

/* Tier cards */
.pricing-section { padding: 0 0 88px; }
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}
@media (max-width: 960px) { .pricing-grid { grid-template-columns: 1fr; } }

.tier {
  position: relative;
  background: var(--surface-default);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  display: flex; flex-direction: column;
  transition: border-color 220ms var(--ease-out-soft, ease),
              box-shadow 240ms var(--ease-out-soft, ease),
              transform 220ms var(--ease-out-soft, ease);
}
.tier:hover {
  border-color: var(--border-default);
  box-shadow: 0 1px 2px rgba(var(--shadow-tint, 8, 29, 63), 0.04),
              0 12px 28px -16px rgba(var(--shadow-tint, 8, 29, 63), 0.10);
}
.tier.popular {
  border: 1.5px solid var(--color-teal-600);
  box-shadow: 0 1px 2px rgba(var(--shadow-tint, 8, 29, 63), 0.04),
              0 16px 36px -16px rgba(13, 148, 136, 0.24);
  transform: translateY(-4px);
}
.tier.popular:hover { transform: translateY(-6px); }
.tier .badge {
  position: absolute;
  top: -10px; left: 50%; transform: translateX(-50%);
  font: 700 10px/14px var(--font-mono);
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 4px 10px;
  background: var(--color-teal-600);
  color: var(--text-on-brand, #fff);
  border-radius: var(--radius-full);
}
.tier h3 {
  font: 600 16px/22px var(--font-sans);
  letter-spacing: -0.014em;
  color: var(--text-primary);
  margin: 0 0 6px;
}
.tier .tier-sub {
  font: 400 13px/19px var(--font-sans);
  color: var(--text-tertiary);
  margin: 0 0 22px;
  min-height: 38px;
}
.tier .price {
  display: flex; align-items: baseline; gap: 6px;
  margin: 0 0 4px;
}
.tier .price .amount {
  font: 700 44px/48px var(--font-sans);
  letter-spacing: -0.024em;
  color: var(--text-primary);
}
.tier .price .unit {
  font: 500 14px/20px var(--font-sans);
  color: var(--text-secondary);
}
.tier .price-note {
  font: 500 12px/18px var(--font-mono);
  color: var(--text-tertiary);
  margin: 0 0 22px;
  min-height: 18px;
}
.tier .cta-row { margin-bottom: 22px; }
.tier .cta-row .btn { width: 100%; justify-content: center; }
.tier .tier-list {
  list-style: none; padding: 22px 0 0; margin: 0;
  border-top: 1px solid var(--border-subtle);
  display: flex; flex-direction: column; gap: 10px;
}
.tier .tier-list li {
  position: relative;
  padding-left: 24px;
  font: 500 14px/22px var(--font-sans);
  color: var(--text-primary);
}
.tier .tier-list li::before {
  content: "";
  position: absolute; left: 0; top: 8px;
  width: 14px; height: 7px;
  border-left: 1.5px solid var(--color-teal-600);
  border-bottom: 1.5px solid var(--color-teal-600);
  transform: rotate(-45deg) translateY(-2px);
}
.tier .tier-list li.muted { color: var(--text-tertiary); }
.tier .tier-list li.muted::before {
  border-color: var(--border-default);
}
.tier .tier-group-label {
  font: 500 11px/14px var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin: 18px 0 4px;
}

/* Enterprise band */
.enterprise-band {
  background: var(--color-navy-900);
  color: var(--text-on-brand, #fff);
  border-radius: var(--radius-xl);
  padding: 40px 40px 36px;
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: center;
}
@media (max-width: 880px) { .enterprise-band { grid-template-columns: 1fr; } }
.enterprise-band h3 {
  font: 700 28px/36px var(--font-sans);
  letter-spacing: -0.024em;
  margin: 0 0 12px;
}
.enterprise-band p {
  font: 400 16px/26px var(--font-sans);
  color: var(--color-navy-200, rgba(255,255,255,0.72));
  margin: 0 0 18px;
  max-width: 58ch;
}
.enterprise-band .tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  list-style: none; padding: 0; margin: 0;
}
.enterprise-band .tags li {
  font: 500 12px/16px var(--font-mono);
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.08);
  color: var(--color-navy-100, rgba(255,255,255,0.88));
  border: 1px solid rgba(255,255,255,0.10);
}
.enterprise-band .cta-col { display: flex; flex-direction: column; gap: 12px; }
.enterprise-band .cta-col .btn-primary {
  background: var(--color-teal-300);
  color: var(--color-navy-900);
  font-weight: 700;
}
.enterprise-band .cta-col .btn-primary:hover {
  background: var(--color-teal-50);
}
.enterprise-band .cta-col .btn-secondary {
  background: transparent;
  color: var(--text-on-brand, #fff);
  border-color: rgba(255,255,255,0.20);
}
.enterprise-band .cta-col .btn-secondary:hover {
  background: rgba(255,255,255,0.06);
}

/* Trust bar */
.trust-bar {
  margin: 56px auto 0;
  padding: 24px 28px;
  background: var(--surface-default);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: center;
}
@media (max-width: 720px) { .trust-bar { grid-template-columns: 1fr 1fr; } }
.trust-item {
  display: flex; align-items: center; gap: 10px;
  font: 500 13px/19px var(--font-sans);
  color: var(--text-primary);
}
.trust-item svg { color: var(--color-teal-600); }
.trust-item .lab { font: 500 11px/14px var(--font-mono); color: var(--text-tertiary); display: block; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 2px; }

/* Comparison table */
.compare-section { padding: 88px 0; background: var(--surface-sunken); }
.compare-wrap {
  background: var(--surface-default);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  padding: 8px 8px 28px;
  overflow-x: auto;
  box-shadow: 0 1px 2px rgba(var(--shadow-tint, 8, 29, 63), 0.04);
  margin-top: 32px;
}
.compare {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font: 500 14px/22px var(--font-sans);
  color: var(--text-primary);
  min-width: 720px;
}
.compare thead th {
  text-align: left;
  font: 600 13px/19px var(--font-sans);
  color: var(--text-primary);
  padding: 18px 16px 14px;
  border-bottom: 1px solid var(--border-default);
  vertical-align: bottom;
}
.compare thead th .price-cell {
  font: 700 18px/24px var(--font-sans);
  display: block;
  letter-spacing: -0.014em;
  margin-top: 4px;
}
.compare thead th .price-cell small { font: 500 12px/16px var(--font-sans); color: var(--text-secondary); }
.compare thead th.us { background: linear-gradient(180deg, rgba(94, 234, 212, 0.10), transparent); }
.compare tbody th {
  text-align: left;
  font: 500 13px/19px var(--font-sans);
  color: var(--text-secondary);
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-subtle);
  white-space: nowrap;
}
.compare tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-primary);
  vertical-align: middle;
  font: 500 13px/19px var(--font-sans);
}
.compare tbody td.us {
  background: linear-gradient(180deg, rgba(94, 234, 212, 0.06), rgba(94, 234, 212, 0.02));
}
.compare tbody tr.group-row th {
  font: 600 11px/14px var(--font-mono);
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  padding-top: 24px;
  padding-bottom: 8px;
  background: transparent;
  border-bottom-color: transparent;
}
.compare tbody tr.group-row td { background: transparent; border-bottom-color: transparent; padding-top: 24px; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: none; }
.compare .check {
  display: inline-block; width: 14px; height: 14px;
  border-radius: 50%;
  position: relative;
}
.compare .check.yes { background: var(--color-teal-50); border: 1px solid var(--color-teal-300); }
.compare .check.yes::after {
  content: ""; position: absolute; left: 3px; top: 6px;
  width: 7px; height: 3px;
  border-left: 1.5px solid var(--color-teal-600);
  border-bottom: 1.5px solid var(--color-teal-600);
  transform: rotate(-45deg);
}
.compare .check.no { background: var(--surface-sunken); border: 1px solid var(--border-default); }
.compare .check.no::after {
  content: "—"; position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -54%);
  font: 600 11px/11px var(--font-sans); color: var(--text-tertiary);
}


/* ===== features: rules missing from base (merged) ===== */
* ConsentLayer · Marketing Landing Page
 * Strictly bound to design-system tokens & components.
 * ================================================================= */
/* ConsentLayer Design Tokens
 * Generated from the Figma source of truth.
 *
 * BRAND FONTS (self-hosted, OFL):
 *   Inter variable — primary type for everything.
 *   JetBrains Mono — code blocks only (loaded via Google Fonts).
 */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/aa5367b4-2ef4-42a9-9cfd-7a83c9379bea.ttf") format('truetype-variations');
}
.btn-xl         { padding: 17px 30px; font-size: 17px; line-height: 25px; border-radius: var(--radius-lg); font-weight: 600; }
.btn-arrow-wide { gap: 14px; padding-right: 30px; }
/* === Hero ================================================= */
/* Mesh gradient retained but disabled — re-enable by deleting the override below. */
.hero {
  padding: 80px 0 96px;
  position: relative;
  overflow: hidden;
  background: transparent;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta svg { color: var(--color-teal-600); flex: 0 0 auto; }
/* === Logo bar (marquee, mirrors index-v2-geist) =========== */
.logo-bar-caption {
  text-align: center;
  font: 500 11px/14px var(--font-sans);
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 32px;
}
.logo-strip {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 96px, #000 calc(100% - 96px), transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 96px, #000 calc(100% - 96px), transparent 100%);
}
.logo-strip-track {
  display: flex; align-items: center; flex-wrap: nowrap;
  width: max-content;
  animation: logo-marquee 40s linear infinite;
  will-change: transform;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
}
/* Combined-sheet PNG — same asset homepage uses; trailing margin matches the
   inter-logo gap inside the sheet so the loop seam reads cleanly. */
.logo-strip-sheet {
  height: 32px;
  width: auto;
  flex: 0 0 auto;
  opacity: 0.85;
  display: block;
  margin-right: 80px;
}
/* === Feature grid (3x3) =================================== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature {
  padding: 28px;
  background: var(--surface-default);
  border: 1px solid transparent;        /* reserves the 1px so layout doesn't shift on hover */
  border-radius: var(--radius-xl);
  transition: all 200ms ease;
  display: flex; flex-direction: column;
}
.feature:hover { box-shadow: var(--shadow-sm); border-color: var(--border-default); }
/* Platform feature icons: no background, 2x size, multicolor via .c-* modifier.
   Display block + align-self flex-start keeps every icon at the left edge of
   its card, identically across all 9 cells for visual consistency. */
.feature-icon {
  display: block;
  width: 40px; height: 40px;
  align-self: flex-start;
  margin-bottom: 22px;
  background: transparent;
  color: var(--text-brand);
}
.feature-icon svg {
  display: block;
  width: 100%; height: 100%;
}
.feature-icon.c-teal    { color: var(--color-teal-600); }
.feature-icon.c-blue    { color: var(--color-blue-500); }
.feature-icon.c-navy    { color: var(--color-navy-700); }
.feature-icon.c-success { color: var(--color-success-500); }
.feature-icon.c-warning { color: #D97706; }
/* Platform section bottom CTAs */
.platform-ctas {
  display: flex; gap: 12px; flex-wrap: wrap; justify-content: center;
  margin-top: 48px;
}
.feature-title {
  font: 600 17px/24px var(--font-sans);
  letter-spacing: -0.024em;
  color: var(--text-primary);
  margin-bottom: 14px;                  /* breathing room between title and body */
}
.feature-body {
  font: 400 14px/21px var(--font-sans);
  color: var(--text-secondary);
}
.feature-body code {
  font: 500 12px/18px var(--font-mono);
  color: var(--text-primary);
  background: var(--surface-sunken);
  padding: 1px 6px;
  border-radius: var(--radius-sm);
}
/* === Feature tabs ========================================= */
.tabs {
  border: 1px solid var(--border-default);
  border-radius: var(--radius-2xl);
  background: var(--surface-default);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
/* Inline link CTA at the bottom of each zigzag benefit */
.zigzag-cta {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 20px;
  font: 600 14px/21px var(--font-sans);
  color: var(--color-teal-600);
  transition: gap 120ms ease, color 120ms ease;
}
/* === Footer — light four-column (mirrors index-v2-geist) === */
.footer {
  background: var(--color-neutral-50);
  color: var(--text-secondary);
  padding: 96px 0 40px;
  border-top: 1px solid var(--border-subtle);
}
.logo-strip-item   { transition: opacity 200ms var(--ease-out-soft), transform 200ms var(--ease-out-soft); }
.logo-strip-item:hover { transform: translateY(-1px); }
/* --- 2. Body type: cap measure at 65ch where appropriate --- */
.section-sub,
.hero-sub,
.cta-sub,
.faq .answer,
.tab-panel-copy p,
.zigzag-copy p { max-width: 65ch; }
/* --- 3. Card materiality: tint shadow + smooth border-color hover --- */
.feature,
.testimonial,
.faq details,
.quote-card {
  transition: border-color 220ms var(--ease-out-soft),
              box-shadow 240ms var(--ease-out-soft),
              transform 220ms var(--ease-out-soft);
}
/* --- 4. Hero mesh: disabled (kept commented for easy restore) ---
.hero {
  background:
    radial-gradient(58% 56% at 10% -2%,  rgba(0, 101, 255, 0.12),  transparent 60%),
    radial-gradient(54% 58% at 92% -2%,  rgba(94, 234, 212, 0.22), transparent 60%),
    radial-gradient(38% 42% at 32% 26%,  rgba(0, 101, 255, 0.05),  transparent 65%),
    radial-gradient(40% 40% at 100% 100%, rgba(20, 184, 166, 0.06), transparent 70%);
}
--- */

/* --- 5. Hero stagger fade-in (MOTION 6: animation-delay cascade) --- */
@keyframes riseIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
/* --- 9. Anchor focus rings: brand-tinted, soft glow (a11y polish) --- */
:focus-visible {
  outline: 2px solid var(--color-teal-300);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}
/* Final-CTA overlapping logo orb — the orb's own circular edge IS the
   boundary line. Top half on the page background, bottom half on the
   dark band. No white halo (that broke the half/half illusion by
   extending the orb's silhouette into the dark area). */
.cta-logo-orb {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -50%);
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: var(--surface-default);
  display: flex;
  align-items: center;
  justify-content: center;
  /* Soft dark shadow projected DOWN into the dark band only */
  box-shadow:
    0 1px 1px rgba(8, 29, 63, 0.04),
    0 18px 36px -14px rgba(8, 29, 63, 0.45);
  z-index: 2;
}
.cta-logo-orb img,
.cta-logo-orb svg {
  display: block;
  width: 48px;
  height: 48px;
}

/* ===== pricing: rules missing from base (merged) ===== */
.btn-nav-dark {
  background: var(--color-navy-800); color: #fff;
  padding: 8px 16px; font-size: 14px; line-height: 21px; font-weight: 600;
  border-radius: var(--radius-md);
}
.hero-eyebrow-pill {
  font: 600 10px/14px var(--font-mono);
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 3px 10px;
  background: var(--color-teal-50); color: var(--color-teal-700);
  border-radius: var(--radius-full);
}
.hero-eyebrow-text { font: 500 12px/18px var(--font-mono); color: var(--text-secondary); }
/* Monochrome logo wall: every logo rendered in single dark tone via
   filter — works regardless of source colors in the SVG. */
.logo-strip-item {
  height: 28px;
  width: auto;
  opacity: 0.55;
  filter: brightness(0) saturate(0); /* pure black, no color */
  transition: opacity 150ms ease;
}
/* "v0" text mark — no SVG exists publicly, so we render as styled text */
.logo-strip-text {
  display: inline-flex; align-items: center;
  font: 800 26px/28px var(--font-sans);
  color: var(--text-primary);
  letter-spacing: -0.04em;
  /* match the monochrome filter look (already dark via color, just dim) */
  filter: none;
}
/* --- 4. Hero mesh: softer · more atmospheric · less candy --- */
.hero {
  background:
    radial-gradient(58% 56% at 10% -2%,  rgba(0, 101, 255, 0.12),  transparent 60%),
    radial-gradient(54% 58% at 92% -2%,  rgba(94, 234, 212, 0.22), transparent 60%),
    radial-gradient(38% 42% at 32% 26%,  rgba(0, 101, 255, 0.05),  transparent 65%),
    radial-gradient(40% 40% at 100% 100%, rgba(20, 184, 166, 0.06), transparent 70%);
}
/* --- 5. Hero stagger fade-in (MOTION 6: animation-delay cascade) --- */
@keyframes riseIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===== blog: rules missing from base (merged) ===== */
/* === Design tokens (light theme, mirrors index-v2-geist) === */
:root {
  --font-sans: "Geist", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Geist Mono", "JetBrains Mono", "SFMono-Regular", Menlo, monospace;

  --color-teal-50:  #ECFDF5;
  --color-teal-100: #D1FAE5;
  --color-teal-300: #6EE7B7;
  --color-teal-500: #14B8A6;
  --color-teal-600: #0D9488;
  --color-teal-700: #0F766E;

  --color-blue-50:  #E6F0FF;
  --color-blue-100: #C2DBFF;
  --color-blue-300: #5A95FF;
  --color-blue-500: #0065FF;
  --color-blue-600: #0052CC;
  --color-blue-700: #003E99;

  --color-navy-50:  #F2F4F7;
  --color-navy-100: #E1E5EB;
  --color-navy-200: #C2CBD8;
  --color-navy-300: #94A1B5;
  --color-navy-500: #354560;
  --color-navy-700: #0F2447;
  --color-navy-800: #081D3F;
  --color-navy-900: #04102A;

  --color-neutral-0:  #FFFFFF;
  --color-neutral-50: #F7F9FC;
  --color-neutral-100: #EEF1F6;
  --color-neutral-200: #DDE3EC;
  --color-neutral-300: #B8C2D1;
  --color-neutral-400: #8995AB;

  --surface-default:  #FFFFFF;
  --surface-page:     #FAFBFC;
  --surface-sunken:   #EEF1F6;
  --surface-hover:    #F7F9FC;

  --text-primary:   #081D3F;
  --text-secondary: #354560;
  --text-tertiary:  #5C6A82;
  --text-brand:     #0D9488;

  --border-subtle:  #EEF1F6;
  --border-default: #DDE3EC;
  --border-strong:  #B8C2D1;

  --radius-sm:   6px;
  --radius-md:   8px;
  --radius-lg:  12px;
  --radius-xl:  16px;
  --radius-2xl: 20px;
  --radius-full: 9999px;

  --shadow-tint: 15, 36, 71;
  --ease-out-soft: cubic-bezier(0.16, 1, 0.3, 1);
}
/* === Reset === */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font: 400 16px/24px var(--font-sans);
  color: var(--text-primary);
  background: var(--surface-default);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* === Layout === */
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px;
  font: 600 14px/21px var(--font-sans);
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: all 150ms ease;
  white-space: nowrap;
  cursor: pointer;
}
/* === Nav (mirrors v2 homepage) === */
.nav {
  position: absolute; top: 0; left: 0; right: 0; z-index: 50;
  background: transparent;
}
/* === Blog hero === */
.blog-hero { padding: 144px 0 64px; text-align: center; }
.blog-hero-eyebrow {
  display: inline-block;
  margin-bottom: 20px;
  font: 600 12px/16px var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-navy-500);
}
.blog-hero-title {
  font: 700 56px/64px var(--font-sans);
  letter-spacing: -0.028em;
  color: var(--text-primary);
  margin-bottom: 20px;
  text-wrap: balance;
}
.blog-hero-sub {
  font: 400 19px/29px var(--font-sans);
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 40px;
  text-wrap: pretty;
}
/* === Filter chips === */
.blog-filters {
  display: flex; gap: 8px; flex-wrap: wrap;
  justify-content: center;
  max-width: 720px;
  margin: 0 auto;
}
.blog-chip {
  font: 500 13px/19px var(--font-mono);
  letter-spacing: 0.02em;
  padding: 8px 14px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-full);
  background: var(--surface-default);
  color: var(--text-secondary);
  cursor: pointer;
  transition: color 160ms var(--ease-out-soft), background 160ms var(--ease-out-soft), border-color 160ms var(--ease-out-soft);
}
.blog-chip:hover { color: var(--text-primary); border-color: var(--border-strong); }
.blog-chip.is-active {
  background: var(--color-navy-800);
  color: #fff;
  border-color: var(--color-navy-800);
}
/* === Featured post === */
.blog-featured {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 32px 0 80px;
}
.blog-featured .blog-cover {
  height: 440px;
  border-radius: var(--radius-2xl);
  display: flex; align-items: flex-end; padding: 28px;
}
.blog-featured .blog-cover .cover-mark {
  font: 600 11px/14px var(--font-mono);
  letter-spacing: 0.08em; text-transform: uppercase;
  background: rgba(255, 255, 255, 0.95);
  color: var(--text-primary);
  padding: 6px 12px;
  border-radius: var(--radius-full);
}
.blog-featured .featured-tag {
  font: 600 11px/14px var(--font-mono);
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--color-teal-700);
  margin-bottom: 20px;
}
.blog-featured h2 {
  font: 700 44px/52px var(--font-sans);
  letter-spacing: -0.024em;
  color: var(--text-primary);
  margin-bottom: 18px;
  text-wrap: balance;
}
.blog-featured .blog-excerpt {
  font: 400 17px/27px var(--font-sans);
  color: var(--text-secondary);
  margin-bottom: 28px;
  max-width: 56ch;
}
.blog-featured .blog-meta {
  display: flex; align-items: center; gap: 12px;
  font: 500 13px/19px var(--font-sans);
  color: var(--text-tertiary);
}
.blog-featured .blog-author {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--text-secondary);
  font-weight: 600;
}
.blog-featured .avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--color-navy-800); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font: 600 11px/14px var(--font-sans);
}
.blog-featured .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--color-neutral-300); }
/* === Blog grid === */
.blog-grid-section { padding: 24px 0 96px; }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.blog-card {
  display: flex; flex-direction: column;
  border-radius: var(--radius-xl);
  transition: transform 200ms var(--ease-out-soft);
  cursor: pointer;
}
.blog-card:hover { transform: translateY(-2px); }
.blog-card:hover .blog-cover { box-shadow: 0 1px 2px rgba(var(--shadow-tint), 0.04), 0 16px 32px -16px rgba(var(--shadow-tint), 0.20); }
.blog-card:hover h3 { color: var(--color-teal-700); }
.blog-card h3 { transition: color 160ms var(--ease-out-soft); }
.blog-cover {
  position: relative;
  height: 220px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 20px;
  transition: box-shadow 200ms var(--ease-out-soft);
}
.blog-cover::after {
  /* subtle dot texture overlay */
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.20) 1px, transparent 1px);
  background-size: 18px 18px;
  mask-image: linear-gradient(150deg, black 0%, transparent 85%);
  pointer-events: none;
}
.cover-mark-tl {
  position: absolute; top: 16px; left: 16px;
  font: 600 11px/14px var(--font-mono);
  letter-spacing: 0.08em; text-transform: uppercase;
  background: rgba(255,255,255,0.95);
  color: var(--text-primary);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  z-index: 1;
}
/* Cover color variants — one gradient per category */
.cover-agentic     { background: linear-gradient(135deg, #99F6E4, #0D9488 90%); }
.cover-technical   { background: linear-gradient(135deg, #C2DBFF, #0065FF 90%); }
.cover-product     { background: linear-gradient(135deg, #C2CBD8, #354560 90%); }
.cover-compliance  { background: linear-gradient(135deg, #FEF3C7, #B45309 100%); }
.cover-launch      { background: linear-gradient(135deg, #BBF7D0, #047857 100%); }
.cover-engineering { background: linear-gradient(135deg, #94A1B5, #0F2447 100%); }
.cover-research    { background: linear-gradient(135deg, #DDD6FE, #5B21B6 100%); }
.blog-card-body { padding: 0 4px; }
.blog-tag {
  display: inline-block;
  font: 600 11px/14px var(--font-mono);
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--color-teal-700);
  margin-bottom: 12px;
}
.blog-card-excerpt {
  font: 400 15px/24px var(--font-sans);
  color: var(--text-secondary);
  margin-bottom: 18px;
  text-wrap: pretty;
}
.blog-card-meta {
  display: flex; align-items: center; gap: 8px;
  font: 500 13px/18px var(--font-sans);
  color: var(--text-tertiary);
}
.blog-card-meta .author { color: var(--text-secondary); font-weight: 600; }
.blog-card-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--color-neutral-300); }
/* === Newsletter CTA === */
.blog-newsletter {
  background: var(--color-neutral-50);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-2xl);
  padding: 56px 48px;
  text-align: center;
  margin-top: 32px;
}
.blog-newsletter .news-eyebrow {
  font: 600 11px/14px var(--font-mono);
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--color-teal-700);
  margin-bottom: 14px;
}
.blog-newsletter h2 {
  font: 700 34px/42px var(--font-sans);
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 12px;
  text-wrap: balance;
}
.blog-newsletter p {
  font: 400 16px/25px var(--font-sans);
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto 28px;
}
.blog-newsletter-form {
  display: inline-flex; gap: 8px; max-width: 460px; width: 100%;
}
.blog-newsletter-form input {
  flex: 1; min-width: 0;
  padding: 13px 18px;
  font: 400 15px/22px var(--font-sans);
  color: var(--text-primary);
  background: var(--surface-default);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  outline: none;
  transition: border-color 160ms var(--ease-out-soft), box-shadow 160ms var(--ease-out-soft);
}
.blog-newsletter-form input::placeholder { color: var(--text-tertiary); }
.blog-newsletter-form input:focus {
  border-color: var(--color-teal-600);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}
/* === Footer (mirrors v2 homepage) === */
.footer {
  background: var(--color-neutral-50);
  color: var(--text-secondary);
  padding: 96px 0 40px;
  border-top: 1px solid var(--border-subtle);
}
/* === Responsive === */
@media (max-width: 960px) {
  .blog-hero { padding: 120px 0 48px; }
  .blog-hero-title { font: 700 40px/48px var(--font-sans); }
  .blog-featured { grid-template-columns: 1fr; gap: 32px; padding: 24px 0 64px; }
  .blog-featured .blog-cover { height: 320px; }
  .blog-featured h2 { font: 700 32px/40px var(--font-sans); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}
@media (max-width: 600px) {
  .blog-hero-title { font: 700 32px/40px var(--font-sans); letter-spacing: -0.024em; }
  .blog-hero-sub { font-size: 16px; line-height: 25px; }
  .blog-grid { grid-template-columns: 1fr; gap: 24px; }
  .blog-newsletter { padding: 40px 24px; }
  .blog-newsletter h2 { font: 700 26px/34px var(--font-sans); }
  .blog-newsletter-form { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom-row { flex-direction: column; align-items: flex-start; }
}
