/* ==========================================================================
   ALEXON: site design system
   Light by default (warm paper, ink, one blue-violet brand gradient), dark on
   request. Display type is Inter Tight with an Instrument Serif italic accent;
   body is Inter; labels are JetBrains Mono.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --bg: #FAF9F6;
  --bg-2: #F3F1EB;
  --surface: #FFFFFF;
  --surface-2: #F7F5F0;
  --ink: #0B1222;
  --ink-2: #3A4257;
  --ink-3: #697086;
  --line: #E6E2D8;
  --line-2: #D7D2C5;
  --brand: #2F5BFF;
  --brand-2: #7B2FF7;
  --brand-ink: #2448D8;
  --cyan: #0EA5E9;
  --ok: #10B981;
  --grad: linear-gradient(100deg, #1E9BFF 0%, #4F46E5 48%, #8B2FE8 100%);
  --grad-soft: linear-gradient(135deg, rgba(30,155,255,.12), rgba(139,47,232,.10));
  --nav-bg: rgba(250, 249, 246, .78);
  --shadow-1: 0 1px 2px rgba(11,18,34,.05), 0 1px 1px rgba(11,18,34,.03);
  --shadow-2: 0 2px 6px rgba(11,18,34,.04), 0 12px 32px -8px rgba(11,18,34,.10);
  --shadow-3: 0 4px 10px rgba(11,18,34,.05), 0 32px 64px -16px rgba(11,18,34,.18);
  --tile-dark: #0B1020;
  --mesh-1: rgba(30,155,255,.20);
  --mesh-2: rgba(139,47,232,.16);
  --mesh-3: rgba(14,165,233,.14);
  --img-filter: none;
  --logo-filter: grayscale(1) contrast(1.1);
  --logo-op: .62;

  --f-display: 'Inter Tight', 'Inter', system-ui, sans-serif;
  --f-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-serif: 'Instrument Serif', Georgia, serif;
  --f-mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;

  --r-sm: 10px; --r-md: 14px; --r-lg: 20px; --r-xl: 28px;
  --nav-h: 68px;
  --maxw: 1240px;
  --gutter: 24px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #070A12;
  --bg-2: #0A0F1B;
  --surface: #0E1422;
  --surface-2: #121A2B;
  --ink: #EEF1F8;
  --ink-2: #B3BBCD;
  --ink-3: #7F889E;
  --line: rgba(255,255,255,.08);
  --line-2: rgba(255,255,255,.14);
  --brand: #5B7CFF;
  --brand-ink: #8EA4FF;
  --nav-bg: rgba(7, 10, 18, .72);
  --shadow-1: 0 1px 2px rgba(0,0,0,.4);
  --shadow-2: 0 2px 6px rgba(0,0,0,.3), 0 16px 40px -10px rgba(0,0,0,.55);
  --shadow-3: 0 4px 10px rgba(0,0,0,.35), 0 32px 70px -16px rgba(0,0,0,.7);
  --tile-dark: #0B1020;
  --mesh-1: rgba(30,155,255,.20);
  --mesh-2: rgba(139,47,232,.22);
  --mesh-3: rgba(14,165,233,.10);
  --img-filter: brightness(.92);
  --logo-filter: grayscale(1) brightness(0) invert(1);
  --logo-op: .66;
  color-scheme: dark;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5 { margin: 0; font-family: var(--f-display); font-weight: 600; letter-spacing: -.025em; line-height: 1.1; }
::selection { background: rgba(79, 70, 229, .22); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

.ic { width: 18px; height: 18px; flex: none; }
.ic.flip { transform: scaleX(-1); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* type scale */
.display { font-family: var(--f-display); font-weight: 600; font-size: clamp(2.6rem, 5.4vw, 4.75rem); line-height: 1.02; letter-spacing: -.04em; }
.h2 { font-size: clamp(2rem, 3.6vw, 3.25rem); line-height: 1.06; letter-spacing: -.035em; }
.h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); letter-spacing: -.025em; }
.h4 { font-size: 1.25rem; }
.h5 { font-size: 1.0625rem; letter-spacing: -.015em; }
.lede { font-size: clamp(1.05rem, 1.35vw, 1.2rem); line-height: 1.6; color: var(--ink-2); max-width: 62ch; }
.muted { color: var(--ink-3); }
.serif { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 12px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--brand-ink); margin-bottom: 18px; }
.eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 0 4px rgba(79,70,229,.12); }

/* ---------- 3. Buttons ---------- */
.btn { --h: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: var(--h); padding: 0 20px; border-radius: 999px; font-weight: 600; font-size: 15px; letter-spacing: -.01em; white-space: nowrap; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s; position: relative; isolation: isolate; }
.btn .ic { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.btn:hover .ic { transform: translateX(3px); }
.btn-sm { --h: 38px; padding: 0 16px; font-size: 14px; }
.btn-lg { --h: 52px; padding: 0 26px; font-size: 16px; }
.btn-primary { color: #fff; background: var(--ink); box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 8px 22px -8px rgba(11,18,34,.5); overflow: hidden; }
.btn-primary::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grad); opacity: 0; transition: opacity .35s var(--ease); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 30px -10px rgba(79,70,229,.6); }
.btn-primary:hover::before { opacity: 1; }
:root[data-theme="dark"] .btn-primary { background: #fff; color: #0B1222; }
:root[data-theme="dark"] .btn-primary:hover { color: #fff; }
.btn-ghost { color: var(--ink); background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost:hover { background: var(--surface); box-shadow: inset 0 0 0 1px var(--ink-3), var(--shadow-1); }
.btn-light { background: #fff; color: #0B1222; }
.btn-light:hover { transform: translateY(-1px); box-shadow: 0 12px 30px -10px rgba(125,211,252,.5); }
.btn-ghost-light { color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.btn-ghost-light:hover { background: rgba(255,255,255,.08); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- 4. Navigation ---------- */
.nav { position: sticky; top: 0; z-index: 100; background: var(--nav-bg); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; view-transition-name: site-nav; }
.nav.scrolled, .nav.mega-open { border-bottom-color: var(--line); }
.nav.mega-open { background: var(--surface); }
.scroll-progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--grad); z-index: 2; }
.nav-inner { height: var(--nav-h); display: flex; align-items: center; gap: 28px; }
.nav-logo img { height: 30px; width: auto; }
.nav-menu { display: flex; align-items: center; gap: 2px; margin-left: 8px; }
.nav-link { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px; border-radius: 10px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); transition: color .2s, background .2s; position: relative; }
.nav-link:hover, .nav-link[aria-expanded="true"] { color: var(--ink); background: var(--bg-2); }
.nav-link.is-active { color: var(--ink); }
.nav-link.is-active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--grad); }
.nav-chev { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.nav-link[aria-expanded="true"] .nav-chev { transform: rotate(180deg); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav-signin .ic { width: 16px; height: 16px; }
.nav-burger { display: none; width: 42px; height: 42px; border-radius: 12px; align-items: center; justify-content: center; }
.nav-burger .ic { width: 22px; height: 22px; }

.theme-toggle { width: 56px; height: 32px; border-radius: 999px; padding: 3px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); }
.tt-track { position: relative; display: block; width: 100%; height: 100%; }
.tt-thumb { position: absolute; top: 0; left: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--surface); box-shadow: var(--shadow-1), 0 0 0 1px var(--line); display: grid; place-items: center; transition: transform .45s var(--ease); }
.tt-thumb .ic { width: 15px; height: 15px; position: absolute; transition: opacity .3s, transform .45s var(--ease); }
.tt-sun { color: #F59E0B; }
.tt-moon { color: #A5B4FC; opacity: 0; transform: rotate(-60deg) scale(.6); }
:root[data-theme="dark"] .tt-thumb { transform: translateX(24px); }
:root[data-theme="dark"] .tt-sun { opacity: 0; transform: rotate(60deg) scale(.6); }
:root[data-theme="dark"] .tt-moon { opacity: 1; transform: none; }

/* mega panels */
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(11,18,34,.25); opacity: 0; transform: translateY(-6px); transition: opacity .25s var(--ease), transform .35s var(--ease); }
.mega.show { opacity: 1; transform: none; }
.mega-inner { display: grid; grid-template-columns: 1fr 300px; gap: 40px; padding-top: 32px; padding-bottom: 24px; }
.mega-label { font: 500 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
.mega-groups { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.mega-groups .mega-label { min-height: 2.3em; line-height: 1.25; }
.mega-prod { display: flex; gap: 10px; align-items: flex-start; padding: 9px 10px; margin: 0 -10px 2px; border-radius: 10px; transition: background .2s; }
.mega-prod:hover { background: var(--bg-2); }
.mega-prod strong { display: block; font-size: 14.5px; font-weight: 600; }
.mega-prod em { display: block; font-style: normal; font-size: 12.5px; color: var(--ink-3); line-height: 1.35; margin-top: 2px; }
.mega-dot { width: 8px; height: 8px; border-radius: 3px; background: var(--hue, var(--brand)); flex: none; margin-top: 6px; box-shadow: 0 0 0 3px color-mix(in srgb, var(--hue, #2F5BFF) 18%, transparent); }
.mega-feature { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 22px; min-height: 220px; border-radius: var(--r-lg); background: var(--tile-dark); color: #fff; overflow: hidden; isolation: isolate; }
.mega-feature strong { font: 600 18px/1.25 var(--f-display); letter-spacing: -.02em; }
.mega-feature .mega-label { color: rgba(255,255,255,.6); margin: 0; }
.mega-feature-link { display: inline-flex; gap: 6px; align-items: center; font-size: 13.5px; color: #A5B4FC; }
.mega-feature-link .ic { width: 15px; height: 15px; }
.mega-feature-art { position: absolute; top: 22px; right: 22px; width: 92px; height: 92px; display: grid; place-items: center; }
.mf-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(165,180,252,.35); animation: mf-pulse 3.2s var(--ease) infinite; }
.mf-ring-2 { animation-delay: 1.6s; }
.mf-core { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--grad); box-shadow: 0 10px 30px -6px rgba(99,102,241,.8); }
.mf-core .ic { width: 22px; height: 22px; }
@keyframes mf-pulse { from { transform: scale(.55); opacity: 1; } to { transform: scale(1.25); opacity: 0; } }
.mega-feature-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7,10,18,.1), rgba(7,10,18,.9)), var(--img) center/cover; transition: transform .8s var(--ease); }
.mega-feature-photo:hover::before { transform: scale(1.05); }
.mega-svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 28px; }
.mega-svc { display: flex; gap: 14px; align-items: flex-start; padding: 12px; margin: 0 -12px; border-radius: 12px; transition: background .2s; }
.mega-svc:hover { background: var(--bg-2); }
.mega-svc strong { display: block; font-size: 15px; font-weight: 600; }
.mega-svc em { display: block; font-style: normal; font-size: 13px; color: var(--ink-3); margin-top: 2px; }
.mega-svc-ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--grad-soft); color: var(--brand-ink); flex: none; box-shadow: inset 0 0 0 1px var(--line); }
.mega-svc:hover .mega-svc-ic { background: var(--grad); color: #fff; }
.mega-foot { padding-top: 14px; padding-bottom: 18px; border-top: 1px solid var(--line); }
.mega-foot a { display: inline-flex; gap: 6px; align-items: center; font-weight: 600; font-size: 14px; color: var(--brand-ink); }
.mega-foot .ic { width: 15px; height: 15px; }
.mega-sm { left: auto; right: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))); width: 420px; top: calc(100% + 8px); border: 1px solid var(--line); border-radius: var(--r-lg); }
.mega-signin-inner { padding: 20px; }
.signin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.signin-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; font-size: 14px; }
.signin-item .mega-dot { margin: 0; }
.signin-item .ic { width: 14px; height: 14px; margin-left: auto; opacity: 0; transform: translateX(-4px); transition: .25s var(--ease); }
.signin-item:hover { background: var(--bg-2); }
.signin-item:hover .ic { opacity: 1; transform: none; }
.mega-scrim { position: fixed; inset: 0; z-index: 90; background: rgba(11,18,34,.18); backdrop-filter: blur(2px); opacity: 0; transition: opacity .3s; }
.mega-scrim.show { opacity: 1; }

