/*
 * Shared design system for the static marketing site (public/*.html).
 * Every marketing page links this file instead of duplicating its own
 * <style> block — previously index.html/risk-fraud.html/kyb-compliance.html
 * each carried an almost byte-identical ~600-line stylesheet. Page-specific
 * markup only needs page-specific CSS now, if any.
 *
 * Light-only (2026 redesign) — the marketing site no longer offers a dark
 * theme or toggle; that stays an app-only (verety-app-ui) feature. Token
 * *names* are kept identical to the app's so copy-pasting a component
 * between the two still works, but only one palette is defined here.
 */

/* Attio's own fonts (verified live against attio.com, 2026-10-17): Inter
   for body/headings, JetBrains Mono for labels/mono — both open-source and
   on Google Fonts. Attio also loads "Inter Display" (a separate optical
   cut for large headline sizes) and a commercial serif, Tiempos Text, for
   one pull-quote section — Inter Display isn't published on Google Fonts
   and Tiempos Text is a paid Klim Type Foundry license we don't hold, so
   headings use regular Inter at a bold weight instead, visually close at
   our sizes, and the serif isn't used at all. */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  --font-sans: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --bg:      #f6f8fc;
  --ink:     #eef1f8;
  --ink2:    #ffffff;
  --rule:    rgba(16,23,43,0.06);
  --rule2:   rgba(16,23,43,0.12);

  /* Signal palette — one hue per pillar */
  --fuse:    #0090ba;   /* data fusion — electric blue */
  --grow:    #7c5cd6;   /* enrichment / diligence — deep violet */
  --pulse:   #12946a;   /* monitoring — bioluminescent green */
  --flag:    #d6423d;   /* risk / fraud — signal red */
  --warn:    #c9821f;

  --fuse-d:  rgba(0,144,186,0.08);
  --grow-d:  rgba(124,92,214,0.08);
  --pulse-d: rgba(18,148,106,0.08);
  --flag-d:  rgba(214,66,61,0.08);

  --text:    #151d33;
  --muted:   #5b6478;
  --muted2:  #7b8598;

  --accent-hover-bg: #151d33;
  --quote-mark: rgba(16,23,43,0.05);
  --logo-underscore: rgba(16,23,43,0.3);
  --nav-bg: rgba(246,248,252,0.85);
  --shadow: rgba(16,23,43,0.12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}
body.nav-open { overflow: hidden; }
a { color: inherit; }
img { max-width: 100%; }

/* ─── NAV ─── */
nav.site {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 48px; gap: 20px;
  background: var(--nav-bg);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--rule);
}
.nav-logo {
  font-family: var(--font-mono);
  font-size: 16px; font-weight: 700;
  color: var(--fuse); letter-spacing: 3px;
  text-decoration: none; flex-shrink: 0;
}
.nav-logo span { color: var(--logo-underscore); }

/* The logo's leading "V": solid teal on the left stroke, shading into
   purple toward the top of the right stroke — matches the standalone V
   mark used for the favicon. background-clip:text confines the gradient
   to the glyph's own ink, so the left stroke reads as solid teal even
   though the gradient technically spans the whole character box. */
span.v-mark {
  background: linear-gradient(200deg, var(--grow) 0%, var(--grow) 45%, var(--fuse) 60%, var(--fuse) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.nav-menu { display: flex; align-items: center; gap: 2px; flex: 1; }
.nav-item { position: relative; }
.nav-link {
  font-family: var(--font-sans);
  font-size: 16px; letter-spacing: 0;
  background: transparent; border: none; cursor: pointer;
  color: var(--muted2); padding: 10px 14px;
  display: inline-flex; align-items: center; gap: 6px;
  text-decoration: none; border-radius: 8px;
  transition: color .2s, background .2s;
}
.nav-link:hover, .nav-item.open > .nav-link { color: var(--fuse); background: var(--fuse-d); }
.nav-link:focus-visible { outline: 2px solid var(--fuse); outline-offset: 2px; }
.nav-caret { font-size: 12px; transition: transform .2s; display: inline-block; }
.nav-item.open .nav-caret { transform: rotate(180deg); }

.nav-dropdown {
  position: absolute; top: calc(100% + 10px); left: 0;
  background: var(--ink2); border: 1px solid var(--rule2);
  border-radius: 12px; box-shadow: 0 20px 50px var(--shadow);
  padding: 10px; min-width: 250px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .15s, transform .15s, visibility .15s;
  z-index: 200;
}
.nav-item.open .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }

.drop-link {
  display: block; padding: 11px 12px; border-radius: 8px;
  font-size: 18px; font-weight: 500; color: var(--text); text-decoration: none;
}
.drop-link:hover { background: var(--fuse-d); color: var(--fuse); }
.drop-link:focus-visible { outline: 2px solid var(--fuse); outline-offset: -2px; }

.nav-dropdown--mega { min-width: 580px; padding: 20px; }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mega-card {
  display: block; padding: 16px; border-radius: 10px;
  border: 1px solid var(--rule); text-decoration: none;
  transition: border-color .2s, background .2s;
}
.mega-card:hover { border-color: var(--rule2); background: var(--ink); }
.mega-card:focus-visible { outline: 2px solid var(--fuse); outline-offset: 2px; }
.mega-tag {
  font-family: var(--font-sans); font-size: 16px; font-weight: 700;
  letter-spacing: 0; margin-bottom: 7px;
  display: flex; align-items: center; gap: 7px;
}
.mega-tag::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.mega-tag.fuse  { color: var(--fuse); }
.mega-tag.flag  { color: var(--flag); }
.mega-tag.grow  { color: var(--grow); }
.mega-tag.pulse { color: var(--pulse); }
.mega-desc { font-size: 17px; color: var(--muted2); line-height: 1.5; }
.mega-foot {
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--rule);
  font-family: var(--font-sans); font-size: 13px;
}
.mega-foot a { color: var(--fuse); text-decoration: none; }
.mega-foot a:hover { text-decoration: underline; }

.nav-link--plain { text-decoration: none; }

.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; margin-left: auto; }
/* Compact pill — deliberately much smaller than the (now larger) nav links,
   the standard SaaS "prominent links, tidy CTA" balance. */
.nav-cta { padding: 9px 18px; font-size: 11px; letter-spacing: 1px; }
.nav-cta.ghost { background: transparent; color: var(--text); border: 1px solid var(--rule2); }
.nav-cta.ghost:hover { background: var(--ink); }

