/* ==========================================================================
   Gecko AI Platform — marketing site design system
   Shares brand DNA with geckoengage.com (DM Sans, #004C97 blue, #8DE971
   green, #9ADBE8 sky, grid textures) and adds a darker, more technical
   "operating system" character: navy stages, mono labels, product mock UI.
   ========================================================================== */

:root {
  --navy-950: #050f27;
  --navy-900: #06132f;
  --navy: #091a41;
  --navy-2: #0d2453;
  --navy-3: #13306a;
  --blue: #004c97;
  --blue-500: #1463b8;
  --cyan: #00b3ff;
  --sky: #9adbe8;
  --green: #8de971;
  --green-300: #a9f090;
  --green-ink: #2b7a3d;
  --green-wash: #e8f9e2;
  --amber: #f3b643;
  --amber-wash: #fff4d9;
  --red: #e5484d;
  --ink: #16233d;
  --slate: #536176;
  --slate-2: #6b7a8f;
  --line: #dce5ee;
  --line-2: #e8eef4;
  --mist: #f5f8fb;
  --ice: #eef6fa;
  --white: #ffffff;
  --on-dark: rgba(255, 255, 255, 0.92);
  --on-dark-2: rgba(255, 255, 255, 0.66);
  --on-dark-3: rgba(255, 255, 255, 0.45);
  --line-dark: rgba(255, 255, 255, 0.12);
  --panel-dark: rgba(255, 255, 255, 0.05);
  --shadow-sm: 0 6px 18px rgba(9, 26, 65, 0.06);
  --shadow: 0 24px 70px rgba(9, 26, 65, 0.13);
  --shadow-lg: 0 40px 100px rgba(3, 10, 30, 0.45);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 26px;
  --font-display: 'Manrope', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --header-h: 72px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--ink); background: var(--white); font: 400 16px/1.6 var(--font-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
body.nav-open { overflow: hidden; }
:target { scroll-margin-top: calc(var(--header-h) + 64px); }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); line-height: 1.08; letter-spacing: -0.035em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
code, kbd { font-family: var(--font-mono); }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.container { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }
.container-narrow { width: min(860px, calc(100% - 48px)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 1000; padding: 10px 16px; border-radius: 8px; color: var(--navy); background: var(--green); font-weight: 700; transform: translateY(-160%); transition: transform 0.2s; }
.skip-link:focus { transform: translateY(0); }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }

