/* ==========================================================================
   MolinaVerse.tech — Private AI Infrastructure
   Dark, technical, precise. No framework. Tokens first.
   ========================================================================== */

/* Metric-matched fallbacks keep layout stable while fonts load (CLS). */

:root {
  --bg: #07090b;
  --bg-2: #0a0e11;
  --surface: #0f1418;
  --surface-2: #141b20;
  --surface-3: #1a2228;
  --line: rgba(214, 235, 228, .085);
  --line-2: rgba(214, 235, 228, .15);
  --line-3: rgba(214, 235, 228, .26);
  --text: #e8eeec;
  --text-2: #b4c0bc;
  --muted: #84928e;
  --accent: #3ed6ae;
  --accent-2: #2bb893;
  --accent-ink: #03140f;
  --accent-dim: rgba(62, 214, 174, .12);
  --accent-line: rgba(62, 214, 174, .38);
  --amber: #f2b544;
  --amber-dim: rgba(242, 181, 68, .13);
  --red: #ff7a6b;
  --red-dim: rgba(255, 122, 107, .12);
  --blue: #8bbcff;

  --f-body: Arial, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-display: Arial, system-ui, sans-serif;
  --f-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --wrap: 1240px;
  --gutter: clamp(1rem, 3.2vw, 2.25rem);
  --r-sm: 6px;
  --r: 10px;
  --r-lg: 16px;
  --section: clamp(4.25rem, 8.5vw, 8rem);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 68px;
  color-scheme: dark;
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 1rem/1.6 var(--f-body); font-feature-settings: "cv11", "ss01", "ss03";
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-color: var(--line-3); text-underline-offset: .2em; }
a:hover { text-decoration-color: var(--accent); }
p { margin: 0 0 1rem; }
h1, h2, h3, h4 { margin: 0 0 .75rem; font-family: var(--f-display); font-weight: 650; line-height: 1.06; letter-spacing: -.012em; font-stretch: 108%; text-wrap: balance; }
h2 { font-size: clamp(1.85rem, 1.05rem + 2.6vw, 3.1rem); }
h3, .h3 { font-size: clamp(1.25rem, 1.05rem + .7vw, 1.6rem); }
.h4, h4 { font-size: 1.15rem; font-stretch: 104%; line-height: 1.25; }
ul, ol { margin: 0; padding: 0; }
code, pre, .mono { font-family: var(--f-mono); font-feature-settings: "zero" 1; }
.mono { letter-spacing: .02em; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }
button { font: inherit; color: inherit; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 820px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: .6rem 1rem; border-radius: var(--r-sm); font-weight: 600; }
.skip-link:focus { top: .75rem; }
.muted { color: var(--muted); }
.lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--text-2); line-height: 1.6; }
.fine { font-size: .8125rem; color: var(--muted); line-height: 1.55; }
.fine a, .muted a { color: var(--text-2); }
.no-js .js-only { display: none !important; }