.nav-hamburger {
  display: none; background: transparent; border: none; cursor: pointer;
  flex-direction: column; justify-content: center; gap: 4px;
  width: 34px; height: 34px; flex-shrink: 0;
}
.nav-hamburger span { display: block; width: 100%; height: 2px; background: var(--text); transition: transform .2s, opacity .2s; }
.nav-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ─── HERO ─── */
.hero {
  min-height: 92vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 120px 48px 60px;
  gap: 60px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(0,144,186,0.08) 0%,
    rgba(124,92,214,0.05) 40%,
    transparent 70%);
  top: 50%; right: -100px;
  transform: translateY(-50%);
  pointer-events: none;
}
.hero.flag-glow::before {
  background: radial-gradient(circle, rgba(214,66,61,0.08) 0%, rgba(124,92,214,0.05) 40%, transparent 70%);
}
.hero.pulse-glow::before {
  background: radial-gradient(circle, rgba(18,148,106,0.08) 0%, rgba(0,144,186,0.05) 40%, transparent 70%);
}
.hero.grow-glow::before {
  background: radial-gradient(circle, rgba(124,92,214,0.08) 0%, rgba(0,144,186,0.05) 40%, transparent 70%);
}
.hero-copy { position: relative; z-index: 2; container-type: inline-size; }
.hero-kicker {
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 3px;
  color: var(--fuse); text-transform: uppercase;
  margin-bottom: 24px;
  display: flex; align-items: center; gap: 10px;
}
.hero-kicker::before {
  content: '';
  display: inline-block;
  width: 24px; height: 1px;
  background: currentColor;
}
.hero-kicker.flag  { color: var(--flag); }
.hero-kicker.pulse { color: var(--pulse); }
.hero-kicker.grow  { color: var(--grow); }
h1 {
  font-size: clamp(38px, 9.4cqw, 68px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -2px;
  margin-bottom: 24px;
}
h1 em { font-style: normal; color: var(--fuse); }
h1 .g { color: var(--grow); }
h1 .p { color: var(--pulse); }
h1 .r { color: var(--flag); }
.hero-lead {
  font-size: 19px; font-weight: 400;
  color: var(--muted2);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 40px;
}
.hero-lead strong { color: var(--text); font-weight: 600; }
/* One-off: a hero-lead that should render as a single line at desktop
   widths (e.g. company.html's About subtitle) rather than wrap at the
   shared 520px max-width every other hero-lead uses. Falls back to
   normal wrapping on mobile so it doesn't overflow a narrow viewport. */
.hero-lead--nowrap { max-width: none; white-space: nowrap; }
.hero-metrics { display: flex; gap: 28px; margin-bottom: 40px; flex-wrap: wrap; }
.metric-n {
  font-family: var(--font-mono);
  font-size: 26px; font-weight: 700;
  line-height: 1; margin-bottom: 4px;
}
.metric-n.f { color: var(--fuse); }
.metric-n.g { color: var(--grow); }
.metric-n.p { color: var(--pulse); }
.metric-n.r { color: var(--flag); }
.metric-l { font-size: 12.5px; color: var(--muted); font-weight: 500; letter-spacing: 0.3px; }

.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px; letter-spacing: 1.5px; font-weight: 700;
  padding: 14px 28px; border-radius: 999px;
  text-decoration: none;
  background: var(--fuse); color: #fff;
  border: 1px solid var(--fuse);
  transition: all .2s;
}
.btn:hover { background: var(--accent-hover-bg); border-color: var(--accent-hover-bg); color: #fff; }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--rule2); }
.btn.ghost:hover { background: var(--ink); color: var(--text); border-color: var(--rule2); }
.btn:focus-visible { outline: 2px solid var(--fuse); outline-offset: 3px; }
.btn.sm { padding: 9px 18px; font-size: 11px; }

/* ─── HERO VISUAL (product GIF in a chrome-card, replaces the old square canvas) ─── */
.hero-shot { width: 100%; max-width: 600px; justify-self: center; }

/* ─── HERO — HOMEPAGE WIDE VARIANT (Attio-style: centered intro copy, then a
   page-wide GIF below it, not side-by-side). Scoped to `.hero--wide` so the
   4 solution pages keep their original 2-column `.hero` layout untouched. ─── */
.hero--wide {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: auto;
  padding: 140px 48px 72px;
}
.hero--wide::before {
  width: 900px; height: 900px;
  top: 0; left: 50%; right: auto;
  transform: translate(-50%, -42%);
}
.hero-copy-wide {
  position: relative; z-index: 2;
  max-width: 680px;
  text-align: center;
  margin: 0 auto 56px;
}
.hero-copy-wide h1 { font-size: clamp(36px, 5.2vw, 58px); }
.hero-copy-wide .hero-lead { max-width: 100%; margin: 0 auto 36px; }
.hero-copy-wide .hero-ctas { justify-content: center; }
.hero-shot-wide {
  position: relative; z-index: 2;
  width: 100%; max-width: 1200px;
  margin: 0 auto;
}

/* ─── GRAPH / CANVAS WRAP (legacy, kept for pages that still use the canvas motif) ─── */
.graph-wrap { position: relative; width: 100%; aspect-ratio: 1; max-width: 520px; justify-self: center; }
.graph-wrap canvas { width: 100%; height: 100%; display: block; }
.graph-legend { position: absolute; bottom: 0; left: 0; display: flex; flex-direction: column; gap: 6px; }
.gl-item {
  display: flex; align-items: center; gap: 7px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 1px; color: var(--muted2);
}
.gl-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }

/* ─── SECTION BASE ─── */
section { padding: 100px 48px; position: relative; }
section.ink { background: var(--ink); }

/* public/company.html's and public/resources.html's own content sections
   specifically — their content (a couple of paragraphs, a card or two) is
   short enough that the base 100px padding alone left the next section's
   top edge visible at a typical 1440x900 viewport the moment you scrolled
   to a section's own top (confirmed live). A viewport-relative min-height,
   same mechanism the hero already uses (92vh), pushes the next section
   below the fold regardless of how little content a given one has —
   scoped by ID rather than widening the base `section` rule so the rest
   of the site (already visually tuned) is untouched. IDs are unique per
   page, so #events existing on both pages' markup at different times
   isn't a conflict. */
#about, #news, #events, #careers, #blog, #whitepapers { min-height: 100vh; }
.sec-kicker {
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 3px; text-transform: uppercase;
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.sec-kicker::before { content: ''; width: 20px; height: 1px; display: inline-block; background: currentColor; }
.sec-kicker.fuse  { color: var(--fuse); }
.sec-kicker.grow  { color: var(--grow); }
.sec-kicker.pulse { color: var(--pulse); }
.sec-kicker.flag  { color: var(--flag); }
h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700; letter-spacing: -1px;
  line-height: 1.1; margin-bottom: 16px;
}
h2 em { font-style: normal; }
h2 em.f { color: var(--fuse); } h2 em.g { color: var(--grow); }
h2 em.p { color: var(--pulse); } h2 em.r { color: var(--flag); }
.sec-lead {
  font-size: 18px; color: var(--muted2);
  line-height: 1.7; max-width: 620px;
  margin-bottom: 52px;
}
.sec-lead a { color: var(--fuse); }
.sec-lead strong { color: var(--text); }
/* One-off: a sec-lead that should render as a single line at desktop
   widths rather than wrap at the shared 620px max-width — same pattern
   as .hero-lead--nowrap. Falls back to normal wrapping on mobile. */
.sec-lead--nowrap { max-width: none; white-space: nowrap; }

/* ─── STAT STRIP (reusable metrics row, e.g. mid-page recap of hero metrics) ─── */
.stat-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px;
  background: var(--rule); border: 1px solid var(--rule); border-radius: 12px;
  overflow: hidden; margin-bottom: 52px;
}
.stat-cell { background: var(--ink2); padding: 26px 22px; text-align: center; }
.stat-cell .metric-n { font-size: 30px; }
.stat-cell .metric-l { display: block; }