/* ---------- Buttons & links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border: 1px solid transparent; border-radius: 999px; font: 700 15px/1 var(--font-body); white-space: nowrap; transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s, box-shadow 0.2s, color 0.2s; }
.btn:hover { transform: translateY(-2px); }
.btn .icon { width: 18px; height: 18px; stroke-width: 2.2; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 13.5px; }
.btn-lg { min-height: 56px; padding: 0 26px; font-size: 16px; }
.btn-primary { color: var(--navy); background: var(--green); box-shadow: 0 10px 28px rgba(141, 233, 113, 0.2); }
.btn-primary:hover { background: var(--green-300); box-shadow: 0 14px 32px rgba(141, 233, 113, 0.3); }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.04); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.6); background: rgba(255, 255, 255, 0.09); }
.btn-dark { color: #fff; background: var(--navy); }
.btn-dark:hover { background: var(--navy-2); box-shadow: 0 12px 30px rgba(9, 26, 65, 0.25); }
.btn-outline { color: var(--navy); border-color: #c5d3e0; background: #fff; }
.btn-outline:hover { border-color: var(--navy); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-weight: 700; font-size: 14.5px; }
.link-arrow::after { content: '→'; transition: transform 0.2s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }
.on-dark .link-arrow, .link-arrow.light { color: var(--green); }
.link-ext::after { content: '↗'; }

/* ---------- Kickers, headings, text ---------- */
.kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; color: var(--blue); font: 600 12px/1.2 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; }
.kicker::before { content: ''; width: 8px; height: 8px; border-radius: 2px; background: var(--green); box-shadow: 0 0 0 4px rgba(141, 233, 113, 0.18); }
.on-dark .kicker, .kicker.light { color: var(--green); }
.eyebrow-pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border: 1px solid rgba(141, 233, 113, 0.3); border-radius: 999px; color: #d9ffd0; background: rgba(141, 233, 113, 0.08); font: 600 12px/1 var(--font-mono); letter-spacing: 0.04em; }
.eyebrow-pill b { padding: 4px 8px; border-radius: 999px; color: var(--navy); background: var(--green); font-weight: 700; }
.h-display { font-size: clamp(44px, 6vw, 80px); font-weight: 800; letter-spacing: -0.045em; }
.h1 { font-size: clamp(40px, 5vw, 66px); font-weight: 800; letter-spacing: -0.04em; }
.h2 { font-size: clamp(32px, 3.8vw, 52px); font-weight: 800; color: var(--navy); }
.h3 { font-size: clamp(22px, 2vw, 28px); font-weight: 700; color: var(--navy); }
.on-dark .h2, .on-dark .h3 { color: #fff; }
.accent { color: var(--green); }
.accent-blue { color: var(--blue); }
.lead { color: var(--slate); font-size: clamp(17px, 1.4vw, 19px); line-height: 1.65; }
.on-dark .lead { color: var(--on-dark-2); }
.muted { color: var(--slate); }
.small { font-size: 13px; }
.mono { font-family: var(--font-mono); }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(80px, 10vw, 128px) 0; }
.section-sm { padding: clamp(56px, 7vw, 88px) 0; }
.section-tint { background: var(--mist); }
.section-ice { background: var(--ice); }
.section-grid-bg { background-color: #fbfcfe; background-image: linear-gradient(var(--line-2) 1px, transparent 1px), linear-gradient(90deg, var(--line-2) 1px, transparent 1px); background-size: 56px 56px; background-position: center top; }
.section-dark { color: #fff; background: var(--navy); overflow: hidden; }
.section-dark.deep { background: var(--navy-900); }
.section-blue { color: #fff; background: linear-gradient(140deg, var(--blue), #003a75); overflow: hidden; }
.border-top { border-top: 1px solid var(--line); }
.section-head { max-width: 780px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head .lead { margin-top: 20px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .kicker { justify-content: center; }
.section-head.split { max-width: none; display: grid; grid-template-columns: 1.2fr 0.8fr; align-items: end; gap: 64px; }
.section-head.split .lead { margin: 0; }
.dark-grid { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse at 50% 0%, #000 10%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 10%, transparent 70%); }
.glow { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(10px); }
.glow-cyan { background: radial-gradient(circle, rgba(0, 179, 255, 0.22), transparent 68%); }
.glow-green { background: radial-gradient(circle, rgba(141, 233, 113, 0.15), transparent 70%); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h); color: #fff; transition: background 0.25s, box-shadow 0.25s, border-color 0.25s; border-bottom: 1px solid transparent; }
.site-header.scrolled, .site-header.menu-active { background: rgba(7, 20, 50, 0.92); border-color: var(--line-dark); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); }
.nav-shell { position: relative; height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand img { width: 102px; height: auto; }
.brand-divider { width: 1px; height: 22px; background: rgba(255, 255, 255, 0.3); }
.brand-product { font: 600 14px/1 var(--font-display); color: rgba(255, 255, 255, 0.82); letter-spacing: -0.01em; }
.primary-nav { flex: 1; display: flex; align-items: center; gap: 4px; }
.nav-list { display: flex; align-items: center; gap: 2px; margin-right: auto; }
.nav-item { position: static; }
.nav-link { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 13px; border: 0; border-radius: 999px; color: rgba(255, 255, 255, 0.84); background: transparent; font: 600 14.5px/1 var(--font-body); transition: background 0.2s, color 0.2s; }
.nav-link:hover, .nav-item.open > .nav-link { color: #fff; background: rgba(255, 255, 255, 0.08); }
.nav-link[aria-current='page'], .nav-link.is-current { color: #fff; }
.nav-link[aria-current='page']::after, .nav-link.is-current::after { content: ''; width: 5px; height: 5px; margin-left: 2px; border-radius: 50%; background: var(--green); }
.nav-link .chev { width: 14px; height: 14px; stroke-width: 2.2; opacity: 0.7; transition: transform 0.2s; }
.nav-item.open > .nav-link .chev { transform: rotate(180deg); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-ext { display: inline-flex; align-items: center; gap: 5px; padding: 0 10px; color: rgba(255, 255, 255, 0.7); font-size: 13.5px; font-weight: 600; }
.nav-ext:hover { color: #fff; }
.nav-ext .icon { width: 13px; height: 13px; }
.menu-toggle { display: none; width: 44px; height: 44px; margin-left: auto; padding: 0; border: 1px solid var(--line-dark); border-radius: 12px; background: rgba(255, 255, 255, 0.04); align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.menu-toggle span { width: 18px; height: 2px; border-radius: 2px; background: #fff; transition: transform 0.25s, opacity 0.2s; }
.menu-toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mega menu */
.mega { position: absolute; top: calc(100% - 4px); left: 50%; width: min(940px, calc(100vw - 48px)); padding: 10px; border: 1px solid rgba(9, 26, 65, 0.08); border-radius: 22px; color: var(--ink); background: #fff; box-shadow: 0 40px 90px rgba(3, 10, 30, 0.32); opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity 0.18s, transform 0.18s var(--ease), visibility 0.18s; }
.mega::before { content: ''; position: absolute; inset: -16px 0 auto; height: 16px; }
.nav-item.open > .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega-sm { width: min(560px, calc(100vw - 48px)); }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr 250px; gap: 4px; }
.mega-sm .mega-grid { grid-template-columns: 1fr 1fr; }
.mega-link { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; padding: 14px; border-radius: 14px; transition: background 0.15s; }
.mega-link:hover, .mega-link:focus-visible { background: var(--mist); }
.mega-link .mi { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 11px; color: var(--blue); background: #eaf3fc; }
.mega-link:hover .mi { color: var(--navy); background: var(--green); }
.mega-link .mi .icon { width: 20px; height: 20px; }
.mega-link b { display: block; color: var(--navy); font: 700 15px/1.3 var(--font-display); letter-spacing: -0.01em; }
.mega-link span { display: block; margin-top: 3px; color: var(--slate); font-size: 13px; line-height: 1.45; }
.mega-feature { grid-column: 3; grid-row: 1 / span 3; display: flex; flex-direction: column; padding: 22px; border-radius: 16px; color: #fff; background: var(--navy); background-image: radial-gradient(circle at 100% 0%, rgba(0, 179, 255, 0.28), transparent 55%), radial-gradient(circle at 0% 100%, rgba(141, 233, 113, 0.16), transparent 55%); }
.mega-feature small { color: var(--green); font: 600 11px/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; }
.mega-feature b { margin-top: 12px; font: 700 20px/1.2 var(--font-display); letter-spacing: -0.02em; }
.mega-feature p { margin-top: 10px; color: var(--on-dark-2); font-size: 13.5px; }
.mega-feature .link-arrow { margin-top: auto; padding-top: 18px; color: var(--green); font-size: 13.5px; }
.mega-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 6px; padding: 14px 16px; border-radius: 14px; background: var(--mist); font-size: 13px; color: var(--slate); }
.mega-foot a { color: var(--blue); font-weight: 700; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; padding: calc(var(--header-h) + clamp(56px, 7vw, 96px)) 0 clamp(64px, 8vw, 104px); color: #fff; background: var(--navy); }
.page-hero .glow-cyan { width: 760px; height: 760px; top: -380px; right: -220px; }
.page-hero .glow-green { width: 520px; height: 520px; bottom: -300px; left: 30%; }
.page-hero-layout { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: clamp(40px, 5vw, 72px); }
.page-hero-layout.single { grid-template-columns: minmax(0, 860px); }
.page-hero h1 { margin-top: 22px; font-size: clamp(38px, 4.4vw, 58px); font-weight: 800; letter-spacing: -0.045em; }
.page-hero h1 em { font-style: normal; color: var(--green); }
.page-hero .lead { margin-top: 22px; max-width: 600px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--on-dark-3); font: 500 12.5px/1 var(--font-mono); letter-spacing: 0.02em; }
.crumbs a { color: var(--on-dark-2); }
.crumbs a:hover { color: #fff; }
.crumbs span[aria-hidden] { opacity: 0.5; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line-dark); }
.hero-facts div { display: flex; flex-direction: column; gap: 2px; }
.hero-facts strong { font: 800 24px/1.1 var(--font-display); letter-spacing: -0.03em; }
.hero-facts span { color: var(--on-dark-3); font-size: 12.5px; }

/* ---------- Home hero ---------- */
.home-hero { position: relative; overflow: hidden; padding: calc(var(--header-h) + clamp(64px, 8vw, 110px)) 0 0; color: #fff; background: var(--navy); }
.home-hero .glow-cyan { width: 900px; height: 900px; top: -420px; right: -260px; }
.home-hero .glow-green { width: 600px; height: 600px; top: 280px; left: -260px; }
.home-hero-copy { position: relative; z-index: 2; max-width: 900px; margin-inline: auto; text-align: center; }
.home-hero-copy .eyebrow-pill { margin-inline: auto; }
.home-hero h1 { margin-top: 26px; }
.home-hero h1 span { color: var(--green); }
.home-hero .lead { max-width: 680px; margin: 24px auto 0; }
.home-hero .hero-actions { justify-content: center; }
.home-hero-stage { position: relative; z-index: 2; margin-top: clamp(48px, 6vw, 76px); }
.stage-frame { position: relative; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.18); border-bottom: 0; border-radius: 22px 22px 0 0; background: #0a1730; box-shadow: var(--shadow-lg); }
.stage-frame img { width: 100%; height: auto; aspect-ratio: 1440 / 900; object-fit: cover; object-position: top left; mask-image: linear-gradient(#000 70%, transparent); -webkit-mask-image: linear-gradient(#000 70%, transparent); }
.stage-bar { height: 40px; display: flex; align-items: center; gap: 7px; padding: 0 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); background: rgba(255, 255, 255, 0.03); }
.stage-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); }
.stage-bar span { margin-left: 12px; color: var(--on-dark-3); font: 500 11.5px var(--font-mono); }
.stage-callout { position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border: 1px solid rgba(255, 255, 255, 0.6); border-radius: 14px; color: var(--ink); background: rgba(255, 255, 255, 0.96); box-shadow: 0 18px 45px rgba(0, 0, 0, 0.3); }
.stage-callout > i { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; color: var(--navy); background: var(--green); font-style: normal; }
.stage-callout > i .icon { width: 18px; height: 18px; stroke-width: 2.2; }
.stage-callout b { display: block; font: 700 13.5px/1.2 var(--font-display); color: var(--navy); }
.stage-callout small { color: var(--slate-2); font-size: 12px; }
.callout-a { top: 62%; left: -28px; }
.callout-b { top: 52%; right: -28px; }
.stage-note { position: absolute; right: 18px; bottom: 30px; z-index: 3; color: var(--on-dark-3); font: 500 11px var(--font-mono); }

/* ---------- Logo strip ---------- */
.logo-strip { padding: 34px 0; background: #fff; border-bottom: 1px solid var(--line); }
.logo-strip-inner { display: flex; align-items: center; gap: 36px; }
.logo-strip p { flex: 0 0 auto; margin: 0; color: var(--navy); font-weight: 700; font-size: 14.5px; }
.logo-strip p b { color: var(--blue); }
.trust-logo-list { flex: 1; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px 30px; min-height: 48px; }
.trust-logo-list img { width: auto; max-width: 128px; max-height: 38px; object-fit: contain; filter: saturate(0.9); }
.trust-logo-list img.trust-logo-wide { max-width: 160px; }
.trust-logo-chip { padding: 6px 10px; border-radius: 8px; background: var(--navy); }
.trust-logo-list[data-rotating] { transition: opacity 0.45s ease; }
.trust-logo-list.is-fading { opacity: 0; }
.trust-wordmark { display: flex; flex-direction: column; line-height: 1.05; font-family: var(--font-display); }
.trust-wordmark b { color: var(--blue); font-size: 18px; letter-spacing: -0.04em; }
.trust-wordmark small { margin-top: 2px; color: #6c7b90; font-size: 8px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.trust-namemark { color: var(--navy); font: 700 15px var(--font-display); letter-spacing: -0.02em; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { position: relative; display: flex; flex-direction: column; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s; }
a.card:hover, .card.hoverable:hover { transform: translateY(-4px); border-color: #bcd0e3; box-shadow: var(--shadow); }
.card h3 { margin-top: 20px; color: var(--navy); font-size: 21px; font-weight: 700; letter-spacing: -0.025em; }
.card p { margin-top: 10px; color: var(--slate); font-size: 15px; }
.card .link-arrow { margin-top: auto; padding-top: 22px; }
.card-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 13px; color: var(--blue); background: #eaf3fc; }
.card-icon .icon { width: 22px; height: 22px; }
.card-icon.green { color: var(--green-ink); background: var(--green-wash); }
.card-icon.amber { color: #8a5a0b; background: var(--amber-wash); }
.card-dark { color: #fff; border-color: var(--line-dark); background: var(--panel-dark); }
.card-dark h3 { color: #fff; }
.card-dark p { color: var(--on-dark-2); }
.card-dark .card-icon { color: var(--green); background: rgba(141, 233, 113, 0.12); }
a.card-dark:hover { border-color: rgba(141, 233, 113, 0.45); background: rgba(255, 255, 255, 0.08); box-shadow: none; }
.card-num { position: absolute; top: 26px; right: 28px; color: #a9b6c4; font: 600 12px var(--font-mono); }
.card-dark .card-num { color: var(--on-dark-3); }
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border: 1px solid var(--line); border-radius: 8px; color: #45566d; background: var(--mist); font-size: 12.5px; font-weight: 600; line-height: 1.3; }
.tag.green { color: #2f6b3a; border-color: #cdeac5; background: #f1fbed; }
.tag.blue { color: var(--blue); border-color: #cfe0f1; background: #eef5fc; }
.on-dark .tag, .card-dark .tag { color: var(--on-dark-2); border-color: var(--line-dark); background: rgba(255, 255, 255, 0.05); }
.check-list { display: flex; flex-direction: column; gap: 12px; }
.check-list li { position: relative; padding-left: 30px; color: #334259; font-size: 15px; line-height: 1.5; }
.check-list li::before { content: ''; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 6px; background: var(--green-wash) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232b7a3d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat; }
.check-list li b { color: var(--navy); }
.on-dark .check-list li { color: var(--on-dark-2); }
.on-dark .check-list li b { color: #fff; }
.on-dark .check-list li::before { background-color: rgba(141, 233, 113, 0.14); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238de971' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E"); }

/* Pillar explorer (home) */
.explorer { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 20px; }
.explorer-tabs { display: flex; flex-direction: column; gap: 6px; }
.explorer-tab { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; width: 100%; padding: 14px; border: 1px solid transparent; border-radius: 16px; background: transparent; text-align: left; transition: background 0.2s, border-color 0.2s; }
.explorer-tab:hover { background: rgba(255, 255, 255, 0.05); }
.explorer-tab[aria-selected='true'] { border-color: var(--line-dark); background: rgba(255, 255, 255, 0.08); }
.explorer-tab .mi { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; color: var(--on-dark-2); background: rgba(255, 255, 255, 0.06); transition: background 0.2s, color 0.2s; }
.explorer-tab[aria-selected='true'] .mi { color: var(--navy); background: var(--green); }
.explorer-tab b { display: block; color: #fff; font: 700 16px/1.25 var(--font-display); letter-spacing: -0.015em; }
.explorer-tab small { display: block; margin-top: 2px; color: var(--on-dark-3); font-size: 13px; line-height: 1.4; }
.explorer-panel { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 36px; align-items: center; min-height: 480px; padding: clamp(24px, 3vw, 40px); border: 1px solid var(--line-dark); border-radius: var(--radius-lg); background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)); }
.explorer-panel[hidden] { display: none; }
.explorer-panel h3 { color: #fff; font-size: clamp(26px, 2.6vw, 34px); font-weight: 800; }
.explorer-panel p { margin-top: 14px; color: var(--on-dark-2); }
.explorer-panel .check-list { margin-top: 22px; }
.explorer-panel .check-list li { font-size: 14.5px; }
.explorer-panel .panel-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; }

/* Stat cards */
.stat-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.stat-row > div { padding: 28px; border-right: 1px solid var(--line); }
.stat-row > div:last-child { border-right: 0; }
.stat-row strong { display: block; color: var(--navy); font: 800 clamp(34px, 3.4vw, 46px)/1 var(--font-display); letter-spacing: -0.05em; }
.stat-row strong span { color: var(--blue); }
.stat-row p { margin-top: 10px; color: var(--slate); font-size: 14px; }
.on-dark .stat-row { border-color: var(--line-dark); background: var(--panel-dark); }
.on-dark .stat-row > div { border-color: var(--line-dark); }
.on-dark .stat-row strong { color: #fff; }
.on-dark .stat-row strong span { color: var(--green); }
.on-dark .stat-row p { color: var(--on-dark-2); }

/* Evidence (case studies) */
.evidence-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.evidence-card { min-height: 300px; display: flex; flex-direction: column; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s; }
.evidence-card:hover { transform: translateY(-4px); border-color: #bcd0e3; box-shadow: var(--shadow); }
.evidence-logo { height: 52px; display: flex; align-items: center; }
.evidence-logo img { width: auto; max-width: 160px; max-height: 48px; object-fit: contain; object-position: left center; }
.evidence-wordmark { height: 52px; display: flex; flex-direction: column; justify-content: center; font-family: var(--font-display); line-height: 1.05; }
.evidence-wordmark b { color: var(--blue); font-size: 22px; letter-spacing: -0.04em; }
.evidence-wordmark small { margin-top: 4px; color: #6c7b90; font-size: 8px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.evidence-card > strong { margin-top: 22px; color: var(--navy); font: 800 50px/1 var(--font-display); letter-spacing: -0.055em; }
.evidence-card > strong span { font-size: 0.4em; letter-spacing: -0.02em; }
.evidence-card p { margin: 14px 0 22px; color: var(--slate); font-size: 14px; }
.evidence-card .link-arrow { margin-top: auto; font-size: 13.5px; }
.footnote { margin-top: 18px; color: var(--slate-2); font-size: 12.5px; }

/* Feature rows (split copy + visual) */
.feature-row { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(40px, 6vw, 88px); }
.feature-row + .feature-row { margin-top: clamp(80px, 10vw, 128px); }
.feature-row.flip > .feature-copy { order: 2; }
.feature-copy .h2 { font-size: clamp(30px, 3.2vw, 44px); }
.feature-copy .lead { margin-top: 18px; font-size: 17px; }
.feature-copy .check-list { margin-top: 26px; }
.feature-copy .link-arrow { margin-top: 26px; }
.feature-visual { min-width: 0; }

/* Proof statement */
.proof-line { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; padding: 26px 28px; border-left: 3px solid var(--green); border-radius: 0 16px 16px 0; background: #f3faf0; }
.proof-line p { color: var(--navy); font: 700 clamp(18px, 1.6vw, 22px)/1.4 var(--font-display); letter-spacing: -0.02em; }
.proof-line .q { color: var(--green-ink); font: 800 42px/0.8 var(--font-display); }
.on-dark .proof-line { background: rgba(141, 233, 113, 0.07); }
.on-dark .proof-line p { color: #fff; }
.on-dark .proof-line .q { color: var(--green); }

/* Spec tiles (e.g. step types, detectors) */
.spec-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.spec { display: flex; flex-direction: column; gap: 6px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: border-color 0.2s, box-shadow 0.2s; }
.spec:hover { border-color: #bcd0e3; box-shadow: var(--shadow-sm); }
.spec-head { display: flex; align-items: center; gap: 10px; }
.spec-head i { width: 30px; height: 30px; display: grid; place-items: center; flex: 0 0 30px; border-radius: 9px; color: var(--blue); background: #eaf3fc; font: 700 12px var(--font-mono); font-style: normal; }
.spec-head i .icon { width: 16px; height: 16px; }
.spec b { color: var(--navy); font: 700 14.5px/1.3 var(--font-display); letter-spacing: -0.01em; }
.spec p { color: var(--slate); font-size: 13px; line-height: 1.5; }
.spec[data-group='ai'] .spec-head i { color: #5b3fb0; background: #f0ebfd; }
.spec[data-group='retrieval'] .spec-head i { color: #00739f; background: #e3f6fd; }
.spec[data-group='act'] .spec-head i { color: var(--green-ink); background: var(--green-wash); }
.spec[data-group='human'] .spec-head i { color: #8a5a0b; background: var(--amber-wash); }
.spec-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 20px; color: var(--slate); font-size: 13px; }
.spec-legend span { display: inline-flex; align-items: center; gap: 8px; }
.spec-legend i { width: 12px; height: 12px; border-radius: 4px; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.filter-bar button { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--slate); font-size: 13.5px; font-weight: 600; transition: all 0.15s; }
.filter-bar button:hover { border-color: #bcd0e3; color: var(--navy); }
.filter-bar button[aria-pressed='true'] { border-color: var(--navy); color: #fff; background: var(--navy); }
.spec[hidden] { display: none; }

/* Table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.data-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.data-table caption { padding: 18px 22px 0; text-align: left; color: var(--slate); font-size: 13px; }
.data-table th, .data-table td { padding: 15px 22px; border-bottom: 1px solid var(--line-2); text-align: left; vertical-align: top; }
.data-table thead th { color: var(--slate-2); background: var(--mist); font: 600 11.5px/1.2 var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; }
.data-table tbody th { color: var(--navy); font-weight: 700; white-space: nowrap; }
.data-table tbody tr:last-child > * { border-bottom: 0; }
.data-table td { color: var(--slate); }
.yes { color: var(--green-ink); font-weight: 800; }
.no { color: #a9b6c4; }

/* Steps / process */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.steps.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.step { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.step::before { counter-increment: step; content: '0' counter(step); display: block; color: var(--blue); font: 600 12px var(--font-mono); letter-spacing: 0.06em; }
.step h3 { margin-top: 18px; color: var(--navy); font-size: 20px; }
.step p { margin: 10px 0 18px; color: var(--slate); font-size: 14.5px; }
.step .step-owner { display: inline-block; margin-top: auto; padding-top: 14px; margin-bottom: 0; padding-top: 14px; border-top: 1px solid var(--line); color: var(--blue); font: 600 11.5px var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; }
.on-dark .step { border-color: var(--line-dark); background: var(--panel-dark); }
.on-dark .step h3 { color: #fff; }
.on-dark .step p { color: var(--on-dark-2); }
.on-dark .step::before { color: var(--green); }

/* Sub-nav (in-page) */
.subnav { position: sticky; top: var(--header-h); z-index: 50; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.subnav-inner { display: flex; align-items: center; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.subnav-inner::-webkit-scrollbar { display: none; }
.subnav-label { flex: 0 0 auto; margin-right: 14px; color: var(--navy); font: 700 14px var(--font-display); }
.subnav a { position: relative; flex: 0 0 auto; padding: 16px 12px; color: var(--slate); font-size: 14px; font-weight: 600; white-space: nowrap; }
.subnav a:hover { color: var(--navy); }
.subnav a.active { color: var(--navy); }
.subnav a.active::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--blue); }

/* Related / next pages */
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.related { display: flex; align-items: center; gap: 16px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: transform 0.2s var(--ease), border-color 0.2s, box-shadow 0.2s; }
.related:hover { transform: translateY(-3px); border-color: #bcd0e3; box-shadow: var(--shadow-sm); }
.related .card-icon { flex: 0 0 46px; }
.related small { display: block; color: var(--slate-2); font: 600 11px var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; }
.related b { display: block; margin-top: 3px; color: var(--navy); font: 700 17px/1.25 var(--font-display); letter-spacing: -0.015em; }
.related::after { content: '→'; margin-left: auto; color: var(--blue); font-weight: 700; transition: transform 0.2s; }
.related:hover::after { transform: translateX(4px); }

/* FAQ */
.faq-layout { display: grid; grid-template-columns: 0.75fr 1.25fr; align-items: start; gap: clamp(40px, 7vw, 100px); }
.faq-layout .section-head { position: sticky; top: calc(var(--header-h) + 40px); margin-bottom: 0; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; padding: 18px 0; color: var(--navy); font: 700 17px/1.4 var(--font-display); letter-spacing: -0.01em; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; width: 30px; height: 30px; display: grid; place-items: center; flex: 0 0 30px; border: 1px solid var(--line); border-radius: 50%; color: var(--blue); font: 500 18px/1 var(--font-body); transition: transform 0.2s, background 0.2s; }
.faq-list details[open] summary::after { content: '−'; background: var(--mist); }
.faq-list details p { padding: 0 54px 26px 0; color: var(--slate); font-size: 15.5px; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; padding: clamp(80px, 10vw, 120px) 0; color: #fff; background: var(--navy); }
.cta-band .dark-grid { mask-image: radial-gradient(ellipse at 50% 50%, #000 10%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 10%, transparent 70%); }
.cta-band .glow-cyan { width: 700px; height: 700px; top: -300px; right: -200px; }
.cta-band .glow-green { width: 600px; height: 600px; bottom: -340px; left: -140px; }
.cta-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.2fr 0.8fr; align-items: center; gap: 60px; }
.cta-inner h2 { font-size: clamp(34px, 3.8vw, 52px); font-weight: 800; }
.cta-inner .lead { margin-top: 20px; }
.cta-card { padding: 30px; border: 1px solid var(--line-dark); border-radius: var(--radius-lg); background: rgba(255, 255, 255, 0.06); }
.cta-card .check-list { margin-bottom: 26px; }
.cta-card .btn { width: 100%; }
.cta-card .alt { display: block; margin-top: 14px; color: var(--on-dark-2); font-size: 14px; text-align: center; }
.cta-card .alt a { color: var(--green); font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer { padding: 80px 0 28px; color: var(--on-dark-2); background: var(--navy-900); }
.footer-top { display: grid; grid-template-columns: 1.1fr 2fr; gap: 64px; padding-bottom: 56px; }
.footer-brand p { max-width: 320px; margin-top: 18px; font-size: 14.5px; }
.footer-brand .footer-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.footer-brand .footer-badges span { padding: 6px 10px; border: 1px solid var(--line-dark); border-radius: 8px; color: var(--on-dark-2); font: 500 11.5px var(--font-mono); }
.footer-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.footer-cols h2 { margin-bottom: 16px; color: #fff; font: 700 13px/1 var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; }
.footer-cols ul { display: flex; flex-direction: column; gap: 10px; }
.footer-cols a { font-size: 14px; transition: color 0.15s; }
.footer-cols a:hover { color: var(--green); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: 13px; }
.footer-bottom nav { display: flex; gap: 20px; }
.footer-bottom a:hover { color: #fff; }

/* ==========================================================================
   Product mock UI — HTML/CSS illustrations of the real console
   ========================================================================== */
.mock { position: relative; overflow: hidden; border: 1px solid #d5e0ea; border-radius: 18px; background: #fff; box-shadow: var(--shadow); color: var(--ink); font-size: 13px; }
.mock-dark { border-color: rgba(255, 255, 255, 0.16); background: #0d1f45; color: var(--on-dark); box-shadow: var(--shadow-lg); }
.mock-bar { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 16px; border-bottom: 1px solid var(--line-2); background: #fbfcfe; }
.mock-dark .mock-bar { border-color: rgba(255, 255, 255, 0.08); background: rgba(255, 255, 255, 0.03); }
.mock-bar .dots { display: flex; gap: 6px; }
.mock-bar .dots i { width: 9px; height: 9px; border-radius: 50%; background: #d9e1ea; }
.mock-dark .mock-bar .dots i { background: rgba(255, 255, 255, 0.16); }
.mock-bar b { font: 700 13px var(--font-display); color: var(--navy); letter-spacing: -0.01em; }
.mock-dark .mock-bar b { color: #fff; }
.mock-bar .pill { margin-left: auto; }
.mock-body { padding: 18px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 999px; font: 600 11px/1.2 var(--font-mono); white-space: nowrap; }
.pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill.ok { color: var(--green-ink); background: var(--green-wash); }
.pill.wait { color: #8a5a0b; background: var(--amber-wash); }
.pill.info { color: var(--blue); background: #e8f1fb; }
.pill.bad { color: #b42318; background: #fdecec; }
.pill.plain::before { display: none; }
.mock-dark .pill.ok { color: var(--green); background: rgba(141, 233, 113, 0.12); }
.mock-dark .pill.wait { color: var(--amber); background: rgba(243, 182, 67, 0.12); }
.mock-dark .pill.info { color: var(--sky); background: rgba(154, 219, 232, 0.12); }
.mock-label { display: block; margin-bottom: 6px; color: var(--slate-2); font: 600 10px/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; }
.mock-dark .mock-label { color: var(--on-dark-3); }
.mock-field { padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: #334259; line-height: 1.55; }
.mock-dark .mock-field { border-color: rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.04); color: var(--on-dark); }
.mock-field + .mock-label, .mock-row + .mock-label { margin-top: 14px; }
.mock-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tok { padding: 1px 5px; border-radius: 5px; color: #5b3fb0; background: #f0ebfd; font: 500 12px var(--font-mono); }
.mock-dark .tok { color: #c9b8ff; background: rgba(160, 130, 255, 0.16); }
.chip-row { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: #3a4a61; font-size: 12px; font-weight: 600; }
.chip .box { width: 14px; height: 14px; display: grid; place-items: center; border-radius: 4px; color: var(--navy); background: var(--green); font-size: 9px; font-weight: 900; }
.chip .box.off { background: var(--line); color: transparent; }
.mock-dark .chip { border-color: rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.04); color: var(--on-dark); }
.toggle { position: relative; width: 30px; height: 18px; flex: 0 0 30px; border-radius: 999px; background: var(--green); }
.toggle::after { content: ''; position: absolute; top: 2px; right: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; }
.toggle.off { background: #cfd9e3; }
.toggle.off::after { right: auto; left: 2px; }
.mock-list { display: flex; flex-direction: column; }
.mock-list > div { display: flex; align-items: center; gap: 12px; padding: 11px 2px; border-bottom: 1px solid var(--line-2); }
.mock-list > div:last-child { border-bottom: 0; }
.mock-dark .mock-list > div { border-color: rgba(255, 255, 255, 0.07); }
.mock-list .grow { flex: 1; min-width: 0; }
.mock-list b { display: block; color: var(--navy); font-size: 13px; }
.mock-dark .mock-list b { color: #fff; }
.mock-list small { display: block; color: var(--slate-2); font-size: 11.5px; }
.mock-dark .mock-list small { color: var(--on-dark-3); }
.mock-ico { width: 30px; height: 30px; display: grid; place-items: center; flex: 0 0 30px; border-radius: 9px; color: var(--blue); background: #eaf3fc; font: 700 10px var(--font-mono); }
.mock-ico .icon { width: 16px; height: 16px; }
.mock-dark .mock-ico { color: var(--sky); background: rgba(154, 219, 232, 0.1); }
.mock-ico.g { color: var(--green-ink); background: var(--green-wash); }
.mock-dark .mock-ico.g { color: var(--green); background: rgba(141, 233, 113, 0.12); }
.mock-ico.a { color: #8a5a0b; background: var(--amber-wash); }
.mock-ico.p { color: #5b3fb0; background: #f0ebfd; }
.meter { height: 6px; border-radius: 999px; background: var(--line-2); overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--cyan)); }
.mock-dark .meter { background: rgba(255, 255, 255, 0.08); }

/* Chat mock */
.chat { display: flex; flex-direction: column; gap: 12px; }
.msg { max-width: 86%; padding: 11px 13px; border-radius: 14px; line-height: 1.5; font-size: 13px; }
.msg.bot { align-self: flex-start; border-top-left-radius: 4px; color: #2b3a52; background: #eef3f8; }
.msg.user { align-self: flex-end; border-top-right-radius: 4px; color: #fff; background: var(--blue); }
.msg .cite { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.msg .cite span { padding: 3px 7px; border: 1px solid #d3dee9; border-radius: 6px; background: #fff; color: var(--blue); font: 500 10.5px var(--font-mono); }
.mock-dark .msg.bot { color: var(--on-dark); background: rgba(255, 255, 255, 0.07); }
.mock-dark .msg .cite span { border-color: rgba(255, 255, 255, 0.12); background: rgba(255, 255, 255, 0.05); color: var(--sky); }
.composer { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 10px 10px 10px 14px; border: 1px solid var(--line); border-radius: 12px; color: var(--slate-2); }
.composer b { margin-left: auto; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; color: var(--navy); background: var(--green); }
.mock-dark .composer { border-color: rgba(255, 255, 255, 0.12); color: var(--on-dark-3); }

/* Trace mock */
.trace { position: relative; display: flex; flex-direction: column; gap: 4px; }
.trace::before { content: ''; position: absolute; top: 14px; bottom: 14px; left: 14px; width: 1px; background: var(--line); }
.mock-dark .trace::before { background: rgba(255, 255, 255, 0.1); }
.tr { position: relative; display: grid; grid-template-columns: 29px 1fr auto; gap: 12px; align-items: center; padding: 7px 0; }
.tr > i { z-index: 1; width: 29px; height: 29px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); color: var(--blue); background: #fff; font: 700 10px var(--font-mono); font-style: normal; }
.mock-dark .tr > i { border-color: rgba(255, 255, 255, 0.14); color: var(--sky); background: #0d1f45; }
.tr > i.g { color: var(--green-ink); border-color: #bfe5b3; background: var(--green-wash); }
.mock-dark .tr > i.g { color: var(--green); border-color: rgba(141, 233, 113, 0.4); background: #10304a; }
.tr > i.a { color: #8a5a0b; border-color: #f0d596; background: var(--amber-wash); }
.mock-dark .tr > i.a { color: var(--amber); border-color: rgba(243, 182, 67, 0.4); background: #2a2a3a; }
.tr b { display: block; color: var(--navy); font-size: 12.5px; }
.mock-dark .tr b { color: #fff; }
.tr small { display: block; color: var(--slate-2); font: 500 11px/1.4 var(--font-mono); }
.mock-dark .tr small { color: var(--on-dark-3); }
.tr em { color: var(--slate-2); font: 500 11px var(--font-mono); font-style: normal; }
.mock-dark .tr em { color: var(--on-dark-3); }

/* Workflow canvas mock */
.canvas { position: relative; min-height: 440px; background-color: #fbfcfe; background-image: radial-gradient(#d3dee8 1px, transparent 1px); background-size: 18px 18px; }
.mock-dark .canvas { background-color: #0b1b3d; background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px); }
.wf { position: absolute; display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: center; width: 200px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 8px 20px rgba(9, 26, 65, 0.07); }
.mock-dark .wf { border-color: rgba(255, 255, 255, 0.14); background: #122a58; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25); }
.wf > i { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; color: var(--blue); background: #eaf3fc; font: 700 12px var(--font-mono); font-style: normal; }
.wf small { display: block; color: var(--slate-2); font: 600 9px/1.2 var(--font-mono); letter-spacing: 0.07em; text-transform: uppercase; }
.wf b { display: block; color: var(--navy); font-size: 12.5px; line-height: 1.3; }
.mock-dark .wf small { color: var(--on-dark-3); }
.mock-dark .wf b { color: #fff; }
.wf.t-ai > i { color: #5b3fb0; background: #f0ebfd; }
.wf.t-ret > i { color: #00739f; background: #e3f6fd; }
.wf.t-act > i { color: var(--green-ink); background: var(--green-wash); }
.wf.t-hum > i { color: #8a5a0b; background: var(--amber-wash); }
.wf.t-hum { border-color: #f0d596; box-shadow: 0 0 0 4px rgba(243, 182, 67, 0.14), 0 8px 20px rgba(9, 26, 65, 0.07); }
.mock-dark .wf.t-ai > i { color: #c9b8ff; background: rgba(160, 130, 255, 0.16); }
.mock-dark .wf.t-ret > i { color: var(--sky); background: rgba(154, 219, 232, 0.12); }
.mock-dark .wf.t-act > i { color: var(--green); background: rgba(141, 233, 113, 0.12); }
.mock-dark .wf.t-hum > i { color: var(--amber); background: rgba(243, 182, 67, 0.14); }
.mock-dark .wf.t-hum { border-color: rgba(243, 182, 67, 0.5); box-shadow: 0 0 0 4px rgba(243, 182, 67, 0.1); }
.wires { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.wires path { fill: none; stroke: #a7b8c8; stroke-width: 1.5; }
.mock-dark .wires path { stroke: rgba(255, 255, 255, 0.25); }
.wires path.live { stroke: var(--green); stroke-dasharray: 5 6; animation: dash 1.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -22; } }

/* Code block */
.code { overflow-x: auto; padding: 18px 20px; border-radius: 14px; color: #d3def0; background: #071430; font: 500 13px/1.7 var(--font-mono); white-space: pre; }
.code .c { color: #6f84a8; }
.code .k { color: #c9b8ff; }
.code .s { color: var(--green); }
.code .a { color: var(--sky); }

/* Architecture stack (platform overview) */
.arch { display: flex; flex-direction: column; gap: 10px; }
.arch-layer { display: grid; grid-template-columns: 190px 1fr; gap: 16px; align-items: stretch; padding: 14px; border: 1px solid var(--line-dark); border-radius: 18px; background: var(--panel-dark); transition: border-color 0.2s, background 0.2s; }
.arch-layer:hover { border-color: rgba(141, 233, 113, 0.45); background: rgba(255, 255, 255, 0.07); }
.arch-name { display: flex; flex-direction: column; justify-content: center; padding: 6px 8px; }
.arch-name small { color: var(--green); font: 600 11px var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; }
.arch-name b { margin-top: 6px; color: #fff; font: 700 17px/1.2 var(--font-display); }
.arch-cells { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; }
.arch-cell { display: flex; flex-direction: column; justify-content: center; gap: 4px; min-height: 76px; padding: 12px 14px; border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 12px; background: rgba(255, 255, 255, 0.04); transition: background 0.2s, border-color 0.2s; }
a.arch-cell:hover { border-color: rgba(141, 233, 113, 0.5); background: rgba(141, 233, 113, 0.08); }
.arch-cell b { color: #fff; font-size: 14px; font-weight: 700; }
.arch-cell span { color: var(--on-dark-3); font-size: 12px; line-height: 1.4; }
.arch-layer.kernel { border-color: rgba(141, 233, 113, 0.35); background: linear-gradient(90deg, rgba(141, 233, 113, 0.1), rgba(0, 179, 255, 0.06)); }

/* Region map */
.regions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.region { padding: 20px; border: 1px solid var(--line-dark); border-radius: 16px; background: var(--panel-dark); }
.region small { color: var(--green); font: 600 11px var(--font-mono); letter-spacing: 0.06em; }
.region b { display: block; margin-top: 8px; color: #fff; font: 700 20px var(--font-display); letter-spacing: -0.02em; }
.region span { display: block; margin-top: 4px; color: var(--on-dark-3); font-size: 13px; }

/* Logos (text marks for integrations) */
.logo-wall { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.logo-tile { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 18px; min-height: 108px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.logo-tile b { color: var(--navy); font: 700 15px/1.2 var(--font-display); letter-spacing: -0.01em; }
.logo-tile small { color: var(--slate-2); font: 500 11px var(--font-mono); }
.logo-tile .lt-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; color: #fff; font: 800 12px var(--font-display); }
.logo-tile .lt-mark img { width: 22px; height: 22px; object-fit: contain; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: 0.08s; }
.js .reveal.d2 { transition-delay: 0.16s; }
.js .reveal.d3 { transition-delay: 0.24s; }

/* ---------- Contact form embed ---------- */
.form-shell { padding: clamp(20px, 3vw, 32px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); }
.form-shell iframe { width: 100%; border: 0; }

/* ---------- 404 ---------- */
.nf { min-height: 100vh; display: grid; place-items: center; text-align: center; }
.nf code { color: var(--green); font-size: 14px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .nav-link { padding: 0 10px; font-size: 14px; }
  .nav-ext { display: none; }
  .callout-a { left: 12px; }
  .callout-b { right: 12px; }
  .spec-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .logo-wall { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
  :root { --header-h: 66px; }
  .menu-toggle { display: inline-flex; }
  /* backdrop-filter would make the header the containing block for the fixed drawer */
  body.nav-open .site-header { background: var(--navy); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .eyebrow-pill { font-size: 11px; letter-spacing: 0; }
  .primary-nav { position: fixed; inset: var(--header-h) 0 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px 32px; overflow-y: auto; background: var(--navy); border-top: 1px solid var(--line-dark); }
  .primary-nav.open { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; margin: 0; }
  .nav-item { border-bottom: 1px solid var(--line-dark); }
  .nav-link { width: 100%; height: 58px; justify-content: space-between; padding: 0 4px; border-radius: 0; font-size: 17px; background: transparent !important; }
  .nav-link[aria-current='page']::after, .nav-link.is-current::after { margin-left: 8px; margin-right: auto; }
  .mega { position: static; width: auto; padding: 0 0 14px; border: 0; border-radius: 0; color: #fff; background: transparent; box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none; }
  .mega::before { display: none; }
  .nav-item.open > .mega { display: block; transform: none; }
  .mega-grid, .mega-sm .mega-grid { grid-template-columns: 1fr; }
  .mega-link { padding: 10px 6px; }
  .mega-link:hover { background: rgba(255, 255, 255, 0.05); }
  .mega-link .mi { color: var(--green); background: rgba(141, 233, 113, 0.1); }
  .mega-link b { color: #fff; }
  .mega-link span { color: var(--on-dark-3); }
  .mega-feature { grid-column: auto; grid-row: auto; flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; margin-top: 4px; padding: 14px 16px; background: rgba(255, 255, 255, 0.06); background-image: none; }
  .mega-feature b, .mega-feature p { display: none; }
  .mega-feature .link-arrow { margin: 0; padding: 0; }
  .mega-foot { margin-top: 4px; color: var(--on-dark-3); background: rgba(255, 255, 255, 0.04); }
  .mega-foot a { color: var(--green); }
  .nav-actions { flex-direction: column; align-items: stretch; margin-top: 24px; }
  .nav-actions .btn { min-height: 54px; }
  .nav-ext { display: inline-flex; justify-content: center; padding: 14px; }
  .page-hero-layout, .feature-row, .cta-inner, .faq-layout, .section-head.split { grid-template-columns: 1fr; }
  .feature-row.flip > .feature-copy { order: 0; }
  .section-head.split { gap: 20px; }
  .faq-layout .section-head { position: static; }
  .explorer { grid-template-columns: 1fr; }
  .explorer-tabs { flex-direction: row; overflow-x: auto; scrollbar-width: none; }
  .explorer-tab { flex: 0 0 auto; width: auto; grid-template-columns: 36px auto; padding: 10px 14px 10px 10px; }
  .explorer-tab .mi { width: 36px; height: 36px; }
  .explorer-tab small { display: none; }
  .explorer-panel { grid-template-columns: 1fr; min-height: 0; }
  .grid-4, .evidence-grid, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-row > div:nth-child(2) { border-right: 0; }
  .stat-row > div:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .on-dark .stat-row > div:nth-child(-n + 2) { border-color: var(--line-dark); }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .arch-layer { grid-template-columns: 1fr; }
  .arch-cells { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .container, .container-narrow { width: calc(100% - 32px); }
  .grid-2, .grid-3, .grid-4, .evidence-grid, .steps, .steps.three, .related-grid, .regions { grid-template-columns: 1fr; }
  .spec-grid { grid-template-columns: 1fr 1fr; }
  .logo-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .logo-strip-inner { flex-direction: column; align-items: flex-start; gap: 18px; }
  .trust-logo-list { justify-content: flex-start; }
  .stage-callout { display: none; }
  .home-hero .hero-actions .btn, .page-hero .hero-actions .btn { width: 100%; }
  .card { padding: 24px; }
  .canvas { min-height: 520px; }
  .mock { font-size: 12px; }
  .faq-list details p { padding-right: 0; }
  .brand img { width: 88px; }
  .brand-product { font-size: 13px; }
}

@media (max-width: 480px) {
  .spec-grid { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr; }
  .stat-row > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat-row > div:last-child { border-bottom: 0; }
  .arch-cells { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Rotating client strip (JS-rendered) */
.client-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 28px; }
@media (max-width: 760px) { .client-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.client-chip { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.client-chip i { width: 36px; height: 36px; display: grid; place-items: center; flex: 0 0 36px; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.client-chip i.on-navy { border-color: var(--navy); background: var(--navy); }
.client-chip img { width: 26px; height: 26px; object-fit: contain; }
.client-chip b { max-width: 150px; color: var(--navy); font: 700 13px/1.25 var(--font-display); letter-spacing: -0.01em; }

/* Two-by-two stat block */
.stat-row.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stat-row.two > div:nth-child(2n) { border-right: 0; }
.stat-row.two > div:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
.on-dark .stat-row.two > div { border-color: var(--line-dark); }
.form-shell { color: var(--ink); }
.hero-facts a { color: var(--green); }

/* ---------- Page components (integrations, channels, solutions) ---------- */
.mock-bar .chip-row { flex-wrap: nowrap; overflow: hidden; }
@media (max-width: 760px) { .mock-bar .chip-row { display: none; } }
.logo-tile .lt-mark { flex: 0 0 auto; }
h3.kicker { font-size: 12px; letter-spacing: 0.08em; }
.flow-chain { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.flow-chain .fc { display: inline-flex; flex-direction: column; gap: 2px; min-width: 0; padding: 9px 12px; border: 1px solid var(--line); border-left: 3px solid var(--blue); border-radius: 10px; background: #fff; box-shadow: var(--shadow-sm); }
.flow-chain .fc small { color: var(--slate-2); font: 600 9.5px/1.2 var(--font-mono); letter-spacing: 0.07em; text-transform: uppercase; }
.flow-chain .fc b { color: var(--navy); font-size: 13px; line-height: 1.3; }
.flow-chain .fc.t-ai { border-left-color: #7c5cd6; }
.flow-chain .fc.t-ret { border-left-color: #00a3dd; }
.flow-chain .fc.t-act { border-left-color: #4caf50; }
.flow-chain .fc.t-hum { border-left-color: var(--amber); background: #fffcf3; }
.flow-chain .to { color: #9aabbd; font-weight: 700; }
.team-switch { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.team-switch a { display: flex; flex-direction: column; gap: 10px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s var(--ease); }
.team-switch a:hover { transform: translateY(-3px); border-color: #bcd0e3; box-shadow: var(--shadow-sm); }
.team-switch .card-icon { width: 38px; height: 38px; border-radius: 11px; }
.team-switch .card-icon .icon { width: 19px; height: 19px; }
.team-switch b { color: var(--navy); font: 700 14.5px/1.25 var(--font-display); letter-spacing: -0.01em; }
@media (max-width: 1024px) { .team-switch { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .team-switch { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* "And many more" integrations panel */
.more-integrations { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center; margin-top: 40px; padding: clamp(24px, 4vw, 44px); border-radius: var(--radius-lg); color: #fff; background: var(--navy); background-image: radial-gradient(circle at 100% 0%, rgba(0, 179, 255, 0.22), transparent 55%), radial-gradient(circle at 0% 100%, rgba(141, 233, 113, 0.14), transparent 55%); }
.more-integrations .kicker { color: var(--green); }
.more-integrations h3 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 800; }
.more-integrations p { margin-top: 12px; color: var(--on-dark-2); }
.more-integrations .btn-ghost { color: #fff; }
.more-ways { display: flex; flex-direction: column; gap: 10px; }
.more-ways li { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border: 1px solid var(--line-dark); border-radius: 14px; background: rgba(255, 255, 255, 0.05); color: var(--on-dark-2); font-size: 14px; line-height: 1.5; }
.more-ways .card-icon { flex: 0 0 40px; width: 40px; height: 40px; color: var(--green); background: rgba(141, 233, 113, 0.12); }
.more-ways b { display: block; margin-bottom: 2px; color: #fff; font: 700 15px/1.3 var(--font-display); }
@media (max-width: 1024px) { .more-integrations { grid-template-columns: 1fr; } }
