/* =============================================================================
   HexaBrain Systems — main stylesheet
   Structure: 1 Fonts · 2 Tokens · 3 Base · 4 Layout · 5 Header/Nav · 6 Buttons
              7 Components · 8 Home sections · 9 Forms · 10 Prose · 11 Footer
              12 Motion · 13 Responsive
   ========================================================================== */

/* 1 ─ Fonts (self-hosted: no third-party requests, GDPR-friendly, fast) */
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono-500-latin.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}

/* 2 ─ Design tokens */
:root {
  --font-sans: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* brand */
  --primary: #1F4FD1;
  --primary-strong: #1A43B5;
  --primary-ink: #1C46C2;   /* link colour on light, AA */
  --cyan: #3CC8BB;
  --violet: #5560C8;
  --amber: #D69A2D;
  --green: #18A06E;
  --grad: linear-gradient(120deg, #1F4FD1 0%, #2A7FD0 60%, #3CC8BB 100%);
  --grad-btn: linear-gradient(120deg, #1F4FD1 0%, #1A43B5 100%);

  /* dark surfaces */
  --d-0: #07101F;
  --d-1: #0B1730;
  --d-2: #10203D;
  --d-3: #172A4D;
  --d-line: rgba(150, 175, 230, .14);
  --d-line-2: rgba(150, 175, 230, .24);
  --d-ink: #EEF2FC;
  --d-muted: #A9B6D2;

  /* light surfaces */
  --l-0: #FFFFFF;
  --l-1: #F5F7FC;
  --l-2: #ECF0F8;
  --l-line: #E1E7F1;
  --l-ink: #0B1226;
  --l-ink-2: #2B3550;
  --l-muted: #56627A;

  --radius-s: 10px;
  --radius: 16px;
  --radius-l: 24px;
  --shadow: 0 1px 2px rgba(11,18,38,.06), 0 8px 24px -8px rgba(11,18,38,.12);
  --shadow-l: 0 2px 4px rgba(11,18,38,.05), 0 24px 48px -16px rgba(11,18,38,.22);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* 3 ─ Base */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; font-family: var(--font-sans); font-size: 1.0625rem; line-height: 1.65;
  color: var(--l-ink-2); background: var(--l-0); text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-weight: 750; line-height: 1.15; letter-spacing: -.022em; color: var(--l-ink); margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.35rem, 1.5rem + 3.4vw, 4.1rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; }
h2 { font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.75rem); letter-spacing: -.03em; }
h3 { font-size: clamp(1.15rem, 1.05rem + .4vw, 1.35rem); }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: var(--primary-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--primary-strong); }
ul, ol { padding-left: 1.2em; }
strong { color: var(--l-ink); font-weight: 700; }
::selection { background: rgba(31, 79, 209, .25); }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
main:focus { outline: none; }
.sr-only { 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: absolute; left: 16px; top: -100px; z-index: 1000; background: var(--l-0); color: var(--l-ink); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 12px; }
.icon { width: 1.15em; height: 1.15em; flex: none; }
.placeholder { background: rgba(214, 154, 45, .16); color: inherit; border-radius: 4px; padding: 0 .3em; outline: 1px dashed rgba(214,154,45,.6); }

/* 4 ─ Layout */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: calc(820px + var(--gutter) * 2); }
.section { padding-block: clamp(64px, 8vw, 112px); position: relative; }
.section-tight { padding-block: clamp(48px, 6vw, 80px); }
.section-paper { background: var(--l-1); }
.section-dark, .page-hero, .hero { background: var(--d-1); color: var(--d-muted); }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4, .section-dark strong,
.page-hero h1, .page-hero h2, .page-hero strong, .hero h1, .hero h2, .hero strong { color: var(--d-ink); }
.section-dark a:not(.btn), .page-hero a:not(.btn), .hero a:not(.btn) { color: #9FB8FF; }
.section-dark a:not(.btn):hover { color: #fff; }
.grid-bg { position: relative; isolation: isolate; }
.grid-bg::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--d-line) 1px, transparent 1px), linear-gradient(90deg, var(--d-line) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%); opacity: .4;
}
.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { font-size: 1.125rem; }
.lead { font-size: clamp(1.1rem, 1rem + .35vw, 1.3rem); line-height: 1.6; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: .78rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--primary-ink); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--grad); border-radius: 2px; }
.section-dark .eyebrow, .page-hero .eyebrow, .hero .eyebrow { color: var(--cyan); }
.text-grad { color: #7FA3FF; }
.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split-top { align-items: start; }
.stack > * + * { margin-top: 16px; }
.muted { color: var(--l-muted); }
.small { font-size: .92rem; }
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 16px; } .mt-2 { margin-top: 32px; } .mt-3 { margin-top: 48px; }
.mb-0 { margin-bottom: 0; }