/* ─── SYN CARDS (hue-topped, used for engines + comparison table) ─── */
.syn-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2px; background: var(--rule);
  border: 1px solid var(--rule); border-radius: 12px;
  overflow: hidden;
}
.syn-card { background: var(--ink2); padding: 32px 28px; position: relative; overflow: hidden; }
.syn-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; }
.syn-card.f::before { background: var(--fuse); }
.syn-card.g::before { background: var(--grow); }
.syn-card.p::before { background: var(--pulse); }
.syn-card.r::before { background: var(--flag); }
.syn-card.featured { box-shadow: inset 0 0 0 1px var(--fuse); }
.syn-num {
  font-family: var(--font-mono);
  font-size: 58px; font-weight: 700;
  line-height: 1; margin-bottom: 10px;
}
.syn-num.f { color: var(--fuse); } .syn-num.g { color: var(--grow); }
.syn-num.p { color: var(--pulse); } .syn-num.r { color: var(--flag); }
.syn-tag {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 12px;
}
.syn-tag.f { color: var(--fuse); } .syn-tag.g { color: var(--grow); }
.syn-tag.p { color: var(--pulse); } .syn-tag.r { color: var(--flag); }
.syn-label { font-size: 17px; font-weight: 600; color: var(--text); margin-bottom: 10px; }
.syn-body  { font-size: 15px; color: var(--muted2); line-height: 1.6; }
.syn-list { list-style: none; margin-top: 6px; }
.syn-list li { font-size: 14px; color: var(--muted2); line-height: 1.9; padding-left: 16px; position: relative; }
.syn-list li::before { content: '–'; position: absolute; left: 0; color: var(--muted); }
.syn-card.featured .syn-list li::before { content: '✓'; color: var(--fuse); }

/* ─── STEP ROWS (numbered process walkthrough) ─── */
.step-rows { border-top: 1px solid var(--rule); }
.step-row {
  display: grid; grid-template-columns: 48px 1fr; gap: 20px;
  padding: 26px 0; border-bottom: 1px solid var(--rule);
  align-items: flex-start;
}
.step-num {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 14px; font-weight: 700;
  background: var(--fuse-d); color: var(--fuse); border: 1px solid rgba(0,144,186,0.3);
}
.step-title { font-size: 16.5px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.step-body { font-size: 14.5px; color: var(--muted2); line-height: 1.6; }

/* ─── SOLUTION CARDS ─── */
.sol-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
a.sol-card {
  display: block; text-decoration: none;
  background: var(--ink2); border: 1px solid var(--rule);
  border-radius: 12px; padding: 34px 30px;
  position: relative; overflow: hidden;
  transition: border-color .2s, transform .2s;
}
a.sol-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; }
a.sol-card.flag::before  { background: var(--flag); }
a.sol-card.fuse::before  { background: var(--fuse); }
a.sol-card.grow::before  { background: var(--grow); }
a.sol-card.pulse::before { background: var(--pulse); }
a.sol-card:hover { transform: translateY(-3px); }
a.sol-card.flag:hover  { border-color: rgba(214,66,61,0.4); }
a.sol-card.fuse:hover  { border-color: rgba(0,144,186,0.4); }
a.sol-card.grow:hover  { border-color: rgba(124,92,214,0.4); }
a.sol-card.pulse:hover { border-color: rgba(18,148,106,0.4); }
a.sol-card:focus-visible { outline: 2px solid var(--fuse); outline-offset: 3px; }
.sol-tag {
  font-family: var(--font-mono);
  font-size: 18px; letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 14px;
}
.sol-card.flag .sol-tag  { color: var(--flag); }
.sol-card.fuse .sol-tag  { color: var(--fuse); }
.sol-card.grow .sol-tag  { color: var(--grow); }
.sol-card.pulse .sol-tag { color: var(--pulse); }
.sol-title { font-size: 22px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.sol-body { font-size: 15px; color: var(--muted2); line-height: 1.65; margin-bottom: 18px; }
.sol-go { font-family: var(--font-mono); font-size: 12px; letter-spacing: 1px; }
.sol-card.flag .sol-go  { color: var(--flag); }
.sol-card.fuse .sol-go  { color: var(--fuse); }
.sol-card.grow .sol-go  { color: var(--grow); }
.sol-card.pulse .sol-go { color: var(--pulse); }

/* ─── FEATURE ROWS ─── */
.frows { border-top: 1px solid var(--rule); }
.frow {
  display: grid; grid-template-columns: 250px 1fr; gap: 32px;
  padding: 28px 0; border-bottom: 1px solid var(--rule);
}
.frow h3 { font-size: 17px; font-weight: 600; }
.frow h3.f { color: var(--fuse); } .frow h3.g { color: var(--grow); }
.frow h3.p { color: var(--pulse); } .frow h3.r { color: var(--flag); }
.frow p { font-size: 15.5px; color: var(--muted2); line-height: 1.65; }
.frow p strong { color: var(--text); }
.frow .ep-tag {
  display: inline-block; margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11px; padding: 2px 8px;
  border-radius: 3px; letter-spacing: 0.5px;
  background: var(--grow-d);
  border: 1px solid rgba(124,92,214,0.25);
  color: var(--grow);
}

/* ─── ENTITY TRUTH RECORD ─── */
.truth-record {
  background: var(--ink2);
  border: 1px solid rgba(0,144,186,0.25);
  border-radius: 12px; padding: 20px;
  box-shadow: 0 0 40px rgba(0,144,186,0.06);
}
.tr-header {
  display: flex; align-items: center; gap: 10px;
  padding-bottom: 14px; border-bottom: 1px solid var(--rule);
  margin-bottom: 14px; flex-wrap: wrap;
}
.tr-badge {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 1.5px;
  padding: 3px 8px; border-radius: 3px;
  background: var(--fuse-d);
  border: 1px solid rgba(0,144,186,0.3);
  color: var(--fuse);
}
.tr-name { font-size: 16px; font-weight: 700; color: var(--text); }
.tr-rows { display: flex; flex-direction: column; gap: 8px; }
.tr-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.tr-key {
  font-family: var(--font-mono);
  font-size: 11px; color: var(--muted);
  letter-spacing: 0.5px; flex-shrink: 0; padding-top: 1px;
}
.tr-val { font-size: 13px; color: var(--text); text-align: right; line-height: 1.4; }
.tr-val.fuse { color: var(--fuse); }
.tr-val.warn { color: var(--warn); }
.tr-val.flag { color: var(--flag); font-weight: 600; }

/* ─── INGEST LANES ─── */
.stream-wrap {
  position: relative;
  background: var(--ink2);
  border: 1px solid var(--rule);
  border-radius: 12px; padding: 24px;
  overflow: hidden;
}
.stream-wrap::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 60% at 100% 50%, rgba(0,144,186,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.stream-title {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 2px; color: var(--muted);
  margin-bottom: 18px;
}
.source-lanes { display: flex; flex-direction: column; gap: 10px; }
.lane {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 12px; background: var(--ink);
  border-radius: 6px; border: 1px solid var(--rule);
  position: relative; overflow: hidden;
}
.lane-icon { font-size: 16px; flex-shrink: 0; }
.lane-label { font-size: 14px; font-weight: 500; color: var(--text); flex: 1; min-width: 0; }
.lane-type { font-family: var(--font-mono); font-size: 11px; color: var(--muted); letter-spacing: 0.5px; }
.lane-particle {
  position: absolute;
  top: 50%; width: 3px; height: 3px; border-radius: 50%;
  background: var(--fuse);
  box-shadow: 0 0 6px var(--fuse);
  transform: translateY(-50%);
  animation: travel var(--speed, 2.4s) var(--delay, 0s) linear infinite;
}
@keyframes travel {
  0%   { left: -4px; opacity: 0; }
  5%   { opacity: 1; }
  95%  { opacity: 1; }
  100% { left: calc(100% + 4px); opacity: 0; }
}

/* ─── LIVE TIMELINE ─── */
.timeline-wrap {
  background: var(--ink2);
  border: 1px solid var(--rule);
  border-radius: 12px; padding: 24px;
  position: relative; overflow: hidden;
}
.timeline-wrap::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 40% at 50% 100%, rgba(18,148,106,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.tl-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.tl-title { font-family: var(--font-mono); font-size: 11px; color: var(--muted); letter-spacing: 2px; }
.tl-live { display: flex; align-items: center; gap: 5px; font-family: var(--font-mono); font-size: 11px; color: var(--pulse); }
.tl-live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--pulse); animation: livePulse 1.5s infinite; }
@keyframes livePulse {
  0%,100% { opacity: 1; box-shadow: 0 0 0 0 rgba(18,148,106,0.4); }
  50%     { opacity: 0.7; box-shadow: 0 0 0 5px rgba(18,148,106,0); }
}
.tl-events { display: flex; flex-direction: column; position: relative; }
.tl-events::before {
  content: '';
  position: absolute; left: 10px; top: 8px; bottom: 8px; width: 1px;
  background: linear-gradient(to bottom, var(--pulse), rgba(18,148,106,0.1));
}
.tl-event { display: flex; gap: 18px; align-items: flex-start; padding: 10px 0; position: relative; }
.tl-dot {
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; border: 1px solid;
  background: var(--ink);
  position: relative; z-index: 1; margin-top: 1px;
}
.tl-dot.c { border-color: rgba(214,66,61,0.5); color: var(--flag); background: rgba(214,66,61,0.1); }
.tl-dot.w { border-color: rgba(201,130,31,0.5); color: var(--warn); background: rgba(201,130,31,0.1); }
.tl-dot.i { border-color: rgba(18,148,106,0.3);  color: var(--pulse); background: var(--pulse-d); }
.tl-dot.new { border-color: var(--pulse); box-shadow: 0 0 0 3px rgba(18,148,106,0.15); }
.tl-content { flex: 1; }
.tl-age { font-family: var(--font-mono); font-size: 11px; color: var(--muted); margin-bottom: 3px; }
.tl-desc { font-size: 14px; color: var(--text); line-height: 1.45; margin-bottom: 3px; }
.tl-source { font-family: var(--font-mono); font-size: 11px; color: var(--muted2); letter-spacing: 0.5px; }
.tl-newtag { color: var(--pulse); font-family: var(--font-mono); font-size: 9px; letter-spacing: 1px; margin-left: 6px; }

/* ─── REG TIMELINE ─── */
.reg-timeline { display: flex; flex-direction: column; }
.rt-item { display: flex; gap: 16px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.rt-item:last-child { border-bottom: none; }
.rt-year { font-family: var(--font-mono); font-size: 12px; font-weight: 700; color: var(--fuse); width: 66px; flex-shrink: 0; padding-top: 2px; }
.rt-content { flex: 1; }
.rt-law { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 3px; }
.rt-desc { font-size: 14px; color: var(--muted2); line-height: 1.5; }
.rt-tag {
  display: inline-block; margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 11px; padding: 2px 7px;
  border-radius: 3px; border: 1px solid var(--rule2);
  color: var(--muted2);
}
.rt-tag.new { color: var(--pulse); border-color: rgba(18,148,106,0.3); background: var(--pulse-d); }

/* ─── THREAT / SEGMENT CARDS ─── */
.threat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.threat-card {
  background: var(--ink2); border: 1px solid var(--rule);
  border-radius: 8px; padding: 20px 18px;
  position: relative; overflow: hidden;
  transition: border-color 0.2s;
}
.threat-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--t-color, rgba(214,66,61,0.5)); }
.threat-card:hover { border-color: rgba(214,66,61,0.3); }
.threat-title { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 5px; line-height: 1.3; }
.threat-body  { font-size: 13.5px; color: var(--muted2); line-height: 1.55; }
.threat-stat  {
  display: inline-block; margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11px; padding: 2px 7px; border-radius: 3px;
  background: var(--flag-d); border: 1px solid rgba(214,66,61,0.2); color: var(--flag);
}
.threat-stat.pulse { background: var(--pulse-d); border-color: rgba(18,148,106,0.2); color: var(--pulse); }
.threat-stat.fuse  { background: var(--fuse-d);  border-color: rgba(0,144,186,0.2);  color: var(--fuse); }
.threat-stat.grow  { background: var(--grow-d);  border-color: rgba(124,92,214,0.2); color: var(--grow); }

