/* =============================================================================
   Zivalo design system
   Mobile-first. Breakpoints: 768 (tablet), 1024 (desktop nav), 1280 (wide).
   Type: Geist (display + text), Geist Mono (eyebrows, labels, data).
   Colour: graphite + stone neutrals, Zivalo blue from the logo (#0078E2),
           teal "signal" accent used only for data-flow and live states.
   ============================================================================= */

:root {
  /* Brand */
  --brand: #0078E2;          /* sampled from the official logo */
  --brand-600: #0064BF;
  --brand-700: #00509A;
  --brand-50: #EEF5FD;
  --brand-100: #D6E8FB;
  --signal: #14A693;         /* secondary accent: data flow, available */
  --signal-soft: #E3F5F2;

  /* Neutrals */
  --paper: #F5F5F2;          /* light page background (warm stone) */
  --surface: #FFFFFF;        /* cards, forms */
  --surface-2: #EEEEEA;
  --text: #121419;
  --text-2: #2E323B;
  --muted: #5E6370;
  --subtle: #8A8F99;
  --border: #E2E2DD;
  --border-2: #D2D2CC;

  /* Dark sections */
  --night: #0E1014;
  --night-2: #161920;
  --night-3: #1F232C;
  --night-line: rgba(255, 255, 255, .10);
  --on-night: #ECEDEF;
  --on-night-2: #A5A9B3;

  /* Availability */
  --st-av: #0F7A5C;   --st-av-bg: #E2F3EC;
  --st-dev: #93600A;  --st-dev-bg: #FBF0D9;
  --st-pl: #555B68;   --st-pl-bg: #ECECE8;
  --st-wl: #00509A;   --st-wl-bg: #E3EEFB;

  /* Type */
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --fs-display: clamp(2.125rem, 1.45rem + 3.2vw, 4.25rem);
  --fs-h1: clamp(1.85rem, 1.35rem + 2.4vw, 3.25rem);
  --fs-h2: clamp(1.55rem, 1.2rem + 1.6vw, 2.5rem);
  --fs-h3: clamp(1.2rem, 1.08rem + .5vw, 1.5rem);
  --fs-lead: clamp(1.0625rem, 1rem + .35vw, 1.25rem);
  --fs-body: 1.0625rem;
  --fs-small: .9375rem;
  --fs-caption: .8125rem;
  --fs-eyebrow: .75rem;

  /* Space (8pt) */
  --s1: .25rem; --s2: .5rem; --s3: .75rem; --s4: 1rem; --s5: 1.5rem; --s6: 2rem;
  --s7: 2.5rem; --s8: 3rem; --s9: 4rem; --s10: 5rem;
  --section: 3.25rem;         /* mobile section padding */
  --gutter: 1.25rem;
  --container: 76rem;         /* 1216px */
  --header-h: 64px;
  --bottom-nav-h: 64px;

  --r-sm: 8px; --r-md: 14px; --r-lg: 20px; --r-xl: 28px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 1px 2px rgba(18, 20, 25, .05), 0 12px 32px -16px rgba(18, 20, 25, .18);
}
@media (min-width: 768px)  { :root { --section: 4.5rem; --gutter: 2rem; --header-h: 72px; } }
@media (min-width: 1280px) { :root { --section: 6rem; } }

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: 160ms ease-out both vt-out; }
::view-transition-new(root) { animation: 220ms ease-out both vt-in; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font: 400 1rem/1.6 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
@media (min-width: 768px) { body { font-size: var(--fs-body); } }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.02em; line-height: 1.12; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure, blockquote, dl, dd { margin: 0; }
svg { width: 1.25em; height: 1.25em; flex: none; }   /* safe default; components set explicit sizes */
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.section--dark :focus-visible, .site-footer :focus-visible { outline-color: #6FB4FF; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 16px; border-radius: 8px; background: var(--text); color: #fff; }
.skip-link:focus { top: 12px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(52rem + var(--gutter) * 2); }
.section { padding-block: var(--section); position: relative; }
.section--white { background: var(--surface); }
.section--tint { background: var(--surface-2); }
.section--dark { background: var(--night); color: var(--on-night); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--tight { padding-block: calc(var(--section) * .6); }
.section + .section--divided { border-top: 1px solid var(--border); }

.grid { display: grid; gap: var(--s5); }
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.split { display: grid; gap: var(--s8); align-items: start; }
@media (min-width: 1024px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s9); }
  .split--7-5 { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .split--5-7 { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .split--center { align-items: center; }
  .sticky { position: sticky; top: calc(var(--header-h) + 32px); }
}
.stack > * + * { margin-top: var(--s4); }
.stack-lg > * + * { margin-top: var(--s5); }

/* ---------- Type ---------- */
.display { font-size: var(--fs-display); line-height: 1.02; letter-spacing: -.04em; font-weight: 600; }
.h1 { font-size: var(--fs-h1); line-height: 1.04; letter-spacing: -.035em; }
.h2 { font-size: var(--fs-h2); line-height: 1.08; letter-spacing: -.03em; }
.h3 { font-size: var(--fs-h3); line-height: 1.25; letter-spacing: -.015em; }
.h4 { font-size: 1.0625rem; line-height: 1.35; letter-spacing: -.01em; }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--muted); }
.small { font-size: var(--fs-small); }
.caption { font-size: var(--fs-caption); color: var(--subtle); }
.muted { color: var(--muted); }
.section--dark .lead, .section--dark .muted { color: var(--on-night-2); }
.accent { color: var(--brand); }
.section--dark .accent { color: #63ADFF; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .625rem;
  font: 500 var(--fs-eyebrow)/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.eyebrow::before { content: ""; width: 20px; height: 1px; background: currentColor; opacity: .6; }
.eyebrow .n { color: var(--brand); }
.section--dark .eyebrow { color: var(--on-night-2); }
.section--dark .eyebrow .n { color: #63ADFF; }
.eyebrow--plain::before { display: none; }

.section-head { max-width: 46rem; }
.section-head > * + * { margin-top: var(--s3); }
.section-head .h2 { margin-top: var(--s3); }
.section-head + * { margin-top: var(--s6); }
@media (min-width: 768px) {
  .section-head > * + * { margin-top: var(--s4); }
  .section-head .h2 { margin-top: var(--s4); }
  .section-head + * { margin-top: var(--s7); }
}
.section-head--row { max-width: none; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: var(--s5); }
.section-head--row > div { max-width: 46rem; }
.section-head--row > div > * + * { margin-top: var(--s4); }
.section-head--row > * + * { margin-top: 0; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--surface); --fg: var(--text); --bd: var(--border-2);
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .75rem 1.25rem; border-radius: 999px;
  background: var(--bg); color: var(--fg); border: 1px solid var(--bd);
  font: 500 .9375rem/1.2 var(--font); letter-spacing: -.005em; white-space: nowrap;
  transition: background-color .18s, border-color .18s, color .18s, transform .18s var(--ease), box-shadow .18s;
  -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 16px; height: 16px; flex: none; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(2px); }
.btn:active { transform: translateY(1px); }
.btn--primary { --bg: var(--brand); --fg: #fff; --bd: var(--brand); box-shadow: 0 8px 20px -10px rgba(0, 120, 226, .6); }
.btn--primary:hover { --bg: var(--brand-600); --bd: var(--brand-600); }
.btn--secondary:hover { --bd: var(--text); }
.btn--dark { --bg: var(--text); --fg: #fff; --bd: var(--text); }
.btn--dark:hover { --bg: #2A2E37; }
.btn--on-dark { --bg: transparent; --fg: #fff; --bd: rgba(255, 255, 255, .3); }
.btn--on-dark:hover { --bd: #fff; background: rgba(255, 255, 255, .06); }
.btn--sm { min-height: 40px; padding: .5rem 1rem; font-size: .875rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-busy="true"] { opacity: .7; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; }
@media (max-width: 479px) { .btn-row--stack .btn { width: 100%; } }

.link {
  display: inline-flex; align-items: center; gap: .375rem; font-weight: 500; color: var(--brand);
  min-height: 44px;
}
.link svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.link:hover svg { transform: translateX(3px); }
.link:hover { color: var(--brand-600); }
.section--dark .link { color: #63ADFF; }

/* ---------- Availability chips ---------- */
.st {
  display: inline-flex; align-items: center; gap: .375rem; flex: none;
  font: 500 .6875rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase;
  padding: .4rem .6rem; border-radius: 999px; white-space: nowrap;
}
.st::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.st--av { color: var(--st-av); background: var(--st-av-bg); }
.st--dev { color: var(--st-dev); background: var(--st-dev-bg); }
.st--pl { color: var(--st-pl); background: var(--st-pl-bg); }
.st--wl { color: var(--st-wl); background: var(--st-wl-bg); }
.section--dark .st--av { color: #5FD9B4; background: rgba(95, 217, 180, .1); }
.section--dark .st--dev { color: #F2C46B; background: rgba(242, 196, 107, .1); }
.section--dark .st--pl { color: #C3C7CF; background: rgba(195, 199, 207, .1); }
.section--dark .st--wl { color: #8CC2FF; background: rgba(140, 194, 255, .12); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; height: var(--header-h); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(245, 245, 242, .82); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
}
.site-header.is-scrolled { border-bottom-color: var(--border); }
.site-header .container { height: 100%; display: flex; align-items: center; gap: var(--s5); }
.brand { display: inline-flex; align-items: center; gap: .625rem; flex: none; min-height: 44px; }
.brand img { width: auto; height: 30px; }
.brand span { font-weight: 600; font-size: 1.1875rem; letter-spacing: -.025em; }
@media (min-width: 768px) { .brand img { height: 32px; } }

.nav { display: none; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: var(--s2); }
.header-actions .btn--primary { display: none; }
@media (min-width: 768px) { .header-actions .btn--primary { display: inline-flex; } }
.menu-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border-2); background: var(--surface); }
.menu-btn i { position: relative; display: block; width: 18px; height: 1.5px; background: var(--text); transition: background-color .2s; }
.menu-btn i::before, .menu-btn i::after { content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--text); transition: transform .25s var(--ease); }
.menu-btn i::before { top: -6px; } .menu-btn i::after { top: 6px; }
.menu-open .menu-btn i { background: transparent; }
.menu-open .menu-btn i::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn i::after { transform: translateY(-6px) rotate(-45deg); }

@media (min-width: 1024px) {
  .menu-btn { display: none; }
  .nav { display: block; margin-inline: auto; }
  .nav > ul { display: flex; align-items: center; gap: 2px; }
  .nav-link { display: inline-flex; align-items: center; gap: .3rem; height: 40px; padding: 0 .875rem; border-radius: 999px; font-size: .9375rem; color: var(--text-2); transition: background-color .15s, color .15s; }
  .nav-link:hover, .has-mega:focus-within > .nav-link, .has-mega.is-open > .nav-link { background: rgba(18, 20, 25, .05); color: var(--text); }
  .nav-link[aria-current="page"] { color: var(--brand); }
  .nav-link .chev { width: 14px; height: 14px; transition: transform .2s var(--ease); }
  .has-mega { position: relative; }
  .has-mega.is-open .chev { transform: rotate(180deg); }
  .header-actions { margin-left: 0; }
}

/* Mega menu (desktop) */
.mega {
  position: absolute; left: 50%; top: calc(100% + 14px); width: min(860px, 92vw);
  transform: translate(-50%, 6px); opacity: 0; visibility: hidden; pointer-events: none;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow);
  display: grid; grid-template-columns: minmax(0, 1fr) 15rem; overflow: hidden;
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.has-mega.is-open .mega { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
.mega-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; padding: .75rem; }
.mega-item { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: .875rem; padding: .875rem; border-radius: 12px; transition: background-color .15s; }
.mega-item:hover, .mega-item:focus-visible { background: var(--paper); }
.mega-item .pi { width: 40px; height: 40px; }
.mega-item strong { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; font-weight: 600; font-size: .9375rem; }
.mega-item small { display: block; margin-top: 2px; font-size: .8125rem; line-height: 1.45; color: var(--muted); }
.mega-item .st { padding: .25rem .45rem; font-size: .625rem; }
.mega-side { background: var(--night); color: var(--on-night); padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.mega-side p { font-size: .875rem; color: var(--on-night-2); }
.mega-side .h4 { color: #fff; }
.mega-side .link { color: #63ADFF; margin-top: auto; }

/* Product icon tile */
.pi { display: grid; place-items: center; border-radius: 11px; background: var(--brand-50); color: var(--brand); border: 1px solid var(--brand-100); flex: none; }
.pi svg { width: 55%; height: 55%; }
.section--dark .pi { background: rgba(0, 120, 226, .14); border-color: rgba(99, 173, 255, .22); color: #63ADFF; }

/* Mobile menu panel */
.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 55; background: var(--paper);
  overflow-y: auto; overscroll-behavior: contain; padding: var(--s4) var(--gutter) calc(var(--bottom-nav-h) + var(--s8) + env(safe-area-inset-bottom, 0px));
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; transform: none; }
.menu-open { overflow: hidden; }
.mobile-menu > ul > li { border-bottom: 1px solid var(--border); }
.mobile-menu a.m-link, .mobile-menu button.m-link { display: flex; width: 100%; align-items: center; justify-content: space-between; min-height: 56px; font-size: 1.125rem; font-weight: 500; text-align: left; }
.mobile-menu .m-link[aria-current="page"] { color: var(--brand); }
.mobile-menu .chev { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.mobile-menu [aria-expanded="true"] .chev { transform: rotate(180deg); }
.m-sub { display: grid; gap: 2px; padding-bottom: var(--s3); }
.m-sub[hidden] { display: none; }
.m-sub a { display: flex; align-items: center; gap: .75rem; min-height: 48px; padding: .25rem .5rem; border-radius: 10px; font-size: 1rem; color: var(--text-2); }
.m-sub a:active { background: var(--surface-2); }
.m-sub .pi { width: 32px; height: 32px; border-radius: 9px; }
.m-sub .st { margin-left: auto; padding: .25rem .45rem; font-size: .625rem; }
.mobile-menu .btn { margin-top: var(--s6); }
@media (min-width: 1024px) { .mobile-menu { display: none; } }

/* ---------- Mobile bottom navigation (mobile only) ---------- */
.bottom-nav { display: none; }
@media (max-width: 767px) {
  body { padding-bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom, 0px)); }
  .bottom-nav {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border-top: 1px solid var(--border);
  }
  .bottom-nav a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    min-height: var(--bottom-nav-h); padding: 6px 2px; color: var(--muted);
    font: 500 .6875rem/1.2 var(--font); letter-spacing: .01em; text-align: center; -webkit-tap-highlight-color: transparent;
  }
  .bottom-nav svg { width: 22px; height: 22px; }
  .bottom-nav a[aria-current="page"] { color: var(--brand); }
  .bottom-nav a[aria-current="page"] svg { stroke-width: 2; }
  .bottom-nav a.wa { color: #128C4A; }
  .bottom-nav a:active { background: var(--surface-2); }
}

/* ---------- Hero (home) ---------- */
.hero { position: relative; padding-block: var(--s6) var(--s7); overflow: hidden; isolation: isolate; }
@media (min-width: 768px) { .hero { padding-block: var(--s7) var(--s8); } }
@media (min-width: 1024px) {
  .hero { padding-block: var(--s7) var(--s8); }
  .hero > .container {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.15fr);
    gap: var(--s6);
    align-items: start;
  }
  .hero > .container > * { min-width: 0; }
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px; background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 75% 60% at 50% 0%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 75% 60% at 50% 0%, #000 20%, transparent 75%);
  opacity: .7;
}
.hero-copy { max-width: 56rem; }
@media (min-width: 1024px) { .hero-copy { max-width: none; } }
.hero-copy > * + * { margin-top: var(--s4); }
@media (min-width: 768px) { .hero-copy > * + * { margin-top: var(--s5); } }
.hero-copy .eyebrow::before { display: none; }
.hero-copy .eyebrow { color: var(--brand); padding: .45rem .8rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--brand-100); letter-spacing: .1em; }
.hero-copy .lead { max-width: 38rem; }
.hero-copy .btn-row { margin-top: var(--s5); }
@media (min-width: 768px) { .hero-copy .btn-row { margin-top: var(--s6); } }
.trust-line { display: flex; flex-wrap: wrap; gap: .375rem 1rem; font: 400 .8125rem/1.5 var(--mono); color: var(--muted); margin-top: var(--s6) !important; }
.trust-line span { display: inline-flex; align-items: center; gap: 1rem; }
.trust-line span + span::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--border-2); }
@media (max-width: 479px) { .trust-line { flex-direction: column; } .trust-line span + span::before { display: none; } }

/* ---------- Signal map (home hero visual) ---------- */
.signal { position: relative; margin-top: var(--s6); border: 1px solid var(--border); border-radius: var(--r-xl); background: var(--surface); padding: var(--s4); box-shadow: var(--shadow); }
@media (min-width: 768px) { .signal { margin-top: var(--s7); padding: var(--s5); } }
@media (min-width: 1024px) {
  .signal { padding: var(--s5) var(--s5) var(--s4); margin-top: 0; align-self: start; overflow: hidden; }
}
.signal-head { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); flex-wrap: wrap; margin-bottom: var(--s4); }
.signal-head .caption { font-family: var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.live { display: inline-flex; align-items: center; gap: .5rem; font: 500 .6875rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--signal); }
.live i { width: 7px; height: 7px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 0 rgba(20, 166, 147, .5); animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(20, 166, 147, .45); } 70%, 100% { box-shadow: 0 0 0 8px rgba(20, 166, 147, 0); } }

.signal-grid { position: relative; display: grid; gap: var(--s4); }
@media (min-width: 640px) and (max-width: 1023px) {
  .signal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4) var(--s5); align-items: start; }
}
.signal-col { position: relative; display: grid; gap: var(--s2); align-content: start; }
.signal-col > .caption { font-family: var(--mono); font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: var(--s1); }
.s-node {
  position: relative; z-index: 1; display: flex; align-items: center; gap: .5rem;
  padding: .5rem .625rem; border-radius: 10px; background: var(--surface); border: 1px solid var(--border);
  font-size: .8125rem; font-weight: 500; transition: border-color .3s, box-shadow .3s, transform .3s var(--ease);
}
@media (min-width: 1024px) {
  .s-node { gap: .625rem; padding: .625rem .75rem; border-radius: 12px; font-size: .875rem; }
}
.s-node small { display: block; font-weight: 400; font-size: .75rem; color: var(--muted); line-height: 1.35; }
.s-node .pi { width: 28px; height: 28px; border-radius: 8px; }
@media (min-width: 1024px) { .s-node .pi { width: 34px; height: 34px; border-radius: 9px; } }
.s-node .st { margin-top: .3rem; padding: .25rem .45rem; font-size: .625rem; }
.s-node--src { padding: .4rem .625rem; font-size: .75rem; background: var(--paper); }
.s-node--src::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--brand); opacity: .55; flex: none; }
.s-node--core { padding: .75rem; background: var(--night); color: #fff; border-color: var(--night); }
@media (min-width: 1024px) { .s-node--core { padding: 1rem; } }
.s-node--core small { color: var(--on-night-2); }
.s-node--core .pi { background: rgba(0, 120, 226, .18); border-color: rgba(99, 173, 255, .3); color: #63ADFF; }
.s-node--end { padding: .75rem; border-color: var(--brand-100); background: var(--brand-50); }
@media (min-width: 1024px) { .s-node--end { padding: 1rem; } }
.s-node.is-lit { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(0, 120, 226, .12); }
.s-node--core.is-lit { box-shadow: 0 0 0 4px rgba(0, 120, 226, .25); }
.src-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s2); }
@media (max-width: 767px) {
  /* Keep the hero map short on phones: drop node blurbs and pack sources. */
  .s-node small,
  .s-node .st { display: none; }
  .s-node .pi { width: 24px; height: 24px; border-radius: 7px; }
  .s-node--core,
  .s-node--end { padding: .55rem .625rem; }
  .src-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .s-node--src {
    justify-content: center; text-align: center; padding: .35rem .4rem;
    font-size: .6875rem; line-height: 1.25;
  }
  .s-node--src::before { display: none; }
  .signal-grid { gap: var(--s3); }
  .signal-col + .signal-col::before {
    top: calc(var(--s3) * -1); height: var(--s3);
  }
  .signal-foot span:first-child { display: none; } /* drop long caption; keep link */
  .signal-foot { font-size: .75rem; margin-top: var(--s3); padding-top: var(--s3); }
}
.signal-wires { display: none; }
/* Mobile: vertical flow with short connectors; tablet 2×2 has no connectors */
.signal-col + .signal-col::before {
  content: ""; position: absolute; left: 50%; top: calc(var(--s4) * -1); height: var(--s4); width: 1px;
  background: repeating-linear-gradient(to bottom, var(--brand) 0 4px, transparent 4px 8px); opacity: .6;
}
@media (min-width: 640px) and (max-width: 1023px) {
  .signal-col + .signal-col::before { display: none; }
}
@media (min-width: 1024px) {
  /* Side-by-side hero: keep map readable without overflowing. */
  .signal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4); align-items: start; }
  .src-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .signal-col + .signal-col::before { display: none; }
  .signal-wires { display: none; } /* connectors don't fit the 2×2 side panel */
}
@media (min-width: 1280px) {
  .signal-grid { grid-template-columns: 1fr .95fr 1.15fr .95fr; gap: var(--s4); align-items: center; }
  .src-list { grid-template-columns: minmax(0, 1fr); }
  .signal-wires { display: block; position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
  .signal-wires path { fill: none; stroke-width: 1.25; }
  .signal-wires .base { stroke: var(--border-2); }
  .signal-wires .flow { stroke: var(--brand); stroke-dasharray: 3 14; stroke-linecap: round; animation: flow 1.6s linear infinite; opacity: .75; }
  .signal-wires .flow.alt { stroke: var(--signal); animation-duration: 2.2s; }
}
@keyframes flow { to { stroke-dashoffset: -34; } }
.signal-foot { margin-top: var(--s4); padding-top: var(--s3); border-top: 1px dashed var(--border-2); display: flex; flex-wrap: wrap; gap: var(--s3) var(--s5); align-items: center; font-size: .8125rem; color: var(--muted); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; padding-block: var(--s6) var(--s7); overflow: hidden; isolation: isolate; }
@media (min-width: 768px) { .page-hero { padding-block: var(--s7) var(--s8); } }
@media (min-width: 1024px) { .page-hero { padding-block: var(--s8) var(--s9); } }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px; opacity: .55;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 80%); mask-image: linear-gradient(180deg, #000, transparent 80%);
}
.page-hero--dark { background: var(--night); color: var(--on-night); }
.page-hero--dark::before { background-image: linear-gradient(var(--night-line) 1px, transparent 1px), linear-gradient(90deg, var(--night-line) 1px, transparent 1px); opacity: 1; }
.page-hero--dark h1 { color: #fff; }
.page-hero--dark .lead { color: var(--on-night-2); }
.page-hero .hero-text > * + * { margin-top: var(--s5); }
.page-hero .btn-row { margin-top: var(--s6) !important; }
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; font: 400 .75rem/1.4 var(--mono); letter-spacing: .04em; color: var(--subtle); margin-bottom: var(--s4); }
@media (min-width: 768px) { .crumbs { margin-bottom: var(--s5); } }
.crumbs a { padding-block: .25rem; }
.crumbs a:hover { color: var(--brand); }
.crumbs li + li::before { content: "/"; margin-right: .5rem; opacity: .6; }
.page-hero--dark .crumbs { color: var(--on-night-2); }
.product-id { display: inline-flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.product-id .pi { width: 44px; height: 44px; border-radius: 12px; }
.product-id .name { font: 500 .8125rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.page-hero--dark .product-id .name { color: var(--on-night-2); }
.status-line { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; font-size: .9375rem; color: var(--muted); padding: .75rem 1rem; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); max-width: 40rem; }
.page-hero--dark .status-line { background: var(--night-2); border-color: var(--night-line); color: var(--on-night-2); }

/* ---------- Media ---------- */
.media { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--surface-2); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--4x3 { aspect-ratio: 4 / 3; }
.media--3x2 { aspect-ratio: 3 / 2; }
.media--16x9 { aspect-ratio: 16 / 9; }
.media--4x5 { aspect-ratio: 4 / 5; }
.media--wide { aspect-ratio: 21 / 9; }
@media (max-width: 767px) { .media--wide { aspect-ratio: 4 / 3; } .media--4x5 { aspect-ratio: 4 / 3; } }
.media figcaption { position: absolute; left: var(--s4); bottom: var(--s4); right: var(--s4); font: 400 .75rem/1.4 var(--mono); color: rgba(255, 255, 255, .9); letter-spacing: .04em; }
.media--shade::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(14, 16, 20, .55)); pointer-events: none; }
.js .reveal-img img { transform: scale(1.06); transition: transform 1.2s var(--ease); }
.js .reveal-img.is-in img { transform: none; }