/* drawer (mobile) */
.drawer { position: fixed; inset: var(--nav-h) 0 0 0; z-index: 99; background: var(--bg); overflow-y: auto; opacity: 0; transform: translateY(-8px); transition: opacity .25s, transform .35s var(--ease); }
.drawer.show { opacity: 1; transform: none; }
.drawer-inner { padding: 12px 16px 40px; }
.drawer-sec { border-bottom: 1px solid var(--line); }
.drawer-sec summary, .drawer-top { display: flex; align-items: center; justify-content: space-between; padding: 18px 4px; font: 600 18px var(--f-display); list-style: none; cursor: pointer; border-bottom: 1px solid var(--line); }
.drawer-sec summary { border: 0; }
.drawer-sec summary::-webkit-details-marker { display: none; }
.drawer-sec summary .ic { transition: transform .3s var(--ease); }
.drawer-sec[open] summary .ic { transform: rotate(180deg); }
.drawer-sec .mega-label { margin: 14px 4px 6px; }
.drawer-link { display: flex; align-items: center; gap: 10px; padding: 10px 4px; font-weight: 500; }
.drawer-link em { font-style: normal; color: var(--ink-3); font-size: 13px; margin-left: auto; text-align: right; }
.drawer-link .mega-dot { margin: 0; }
.drawer-link .ic { color: var(--brand-ink); }
.drawer-all { display: inline-flex; align-items: center; gap: 6px; color: var(--brand-ink); font-weight: 600; padding: 10px 4px 18px; }
.drawer-cta { width: 100%; margin-top: 24px; }
.drawer-contact { text-align: center; color: var(--ink-3); font-size: 14px; margin-top: 16px; }

/* ---------- 5. Sections & shared blocks ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section-alt { background: var(--bg-2); }
.section-head { max-width: 820px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head .lede { margin-top: 18px; }
.section-head-row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.ticks { display: grid; gap: 14px; margin: 28px 0 32px; }
.ticks li { display: flex; gap: 12px; color: inherit; }
.ticks .ic { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: rgba(16,185,129,.16); color: #34D399; flex: none; margin-top: 2px; }

/* reveal */
.js .rv { opacity: 0; transform: translateY(26px); filter: blur(6px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .rv.in { opacity: 1; transform: none; filter: none; }

/* spotlight hover (cursor-follow) */
.spot { --mx: 50%; --my: 50%; }
.spot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(79,70,229,.10), transparent 45%); }
.spot:hover::after { opacity: 1; }

/* ---------- 6. Hero ---------- */
.hero { position: relative; padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 96px); overflow: hidden; isolation: isolate; }
.hero-mesh { position: absolute; inset: -20% -10% auto -10%; height: 120%; z-index: -2; filter: blur(70px); }
.hero-mesh span { position: absolute; border-radius: 50%; }
.hero-mesh span:nth-child(1) { width: 46vw; height: 46vw; left: 0; top: 0; background: var(--mesh-1); animation: drift1 22s var(--ease-io) infinite alternate; }
.hero-mesh span:nth-child(2) { width: 40vw; height: 40vw; right: 2%; top: 4%; background: var(--mesh-2); animation: drift2 26s var(--ease-io) infinite alternate; }
.hero-mesh span:nth-child(3) { width: 34vw; height: 34vw; left: 30%; top: 38%; background: var(--mesh-3); animation: drift3 30s var(--ease-io) infinite alternate; }
@keyframes drift1 { to { transform: translate(8vw, 6vw) scale(1.1); } }
@keyframes drift2 { to { transform: translate(-6vw, 8vw) scale(.92); } }
@keyframes drift3 { to { transform: translate(-10vw, -4vw) scale(1.15); } }
.hero-gridlines { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 72px 72px; mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%); opacity: .55; }
.hero-wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.announce { display: inline-flex; align-items: center; gap: 10px; padding: 5px 14px 5px 5px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-1); font-size: 13.5px; font-weight: 500; color: var(--ink-2); margin-bottom: 28px; transition: box-shadow .25s, transform .25s var(--ease); }
.announce:hover { transform: translateY(-1px); box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow-2); }
.announce .ic { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.announce:hover .ic { transform: translateX(3px); }
.announce-tag { padding: 4px 10px; border-radius: 999px; background: var(--grad); color: #fff; font: 600 11px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; }
.hero-title .w { display: inline-block; }
.js .hero-title .w { opacity: 0; transform: translateY(.45em); filter: blur(10px); animation: word-in 1s var(--ease) forwards; }
.hero-title .w:nth-child(1) { animation-delay: .05s; } .hero-title .w:nth-child(2) { animation-delay: .12s; }
.hero-title .w:nth-child(3) { animation-delay: .19s; } .hero-title .w:nth-child(4) { animation-delay: .26s; }
.hero-title .w:nth-child(5) { animation-delay: .36s; } .hero-title .w:nth-child(6) { animation-delay: .46s; }
.hero-title .w:nth-child(7) { animation-delay: .53s; } .hero-title .w:nth-child(8) { animation-delay: .6s; }
.hero-title .serif { font-size: 1.08em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding: 0 .06em; }
@keyframes word-in { to { opacity: 1; transform: none; filter: none; } }
.hero-lede { margin-top: 26px; }
.js .hero-lede, .js .hero-actions, .js .hero-proof, .js .announce { opacity: 0; animation: fade-up .9s var(--ease) forwards; }
.js .announce { animation-delay: 0s; } .js .hero-lede { animation-delay: .55s; } .js .hero-actions { animation-delay: .7s; } .js .hero-proof { animation-delay: .85s; }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 36px; font-size: 13.5px; color: var(--ink-3); }
.hero-proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof .ic { width: 16px; height: 16px; color: var(--brand-ink); }

/* the dark stage that carries the hologram in both themes */
.hero-stage { position: relative; border-radius: var(--r-xl); background: #050914; overflow: hidden; isolation: isolate; aspect-ratio: 1 / 1.04; box-shadow: 0 0 0 1px rgba(255,255,255,.06), 0 40px 90px -30px rgba(30, 50, 140, .55), 0 18px 40px -20px rgba(11,18,34,.45); display: flex; flex-direction: column; opacity: 0; animation: stage-in 1.4s .2s var(--ease) forwards; }
@keyframes stage-in { from { opacity: 0; transform: translateY(20px) scale(.97); } to { opacity: 1; transform: none; } }
.stage-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 55% at 50% 40%, rgba(30,111,224,.28), transparent 70%), radial-gradient(50% 40% at 80% 90%, rgba(139,47,232,.22), transparent 70%), linear-gradient(rgba(140,190,255,.06) 1px, transparent 1px) 0 0/34px 34px, linear-gradient(90deg, rgba(140,190,255,.06) 1px, transparent 1px) 0 0/34px 34px; }
.stage-chrome { display: flex; align-items: center; gap: 12px; padding: 14px 18px; font: 500 11px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: rgba(196,222,247,.6); border-bottom: 1px solid rgba(255,255,255,.06); }
.stage-dots { display: inline-flex; gap: 6px; }
.stage-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.14); }
.stage-title { flex: 1; text-align: center; }
.stage-rec { display: inline-flex; align-items: center; gap: 6px; color: #FCA5A5; }
.stage-rec i { width: 7px; height: 7px; border-radius: 50%; background: #EF4444; animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .25; } }
/* the visual is a size container so the head fits whichever is tighter, width or height */
.hero-stage .hero-visual { flex: 1; min-height: 0; container-type: size; }
.hero-stage .android-stage { width: min(400px, 82cqw, 92cqh * 5 / 6); margin: 0 auto; }
.stage-ask { margin: 0 16px 16px; display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 12px; border-radius: 14px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); color: rgba(226,236,255,.85); font-size: 14px; text-align: left; transition: background .25s, box-shadow .25s; backdrop-filter: blur(10px); }
.stage-ask:hover { background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(165,180,252,.35); }
.stage-ask > span:nth-child(2) { flex: 1; }
.stage-ask-ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--grad); color: #fff; }
.stage-ask-ic .ic { width: 16px; height: 16px; }
.stage-ask kbd { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; background: rgba(255,255,255,.08); }
.stage-ask kbd .ic { width: 15px; height: 15px; }