/* ─── QUOTE CARDS ─── */
.quote-card {
  background: var(--ink2); border: 1px solid var(--rule);
  border-radius: 10px; padding: 26px 28px;
  position: relative; overflow: hidden;
  max-width: 820px;
}
.quote-card::before {
  content: '"';
  position: absolute; top: -12px; left: 16px;
  font-size: 100px; font-family: Georgia, serif; font-weight: 700;
  color: var(--quote-mark); line-height: 1;
  pointer-events: none; user-select: none;
}
.quote-card.red-accent  { border-left: 3px solid rgba(214,66,61,0.6); }
.quote-card.fuse-accent { border-left: 3px solid rgba(0,144,186,0.4); }
.quote-text { font-size: 15px; color: var(--text); line-height: 1.7; font-style: italic; margin-bottom: 16px; position: relative; z-index: 1; }
.quote-role { font-family: var(--font-mono); font-size: 11px; color: var(--muted2); letter-spacing: 0.3px; line-height: 1.5; }
.quote-source-link {
  display: inline-flex; align-items: center; gap: 5px; margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 10px; color: var(--fuse); opacity: 0.75;
  text-decoration: none; letter-spacing: 0.5px;
}
.quote-source-link:hover { opacity: 1; }

/* ─── RESOURCE CARDS ─── */
.res-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.res-grid--3 { grid-template-columns: repeat(3, 1fr); }
.res-card {
  background: var(--ink2); border: 1px solid var(--rule);
  border-radius: 12px; padding: 32px 30px;
  position: relative; overflow: hidden;
}
.res-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--grow); }
a.res-card { display: block; text-decoration: none; transition: border-color .2s, transform .2s; }
a.res-card:hover { border-color: rgba(124,92,214,0.4); transform: translateY(-3px); }
a.res-card:focus-visible { outline: 2px solid var(--grow); outline-offset: 3px; }
.res-tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--grow); margin-bottom: 14px; }
.res-title { font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.res-body { font-size: 14.5px; color: var(--muted2); line-height: 1.65; }
.res-body a { color: var(--fuse); text-decoration: none; }
.res-body a:hover { text-decoration: underline; }
.res-go { font-family: var(--font-mono); font-size: 12px; letter-spacing: 1px; color: var(--grow); margin-top: 18px; display: inline-block; }

/* ─── BLOG SUBSCRIBE (email-only — public/subscribe-form.js) ─── */
.subscribe-card-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.subscribe-form { flex-shrink: 0; min-width: 340px; }
.subscribe-row { display: flex; gap: 10px; }
.subscribe-row input[type="email"] {
  flex: 1; width: 100%;
  font-family: inherit; font-size: 14px; color: var(--text);
  background: var(--ink2); border: 1px solid var(--rule2); border-radius: 8px;
  padding: 12px 14px; outline: none; transition: border-color .2s;
}
.subscribe-row input[type="email"]::placeholder { color: var(--muted2); }
.subscribe-row input[type="email"]:focus { border-color: var(--fuse); }
.subscribe-row button[type="submit"] { cursor: pointer; white-space: nowrap; }
.subscribe-row button[type="submit"]:disabled { opacity: .6; cursor: default; }
.subscribe-form .hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.subscribe-status { margin-top: 10px; font-size: 13px; min-height: 18px; }
.subscribe-status.ok { color: var(--pulse); }
.subscribe-status.err { color: var(--flag); }
@media (max-width: 640px) {
  .subscribe-form { min-width: 0; width: 100%; }
  .subscribe-row { flex-direction: column; }
}

/* ─── VISUAL PANEL (abstract brand graphics — a lighter take on the
   node-graph motif from the narrative deck, built in the site's actual
   light-only token set rather than photography; no real office/team photos
   exist yet, and a stock photo of unrelated "founders" would misrepresent
   the anonymized-team stance already taken in the About copy). ─── */
.visual-panel {
  background: var(--ink2); border: 1px solid var(--rule2);
  border-radius: 14px; box-shadow: 0 20px 50px var(--shadow);
  display: flex; align-items: center; justify-content: center;
  padding: 32px; min-height: 260px;
}
.visual-panel svg { width: 100%; height: auto; max-width: 300px; }
/* Modifier for a real photo instead of an SVG illustration — fills the
   card edge-to-edge (overflow:hidden clips it to the card's own radius)
   with a small credit line underneath for attribution-required licenses. */
.visual-panel--photo { flex-direction: column; align-items: stretch; padding: 0; overflow: hidden; }
.visual-panel--photo img { width: 100%; height: auto; display: block; }
/* `.split--match-height`'s photo specifically: CSS Grid/flex `stretch`
   only ever grows the SHORTER sibling up to match the TALLER one — it
   can't shrink a naturally-taller photo down to the text's height, which
   is what actually happened here (confirmed live: the text box grew to
   match the photo instead of the other way round). The real fix is to
   take the photo out of the row's height calculation entirely: position
   it absolutely so the (now content-less) wrapper reports ~0 intrinsic
   height, leaving the row's auto height driven solely by the text
   column, then have the photo fill that resulting box via inset:0 +
   object-fit:cover (cropping, never distorting). */
.split--match-height .visual-panel--photo { position: relative; min-height: 0; }
.split--match-height .visual-panel--photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.visual-panel-caption {
  font-family: var(--font-mono); font-size: 10.5px; color: var(--muted);
  letter-spacing: 0.3px; padding: 10px 14px;
}
.visual-panel-caption a { color: var(--muted); }
.visual-panel-caption a:hover { color: var(--fuse); }
.vp-edge { stroke-width: 1.4; fill: none; }
.vp-edge.f { stroke: rgba(0,144,186,0.4); }
.vp-edge.g { stroke: rgba(124,92,214,0.4); }
.vp-edge.p { stroke: rgba(18,148,106,0.4); }
.vp-edge.r { stroke: rgba(214,66,61,0.4); }
.vp-edge.dim { stroke: var(--rule2); }
.vp-node.hub { fill: var(--text); }
.vp-node.f { fill: var(--fuse); }
.vp-node.g { fill: var(--grow); }
.vp-node.p { fill: var(--pulse); }
.vp-node.r { fill: var(--flag); }
.vp-node.dim { fill: var(--rule2); }
.vp-building { fill: var(--muted); opacity: 0.4; }
.vp-label {
  fill: var(--muted2); font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 1.5px; text-transform: uppercase;
}
.vp-ring { fill: none; stroke: var(--pulse); stroke-width: 1.4; }
.vp-pulse { animation: vpPulse 2.6s ease-out infinite; transform-origin: center; }
.vp-pulse.d2 { animation-delay: .7s; }
.vp-pulse.d3 { animation-delay: 1.4s; }
@keyframes vpPulse {
  0%   { opacity: 0.55; transform: scale(0.45); }
  70%  { opacity: 0; }
  100% { opacity: 0; transform: scale(1.3); }
}

/* ─── COOKIE CONSENT BANNER (first visit only — see cookie-consent.js) ─── */
.cookie-banner {
  position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 300;
  max-width: 640px; margin: 0 auto;
  background: var(--ink2); border: 1px solid var(--rule2);
  border-radius: 14px; box-shadow: 0 20px 50px var(--shadow);
  padding: 20px 22px;
  max-height: calc(100vh - 40px); overflow-y: auto;
}
.cookie-banner-summary { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.cookie-banner-text { font-size: 13px; color: var(--muted2); line-height: 1.6; flex: 1; min-width: 220px; }
.cookie-banner-text a { color: var(--fuse); text-decoration: none; }
.cookie-banner-text a:hover { text-decoration: underline; }
.cookie-link {
  background: none; border: none; padding: 0; margin: 0; font: inherit;
  color: var(--fuse); text-decoration: underline; cursor: pointer;
}
.cookie-banner-actions { display: flex; gap: 10px; flex-shrink: 0; justify-content: flex-end; }

/* Customize panel — category rows + toggle switches */
.cookie-cat { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 14px 0; border-top: 1px solid var(--rule); }
.cookie-cat:first-child { border-top: none; padding-top: 0; }
.cookie-cat-title { font-size: 13.5px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.cookie-cat-desc { font-size: 12.5px; color: var(--muted2); line-height: 1.55; }
.cookie-banner-footnote { font-size: 12px; color: var(--muted); margin: 14px 0 16px; }
.cookie-banner-footnote a { color: var(--fuse); text-decoration: none; }
.cookie-banner-footnote a:hover { text-decoration: underline; }

.cookie-toggle { position: relative; display: inline-block; width: 38px; height: 22px; flex-shrink: 0; margin-top: 2px; }
.cookie-toggle input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.cookie-toggle-track { position: absolute; inset: 0; background: var(--rule2); border-radius: 999px; transition: background .2s; pointer-events: none; }
.cookie-toggle-track::before {
  content: ''; position: absolute; width: 16px; height: 16px; left: 3px; top: 3px;
  background: #fff; border-radius: 50%; transition: transform .2s;
  box-shadow: 0 1px 3px rgba(16,23,43,0.3);
}
.cookie-toggle input:checked + .cookie-toggle-track { background: var(--fuse); }
.cookie-toggle input:checked + .cookie-toggle-track::before { transform: translateX(16px); }
.cookie-toggle input:disabled { cursor: not-allowed; }
.cookie-toggle input:disabled + .cookie-toggle-track { opacity: 0.55; }

@media (max-width: 480px) {
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; padding: 18px; }
  .cookie-banner-summary { flex-direction: column; align-items: stretch; }
  .cookie-banner-actions { justify-content: flex-end; }
}

/* ─── ARTICLE BODY (blog post / whitepaper / event / news / job detail pages) ───
   The base h1/h2 rules elsewhere in this file are sized for section
   headings on marketing pages — too large/bold for subheadings inside
   flowing prose, hence the overrides scoped to .article-body. */
.article-body p { font-size: 16px; line-height: 1.75; color: var(--muted2); margin-bottom: 20px; }
.article-body p strong { color: var(--text); font-weight: 600; }
.article-body p em { font-style: italic; }
.article-body h2 { font-size: 22px; letter-spacing: -0.3px; margin: 40px 0 14px; }
.article-body ul, .article-body ol { margin: 0 0 20px 22px; }
.article-body li { font-size: 16px; line-height: 1.7; color: var(--muted2); margin-bottom: 8px; }
.article-body h3 { font-size: 18px; letter-spacing: -0.2px; margin: 32px 0 10px; }
.article-body li strong { color: var(--text); font-weight: 600; }
.article-body a { color: var(--fuse); text-decoration: underline; text-underline-offset: 2px; }
.article-body code { font-family: var(--font-mono); font-size: 0.9em; background: var(--ink); border: 1px solid var(--rule); border-radius: 4px; padding: 1px 5px; }
.article-body blockquote { margin: 28px 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--grow); }
.article-body blockquote, .article-body blockquote p { font-size: 18px; line-height: 1.6; color: var(--text); font-style: italic; }

/* ─── ARTICLE PAGE (blog, whitepaper, event, news) — CMS rich-text blocks ─── */
.article { max-width: 720px; margin: 0 auto; padding: 140px 24px 100px; }
.article-back { font-family: var(--font-mono); font-size: 13px; color: var(--fuse); text-decoration: none; }
.article-meta { color: var(--muted2); font-size: 14px; margin-bottom: 36px; }
.article-lead { font-size: 18px; line-height: 1.6; color: var(--text); margin-bottom: 24px; }
.article-figure { margin: 32px 0; }
.article-figure img { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--rule); }
.article-figure figcaption, .article-video figcaption { margin-top: 10px; font-size: 13px; line-height: 1.5; color: var(--muted2); }
.article-figure figcaption a { color: var(--muted2); text-decoration: underline; }
.article-cover { margin: 0 0 40px; }
.article-callout { margin: 28px 0; padding: 18px 20px; border-radius: 10px; border: 1px solid var(--rule); border-left-width: 3px; background: var(--fuse-d); border-left-color: var(--fuse); }
.article-callout--key { background: var(--pulse-d); border-left-color: var(--pulse); }
.article-callout--warning { background: var(--flag-d); border-left-color: var(--flag); }
.article-callout strong { display: block; margin-bottom: 6px; color: var(--text); font-size: 15px; }
.article-body .article-callout p, .article-callout p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--text); }
.article-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.article-video { margin: 32px 0; }
.article-video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; border: 1px solid var(--rule); background: #000; }
.article-video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 760px) { .article { padding: 110px 16px 72px; } }

