/* Design token layer — all tokens live in tokens.css */
@import url('./tokens.css');

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: var(--page-gap);
  font-family: 'Helvetica Neue', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  letter-spacing: 0.2px;
  -webkit-font-smoothing: antialiased;
}

/* Layout */
.container { max-width: 1140px; padding: 0 24px; margin: 0 auto; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: 2px; font-size: 12px; font-weight: 700; color: var(--blue-600); margin-bottom: 14px; }
.section-dark .eyebrow, .hero-split .eyebrow, .engine-hero .eyebrow { color: var(--blue-300); }
.text-grad { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ============================================================ Header / Nav */
.site-header { position: sticky; top: 0; background: rgba(255,255,255,0.92); backdrop-filter: saturate(160%) blur(8px); border-bottom: 1px solid var(--border); z-index: 30; width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); margin-top: calc(-1 * var(--page-gap)); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand .logo { width: 26px; height: 26px; display: inline-block; }
.brand-text { font-weight: 600; font-size: var(--text-lg); color: var(--brand-800); letter-spacing: 0.2px; }
.brand-text b { color: var(--blue-600); font-weight: 600; }
.menu-toggle { display: none; position: relative; width: 44px; height: 44px; border: 0; border-radius: 10px; background: transparent; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.menu-toggle:hover { background: var(--bg-offwhite); }
.menu-toggle:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 2px; }
.menu-toggle .bar { position: absolute; left: 11px; width: 22px; height: 2.5px; border-radius: 2px; background: var(--brand-800); transition: transform .26s cubic-bezier(.6,.05,.3,1), opacity .18s ease; }
.menu-toggle .bar:nth-child(1) { top: 15px; }
.menu-toggle .bar:nth-child(2) { top: 21px; }
.menu-toggle .bar:nth-child(3) { top: 27px; }
.menu-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.main-nav { display: flex; align-items: center; }
.main-nav a { color: #2a3247; text-decoration: none; margin-left: 22px; font-weight: 500; }
.main-nav a:hover { color: var(--blue-600); }
.main-nav a[aria-current="page"] { color: var(--blue-600); }
.main-nav a:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 2px; border-radius: 4px; }
.main-nav .signin { color: #fff; background: var(--grad-brand); padding: 10px 16px; border-radius: var(--radius-sm); margin-left: 26px; box-shadow: var(--shadow-blue); }
.main-nav .signin:hover { filter: brightness(1.06); color: #fff; }

/* Dropdown */
.nav-dropdown { position: relative; display: inline-block; }
.nav-dropdown > .nav-dropdown-toggle { cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.nav-dropdown > .nav-dropdown-toggle::after { content: ''; display: inline-block; width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor; margin-top: 1px; transition: transform .2s; }
.nav-dropdown:hover > .nav-dropdown-toggle::after,
.nav-dropdown.open > .nav-dropdown-toggle::after { transform: rotate(180deg); }
.nav-dropdown-menu { display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 16px 40px rgba(15,23,41,0.14); padding: 10px 0; min-width: 260px; z-index: 40; }
.nav-dropdown-menu::before { content: ''; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.nav-dropdown:hover > .nav-dropdown-menu { display: block; }
.nav-dropdown-menu .dropdown-group { padding: 4px 0; }
.nav-dropdown-menu .dropdown-group + .dropdown-group { border-top: 1px solid var(--border); }
.nav-dropdown-menu .dropdown-label { display: block; padding: 6px 20px 2px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--muted); }
.nav-dropdown-menu a { display: block; padding: 7px 20px; margin-left: 0; font-size: 14px; font-weight: 500; color: #2a3247; white-space: nowrap; }
.nav-dropdown-menu a:hover { background: var(--blue-050); color: var(--blue-700); }
.nav-dropdown-menu a:focus-visible { outline: 3px solid var(--blue-500); outline-offset: -3px; }

/* ============================================================ Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: var(--radius-sm); text-decoration: none; font-weight: 600; letter-spacing: 0.2px; line-height: 1; transition: filter .15s, background .15s, border-color .15s, box-shadow .15s, transform .15s; border: 1px solid transparent; cursor: pointer; font: inherit; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-blue); }
.btn-primary:hover { filter: brightness(1.07); color: #fff; }
.btn-primary:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 3px; }
.btn-blue { background: var(--blue-600); color: #fff; box-shadow: var(--shadow-blue); }
.btn-blue:hover { background: var(--blue-700); color: #fff; }
.btn-secondary { background: #fff; color: var(--blue-700); border: 2px solid var(--blue-600); }
.btn-secondary:hover { background: var(--blue-050); }
.btn-ghost { color: var(--blue-700); border: 1px solid var(--blue-600); background: transparent; }
.btn-ghost:hover { background: var(--blue-050); }
.btn-lg { padding: 16px 30px; font-size: var(--text-md); }
.btn-sm { padding: 8px 14px; font-size: var(--text-sm); }
.btn:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 3px; }

/* ============================================================ Sections */
.section { padding: 64px 0; }
.section-tight { padding: 40px 0; }
.section-alt { background: var(--bg-offwhite); width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); padding: 64px 0; }
.section-alt > .container, .section-dark > .container, .section-engine > .container, .section-cta > .container { max-width: 1140px; padding: 0 24px; margin: 0 auto; }
.section-dark { background: var(--dark-bg); color: #fff; width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); padding: 64px 0; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .lede { color: #c9d2e8; }
.section-dark .subtle { color: #93a0bf; }
.section-engine { background: var(--grad-engine); color: #fff; width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); padding: 72px 0; position: relative; overflow: hidden; }
.section-engine h2, .section-engine h3 { color: #fff; }
.section-engine .lede { color: #c9d2e8; }
.section-engine::before { content: ""; position: absolute; inset: 0; background: radial-gradient(900px 360px at 80% -10%, rgba(46,107,240,0.32), transparent 60%), radial-gradient(700px 320px at 8% 110%, rgba(107,58,125,0.4), transparent 60%); pointer-events: none; }
.section-engine > .container { position: relative; z-index: 1; }
.section-cta { background: var(--grad-brand); color: #fff; width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); padding: 64px 0; }
.section-cta h2 { color: #fff; }
.section-cta .lede { color: #eef2ff; }

.section h2, .section-alt h2, .section-dark h2, .section-engine h2, .section-cta h2, .page h2 { font-size: clamp(26px, 4vw, 38px); line-height: 1.18; margin-top: 0; letter-spacing: -0.3px; }
.section-heading { text-align: center; margin-bottom: 40px; max-width: 760px; margin-left: auto; margin-right: auto; }
.section-heading h2 { margin-bottom: 10px; }
.section-heading p { color: var(--muted); font-size: 18px; max-width: 660px; margin: 0 auto; }
.section-dark .section-heading p, .section-engine .section-heading p { color: #c9d2e8; }

.page { padding: 48px 0 72px; }
.lede { font-size: 19px; color: var(--muted); margin: 8px 0 26px; }
.cta-group { display: flex; gap: 12px; flex-wrap: wrap; }
.subtle { color: var(--muted); font-size: 14px; }
.list { padding-left: 20px; margin: 8px 0; }
.list li { margin: 7px 0; }

/* Grids */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* Cards */
.card { background: #fff; color: var(--text); padding: 24px; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: 0 1px 2px rgba(15,23,41,0.05); }
.card h3 { margin-top: 0; }
.section-dark .card, .section-engine .card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); color: #fff; }
.section-dark .card p, .section-engine .card p { color: #c9d2e8; }

/* ============================================================ SPLIT HERO (unique layout #1) */
.hero-split { width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); background: var(--grad-engine); color: #fff; position: relative; overflow: hidden; margin-top: 0; }
.hero-split::before { content: ""; position: absolute; inset: 0; background: radial-gradient(820px 420px at 88% 0%, rgba(46,107,240,0.4), transparent 58%), radial-gradient(620px 360px at 0% 100%, rgba(155,123,166,0.36), transparent 60%); pointer-events: none; }
.hero-split .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; padding-top: 84px; padding-bottom: 84px; }
.hero-split h1 { font-size: var(--text-hero); line-height: 1.06; margin: 0 0 16px; font-weight: 300; letter-spacing: -0.5px; color: #fff; }
.hero-split h1 b { font-weight: 600; }
.hero-split .lede { color: #cdd6ee; font-size: 19px; max-width: 540px; margin-bottom: 28px; }
.hero-split .hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero-badge { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: #dbe4ff; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16); padding: 7px 13px; border-radius: 999px; }
.hero-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--blue-300); box-shadow: 0 0 10px var(--blue-500); }

/* ============================================================ TOP-FOLD VARIANTS
   A small system of distinct top-fold (hero) layouts so no two adjacent pages
   open the same way. All share the brand gradient + palette; they differ in
   structure, alignment, and which element leads. Mobile-first: every variant
   collapses to a single stacked column. The original `.hero-split` above is
   variant A; the variants below are B–G. */

/* Shared dark top-fold shell (gradient + glow), reused by several variants */
.topfold { width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); background: var(--grad-engine); color: #fff; position: relative; overflow: hidden; margin-top: 0; }
.topfold::before { content: ""; position: absolute; inset: 0; background: radial-gradient(820px 420px at 88% 0%, rgba(46,107,240,0.4), transparent 58%), radial-gradient(620px 360px at 0% 100%, rgba(155,123,166,0.36), transparent 60%); pointer-events: none; }
.topfold > .container { position: relative; z-index: 1; }
.topfold .eyebrow { color: var(--blue-300); }
.topfold h1 { font-size: var(--text-hero); line-height: 1.06; margin: 0 0 16px; font-weight: 300; letter-spacing: -0.5px; color: #fff; }
.topfold h1 b { font-weight: 600; }
.topfold .lede { color: #cdd6ee; font-size: 19px; }
.topfold .hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

/* Variant B — CENTERED STATEMENT: big centered headline, no side figure. */
.hero-statement > .container { text-align: center; padding-top: 92px; padding-bottom: 84px; max-width: 900px; }
.hero-statement h1 { margin-left: auto; margin-right: auto; max-width: 16ch; }
.hero-statement .lede { max-width: 620px; margin: 0 auto 28px; }
.hero-statement .cta-group, .hero-statement .hero-badges { justify-content: center; }

/* Variant C — FULL-BLEED BANNER WITH OVERLAY: copy anchored bottom-left over a
   tall gradient band; an optional faint marquee word sits behind it. */
.hero-banner { min-height: 64vh; display: flex; align-items: flex-end; }
.hero-banner > .container { padding-top: 120px; padding-bottom: 64px; width: 100%; }
.hero-banner .banner-mark { position: absolute; right: -2%; top: 8%; z-index: 0; font-size: clamp(90px, 18vw, 240px); font-weight: 800; line-height: .9; letter-spacing: -4px; color: rgba(255,255,255,0.045); pointer-events: none; user-select: none; white-space: nowrap; }
.hero-banner .hero-text { position: relative; z-index: 1; max-width: 760px; }
.hero-banner .lede { max-width: 600px; }

/* Variant D — STAT-BAND LEAD: headline beside (or above) a row of stats that
   live ON the gradient instead of in a separate section. */
.hero-stat > .container { padding-top: 84px; padding-bottom: 76px; }
.hero-stat .hero-text { max-width: 720px; }
.hero-stat .lede { max-width: 600px; margin-bottom: 0; }
.hero-stat .hero-statband { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 40px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.14); }
.hero-stat .hero-statband > div { text-align: left; }
.hero-stat .hero-statband .stat-number { background: none; -webkit-text-fill-color: #fff; color: #fff; }
.hero-stat .hero-statband .stat-label { color: #aebbdb; }

/* Variant E — DIAGRAM LEAD: a compact flow diagram is the hero visual; the
   headline rides above it. Reuses .engine-node / .engine-arrow styling. */
.hero-diagram > .container { padding-top: 84px; padding-bottom: 72px; text-align: center; }
.hero-diagram h1 { max-width: 18ch; margin-left: auto; margin-right: auto; }
.hero-diagram .lede { max-width: 620px; margin: 0 auto 34px; }
.hero-flow { display: inline-grid; grid-auto-flow: column; align-items: center; gap: 0; justify-content: center; text-align: left; }
.hero-flow .engine-node { min-width: 150px; }
.hero-diagram .cta-group { justify-content: center; margin-top: 34px; }

/* Variant F — QUOTE / STANCE LEAD: an oversized stance line is the top fold,
   with a small attribution + eyebrow. For pages that lead with conviction. */
.hero-quote > .container { padding-top: 96px; padding-bottom: 88px; max-width: 940px; }
.hero-quote .quote-mark { font-size: 80px; line-height: .6; color: var(--blue-300); font-weight: 800; opacity: .5; display: block; margin-bottom: -6px; }
.hero-quote blockquote { margin: 0; font-size: clamp(26px, 4.4vw, 46px); line-height: 1.18; font-weight: 300; letter-spacing: -0.5px; color: #fff; }
.hero-quote blockquote b { font-weight: 600; }
.hero-quote .quote-by { margin-top: 22px; color: #aebbdb; font-size: 15px; }
.hero-quote .cta-group { margin-top: 30px; }

/* Variant G — TEXT + RIGHT-RAIL LIST: split where the visual side is a compact
   highlight list / "at a glance" card rather than a mock UI panel. */
.hero-aside > .container { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; padding-top: 80px; padding-bottom: 80px; }
.hero-aside .lede { max-width: 540px; }
.hero-rail { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.16); border-radius: var(--radius-lg); padding: 24px 26px; }
.hero-rail .rail-kicker { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--blue-300); font-weight: 700; margin-bottom: 14px; }
.hero-rail ul { list-style: none; margin: 0; padding: 0; }
.hero-rail li { position: relative; padding: 11px 0 11px 28px; color: #dbe4ff; font-size: 15px; border-top: 1px solid rgba(255,255,255,0.08); }
.hero-rail li:first-child { border-top: 0; }
.hero-rail li::before { content: ""; position: absolute; left: 0; top: 16px; width: 8px; height: 8px; border-radius: 50%; background: var(--blue-300); box-shadow: 0 0 10px var(--blue-500); }
.hero-rail li b { color: #fff; font-weight: 600; }

/* ============================================================ TOP-FOLD BACKGROUND SHELLS (the #1 variety axis)
   Beyond the dark `.topfold`, top folds can sit on white, a soft brand/blue
   tint, or a full-bleed gradient. These shells set background + default text
   colors; archetype classes (.tf-*) below set composition. The point: no two
   adjacent pages share BOTH a background and a composition. */

/* Light shell — white page bg, dark text. Eyebrow/links stay brand-colored. */
.tf-light { width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); margin-top: 0; background: var(--bg); color: var(--text); position: relative; overflow: hidden; }
.tf-light > .container { position: relative; z-index: 1; }
.tf-light h1 { font-size: var(--text-hero); line-height: 1.06; margin: 0 0 16px; font-weight: 300; letter-spacing: -0.5px; color: var(--brand-800); }
.tf-light h1 b { font-weight: 600; color: var(--brand-800); }
.tf-light .lede { color: var(--muted); font-size: 19px; }
.tf-light .eyebrow { color: var(--blue-600); }

/* Tint shell — soft purple→blue surface, dark text, a faint gradient orb. */
.tf-tint { width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); margin-top: 0; background: var(--grad-brand-soft); color: var(--text); position: relative; overflow: hidden; }
.tf-tint::before { content: ""; position: absolute; inset: 0; background: radial-gradient(680px 360px at 92% -10%, rgba(46,107,240,0.10), transparent 60%), radial-gradient(560px 320px at -5% 110%, rgba(155,123,166,0.14), transparent 62%); pointer-events: none; }
.tf-tint > .container { position: relative; z-index: 1; }
.tf-tint h1 { font-size: var(--text-hero); line-height: 1.06; margin: 0 0 16px; font-weight: 300; letter-spacing: -0.5px; color: var(--brand-800); }
.tf-tint h1 b { font-weight: 600; color: var(--brand-800); }
.tf-tint .lede { color: #4a5468; font-size: 19px; }
.tf-tint .eyebrow { color: var(--blue-700); }

/* ---- Composition modifiers (work on any shell) ---- */
/* Split base; default = text left / graphic right. Reverse swaps columns on
   desktop but keeps text FIRST in source so it leads on mobile. */
.tf-split > .container { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; padding-top: 80px; padding-bottom: 80px; }
.tf-split h1 { font-size: var(--text-hero); line-height: 1.06; margin: 0 0 16px; font-weight: 300; letter-spacing: -0.5px; }
.tf-split .lede { max-width: 540px; margin-bottom: 28px; }
.tf-split.is-mirror > .container { grid-template-columns: 0.95fr 1.05fr; }
.tf-split.is-mirror .tf-text { order: 2; }       /* desktop: text on the RIGHT */
.tf-split.is-mirror .tf-figure { order: 1; }     /* desktop: graphic on the LEFT */

/* Centered base */
.tf-center > .container { text-align: center; max-width: 920px; padding-top: 90px; padding-bottom: 82px; }
.tf-center h1 { margin-left: auto; margin-right: auto; max-width: 17ch; }
.tf-center .lede { max-width: 620px; margin: 0 auto 28px; }
.tf-center .cta-group, .tf-center .hero-badges { justify-content: center; }

/* Text-only base (no figure column) */
.tf-textonly > .container { padding-top: 90px; padding-bottom: 84px; max-width: 1000px; }
.tf-textonly h1 { max-width: 20ch; }
.tf-textonly .lede { max-width: 620px; }

/* ---- Light/tint graphic treatments (DIFFERENT from the dark mock panels) ---- */
/* Big-numeral stat band on light (N1) */
.numerals { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 30px 36px; margin-top: 8px; }
.numeral { }
.numeral .n { font-size: clamp(42px, 6vw, 66px); font-weight: 800; line-height: 1.08; letter-spacing: -1px; display: inline-block; width: max-content; max-width: 100%; padding-right: 0.12em; overflow: visible; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.numeral .l { display: block; margin-top: 8px; color: var(--muted); font-size: 14.5px; line-height: 1.45; max-width: 24ch; }

/* Icon cluster grid on light/tint */
.icon-cluster { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.icon-cluster .ic { display: flex; gap: 13px; align-items: flex-start; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 16px; box-shadow: var(--shadow); }
.tf-tint .icon-cluster .ic { background: rgba(255,255,255,0.72); }
.icon-cluster .ic .ico { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 11px; background: var(--grad-brand-soft); color: var(--blue-700); display: inline-flex; align-items: center; justify-content: center; }
.icon-cluster .ic .ico svg { width: 21px; height: 21px; }
.icon-cluster .ic b { display: block; color: var(--brand-800); font-size: 15px; }
.icon-cluster .ic span { color: var(--muted); font-size: 13px; line-height: 1.45; }

/* Checklist card (light) — distinct from the dark hero-rail */
.spec-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px 28px; box-shadow: var(--shadow-md); }
.tf-tint .spec-card { background: rgba(255,255,255,0.78); }
.spec-card .sc-kicker { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--blue-700); font-weight: 700; margin-bottom: 14px; }
.spec-card ul { list-style: none; margin: 0; padding: 0; }
.spec-card li { position: relative; padding: 11px 0 11px 30px; font-size: 15px; color: var(--text); border-top: 1px solid var(--border); }
.spec-card li:first-child { border-top: 0; }
.spec-card li::before { content: ""; position: absolute; left: 0; top: 13px; width: 20px; height: 20px; border-radius: 50%; background: var(--blue-050) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231E5FE0' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat; }
.spec-card li b { color: var(--brand-800); }

/* Gradient orb — a glowing brand mark as a graphic centerpiece (light bg) */
.orb-figure { display: flex; align-items: center; justify-content: center; min-height: 280px; position: relative; }
.orb { position: relative; width: clamp(180px, 26vw, 280px); aspect-ratio: 1; border-radius: 50%; background: var(--grad-brand); box-shadow: 0 30px 80px rgba(30,95,224,0.30), inset 0 0 60px rgba(255,255,255,0.18); }
.orb::after { content: ""; position: absolute; inset: 14%; border-radius: 50%; background: radial-gradient(circle at 32% 28%, rgba(255,255,255,0.55), transparent 55%); }
.orb-figure .orb-ring { position: absolute; width: clamp(240px, 34vw, 380px); aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--blue-100); }
.orb-figure .orb-ring.r2 { width: clamp(320px, 44vw, 480px); border-color: var(--brand-050); }

/* Terminal / code block (works on light or dark) */
.terminal { width: 100%; background: #0c1530; border: 1px solid rgba(127,168,244,0.28); border-radius: var(--radius); box-shadow: 0 20px 50px rgba(11,31,77,0.4); overflow: hidden; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.terminal .term-head { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: rgba(255,255,255,0.04); border-bottom: 1px solid rgba(127,168,244,0.18); }
.terminal .term-head i { width: 9px; height: 9px; border-radius: 50%; background: rgba(127,168,244,0.5); }
.terminal .term-head span { margin-left: 8px; font-size: 11px; letter-spacing: .4px; color: #8fa7e0; text-transform: uppercase; font-weight: 700; }
.terminal .term-body { padding: 16px 18px; font-size: 13px; line-height: 1.7; color: #cdd6ee; }
.terminal .term-body .c-key { color: #7FA8F4; }
.terminal .term-body .c-str { color: #8be0c0; }
.terminal .term-body .c-mut { color: #6c7aa6; }

/* Light mock panel context (the mock-panel already exists; on light bg it just
   needs a touch more shadow to read as the hero figure) */
.tf-light .mock-panel, .tf-tint .mock-panel { box-shadow: var(--shadow-md); }

/* Full-bleed band: tall gradient/figure background with copy overlaid. Built on
   .topfold (dark gradient) but taller + bottom-anchored, with a faint marquee. */
.tf-bleed { min-height: 66vh; display: flex; align-items: flex-end; }
.tf-bleed > .container { padding-top: 120px; padding-bottom: 66px; width: 100%; }
.tf-bleed .bleed-mark { position: absolute; right: -2%; top: 6%; z-index: 0; font-size: clamp(90px, 18vw, 240px); font-weight: 800; line-height: .9; letter-spacing: -4px; color: rgba(255,255,255,0.05); pointer-events: none; user-select: none; white-space: nowrap; }
.tf-bleed .tf-text { position: relative; z-index: 1; max-width: 780px; }
.tf-bleed .lede { max-width: 620px; }

/* Graphic-dominant: large visual centerpiece with short text above (G1). */
.tf-dominant > .container { padding-top: 78px; padding-bottom: 70px; text-align: center; }
.tf-dominant h1 { max-width: 18ch; margin-left: auto; margin-right: auto; }
.tf-dominant .lede { max-width: 600px; margin: 0 auto 32px; }
.tf-dominant .cta-group { justify-content: center; margin-top: 32px; }

/* ============================================================ ENGINE / ARCHITECTURE DIAGRAM (unique layout #2) */
.engine-diagram { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr auto 1.1fr auto 1fr; align-items: stretch; gap: 0; margin: 8px 0; }
.engine-col { display: grid; gap: 14px; align-content: center; }
.engine-node { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.16); border-radius: var(--radius); padding: 14px 16px; }
.engine-node strong { display: block; color: #fff; font-size: 14.5px; }
.engine-node span { color: #aebbdb; font-size: 12.5px; }
.engine-core { align-self: center; background: linear-gradient(150deg, rgba(46,107,240,0.28), rgba(107,58,125,0.32)); border: 1px solid rgba(127,168,244,0.5); border-radius: var(--radius-lg); padding: 26px 22px; text-align: center; box-shadow: 0 0 0 1px rgba(127,168,244,0.18), 0 20px 50px rgba(11,31,77,0.55); }
.engine-core .core-kicker { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--blue-300); font-weight: 700; }
.engine-core strong { display: block; font-size: 20px; color: #fff; margin: 6px 0 8px; }
.engine-core p { margin: 0; font-size: 13px; color: #c9d2e8; }
.engine-arrow { display: flex; align-items: center; justify-content: center; padding: 0 14px; color: var(--blue-300); }
.engine-arrow svg { width: 30px; height: 18px; }
.engine-caption { text-align: center; color: #93a0bf; font-size: 13px; margin-top: 26px; }

/* ============================================================ CAPABILITIES GRID (unique layout #3) */
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cap-tile { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 24px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.cap-tile::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--grad-brand); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.cap-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.cap-tile:hover::before { transform: scaleX(1); }
.cap-icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; background: var(--grad-brand-soft); color: var(--blue-700); margin-bottom: 16px; }
.cap-icon svg { width: 24px; height: 24px; }
.cap-tile h3 { margin: 0 0 8px; font-size: 18px; color: var(--brand-800); }
.cap-tile p { margin: 0; color: var(--muted); font-size: 15px; }

/* ============================================================ ALTERNATING FEATURE ROWS (unique layout #4) */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 24px 0; }
.feature-row + .feature-row { margin-top: 24px; border-top: 1px solid var(--border); padding-top: 48px; }
.feature-row .fr-media { background: var(--grad-brand-soft); border: 1px solid var(--border); border-radius: var(--radius-lg); min-height: 240px; padding: 28px; display: flex; align-items: center; justify-content: center; }
.feature-row.is-reversed .fr-text { order: 2; }
.feature-row.is-reversed .fr-media { order: 1; }
.feature-row .fr-tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--blue-600); margin-bottom: 10px; }
.feature-row h3 { margin: 0 0 12px; font-size: clamp(22px, 3vw, 28px); color: var(--brand-800); letter-spacing: -0.3px; }
.feature-row p { color: var(--muted); margin: 0 0 16px; }

/* Mock UI panel used inside feature-row media */
.mock-panel { width: 100%; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.mock-panel .mock-head { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--bg-offwhite); border-bottom: 1px solid var(--border); }
.mock-panel .mock-head i { width: 9px; height: 9px; border-radius: 50%; background: var(--blue-100); display: inline-block; }
.mock-panel .mock-head span { margin-left: 8px; font-size: 12px; font-weight: 700; color: var(--brand-800); text-transform: uppercase; letter-spacing: .4px; }
.mock-panel .mock-body { padding: 16px 18px; font-size: 13.5px; line-height: 1.6; color: var(--muted); }
.mock-panel .mock-body .ml { color: var(--brand-800); font-weight: 600; }
.mock-line { height: 9px; border-radius: 6px; background: var(--bg-offwhite); margin: 9px 0; }
.mock-line.w70 { width: 70%; } .mock-line.w50 { width: 50%; } .mock-line.w85 { width: 85%; }
.mock-line.is-blue { background: var(--blue-100); }
.cite-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; color: var(--blue-700); background: var(--blue-050); border: 1px solid var(--blue-100); padding: 3px 9px; border-radius: 999px; margin: 3px 4px 0 0; }

/* ============================================================ Steps / pipeline */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 20px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); }
.step::before { counter-increment: step; content: counter(step); display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--grad-brand); color: #fff; font-weight: 700; font-size: var(--text-md); margin-bottom: 14px; box-shadow: var(--shadow-blue); }
.step h3 { margin-top: 0; font-size: 18px; color: var(--brand-800); }
.step p { font-size: 15px; color: var(--muted); margin-bottom: 0; }

.pipeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 28px 0 8px; counter-reset: step; }
.pipeline.cols-3 { grid-template-columns: repeat(3, 1fr); }
.pipeline.cols-5 { grid-template-columns: repeat(5, 1fr); }
.pipeline-step { position: relative; padding: 0 16px; text-align: center; }
.pipeline-step::before { counter-increment: step; content: counter(step); display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: 0 auto 14px; border-radius: 50%; background: var(--blue-600); color: #fff; font-weight: 700; font-size: 18px; position: relative; z-index: 1; }
.pipeline-step::after { content: ""; position: absolute; top: 22px; left: -50%; width: 100%; height: 2px; background: var(--border); z-index: 0; }
.pipeline-step:first-child::after { display: none; }
.pipeline-step h4 { margin: 0 0 6px; font-size: 16px; color: var(--brand-800); }
.pipeline-step p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.5; }
.section-engine .pipeline-step::before { background: var(--blue-500); box-shadow: 0 0 16px rgba(46,107,240,0.6); }
.section-engine .pipeline-step::after { background: rgba(127,168,244,0.3); }
.section-engine .pipeline-step h4 { color: #fff; }
.section-engine .pipeline-step p { color: #aebbdb; }

/* Stats */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; text-align: center; }
.stat-number { font-size: clamp(30px, 4vw, 46px); font-weight: 800; line-height: 1.05; letter-spacing: -1px; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-label { font-size: 14px; color: var(--muted); margin-top: 6px; }
.section-engine .stat-number, .section-dark .stat-number { background: none; -webkit-text-fill-color: #fff; color: #fff; }
.section-engine .stat-label, .section-dark .stat-label { color: #aebbdb; }

/* Audience cards */
.audience-card { background: #fff; padding: 26px; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; text-decoration: none; color: var(--text); display: block; }
.audience-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.audience-card h3 { color: var(--brand-800); margin-top: 0; }
.audience-card p { color: var(--muted); margin-bottom: 10px; }
.audience-card .card-link { color: var(--blue-600); font-weight: 700; font-size: var(--text-sm); }

/* Solution index tiles */
.sol-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sol-tile { display: block; text-decoration: none; color: var(--text); background: #fff; border: 1px solid var(--border); border-left: 4px solid var(--blue-600); border-radius: var(--radius); padding: 20px 22px; transition: transform .15s, box-shadow .15s, border-left-color .15s; }
.sol-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-left-color: var(--brand-600); }
.sol-tile h3 { margin: 0 0 6px; font-size: 16.5px; color: var(--brand-800); }
.sol-tile p { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.sol-tile .sol-kicker { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--blue-600); }

/* Checklist (capability list) */
.checklist { list-style: none; padding: 0; margin: 16px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; }
.checklist li { position: relative; padding-left: 30px; line-height: 1.5; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--blue-050) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231E5FE0' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat; }
.checklist li strong { color: var(--brand-800); }

/* Safety / trust badges */
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.trust-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.trust-card .ti { display: inline-flex; width: 44px; height: 44px; border-radius: 12px; align-items: center; justify-content: center; background: var(--grad-brand-soft); color: var(--blue-700); margin-bottom: 14px; }
.trust-card .ti svg { width: 22px; height: 22px; }
.trust-card h3 { margin: 0 0 8px; font-size: 17px; color: var(--brand-800); }
.trust-card p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* Stance band — the facilitation "hard line" statement. A bold branded
   gradient band (NOT a generic card): accent rail + uppercase kicker + large
   statement. Reusable: any <div class="guardrail"><p><strong>Kicker:</strong>…</p></div>. */
.guardrail { position: relative; background: var(--grad-brand); color: #fff; padding: 38px 40px 38px 56px; border-radius: 16px; margin: 8px 0; overflow: hidden; box-shadow: 0 14px 40px rgba(11,31,77,.20); }
.guardrail::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--blue-500); }
.guardrail::after { content: ""; position: absolute; right: -50px; top: -50px; width: 180px; height: 180px; background: radial-gradient(circle, rgba(255,255,255,.12), transparent 70%); pointer-events: none; }
.guardrail strong { display: block; text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 700; color: var(--blue-100); margin-bottom: 10px; }
.guardrail p { margin: 0; color: #fff; font-size: 19px; line-height: 1.55; font-weight: 500; position: relative; }
.guardrail a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--blue-300); }
.guardrail a:hover { text-decoration-color: #fff; }
@media (max-width: 640px) { .guardrail { padding: 28px 22px 28px 34px; } .guardrail p { font-size: 17px; } }

/* FAQ disclosure */
.disclosure-list { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.disclosure-item { border-bottom: 1px solid var(--border); }
.disclosure-item:last-child { border-bottom: none; }
.disclosure-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; font-size: 16px; font-weight: 600; color: var(--text); cursor: pointer; background: #fff; }
.disclosure-item summary::-webkit-details-marker { display: none; }
.disclosure-item summary::after { content: ''; flex-shrink: 0; width: 18px; height: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%231E5FE0' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat center; transition: transform .2s ease; }
.disclosure-item[open] summary::after { transform: rotate(180deg); }
.disclosure-item summary:hover { background: var(--bg-offwhite); }
.disclosure-item summary:focus-visible { outline: 3px solid var(--blue-500); outline-offset: -3px; }
.disclosure-body { padding: 4px 20px 20px; color: var(--muted); line-height: 1.7; }

/* Forms */
.form { max-width: 720px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.field input, .field textarea, .field select { width: 100%; padding: 12px; border-radius: 10px; border: 1px solid #d6dce8; font: inherit; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 3px solid var(--blue-500); outline-offset: 0; border-color: var(--blue-600); }
.field select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7'%3E%3Cpath fill='%235a6478' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 14px center; padding-right: 36px; }
.hp { display: none; }

/* Breadcrumb */
.breadcrumb { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--blue-600); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* Content prose */
.content-section { margin-bottom: 40px; max-width: 760px; }
.content-section h2 { margin-bottom: 14px; }
.content-section p { margin-bottom: 12px; }
.content-section h3 { color: var(--brand-800); margin-top: 28px; }

/* ============================================================ Footer */
.site-footer { border-top: 1px solid var(--border); margin-top: 64px; padding: 40px 0 32px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 48px; }
.brand-small { font-weight: 700; color: var(--brand-800); }
.brand-small b { color: var(--blue-600); }
.footer-nav a { color: #2a3247; text-decoration: none; margin-left: 16px; }
.footer-nav a:hover { color: var(--blue-600); }
.footer-links { display: flex; flex-wrap: wrap; gap: 32px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--border); }
.footer-col { min-width: 150px; }
.footer-col h4 { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.5px; color: var(--brand-800); margin: 0 0 10px; }
.footer-col a { display: block; color: var(--muted); text-decoration: none; font-size: var(--text-sm); padding: 3px 0; }
.footer-col a:hover { color: var(--blue-600); }
.footer-fine { margin-top: 24px; font-size: 12.5px; color: var(--muted); max-width: 880px; line-height: 1.6; }

/* ============================================================ Responsive (mobile-first guardrails) */
@media (max-width: 960px) {
  .hero-split .container { grid-template-columns: 1fr; gap: 36px; padding-top: 56px; padding-bottom: 56px; }
  .hero-split .hero-figure { order: 2; }
  .engine-diagram { grid-template-columns: 1fr; gap: 14px; }
  .engine-arrow { transform: rotate(90deg); padding: 4px 0; }
  .feature-row, .feature-row.is-reversed { grid-template-columns: 1fr; gap: 24px; }
  .feature-row.is-reversed .fr-text, .feature-row.is-reversed .fr-media { order: initial; }
  /* Top-fold variants stack on tablet/phone */
  .hero-aside > .container { grid-template-columns: 1fr; gap: 32px; padding-top: 60px; padding-bottom: 60px; }
  .hero-aside .hero-figure, .hero-aside .hero-rail { order: 2; }
  .hero-flow { display: grid; grid-auto-flow: row; justify-content: stretch; gap: 12px; width: 100%; }
  .hero-flow .engine-arrow { transform: rotate(90deg); padding: 4px 0; }
  .hero-stat .hero-statband { grid-template-columns: repeat(2, 1fr); gap: 20px 18px; }
  .hero-banner { min-height: 52vh; }
  .hero-banner > .container { padding-top: 92px; }
  /* New archetype shells stack; mirror reorders so TEXT comes first on mobile */
  .tf-split > .container, .tf-split.is-mirror > .container { grid-template-columns: 1fr; gap: 34px; padding-top: 56px; padding-bottom: 56px; }
  .tf-split .tf-figure { order: 2; }
  .tf-split .tf-text { order: 1; }
  .tf-split.is-mirror .tf-figure { order: 2; }
  .tf-split.is-mirror .tf-text { order: 1; }
  .numerals { grid-template-columns: repeat(2, 1fr); gap: 26px 24px; }
  .icon-cluster { grid-template-columns: 1fr; }
  .tf-bleed { min-height: 54vh; }
  .tf-bleed > .container { padding-top: 96px; }
  .orb-figure { min-height: 220px; }
}
@media (max-width: 560px) {
  .hero-stat .hero-statband { grid-template-columns: 1fr 1fr; }
  .numerals { grid-template-columns: 1fr 1fr; gap: 22px 18px; }
}
@media (max-width: 900px) {
  :root { --page-gap: 12px; }
  .grid-2, .grid-3, .grid-4, .steps, .stats-row, .cap-grid, .sol-grid, .trust-grid, .checklist { grid-template-columns: 1fr; }
  .nav { height: auto; padding: 12px 24px; gap: 10px; display: grid; grid-template-columns: 1fr auto; align-items: center; }
  .menu-toggle { display: inline-flex; }
  .main-nav { width: 100%; display: none; flex-direction: column; align-items: flex-start; gap: 6px; padding-top: 6px; margin-top: 10px; }
  .main-nav.open { display: flex; }
  #site-menu { grid-column: 1 / -1; }
  .main-nav a { margin-left: 0; padding: 9px 2px; }
  .main-nav .signin { margin-left: 0; width: fit-content; }
  .nav-dropdown { display: block; width: 100%; }
  .nav-dropdown-menu { display: none; position: static; transform: none; box-shadow: none; border: none; border-radius: 0; padding: 0 0 0 12px; min-width: 0; }
  .nav-dropdown.open > .nav-dropdown-menu { display: block; }
  .nav-dropdown:hover > .nav-dropdown-menu { display: none; }
  .nav-dropdown.open:hover > .nav-dropdown-menu { display: block; }
  .nav-dropdown-menu a { padding: 5px 0; }
  .nav-dropdown-menu .dropdown-label { padding: 6px 0 2px; }
  .pipeline, .pipeline.cols-3, .pipeline.cols-5 { grid-template-columns: 1fr; }
  .pipeline-step { padding: 0 0 24px; }
  .pipeline-step::after { display: none; }
  .footer-inner { flex-direction: column; align-items: flex-start; text-align: left; }
  .footer-nav a { margin-left: 0; margin-right: 16px; }
}
@media (min-width: 901px) and (max-width: 1120px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .cap-grid, .sol-grid, .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