/* ---------- Problem list (editorial) ---------- */
.points { display: grid; gap: 0; border-top: 1px solid var(--border); }
.points li { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); gap: var(--s3); padding-block: var(--s4); border-bottom: 1px solid var(--border); }
@media (min-width: 768px) {
  .points li { grid-template-columns: 3rem minmax(0, 1fr); gap: var(--s4); padding-block: var(--s5); }
}
.points .n { font: 500 .8125rem/1.6 var(--mono); color: var(--brand); }
.points b { display: block; font-weight: 600; font-size: 1.0625rem; letter-spacing: -.01em; }
.points p { margin-top: .25rem; color: var(--muted); }
.section--dark .points, .section--dark .points li { border-color: var(--night-line); }
.section--dark .points .n { color: #63ADFF; }
.section--dark .points p { color: var(--on-night-2); }
@media (min-width: 1024px) {
  .points--row { grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 0; gap: var(--s6); }
  .points--row li { grid-template-columns: minmax(0, 1fr); border-bottom: 0; border-top: 1px solid var(--night-line); padding-top: var(--s5); gap: var(--s3); }
}

/* ---------- Ecosystem bento (home) ---------- */
.bento { display: grid; gap: var(--s4); }
.tile {
  position: relative; display: flex; flex-direction: column; gap: var(--s3);
  padding: var(--s5); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border);
  transition: border-color .2s, transform .25s var(--ease), box-shadow .25s;
}
.tile:hover { border-color: var(--border-2); transform: translateY(-3px); box-shadow: var(--shadow); }
.tile .top { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s3); }
.tile .pi { width: 44px; height: 44px; }
.tile .layer { font: 500 .6875rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--subtle); }
.tile h3 { margin-top: var(--s2); }
.tile p { color: var(--muted); }
.tile .link { margin-top: auto; padding-top: var(--s3); }
.tile .stretched { position: absolute; inset: 0; border-radius: inherit; z-index: 1; }
.tile .link, .tile a:not(.stretched) { position: relative; z-index: 2; }
.tile--dark { background: var(--night); border-color: var(--night); color: var(--on-night); }
.tile--dark h3 { color: #fff; }
.tile--dark p { color: var(--on-night-2); }
.tile--dark .layer { color: var(--on-night-2); }
.tile--dark .link { color: #63ADFF; }
.tile--dark .pi { background: rgba(0, 120, 226, .16); border-color: rgba(99, 173, 255, .24); color: #63ADFF; }
.tile-visual { margin-block: var(--s3) var(--s2); }
@media (max-width: 767px) {
  .bento--rail { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); gap: var(--s3); margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) var(--s4); scrollbar-width: none; }
  .bento--rail::-webkit-scrollbar { display: none; }
  .bento--rail .tile { flex: 0 0 82%; scroll-snap-align: start; }
}
@media (min-width: 768px) {
  .bento { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .bento .tile { grid-column: span 3; }
  .bento .tile--third { grid-column: span 2; }
}
.rail-hint { display: none; }
.rail-hint svg { width: 14px; height: 14px; }
@media (max-width: 767px) { .rail-hint { display: flex; gap: .5rem; align-items: center; font: 400 .75rem/1 var(--mono); color: var(--subtle); margin-top: var(--s2); } }
.viva-strip {
  margin-top: var(--s4); display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3) var(--s5);
  padding: var(--s4) var(--s5); border-radius: var(--r-lg); border: 1px dashed var(--border-2); background: transparent;
}
.viva-strip p { flex: 1 1 18rem; color: var(--text-2); }
.viva-strip .pi { width: 36px; height: 36px; border-radius: 10px; }

/* Mini visuals inside tiles */
.mini-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.mini-grid span { font: 400 .625rem/1.3 var(--mono); padding: .45rem .25rem; overflow-wrap: normal; word-break: normal; hyphens: manual; border-radius: 8px; background: var(--paper); border: 1px solid var(--border); color: var(--text-2); text-align: center; }
.mini-grid span.hub { grid-column: 1 / -1; background: var(--night); color: #fff; border-color: var(--night); }
.tile--dark .mini-grid span { background: var(--night-2); border-color: var(--night-line); color: var(--on-night); }
.tile--dark .mini-grid span.hub { background: var(--brand); border-color: var(--brand); }
.mini-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; counter-reset: ms; }
.mini-steps span { position: relative; font: 400 .625rem/1.3 var(--mono); padding: .625rem .25rem .5rem; border-radius: 8px; background: var(--paper); border: 1px solid var(--border); text-align: center; color: var(--text-2); }
.mini-steps span::before { counter-increment: ms; content: "0" counter(ms); display: block; color: var(--brand); margin-bottom: 2px; }

/* ---------- Why (editorial columns) ---------- */
.why { display: grid; gap: 0; }
.why li { padding-block: var(--s5); border-top: 1px solid var(--border); }
@media (min-width: 768px) { .why li { padding-block: var(--s6); } }
.why .num { font: 500 2.5rem/1 var(--font); letter-spacing: -.04em; color: var(--brand); }
.why h3 { margin-top: var(--s4); }
.why p { margin-top: var(--s2); color: var(--muted); max-width: 32rem; }
@media (min-width: 1024px) {
  .why { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s7); }
  .why li { padding-block: var(--s6) 0; }
}