/* 5 ─ Header / navigation */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(9, 19, 39, .94); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s, background .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--d-line); background: rgba(9, 19, 39, .92); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 24px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 44px; width: auto; }
.primary-nav { display: flex; align-items: center; gap: 20px; }
.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-list > li { position: relative; display: flex; align-items: center; }
.nav-link { display: block; padding: 10px 11px; color: #C9D3EA; text-decoration: none; font-size: .95rem; font-weight: 550; border-radius: 8px; white-space: nowrap; }
.nav-link:hover, .nav-link[aria-current="page"], .is-active > .nav-link { color: #fff; }
.nav-link[aria-current="page"], .is-active > .nav-link { box-shadow: inset 0 -2px 0 var(--cyan); border-radius: 0; }
.sub-toggle { display: inline-grid; place-items: center; width: 26px; height: 32px; margin-left: -8px; background: none; border: 0; color: #C9D3EA; cursor: pointer; border-radius: 6px; }
.sub-toggle .icon { width: 16px; height: 16px; transition: transform .2s; }
.sub-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.subnav {
  position: absolute; top: calc(100% + 10px); left: -16px; width: 560px; padding: 14px; border-radius: var(--radius);
  background: #0D1A33; border: 1px solid var(--d-line-2); box-shadow: 0 30px 60px -20px rgba(0,0,0,.6);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s;
}
.has-sub.is-open .subnav { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 1101px) {
  .has-sub:hover .subnav, .has-sub:focus-within .subnav { opacity: 1; visibility: visible; transform: none; }
}
.subnav ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.subnav li a { display: flex; gap: 12px; align-items: flex-start; padding: 10px; border-radius: 10px; text-decoration: none; color: var(--d-ink); }
.subnav li a:hover, .subnav li a[aria-current="page"] { background: rgba(31, 79, 209, .14); }
.subnav strong { display: block; color: var(--d-ink); font-size: .93rem; font-weight: 650; }
.subnav small { display: block; color: var(--d-muted); font-size: .8rem; line-height: 1.4; }
.icon-tile { width: 34px; height: 34px; padding: 7px; border-radius: 9px; background: rgba(31, 79, 209, .16); color: #9FB8FF; }
.subnav-all { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; padding: 12px 10px 4px; border-top: 1px solid var(--d-line); color: var(--cyan) !important; text-decoration: none; font-weight: 600; font-size: .9rem; }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--d-line-2); background: transparent; color: #fff; cursor: pointer; place-items: center; }
.menu-toggle .icon { width: 22px; height: 22px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

/* 6 ─ Buttons */
.btn {
  --btn-pad: 14px 24px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: var(--btn-pad);
  font: 650 1rem/1.2 var(--font-sans); letter-spacing: -.005em; text-decoration: none; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer; transition: transform .18s var(--ease), box-shadow .18s, background .18s, color .18s, border-color .18s;
  white-space: nowrap; min-height: 48px;
}
.btn .icon { transition: transform .18s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn-primary { background: var(--grad-btn); color: #fff; box-shadow: 0 6px 18px -8px rgba(31, 79, 209, .6), inset 0 1px 0 rgba(255,255,255,.14); }
.btn-primary:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 10px 24px -8px rgba(31, 79, 209, .7), inset 0 1px 0 rgba(255,255,255,.18); background: linear-gradient(120deg, #2457E0 0%, #1A43B5 100%); }
.btn-ghost { background: rgba(255,255,255,.03); color: var(--d-ink); border-color: var(--d-line-2); }
.btn-ghost:hover { color: #fff; border-color: rgba(157, 178, 255, .6); background: rgba(31,79,209,.12); }
.btn-outline { background: #fff; color: var(--l-ink); border-color: #C9D2E3; }
.btn-outline:hover { color: var(--primary-ink); border-color: var(--primary); }
.btn-sm { --btn-pad: 9px 18px; min-height: 40px; font-size: .92rem; }
.btn-lg { --btn-pad: 17px 30px; font-size: 1.06rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; text-decoration: none; }
.link-arrow .icon { width: 1em; height: 1em; transition: transform .18s var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }

/* 7 ─ Components */
/* breadcrumbs */
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 28px; padding: 0; font-size: .85rem; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 6px; color: var(--d-muted); }
.breadcrumbs li + li::before { content: "/"; opacity: .5; }
.breadcrumbs a { color: #B5C3E3 !important; text-decoration: none; }
.breadcrumbs a:hover { color: #fff !important; text-decoration: underline; }

/* page hero */
.page-hero { padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 7vw, 96px); position: relative; overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; width: 720px; height: 720px; right: -220px; top: -340px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(31, 79, 209, .18), transparent); z-index: 0;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { max-width: 920px; font-size: clamp(2.2rem, 1.5rem + 2.8vw, 3.6rem); }
.page-hero .lead { max-width: 760px; color: #C3CEE6; }
.page-hero .btn-row { margin-top: 32px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 28px; font-size: .9rem; color: var(--d-muted); }
.hero-meta span { display: inline-flex; gap: 8px; align-items: center; }
.hero-meta .icon { color: var(--cyan); }

/* answer box (direct answers for search/AI) */
.answer { border-left: 3px solid var(--primary); background: linear-gradient(90deg, rgba(31,79,209,.07), transparent); padding: 20px 24px; border-radius: 0 var(--radius-s) var(--radius-s) 0; margin: 0 0 24px; }
.answer h2, .answer h3 { font-size: 1.1rem; margin-bottom: .4em; }
.answer p:last-child { margin-bottom: 0; }
.section-dark .answer { background: linear-gradient(90deg, rgba(31,79,209,.16), transparent); }

/* cards */
.card {
  position: relative; background: var(--l-0); border: 1px solid var(--l-line); border-radius: var(--radius);
  padding: clamp(22px, 2.4vw, 30px); transition: transform .2s var(--ease), box-shadow .2s, border-color .2s;
}
.card h3 { margin-bottom: .45em; }
.card p:last-child { margin-bottom: 0; }
.card-link:hover { transform: translateY(-3px); box-shadow: var(--shadow-l); border-color: #C8D2EA; }
.card-dark { background: linear-gradient(180deg, rgba(23, 42, 77, .7), rgba(16, 32, 61, .7)); border: 1px solid var(--d-line); color: var(--d-muted); }
.card-dark h3 { color: var(--d-ink); }
.card-dark.card-link:hover { border-color: rgba(120, 150, 255, .45); box-shadow: 0 24px 50px -24px rgba(31, 79, 209, .5); }
.card .stretched::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card-icon {
  display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; margin-bottom: 18px;
  background: rgba(31, 79, 209, .1); color: var(--primary);
}
.card-icon .icon { width: 26px; height: 26px; }
.tone-cyan .card-icon { background: rgba(60, 200, 187, .14); color: #0F8079; }
.tone-violet .card-icon { background: rgba(85, 96, 200, .13); color: #4650B8; }
.tone-amber .card-icon { background: rgba(214, 154, 45, .16); color: #A8741A; }
.tone-green .card-icon { background: rgba(24, 160, 110, .13); color: #13865D; }
.card-dark .card-icon { background: rgba(31, 79, 209, .18); color: #9FB8FF; }
.card-dark.tone-cyan .card-icon { background: rgba(60, 200, 187, .14); color: var(--cyan); }
.card-dark.tone-violet .card-icon { background: rgba(85, 96, 200, .18); color: #A9B2F5; }
.card-dark.tone-amber .card-icon { background: rgba(214, 154, 45, .16); color: #E8BD6A; }
.card-dark.tone-green .card-icon { background: rgba(24, 160, 110, .16); color: #5CCB98; }

/* service cards */
.service-card { display: flex; flex-direction: column; }
.service-card .uses { list-style: none; padding: 0; margin: 4px 0 18px; display: grid; gap: 6px; font-size: .93rem; }
.service-card .uses li { display: flex; gap: 8px; }
.service-card .uses .icon { width: 16px; height: 16px; margin-top: 4px; color: var(--green); }
.service-card .tech { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 20px; padding: 0; list-style: none; }
.service-card .link-arrow { margin-top: auto; }
.tag { display: inline-block; padding: 4px 10px; font-size: .76rem; font-weight: 600; border-radius: 999px; background: var(--l-2); color: var(--l-ink-2); }
.section-dark .tag, .card-dark .tag, .page-hero .tag { background: rgba(150, 175, 230, .1); color: #C5D0EA; border: 1px solid var(--d-line); }

/* check lists */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: rgba(24,160,110,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2313865D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center/14px no-repeat;
}
.section-dark .checks li::before, .page-hero .checks li::before { background-color: rgba(60,200,187,.14); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233CC8BB' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E"); }
.checks.cols-2 { grid-template-columns: 1fr 1fr; column-gap: 32px; }
.qlist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.qlist li { padding: 14px 18px; border-radius: 12px; background: var(--l-0); border: 1px solid var(--l-line); font-weight: 600; color: var(--l-ink); display: flex; gap: 12px; align-items: center; }
.qlist li::before { content: "?"; flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: rgba(31,79,209,.1); color: var(--primary); font-weight: 800; font-size: .9rem; }

/* callout / statement */
.statement {
  position: relative; margin: clamp(40px, 5vw, 64px) auto 0; max-width: 900px; text-align: center; padding: 32px clamp(20px, 4vw, 48px);
  border-radius: var(--radius-l); background: linear-gradient(var(--l-0), var(--l-0)) padding-box, var(--grad) border-box; border: 1.5px solid transparent;
}
.statement p { margin: 0; font-size: clamp(1.2rem, 1rem + .9vw, 1.6rem); font-weight: 700; color: var(--l-ink); letter-spacing: -.02em; line-height: 1.35; }
.section-dark .statement { background: linear-gradient(var(--d-2), var(--d-2)) padding-box, var(--grad) border-box; }
.section-dark .statement p { color: var(--d-ink); }

/* steps / timelines */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: step; }
.steps-h { grid-template-columns: repeat(5, minmax(0, 1fr)); position: relative; }
.steps-h::before { content: ""; position: absolute; top: 27px; left: 8%; right: 8%; height: 2px; background: linear-gradient(90deg, var(--cyan), var(--primary), var(--violet)); opacity: .35; }
.step { position: relative; counter-increment: step; }
.step-num {
  position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; margin-bottom: 18px;
  background: var(--l-0); border: 1px solid var(--l-line); box-shadow: var(--shadow); color: var(--primary);
}
.step-num .icon { width: 26px; height: 26px; }
.step-label { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--l-muted); }
.step h3 { margin: 4px 0 8px; font-size: 1.15rem; }
.step p { font-size: .95rem; margin: 0; }
.section-dark .step-num { background: var(--d-2); border-color: var(--d-line-2); color: var(--cyan); box-shadow: none; }
.section-dark .step-label { color: #8E9CBB; }

.vtimeline { list-style: none; margin: 0; padding: 0; position: relative; }
.vtimeline::before { content: ""; position: absolute; left: 27px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--cyan), var(--primary), var(--violet)); opacity: .35; }
.vt-item { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 24px; padding-bottom: 28px; }
.vt-item:last-child { padding-bottom: 0; }
.vt-dot { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--l-0); border: 1px solid var(--l-line); box-shadow: var(--shadow); font-weight: 800; color: var(--primary); font-size: 1.05rem; }
.vt-body { background: var(--l-0); border: 1px solid var(--l-line); border-radius: var(--radius); padding: 24px clamp(20px, 2.5vw, 30px); }
.vt-body h3 { margin-bottom: 6px; }
.vt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--l-line); }
.vt-grid h4 { font-family: var(--font-mono); font-weight: 500; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--l-muted); margin-bottom: 6px; }
.vt-grid p { font-size: .93rem; margin: 0; }
.vt-decision { margin-top: 14px; font-size: .93rem; display: flex; gap: 10px; align-items: flex-start; padding: 10px 14px; border-radius: 10px; background: rgba(214,154,45,.1); color: var(--l-ink-2); }
.vt-decision .icon { color: #A8741A; margin-top: 3px; }

/* platform badges */
.platforms { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; list-style: none; padding: 0; margin: 0; }
.platform {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px;
  background: rgba(150, 175, 230, .06); border: 1px solid var(--d-line); color: var(--d-ink); font-weight: 650; font-size: .95rem;
}
.platform .icon { width: 22px; height: 22px; color: var(--cyan); }
.platform small { display: block; font-weight: 500; color: var(--d-muted); font-size: .76rem; }
.section-paper .platform, .section-light .platform { background: var(--l-0); border-color: var(--l-line); color: var(--l-ink); }
.section-paper .platform small { color: var(--l-muted); }
.section-paper .platform .icon { color: var(--primary); }

/* architecture diagram (HTML, crawlable) */
.arch { display: grid; gap: 14px; position: relative; }
.arch-layer { border-radius: var(--radius); padding: 18px; border: 1px solid var(--d-line-2); background: rgba(16, 32, 61, .75); text-align: center; position: relative; }
.arch-layer h3 { font-family: var(--font-mono); font-weight: 500; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); margin-bottom: 12px; }
.arch-items { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; list-style: none; padding: 0; margin: 0; }
.arch-items li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 10px; background: rgba(150,175,230,.08); border: 1px solid var(--d-line); color: var(--d-ink); font-weight: 600; font-size: .9rem; }
.arch-items .icon { width: 18px; height: 18px; color: #9FB8FF; }
.arch-core { background: linear-gradient(135deg, rgba(31,79,209,.30), rgba(31,79,209,.14)); border-color: rgba(127,163,255,.45); }
.arch-arrow { display: grid; place-items: center; color: var(--cyan); height: 26px; position: relative; }
.arch-arrow::before { content: ""; width: 2px; height: 100%; background: linear-gradient(var(--cyan), transparent); }
.arch-arrow::after { content: ""; position: absolute; bottom: 0; width: 8px; height: 8px; border-right: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan); transform: rotate(45deg); opacity: .8; }

/* comparison table */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--l-line); background: var(--l-0); -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .97rem; }
caption { text-align: left; padding: 16px 20px; font-weight: 700; color: var(--l-ink); caption-side: top; }
th, td { padding: 16px 20px; text-align: left; vertical-align: top; border-top: 1px solid var(--l-line); }
thead th { background: var(--l-1); font-size: .85rem; letter-spacing: .02em; color: var(--l-ink); }
tbody th { color: var(--l-ink); font-weight: 650; width: 22%; }
thead th.hl, td.hl { background: rgba(31, 79, 209, .06); }
thead th.hl { color: var(--primary-ink); }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--l-0); border: 1px solid var(--l-line); border-radius: 14px; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: #C6D0EA; box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; display: flex; justify-content: space-between; gap: 16px; align-items: center; font-weight: 700; color: var(--l-ink); font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--l-2); color: var(--primary); font-size: 1.2rem; font-weight: 600; transition: transform .2s; }
.faq details[open] summary::after { content: "–"; }
.faq .faq-a { padding: 0 24px 20px; }
.faq .faq-a p:last-child { margin-bottom: 0; }
.faq-group + .faq-group { margin-top: 48px; }
.faq-group > h2 { font-size: 1.5rem; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-l); padding: clamp(36px, 5vw, 64px); background: var(--d-1); color: var(--d-muted); isolation: isolate; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px 300px at 85% 20%, rgba(31,79,209,.32), transparent 70%), radial-gradient(500px 260px at 10% 110%, rgba(60,200,187,.10), transparent 70%); }
.cta-band h2 { color: #fff; max-width: 720px; }
.cta-band p { max-width: 640px; font-size: 1.1rem; }
.cta-band .btn-row { margin-top: 28px; }
.cta-band-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.cta-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.cta-points li { display: flex; gap: 12px; align-items: center; color: #D5DDF0; font-weight: 550; }
.cta-points .icon { color: var(--cyan); width: 20px; height: 20px; }

/* trust / facts */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.fact { padding: 24px; border-radius: var(--radius); background: var(--l-0); border: 1px solid var(--l-line); }
.fact .fact-v { display: block; font-size: 1.6rem; font-weight: 800; color: var(--l-ink); letter-spacing: -.02em; margin-bottom: 4px; }
.fact p { margin: 0; font-size: .93rem; }

/* case study cards */
.case { display: grid; grid-template-columns: 1fr 1.3fr; gap: 0; overflow: hidden; padding: 0; }
.case-side { padding: clamp(24px, 3vw, 36px); background: var(--d-1); color: var(--d-muted); position: relative; }
.case-side h3 { color: #fff; }
.case-side dl { margin: 20px 0 0; display: grid; gap: 14px; }
.case-side dt { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: #8E9CBB; }
.case-side dd { margin: 2px 0 0; color: var(--d-ink); font-weight: 550; font-size: .95rem; }
.case-main { padding: clamp(24px, 3vw, 36px); }
.case-main dl { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 28px; margin: 0; }
.case-main dt { font-weight: 700; color: var(--l-ink); font-size: .95rem; margin-bottom: 4px; }
.case-main dd { margin: 0; font-size: .94rem; }
.ribbon { display: inline-flex; gap: 8px; align-items: center; padding: 6px 12px; border-radius: 999px; font-size: .76rem; font-weight: 700; background: rgba(214,154,45,.16); color: #E8BD6A; border: 1px dashed rgba(214,154,45,.5); }

/* article / insight cards */
.post-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.post-thumb { aspect-ratio: 16/8; background: var(--d-1); position: relative; overflow: hidden; display: grid; place-items: center; }
.post-thumb svg { width: 100%; height: 100%; }
.post-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; gap: 12px; flex-wrap: wrap; font-size: .82rem; color: var(--l-muted); margin-bottom: 10px; }
.post-body .link-arrow { margin-top: auto; }

/* engagement models */
.model { display: flex; flex-direction: column; }
.model dl { margin: 12px 0 20px; display: grid; gap: 12px; }
.model dt { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--l-muted); }
.model dd { margin: 2px 0 0; font-size: .95rem; }
.model .btn { margin-top: auto; align-self: flex-start; }

/* bring-us cards */
.stage-card { display: flex; gap: 18px; align-items: flex-start; }
.stage-card .card-icon { margin: 0; flex: none; }
.stage-card h3 { font-size: 1.12rem; }

/* deliverables */
.deliverables { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; list-style: none; padding: 0; margin: 0; }
.deliverables li { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 12px; background: var(--l-0); border: 1px solid var(--l-line); font-weight: 600; color: var(--l-ink); font-size: .94rem; }
.deliverables .icon { color: var(--primary); width: 20px; height: 20px; }
.note { display: flex; gap: 12px; align-items: flex-start; margin-top: 24px; padding: 14px 18px; border-radius: 12px; background: rgba(31,79,209,.06); border: 1px solid rgba(31,79,209,.18); font-size: .95rem; }
.note .icon { color: var(--primary); margin-top: 3px; }
.section-dark .note { background: rgba(31,79,209,.12); border-color: rgba(120,150,255,.3); }

/* audience tabs (no-JS: plain cards) */
.audience { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.audience .card { padding: 22px; }
.audience h3 { font-size: 1.05rem; }
.audience .quote { font-weight: 700; color: var(--l-ink); font-size: .98rem; margin-bottom: 8px; line-height: 1.4; }
.audience p { font-size: .92rem; }

/* 8 ─ Home: hero */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 72px) 0 0; }
.hero::after { content: ""; position: absolute; width: 900px; height: 900px; right: -260px; top: -300px; background: radial-gradient(closest-side, rgba(31,79,209,.20), transparent); pointer-events: none; z-index: 0; }
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.08fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero h1 { margin-bottom: 24px; font-size: clamp(2.3rem, 1.4rem + 2.9vw, 3.6rem); }
.hero .lead { color: #C3CEE6; max-width: 600px; margin-bottom: 32px; }
.hero-visual { position: relative; }
.hero-visual-svg { width: 100%; height: auto; overflow: visible; }
.hv-orbit { fill: none; stroke: var(--d-line-2); stroke-dasharray: 2 6; }
.hv-orbit-2 { stroke: rgba(60, 200, 187, .25); }
.hv-flow { fill: none; stroke: url(#hv-g); stroke-width: 1.4; stroke-dasharray: 3 7; opacity: .75; animation: hv-dash 2.6s linear infinite; animation-delay: var(--d); }
.hv-link { stroke: rgba(60, 200, 187, .5); stroke-width: 1.5; }
.hv-node rect { fill: #0F1F3B; stroke: rgba(140, 165, 255, .45); }
.hv-node use { color: var(--cyan); }
.hv-node text { fill: #E6ECFA; font: 600 12.5px var(--font-sans); }
.hv-node, .hv-chip { animation: hv-in .7s var(--ease) both; animation-delay: var(--d); }
.hv-chip rect { fill: #132447; stroke: rgba(60, 200, 187, .45); }
.hv-chip use { color: #9FB8FF; }
.hv-chip text { fill: #C9D3EA; font: 600 11px var(--font-sans); }
.hv-hex { fill: #1F4FD1; stroke: rgba(255,255,255,.22); stroke-width: 2; stroke-linejoin: round; }
.hv-pulse { fill: none; stroke: rgba(60, 200, 187, .6); stroke-width: 1.5; transform-origin: center; transform-box: fill-box; animation: hv-pulse 2.8s var(--ease) infinite; }
.hv-core-t { fill: #fff; font: 800 26px var(--font-sans); text-anchor: middle; letter-spacing: -.02em; }
.hv-core-s { fill: var(--cyan); font: 500 10px var(--font-mono); text-anchor: middle; letter-spacing: .2em; text-transform: uppercase; }
.flowline { list-style: none; margin: 8px 0 0; padding: 0; display: flex; justify-content: space-between; gap: 4px; flex-wrap: wrap; }
.flowline li { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; color: #8E9CBB; display: inline-flex; align-items: center; gap: 6px; }
.flowline li:not(:last-child)::after { content: "→"; color: #4C5C82; margin-left: 4px; }
.flowline li.on { color: var(--cyan); }
.hero-strip { margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--d-line); background: rgba(7, 16, 31, .55); position: relative; z-index: 1; }
.hero-strip ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); }
.hero-strip li + li { border-left: 1px solid var(--d-line); }
.hero-strip a { display: flex; align-items: center; gap: 12px; padding: 22px 18px; color: var(--d-ink); text-decoration: none; font-weight: 600; font-size: .93rem; line-height: 1.3; transition: background .2s; }
.hero-strip a:hover { background: rgba(31,79,209,.1); color: #fff; }
.hero-strip .icon { width: 30px; height: 30px; flex: none; }
.hs-1 .icon { color: #7FA3FF; } .hs-2 .icon { color: #A9B2F5; } .hs-3 .icon { color: var(--cyan); }
.hs-4 .icon { color: #E8BD6A; } .hs-5 .icon { color: #5CCB98; } .hs-6 .icon { color: #7FA3FF; }
.value-row { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 36px; color: #C3CEE6; font-size: .93rem; }
.value-row span { display: inline-flex; gap: 10px; align-items: center; }
.value-row .icon { color: var(--cyan); width: 20px; height: 20px; }

/* ecosystem (one idea, multiple experiences) */
.exp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; list-style: none; padding: 0; margin: 0 0 8px; }
.exp-grid li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--d-line); background: rgba(150,175,230,.05); color: var(--d-ink); font-weight: 600; font-size: .92rem; }
.exp-grid .icon { color: var(--cyan); width: 20px; height: 20px; }

/* 9 ─ Forms */
.form-card { background: var(--l-0); border: 1px solid var(--l-line); border-radius: var(--radius-l); padding: clamp(22px, 3.5vw, 44px); box-shadow: var(--shadow-l); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 650; color: var(--l-ink); font-size: .93rem; }
.field .opt { font-weight: 500; color: var(--l-muted); font-size: .85rem; }
.field .hint { font-size: .84rem; color: var(--l-muted); }
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], select, textarea {
  width: 100%; font: 500 1rem/1.4 var(--font-sans); color: var(--l-ink); background: var(--l-0);
  border: 1.5px solid #CBD3E3; border-radius: 12px; padding: 12px 14px; min-height: 48px; transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 150px; resize: vertical; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2356627A' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(31, 79, 209, .18); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #DC2626; }
.field-error { color: #B91C1C; font-size: .86rem; font-weight: 600; min-height: 0; }
.field-error:empty { display: none; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.choice-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; border: 1.5px solid #CBD3E3; font-weight: 600; font-size: .9rem; color: var(--l-ink-2); background: var(--l-0); transition: all .15s; }
.choice input:checked + span { border-color: var(--primary); background: rgba(31,79,209,.08); color: var(--primary-ink); }
.choice input:focus-visible + span { outline: 3px solid var(--cyan); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; }
.consent input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--primary); flex: none; }
.more-details { grid-column: 1 / -1; border: 1px dashed #C6D0E4; border-radius: 14px; padding: 4px 18px; }
.more-details summary { cursor: pointer; padding: 14px 0; font-weight: 700; color: var(--primary-ink); }
.more-details[open] { padding-bottom: 18px; }
.more-details .form-grid { margin-top: 6px; }
.hp { position: absolute !important; left: -9999px !important; }
.form-status { grid-column: 1 / -1; display: none; padding: 14px 18px; border-radius: 12px; font-weight: 600; }
.form-status.is-visible { display: flex; gap: 12px; align-items: flex-start; }
.form-status.success { background: rgba(24,160,110,.1); color: #065F46; border: 1px solid rgba(24,160,110,.3); }
.form-status.error { background: rgba(220,38,38,.07); color: #991B1B; border: 1px solid rgba(220,38,38,.25); }
.btn[aria-busy="true"] { opacity: .75; pointer-events: none; }
.btn[aria-busy="true"]::after { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; animation: spin .8s linear infinite; }
.contact-aside .card + .card { margin-top: 16px; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list .icon { color: var(--primary); margin-top: 4px; }

/* 10 ─ Prose (articles, legal) */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose p, .prose li { font-size: 1.08rem; }
.prose ul, .prose ol { margin: 0 0 1.2em; }
.prose li + li { margin-top: .35em; }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--primary); color: var(--l-ink); font-weight: 600; font-size: 1.15rem; }
.prose figure { margin: 2em 0; }
.prose figcaption { font-size: .88rem; color: var(--l-muted); margin-top: 10px; }
.prose .table-wrap { margin: 1.5em 0; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 64px; align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); padding: 20px; border-radius: var(--radius); border: 1px solid var(--l-line); background: var(--l-1); font-size: .92rem; }
.toc h2 { font-size: .8rem; font-family: var(--font-mono); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--l-muted); margin-bottom: 12px; }
.toc ol { margin: 0; padding-left: 1.1em; display: grid; gap: 8px; }
.toc a { text-decoration: none; color: var(--l-ink-2); }
.toc a:hover { color: var(--primary-ink); }
.author-box { display: flex; gap: 18px; align-items: flex-start; margin-top: 48px; padding: 24px; border-radius: var(--radius); background: var(--l-1); border: 1px solid var(--l-line); }
.avatar { flex: none; width: 56px; height: 56px; border-radius: 50%; background: #1F4FD1; display: grid; place-items: center; color: #fff; font-weight: 800; }
.author-box p { margin: 0; font-size: .95rem; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--d-muted); font-size: .92rem; margin-top: 20px; }
.related { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--l-line); }
.legal h2 { font-size: 1.4rem; }

/* 11 ─ Footer */
.site-footer { background: var(--d-0); color: var(--d-muted); padding: clamp(56px, 7vw, 88px) 0 28px; font-size: .95rem; }
.site-footer a { color: #C3CEE6; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-top { display: grid; grid-template-columns: 1.1fr 2fr; gap: clamp(32px, 5vw, 72px); }
.footer-brand p { margin: 20px 0; max-width: 380px; }
.footer-brand .btn { color: #fff; }
.footer-flow { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan); }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.footer-cols h2 { font-size: .8rem; font-family: var(--font-mono); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: #8E9CBB; margin: 0 0 14px; }
.footer-cols ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 9px; }
.footer-cols address { font-style: normal; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; word-break: break-word; }
.footer-contact .icon { color: var(--cyan); margin-top: 3px; width: 16px; height: 16px; }
.social { list-style: none; display: flex; gap: 10px; padding: 0; margin: 0; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--d-line-2); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--d-line); font-size: .86rem; }
.footer-bottom p { margin: 0; }
.mobile-cta { display: none; }

/* 404 */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.notfound .code { font-family: var(--font-mono); color: var(--cyan); letter-spacing: .2em; }

/* 12 ─ Motion */
@keyframes hv-dash { to { stroke-dashoffset: -40; } }
@keyframes hv-pulse { 0% { transform: scale(.9); opacity: .9; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes hv-in { from { opacity: 0; transform: translateY(6px); } }
@keyframes spin { to { transform: rotate(360deg); } }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hv-flow { stroke-dasharray: none; }
}

/* 13 ─ Responsive */
@media (max-width: 1220px) {
  .nav-link { padding: 10px 8px; font-size: .9rem; }
  .primary-nav { gap: 12px; }
}
@media (max-width: 1100px) {
  :root { --header-h: 64px; }
  .brand img { height: 38px; width: auto; }
  .menu-toggle { display: grid; }
  /* backdrop-filter would make the header the containing block for the fixed menu */
  .site-header, .site-header.is-scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: #091327; }
  .primary-nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 99; display: flex; flex-direction: column; align-items: stretch; gap: 20px;
    padding: 20px var(--gutter) 40px; background: #091327; overflow-y: auto;
    opacity: 0; transform: translateY(-10px); visibility: hidden; transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
  }
  .primary-nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { flex-wrap: wrap; border-bottom: 1px solid var(--d-line); }
  .nav-link { flex: 1; padding: 16px 4px; font-size: 1.08rem; }
  .nav-link[aria-current="page"], .is-active > .nav-link { box-shadow: none; color: var(--cyan); }
  .sub-toggle { width: 48px; height: 48px; margin: 0; }
  .subnav { position: static; width: 100%; display: none; opacity: 1; visibility: visible; transform: none; padding: 0 0 14px; background: none; border: 0; box-shadow: none; }
  .has-sub.is-open .subnav { display: block; }
  .subnav ul { grid-template-columns: 1fr; }
  .nav-cta { justify-content: center; }
  body.nav-open { overflow: hidden; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 620px; margin-inline: auto; width: 100%; }
  .hero-strip ul { grid-template-columns: repeat(3, 1fr); }
  .hero-strip li:nth-child(4) { border-left: 0; }
  .hero-strip li:nth-child(n+4) { border-top: 1px solid var(--d-line); }
  .audience { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; }
  .toc { position: static; }
}
@media (max-width: 960px) {
  .g-3, .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; }
  .steps-h { grid-template-columns: 1fr 1fr; }
  .steps-h::before { display: none; }
  .deliverables { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .exp-grid { grid-template-columns: repeat(2, 1fr); }
  .case { grid-template-columns: 1fr; }
  .cta-band-inner { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .vt-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; padding-bottom: 76px; }
  .g-2, .g-3, .g-4, .form-grid, .checks.cols-2, .case-main dl, .audience { grid-template-columns: 1fr; }
  .steps-h { grid-template-columns: 1fr; }
  .hero-strip ul { grid-template-columns: repeat(2, 1fr); }
  .hero-strip li { border-left: 0 !important; border-top: 1px solid var(--d-line); }
  .hero-strip li:nth-child(even) { border-left: 1px solid var(--d-line) !important; }
  .hero-strip a { padding: 16px 12px; font-size: .86rem; }
  .hero-strip .icon { width: 24px; height: 24px; }
  .btn-row .btn { width: 100%; }
  .deliverables { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .stage-card { flex-direction: column; }
  .vt-item { grid-template-columns: 40px 1fr; gap: 14px; }
  .vt-dot { width: 40px; height: 40px; font-size: .9rem; }
  .vtimeline::before { left: 19px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .mobile-cta { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90; box-shadow: 0 12px 30px -6px rgba(0,0,0,.45); }
  body.nav-open .mobile-cta, body.page-contact .mobile-cta { display: none; }
  .flowline li { font-size: .62rem; letter-spacing: .06em; }
}
@media print {
  .site-header, .site-footer, .mobile-cta, .btn { display: none !important; }
  .section-dark, .page-hero, .hero { background: #fff; color: #000; }
}

/* utilities added */
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.tags .tag { font-size: .84rem; padding: 6px 12px; }
.h3 { font-size: clamp(1.15rem, 1.05rem + .4vw, 1.35rem); letter-spacing: -.022em; }
.related-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.related-list a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--l-line); text-decoration: none; font-weight: 600; color: var(--l-ink); }
.related-list a:hover { color: var(--primary-ink); }
.related-list .icon { width: 16px; height: 16px; color: var(--primary); }
.pt-0 { padding-top: 0 !important; }
.statement-left { margin: 32px 0 0; text-align: left; padding: 24px 28px; }
.statement-left p { font-size: 1.2rem; }
.hero-meta a { color: #C3CEE6 !important; text-decoration: none; border-bottom: 1px dashed rgba(195,206,230,.4); padding-bottom: 2px; }
.hero-meta a:hover { color: #fff !important; border-bottom-color: var(--cyan); }
.card-dark h2, .card-dark h3, .card-dark strong { color: var(--d-ink); }
.card-dark dt { color: #8E9CBB; }
.card-dark dd, .card-dark p { color: var(--d-muted); }
.card-dark a:not(.btn) { color: #9FB8FF; }
.note.mt-0 { margin-top: 0; }
.kv { margin: 12px 0 0; display: grid; gap: 14px; }
.kv dt { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--l-muted); }
.kv dd { margin: 2px 0 0; color: var(--l-ink); font-weight: 550; }
.split-form { grid-template-columns: 1.6fr 1fr; }
@media (max-width: 960px) { .split-form { grid-template-columns: 1fr; } }
.notfound .lead { margin-inline: auto; }
.notfound .btn-row { justify-content: center; }

/* case-study cards */
.case-card { display: flex; flex-direction: column; gap: 14px; }
.case-card h3 { margin: 0; }
.case-card p { margin: 0; }
.case-tag { align-self: flex-start; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: #9FB8FF; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(127,163,255,.35); background: rgba(31,79,209,.16); }
.case-flow { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--d-line); font-family: var(--font-mono); font-size: .74rem; letter-spacing: .06em; color: #3CC8BB; }
.case-side .case-tag { margin-bottom: 14px; }
a.card { display: block; text-decoration: none; color: inherit; }
a.card.case-card { display: flex; }
.card-dark { background: linear-gradient(180deg, #13264A 0%, #0D1B36 100%); }
.case-side h2, .case-side h3 { color: #fff; }
.case-side a { color: #9FB8FF; }
.case-side a:hover { color: #fff; }
@media (min-width: 961px) { .steps-h.steps-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.case-card .link-arrow { color: #9FB8FF; font-size: .95rem; }
.case-card .link-arrow:hover { color: #fff; }
.case-card .case-flow { margin-top: auto; }