/* ------------------------------------------------------------------ type helpers */
.eyebrow {
  display: flex; flex-wrap: wrap; align-items: center; gap: .6rem;
  margin: 0 0 1.1rem; font: 500 .75rem/1.3 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.eyebrow .mono { color: var(--accent); letter-spacing: .08em; }
.eyebrow--line::before { content: ""; width: 28px; height: 1px; background: var(--accent); }
.display-lg { font-size: clamp(2.4rem, 1.2rem + 4.2vw, 4.4rem); font-stretch: 118%; text-transform: uppercase; letter-spacing: -.02em; line-height: .98; }
.display-xl { font-size: clamp(2.6rem, 1rem + 5.6vw, 5.4rem) !important; font-stretch: 120%; text-transform: uppercase; letter-spacing: -.02em; line-height: .96 !important; }
.h2-statement { font-size: clamp(1.6rem, 1rem + 2vw, 2.4rem); line-height: 1.15; }

/* ------------------------------------------------------------------ buttons & links */
.btn {
  --b: var(--line-2);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 44px; padding: .65rem 1.15rem; border-radius: var(--r-sm);
  border: 1px solid var(--b); background: transparent; color: var(--text);
  font: 600 .9375rem/1.1 var(--f-body); letter-spacing: .005em; text-decoration: none; cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
  white-space: nowrap;
}
.btn .icon { width: 18px; height: 18px; flex: none; transition: transform .2s var(--ease); }
.btn:hover .icon { transform: translateX(2px); }
.btn--primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: #5ce3c0; border-color: #5ce3c0; }
.btn--ghost:hover { border-color: var(--line-3); background: rgba(255, 255, 255, .03); }
.btn--sm { min-height: 38px; padding: .45rem .9rem; font-size: .875rem; }
.btn--lg { min-height: 52px; padding: .8rem 1.4rem; font-size: 1rem; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.btn__spinner { display: none; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; }
.btn.is-loading .btn__spinner { display: inline-block; animation: spin .7s linear infinite; }
.btn.is-loading { pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.link-arrow { display: inline-flex; align-items: center; gap: .4rem; color: var(--accent); font-weight: 600; text-decoration: none; font-size: .9375rem; }
.link-arrow .icon { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }
.icon { width: 20px; height: 20px; }

/* ------------------------------------------------------------------ status */
.status {
  display: inline-flex; align-items: center; gap: .4rem; padding: .22rem .55rem; border-radius: 999px;
  font: 600 .6875rem/1.2 var(--f-mono); letter-spacing: .08em; text-transform: uppercase;
  border: 1px solid var(--line-2); color: var(--text-2); background: rgba(255, 255, 255, .02); vertical-align: middle;
}
.status__dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status--ok { color: var(--accent); border-color: var(--accent-line); background: var(--accent-dim); }
.status--pilot { color: var(--amber); border-color: rgba(242, 181, 68, .4); background: var(--amber-dim); }
.status--wait { color: var(--blue); border-color: rgba(139, 188, 255, .35); background: rgba(139, 188, 255, .08); }
.status--neutral { color: var(--text-2); }
.tag { display: inline-block; padding: .15rem .45rem; border: 1px solid var(--amber); color: var(--amber); border-radius: 4px; font: 600 .625rem/1.2 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; }

/* ------------------------------------------------------------------ header */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(7, 9, 11, .88); border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
@supports (backdrop-filter: blur(1px)) { .site-header { backdrop-filter: saturate(140%) blur(10px); background: rgba(7, 9, 11, .78); } }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; flex: none; }
.brand__mark { width: 30px; height: 30px; }
.brand__tile { fill: #10171b; stroke: var(--line-2); stroke-width: 2; }
.brand__m { fill: var(--accent); }
.brand__v { fill: var(--text); }
.brand__word { font: 700 1.0625rem/1 var(--f-display); font-stretch: 112%; letter-spacing: -.01em; }
.brand__tld { color: var(--muted); font-weight: 500; }
.nav { margin-left: auto; }
.nav__list { list-style: none; display: flex; gap: .25rem; }
.nav__link { display: block; padding: .5rem .7rem; border-radius: var(--r-sm); color: var(--text-2); text-decoration: none; font-size: .9rem; font-weight: 500; transition: color .2s, background .2s; }
.nav__link:hover { color: var(--text); background: rgba(255, 255, 255, .04); }
.nav__link[aria-current="page"] { color: var(--text); box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.nav__mobile-extra { display: none; }
.site-header__actions { display: flex; align-items: center; gap: .5rem; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: transparent; cursor: pointer; }
.nav-toggle__bars { display: grid; gap: 6px; width: 18px; margin: auto; }
.nav-toggle__bars span { display: block; height: 1.5px; background: var(--text); transition: transform .25s var(--ease); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

@media (max-width: 1060px) {
  .nav-toggle { display: inline-grid; }
  .site-header__actions { margin-left: auto; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; margin: 0; padding: 1.25rem var(--gutter) 2rem;
    background: var(--bg); border-top: 1px solid var(--line); overflow-y: auto;
    display: flex; flex-direction: column; gap: 1.5rem;
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s .2s;
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .2s var(--ease), transform .2s var(--ease); }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__link { font: 600 1.5rem/1.2 var(--f-display); font-stretch: 110%; color: var(--text); padding: .9rem 0; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav__link[aria-current="page"] { box-shadow: none; color: var(--accent); }
  .nav__mobile-extra { display: grid; gap: 1rem; }
  .nav__note { font: 500 .75rem var(--f-mono); color: var(--muted); letter-spacing: .12em; text-transform: uppercase; }
  .no-js .nav { position: static; visibility: visible; opacity: 1; transform: none; padding: 0; background: none; border: 0; }
  .no-js .nav__list { flex-direction: row; flex-wrap: wrap; }
  .no-js .nav__link { font-size: .9rem; border: 0; padding: .4rem .5rem; }
  .no-js .nav-toggle { display: none; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 480px) { .site-header__actions .btn { display: none; } }

/* ------------------------------------------------------------------ sections */
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.section--panel { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head__lead { color: var(--text-2); font-size: 1.0625rem; max-width: 60ch; margin: 0; }
.section-head--split { max-width: none; display: grid; grid-template-columns: 1.1fr 1fr; gap: 1.5rem 4rem; align-items: end; }
.section-head--split h2 { margin: 0; }
@media (max-width: 860px) { .section-head--split { grid-template-columns: 1fr; } }
.two-col { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

/* grid backdrop used in heroes */
.hero__grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px; background-position: -1px -1px;
  mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%);
  opacity: .55;
}
.hero__grid-bg--soft { opacity: .35; mask-image: radial-gradient(ellipse 60% 80% at 85% 0%, #000 10%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse 60% 80% at 85% 0%, #000 10%, transparent 70%); }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; overflow: hidden; padding: clamp(2.5rem, 5vw, 4.5rem) 0 0; border-bottom: 1px solid var(--line); }
.hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.hero__title { margin: 0 0 1.5rem; font-size: clamp(2.4rem, .9rem + 3.6vw, 3.85rem); line-height: .98; font-weight: 750; font-stretch: 110%; letter-spacing: -.022em; text-transform: uppercase; }
.hero__line { white-space: nowrap; }
.hero__line { display: block; }
.hero__your { color: var(--muted); font-weight: 400; font-stretch: 100%; }
.hero__lead { font-size: clamp(1.05rem, .98rem + .35vw, 1.25rem); color: var(--text-2); max-width: 36rem; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero__principles { list-style: none; margin-top: 2.25rem; display: grid; gap: .45rem; font-size: .8125rem; color: var(--text-2); letter-spacing: .04em; }
.hero__principles span { color: var(--accent); margin-right: .6rem; }
.hero__visual { position: relative; display: grid; }
.hero__machine { position: relative; width: min(118%, 640px); margin-left: auto; margin-right: -9%; }
.hero__machine .node-art { width: 100%; height: 100%; }
.na-callout-line { fill: none; stroke: var(--accent-line); stroke-width: .8; }
.na-callout-dot { fill: var(--bg); stroke: var(--accent); stroke-width: 1; }
.na-callout-text { fill: var(--text-2); font: 500 9.6px var(--f-mono); letter-spacing: .8px; }
.hero__telemetry {
  position: absolute; left: -6%; bottom: 2%; width: min(270px, 56%);
  background: rgba(12, 16, 19, .92); border: 1px solid var(--line-2); border-radius: var(--r); padding: .9rem 1rem;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8);
}
.hero__telemetry-head { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin: 0 0 .6rem; padding-bottom: .55rem; border-bottom: 1px solid var(--line); font-size: .625rem; letter-spacing: .1em; color: var(--muted); }
.hero__telemetry ul { list-style: none; display: grid; gap: .4rem; font-size: .6875rem; letter-spacing: .06em; }
.hero__telemetry li { display: grid; grid-template-columns: 10px 1fr auto; align-items: center; gap: .55rem; color: var(--muted); }
.hero__telemetry b { color: var(--text); font-weight: 600; }
.led { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim); }
.led--off { background: transparent; border: 1px solid var(--muted); box-shadow: none; }
.hero__stack { position: relative; display: flex; align-items: center; gap: 1.5rem; margin-top: clamp(2rem, 4vw, 3.5rem); padding-block: 1.1rem; border-top: 1px solid var(--line); }
.hero__stack-k { font-size: .6875rem; color: var(--muted); letter-spacing: .14em; text-transform: uppercase; flex: none; }
.hero__stack-list { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; font: 500 .8125rem/1.3 var(--f-mono); color: var(--text-2); }
.hero__stack-list li::before { content: "▪"; color: var(--accent); margin-right: .5rem; font-size: .6rem; vertical-align: 2px; }

@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { margin-top: 1rem; }
  .na-callout { display: none; }
  .hero__machine { margin: 0 auto; width: min(100%, 520px); margin-right: auto; }
  .hero__telemetry { position: relative; left: auto; bottom: auto; width: 100%; max-width: 420px; margin: -1.5rem auto 0; }
  .hero__stack { flex-direction: column; align-items: flex-start; gap: .6rem; }
}
@media (max-width: 520px) {
  .hero { padding-top: 1rem; }
  .hero__machine { width: 100%; }
  .hero__title { font-size: min(8.6vw, 2.6rem); font-stretch: 100%; margin-bottom: 1rem; }
  .hero__actions .btn { flex: 1 1 100%; }
}

/* ------------------------------------------------------------------ node art (SVG) */
.node-art { width: 100%; height: auto; overflow: visible; }
.na-edge-hi { stroke: rgba(214, 235, 228, .22); stroke-width: .8; }
.na-edge { stroke: rgba(214, 235, 228, .1); fill: none; stroke-width: .8; }
.na-bezel { fill: none; stroke: #242d32; stroke-width: .8; }
.na-panel { fill: #090d0f; stroke: #222b30; stroke-width: .6; }
.na-label { fill: #d3ddd9; font: 700 7px var(--f-display); letter-spacing: 1.4px; font-stretch: 115%; }
.na-micro { fill: #6f7c78; font: 600 5px var(--f-mono); letter-spacing: 1px; }
.na-micro--dim { fill: #45524e; }
.na-nano { fill: #6f7c78; font: 600 3.4px var(--f-mono); letter-spacing: .4px; }
.na-power { fill: none; stroke: var(--accent); stroke-width: .9; }
.na-led--ok { fill: var(--accent); }
.na-led--act { fill: var(--amber); }
.na-sled { fill: #10161a; stroke: #232c31; stroke-width: .6; }
.na-sled-grip { fill: #1e272c; }
.na-mesh { stroke: #1c2428; stroke-width: .6; }
.na-window { fill: #05080a; stroke: #2a3439; stroke-width: .8; }
.na-board { fill: #0b1013; stroke: #1b2a2b; stroke-width: .6; }
.na-trace { stroke: rgba(62, 214, 174, .22); fill: none; stroke-width: .7; }
.na-cooler { fill: #121a1e; stroke: #2c373c; stroke-width: .6; }
.na-cpu { fill: #1b2428; stroke: #33424a; stroke-width: .5; }
.na-fan-ring { fill: #0a0f11; stroke: #34424a; stroke-width: .8; }
.na-fan-hub { fill: #2a353a; }
.na-blade { stroke: #33424a; stroke-width: 1.4; stroke-linecap: round; }
.na-dimm { fill: #1d2a2e; }
.na-dimm--lit { fill: #2c6d5e; }
.na-nvme { fill: #1a3a33; stroke: #24564a; stroke-width: .5; }
.na-gpu-body { fill: #151c20; stroke: #34434b; stroke-width: .7; }
.na-gpu-strip { fill: var(--accent); }
.na-shroud { fill: #0d1316; stroke: #222b30; stroke-width: .6; }
.na-glass { stroke: #3c4a50; stroke-width: .6; pointer-events: none; }
.na-mark-a { fill: var(--accent); }
.na-mark-b { fill: #e8eeec; }
.na-ear { fill: #141a1e; }
.na-handle { fill: none; stroke: #3a464c; stroke-width: 1.5; }
.na-rail { fill: #11171a; }
.na-unit { fill: #0f1518; stroke: #2a353b; stroke-width: .6; }
.na-blank { fill: #0a0e10; }
.na-port { fill: #05080a; stroke: #2a3439; stroke-width: .4; }
.na-lcd { fill: #1d4d42; }
.na-glow { opacity: .9; }
.na-fan { transform-box: fill-box; transform-origin: center; }

@media (prefers-reduced-motion: no-preference) {
  .js .na-led--act { animation: blink 2.6s steps(1, end) infinite; }
  .js .na-d1 { animation-delay: -.4s; } .js .na-d2 { animation-delay: -1.1s; } .js .na-d3 { animation-delay: -1.7s; } .js .na-d4 { animation-delay: -2.2s; }
  .js .is-live .na-fan--gpu { animation: spin 3.2s linear infinite; }
  .js .is-live .na-led--ok.na-d2 { animation: breathe 3s ease-in-out infinite; }
}
@keyframes blink { 0%, 100% { opacity: 1; } 12% { opacity: .25; } 18% { opacity: 1; } 47% { opacity: .3; } 52% { opacity: 1; } }
@keyframes breathe { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ------------------------------------------------------------------ bars */
.bar { width: 100%; height: 6px; }
.bar__track { fill: rgba(255, 255, 255, .06); }
.bar__fill { fill: var(--accent); }
.bar--thin { height: 3px; }
.bar--seg { height: 8px; }
.meter { display: grid; grid-template-columns: 7.5rem 1fr; gap: .75rem; align-items: center; font-size: .8125rem; color: var(--text-2); }
.meter + .meter { margin-top: .5rem; }

/* ------------------------------------------------------------------ comparison (why private) */
.compare__table { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.compare__row { display: grid; grid-template-columns: 1.1fr 1fr 1fr; border-top: 1px solid var(--line); }
.compare__row:first-child { border-top: 0; }
.compare__row > span { padding: 1rem 1.25rem; font-size: .9375rem; }
.compare__row > span:first-child { color: var(--text-2); font-weight: 500; }
.compare__row > span:nth-child(2) { color: var(--muted); border-left: 1px solid var(--line); }
.compare__row > span:nth-child(3) { color: var(--text); border-left: 1px solid var(--line); background: linear-gradient(90deg, var(--accent-dim), transparent 80%); }
.compare__row--head > span { font: 600 .6875rem/1.2 var(--f-mono) !important; letter-spacing: .12em; text-transform: uppercase; padding-block: .85rem; color: var(--muted) !important; background: var(--surface-2) !important; }
.compare__row--head > span:nth-child(3) { color: var(--accent) !important; }
.compare__m { display: none; }
.compare + .fine, .compare .fine { margin-top: 1rem; }
@media (max-width: 760px) {
  .compare__row { grid-template-columns: 1fr 1fr; }
  .compare__row > span:first-child { grid-column: 1 / -1; padding-bottom: .25rem; color: var(--text); font-weight: 600; }
  .compare__row > span:nth-child(2) { border-left: 0; }
  .compare__row > span:nth-child(2), .compare__row > span:nth-child(3) { padding-top: .35rem; font-size: .875rem; }
  .compare__row--head { display: none; }
  .compare__row:nth-child(2) { border-top: 0; }
  .compare__m { display: block; font-size: .625rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .2rem; }
  .compare__row > span:nth-child(3) .compare__m { color: var(--accent); }
}

/* ------------------------------------------------------------------ inside a node */
.inside { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.inside__visual { position: relative; }
.stack { width: 100%; max-width: 560px; margin-inline: auto; overflow: visible; }
.stack__plate { transform-box: view-box; transition: transform .7s var(--ease), opacity .4s var(--ease); cursor: pointer; }
.stack__top { fill: url(#stack-top); stroke: rgba(214, 235, 228, .14); stroke-width: .8; transition: fill .3s, stroke .3s; }
.stack__front { fill: #0b1013; stroke: rgba(214, 235, 228, .08); stroke-width: .6; }
.stack__side { fill: #080b0d; stroke: rgba(214, 235, 228, .06); stroke-width: .6; }
.stack__inset { fill: none; stroke: rgba(214, 235, 228, .07); stroke-width: .8; stroke-dasharray: 2 3; }
.stack__label { fill: var(--text-2); font: 700 9.5px var(--f-display); letter-spacing: 1.6px; font-stretch: 116%; }
.stack__index { fill: var(--muted); font: 500 9px var(--f-mono); }
.stack__plate--optional .stack__top { fill: transparent; stroke-dasharray: 5 4; stroke: rgba(242, 181, 68, .5); }
.stack__plate--optional .stack__front, .stack__plate--optional .stack__side { fill: transparent; stroke-dasharray: 3 3; stroke: rgba(242, 181, 68, .3); }
.stack__plate--optional .stack__label { fill: var(--amber); }
.stack__plate.is-active .stack__top { fill: #12302a; stroke: var(--accent); stroke-width: 1.2; }
.stack__plate.is-active .stack__label { fill: var(--accent); }
.stack__plate.is-active .stack__inset { stroke: var(--accent-line); }
.stack__plate--optional.is-active .stack__top { fill: rgba(242, 181, 68, .1); stroke: var(--amber); }
.stack__plate--optional.is-active .stack__label { fill: var(--amber); }
.js .inside.has-active .stack__plate:not(.is-active) { opacity: .55; }
@media (prefers-reduced-motion: no-preference) {
  .js .inside:not(.is-in) .stack__plate { transform: translateY(var(--collapse, 0)); }
  .js .stack__plate--0 { --collapse: -0px; } .js .stack__plate--1 { --collapse: 14px; } .js .stack__plate--2 { --collapse: 28px; } .js .stack__plate--3 { --collapse: 42px; } .js .stack__plate--4 { --collapse: 56px; }
  .js .stack__plate--5 { --collapse: 70px; } .js .stack__plate--6 { --collapse: 84px; } .js .stack__plate--7 { --collapse: 98px; } .js .stack__plate--8 { --collapse: 112px; } .js .stack__plate--9 { --collapse: 126px; }
  .stack__plate.is-active { transform: translateX(-10px); }
}
.inside__panel { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: 1.25rem; align-items: start; }
.inside__tabs { display: grid; border-left: 1px solid var(--line); }
.inside__tab {
  display: grid; grid-template-columns: 1.75rem 1fr; gap: 0 .5rem; text-align: left; padding: .55rem .75rem; margin-left: -1px;
  background: none; border: 0; border-left: 2px solid transparent; cursor: pointer; color: var(--muted); transition: color .2s, border-color .2s, background .2s;
}
.inside__tab:hover { color: var(--text); background: rgba(255, 255, 255, .02); }
.inside__tab[aria-selected="true"] { color: var(--text); border-left-color: var(--accent); background: linear-gradient(90deg, var(--accent-dim), transparent); }
.inside__tab-n { font: 500 .6875rem/1.6 var(--f-mono); color: var(--muted); grid-row: span 2; padding-top: .1rem; }
.inside__tab[aria-selected="true"] .inside__tab-n { color: var(--accent); }
.inside__tab-name { font-weight: 600; font-size: .9rem; }
.inside__tab-short { font-size: .75rem; color: var(--muted); }
.inside__detail { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1.25rem 1.25rem 1.4rem; }
.inside__detail-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-size: .6875rem; letter-spacing: .1em; margin-bottom: 1rem; }
.inside__detail h3 { margin-bottom: .5rem; }
.inside__detail p { color: var(--text-2); font-size: .9375rem; }
.no-js .inside__detail[hidden] { display: block; }
.no-js .inside__detail + .inside__detail { margin-top: .75rem; }
@media (max-width: 1060px) {
  .inside { grid-template-columns: 1fr; }
  .inside__visual { max-width: 460px; margin: 0 auto; width: 100%; }
}
@media (max-width: 640px) {
  .inside__panel { grid-template-columns: 1fr; }
  .inside__tabs { display: flex; overflow-x: auto; border-left: 0; border-bottom: 1px solid var(--line); scroll-snap-type: x mandatory; gap: .25rem; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .inside__tabs::-webkit-scrollbar { display: none; }
  .inside__tab { flex: none; grid-template-columns: auto; border-left: 0; border-bottom: 2px solid transparent; margin: 0 0 -1px; scroll-snap-align: start; padding: .6rem .7rem; }
  .inside__tab[aria-selected="true"] { border-bottom-color: var(--accent); background: none; }
  .inside__tab-n, .inside__tab-short { display: none; }
  .inside__visual { max-width: 340px; }
}

/* ------------------------------------------------------------------ chips & specs */
.spec-chips { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 1rem 0 0; }
.spec-chips li { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .6rem; border: 1px solid var(--line-2); border-radius: var(--r-sm); font-size: .8125rem; color: var(--text-2); background: rgba(255, 255, 255, .015); }
.spec-chips--no li { color: var(--muted); border-style: dashed; }
.spec-chips--no .icon { width: 14px; height: 14px; color: var(--red); }
.specs { margin: 0; border-top: 1px solid var(--line); }
.specs__row { display: grid; grid-template-columns: 9.5rem 1fr; gap: 1rem; padding: .62rem 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.specs dt { color: var(--muted); font: 500 .75rem/1.6 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; }
.specs dd { margin: 0; color: var(--text); }
.specs--lg .specs__row { grid-template-columns: 12rem 1fr; padding: .85rem 0; font-size: 1rem; }
@media (max-width: 520px) { .specs__row, .specs--lg .specs__row { grid-template-columns: 1fr; gap: .1rem; } }

/* ------------------------------------------------------------------ explorer */
.explorer__tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin-bottom: 1.5rem; background: var(--surface); }
.explorer__tab {
  display: grid; gap: .3rem; padding: .9rem 1rem .8rem; text-align: left; background: none; border: 0; border-left: 1px solid var(--line);
  cursor: pointer; color: var(--muted); transition: background .2s, color .2s; position: relative;
}
.explorer__tab:first-child { border-left: 0; }
.explorer__tab:hover { color: var(--text); background: rgba(255, 255, 255, .02); }
.explorer__tab[aria-selected="true"] { color: var(--text); background: var(--surface-2); }
.explorer__tab[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--accent); }
.explorer__tab-code { font-size: .6875rem; letter-spacing: .1em; }
.explorer__tab[aria-selected="true"] .explorer__tab-code { color: var(--accent); }
.explorer__tab-name { font: 650 1.05rem/1.15 var(--f-display); font-stretch: 112%; }
.explorer__tab-scale { margin-top: .35rem; opacity: .8; }
.explorer__panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.js .explorer__panel[data-inactive] { display: none; }
.no-js .explorer__panel + .explorer__panel { margin-top: 3rem; padding-top: 3rem; border-top: 1px solid var(--line); }
.explorer__visual { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.explorer__art { aspect-ratio: 1 / .95; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--r-lg); background: radial-gradient(ellipse at 50% 70%, rgba(62, 214, 174, .06), transparent 60%), var(--surface); padding: 1.5rem; }
.explorer__art .node-art { width: 100%; height: 100%; }
.explorer__visual, .explorer__info, .inside__panel > *, .inside__visual { min-width: 0; }
.explorer__meters { padding: 1rem .25rem 0; }
.explorer__meters .fine { margin-bottom: .6rem; letter-spacing: .1em; font-size: .625rem; }
.explorer__head { display: flex; align-items: center; gap: .75rem; font-size: .75rem; }
.explorer__name { font-size: clamp(1.9rem, 1.2rem + 2vw, 2.75rem); font-stretch: 116%; text-transform: uppercase; margin: .6rem 0 .25rem; letter-spacing: -.01em; }
.explorer__kicker { color: var(--accent); font-weight: 600; margin-bottom: 1rem; }
.explorer__summary { color: var(--text-2); margin-bottom: 1.5rem; }
.explorer__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin: 1.75rem 0 .75rem; }
.explorer__more { margin-top: 2rem; }
@media (prefers-reduced-motion: no-preference) {
  .js .explorer__panel.is-entering .explorer__art .node-art { animation: assemble .55s var(--ease) both; }
  .js .explorer__panel.is-entering .explorer__info > * { animation: rise .45s var(--ease) both; }
  .js .explorer__panel.is-entering .explorer__info > *:nth-child(2) { animation-delay: .03s; }
  .js .explorer__panel.is-entering .explorer__info > *:nth-child(3) { animation-delay: .06s; }
  .js .explorer__panel.is-entering .explorer__info > *:nth-child(n+4) { animation-delay: .09s; }
}
@keyframes assemble { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) {
  .explorer__panel { grid-template-columns: minmax(0, 1fr); }
  .explorer__visual { position: static; display: grid; grid-template-columns: minmax(0, 1fr); }
  .explorer__art { aspect-ratio: 16 / 11; padding: 1rem; }
}
@media (max-width: 760px) {
  .explorer__tabs { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: 0; border-inline: 0; margin-inline: calc(var(--gutter) * -1); scrollbar-width: none; }
  .explorer__tabs::-webkit-scrollbar { display: none; }
  .explorer__tab { flex: 0 0 auto; min-width: 8.5rem; scroll-snap-align: start; padding: .75rem .9rem; }
  .explorer__tab:first-child { margin-left: var(--gutter); border-left: 1px solid var(--line); }
  .explorer__tab:last-child { margin-right: var(--gutter); border-right: 1px solid var(--line); }
  .explorer__meters { display: none; }
}

/* ------------------------------------------------------------------ local-first diagram */
.lf { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 4.5rem); align-items: start; }
.lf__diagram { display: grid; }
.lf__node { border: 1px solid var(--line-2); border-radius: var(--r); padding: 1rem 1.15rem; background: var(--surface); display: grid; gap: .2rem; }
.lf__node strong { font-size: 1rem; }
.lf__node .muted { font-size: .875rem; }
.lf__kicker { font-size: .6875rem; color: var(--muted); letter-spacing: .1em; }
.lf__node--mv { border-color: var(--accent-line); background: linear-gradient(180deg, rgba(62, 214, 174, .05), transparent 40%), var(--surface); padding: 1.15rem 1.25rem 1.25rem; }
.lf__mv-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; align-items: center; margin-bottom: .75rem; }
.lf__mv-head .lf__kicker { color: var(--accent); }
.lf__badge { display: inline-flex; align-items: center; gap: .4rem; font: 600 .6875rem var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; display: inline-block; }
.lf__tree { list-style: none; display: grid; }
.lf__tree li { display: grid; grid-template-columns: 1.5rem 10rem 1fr; align-items: center; gap: .5rem; padding: .5rem 0; border-top: 1px dashed var(--line); font-size: .875rem; }
.lf__tree li:first-child { border-top: 0; }
.lf__tree span:last-child { color: var(--muted); }
.lf__branch { width: 14px; height: 14px; border-left: 1px solid var(--accent-line); border-bottom: 1px solid var(--accent-line); transform: translateY(-5px); }
.lf__wire { height: 34px; width: 2px; margin-left: 2rem; position: relative; background: var(--accent-line); overflow: hidden; }
.lf__wire span { position: absolute; left: 0; width: 2px; height: 10px; background: var(--accent); top: -10px; }
.lf__wire--cloud { background: repeating-linear-gradient(to bottom, var(--line-3) 0 4px, transparent 4px 8px); }
.lf__wire--cloud span { background: var(--amber); display: none; }
.lf__gate { display: grid; }
.lf__policy { display: inline-flex; align-items: center; gap: .75rem; margin-left: .75rem; padding: .4rem .7rem; border: 1px dashed var(--line-3); border-radius: var(--r-sm); width: max-content; font-size: .6875rem; letter-spacing: .1em; color: var(--muted); }
.lf__policy-state { font: 700 .6875rem var(--f-mono); color: var(--text-2); }
.lf__node--cloud { border-style: dashed; background: transparent; transition: border-color .3s; }
.lf.is-cloud .lf__node--cloud { border-color: rgba(242, 181, 68, .55); }
.lf.is-cloud .lf__policy { border-color: var(--amber); color: var(--amber); }
.lf.is-cloud .lf__policy-state { color: var(--amber); }
.lf.is-cloud .lf__wire--cloud { background: repeating-linear-gradient(to bottom, rgba(242, 181, 68, .6) 0 4px, transparent 4px 8px); }
.lf.is-cloud .lf__wire--cloud span { display: block; }
.lf__lead { font-size: 1.125rem; color: var(--text); }
.lf__rules { list-style: none; display: grid; gap: .55rem; margin: 1.5rem 0; }
.lf__rules li { display: flex; gap: .6rem; align-items: flex-start; color: var(--text-2); font-size: .9375rem; }
.lf__rules .icon { color: var(--accent); width: 18px; height: 18px; flex: none; margin-top: .15rem; }
@media (prefers-reduced-motion: no-preference) {
  .js .is-in .lf__wire--local span, .js .lf.is-in .lf__wire--local span { animation: flow 1.6s linear infinite; }
  .js .lf.is-cloud .lf__wire--cloud span { animation: flow 1.2s linear infinite; }
}
@keyframes flow { from { top: -10px; } to { top: 100%; } }
@media (max-width: 900px) { .lf { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .lf__tree li { grid-template-columns: 1.25rem 1fr; } .lf__tree span:last-child { grid-column: 2; font-size: .8125rem; } }

/* switch */
.switch { display: inline-flex; align-items: center; gap: .75rem; padding: .6rem .9rem .6rem .6rem; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--surface); cursor: pointer; text-align: left; }
.switch__track { width: 40px; height: 22px; border-radius: 99px; background: var(--surface-3); border: 1px solid var(--line-3); position: relative; flex: none; transition: background .2s, border-color .2s; }
.switch__thumb { position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--text-2); transition: transform .2s var(--ease), background .2s; }
.switch[aria-checked="true"] .switch__track { background: var(--amber-dim); border-color: var(--amber); }
.switch[aria-checked="true"] .switch__thumb { transform: translateX(18px); background: var(--amber); }
.switch__label { font-size: .875rem; font-weight: 500; }
.no-js .switch { display: none; }

/* ------------------------------------------------------------------ flow (BYOH) */
.flow { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 2rem 0 0; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); counter-reset: f; }
.flow__step { position: relative; display: grid; gap: .3rem; align-content: start; padding: 1.15rem 1.15rem 1.25rem; border-left: 1px solid var(--line); font-size: .875rem; color: var(--muted); }
.flow__step:first-child { border-left: 0; }
.flow__step strong { color: var(--text); font-size: 1rem; }
.flow__step:not(:last-child)::after { content: ""; position: absolute; right: -6px; top: 1.45rem; width: 11px; height: 11px; border-top: 1px solid var(--accent-line); border-right: 1px solid var(--accent-line); transform: rotate(45deg); background: var(--surface); z-index: 1; }
.flow__n { font-size: .6875rem; color: var(--accent); letter-spacing: .1em; }
.flow__icon { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: var(--r-sm); margin: .35rem 0 .45rem; color: var(--text-2); }
.flow__step--end { background: linear-gradient(180deg, var(--accent-dim), transparent); }
.flow__step--end .flow__icon { border-color: var(--accent-line); color: var(--accent); }
@media (max-width: 760px) {
  .flow { grid-template-columns: 1fr; }
  .flow__step { border-left: 0; border-top: 1px solid var(--line); grid-template-columns: 34px 1fr; column-gap: 1rem; }
  .flow__step:first-child { border-top: 0; }
  .flow__step > * { grid-column: 2; }
  .flow__step .flow__icon { grid-column: 1; grid-row: 1 / span 3; margin: 0; }
  .flow__step:not(:last-child)::after { right: auto; left: 1.95rem; top: auto; bottom: -6px; transform: rotate(135deg); }
}

/* ------------------------------------------------------------------ BYOH teaser + sample report */
.byoh-teaser { overflow: hidden; }
.byoh-teaser__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.byoh-teaser .lead { max-width: 40rem; }
.sample-report { position: relative; border: 1px solid var(--line-2); border-radius: var(--r-lg); background: var(--surface); padding: 1.5rem; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); }
.sample-report__tag { position: absolute; top: -.7rem; right: 1rem; background: var(--bg); padding: .15rem .5rem; border: 1px solid var(--amber); color: var(--amber); border-radius: 4px; font-size: .625rem; letter-spacing: .1em; text-transform: uppercase; }
.sample-report__brand { font-size: .6875rem; color: var(--accent); letter-spacing: .14em; margin-bottom: 1.1rem; }
.sample-report__row { display: grid; grid-template-columns: 4.5rem 1fr 2rem; align-items: center; gap: .75rem; font-size: .8125rem; color: var(--text-2); padding: .3rem 0; }
.sample-report__row b { text-align: right; font-weight: 600; color: var(--text); }
.sample-report__result { display: grid; gap: .2rem; margin: 1.1rem 0 1.1rem; padding: .9rem 1rem; border-radius: var(--r-sm); background: var(--accent-dim); border: 1px solid var(--accent-line); font-size: .8125rem; }
.sample-report__result .mono { font-size: .625rem; letter-spacing: .14em; color: var(--accent); }
.sample-report__result strong { font-family: var(--f-display); font-stretch: 112%; letter-spacing: .02em; }
.sample-report__result span:last-child { font: 600 .75rem var(--f-mono); letter-spacing: .1em; color: var(--accent); }
@media (max-width: 900px) { .byoh-teaser__grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ process */
.process { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line-2); }
.process__step { padding: 1.5rem 1.25rem 0 0; position: relative; }
.process__step::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--bg-2); border: 1px solid var(--accent); }
.process__n { display: block; font-size: .75rem; color: var(--accent); margin-bottom: .75rem; }
.process__step h3 { font-size: 1.25rem; }
.process__step p { color: var(--muted); font-size: .9rem; }
@media (max-width: 960px) {
  .process { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--line-2); margin-left: 4px; }
  .process__step { padding: 0 0 1.75rem 1.75rem; }
  .process__step::before { top: .35rem; left: -4px; }
}

/* ------------------------------------------------------------------ capabilities & services */
.capabilities { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-2); }
.capability { padding: 1.5rem 1.5rem 1.5rem 0; border-right: 1px solid var(--line); }
.capability + .capability { padding-left: 1.5rem; }
.capability:last-child { border-right: 0; }
.capability__code { font-size: .75rem; color: var(--accent); }
.capability h3 { font-size: 1.35rem; text-transform: uppercase; font-stretch: 118%; }
.capability__lead { color: var(--text-2); font-size: .9375rem; min-height: 4.8em; }
.capability ul { list-style: none; border-top: 1px solid var(--line); }
.capability li { padding: .45rem 0; border-bottom: 1px solid var(--line); font: 500 .8125rem/1.4 var(--f-mono); color: var(--text-2); }
@media (max-width: 960px) {
  .capabilities { grid-template-columns: 1fr 1fr; }
  .capability { padding: 1.5rem 1.25rem 1.5rem 0 !important; border-right: 0; }
  .capability:nth-child(odd) { border-right: 1px solid var(--line); }
  .capability:nth-child(even) { padding-left: 1.25rem !important; }
  .capability__lead { min-height: 0; }
}
@media (max-width: 560px) { .capabilities { grid-template-columns: 1fr; } .capability:nth-child(n) { border-right: 0; padding-left: 0 !important; border-bottom: 1px solid var(--line); } }
.services { display: grid; }
.service { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 1rem 3rem; padding: 2.5rem 0; border-top: 1px solid var(--line); }
.service:first-child { border-top: 0; padding-top: 0; }
.service__code { font-size: .75rem; color: var(--accent); display: block; margin-bottom: .6rem; }
.service h2 { font-size: clamp(1.75rem, 1rem + 2vw, 2.6rem); text-transform: uppercase; font-stretch: 120%; }
.service__items { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr)); gap: 0 1.5rem; margin-top: 1.25rem; border-top: 1px solid var(--line); }
.service__items li { padding: .6rem 0; border-bottom: 1px solid var(--line); font: 500 .875rem var(--f-mono); color: var(--text-2); }
.service__items li::before { content: "▪ "; color: var(--accent); }
@media (max-width: 760px) { .service { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ knowledge */
.kn-teaser { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); }
.article-list { border-top: 1px solid var(--line); }
.article-row__link { display: grid; grid-template-columns: 3rem 1fr 2rem; gap: 1rem; align-items: start; padding: 1.25rem 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: background .2s; }
.article-row__link:hover { background: linear-gradient(90deg, rgba(255, 255, 255, .02), transparent); }
.article-row__code { width: 2.6rem; height: 2.6rem; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: var(--r-sm); font-size: .75rem; color: var(--accent); }
.article-row__body { display: grid; gap: .3rem; }
.article-row__meta { font-size: .6875rem; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.article-row__title { font: 650 1.15rem/1.25 var(--f-display); font-stretch: 106%; color: var(--text); }
.article-row__summary { color: var(--muted); font-size: .9rem; }
.article-row__go { color: var(--muted); padding-top: .6rem; transition: transform .2s var(--ease), color .2s; }
.article-row__link:hover .article-row__go { transform: translateX(3px); color: var(--accent); }
.article-row__link:hover .article-row__title { color: var(--accent); }
.search { position: relative; display: flex; align-items: center; gap: .5rem; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--surface); padding: 0 .5rem 0 .85rem; }
.search:focus-within { border-color: var(--accent); }
.search .icon { color: var(--muted); flex: none; width: 18px; height: 18px; }
.search input { flex: 1; min-width: 0; height: 46px; border: 0; background: none; color: var(--text); font: inherit; outline: none; }
.search input::placeholder { color: var(--muted); }
.search--lg { max-width: 640px; margin-top: 2rem; }
.search--lg input { height: 54px; font-size: 1.05rem; }
.cat-list { list-style: none; margin-top: 1rem; border-top: 1px solid var(--line); }
.cat-list a { display: grid; grid-template-columns: 2.25rem 1fr auto; align-items: baseline; gap: .5rem; padding: .7rem 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 500; font-size: .9375rem; transition: color .2s; }
.cat-list a:hover, .cat-list a[aria-current="page"] { color: var(--accent); }
.cat-list .mono { font-size: .6875rem; color: var(--accent); }
.cat-list small { color: var(--muted); font: 400 .75rem var(--f-mono); }
.kn-layout { display: grid; grid-template-columns: minmax(0, 1fr) 18rem; gap: clamp(2rem, 5vw, 4rem); }
.kn-featured { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: auto auto; gap: 1rem; margin-bottom: 3rem; }
.kn-card { display: grid; gap: .6rem; align-content: start; padding: 1.4rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); text-decoration: none; transition: border-color .2s, transform .2s var(--ease); }
.kn-card:hover { border-color: var(--line-3); transform: translateY(-2px); }
.kn-card--lead { grid-row: span 2; background: linear-gradient(160deg, rgba(62, 214, 174, .07), transparent 55%), var(--surface); }
.kn-card__meta { font-size: .6875rem; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.kn-card__title { font: 650 1.3rem/1.2 var(--f-display); font-stretch: 108%; }
.kn-card--lead .kn-card__title { font-size: clamp(1.5rem, 1.1rem + 1vw, 2rem); }
.kn-card__summary { color: var(--muted); font-size: .9rem; }
.kn-all-title { margin-top: 1rem; }
.kn-cats .privacy-card { margin-top: 2rem; }
.planned { margin-top: 2.5rem; padding: 1.25rem; border: 1px dashed var(--line-2); border-radius: var(--r); }
.planned .mono { font-size: .6875rem; letter-spacing: .12em; }
.planned ul { list-style: none; display: grid; gap: .4rem; margin-top: .6rem; color: var(--text-2); }
.planned li::before { content: "○ "; color: var(--muted); }
.empty { padding: 1.5rem; border: 1px dashed var(--line-2); border-radius: var(--r); color: var(--text-2); margin-bottom: 1.5rem; }
@media (max-width: 900px) {
  .kn-teaser, .kn-layout { grid-template-columns: 1fr; }
  .kn-featured { grid-template-columns: 1fr; }
  .kn-card--lead { grid-row: auto; }
}
@media (max-width: 520px) { .article-row__link { grid-template-columns: 1fr; gap: .5rem; } .article-row__code, .article-row__go { display: none; } }

/* article */
.article__head { position: relative; padding: clamp(2rem, 5vw, 4rem) 0 clamp(1.5rem, 3vw, 2.5rem); border-bottom: 1px solid var(--line); }
.article__title { font-size: clamp(2rem, 1.1rem + 3vw, 3.4rem); line-height: 1.05; }
.article__summary { font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); color: var(--text-2); max-width: 60ch; }
.article__meta { font-size: .75rem; color: var(--muted); letter-spacing: .04em; margin: 1.25rem 0 0; }
.article__layout { display: grid; grid-template-columns: 14rem minmax(0, 720px); gap: clamp(2rem, 5vw, 4rem); justify-content: center; padding-block: clamp(2rem, 5vw, 3.5rem); }
.toc { position: sticky; top: calc(var(--header-h) + 1.5rem); align-self: start; font-size: .875rem; }
.toc .mono { font-size: .6875rem; letter-spacing: .12em; margin-bottom: .75rem; }
.toc ol { list-style: none; border-left: 1px solid var(--line); }
.toc a { display: block; padding: .3rem 0 .3rem .9rem; margin-left: -1px; border-left: 1px solid transparent; color: var(--muted); text-decoration: none; }
.toc a:hover, .toc a.is-current { color: var(--text); border-left-color: var(--accent); }
.article__layout:not(:has(.toc)) { grid-template-columns: minmax(0, 720px); }
.article__cta { padding-bottom: clamp(2.5rem, 5vw, 4rem); }
@media (max-width: 960px) { .article__layout { grid-template-columns: minmax(0, 1fr); } .toc { position: static; display: none; } }

.prose { font-size: 1.0625rem; line-height: 1.75; color: var(--text-2); }
.prose > * + * { margin-top: 1.1rem; }
.prose p { margin: 0; }
.prose h2 { font-size: clamp(1.45rem, 1.1rem + 1vw, 1.85rem); color: var(--text); margin: 2.75rem 0 .25rem; }
.prose h3 { font-size: 1.2rem; color: var(--text); margin: 2rem 0 .25rem; }
.prose strong, .prose b { color: var(--text); font-weight: 600; }
.prose a { color: var(--accent); }
.prose ul, .prose ol { padding-left: 1.25rem; display: grid; gap: .5rem; }
.prose li::marker { color: var(--accent); }
.prose code { font-size: .875em; padding: .1em .35em; border-radius: 4px; background: var(--surface-2); color: var(--text); }
.prose--plain { font-size: 1.0625rem; }
.note { padding: 1rem 1.25rem; border-left: 2px solid var(--accent); background: var(--surface); border-radius: 0 var(--r-sm) var(--r-sm) 0; color: var(--text); }
pre.code { margin: 0; padding: 1rem 1.15rem; background: #05080a; border: 1px solid var(--line); border-radius: var(--r-sm); overflow-x: auto; font-size: .8125rem; line-height: 1.65; color: #cfe9e1; }
pre.code code { background: none; padding: 0; color: inherit; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.table-scroll table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 520px; }
.table-scroll th, .table-scroll td { text-align: left; padding: .75rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-scroll thead th { font: 600 .6875rem/1.3 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--surface-2); }
.table-scroll tbody tr:last-child > * { border-bottom: 0; }
.table-scroll tbody th { color: var(--text); font-weight: 600; }
.table-scroll td { color: var(--text-2); }
.compare-nodes table { min-width: 980px; }
.compare-nodes thead th { vertical-align: bottom; line-height: 1.6; }
.compare-nodes thead a { color: var(--text); text-decoration: none; font: 650 .95rem/1.2 var(--f-display); text-transform: none; letter-spacing: 0; }
.compare-nodes tbody th { position: sticky; left: 0; background: var(--surface); font: 500 .75rem var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); min-width: 9rem; }
.req-table tbody th { font: 600 .75rem var(--f-mono); letter-spacing: .06em; }

/* ------------------------------------------------------------------ pilot */
.pilot-teaser__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.metric-slots { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.metric-slots--wide { grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); }
.metric-slot { display: grid; gap: .35rem; padding: 1.15rem 1.25rem; background: var(--surface); }
.metric-slot__label { font: 500 .6875rem var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.metric-slot__value { font-size: 2rem; line-height: 1; color: var(--line-3); }
.metric-slot__state { font-size: .75rem; color: var(--muted); }
.metric-slot--live .metric-slot__value { color: var(--text); }
.phases { list-style: none; border-top: 1px solid var(--line); }
.phase { display: grid; grid-template-columns: 2.5rem 1fr auto; gap: 1rem; align-items: center; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.phase__n { color: var(--muted); font-size: .75rem; }
.phase__state { font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: .2rem .5rem; border: 1px solid var(--line-2); border-radius: 4px; }
.phase--active .phase__state { color: var(--amber); border-color: rgba(242, 181, 68, .4); }
.phase--done .phase__state { color: var(--accent); border-color: var(--accent-line); }
@media (max-width: 900px) { .pilot-teaser__grid { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .metric-slot { padding: .9rem; } .metric-slot__value { font-size: 1.5rem; } }

/* ------------------------------------------------------------------ FAQ */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.faq { border-top: 1px solid var(--line-2); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { display: grid; grid-template-columns: 2.5rem 1fr 1.25rem; gap: .5rem; align-items: center; padding: 1.15rem 0; cursor: pointer; list-style: none; font-weight: 600; font-size: 1.0625rem; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover .faq__q { color: var(--accent); }
.faq__n { font-size: .75rem; color: var(--muted); }
.faq__plus { position: relative; width: 14px; height: 14px; }
.faq__plus::before, .faq__plus::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: var(--text-2); transition: transform .25s var(--ease); }
.faq__plus::after { transform: rotate(90deg); }
.faq__item[open] .faq__plus::after { transform: rotate(0); }
.faq__a { padding: 0 1.75rem 1.25rem 3rem; color: var(--text-2); }
.faq__a p { margin: 0; }
@media (max-width: 900px) { .faq-wrap { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .faq__item summary { grid-template-columns: 1fr 1.25rem; } .faq__n { display: none; } .faq__a { padding-left: 0; padding-right: 0; } }

/* ------------------------------------------------------------------ CTA band */
.cta-band { position: relative; padding-block: clamp(3.5rem, 7vw, 6rem); border-top: 1px solid var(--line); background: radial-gradient(ellipse 60% 120% at 0% 100%, rgba(62, 214, 174, .09), transparent 60%), var(--bg); }
.cta-band__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.cta-band h2 { font-size: clamp(1.75rem, 1rem + 2.2vw, 2.75rem); }
.intent-list { list-style: none; border-top: 1px solid var(--line-2); }
.intent-list a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem .25rem; border-bottom: 1px solid var(--line-2); text-decoration: none; font: 600 1.125rem/1.3 var(--f-display); font-stretch: 108%; transition: color .2s, padding .25s var(--ease); }
.intent-list a:hover { color: var(--accent); padding-left: .6rem; }
.intent-list .icon { color: var(--accent); flex: none; }
@media (max-width: 860px) { .cta-band__inner { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ page hero (interior) */
.page-hero { position: relative; overflow: hidden; padding: clamp(2.25rem, 5vw, 4.5rem) 0 clamp(2.5rem, 5vw, 4.5rem); border-bottom: 1px solid var(--line); }
.page-hero__inner { position: relative; }
.page-hero--compact { padding-bottom: clamp(1.75rem, 3vw, 2.5rem); }
.page-hero__title { font-size: clamp(2.2rem, 1.1rem + 3.6vw, 4rem); line-height: 1.02; max-width: 20ch; font-stretch: 112%; }
.page-hero__lead { font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); color: var(--text-2); max-width: 46rem; margin: 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; font: 500 .75rem var(--f-mono); color: var(--muted); margin-bottom: 1.75rem; }
.crumbs li + li::before { content: "/"; margin-right: .4rem; color: var(--line-3); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.crumbs [aria-current] { color: var(--text-2); }
.node-hero__grid, .byoh-hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.node-hero__kicker { color: var(--accent); font-weight: 600; font-size: 1.1rem; margin-bottom: .75rem; }
.node-hero__art, .byoh-hero__art { position: relative; max-width: 480px; margin-inline: auto; width: 100%; }
.byoh-hero__stamp { position: absolute; right: 2%; bottom: 10%; padding: .6rem .8rem; border: 1px solid var(--accent); border-radius: var(--r-sm); color: var(--accent); font-size: .75rem; letter-spacing: .16em; line-height: 1.3; background: rgba(7, 9, 11, .85); transform: rotate(-4deg); }
.byoh-hero__stamp small { color: var(--muted); letter-spacing: .3em; }
@media (max-width: 860px) {
  .node-hero__grid, .byoh-hero__grid { grid-template-columns: 1fr; }
  .node-hero__art, .byoh-hero__art { max-width: 320px; order: 2; }
}
.node-specs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 2rem 4rem; }
@media (max-width: 760px) { .node-specs { grid-template-columns: 1fr; } }
.workloads { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 0 2rem; border-top: 1px solid var(--line); margin-top: 1.25rem; }
.workloads li { display: flex; gap: .9rem; padding: .85rem 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.workloads .mono { color: var(--accent); font-size: .75rem; padding-top: .2rem; }
.node-pager { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1rem; align-items: center; padding-block: 2rem 3rem; border-top: 1px solid var(--line); }
.node-pager a { display: grid; gap: .2rem; text-decoration: none; }
.node-pager b { font-family: var(--f-display); font-stretch: 108%; }
.node-pager__next { text-align: right; }
.node-pager__all { font: 500 .8125rem var(--f-mono); color: var(--muted); }
.callout-box { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.25rem; padding: 1.5rem; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--surface); }
.callout-box > div > *:last-child { margin-bottom: 0; }
.callout-box .mono { font-size: .6875rem; letter-spacing: .12em; margin-bottom: .35rem; }
.included { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.included li { display: grid; gap: .35rem; align-content: start; padding: 1.35rem; background: var(--surface); }
.included .mono { color: var(--accent); font-size: .75rem; }
.included b { font-size: 1.05rem; }
.included span:last-child { color: var(--muted); font-size: .9rem; }
.section--panel .included li { background: var(--bg-2); }
@media (max-width: 860px) { .included { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .included { grid-template-columns: 1fr; } }
.ticks { list-style: none; display: grid; gap: .85rem; margin-top: 1.25rem; }
.ticks li { display: flex; gap: .75rem; align-items: flex-start; color: var(--text-2); }
.ticks .icon { color: var(--accent); flex: none; width: 20px; height: 20px; margin-top: .1rem; }
.ticks--lg li { padding: .9rem 0; border-bottom: 1px solid var(--line); margin: 0; }
.ticks--lg { gap: 0; border-top: 1px solid var(--line); margin-top: 0; }
.ticks b { color: var(--text); }
.scan-list .mono { font-size: .6875rem; letter-spacing: .12em; margin: 0 0 .25rem; }
.scan-list .spec-chips { margin-bottom: 1.75rem; }
.steps-list { padding-left: 1.2rem; display: grid; gap: .55rem; margin: 1.25rem 0 1.75rem; color: var(--text-2); }
.steps-list li::marker { color: var(--accent); font-family: var(--f-mono); font-size: .8em; }

/* ------------------------------------------------------------------ RAG */
.rag { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 1.25rem 2rem; }
.rag__lane { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); padding: 1.15rem; }
.rag__lane-k { font-size: .6875rem; letter-spacing: .12em; color: var(--accent); margin-bottom: .9rem; }
.rag__steps { list-style: none; display: grid; gap: .5rem; counter-reset: r; }
.rag__steps li { counter-increment: r; display: grid; grid-template-columns: 1.75rem 1fr; column-gap: .6rem; padding: .6rem .75rem; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--bg-2); position: relative; transition: border-color .3s, background .3s; }
.rag__steps li::before { content: counter(r, decimal-leading-zero); grid-row: span 2; font: 500 .6875rem/1.9 var(--f-mono); color: var(--muted); }
.rag__steps li:not(:last-child)::after { content: ""; position: absolute; left: 1.3rem; bottom: -.55rem; width: 1px; height: .5rem; background: var(--accent-line); }
.rag__steps b { font-size: .9375rem; }
.rag__steps span { font-size: .8125rem; color: var(--muted); }
.rag__steps li.is-lit { border-color: var(--accent-line); background: var(--accent-dim); }
.rag__steps li.is-lit::before { color: var(--accent); }
.rag__example { grid-column: 1 / -1; margin: 0; border: 1px dashed var(--line-2); border-radius: var(--r); padding: 1.25rem 1.35rem; }
.rag__example figcaption { font-size: .6875rem; letter-spacing: .1em; color: var(--amber); margin-bottom: .9rem; text-transform: uppercase; }
.rag__q, .rag__a { display: grid; grid-template-columns: 1.5rem 1fr; gap: .5rem; }
.rag__q { color: var(--text); font-weight: 600; }
.rag__a { color: var(--text-2); }
.rag__q .mono, .rag__a .mono { color: var(--accent); }
.rag__cite { color: var(--accent); font: 600 .7rem var(--f-mono); margin-left: .1rem; }
.rag__sources { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; font-size: .75rem; color: var(--muted); margin-left: 2rem; padding-top: .5rem; border-top: 1px solid var(--line); }
@media (max-width: 760px) { .rag { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ console preview */
.ops { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 900px) { .ops { grid-template-columns: 1fr; } }
.console { border: 1px solid var(--line-2); border-radius: var(--r); background: #06090b; font-family: var(--f-mono); overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9); }
.console__bar { display: flex; align-items: center; gap: .75rem; padding: .65rem .9rem; border-bottom: 1px solid var(--line); background: var(--surface); font-size: .6875rem; letter-spacing: .1em; color: var(--text-2); }
.console__bar .console__tag { margin-left: auto; padding: .15rem .45rem; border: 1px solid var(--amber); color: var(--amber); border-radius: 4px; font-size: .5625rem; text-transform: uppercase; }
.console__dots { display: inline-flex; gap: 5px; }
.console__dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--surface-3); }
.console__rows { list-style: none; padding: .5rem 0; }
.console__row { display: grid; grid-template-columns: 1.25rem 8.5rem 6.5rem 1fr; align-items: center; gap: .5rem; padding: .45rem .9rem; font-size: .75rem; letter-spacing: .06em; }
.console__key { color: var(--muted); }
.console__val { color: var(--accent); font-weight: 600; }
.console__hint { color: #76837f; font-size: .6875rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.console__led { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim); }
.console__row--off .console__led { background: transparent; border: 1px solid var(--muted); box-shadow: none; }
.console__row--off .console__val { color: var(--text-2); }
.console__log { display: grid; gap: .25rem; padding: .75rem .9rem; border-top: 1px solid var(--line); font-size: .6875rem; color: #7c8985; min-height: 5.5rem; }
.console__log span:last-child { color: var(--text-2); }
.console__foot { margin: 0; padding: .55rem .9rem; border-top: 1px solid var(--line); font-size: .625rem; letter-spacing: .06em; color: var(--muted); }
@media (max-width: 560px) { .console__row { grid-template-columns: 1rem 1fr auto; } .console__hint { display: none; } }

/* ------------------------------------------------------------------ certifier */
.cert-modes { list-style: none; display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.cert-mode { display: grid; gap: .35rem; padding: .85rem 1rem; border: 1px solid var(--line-2); border-radius: var(--r); min-width: 15rem; background: var(--surface); }
.cert-mode .mono { font-size: .625rem; letter-spacing: .14em; color: var(--muted); }
.cert-mode b { font-size: .9375rem; }
.cert-mode .status { justify-self: start; }
.cert-mode--on { border-color: var(--accent-line); }
.cert-mode:not(.cert-mode--on) { border-style: dashed; color: var(--text-2); }
.cert__grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.cert__help { position: sticky; top: calc(var(--header-h) + 1.5rem); display: grid; gap: 1rem; }
.help { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.help summary { padding: .85rem 1rem; cursor: pointer; font-weight: 600; font-size: .9375rem; }
.help ul { list-style: none; display: grid; gap: .6rem; padding: 0 1rem 1rem; font-size: .8125rem; color: var(--text-2); }
.help pre.code { margin: 0 1rem 1rem; font-size: .6875rem; }
.help b { color: var(--text); }
.privacy-card { padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: var(--r); font-size: .875rem; color: var(--text-2); }
.privacy-card .mono { font-size: .625rem; letter-spacing: .14em; color: var(--accent); margin-bottom: .45rem; }
.privacy-card p:last-child { margin: 0; }
@media (max-width: 960px) { .cert__grid { grid-template-columns: 1fr; } .cert__help { position: static; } }
.cert-form { display: grid; gap: 1.25rem; margin-top: 1.5rem; }
.cert-group { margin: 0; padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.cert-group legend { padding: 0 .4rem; margin-left: -.4rem; font-weight: 600; font-size: .9375rem; }
.cert-group legend .mono { color: var(--accent); font-size: .75rem; margin-right: .4rem; }
.cert-form__submit { display: grid; gap: .75rem; justify-items: start; }
@media (max-width: 640px) { .cert-group { grid-template-columns: 1fr 1fr; padding: 1rem; } }

/* fields (shared) */
.field { display: grid; gap: .4rem; align-content: start; min-width: 0; margin: 0; padding: 0; border: 0; }
.field--wide { grid-column: 1 / -1; }
.field label, .field__label { font-size: .8125rem; font-weight: 600; color: var(--text-2); padding: 0; }
.opt { font-weight: 400; color: var(--muted); font-size: .75rem; }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="search"]:not(.search input), select, textarea {
  width: 100%; min-height: 46px; padding: .6rem .8rem; border: 1px solid var(--line-2); border-radius: var(--r-sm);
  background: var(--bg); color: var(--text); font: 400 1rem/1.4 var(--f-body); transition: border-color .2s, box-shadow .2s;
}
textarea { min-height: 120px; resize: vertical; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.2rem; }
input:hover, select:hover, textarea:hover { border-color: var(--line-3); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim); }
input::placeholder, textarea::placeholder { color: #5a6764; }
[aria-invalid="true"] { border-color: var(--red) !important; }
.field__error { color: var(--red); font-size: .8125rem; }
.seg { display: flex; flex-wrap: wrap; gap: .4rem; }
.seg__opt { position: relative; }
.seg__opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg__opt span { display: inline-flex; align-items: center; min-height: 40px; padding: .45rem .8rem; border: 1px solid var(--line-2); border-radius: var(--r-sm); font-size: .875rem; color: var(--text-2); transition: all .15s; }
.seg__opt input:checked + span { border-color: var(--accent); color: var(--text); background: var(--accent-dim); }
.seg__opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.seg__opt:hover span { border-color: var(--line-3); }
.seg--2 .seg__opt { flex: 1; } .seg--2 .seg__opt span { width: 100%; justify-content: center; }
.form-alert { padding: .85rem 1rem; border: 1px solid rgba(255, 122, 107, .45); background: var(--red-dim); border-radius: var(--r-sm); color: #ffd2cc; font-size: .9rem; margin: 0; }
.form-alert--js[hidden], .form-alert[hidden] { display: none; }
.is-hidden-gpu { display: none !important; }

/* lead form */
.contact__grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact__aside { display: grid; gap: 1rem; position: sticky; top: calc(var(--header-h) + 1.5rem); }
.lead-form { display: grid; gap: 1.5rem; }
.form-group { margin: 0; padding: 0; border: 0; }
.form-group legend { margin-bottom: .6rem; }
.intents { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.intent { position: relative; }
.intent input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.intent span { display: flex; align-items: center; min-height: 48px; padding: .6rem .9rem; border: 1px solid var(--line-2); border-radius: var(--r-sm); font-weight: 500; font-size: .9375rem; color: var(--text-2); transition: all .15s; }
.intent span::before { content: ""; width: 14px; height: 14px; flex: none; margin-right: .7rem; border-radius: 50%; border: 1px solid var(--line-3); transition: all .15s; }
.intent input:checked + span { border-color: var(--accent); color: var(--text); background: var(--accent-dim); }
.intent input:checked + span::before { border: 4px solid var(--accent); }
.intent input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1rem; }
.consent { display: grid; grid-template-columns: 1.25rem 1fr; gap: .7rem; align-items: start; font-size: .875rem; color: var(--text-2); cursor: pointer; }
.consent input { width: 18px; height: 18px; margin: .15rem 0 0; accent-color: var(--accent); }
.consent a { color: var(--accent); }
.lead-form__submit { display: grid; gap: .6rem; justify-items: start; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.attached-report { padding: 1rem 1.1rem; border: 1px solid var(--accent-line); border-radius: var(--r-sm); background: var(--accent-dim); }
.attached-report .mono { font-size: .625rem; letter-spacing: .14em; color: var(--accent); margin-bottom: .3rem; }
.attached-report p { margin: 0 0 .25rem; }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } .contact__aside { position: static; } }
@media (max-width: 560px) { .intents, .form-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ readiness report */
.report { margin-top: 2.5rem; border: 1px solid var(--line-2); border-radius: var(--r-lg); background: linear-gradient(180deg, rgba(62, 214, 174, .04), transparent 30%), var(--surface); padding: clamp(1.25rem, 3vw, 2rem); scroll-margin-top: calc(var(--header-h) + 1rem); }
.report:focus { outline: none; }
.report__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); }
.report__brand { font-size: .75rem; color: var(--accent); letter-spacing: .16em; margin-bottom: .3rem; }
.report__title { font-size: clamp(1.5rem, 1.1rem + 1vw, 2rem); margin: 0; }
.report__meta { display: grid; gap: .2rem; font-size: .6875rem; margin: 0; }
.report__meta div { display: flex; gap: .6rem; }
.report__meta dt { color: var(--muted); min-width: 5rem; text-transform: uppercase; letter-spacing: .1em; }
.report__meta dd { margin: 0; color: var(--text-2); }
.report__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 2rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.report__scores { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.5rem; align-content: start; }
.score { display: grid; grid-template-columns: 1fr auto; gap: .35rem .75rem; align-items: end; }
.score__label { font: 500 .6875rem var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.score__value { font-size: 1.6rem; line-height: 1; font-weight: 600; }
.score .bar { grid-column: 1 / -1; }
.score--overall { grid-column: 1 / -1; padding-bottom: .75rem; border-bottom: 1px dashed var(--line); }
.score--overall .score__value { font-size: 3rem; color: var(--accent); }
.report__result { padding: 1.25rem; border-radius: var(--r); border: 1px solid var(--line-2); background: var(--bg-2); align-self: start; }
.report__result-k { font-size: .6875rem; letter-spacing: .16em; color: var(--muted); margin-bottom: .35rem; }
.report__verdict { font: 700 clamp(1.35rem, 1rem + 1vw, 1.75rem)/1.1 var(--f-display); font-stretch: 116%; letter-spacing: .01em; margin-bottom: .75rem; }
.report--ok .report__verdict { color: var(--accent); }
.report--wait .report__verdict { color: var(--amber); }
.report--bad .report__verdict { color: var(--red); }
.report--ok .report__result { border-color: var(--accent-line); }
.report--wait .report__result { border-color: rgba(242, 181, 68, .45); }
.report__class { color: var(--text-2); font-size: .9rem; }
.report__class strong { font: 600 1rem var(--f-mono); letter-spacing: .08em; color: var(--text); }
.report__blocker { display: flex; gap: .5rem; color: #ffd2cc; font-size: .875rem; }
.report__blocker .icon { color: var(--red); flex: none; width: 18px; }
.report__upgrade { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.report__upgrade .mono { font-size: .6875rem; letter-spacing: .1em; color: var(--amber); margin-bottom: .5rem; }
.report__upgrade ul { list-style: none; display: grid; gap: .45rem; }
.report__upgrade li { display: grid; gap: .1rem; font-size: .875rem; }
.report__upgrade li span { color: var(--muted); font-size: .8125rem; }
.report__top { font-size: .875rem; color: var(--text-2); }
.report__checks { padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.checks { width: 100%; border-collapse: collapse; font-size: .875rem; }
.checks th, .checks td { text-align: left; padding: .55rem .5rem; border-bottom: 1px solid var(--line); }
.checks thead th { font: 500 .625rem var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.checks tbody th { font-weight: 600; white-space: nowrap; }
.checks td { color: var(--text-2); }
.checks__bar { width: 30%; }
.checks__dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: .6rem; background: var(--accent); vertical-align: 1px; }
.checks__row--check .checks__dot { background: var(--amber); }
.checks__row--fail .checks__dot { background: var(--red); }
.checks__row--check .bar__fill { fill: var(--amber); }
.checks__row--fail .bar__fill { fill: var(--red); }
.report__notes { list-style: none; display: grid; gap: .5rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.report__notes li { display: flex; gap: .6rem; font-size: .875rem; color: var(--text-2); }
.report__notes .icon { color: var(--amber); flex: none; width: 18px; height: 18px; margin-top: .1rem; }
.report__actions { display: flex; flex-wrap: wrap; gap: .6rem; padding-top: 1.25rem; }
.report__disclaimer { margin: 1rem 0 0; }
@media (max-width: 760px) {
  .report__grid { grid-template-columns: 1fr; }
  .checks__bar { display: none; }
  .checks td:nth-child(2) { font-size: .8125rem; }
  .report__actions .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: no-preference) {
  .js .report.is-new .bar__fill { animation: grow .9s var(--ease) both; transform-box: fill-box; transform-origin: left; }
  .js .report.is-new { animation: rise .4s var(--ease) both; }
}
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.scoring { display: grid; grid-template-columns: 1fr 1.3fr; gap: 2rem 3rem; }
.scoring .specs dd.mono { font-size: .75rem; color: var(--text-2); word-spacing: .3em; }
@media (max-width: 860px) { .scoring { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ status pages */
.status-page { min-height: 60vh; display: grid; align-items: center; }
.status-page__code { font-size: clamp(4rem, 12vw, 8rem); line-height: 1; color: var(--muted); margin-bottom: 1rem; }
.status-page__icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--accent); color: var(--accent); margin-bottom: 1.5rem; }
.error-links { list-style: none; margin-top: 2rem; border-top: 1px solid var(--line); }
.error-links a { display: grid; grid-template-columns: 9rem 1fr; padding: .75rem 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 500; }
.error-links a:hover { color: var(--accent); }
.error-links .mono { color: var(--muted); font-size: .8125rem; }

/* ------------------------------------------------------------------ footer */
.site-footer { border-top: 1px solid var(--line); background: #050708; padding: clamp(3rem, 6vw, 5rem) 0 2rem; font-size: .9rem; }
.site-footer__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 3rem; padding-bottom: 3rem; }
.site-footer__tag { font: 700 clamp(1.5rem, 1.1rem + 1.2vw, 2rem)/1.02 var(--f-display); font-stretch: 112%; white-space: nowrap; text-transform: uppercase; letter-spacing: -.01em; margin-bottom: 1.25rem; }
.site-footer__brand .muted { max-width: 26rem; }
.site-footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.site-footer__cols ul { list-style: none; display: grid; gap: .5rem; }
.site-footer__cols a { color: var(--text-2); text-decoration: none; }
.site-footer__cols a:hover { color: var(--accent); }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .8125rem; }
.site-footer__bottom p { margin: 0; max-width: 60ch; }
.site-footer__legal { list-style: none; display: flex; gap: 1.25rem; }
.site-footer__legal a { color: var(--muted); }
@media (max-width: 860px) { .site-footer__top { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .site-footer__cols { grid-template-columns: 1fr 1fr; } .site-footer__cols > div:first-child { grid-column: 1 / -1; } }

/* ------------------------------------------------------------------ reveal on scroll */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------------ print (readiness report) */
@media print {
  :root { --bg: #fff; --surface: #fff; --bg-2: #fff; --text: #000; --text-2: #222; --muted: #555; --line: #ccc; --line-2: #bbb; --accent: #0e8a73; }
  body { background: #fff; color: #000; }
  .site-header, .site-footer, .page-hero, .cert__form, .cert__help, .section--panel, #scanner, .report__actions, .cta-band { display: none !important; }
  .report { border: 1px solid #999; box-shadow: none; margin: 0; }
  .bar__track { fill: #eee; }
}