/* ---------- Figures / credibility ---------- */
.figures { display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--night-line); }
.figures div { padding-block: var(--s5); border-bottom: 1px solid var(--night-line); }
.figures b { display: block; font-weight: 600; font-size: clamp(2.25rem, 1.8rem + 2vw, 3.25rem); letter-spacing: -.04em; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.figures span { display: block; margin-top: var(--s2); color: var(--on-night-2); font-size: var(--fs-small); }
@media (min-width: 768px) { .figures { grid-template-columns: repeat(3, minmax(0, 1fr)); } .figures div + div { padding-left: var(--s5); border-left: 1px solid var(--night-line); } }
.institutions { display: grid; gap: var(--s3); }
@media (min-width: 768px) { .institutions { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.inst { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); padding: var(--s4) var(--s5); border-radius: var(--r-md); background: var(--night-2); border: 1px solid var(--night-line); }
.inst strong { font-weight: 500; color: #fff; font-size: .9375rem; line-height: 1.35; }
.inst span { font: 500 .6875rem/1 var(--mono); letter-spacing: .08em; color: #8CC2FF; white-space: nowrap; }

/* ---------- Closing CTA ---------- */
.cta-panel {
  position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-xl);
  background: var(--brand); color: #fff; padding: var(--s8) var(--s5);
}
.cta-panel::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .35;
  background-image: linear-gradient(rgba(255, 255, 255, .14) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .14) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 85% 50%, #000, transparent 70%); mask-image: radial-gradient(ellipse 60% 80% at 85% 50%, #000, transparent 70%);
}
.cta-panel h2 { color: #fff; max-width: 34rem; }
.cta-panel p { margin-top: var(--s4); color: rgba(255, 255, 255, .85); max-width: 34rem; font-size: var(--fs-lead); }
.cta-panel .btn-row { margin-top: var(--s6); }
.cta-panel .btn--primary { --bg: #fff; --fg: var(--brand-700); --bd: #fff; box-shadow: none; }
.cta-panel .btn--primary:hover { --bg: #EAF3FD; }
.cta-panel .btn--on-dark { --bd: rgba(255, 255, 255, .5); }
@media (min-width: 768px) { .cta-panel { padding: var(--s9) var(--s9); } }

/* ---------- Layer story (products page) ---------- */
.layers-visual { display: grid; gap: 10px; }
.plate {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: var(--s3);
  padding: var(--s4); border-radius: var(--r-md); background: var(--night-2); border: 1px solid var(--night-line);
  color: var(--on-night); transition: background-color .35s, border-color .35s, transform .35s var(--ease), opacity .35s;
}
.plate .no { font: 500 .75rem/1 var(--mono); color: var(--on-night-2); }
.plate strong { display: block; font-weight: 600; color: #fff; }
.plate small { display: block; font-size: .8125rem; color: var(--on-night-2); }
.layers-visual.is-tracking .plate { opacity: .5; }
.layers-visual.is-tracking .plate.is-active { opacity: 1; background: var(--night-3); border-color: rgba(99, 173, 255, .5); transform: translateX(6px); }
.plate .addons { grid-column: 2 / -1; display: flex; gap: 6px; flex-wrap: wrap; }
.plate .addons span { font: 400 .6875rem/1 var(--mono); padding: .4rem .55rem; border-radius: 999px; border: 1px solid var(--night-line); color: var(--on-night); }
.layer-steps > li { padding-block: var(--s7); border-top: 1px solid var(--night-line); }
.layer-steps > li:first-child { border-top: 0; padding-top: 0; }
.layer-steps .no { font: 500 .75rem/1 var(--mono); letter-spacing: .12em; color: #63ADFF; text-transform: uppercase; }
.layer-steps h3 { margin-top: var(--s3); }
.layer-steps p { margin-top: var(--s3); color: var(--on-night-2); }
.layer-steps .link { margin-top: var(--s2); }

/* ---------- Product spec rows (products page) ---------- */
.spec { display: grid; gap: var(--s5); padding-block: var(--s7); border-top: 1px solid var(--border); }
.spec:last-child { border-bottom: 1px solid var(--border); }
.spec-id { display: flex; align-items: center; gap: var(--s3); flex-wrap: wrap; }
.spec-id .pi { width: 48px; height: 48px; border-radius: 13px; }
.spec-id h3 { font-size: var(--fs-h3); }
.spec dl { display: grid; gap: var(--s4); margin: 0; }
.spec dt { font: 500 .6875rem/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--subtle); }
.spec dd { margin: .375rem 0 0; color: var(--text-2); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { font-size: .8125rem; padding: .375rem .625rem; border-radius: 8px; background: var(--surface); border: 1px solid var(--border); color: var(--text-2); }
.section--dark .chips span { background: var(--night-2); border-color: var(--night-line); color: var(--on-night); }
@media (min-width: 1024px) {
  .spec { grid-template-columns: 17rem minmax(0, 1fr) 13rem; gap: var(--s7); align-items: start; }
  .spec dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spec dl .full { grid-column: 1 / -1; }
  .spec .spec-cta { justify-self: end; }
}

/* ---------- Capability list ---------- */
.caps { display: grid; gap: 0; border-top: 1px solid var(--border); }
.caps li { display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: var(--s3); padding-block: var(--s4); border-bottom: 1px solid var(--border); }
.caps .ico { width: 2rem; height: 2rem; display: grid; place-items: center; border-radius: 8px; background: var(--brand-50); color: var(--brand); }
.caps .ico svg { width: 16px; height: 16px; }
.caps b { font-weight: 600; }
.caps .row { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; }
.caps p { color: var(--muted); margin-top: .125rem; }
.section--dark .caps, .section--dark .caps li { border-color: var(--night-line); }
.section--dark .caps p { color: var(--on-night-2); }
.section--dark .caps .ico { background: rgba(0, 120, 226, .16); color: #63ADFF; }
@media (min-width: 768px) { .caps--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s7); border-top: 0; } .caps--2 li:nth-child(-n+2) { border-top: 1px solid var(--border); } }

/* ---------- Workflow (steps) ---------- */
.flow-steps { display: grid; gap: var(--s3); counter-reset: fs; }
.flow-steps li { position: relative; padding: var(--s5); border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--border); }
.flow-steps .no { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; font: 500 .8125rem/1 var(--mono); background: var(--brand-50); color: var(--brand); border: 1px solid var(--brand-100); }
.flow-steps h3 { margin-top: var(--s4); font-size: 1.125rem; }
.flow-steps p { margin-top: var(--s2); color: var(--muted); font-size: var(--fs-small); }
.flow-steps .final { background: var(--brand); border-color: var(--brand); color: #fff; }
.flow-steps .final p { color: rgba(255, 255, 255, .85); }
.flow-steps .final .no { background: rgba(255, 255, 255, .16); color: #fff; border-color: rgba(255, 255, 255, .3); }
.section--dark .flow-steps li { background: var(--night-2); border-color: var(--night-line); }
.section--dark .flow-steps p { color: var(--on-night-2); }
.section--dark .flow-steps .no { background: rgba(0, 120, 226, .16); color: #63ADFF; border-color: rgba(99, 173, 255, .3); }
.section--dark .flow-steps .final { background: var(--brand); border-color: var(--brand); }
.section--dark .flow-steps .final p { color: rgba(255, 255, 255, .88); }
@media (min-width: 768px) { .flow-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  .flow-steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .flow-steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .flow-steps--4 li:not(:last-child)::after, .flow-steps--3 li:not(:last-child)::after {
    content: ""; position: absolute; top: calc(var(--s5) + 18px); right: calc(var(--s3) * -1); width: var(--s3); height: 1px; background: var(--border-2);
  }
  .section--dark .flow-steps li:not(:last-child)::after { background: var(--night-line); }
}

/* Evaluate: animated track */
.track-wrap { position: relative; }
.track { position: relative; display: grid; gap: var(--s3); }
.track-bar { display: none; }
@media (min-width: 1024px) {
  .track { grid-template-columns: repeat(4, minmax(0, 1fr)); padding-top: 28px; }
  .track-bar { display: block; position: absolute; left: 0; right: 0; top: 8px; height: 2px; background: var(--night-line); border-radius: 2px; overflow: hidden; }
  .track-bar i { position: absolute; inset: 0; width: 25%; background: linear-gradient(90deg, transparent, var(--signal), transparent); animation: sweep 4.5s var(--ease) infinite; }
}
@keyframes sweep { 0% { transform: translateX(-100%); } 100% { transform: translateX(400%); } }
.track > li { padding: var(--s5); border-radius: var(--r-md); background: var(--night-2); border: 1px solid var(--night-line); }
.track .stage { font: 500 .75rem/1 var(--mono); letter-spacing: .12em; color: #63ADFF; text-transform: uppercase; }
.track h3 { margin-top: var(--s3); font-size: 1.125rem; }
.track ul { margin-top: var(--s3); display: grid; gap: .4rem; }
.track ul li { padding: 0; background: none; border: 0; border-radius: 0; color: var(--on-night-2); font-size: var(--fs-small); display: flex; gap: .5rem; }
.track ul li::before { content: ""; width: 5px; height: 5px; margin-top: .55em; border-radius: 50%; background: var(--signal); flex: none; }

/* ---------- Toggle (before / after) ---------- */
.toggle { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); gap: 2px; }
.toggle button { min-height: 40px; padding: .5rem 1rem; border-radius: 999px; font-size: .875rem; font-weight: 500; color: var(--muted); transition: background-color .2s, color .2s; }
.toggle button[aria-selected="true"] { background: var(--surface); color: var(--text); box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.compare-panel { margin-top: var(--s6); }
.compare-panel[hidden] { display: none; }
.cmp { display: grid; gap: var(--s2); }
.cmp li { display: grid; grid-template-columns: 1.5rem minmax(0, 1fr); gap: var(--s3); padding: var(--s4) var(--s5); border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--border); }
.cmp li::before { content: ""; width: 10px; height: 10px; margin-top: .45em; border-radius: 3px; transform: rotate(45deg); background: #C9524F; }
.cmp--good li::before { transform: none; width: 1.25rem; height: 1.25rem; margin-top: .125rem; border-radius: 50%; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.cmp b { font-weight: 600; }
.cmp .row { display: flex; flex-wrap: wrap; gap: .5rem .75rem; align-items: center; }

/* ---------- Tabs (roles) ---------- */
.tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
.tabs::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .tabs { flex-wrap: wrap; margin-inline: 0; padding-inline: 0; } }
.tabs button { flex: none; min-height: 44px; padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--border-2); font-size: .9375rem; font-weight: 500; color: var(--text-2); background: var(--surface); transition: all .18s; }
.tabs button[aria-selected="true"] { background: var(--text); color: #fff; border-color: var(--text); }
.section--dark .tabs button { background: transparent; border-color: var(--night-line); color: var(--on-night); }
.section--dark .tabs button[aria-selected="true"] { background: #fff; color: var(--night); border-color: #fff; }
.tab-panel { margin-top: var(--s6); }
.tab-panel[hidden] { display: none; }
.role-panel { display: grid; gap: var(--s5); padding: var(--s6); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); }
.section--dark .role-panel { background: var(--night-2); border-color: var(--night-line); }
.role-panel .h3 { max-width: 40rem; }
.role-panel p { color: var(--muted); max-width: 44rem; }
.section--dark .role-panel p { color: var(--on-night-2); }

/* ---------- Role table (AI Workforce) ---------- */
.roles { display: grid; gap: var(--s3); }
.role { display: grid; gap: var(--s3); padding: var(--s5); border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--border); }
.role .top { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); flex-wrap: wrap; }
.role h3 { font-size: 1.125rem; }
.role .focus { color: var(--muted); }
.role q { display: block; quotes: "\201C" "\201D"; font-size: 1.0625rem; font-weight: 500; letter-spacing: -.01em; padding-top: var(--s3); border-top: 1px dashed var(--border-2); }
.role q + .caption { margin-top: -.25rem; }
@media (min-width: 768px) { .roles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Big statement */
.statement { font-size: clamp(1.6rem, 1.2rem + 2vw, 2.75rem); line-height: 1.15; letter-spacing: -.03em; font-weight: 600; max-width: 52rem; }
.statement span { color: var(--subtle); }
.section--dark .statement span { color: var(--on-night-2); }

/* ---------- Product visuals (abstract, labelled with approved capability names) ---------- */
.viz { position: relative; border-radius: var(--r-xl); border: 1px solid var(--border); background: var(--surface); padding: var(--s5); box-shadow: var(--shadow); }
.page-hero--dark .viz, .section--dark .viz { background: var(--night-2); border-color: var(--night-line); box-shadow: none; }
.viz-head { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); margin-bottom: var(--s4); font: 500 .6875rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--subtle); }
.page-hero--dark .viz-head { color: var(--on-night-2); }
.hub-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.hub-grid span { display: grid; place-items: center; min-height: 64px; padding: .5rem; border-radius: 10px; background: var(--paper); border: 1px solid var(--border); font-size: .75rem; line-height: 1.3; text-align: center; color: var(--text-2); transition: border-color .4s, background-color .4s; }
.hub-grid span.hub { background: var(--night); color: #fff; border-color: var(--night); font-weight: 600; }
.hub-grid span.dev { border-style: dashed; }
.hub-grid span.is-on { border-color: var(--brand); background: var(--brand-50); }
.q-flow { display: grid; gap: 10px; }
.q-row { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: var(--s3); align-items: center; padding: .75rem; border-radius: 10px; background: var(--paper); border: 1px solid var(--border); }
.q-row .lbl { font: 500 .6875rem/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.bars { display: grid; gap: 5px; }
.bars i { display: block; height: 6px; border-radius: 3px; background: var(--border-2); }
.bars i:nth-child(2) { width: 82%; } .bars i:nth-child(3) { width: 64%; }
.q-row.ok { border-color: var(--brand-100); background: var(--brand-50); }
.q-row.ok .bars i { background: rgba(0, 120, 226, .35); }
.tags { display: flex; flex-wrap: wrap; gap: 5px; }
.tags span { font: 400 .6875rem/1 var(--mono); padding: .35rem .5rem; border-radius: 6px; background: var(--surface); border: 1px solid var(--border); color: var(--text-2); }
.wave { display: flex; align-items: center; gap: 3px; height: 40px; }
.wave i { flex: 1; border-radius: 2px; background: #63ADFF; opacity: .75; animation: wave 1.4s ease-in-out infinite; transform-origin: center; }
@keyframes wave { 0%, 100% { transform: scaleY(.35); } 50% { transform: scaleY(1); } }
.session { display: grid; gap: 8px; }
.session div { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); padding: .75rem .875rem; border-radius: 10px; background: var(--night-3); border: 1px solid var(--night-line); font-size: .875rem; color: var(--on-night); }
.session div span { font: 400 .6875rem/1 var(--mono); color: var(--on-night-2); letter-spacing: .06em; }
.converge { display: grid; gap: var(--s3); }
.converge .srcs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.converge .srcs span { padding: .625rem .75rem; border-radius: 10px; border: 1px solid var(--night-line); background: var(--night-3); font-size: .8125rem; color: var(--on-night); }
.converge .arrow { display: grid; place-items: center; color: var(--on-night-2); }
.converge .arrow svg { width: 20px; height: 20px; }
.converge .core { padding: 1rem; border-radius: 12px; background: var(--brand); color: #fff; display: flex; justify-content: space-between; align-items: center; gap: var(--s3); flex-wrap: wrap; font-weight: 600; }
.converge .core .st { background: rgba(255, 255, 255, .16); color: #fff; }
.converge .out { padding: .875rem 1rem; border-radius: 12px; border: 1px dashed rgba(255, 255, 255, .25); color: var(--on-night); font-size: .875rem; text-align: center; }
.orbit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.orbit span { padding: .75rem; border-radius: 10px; background: var(--paper); border: 1px solid var(--border); font-size: .8125rem; font-weight: 500; }
.orbit span small { display: block; font: 400 .6875rem/1.3 var(--mono); color: var(--muted); margin-top: 2px; }
.orbit .center { grid-column: 1 / -1; background: var(--night); color: #fff; border-color: var(--night); text-align: center; }
.orbit .center small { color: var(--on-night-2); }
.orbit .gate { grid-column: 1 / -1; text-align: center; background: var(--brand-50); border-color: var(--brand-100); color: var(--brand-700); }

/* ---------- Status board (Intelligence) ---------- */
.board { display: grid; gap: var(--s3); }
.board li { display: grid; gap: var(--s2); padding: var(--s5); border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--border); }
.board .row { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s3); flex-wrap: wrap; }
.board h3 { font-size: 1.125rem; }
.board p { color: var(--muted); }
@media (min-width: 768px) { .board { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Principles ---------- */
.principles { display: grid; gap: 0; border-top: 1px solid var(--border); }
.principles li { display: grid; gap: var(--s2); padding-block: var(--s5); border-bottom: 1px solid var(--border); }
.principles b { font-weight: 600; font-size: 1.125rem; letter-spacing: -.01em; }
.principles p { color: var(--muted); }
.section--dark .principles, .section--dark .principles li { border-color: var(--night-line); }
.section--dark .principles p { color: var(--on-night-2); }
@media (min-width: 768px) { .principles li { grid-template-columns: 14rem minmax(0, 1fr); gap: var(--s6); align-items: baseline; } }

/* ---------- Outcomes ---------- */
.outcomes { display: grid; gap: var(--s4); }
.outcome { padding: var(--s6); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); }
.outcome b { display: block; font-size: clamp(2.5rem, 2rem + 2vw, 3.5rem); line-height: 1; letter-spacing: -.045em; font-weight: 600; color: var(--brand); }
.outcome b small { font-size: .4em; letter-spacing: 0; color: var(--muted); font-weight: 500; margin-right: .35em; vertical-align: .55em; }
.outcome p { margin-top: var(--s3); color: var(--text-2); }
.footnote { margin-top: var(--s5); font-size: var(--fs-caption); color: var(--muted); max-width: 46rem; }
@media (min-width: 768px) { .outcomes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ticks { display: grid; gap: var(--s3); }
.ticks li { display: grid; grid-template-columns: 1.5rem minmax(0, 1fr); gap: var(--s3); }
.ticks li::before { content: ""; width: 1.25rem; height: 1.25rem; margin-top: .15rem; border-radius: 50%; background: var(--signal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F7A5C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.section--dark .ticks li::before { background-color: rgba(20, 166, 147, .18); }
.ticks b { font-weight: 600; }

/* ---------- Related products ---------- */
.related { display: grid; gap: var(--s3); }
.related a { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: var(--s4); padding: var(--s4) var(--s5); border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--border); transition: border-color .2s, transform .2s var(--ease); }
.related a:hover { border-color: var(--brand); transform: translateY(-2px); }
.related .pi { width: 44px; height: 44px; }
.related strong { display: block; font-weight: 600; }
.related small { display: block; color: var(--muted); font-size: .875rem; line-height: 1.4; }
.related a > svg { width: 18px; height: 18px; color: var(--brand); }
@media (min-width: 768px) { .related { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .related--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Solutions (challenge rows) ---------- */
.challenges { display: grid; gap: var(--s3); }
.challenge { border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--border); overflow: hidden; }
.challenge summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s4); align-items: center; padding: var(--s5); min-height: 64px; }
.challenge summary::-webkit-details-marker { display: none; }
.challenge summary h3 { font-size: 1.125rem; }
.challenge summary p { margin-top: .25rem; color: var(--muted); font-size: var(--fs-small); }
.challenge .tag { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; justify-content: flex-end; }
.challenge .tag b { font: 500 .75rem/1.2 var(--mono); color: var(--brand); text-align: right; }
.plus { position: relative; width: 28px; height: 28px; flex: none; border-radius: 50%; border: 1px solid var(--border-2); }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; background: var(--text); transform: translate(-50%, -50%); transition: transform .25s var(--ease); }
.plus::after { transform: translate(-50%, -50%) rotate(90deg); }
details[open] > summary .plus::after { transform: translate(-50%, -50%) rotate(0); }
.challenge .body { display: grid; gap: var(--s4); padding: 0 var(--s5) var(--s5); }
.challenge .body dt { font: 500 .6875rem/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--subtle); }
.challenge .body dd { margin: .25rem 0 0; }
.challenge-head { display: none; }
@media (min-width: 1024px) {
  .challenge .body { grid-template-columns: repeat(2, minmax(0, 1fr)) auto; align-items: end; padding-top: var(--s2); border-top: 1px dashed var(--border); margin-inline: var(--s5); padding-inline: 0; }
  .challenge summary { grid-template-columns: minmax(0, 1fr) auto auto; }
}
@media (max-width: 1023px) { .challenge .tag { display: none; } }

/* ---------- Timeline (about) ---------- */
.timeline { display: grid; gap: 0; }
.timeline li { position: relative; padding: 0 0 var(--s7) var(--s7); }
.timeline li::before { content: ""; position: absolute; left: 7px; top: 22px; bottom: 0; width: 1px; background: var(--border-2); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li:last-child::before { display: none; }
.timeline .dot { position: absolute; left: 0; top: 6px; width: 15px; height: 15px; border-radius: 50%; border: 2px solid var(--brand); background: var(--paper); }
.timeline li:last-child .dot { background: var(--brand); box-shadow: 0 0 0 5px var(--brand-50); }
.timeline .yr { font: 500 .8125rem/1 var(--mono); color: var(--brand); letter-spacing: .08em; }
.timeline p { margin-top: var(--s2); color: var(--text-2); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: var(--s2); }
.faq details { border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--border); transition: border-color .2s; }
.faq details[open] { border-color: var(--border-2); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s4); align-items: center; padding: var(--s4) var(--s5); min-height: 60px; font-weight: 500; font-size: 1.0625rem; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq .a { padding: 0 var(--s5) var(--s5); color: var(--muted); max-width: 46rem; }
.faq .a a { color: var(--brand); font-weight: 500; }

/* ---------- Forms ---------- */
.form-card { padding: var(--s6) var(--s5); border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
@media (min-width: 768px) { .form-card { padding: var(--s8); } }
.form-card .h3 + p { margin-top: var(--s2); color: var(--muted); }
.form-grid { display: grid; gap: var(--s5); margin-top: var(--s6); }
@media (min-width: 768px) { .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s5) var(--s4); } .form-grid .full { grid-column: 1 / -1; } }
.field label, .field legend { display: block; font-weight: 500; font-size: .9375rem; margin-bottom: .5rem; color: var(--text); }
.field .req { color: #B3261E; margin-left: 2px; }
.field .hint { font-weight: 400; color: var(--subtle); font-size: .8125rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: .75rem .875rem; border-radius: 12px;
  background: var(--paper); border: 1px solid var(--border-2); color: var(--text);
  font: 400 1rem/1.4 var(--font); transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.field textarea { min-height: 128px; resize: vertical; }
.field select { appearance: none; padding-right: 2.5rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235E6370' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .875rem center; background-size: 16px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--subtle); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); background-color: var(--surface); box-shadow: 0 0 0 4px rgba(0, 120, 226, .14); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #B3261E; }
.field .err { display: none; margin-top: .4rem; font-size: .8125rem; color: #B3261E; }
.field.has-error .err { display: block; }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
.checks { display: grid; gap: var(--s2); }
@media (min-width: 480px) { .checks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field .check { display: flex; margin: 0; font-weight: 400; color: var(--text-2); }
.check { position: relative; display: flex; align-items: center; gap: .625rem; min-height: 48px; padding: .625rem .875rem; border-radius: 12px; border: 1px solid var(--border-2); background: var(--paper); cursor: pointer; font-size: .9375rem; transition: border-color .15s, background-color .15s; }
.field .check input { width: 18px; height: 18px; min-height: 0; padding: 0; border: 0; box-shadow: none; background: none; accent-color: var(--brand); flex: none; margin: 0; }
.check:has(input:checked) { border-color: var(--brand); background: var(--brand-50); }
.check:has(input:focus-visible) { outline: 2px solid var(--brand); outline-offset: 2px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s4); margin-top: var(--s6); }
.form-foot small { color: var(--muted); font-size: .8125rem; max-width: 26rem; }
.form-status { display: none; margin-top: var(--s5); padding: var(--s4) var(--s5); border-radius: 12px; font-size: .9375rem; }
.form-status.is-shown { display: block; }
.form-status--ok { background: var(--st-av-bg); color: var(--st-av); }
.form-status--err { background: #FCEBEA; color: #8C1D18; }
.form-status--err a { text-decoration: underline; font-weight: 500; }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff; animation: spin .8s linear infinite; display: none; }
.btn[aria-busy="true"] .spinner { display: inline-block; }
.btn[aria-busy="true"] .arrow { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.waitlist-note { display: none; margin-top: var(--s4); padding: var(--s3) var(--s4); border-radius: 12px; background: var(--st-wl-bg); color: var(--st-wl); font-size: .9375rem; }
.waitlist-note.is-shown { display: flex; gap: .5rem; align-items: center; }

/* ---------- Contact ---------- */
.contact-list { display: grid; gap: var(--s3); }
.contact-item { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: var(--s4); align-items: center; padding: var(--s4); border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--border); transition: border-color .2s; }
a.contact-item:hover { border-color: var(--brand); }
.contact-item .ic { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--brand-50); color: var(--brand); }
.contact-item .ic svg { width: 20px; height: 20px; }
.contact-item small { display: block; font: 500 .6875rem/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--subtle); }
.contact-item span { display: block; font-weight: 500; overflow-wrap: anywhere; }
.contact-item address { font-style: normal; font-weight: 500; line-height: 1.5; }
.contact-item.wa .ic { background: #E7F6EC; color: #128C4A; }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: var(--on-night-2); padding-block: var(--s7) var(--s5); }
@media (min-width: 768px) { .site-footer { padding-block: var(--s8) var(--s6); } }
@media (min-width: 1024px) { .site-footer { padding-block: var(--s9) var(--s6); } }
.footer-top { display: grid; gap: var(--s7); }
.footer-brand .brand span { color: #fff; }
.footer-brand p { margin-top: var(--s4); max-width: 24rem; font-size: var(--fs-small); color: var(--on-night-2); }
.footer-brand address { margin-top: var(--s5); font-style: normal; font-size: var(--fs-small); line-height: 1.6; }
.footer-brand address strong { display: block; color: var(--on-night); font-weight: 500; }
.footer-contact { margin-top: var(--s4); display: grid; gap: .25rem; font-size: var(--fs-small); }
.footer-contact a { display: inline-flex; min-height: 32px; align-items: center; color: var(--on-night); }
.footer-contact a:hover { color: #fff; text-decoration: underline; }
.footer-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s6); }
.footer-cols h2 { font: 500 .6875rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: var(--s4); }
.footer-cols ul { display: grid; gap: .125rem; }
.footer-cols a { display: inline-flex; align-items: center; min-height: 36px; font-size: var(--fs-small); color: var(--on-night-2); transition: color .15s; }
.footer-cols a:hover { color: #fff; }
.footer-cta { padding: var(--s5); border-radius: var(--r-lg); background: var(--night-2); border: 1px solid var(--night-line); }
.footer-cta p { color: var(--on-night); font-weight: 500; font-size: 1.0625rem; margin-bottom: var(--s4); }
.footer-bottom { margin-top: var(--s8); padding-top: var(--s5); border-top: 1px solid var(--night-line); display: flex; flex-wrap: wrap; gap: var(--s3) var(--s5); justify-content: space-between; font-size: var(--fs-caption); }
@media (min-width: 768px) { .footer-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .footer-top { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.5fr) minmax(0, .9fr); gap: var(--s8); } .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Reveal motion ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-group > * { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal-group.is-in > * { opacity: 1; transform: none; }
.js .reveal-group.is-in > *:nth-child(2) { transition-delay: .06s; }
.js .reveal-group.is-in > *:nth-child(3) { transition-delay: .12s; }
.js .reveal-group.is-in > *:nth-child(4) { transition-delay: .18s; }
.js .reveal-group.is-in > *:nth-child(5) { transition-delay: .24s; }
.js .reveal-group.is-in > *:nth-child(n+6) { transition-delay: .3s; }

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

/* ---------- Utilities ---------- */
.mt-2 { margin-top: var(--s2); } .mt-4 { margin-top: var(--s4); } .mt-5 { margin-top: var(--s5); } .mt-6 { margin-top: var(--s6); } .mt-8 { margin-top: var(--s7); } .mt-9 { margin-top: var(--s7); }
@media (min-width: 768px) {
  .mt-8 { margin-top: var(--s8); } .mt-9 { margin-top: var(--s8); }
}
@media (min-width: 1024px) {
  .mt-9 { margin-top: var(--s9); }
}
.center { text-align: center; }
.max-36 { max-width: 36rem; }
.nowrap { white-space: nowrap; }