/* Card images (Resources blog / whitepaper / event cards). */
/* The whole image, never cropped: its own aspect ratio. */
.res-card-img { display: block; width: calc(100% + 60px); max-width: none; height: auto; margin: -32px -30px 22px; }
/* Blog and news cards: a small square image beside the tag and date. */
.res-card-head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.res-card-head .res-tag { margin-bottom: 6px; }
.res-thumb { flex: none; width: 72px; height: 72px; padding: 6px; box-sizing: border-box; border-radius: 10px; object-fit: contain; background: #fff; border: 1px solid var(--rule); }
.res-thumb--empty { display: block; background: var(--ink) url(/favicon.svg) center / 28px no-repeat; opacity: .55; }
.res-date { display: block; font-size: 13px; color: var(--muted2); }
/* Event cards with an image: the image at half the card's width, the text
   beside it; stacked on a phone. */
.res-card.res-card--side { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.res-card--side .res-card-img { width: 100%; margin: 0; border-radius: 8px; }
.res-subhead { font-size: 16px; font-family: var(--font-mono); letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted2); margin: 40px 0 16px; }
.see-all { margin: 20px 0 0; font-family: var(--font-mono); font-size: 12px; letter-spacing: 1px; }
.see-all a { color: var(--fuse); text-decoration: none; }
.see-all a:hover { text-decoration: underline; }

/* ─── PAGER (full CMS lists: /blog, /events …) ─── */
.pager-count { margin: 36px 0 12px; font-size: 13px; color: var(--muted2); text-align: center; }
.pager {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 1px;
}
.pager a { color: var(--fuse); text-decoration: none; }
.pager a:hover { text-decoration: underline; }
.pager > a[rel="next"] { justify-self: end; }
.pager-pages { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.pager-pages a, .pager-gap { min-width: 32px; padding: 6px 8px; text-align: center; border-radius: 8px; }
.pager-pages a { border: 1px solid var(--rule); }
.pager-pages a[aria-current="page"] { background: var(--ink2); color: var(--text); border-color: var(--fuse); }
.pager-gap { color: var(--muted2); }

/* ─── JOB CARDS (Careers) ─── */
.job-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.job-card {
  background: var(--ink2); border: 1px solid var(--rule);
  border-radius: 12px; padding: 28px 26px;
  display: flex; flex-direction: column; gap: 12px;
}
.job-title { font-size: 18px; font-weight: 700; color: var(--text); }
a.job-title { text-decoration: none; }
a.job-title:hover { text-decoration: underline; color: var(--fuse); }
.job-meta {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--muted);
  display: flex; gap: 10px; flex-wrap: wrap; margin-top: -6px;
}
.job-body { font-size: 14.5px; color: var(--muted2); line-height: 1.65; flex: 1; }
.job-apply {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 1px;
  color: var(--fuse); text-decoration: none; margin-top: 4px;
}
.job-apply:hover { text-decoration: underline; }

/* ─── PRICING CARDS ─── */
/* Annual/monthly billing-cycle toggle — public/pricing-toggle.js swaps
   each [data-annual] price's text between its data-annual/data-monthly
   values; Free and Enterprise have neither attribute and are untouched. */
.billing-toggle-wrap { text-align: center; margin-bottom: 36px; }
.billing-toggle {
  display: inline-flex; gap: 4px; padding: 4px;
  background: var(--ink2); border: 1px solid var(--rule2); border-radius: 999px;
}
.billing-toggle-btn {
  font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: 1px;
  padding: 9px 18px; border-radius: 999px; border: none; background: transparent;
  color: var(--muted2); cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background .2s, color .2s;
}
.billing-toggle-btn:hover { color: var(--text); }
.billing-toggle-btn.active { background: var(--fuse); color: #fff; }
.billing-toggle-badge {
  font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 999px;
  background: var(--pulse-d); color: var(--pulse);
}
.billing-toggle-btn.active .billing-toggle-badge { background: rgba(255,255,255,0.22); color: #fff; }

.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; align-items: stretch; }
.price-card {
  background: var(--ink2); border: 1px solid var(--rule);
  border-radius: 14px; padding: 32px 28px;
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
}
/* Clicking a card only selects/highlights it (public/price-card-select.js)
   — the real navigation happens on its own CTA <a class="btn"> inside,
   never the card body itself. */
.price-card { cursor: pointer; transition: border-color .2s, transform .2s, background .2s; }
.price-card:hover { border-color: var(--fuse); transform: translateY(-3px); }
.price-card:focus-visible { outline: 2px solid var(--fuse); outline-offset: 3px; }
.price-card.featured { border-color: var(--fuse); box-shadow: 0 0 0 1px var(--fuse), 0 20px 50px var(--shadow); }
.price-card.featured:hover { box-shadow: 0 0 0 1px var(--fuse), 0 24px 56px var(--shadow); }
/* Persistent selection — distinct from :hover (which reverts on mouseout):
   a thicker ring + tinted fill that stays until another card is picked. */
.price-card.selected { border-color: var(--fuse); box-shadow: 0 0 0 2px var(--fuse); background: var(--fuse-d); }
.price-card.featured.selected { box-shadow: 0 0 0 2px var(--fuse), 0 20px 50px var(--shadow); }
.price-badge {
  position: absolute; top: 18px; right: 18px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 1px;
  padding: 3px 9px; border-radius: 20px;
  background: var(--fuse-d); border: 1px solid rgba(0,144,186,0.3); color: var(--fuse);
}
.price-tier { font-family: var(--font-mono); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.price-amount { font-size: 38px; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.price-amount span { font-size: 15px; font-weight: 500; color: var(--muted2); }
.price-caption {
  font-family: var(--font-mono); font-size: 11px; color: var(--muted);
  margin-bottom: 22px; letter-spacing: 0.3px;
}
.price-features { list-style: none; margin-bottom: 26px; flex: 1; }
.price-features li {
  font-size: 14px; color: var(--muted2); line-height: 1.5;
  padding: 8px 0 8px 22px; border-top: 1px solid var(--rule); position: relative;
}
.price-features li:first-child { border-top: none; }
.price-features li::before { content: '✓'; position: absolute; left: 0; color: var(--fuse); font-weight: 700; }
.price-card .btn { text-align: center; }
.price-foot {
  text-align: center; font-size: 13px; color: var(--muted2); margin-top: 28px;
}

/* ─── CTA ─── */
.cta-sec { text-align: center; background: var(--ink); position: relative; overflow: hidden; }
.cta-sec::before {
  content: '';
  position: absolute; width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(124,92,214,0.08) 0%, transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  pointer-events: none;
}
.cta-sec h2, .cta-sec .sec-lead { margin-left: auto; margin-right: auto; }
.cta-sec .sec-kicker { justify-content: center; }
.cta-sec .sec-lead { margin-bottom: 36px; }
.access-form { max-width: 420px; margin: 0 auto; text-align: left; }
.access-form .af-row { display: flex; gap: 12px; }
.access-form input {
  width: 100%;
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  background: var(--ink2);
  border: 1px solid var(--rule2);
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 12px;
  outline: none;
  transition: border-color .2s;
}
.access-form input::placeholder { color: var(--muted2); }
.access-form input:focus { border-color: var(--fuse); }
.access-form select {
  width: 100%;
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  background: var(--ink2);
  border: 1px solid var(--rule2);
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 12px;
  outline: none;
  transition: border-color .2s;
}
.access-form select:invalid { color: var(--muted2); }
.access-form select:focus { border-color: var(--fuse); }
.access-form .hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.access-form button[type="submit"] { cursor: pointer; }
.access-form button[type="submit"]:disabled { opacity: .6; cursor: default; }
.af-status { margin-top: 12px; font-size: 13px; min-height: 18px; }
.af-status.ok  { color: var(--pulse); }
.af-status.err { color: var(--flag); }
@media (max-width: 480px) { .access-form .af-row { flex-direction: column; gap: 0; } }

/* ─── FOOTER ─── */
footer {
  border-top: 1px solid var(--rule);
  padding: 52px 48px 36px;
  font-family: var(--font-mono);
  font-size: 11.5px; letter-spacing: 1px; color: var(--muted2);
}
.foot-row { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
footer a { color: var(--muted2); text-decoration: none; }
footer a:hover { color: var(--fuse); }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-brand { font-size: 15px; font-weight: 700; color: var(--fuse); letter-spacing: 2.5px; margin-bottom: 10px; }
.foot-brand span { color: var(--logo-underscore); }
.foot-tagline { max-width: 480px; line-height: 1.7; opacity: 0.75; text-transform: none; letter-spacing: 0.3px; white-space: nowrap; }
.foot-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--rule);
  flex-wrap: wrap;
}
.foot-copy { opacity: 0.6; }
.foot-social { display: flex; gap: 10px; }
.foot-social a {
  display: inline-flex; width: 32px; height: 32px;
  align-items: center; justify-content: center;
  border: 1px solid var(--rule2); border-radius: 50%;
  color: var(--muted2); transition: color .2s, border-color .2s;
}
.foot-social a:hover { color: var(--fuse); border-color: var(--fuse); }
.foot-social svg { width: 14px; height: 14px; fill: currentColor; }

/* ─── TWO-COL LAYOUT ─── */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: start; }
/* Modifier for a `.split` row whose visual is a tall/narrow (portrait) crop
   rather than the usual landscape screenshot — gives the text column more
   room and caps/right-aligns the visual instead of stretching it to fill an
   even 1fr column. Falls back to the normal single-column stack below. */
.split--narrow-right { grid-template-columns: 1.6fr 1fr; align-items: center; }
.chat-shot { max-width: 340px; margin-left: auto; }
/* Modifier for a `.split` row whose visual should match the text column's
   own height exactly, rather than sitting at its own natural (often
   shorter) height — e.g. a photo next to a couple of paragraphs. Grid's
   own stretch does the height matching; the photo crops via object-fit
   instead of distorting. */
.split--match-height { align-items: stretch; }

/* ─── GRID MODIFIERS ─── */
.cols-4 { grid-template-columns: repeat(4, 1fr); }

/* ─── BROWSER-CHROME CARD (frames a product screenshot/GIF, attio-style) ─── */
.chrome-card {
  background: var(--ink2);
  border: 1px solid var(--rule2);
  border-radius: 14px;
  box-shadow: 0 30px 70px var(--shadow);
  overflow: hidden;
}
.chrome-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 11px 14px;
  background: var(--ink);
  border-bottom: 1px solid var(--rule);
}
.chrome-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--rule2); }
.chrome-dot:nth-child(1) { background: #ff5f57; }
.chrome-dot:nth-child(2) { background: #febc2e; }
.chrome-dot:nth-child(3) { background: #28c840; }
.chrome-card img, .chrome-card video { display: block; width: 100%; height: auto; }

/* ─── STORY / VIGNETTE CARDS (anonymized design-partner case studies) ─── */
.story-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.story-card {
  background: var(--ink2); border: 1px solid var(--rule);
  border-radius: 14px; padding: 30px 26px;
  display: flex; flex-direction: column; gap: 14px;
}
.story-tag {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--fuse);
}
.story-body { font-size: 15px; color: var(--text); line-height: 1.7; flex: 1; }
.story-foot {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--muted); letter-spacing: 0.3px;
  padding-top: 14px; border-top: 1px solid var(--rule);
}

/* ─── FLYWHEEL (moat section) ─── */
.flywheel-row { display: flex; align-items: center; gap: 10px; margin-bottom: 40px; flex-wrap: wrap; }
.flywheel-step {
  flex: 1; min-width: 150px;
  background: var(--ink2); border: 1px solid var(--rule);
  border-radius: 10px; padding: 18px 16px;
  font-size: 14px; font-weight: 600; color: var(--text);
  text-align: center;
}
.flywheel-arrow { color: var(--muted); font-size: 18px; flex-shrink: 0; }
.flywheel-loop {
  text-align: center; font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 1.5px; color: var(--grow);
  margin-top: -20px; margin-bottom: 40px;
}

/* ─── RESPONSIVE: NAV (mega-menu → hamburger/accordion) ─── */
@media (max-width: 900px) {
  /* backdrop-filter makes nav.site the containing block for its position:fixed
     children, which would size the panel below against the ~58px bar instead
     of the viewport (collapsing it). Drop the blur on mobile — the full-screen
     opaque panel doesn't need it. */
  nav.site { backdrop-filter: none; }
  .nav-hamburger { display: flex; position: relative; z-index: 2; }
  .nav-menu {
    position: fixed; top: 58px; left: 0; right: 0;
    height: 100vh;
    height: calc(100dvh - 58px);
    z-index: 1;
    background: var(--bg); border-top: 1px solid var(--rule);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 20px 24px; overflow-y: auto;
    transform: translateY(-8px); opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav-menu.mobile-open { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
  .nav-item, .nav-link--plain { width: 100%; }
  .nav-link {
    width: 100%; justify-content: space-between; padding: 16px 4px;
    border-bottom: 1px solid var(--rule); border-radius: 0; font-size: 18px;
  }
  .nav-link--plain { display: block; padding: 16px 4px; border-bottom: 1px solid var(--rule); color: var(--text); font-size: 18px; }
  .nav-dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; background: transparent;
    padding: 6px 4px 14px; display: none; min-width: 0;
  }
  .nav-item.open .nav-dropdown { display: block; }
  .nav-dropdown--mega { padding: 6px 4px 14px; }
  .mega-grid { grid-template-columns: 1fr; }
  .nav-actions {
    border-top: 1px solid var(--rule2); padding-top: 18px; margin-top: 10px;
    margin-left: 0; justify-content: space-between;
  }
  .nav-cta { font-size: 12px; padding: 11px 18px; white-space: nowrap; }
  /* Override the broad ".nav-link--plain { width:100% }" rule above — that
     one's meant for the vertical link list, not "Sign in" sitting inline
     next to the Sign Up pill in .nav-actions. */
  .nav-actions .nav-link--plain { width: auto; border-bottom: none; padding: 11px 4px; }
}
@media (min-width: 901px) {
  .nav-menu { position: static !important; opacity: 1 !important; visibility: visible !important; transform: none !important; pointer-events: auto !important; }
}

/* ─── RESPONSIVE: CONTENT ─── */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; min-height: unset; padding-top: 100px; }
  #about, #news, #events, #careers, #blog, #whitepapers { min-height: unset; }
  .graph-wrap { max-width: 400px; }
  .split, .res-grid, .res-grid--3, .split--narrow-right { grid-template-columns: 1fr; }
  .res-card.res-card--side { grid-template-columns: 1fr; gap: 18px; }
  .chat-shot { max-width: none; margin-left: 0; }
  .sol-grid, .syn-grid, .threat-grid, .stat-strip, .price-grid, .cols-4, .story-grid { grid-template-columns: 1fr 1fr; }
  section { padding: 64px 24px; }
  nav.site { padding: 12px 20px; }
  footer { padding: 44px 24px 28px; }
  .foot-tagline { white-space: normal; max-width: 300px; }
  .hero-lead--nowrap { white-space: normal; max-width: 520px; }
  .sec-lead--nowrap { white-space: normal; max-width: 620px; }
  .frow { grid-template-columns: 1fr; gap: 8px; }
  .nav-dropdown--mega { min-width: 440px; }
  .flywheel-row { flex-direction: column; }
  .flywheel-arrow { transform: rotate(90deg); }
}
@media (max-width: 640px) {
  .sol-grid, .syn-grid, .threat-grid, .stat-strip, .price-grid, .cols-4, .story-grid, .job-grid { grid-template-columns: 1fr; }
  .visual-panel { min-height: 180px; padding: 20px; }
  .hero-metrics { gap: 22px; }
  .step-row { grid-template-columns: 36px 1fr; gap: 14px; }
}