/* ---------- 7. Marquee ---------- */
.marquee-band { padding: 28px 0 8px; }
.marquee-label { text-align: center; font: 500 12px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 26px; padding: 0 16px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 64px; width: max-content; animation: marquee 48s linear infinite; padding: 6px 0; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 32px)); } }
.marquee-item .plogo { height: 34px; width: auto; filter: var(--logo-filter); opacity: var(--logo-op); transition: filter .35s, opacity .35s, transform .35s var(--ease); }
.marquee-item:hover .plogo { filter: none; opacity: 1; transform: scale(1.05); }
:root[data-theme="dark"] .marquee-item:hover img.plogo { filter: drop-shadow(0 0 0 #fff) brightness(1.25); }

/* Pulse TNI CSS wordmark */
.plogo-css { display: inline-flex; align-items: center; gap: 9px; height: 34px; }
.pls-mark { position: relative; width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(135deg, #06B6D4, #3B82F6 55%, #8B5CF6); display: grid; place-items: center; }
.pls-mark::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px #fff; }
.pls-mark i { position: absolute; inset: 5px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.75); animation: pls 2.6s ease-out infinite; }
.pls-mark i + i { animation-delay: 1.3s; }
@keyframes pls { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.pls-word { font: 700 21px/1 var(--f-display); letter-spacing: -.03em; color: var(--ink); }
.pls-word b { font: 600 11px/1 var(--f-mono); letter-spacing: .2em; margin-left: 6px; color: var(--ink-3); vertical-align: 3px; }

/* ---------- 8. Doors ---------- */
.doors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.door { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 30px; min-height: 330px; border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-1); transition: transform .5s var(--ease), box-shadow .5s var(--ease); overflow: hidden; }
.door:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow-3); }
.door-num { font: 500 12px var(--f-mono); color: var(--ink-3); letter-spacing: .1em; }
.door-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--grad); color: #fff; box-shadow: 0 14px 30px -12px rgba(79,70,229,.7); margin: 6px 0 8px; }
.door-ic .ic { width: 24px; height: 24px; }
.door p { color: var(--ink-2); }
.door-link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14.5px; color: var(--brand-ink); }
.door-link .ic { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.door:hover .door-link .ic { transform: translateX(5px); }

/* ---------- 9. Story (sticky device) ---------- */
.story-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); }
.story-stage { position: sticky; top: calc(var(--nav-h) + 40px); height: fit-content; align-self: start; }
.device { border-radius: 18px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-3); overflow: hidden; }
.device-bar { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.device-bar .stage-dots i { background: var(--line-2); }
.device-bar .stage-dots i:nth-child(1) { background: #F87171; } .device-bar .stage-dots i:nth-child(2) { background: #FBBF24; } .device-bar .stage-dots i:nth-child(3) { background: #34D399; }
.device-url { flex: 1; max-width: 320px; margin: 0 auto; text-align: center; padding: 5px 12px; border-radius: 8px; background: var(--bg); font: 500 12px var(--f-mono); color: var(--ink-3); box-shadow: inset 0 0 0 1px var(--line); }
.device-screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-2); }
.scene { position: absolute; inset: 0; opacity: 0; transform: scale(1.04); transition: opacity .8s var(--ease), transform 1.2s var(--ease); }
.scene.is-on { opacity: 1; transform: none; }
.scene img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.scene-photo { filter: var(--img-filter); }
.scene-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,10,18,0) 30%, rgba(7,10,18,.72)); }
.scene-chips { position: absolute; left: 22px; right: 22px; bottom: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.scene-chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 10px; border-radius: 12px; background: rgba(255,255,255,.14); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: #fff; font-size: 13.5px; font-weight: 500; box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); opacity: 0; transform: translateY(10px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(.25s + var(--i) * .1s); }
.scene-chip .ic { width: 16px; height: 16px; padding: 2px; border-radius: 50%; background: #10B981; }
.scene.is-on .scene-chip { opacity: 1; transform: none; }
.story-chapters { display: flex; flex-direction: column; }
.chapter { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; padding: 40px 0; opacity: .32; transition: opacity .6s var(--ease); }
.chapter.is-on { opacity: 1; }
.chapter-media { display: none; }
.chapter-kicker { display: flex; align-items: center; gap: 12px; font: 500 12px var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--brand-ink); margin-bottom: 14px; }
.chapter-idx { color: var(--ink-3); }
.chapter-title { font-size: clamp(1.6rem, 2.6vw, 2.25rem); letter-spacing: -.03em; }
.chapter-text { color: var(--ink-2); margin: 16px 0 24px; font-size: 1.05rem; }
.chapter-prods { display: grid; gap: 8px; }
.prod-pill { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .3s, transform .3s var(--ease); }
.prod-pill .mega-dot { margin: 0; }
.prod-pill strong { font-weight: 600; }
.prod-pill em { font-style: normal; color: var(--ink-3); font-size: 13.5px; }
.prod-pill .ic { margin-left: auto; width: 16px; height: 16px; color: var(--ink-3); transition: transform .3s var(--ease), color .3s; }
.prod-pill:hover { transform: translateX(4px); box-shadow: inset 0 0 0 1px var(--hue), var(--shadow-2); }
.prod-pill:hover .ic { color: var(--hue); transform: translateX(3px); }
.chapter-cap { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 13px; color: var(--ink-3); }
.chapter-cap .ic { width: 15px; height: 15px; }

/* ---------- 10. Dark band: agentic AI ---------- */
.band-dark { background: #060912; color: #E6ECF8; overflow: hidden; isolation: isolate; }
.band-dark .lede { color: rgba(214,224,245,.75); }
.band-dark .eyebrow { color: #A5B4FC; }
.band-glow { position: absolute; z-index: -1; width: 70vw; height: 70vw; left: 40%; top: -20%; background: radial-gradient(circle, rgba(79,70,229,.30), transparent 60%); filter: blur(40px); animation: drift2 20s var(--ease-io) infinite alternate; }
.ai-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.orch { position: relative; border-radius: var(--r-xl); padding: 18px; background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.orch-svg { width: 100%; height: auto; overflow: visible; }
.orch-path { fill: none; stroke: url(#orch-line); stroke-width: 1.5; stroke-dasharray: 4 6; opacity: .55; animation: dash 1.4s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -20; } }
.packets circle { fill: #7DD3FC; filter: drop-shadow(0 0 6px #38BDF8); }
.packets .pk-ok { fill: #6EE7B7; filter: drop-shadow(0 0 6px #10B981); }
.orch-svg text { font: 600 10.5px var(--f-body); fill: #E6ECF8; text-anchor: middle; }
.orch-svg text.sub { font: 500 8.5px var(--f-mono); fill: rgba(165,180,252,.75); letter-spacing: .02em; }
.orch-svg text.lbl { font: 500 9.5px var(--f-mono); fill: rgba(196,210,240,.6); letter-spacing: .04em; }
.orch-svg .core-t { font: 700 11px var(--f-display); }
.node rect { fill: rgba(15,22,40,.92); stroke: rgba(165,180,252,.28); }
.node-agent rect { stroke: rgba(125,211,252,.35); }
.node-sys rect { stroke: rgba(110,231,183,.45); }
.core-ring { fill: rgba(15,22,40,.95); stroke: #818CF8; stroke-width: 1.2; }
.core-ring-2 { fill: none; stroke: rgba(129,140,248,.35); stroke-dasharray: 2 5; transform-origin: 210px 230px; animation: spin 18s linear infinite; }
.core-pulse { transform-origin: 210px 230px; animation: core 3s ease-in-out infinite; }
@keyframes core { 50% { transform: scale(1.18); opacity: .55; } }
@keyframes spin { to { transform: rotate(360deg); } }
.node-gate rect { fill: rgba(15,22,40,.95); stroke: #FBBF24; stroke-width: 1.2; }
.gate-shield { fill: rgba(251,191,36,.18); stroke: #FBBF24; stroke-width: 1.2; animation: gate 2.4s ease-in-out infinite; transform-origin: 482px 222px; }
@keyframes gate { 50% { transform: scale(1.15); } }

/* ---------- 11. GIS ---------- */
.gis-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.gis-map { position: relative; border-radius: var(--r-xl); overflow: hidden; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-3); }
.gis-svg { width: 100%; height: auto; }
.gis-bg { fill: #F4F1E8; }
:root[data-theme="dark"] .gis-bg { fill: #0C1322; }
.contours path { fill: none; stroke: rgba(160,130,80,.25); stroke-width: 1; }
:root[data-theme="dark"] .contours path { stroke: rgba(140,170,220,.12); }
.parcels path { fill: rgba(255,255,255,.65); stroke: #B9AE95; stroke-width: 1; stroke-dasharray: 900; stroke-dashoffset: 900; }
:root[data-theme="dark"] .parcels path { fill: rgba(255,255,255,.025); stroke: rgba(150,170,210,.35); }
.parcels .parcel-hl { fill: rgba(47,91,255,.10); stroke: var(--brand); stroke-width: 1.6; }
.parcels .parcel-hatch { stroke: none; opacity: 0; }
.hatch { stroke: rgba(47,91,255,.35); stroke-width: 1; }
.roads path { fill: none; stroke: #fff; stroke-width: 11; stroke-linecap: round; filter: drop-shadow(0 0 0.5px #C7BFA9); }
:root[data-theme="dark"] .roads path { stroke: #1A2338; filter: none; }
.crow { fill: none; stroke: #EF4444; stroke-width: 1.6; stroke-dasharray: 5 6; opacity: 0; }
.route { fill: none; stroke: url(#g-brand); stroke: #4F46E5; stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 700; stroke-dashoffset: 700; filter: drop-shadow(0 3px 6px rgba(79,70,229,.35)); }
.fibre { fill: none; stroke: #06B6D4; stroke-width: 3; stroke-dasharray: 2 5; stroke-linecap: round; }
.pin circle { fill: var(--brand); }
.pin .pin-pulse { fill: rgba(47,91,255,.25); animation: pin 2s ease-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes pin { from { transform: scale(.5); opacity: 1; } to { transform: scale(2); opacity: 0; } }
.pin-b rect { fill: #06B6D4; stroke: #fff; stroke-width: 2; }
.route-dot { fill: #fff; stroke: #4F46E5; stroke-width: 2.5; opacity: 0; }
.gis-tag rect { fill: var(--surface); stroke: var(--line-2); filter: drop-shadow(0 6px 12px rgba(11,18,34,.12)); }
.gis-tag text { font: 600 10.5px var(--f-body); fill: var(--ink); }
.gis-tag text.sub { font: 500 9px var(--f-mono); fill: var(--ink-3); }
.gis-tag { opacity: 0; transition: opacity .6s var(--ease); }
.gis-map.play .parcels path { animation: draw 2.2s var(--ease) forwards; }
.gis-map.play .parcels path:nth-child(2n) { animation-delay: .15s; }
.gis-map.play .parcels path:nth-child(3n) { animation-delay: .3s; }
.gis-map.play .parcels .parcel-hatch { animation: fade-in .8s 1.6s forwards; }
.gis-map.play .crow { animation: fade-in .6s 1.2s forwards; }
.gis-map.play .route { animation: draw 2.4s 1.6s var(--ease-io) forwards; }
.gis-map.play .route-dot { animation: fade-in .4s 4s forwards; }
.gis-map.play .gis-tag-a { opacity: 1; transition-delay: 1s; }
.gis-map.play .gis-tag-b { opacity: 1; transition-delay: 3.6s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade-in { to { opacity: 1; } }
.gis-readout { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.gis-readout > div { padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.gis-readout > div + div { border-left: 1px solid var(--line); }
.ro-l { font: 500 11px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.ro-v { font: 600 22px var(--f-display); letter-spacing: -.02em; }
.ro-crow { color: #DC2626; } .ro-route { color: var(--brand-ink); }
.gis-note { padding: 0 18px 14px; font-size: 12px; color: var(--ink-3); }
.gis-caps { display: grid; gap: 4px; margin: 30px 0 34px; }
.gis-cap { display: flex; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.gis-cap-n { font: 500 12px var(--f-mono); color: var(--brand-ink); padding-top: 3px; }
.gis-cap strong { display: block; font-family: var(--f-display); font-size: 17px; letter-spacing: -.015em; }
.gis-cap p { color: var(--ink-2); font-size: 14.5px; margin-top: 4px; }

/* ---------- 12. Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: 28px; min-height: 250px; border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-1); overflow: hidden; isolation: isolate; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.tile:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow-3); }
.b-wide { grid-column: span 3; min-height: 340px; color: #fff; background: #0B1020; }
.b-third { grid-column: span 2; }
.b-half { grid-column: span 3; }
.tile-photo { position: absolute; inset: 0; z-index: -1; background-size: cover; background-position: center; transition: transform 1.2s var(--ease); }
.tile-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,10,18,.15) 0%, rgba(7,10,18,.85) 100%); }
.tile:hover .tile-photo { transform: scale(1.06); }
.tile-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--grad-soft); color: var(--brand-ink); box-shadow: inset 0 0 0 1px var(--line); }
.b-wide .tile-ic { background: rgba(255,255,255,.14); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); backdrop-filter: blur(10px); }
.tile-ic .ic { width: 22px; height: 22px; }
.tile-body { display: flex; flex-direction: column; gap: 8px; }
.tile-title { font: 600 21px/1.2 var(--f-display); letter-spacing: -.02em; }
.tile-text { color: var(--ink-2); }
.b-wide .tile-text { color: rgba(230,236,248,.82); }
.tile-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.tile-tags i { font: 500 11.5px var(--f-mono); font-style: normal; padding: 5px 9px; border-radius: 7px; background: var(--bg-2); color: var(--ink-3); }
.b-wide .tile-tags i { background: rgba(255,255,255,.12); color: rgba(255,255,255,.85); }
.tile-go { position: absolute; top: 24px; right: 24px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-2); transition: background .3s, color .3s, transform .4s var(--ease); }
.b-wide .tile-go { box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); }
.tile-go .ic { width: 16px; height: 16px; transform: rotate(-45deg); transition: transform .4s var(--ease); }
.tile:hover .tile-go { background: var(--ink); color: var(--bg); }
.b-wide:hover .tile-go { background: #fff; color: #0B1222; }
.tile:hover .tile-go .ic { transform: none; }

/* ---------- 13. Trust ---------- */
.trust-top { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 56px; }
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 20px; }
.metric { padding: 30px 28px; display: flex; flex-direction: column; gap: 8px; }
.metric + .metric { border-left: 1px solid var(--line); }
.metric-v { font: 600 clamp(2.4rem, 4vw, 3.4rem)/1 var(--f-display); letter-spacing: -.04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.metric-l { color: var(--ink-3); font-size: 14px; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar { padding: 28px; border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .4s, transform .4s var(--ease); }
.pillar:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow-2); }
.pillar-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: var(--brand-ink); background: var(--grad-soft); margin-bottom: 18px; box-shadow: inset 0 0 0 1px var(--line); }
.pillar-ic .ic { width: 20px; height: 20px; }
.pillar p { color: var(--ink-2); margin-top: 8px; font-size: 15px; }

/* ---------- 14. Method ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.steps-line { position: absolute; left: 22px; right: 22px; top: 22px; height: 2px; background: var(--line); border-radius: 2px; }
.steps-fill { display: block; height: 100%; width: 0; background: var(--grad); border-radius: 2px; transition: width .2s linear; }
.step { position: relative; padding-top: 64px; }
.step-n { position: absolute; top: 0; left: 0; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font: 600 13px var(--f-mono); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2), 0 0 0 6px var(--bg-2); }
.step-when { display: block; font: 500 12px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--brand-ink); margin-bottom: 10px; }
.step p { color: var(--ink-2); margin-top: 10px; font-size: 15px; }

/* ---------- 15. Industry rail ---------- */
.rail { --rail-pad: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))); display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--rail-pad) 24px; scroll-padding-inline: var(--rail-pad); scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail-ctrl { display: flex; gap: 8px; }
.rail-btn { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-2); transition: background .25s, color .25s; }
.rail-btn:hover { background: var(--ink); color: var(--bg); }
.ind-card { position: relative; flex: 0 0 min(380px, 82vw); height: 480px; border-radius: var(--r-lg); overflow: hidden; scroll-snap-align: start; isolation: isolate; color: #fff; }
.ind-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.ind-card:hover img { transform: scale(1.06); }
.ind-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7,10,18,0) 30%, rgba(7,10,18,.9)); }
.ind-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.ind-body strong { font: 600 24px var(--f-display); letter-spacing: -.02em; }
.ind-body > span { color: rgba(230,236,248,.85); font-size: 15px; }
.ind-prods { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.ind-prods i { font-style: normal; font: 500 11.5px var(--f-mono); padding: 5px 9px; border-radius: 7px; background: rgba(255,255,255,.14); backdrop-filter: blur(8px); }

/* ---------- 16. CTA ---------- */
.cta-section { padding-top: 40px; }
.cta-card { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; padding: clamp(36px, 6vw, 72px); border-radius: var(--r-xl); background: #070B16; color: #fff; overflow: hidden; isolation: isolate; }
.cta-card .lede { color: rgba(214,224,245,.75); margin-top: 16px; }
.cta-glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 80% at 100% 0%, rgba(139,47,232,.45), transparent 60%), radial-gradient(50% 80% at 0% 100%, rgba(30,155,255,.35), transparent 60%); }
.cta-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 40px 40px; mask-image: linear-gradient(90deg, transparent, #000); -webkit-mask-image: linear-gradient(90deg, transparent, #000); }
.cta-actions { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.cta-card .btn-primary { background: #fff; color: #0B1222; }
.cta-card .btn-primary:hover { color: #fff; }
.cta-card .btn-ghost { color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.cta-card .btn-ghost:hover { background: rgba(255,255,255,.08); }

/* ---------- 17. Footer ---------- */
.footer { position: relative; padding: 72px 0 0; background: var(--bg-2); border-top: 1px solid var(--line); overflow: hidden; }
.foot-news { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.foot-news p { color: var(--ink-2); margin-top: 6px; }
.news-form { display: flex; gap: 8px; flex: 0 1 440px; }
.news-form input { flex: 1; height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); outline: none; transition: border-color .2s, box-shadow .2s; min-width: 0; }
.news-form input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(47,91,255,.12); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 40px; padding: 48px 0; }
.foot-brand img { height: 28px; width: auto; }
.foot-brand p { color: var(--ink-2); margin: 18px 0 20px; font-size: 14.5px; max-width: 34ch; }
.foot-contact { display: grid; gap: 10px; font-size: 14px; color: var(--ink-2); }
.foot-contact li { display: flex; align-items: center; gap: 10px; }
.foot-contact .ic { width: 16px; height: 16px; color: var(--ink-3); }
.foot-contact a:hover, .foot-col a:hover { color: var(--brand-ink); }
.foot-col h4 { font: 500 12px var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 16px; }
.foot-col ul { display: grid; gap: 9px; font-size: 14.5px; color: var(--ink-2); }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-3); flex-wrap: wrap; }
.foot-bottom-links { display: flex; gap: 20px; align-items: center; }
.status-pill { display: inline-flex; align-items: center; gap: 8px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--grad); }
.foot-wordmark { font: 700 clamp(5rem, 21vw, 19rem)/.78 var(--f-display); letter-spacing: -.06em; text-align: center; background: linear-gradient(180deg, var(--line), transparent 70%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; margin-top: 8px; margin-bottom: -.12em; }

/* ---------- 18. Toasts ---------- */
.toasts { position: fixed; top: calc(var(--nav-h) + 14px); left: 50%; transform: translateX(-50%); z-index: 150; display: grid; gap: 8px; width: min(520px, calc(100vw - 32px)); }
.toast { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-3); animation: fade-up .5s var(--ease); font-size: 14.5px; }
.toast > .ic { color: var(--ok); }
.toast-error > .ic { color: #EF4444; }
.toast span { flex: 1; }
.toast-x .ic { width: 16px; height: 16px; color: var(--ink-3); }

/* ---------- 19. Inner pages ---------- */
.page-hero { position: relative; padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 6vw, 80px); overflow: hidden; isolation: isolate; }
.page-hero .hero-mesh { opacity: .8; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font: 500 12.5px var(--f-mono); color: var(--ink-3); margin-bottom: 26px; }
.crumbs a:hover { color: var(--ink); }
.crumbs .sep { opacity: .5; }
.page-hero .display { font-size: clamp(2.4rem, 5vw, 4.25rem); max-width: 18ch; }
.page-hero .lede { margin-top: 22px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.frame { border-radius: var(--r-xl); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-3); background: var(--surface); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame-photo { aspect-ratio: 4 / 3; position: relative; }
.frame-photo img { filter: var(--img-filter); }

/* platform hero visual */
.p-hero-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.p-logo { height: 46px; width: auto; margin-bottom: 26px; }
.p-logo.plogo-css { height: 46px; }
.p-logo.plogo-css .pls-mark { width: 36px; height: 36px; border-radius: 11px; }
.p-logo.plogo-css .pls-word { font-size: 30px; }
:root[data-theme="dark"] img.p-logo { filter: drop-shadow(0 0 1px rgba(255,255,255,.25)) brightness(1.35); }
.p-kind { display: inline-flex; align-items: center; gap: 8px; font: 500 12px var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--hue); margin-bottom: 16px; }
.p-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.p-visual { position: relative; }
.p-visual .device { transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); transition: transform 1s var(--ease); }
.p-visual:hover .device { transform: none; }
.p-visual-art { position: relative; aspect-ratio: 16 / 11; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-3); isolation: isolate; }
.p-visual-art > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: var(--img-filter); }
.p-visual-art::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(160deg, color-mix(in srgb, var(--hue) 35%, transparent), rgba(7,10,18,.78)); }
.p-glass { position: absolute; left: 24px; top: 24px; padding: 14px 18px; border-radius: 16px; background: rgba(255,255,255,.88); box-shadow: var(--shadow-2); backdrop-filter: blur(10px); }
.p-glass .plogo { height: 30px; width: auto; }
.p-glass .pls-word { color: #0B1222; }
.p-mods { position: absolute; left: 24px; right: 24px; bottom: 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.p-mods span { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 11px; background: rgba(255,255,255,.14); backdrop-filter: blur(12px); color: #fff; font-size: 13px; font-weight: 500; box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); animation: fade-up .7s var(--ease) both; }
.p-mods span:nth-child(2) { animation-delay: .1s; } .p-mods span:nth-child(3) { animation-delay: .2s; } .p-mods span:nth-child(4) { animation-delay: .3s; } .p-mods span:nth-child(5) { animation-delay: .4s; } .p-mods span:nth-child(6) { animation-delay: .5s; }
.p-mods .ic { width: 14px; height: 14px; }
.p-shots-thumbs { display: flex; gap: 12px; margin-top: 16px; }
.p-thumb { flex: 1; border-radius: 12px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-1); opacity: .6; transition: opacity .3s, box-shadow .3s; aspect-ratio: 16/10; }
.p-thumb.is-on, .p-thumb:hover { opacity: 1; box-shadow: 0 0 0 2px var(--hue), var(--shadow-2); }
.p-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.shot-cap { font-size: 13px; color: var(--ink-3); margin-top: 12px; display: flex; gap: 8px; align-items: center; }
.shot-cap .ic { width: 15px; height: 15px; }

.pvs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pvs-card { padding: 34px; border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.pvs-card h3 { margin-bottom: 20px; display: flex; align-items: center; gap: 12px; }
.pvs-badge { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; }
.pvs-before .pvs-badge { background: rgba(239,68,68,.1); color: #EF4444; }
.pvs-after { background: #070B16; color: #E6ECF8; box-shadow: none; position: relative; overflow: hidden; isolation: isolate; }
.pvs-after::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 70% at 100% 0%, color-mix(in srgb, var(--hue) 45%, transparent), transparent 70%); }
.pvs-after .pvs-badge { background: rgba(16,185,129,.16); color: #34D399; }
.pvs-list { display: grid; gap: 14px; }
.pvs-list li { display: flex; gap: 12px; color: var(--ink-2); }
.pvs-list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #EF4444; margin-top: 10px; flex: none; }
.pvs-outcome { font: 400 clamp(1.25rem, 2vw, 1.6rem)/1.4 var(--f-display); letter-spacing: -.02em; }

.mods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mod { position: relative; padding: 26px; border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: transform .4s var(--ease), box-shadow .4s; overflow: hidden; }
.mod:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--hue, #2F5BFF) 45%, transparent), var(--shadow-2); }
.mod-n { font: 500 12px var(--f-mono); color: var(--hue, var(--brand-ink)); }
.mod h3 { margin: 14px 0 8px; }
.mod p { color: var(--ink-2); font-size: 15px; }
.mod-ai { background: #070B16; color: #E6ECF8; box-shadow: none; }
.mod-ai p { color: rgba(214,224,245,.75); }
.mod-ai::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }

.assist { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; padding: 32px; border-radius: var(--r-xl); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.assist-orb { width: 76px; height: 76px; border-radius: 24px; display: grid; place-items: center; background: var(--grad); color: #fff; box-shadow: 0 18px 40px -14px rgba(79,70,229,.8); position: relative; }
.assist-orb .ic { width: 32px; height: 32px; }
.assist-orb::after { content: ""; position: absolute; inset: -8px; border-radius: 30px; border: 1px solid rgba(79,70,229,.35); animation: mf-pulse 2.6s var(--ease) infinite; }
.assist ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.assist li { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; padding: 6px 11px; border-radius: 999px; background: var(--bg-2); color: var(--ink-2); }
.assist li .ic { width: 14px; height: 14px; color: var(--ok); }

.found { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.found > div { background: var(--surface); padding: 24px; }
.found .ic { width: 22px; height: 22px; color: var(--brand-ink); margin-bottom: 14px; }
.found strong { display: block; font-family: var(--f-display); letter-spacing: -.015em; }
.found p { color: var(--ink-3); font-size: 14px; margin-top: 4px; }

.cards { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 16px; }
.pcard { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 26px; border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: transform .45s var(--ease), box-shadow .45s; overflow: hidden; min-height: 250px; }
.pcard::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--hue); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.pcard:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow-3); }
.pcard:hover::before { transform: none; }
.pcard .plogo { height: 30px; width: auto; align-self: flex-start; }
:root[data-theme="dark"] .pcard img.plogo { filter: brightness(1.35); }
.pcard-kind { font: 500 11.5px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--hue); }
.pcard p { color: var(--ink-2); font-size: 15px; }
.pcard-go { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; }
.pcard-go .ic { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.pcard:hover .pcard-go .ic { transform: translateX(4px); }
.group-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding-bottom: 18px; margin: 64px 0 22px; border-bottom: 1px solid var(--line); }
.group-head:first-child { margin-top: 0; }
.group-head p { color: var(--ink-3); }

.svc-list { display: grid; gap: 16px; }
.svc-row { position: relative; display: grid; grid-template-columns: 70px 1.1fr 1.4fr auto; gap: 28px; align-items: center; padding: 30px; border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .4s, transform .4s var(--ease); overflow: hidden; }
.svc-row:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow-3); }
.svc-row .tile-ic { width: 58px; height: 58px; border-radius: 18px; }
.svc-row .tile-ic .ic { width: 26px; height: 26px; }
.svc-row p { color: var(--ink-2); }
.svc-row .tile-go { position: static; }
.svc-row:hover .tile-go { background: var(--ink); color: var(--bg); }
.svc-row:hover .tile-go .ic { transform: none; }

.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cap { padding: 28px; border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: transform .4s var(--ease), box-shadow .4s; }
.cap:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow-2); }
.cap-n { font: 500 12px var(--f-mono); color: var(--brand-ink); }
.cap h3 { margin: 16px 0 8px; }
.cap p { color: var(--ink-2); font-size: 15px; }
.stack { display: flex; flex-wrap: wrap; gap: 10px; }
.stack span { padding: 10px 16px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-weight: 500; font-size: 14.5px; transition: box-shadow .3s, transform .3s var(--ease); }
.stack span:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--brand), var(--shadow-1); }

.ind-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding: 56px 0; border-top: 1px solid var(--line); }
.ind-row:nth-child(even) .frame { order: 2; }
.ind-row .frame { aspect-ratio: 4 / 3; }
.ind-row .frame img { filter: var(--img-filter); transition: transform 1.2s var(--ease); }
.ind-row:hover .frame img { transform: scale(1.04); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; border-radius: 10px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; font-weight: 500; transition: box-shadow .25s; }
.chip:hover { box-shadow: inset 0 0 0 1px var(--hue, var(--brand)); }
.chip .mega-dot { margin: 0; }
.chip .ic { width: 15px; height: 15px; color: var(--brand-ink); }
.chip-label { font: 500 11.5px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-top: 22px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-info { display: grid; gap: 14px; margin-top: 32px; }
.ci { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 14px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.ci .pillar-ic { margin: 0; }
.ci small { display: block; color: var(--ink-3); font-size: 12.5px; }
.ci a, .ci span { font-weight: 600; }
.next-steps { margin-top: 36px; display: grid; gap: 18px; counter-reset: ns; }
.next-steps li { display: flex; gap: 14px; color: var(--ink-2); }
.next-steps li::before { counter-increment: ns; content: counter(ns); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font: 600 12px var(--f-mono); background: var(--grad); color: #fff; flex: none; }
.form-card { padding: clamp(24px, 4vw, 40px); border-radius: var(--r-xl); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-3); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg); outline: none; transition: border-color .2s, box-shadow .2s, background .2s; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); background: var(--surface); box-shadow: 0 0 0 4px rgba(47,91,255,.12); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--ink-3); }
.consent input { margin-top: 3px; accent-color: var(--brand); }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; flex-wrap: wrap; }
.form-foot small { color: var(--ink-3); }

.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin: 40px 0 12px; }
.prose p, .prose li { color: var(--ink-2); margin-bottom: 12px; }
.prose ul { list-style: disc; padding-left: 22px; }
.prose a { color: var(--brand-ink); text-decoration: underline; }

.principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line); }
.principle { padding: 34px 34px 34px 0; border-bottom: 1px solid var(--line); display: flex; gap: 22px; }
.principle:nth-child(odd) { border-right: 1px solid var(--line); }
.principle:nth-child(even) { padding-left: 34px; }
.principle-n { font: 400 44px/1 var(--f-serif); font-style: italic; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 4px; }
.principle p { color: var(--ink-2); margin-top: 8px; }
.statement { font: 500 clamp(1.6rem, 3.2vw, 2.6rem)/1.25 var(--f-display); letter-spacing: -.03em; max-width: 24ch; }
.statement em { font-family: var(--f-serif); font-weight: 400; }

/* ---------- 20. View transitions (cross-page, where supported) ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .28s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .5s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(12px); } }

/* ---------- 21. Hologram stage sizing (complements legacy.css) ---------- */
.hero-stage .hero-visual { min-height: 0; }
.hero-stage .hud-chip-1 { right: -24%; top: 3%; }
.hero-stage .hud-chip-2 { left: -26%; bottom: 36%; }
.hero-stage .hud-chip-3 { right: -24%; bottom: 13%; }
.ai-copy .lede, .gis-copy .lede { margin-top: 18px; }

/* ---------- 22. Responsive ---------- */
@media (max-width: 1180px) {
  .nav-menu { gap: 0; }
  .nav-link { padding: 0 9px; }
  .mega-groups { grid-template-columns: repeat(3, 1fr); }
  .nav-signin span { display: none; }
}
@media (max-width: 1024px) {
  .nav-menu, .nav-actions .nav-item, .nav-cta { display: none; }
  .nav-burger { display: inline-flex; }
  .hero-wrap, .ai-grid, .gis-grid, .split, .p-hero-grid, .contact-grid, .cta-card, .trust-top { grid-template-columns: 1fr; }
  .hero-stage { max-width: 560px; width: 100%; margin: 0 auto; }
  .story-grid { grid-template-columns: 1fr; }
  .story-stage { display: none; }
  .chapter { min-height: 0; opacity: 1; padding: 28px 0 44px; }
  .chapter-media { display: block; border-radius: var(--r-lg); overflow: hidden; margin-bottom: 26px; aspect-ratio: 16/10; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-2); }
  .chapter-media img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
  .doors, .pillars, .mods, .cards, .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(3) { border-left: 0; }
  .metric:nth-child(n+3) { border-top: 1px solid var(--line); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps-line { display: none; }
  .bento .b-wide, .bento .b-half { grid-column: span 6; }
  .bento .b-third { grid-column: span 3; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .found { grid-template-columns: repeat(2, 1fr); }
  .svc-row { grid-template-columns: 58px 1fr auto; }
  .svc-row > p { grid-column: 2 / 3; }
  .p-visual .device { transform: none; }
  .gis-map { order: 2; }
}
@media (max-width: 720px) {
  :root { --gutter: 16px; --nav-h: 62px; }
  .nav-inner { gap: 12px; }
  .nav-logo img { height: 26px; }
  .doors, .pillars, .mods, .cards, .cap-grid, .pvs, .steps, .principles, .form-grid { grid-template-columns: 1fr; }
  .principle, .principle:nth-child(even) { padding: 26px 0; border-right: 0; }
  .bento .b-third { grid-column: span 6; }
  .metric { padding: 22px 18px; }
  .foot-news { flex-direction: column; align-items: stretch; }
  .news-form { flex: none; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .gis-readout { grid-template-columns: 1fr; }
  .gis-readout > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .gis-readout > div { flex-direction: row; justify-content: space-between; align-items: baseline; padding: 12px 16px; }
  .ro-v { font-size: 19px; }
  .assist { grid-template-columns: 1fr; text-align: left; }
  .found { grid-template-columns: 1fr; }
  .svc-row { grid-template-columns: 1fr; gap: 14px; padding: 24px; }
  .svc-row > p { grid-column: auto; }
  .svc-row .tile-go { position: absolute; top: 24px; right: 24px; }
  .section-head-row { flex-direction: column; align-items: flex-start; }
  .rail-ctrl { display: none; }
  .ind-card { height: 420px; }
  .hero-stage .android-stage { width: min(300px, 80cqw, 92cqh * 5 / 6); }
  .hero-stage .hud-chip { padding: .45rem .65rem; gap: 8px; }
  .hero-stage .hud-chip-note, .hero-stage .hud-chip-3 { display: none; }
  .hero-stage .hud-chip-1 { top: 0; right: -18%; }
  .hero-stage .hud-chip-2 { left: -20%; bottom: 30%; }
  .stage-rec { margin-right: 44px; }
  .stage-ask > span:nth-child(2) { font-size: 13px; }
  .hero-proof { gap: 10px; flex-direction: column; }
  .tile { padding: 22px; min-height: 220px; }
  .b-wide { min-height: 300px; }
  .orch { padding: 6px; }
  .p-glass { left: 14px; top: 14px; padding: 10px 12px; }
  .p-glass .plogo { height: 22px; }
  .p-mods { left: 14px; right: 14px; bottom: 14px; }
  .p-mods span:nth-child(n+4) { display: none; }
  .mega-sm { display: none; }
}

/* ---------- 23. Motion preferences ---------- */
@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 .rv, .js .hero-title .w, .js .hero-lede, .js .hero-actions, .js .hero-proof, .js .announce, .hero-stage { opacity: 1 !important; transform: none !important; filter: none !important; }
  .marquee-track { animation: none; }
  .parcels path, .route { stroke-dashoffset: 0 !important; }
  .crow, .route-dot, .gis-tag, .parcel-hatch { opacity: 1 !important; }
  @view-transition { navigation: none; }
}

/* ==========================================================================
   24. Additions: search, company menu, section tabs, FAQ, comparison tables,
       footer signature, trust centre, engagement picker, constellation,
       calculators, interactive orchestration
   ========================================================================== */
.link { color: var(--brand-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.link:hover { text-decoration-thickness: 2px; }

/* search trigger */
.nav-search { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 8px 0 12px; border-radius: 10px; color: var(--ink-3); font-size: 14px; box-shadow: inset 0 0 0 1px var(--line); background: var(--surface); transition: box-shadow .2s, color .2s; }
.nav-search:hover { color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.nav-search .ic { width: 16px; height: 16px; }
.nav-search kbd, .search kbd { font: 500 11px var(--f-mono); padding: 3px 6px; border-radius: 6px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-3); }
.nav-search-m { display: none; width: 42px; height: 42px; border-radius: 12px; align-items: center; justify-content: center; }
.nav-search-m .ic { width: 20px; height: 20px; }

/* search dialog */
.search { position: fixed; inset: 0; z-index: 300; display: flex; justify-content: center; align-items: flex-start; padding: 12vh 16px 16px; }
.search[hidden] { display: none; }
.search-scrim { position: absolute; inset: 0; background: rgba(7,10,18,.45); backdrop-filter: blur(6px); animation: fade-in .2s forwards; opacity: 0; }
.search-panel { position: relative; width: min(640px, 100%); max-height: 72vh; display: flex; flex-direction: column; border-radius: 18px; background: var(--surface); box-shadow: 0 0 0 1px var(--line), 0 40px 100px -20px rgba(7,10,18,.55); overflow: hidden; animation: search-in .35s var(--ease); }
@keyframes search-in { from { opacity: 0; transform: translateY(-10px) scale(.98); } }
.search-bar { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.search-bar .ic { width: 20px; height: 20px; color: var(--ink-3); }
.search-bar input { flex: 1; border: 0; outline: none; background: transparent; font-size: 17px; min-width: 0; }
.search-bar input::-webkit-search-cancel-button { display: none; }
.search-bar kbd { cursor: pointer; }
.search-results { overflow-y: auto; padding: 8px; }
.sr-group { font: 500 11px var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); padding: 12px 12px 6px; }
.sr-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; }
.sr-item[aria-selected="true"] { background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); }
.sr-item strong { display: block; font-weight: 600; }
.sr-item em { display: block; font-style: normal; font-size: 13px; color: var(--ink-3); }
.sr-item mark { background: rgba(79,70,229,.16); color: inherit; border-radius: 3px; padding: 0 1px; }
.sr-item .ic { width: 16px; height: 16px; margin-left: auto; color: var(--ink-3); opacity: 0; }
.sr-item[aria-selected="true"] .ic { opacity: 1; }
.sr-empty { padding: 28px 16px; text-align: center; color: var(--ink-3); }
.search-foot { display: flex; gap: 18px; padding: 10px 16px; border-top: 1px solid var(--line); font-size: 12px; color: var(--ink-3); }
.search-foot kbd { margin-right: 3px; }

/* company drop-down anchored to its trigger */
.mega-anchor { right: auto; width: 380px; }
.company-menu { display: grid; gap: 2px; padding: 10px; }
.company-menu .mega-svc { margin: 0; }

/* sticky section tabs */
.subnav { position: sticky; top: var(--nav-h); z-index: 60; background: var(--nav-bg); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); }
.subnav-inner { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.subnav-inner::-webkit-scrollbar { display: none; }
.subnav-link { position: relative; flex: none; padding: 14px 14px; font-size: 14px; font-weight: 500; color: var(--ink-3); transition: color .2s; }
.subnav-link:hover { color: var(--ink); }
.subnav-link.is-on { color: var(--ink); }
.subnav-link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--grad); transform: scaleX(0); transition: transform .35s var(--ease); }
.subnav-link.is-on::after { transform: none; }
[id] { scroll-margin-top: calc(var(--nav-h) + 64px); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq-list { display: grid; gap: 10px; }
.faq-item { border-radius: 16px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .3s; }
.faq-item[open] { box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow-2); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; cursor: pointer; list-style: none; font: 600 16.5px/1.35 var(--f-display); letter-spacing: -.01em; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { position: relative; width: 28px; height: 28px; flex: none; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); transition: background .3s, transform .4s var(--ease); }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.6px; background: currentColor; transform: translate(-50%, -50%); border-radius: 2px; }
.faq-plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .4s var(--ease); }
.faq-item[open] .faq-plus { background: var(--ink); color: var(--bg); transform: rotate(180deg); }
.faq-item[open] .faq-plus::after { transform: translate(-50%, -50%) rotate(0); }
.faq-a { padding: 0 22px 20px; color: var(--ink-2); animation: fade-up .4s var(--ease); }

/* comparison tables */
.cmp-wrap { overflow-x: auto; border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-1); }
.cmp-wrap:focus-visible { outline-offset: 4px; }
.cmp { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14.5px; min-width: 980px; }
.cmp th, .cmp td { padding: 16px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.cmp thead th { font: 500 11.5px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); background: var(--surface-2); position: sticky; top: 0; }
.cmp tbody tr:last-child > * { border-bottom: 0; }
.cmp tbody tr { transition: background .2s; }
.cmp tbody tr:hover > * { background: var(--bg-2); }
.cmp-sticky { position: sticky; left: 0; z-index: 1; background: var(--surface); box-shadow: 1px 0 0 var(--line); }
.cmp thead .cmp-sticky { z-index: 2; background: var(--surface-2); }
.cmp tbody th a { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; white-space: nowrap; }
.cmp tbody th a:hover { color: var(--hue); }
.cmp tbody th .mega-dot { margin: 0; }
.cmp-area { color: var(--ink-3); white-space: nowrap; }
.cmp-mods { display: flex; flex-wrap: wrap; gap: 6px; }
.cmp-mods span { font-size: 12.5px; padding: 4px 9px; border-radius: 7px; background: var(--bg-2); color: var(--ink-2); white-space: nowrap; }
.cmp-ai { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; white-space: nowrap; }
.cmp-ai .ic { width: 15px; height: 15px; color: var(--brand-ink); }
.cmp-c { text-align: center !important; }
.cmp thead .cmp-c { white-space: nowrap; }
.cmp-yes { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: rgba(16,185,129,.14); color: #059669; margin: 0 auto; }
:root[data-theme="dark"] .cmp-yes { color: #34D399; }
.cmp-note { margin-top: 14px; font-size: 13.5px; color: var(--ink-3); }
.cmp-engage { min-width: 760px; }
.cmp-engage tbody th { font-weight: 600; white-space: nowrap; }
.cmp-engage td { color: var(--ink-2); }

/* footer signature (replaces the oversized wordmark) */
.foot-sign { display: flex; align-items: center; gap: 16px; padding: 22px 0; border-top: 1px solid var(--line); position: relative; }
.foot-sign::before { content: ""; position: absolute; left: 0; top: -1px; width: 180px; height: 1px; background: var(--grad); }
.foot-sign img { width: 28px; height: 28px; }
.foot-sign p { flex: 1; color: var(--ink-3); font-size: 14px; }
.foot-sign strong { color: var(--ink); font-family: var(--f-display); font-weight: 600; margin-right: 4px; }
.foot-sign-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--brand-ink); white-space: nowrap; }
.foot-sign-link .ic { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.foot-sign-link:hover .ic { transform: translateX(3px); }
.footer { padding-bottom: 8px; }

/* trust centre */
.shield-art { position: relative; aspect-ratio: 1; max-width: 460px; margin: 0 auto; width: 100%; display: grid; place-items: center; }
.shield-rings { position: absolute; inset: 0; }
.shield-rings i { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed var(--line-2); animation: spin 60s linear infinite; }
.shield-rings i:nth-child(2) { inset: 16%; border-style: solid; border-color: var(--line); animation-duration: 40s; animation-direction: reverse; }
.shield-rings i:nth-child(3) { inset: 32%; border: 0; background: radial-gradient(circle, rgba(79,70,229,.18), transparent 70%); animation: core 4s ease-in-out infinite; }
.shield-core { position: relative; width: 108px; height: 108px; border-radius: 32px; display: grid; place-items: center; background: var(--grad); color: #fff; box-shadow: 0 30px 60px -20px rgba(79,70,229,.8); }
.shield-core .ic { width: 50px; height: 50px; }
.shield-tag { position: absolute; left: 50%; top: 50%; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 12px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-2); font-size: 13px; font-weight: 600; white-space: nowrap; transform: translate(-50%, -50%) rotate(var(--a)) translateY(-185px) rotate(calc(-1 * var(--a))); animation: tag-float 6s ease-in-out infinite; animation-delay: calc(var(--a) / 60deg * -1s); }
.shield-tag .ic { width: 15px; height: 15px; color: var(--brand-ink); }
@keyframes tag-float { 50% { translate: 0 -6px; } }
.trust-layout { display: grid; grid-template-columns: 250px 1fr; gap: 48px; align-items: start; }
.toc { position: sticky; top: calc(var(--nav-h) + 28px); display: grid; gap: 2px; }
.toc-link { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; font-size: 14px; color: var(--ink-3); transition: background .2s, color .2s; }
.toc-link .ic { width: 16px; height: 16px; }
.toc-link:hover { color: var(--ink); background: var(--bg-2); }
.toc-link.is-on { color: var(--ink); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.toc-link.is-on .ic { color: var(--brand-ink); }
.trust-body { display: grid; gap: 18px; }
.trust-sec { padding: 30px; border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.trust-sec-head { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 20px; }
.trust-sec-head .pillar-ic { margin: 4px 0 0; flex: none; }
.trust-sec .lede { font-size: 1.02rem; }
.trust-points { display: grid; gap: 12px; }
.trust-points li { display: flex; gap: 12px; color: var(--ink-2); }
.trust-points .ic { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: rgba(16,185,129,.14); color: #059669; flex: none; margin-top: 2px; }
:root[data-theme="dark"] .trust-points .ic { color: #34D399; }
.trust-sec-dark { background: #070B16; color: #E6ECF8; box-shadow: none; }
.trust-sec-dark .lede, .trust-sec-dark .trust-points li { color: rgba(214,224,245,.78); }
.trust-sec-dark .link { color: #A5B4FC; }
.trust-sec .btn-row { margin-top: 4px; }

/* engagement */
.picker { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; padding: 30px; border-radius: var(--r-xl); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-2); margin-bottom: 28px; }
.picker fieldset { border: 0; padding: 0; margin: 0 0 20px; }
.picker legend { font: 600 16px var(--f-display); margin-bottom: 10px; padding: 0; }
.picker label { display: inline-flex; align-items: center; gap: 8px; margin: 0 8px 8px 0; padding: 9px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); font-size: 14px; cursor: pointer; transition: background .2s, box-shadow .2s, color .2s; }
.picker label:hover { box-shadow: inset 0 0 0 1px var(--ink-3); }
.picker input { position: absolute; opacity: 0; pointer-events: none; }
.picker label:has(input:checked) { background: var(--ink); color: var(--bg); box-shadow: none; }
.picker label:has(input:focus-visible) { outline: 2px solid var(--brand); outline-offset: 2px; }
.picker-out { padding: 24px; border-radius: var(--r-lg); background: #070B16; color: #E6ECF8; display: flex; flex-direction: column; gap: 18px; }
.picker-out .mega-label { color: rgba(214,224,245,.6); margin: 0; }
.picker-meter { display: grid; gap: 14px; }
.pm-row { display: grid; grid-template-columns: 1fr 1.2fr 34px; align-items: center; gap: 12px; font-size: 14px; transition: opacity .3s; }
.pm-row b { font: 600 13px var(--f-mono); text-align: right; }
.pm-bar { height: 8px; border-radius: 8px; background: rgba(255,255,255,.08); overflow: hidden; }
.pm-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--grad); transition: width .8s var(--ease); }
.pm-row.is-top { font-weight: 700; }
.pm-row.is-top b { color: #A5B4FC; }
.picker-msg { color: rgba(214,224,245,.8); font-size: 14.5px; }
.picker-msg a { color: #A5B4FC; text-decoration: underline; }
.models { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.model { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 30px; border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: transform .5s var(--ease), box-shadow .5s; overflow: hidden; }
.model.is-pick { transform: translateY(-6px); box-shadow: 0 0 0 2px var(--brand), var(--shadow-3); }
.model.is-pick::before { content: "Suggested"; position: absolute; top: 18px; right: 18px; font: 600 11px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--grad); color: #fff; }
.model p { color: var(--ink-2); }
.model-for { font-weight: 600; color: var(--ink) !important; }
.model .door-ic { margin: 0 0 4px; }
.model .trust-points { margin: 6px 0 10px; }
.needs { display: grid; gap: 12px; }
.need { display: flex; gap: 18px; padding: 22px; border-radius: var(--r-md); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.need-n { font: 400 30px/1 var(--f-serif); font-style: italic; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 3px; }
.need p { color: var(--ink-2); margin-top: 4px; font-size: 15px; }

/* constellation */
.constel { position: relative; }
.constel-svg { width: 100%; height: auto; overflow: visible; }
.cs-orbit { fill: none; stroke: var(--line-2); stroke-dasharray: 3 6; }
.cs-orbit-2 { stroke: var(--line); stroke-dasharray: none; }
.cs-spoke { stroke: var(--line-2); stroke-width: 1.2; stroke-dasharray: 4 6; transition: stroke .3s, stroke-width .3s, opacity .3s; animation: dash 1.6s linear infinite; }
.cs-glow { animation: core 4s ease-in-out infinite; transform-origin: 260px 260px; }
.cs-core circle { fill: var(--surface); stroke: url(#g-brand); stroke: #6366F1; stroke-width: 1.5; filter: drop-shadow(0 10px 24px rgba(79,70,229,.3)); }
.cs-core-t { font: 700 15px var(--f-display); fill: var(--ink); text-anchor: middle; letter-spacing: -.01em; }
.cs-core-s { font: 500 9px var(--f-mono); fill: var(--ink-3); text-anchor: middle; }
.cs-node { cursor: pointer; outline: none; }
.cs-halo { fill: var(--hue); opacity: 0; transform-box: fill-box; transform-origin: center; transition: opacity .3s, transform .4s var(--ease); }
.cs-dot { fill: var(--surface); stroke: var(--hue); stroke-width: 2; transition: fill .3s, transform .4s var(--ease); transform-box: fill-box; transform-origin: center; }
.cs-abbr { font: 700 12px var(--f-display); fill: var(--hue); text-anchor: middle; pointer-events: none; transition: fill .3s; }
.cs-label { font: 600 13px var(--f-body); fill: var(--ink-2); transition: fill .3s; }
.cs-node.is-on .cs-halo { opacity: .18; transform: scale(1.25); }
.cs-node.is-on .cs-dot { fill: var(--hue); transform: scale(1.12); }
.cs-node.is-on .cs-abbr { fill: #fff; }
.cs-node.is-on .cs-label { fill: var(--ink); }
.cs-node:focus-visible .cs-dot { stroke-width: 3.5; }
.cs-spoke.is-on { stroke: var(--hue); stroke-width: 2; stroke-dasharray: 2 4; }
.constel-card { display: flex; gap: 14px; align-items: flex-start; margin: 4px auto 0; max-width: 420px; padding: 16px 18px; border-radius: 16px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-2); min-height: 104px; }
.constel-card .mega-dot { margin-top: 7px; transition: background .3s; }
.constel-card strong { display: block; font: 600 17px var(--f-display); }
.constel-card em { display: block; font: 500 11.5px var(--f-mono); font-style: normal; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-top: 2px; }
.constel-card p { color: var(--ink-2); font-size: 14px; margin-top: 6px; }
.constel-card.swap > div { animation: fade-up .45s var(--ease); }

/* calculators */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding: 30px; border-radius: var(--r-xl); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-2); }
.calc-in { display: grid; gap: 22px; align-content: start; }
.rng, .num { display: grid; gap: 10px; }
.rng > span, .num > span { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); }
.rng b { font: 600 14px var(--f-mono); color: var(--ink); }
.rng input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; background: linear-gradient(90deg, #4F46E5 var(--fill, 50%), var(--line) var(--fill, 50%)); outline: none; }
.rng input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px #4F46E5, 0 4px 10px rgba(79,70,229,.35); cursor: grab; transition: transform .2s; }
.rng input[type="range"]::-webkit-slider-thumb:active { transform: scale(1.15); cursor: grabbing; }
.rng input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid #4F46E5; cursor: grab; }
.rng input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 2px #4F46E5, 0 0 0 6px rgba(79,70,229,.25); }
.num input { padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg); outline: none; font: 600 16px var(--f-mono); }
.num input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(47,91,255,.12); }
.calc-note { font-size: 12.5px; color: var(--ink-3); }
.calc-out { display: flex; flex-direction: column; gap: 18px; padding: 26px; border-radius: var(--r-lg); background: #070B16; color: #E6ECF8; }
.cbar { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; align-items: center; }
.cbar-l { font-size: 13.5px; color: rgba(214,224,245,.75); }
.cbar b { font: 600 15px var(--f-mono); grid-column: 2; grid-row: 1; }
.cbar-track { grid-column: 1 / -1; height: 12px; border-radius: 12px; background: rgba(255,255,255,.07); overflow: hidden; }
.cbar-track i { display: block; height: 100%; width: 0; border-radius: inherit; background: rgba(165,180,252,.55); transition: width .7s var(--ease); }
.cbar-hl .cbar-track i { background: var(--grad); box-shadow: 0 0 18px rgba(99,102,241,.6); }
.calc-big { padding-top: 16px; border-top: 1px solid rgba(255,255,255,.1); display: grid; gap: 4px; }
.calc-big .mega-label { color: rgba(214,224,245,.6); margin: 0; }
.calc-big strong { font: 600 clamp(2rem, 4vw, 2.8rem)/1.1 var(--f-display); letter-spacing: -.03em; background: linear-gradient(100deg, #7DD3FC, #A5B4FC 50%, #C4B5FD); -webkit-background-clip: text; background-clip: text; color: transparent; }
.calc-sub { font-size: 13.5px; color: rgba(214,224,245,.7); }
.calc-out .btn-primary { align-self: flex-start; background: #fff; color: #0B1222; }
.calc-out .btn-primary:hover { color: #fff; }

/* interactive orchestration */
.node-agent { cursor: pointer; outline: none; }
.node-agent rect { transition: stroke .3s, fill .3s; }
.orch[data-focus] .orch-path { opacity: .12; }
.orch[data-focus] .orch-path.is-on { opacity: 1; stroke-width: 2.2; stroke-dasharray: 3 4; }
.orch[data-focus] .node-agent { opacity: .45; transition: opacity .3s; }
.orch[data-focus] .node-agent.is-on { opacity: 1; }
.orch[data-focus] .node-agent.is-on rect { stroke: #7DD3FC; fill: rgba(30,60,120,.55); }
.orch-cap { display: flex; flex-direction: column; gap: 4px; margin: 6px 6px 12px; min-height: 64px; }
.orch-cap-k { font: 500 11.5px var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: #7DD3FC; }
.orch-cap p { color: rgba(214,224,245,.82); font-size: 14.5px; }
.orch-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 6px 6px; }
.orch-tabs button { padding: 8px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: rgba(226,236,255,.8); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); transition: background .25s, color .25s, box-shadow .25s; }
.orch-tabs button:hover { background: rgba(255,255,255,.06); }
.orch-tabs button[aria-pressed="true"] { background: #fff; color: #0B1222; box-shadow: none; }

@media (max-width: 1180px) {
  .nav-search span, .nav-search kbd { display: none; }
  .nav-search { padding: 0 10px; }
}
@media (max-width: 1024px) {
  .nav-search { display: none; }
  .nav-search-m { display: inline-flex; }
  .faq-grid, .picker, .calc, .trust-layout { grid-template-columns: 1fr; }
  .toc { position: static; display: flex; flex-wrap: wrap; gap: 6px; }
  .toc .mega-label { width: 100%; }
  .toc-link { box-shadow: inset 0 0 0 1px var(--line); }
  .models { grid-template-columns: 1fr; }
  .shield-art { max-width: 380px; }
  .shield-tag { transform: translate(-50%, -50%) rotate(var(--a)) translateY(-150px) rotate(calc(-1 * var(--a))); }
}
@media (max-width: 720px) {
  .foot-sign { flex-wrap: wrap; }
  .foot-sign p { flex-basis: calc(100% - 44px); }
  .search { padding-top: 8vh; }
  .search-foot { display: none; }
  .picker, .calc { padding: 18px; }
  .calc-out, .picker-out { padding: 20px; }
  .shield-art { max-width: 300px; }
  .shield-tag { font-size: 11.5px; padding: 6px 9px; transform: translate(-50%, -50%) rotate(var(--a)) translateY(-118px) rotate(calc(-1 * var(--a))); }
  .shield-core { width: 84px; height: 84px; border-radius: 26px; }
  .cs-label { font-size: 20px; }
  .cs-abbr { font-size: 15px; }
  .cs-dot { r: 24; }
  .trust-sec { padding: 22px; }
  .trust-sec-head { flex-direction: column; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .shield-rings i, .shield-tag, .cs-spoke, .cs-glow { animation: none !important; }
}