/* ─── Site-wide promotion (Black Friday 2026) ───
   Shown only while /api/promotion says one is on (public/promotion.js);
   everything here is inert otherwise. The art is the string-lights band of
   the campaign image (public/promo/); all words are live text. */
:root { --promo-cream: #f8f9f3; --promo-ink: #17140f; --promo-line: rgba(23,20,15,0.14); }
.promo-art {
  background-color: var(--promo-cream);
  background-image: url('/promo/black-friday-lights.jpg');
  background-repeat: no-repeat;
  color: var(--promo-ink);
  position: relative;
  isolation: isolate;
}
.promo-serif { font-family: Georgia, 'Times New Roman', ui-serif, serif; font-weight: 400; letter-spacing: -0.01em; }
.promo-btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: #14110d; color: #fff; text-decoration: none; white-space: nowrap;
  font-family: var(--font-sans); font-weight: 500; font-size: 16px;
  padding: 14px 26px; border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(255,190,110,0.25), 0 6px 22px rgba(255,170,80,0.28);
  transition: transform .15s, box-shadow .15s;
}
.promo-btn:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(255,190,110,0.45), 0 8px 28px rgba(255,170,80,0.4); }

/* Hero (pricing page) — the campaign layout: logo · headline · features · button. */
.promo-hero {
  container-type: inline-size;
  max-width: 1240px; margin: 0 auto 32px;
  background-size: 100% auto; background-position: top center;
  min-height: 210px; border-radius: 4px;
}
/* The thin inset frame, lined up with the frame drawn in the art. */
.promo-hero::before {
  content: ''; position: absolute; z-index: -1; pointer-events: none;
  left: 2cqw; right: 2cqw; top: 1.85cqw; bottom: 14px;
  border: 1px solid var(--promo-line);
}
/* The band's lower edge fades into the panel (the JPEG renders a shade off the CSS cream). */
.promo-hero::after {
  content: ''; position: absolute; z-index: -1; pointer-events: none;
  left: 0; right: 0; top: calc(8.46cqw - 48px); height: 52px;
  background: linear-gradient(to bottom, transparent, var(--promo-cream) 85%);
}
.promo-hero-in {
  display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 28px;
  padding: calc(4cqw + 26px) calc(2cqw + 32px) 42px;
}
.promo-hero .promo-logo { font-family: var(--font-mono); font-weight: 700; font-size: 20px; letter-spacing: 3px; color: var(--fuse); }
.promo-hero h2 { font-size: clamp(30px, 3.6cqw, 50px); line-height: 1.08; margin: 0; color: var(--promo-ink); }
.promo-hero h2 em { font-style: italic; }
.promo-hero .promo-feats { margin: 0; font-size: 15px; color: #3d372e; line-height: 1.6; }
.promo-hero .promo-feats small { display: block; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: #8a7c66; }
@media (max-width: 960px) {
  .promo-hero-in { grid-template-columns: 1fr; gap: 14px; padding: calc(6cqw + 22px) 28px 34px; text-align: left; }
  .promo-hero { background-size: 180% auto; }
  .promo-hero::before { top: 3.3cqw; left: 3.6cqw; right: 3.6cqw; }
  .promo-hero::after { top: calc(15.2cqw - 40px); height: 44px; }
  .promo-hero .promo-btn { width: 100%; }
}

/* Strip — under the nav on every marketing page. */
.promo-strip {
  position: fixed; left: 0; right: 0; z-index: 99;
  min-height: 40px; display: flex; align-items: center; justify-content: center; gap: 14px;
  padding: 6px 48px 6px 16px;
  background-size: cover; background-position: center top;
  border-bottom: 1px solid var(--promo-line);
  font-size: 15px; text-align: center;
}
.promo-strip > span, .promo-strip a.promo-link {
  background: color-mix(in srgb, var(--promo-cream) 82%, transparent);
  padding: 2px 8px; border-radius: 3px;
}
.promo-strip a.promo-link { color: var(--promo-ink); font-family: var(--font-sans); font-weight: 600; font-size: 14px; white-space: nowrap; }
.promo-strip .promo-x {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  border: 0; background: none; font-size: 18px; line-height: 1; color: #6b6153; cursor: pointer; padding: 6px;
}
body.has-promo-strip { padding-top: 40px; }
@media (max-width: 640px) { .promo-strip { font-size: 13.5px; } .promo-strip .promo-sub { display: none; } }

/* Pack buttons while buying is paused. */
.btn.promo-paused { opacity: 0.55; pointer-events: none; }
