/* =====================================================================
   Nectar — Marketing UI Kit
   A marketing-specific surface built ON the Nectar Design System.
   Dark / infrastructural direction. Console-distinct: wider rhythm,
   larger display type, mono technical labels, control-loop motif.
   Tokens copied from the org design system (colors_and_type.css) so this
   page is self-contained and does NOT modify the published system.
   ===================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap");

:root {
  /* Brand core */
  --nectar-green-start: #00FE7C;
  --nectar-green-end:   #CFFB40;
  --nectar-gradient:    linear-gradient(180deg, #00FE7C 0%, #CFFB40 100%);
  --nectar-gradient-45: linear-gradient(135deg, #00FE7C 0%, #CFFB40 100%);

  /* Surface ramp (GH-dark) */
  --bg:   #0d1117;
  --bg2:  #161b22;
  --bg3:  #21262d;
  --bg4:  #2d333b;

  /* Borders */
  --border:  rgba(255,255,255,0.08);
  --border2: rgba(255,255,255,0.15);

  /* Foreground */
  --text:  #e6edf3;
  --text2: #8b949e;
  --text3: #545d68;

  /* Semantic */
  --green:     #3fb950;
  --green-300: #56d364;
  --green-400: #4ac35a;
  --green-500: #3fb950;
  --green-600: #2ea043;
  --green-700: #238636;
  --green-bg:  rgba(63,185,80,0.12);
  --amber:     #d29922;
  --amber-bg:  rgba(210,153,34,0.12);
  --red:       #f85149;
  --red-bg:    rgba(248,81,73,0.12);
  --blue:      #58a6ff;

  /* Type */
  --font-sans: "Inter", -apple-system, "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", ui-monospace, Menlo, Consolas, monospace;

  /* Marketing type scale — larger than console */
  --display-1: clamp(40px, 6vw, 76px);
  --display-2: clamp(30px, 4.2vw, 50px);
  --display-3: clamp(23px, 2.6vw, 32px);
  --lead:      clamp(17px, 1.5vw, 21px);

  /* Spacing */
  --space-1: 4px;  --space-2: 8px;  --space-3: 12px; --space-4: 16px;
  --space-5: 20px; --space-6: 24px; --space-8: 32px; --space-10: 40px;
  --space-12: 48px; --space-16: 64px; --space-20: 80px; --space-24: 96px;
  --section-y: clamp(72px, 9vw, 132px);
  --maxw: 1200px;

  /* Radii */
  --radius-sm: 6px; --radius-md: 8px; --radius-lg: 12px;
  --radius-xl: 16px; --radius-full: 9999px;

  /* Elevation */
  --shadow-sm: inset 0 1px 0 rgba(255,255,255,0.03), 0 1px 3px rgba(0,0,0,0.35);
  --shadow-md: inset 0 1px 0 rgba(255,255,255,0.04), 0 8px 24px rgba(0,0,0,0.45);
  --shadow-lg: inset 0 1px 0 rgba(255,255,255,0.05), 0 20px 48px rgba(0,0,0,0.6);
  --shadow-glow: 0 0 0 1px rgba(63,185,80,0.35), 0 0 32px rgba(63,185,80,0.18);

  /* Motion */
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --dur-fast: 150ms; --dur-med: 240ms; --dur-slow: 400ms;
}

* , *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: rgba(63,185,80,0.28); color: #fff; }

a { color: inherit; text-decoration: none; }
img, svg { display: block; }

/* ---------- Layout primitives ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(20px, 4vw, 40px); }
.section { padding-block: var(--section-y); position: relative; }
.section--tint { background: var(--bg2); border-block: 1px solid var(--border); }

/* ---------- Eyebrow / mono labels ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--green-300);
}
.eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 2px;
  background: var(--nectar-gradient-45);
}
.eyebrow--muted { color: var(--text2); }
.eyebrow--muted::before { background: var(--text3); }

/* ---------- Headings ---------- */
.h-display { font-size: var(--display-1); font-weight: 700; line-height: 1.04; letter-spacing: -0.03em; }
.h-2 { font-size: var(--display-2); font-weight: 700; line-height: 1.08; letter-spacing: -0.025em; }
.h-3 { font-size: var(--display-3); font-weight: 600; line-height: 1.18; letter-spacing: -0.015em; }
.lead { font-size: var(--lead); line-height: 1.55; color: var(--text2); }
.muted { color: var(--text2); }
.grad-text {
  background: var(--nectar-gradient-45);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Section header block ---------- */
.section-head { max-width: 740px; }
.section-head .h-2 { margin-top: var(--space-4); }
.section-head .lead { margin-top: var(--space-5); }

/* ---------- Buttons ---------- */
.btn {
  --_pad-y: 12px; --_pad-x: 20px;
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  font-family: var(--font-sans); font-size: 15px; font-weight: 600; line-height: 1;
  padding: var(--_pad-y) var(--_pad-x);
  border-radius: var(--radius-md); border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: background var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out);
}
.btn svg { width: 17px; height: 17px; }
.btn--primary { background: var(--green-500); color: #04130a; }
.btn--primary:hover { background: var(--green-400); }
.btn--primary:active { background: var(--green-700); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--border2); }
.btn--ghost:hover { background: var(--bg3); border-color: rgba(255,255,255,0.28); }
.btn--quiet { background: transparent; color: var(--text); padding-inline: 4px; }
.btn--quiet:hover { color: var(--green-300); }
.btn--lg { --_pad-y: 15px; --_pad-x: 26px; font-size: 16px; }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(63,185,80,0.4); }

/* arrow that nudges on hover */
.btn .arrow, .link-arrow .arrow { transition: transform var(--dur-fast) var(--ease-out); }
.btn:hover .arrow, .link-arrow:hover .arrow { transform: translateX(3px); }

.link-arrow {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-weight: 600; font-size: 15px; color: var(--green-300);
}
.link-arrow:hover { color: var(--green-300); }
.link-arrow .arrow { width: 16px; height: 16px; }

/* ---------- Top nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: 68px; display: flex; align-items: center;
  background: rgba(13,17,23,0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-med) var(--ease-out), background var(--dur-med) var(--ease-out);
}
.nav.is-scrolled { border-bottom-color: var(--border); background: rgba(13,17,23,0.9); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); width: 100%; }
.nav__brand { display: flex; align-items: center; gap: 10px; }
.nav__brand img.mark { width: 26px; height: auto; }
.nav__brand .wordmark { height: 17px; width: auto; opacity: 0.96; }
.nav__links { display: flex; align-items: center; gap: var(--space-2); }
.nav__links a {
  font-size: 14px; font-weight: 500; color: var(--text2);
  padding: 8px 12px; border-radius: var(--radius-sm);
  transition: color var(--dur-fast), background var(--dur-fast);
}
.nav__links a:hover { color: var(--text); background: var(--bg3); }
.nav__cta { display: flex; align-items: center; gap: var(--space-3); }
.nav__toggle { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(120px, 16vh, 188px); padding-bottom: var(--section-y); overflow: hidden; }
.hero__grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 5vw, 72px); align-items: center;
}
.hero__headline { margin-top: var(--space-5); max-width: 14ch; }
.hero__sub { margin-top: var(--space-6); max-width: 46ch; }
.hero__cta { margin-top: var(--space-8); display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* faint hex motif behind hero */
.hero__motif {
  position: absolute; pointer-events: none; user-select: none;
  right: -8%; top: 50%; transform: translateY(-50%);
  width: min(620px, 56vw); opacity: 0.05; z-index: 0;
}
.hero > .wrap { position: relative; z-index: 1; }

/* control-loop telemetry panel (hero visual) */
.loop {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius-xl); box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.loop__bar {
  display: flex; align-items: center; gap: var(--space-2);
  padding: 12px 16px; border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.015);
}
.loop__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px rgba(63,185,80,0.7); }
.loop__title { font-family: var(--font-mono); font-size: 12px; color: var(--text2); letter-spacing: 0.04em; }
.loop__title b { color: var(--text); font-weight: 600; }
.loop__live { margin-left: auto; font-family: var(--font-mono); font-size: 11px; color: var(--green-300); display: flex; align-items: center; gap: 6px; }
.loop__body { padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-3); }
.metric { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: var(--space-3); padding-block: 6px; }
.metric + .metric { border-top: 1px solid var(--border); }
.metric__label { font-family: var(--font-mono); font-size: 12.5px; color: var(--text2); }
.metric__val { font-family: var(--font-mono); font-size: 16px; font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
.metric__val .unit { color: var(--text3); font-size: 12px; font-weight: 400; margin-left: 3px; }
.metric__val.ok { color: var(--green-300); }
.loop__foot {
  padding: 12px 20px; border-top: 1px solid var(--border);
  font-family: var(--font-mono); font-size: 11.5px; color: var(--text3);
  display: flex; align-items: center; gap: 8px;
}
/* tiny sparkline bars */
.spark { display: inline-flex; align-items: flex-end; gap: 2px; height: 16px; }
.spark i { width: 3px; background: var(--green); border-radius: 1px; opacity: 0.85; }

/* ---------- Trust strip ---------- */
.trust { margin-top: clamp(48px, 7vw, 88px); }
.trust__label {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.2em; color: var(--text3);
}
.trust__label::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--green-500); box-shadow: 0 0 0 3px rgba(63,185,80,0.16);
  flex: none;
}
.trust__row {
  margin-top: var(--space-6);
  display: grid; grid-template-columns: repeat(6, 1fr); align-items: center;
  border-top: 1px solid var(--border); padding-top: var(--space-2);
}
.trust__cell {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  height: 78px; padding-inline: clamp(6px, 1.4vw, 20px);
}
.trust__cell + .trust__cell::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 1px; height: 36px; background: var(--border);
}
.trust__logo {
  max-height: 38px; max-width: 100%; width: auto; display: block;
  /* normalize every partner mark to one muted-white silhouette on the dark bar */
  filter: brightness(0) invert(1);
  opacity: 0.62;
  transition: opacity var(--dur-med) var(--ease-out);
}
.trust__logo--stacked { max-height: 60px; }
/* per-logo size tweaks */
.trust__logo--dcx { max-height: 52px; }
.trust__logo--nebius { max-height: 34px; }
.trust__logo--supermicro { max-height: 46px; }
/* NVIDIA Inception: source PNG capped at ~35% alpha, so we pre-render a solid-white
   version (logo-nvidia-inception-white.png) and let it inherit the standard 0.62 opacity to match the rest */
.trust__logo--nvidia { max-height: 66px; }
.trust__cell:hover .trust__logo { opacity: 1; }

/* ---------- Card grid ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); margin-top: clamp(40px, 5vw, 64px); }
.card {
  position: relative;
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out);
}
.card:hover { border-color: var(--border2); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card__num { font-family: var(--font-mono); font-size: 12px; color: var(--text3); letter-spacing: 0.08em; }
.card__icon {
  width: 44px; height: 44px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  background: var(--green-bg); border: 1px solid rgba(63,185,80,0.25);
  color: var(--green-300); margin-bottom: var(--space-5);
}
.card__icon svg { width: 22px; height: 22px; }
.card h3 { font-size: 20px; font-weight: 600; line-height: 1.22; letter-spacing: -0.01em; margin-bottom: var(--space-3); }
.card p { color: var(--text2); font-size: 15px; line-height: 1.6; }
.card--accent { border-left: 3px solid var(--green-500); }

/* closing line under a card row */
.section-close {
  margin-top: clamp(40px, 5vw, 56px);
  padding-top: var(--space-8); border-top: 1px solid var(--border);
  font-size: clamp(19px, 2vw, 24px); font-weight: 500; line-height: 1.4;
  letter-spacing: -0.01em; color: var(--text); max-width: 760px;
}
.section-close .grad-text { font-weight: 700; }

/* ---------- Honest lines (solution sub-band) ---------- */
.facts { margin-top: clamp(40px, 5vw, 56px); display: grid; gap: var(--space-3); }
.fact {
  display: grid; grid-template-columns: 132px 1fr; gap: var(--space-5);
  align-items: start; padding: var(--space-5) var(--space-6);
  background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius-lg);
}
.fact__tag {
  font-family: var(--font-mono); font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--green-300);
  padding-top: 3px;
}
.fact__tag.is-roadmap { color: var(--amber); }
.fact p { color: var(--text2); font-size: 15.5px; line-height: 1.6; }
.fact p b { color: var(--text); font-weight: 600; }

/* ---------- Why band (comparison) ---------- */
.compare { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); margin-top: clamp(40px, 5vw, 60px); }
.compare__col {
  padding: var(--space-6); border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.012);
}
.compare__col h4 { display: flex; align-items: center; gap: var(--space-2); font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: var(--space-3); }
.compare__col h4 svg { width: 18px; height: 18px; color: var(--red); }
.compare__col p { font-size: 14.5px; color: var(--text2); line-height: 1.6; }
.synth {
  margin-top: var(--space-5); padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius-xl); border: 1px solid rgba(63,185,80,0.3);
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(63,185,80,0.10), transparent 60%),
    var(--bg2);
  display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 48px); align-items: center;
}
.synth__mark { width: 64px; height: auto; filter: drop-shadow(0 0 18px rgba(63,185,80,0.35)); }
.synth h3 { font-size: clamp(21px, 2.4vw, 28px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.18; margin-bottom: var(--space-4); }
.synth p { font-size: 16px; color: var(--text2); line-height: 1.6; max-width: 62ch; }
.synth__cta { margin-top: var(--space-6); }
.synth__pillars { margin-top: var(--space-5); display: flex; flex-wrap: wrap; gap: var(--space-2); }
.pill {
  font-family: var(--font-mono); font-size: 12px; color: var(--text);
  padding: 6px 12px; border-radius: var(--radius-full); white-space: nowrap;
  border: 1px solid var(--border2); background: rgba(255,255,255,0.02);
}
.pill .dot { display:inline-block; width:6px; height:6px; border-radius:50%; background: var(--green); margin-right:7px; vertical-align: middle; }

/* ---------- Built on the open stack (the conductor) ---------- */
.sx { margin-top: clamp(36px, 5vw, 56px); }
.sx-box {
  border: 1px solid rgba(63,185,80,0.30); border-radius: var(--radius-xl);
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(63,185,80,0.06), transparent 60%),
    var(--bg);
  box-shadow: var(--shadow-lg);
  padding: clamp(18px, 2.4vw, 30px);
}
.sx-box__head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--space-3) var(--space-5); margin-bottom: var(--space-6);
  padding-bottom: var(--space-5); border-bottom: 1px solid var(--border);
}
.sx-box__tag {
  display: inline-flex; align-items: center; gap: var(--space-3);
  font-family: var(--font-mono); font-size: 13px; font-weight: 600; letter-spacing: 0.02em; color: var(--text);
}
.sx-box__mark { width: 22px; height: auto; }
.sx-box__bound {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-size: 12px; color: var(--text2); line-height: 1.45; max-width: 52ch;
}
.sx-box__bound svg { width: 15px; height: 15px; color: var(--green-300); flex: none; }

.sx-cols {
  display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1.22fr) auto minmax(0,1fr);
  gap: clamp(6px, 1vw, 16px); align-items: stretch;
}
.sx-col {
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.012); padding: var(--space-5);
  display: flex; flex-direction: column; gap: var(--space-4);
}
.sx-col--sense { border-color: rgba(63,185,80,0.22); background: rgba(63,185,80,0.035); }
.sx-col--brain {
  border-color: rgba(63,185,80,0.45);
  background: radial-gradient(130% 80% at 50% 0%, rgba(63,185,80,0.10), transparent 65%), rgba(63,185,80,0.04);
}
.sx-col--conduct { background: rgba(255,255,255,0.01); }
.sx-col__h { display: flex; flex-direction: column; gap: 6px; }
.sx-col__eye {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-family: var(--font-mono); font-size: 12.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.sx-col__eye svg { width: 16px; height: 16px; flex: none; }
.sx-col__mark { width: 17px; height: auto; }
.sx-col__eye--green { color: var(--green-300); }
.sx-col__eye--slate { color: var(--text2); }
.sx-col__sub { font-size: 13px; color: var(--text2); line-height: 1.4; }
.sx-col__sub--strong { color: var(--text); font-weight: 600; font-size: 13.5px; }

/* sense sources */
.sx-srcs { list-style: none; display: grid; gap: var(--space-2); }
.sx-src {
  padding: 9px 12px; border: 1px solid var(--border); border-radius: var(--radius-md);
  background: var(--bg2);
}
.sx-src__body { display: flex; flex-direction: column; gap: 3px; }
.sx-src__name { font-size: 13.5px; font-weight: 600; color: var(--text); line-height: 1.3; }
.sx-src__det { display: block; font-family: var(--font-mono); font-size: 10.5px; font-weight: 400; color: var(--text3); letter-spacing: 0.01em; margin-top: 2px; }
.sx-src__via {
  display: inline-flex; align-items: center; gap: 5px; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 11px; color: var(--green-300);
}
.sx-src__amp { color: var(--text3); margin: 0 1px; }
.sx-tag-opt {
  font-family: var(--font-mono); font-size: 9.5px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--text3); border: 1px solid var(--border2);
  border-radius: var(--radius-full); padding: 1px 7px; margin-left: 6px; vertical-align: middle;
}

/* logos / wordmarks */
.sx-logo { height: 13px; width: auto; vertical-align: -2px; flex: none; }
.sx-logo--lg { height: 22px; }
.sx-logo--slate { opacity: 1; }
.sx-wm { font-weight: 700; letter-spacing: -0.01em; color: inherit; }
.sx-wm--lg { font-size: 17px; font-weight: 700; color: var(--text); letter-spacing: -0.01em; }

/* switzerland callout */
.sx-swiss {
  margin-top: auto; padding: var(--space-4);
  border: 1px solid rgba(63,185,80,0.30); border-radius: var(--radius-md);
  background: rgba(63,185,80,0.06);
}
.sx-swiss__logos { display: flex; align-items: center; gap: clamp(14px, 3vw, 22px); flex-wrap: wrap; margin-bottom: var(--space-3); }
.sx-swiss__note { font-size: 12px; color: var(--text2); line-height: 1.45; display: flex; gap: 7px; align-items: flex-start; }
.sx-swiss__note svg { width: 15px; height: 15px; color: var(--green-300); flex: none; margin-top: 1px; }
.sx-swiss__note b { color: var(--text); font-weight: 600; }

/* arrows between columns */
.sx-arrow { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-width: 56px; }
.sx-arrow svg { width: 26px; height: 26px; color: var(--green-300); }
.sx-arrow__lbl {
  font-family: var(--font-mono); font-size: 9.5px; text-transform: uppercase; letter-spacing: 0.07em;
  color: var(--text3); text-align: center; line-height: 1.2; max-width: 64px;
}

/* tool chips (brain built-on + conduct actuators) */
.sx-tools { list-style: none; display: grid; gap: var(--space-2); }
.sx-tool {
  display: flex; flex-direction: column; gap: 2px;
  padding: 9px 12px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg2);
}
.sx-tools--brain .sx-tool { border-color: rgba(63,185,80,0.20); background: rgba(63,185,80,0.045); }
.sx-tool__name { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 13.5px; font-weight: 600; color: var(--text); line-height: 1.3; }
.sx-tool__role { font-family: var(--font-mono); font-size: 10.5px; color: var(--text3); letter-spacing: 0.01em; }

.sx-badge {
  font-family: var(--font-mono); font-size: 9.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--green-300); border: 1px solid rgba(63,185,80,0.4); border-radius: var(--radius-full); padding: 2px 8px;
}

/* foundation bar */
.sx-foundation {
  margin-top: clamp(8px, 1.2vw, 14px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--space-3) var(--space-5);
  padding: var(--space-4) var(--space-5);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--bg2), var(--bg3));
}
.sx-found__item { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: var(--text); }
.sx-found__item svg { width: 16px; height: 16px; color: var(--text2); flex: none; }
.sx-found__det { color: var(--text3); font-weight: 400; }
.sx-found__div { width: 1px; height: 18px; background: var(--border2); }

/* brain capability line (replaces ladder + tool tiles) */
.sx-col--brain { justify-content: center; text-align: center; }
.sx-col--brain .sx-col__h { align-items: center; }
.sx-brain__cap { font-size: 13.5px; line-height: 1.6; color: var(--text2); max-width: 32ch; margin-inline: auto; }
.sx-brain__cap b { color: var(--text); font-weight: 700; }

/* loop base — closes the reliability cycle Sense → Brain → Conduct → GPU → Sense */
.sx-loopbase {
  margin-top: clamp(8px, 1.2vw, 14px);
  display: grid; grid-template-columns: minmax(58px,auto) minmax(0,1fr) minmax(58px,auto);
  gap: clamp(6px, 1vw, 16px); align-items: stretch;
}
.sx-loopbase .sx-foundation { margin-top: 0; }
.sx-loopedge {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  padding: 6px 0;
}
.sx-loopedge svg { width: 22px; height: 22px; color: var(--green-300); flex: none; }
.sx-loopedge__lbl {
  font-family: var(--font-mono); font-size: 9.5px; text-transform: uppercase; letter-spacing: 0.07em;
  color: var(--green-300); text-align: center; line-height: 1.1; white-space: nowrap;
}
/* dashed risers bridge the gap up to the columns above, implying the return paths */
.sx-loopedge::before {
  content: ""; position: absolute; left: 50%; bottom: 100%;
  height: clamp(8px, 1.2vw, 14px); border-left: 1.5px dashed rgba(63,185,80,0.45);
}

.sx-cap {
  margin-top: var(--space-5); text-align: center; font-size: 15px; color: var(--text2);
  line-height: 1.55; max-width: 70ch; margin-inline: auto;
}
.sx-cap b { color: var(--text); font-weight: 600; }

/* trademark footnote */
.sx-trademark {
  margin-top: var(--space-3); text-align: center;
  font-size: 11.5px; color: var(--text3); line-height: 1.5;
  max-width: 70ch; margin-inline: auto;
}

/* ---------- How it starts (staged path) ---------- */
.steps {
  margin-top: clamp(40px, 5vw, 60px);
  display: grid; grid-template-columns: 1fr auto 1fr;
  gap: var(--space-5); align-items: stretch;
}
.step {
  display: flex; flex-direction: column;
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: clamp(26px, 3vw, 38px);
  box-shadow: var(--shadow-sm);
}
.step--start { border-left: 3px solid var(--green-500); }
.step__head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); margin-bottom: var(--space-5); }
.step__num {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-family: var(--font-mono); font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.14em; color: var(--green-300);
}
.step__num::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--nectar-gradient-45); }
.step__when {
  font-family: var(--font-mono); font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--text3);
  border: 1px solid var(--border); border-radius: var(--radius-full); padding: 4px 11px;
}
.step h3 { font-size: clamp(21px, 2.2vw, 27px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.16; margin-bottom: var(--space-3); }
.step__hw {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-family: var(--font-mono); font-size: 12px; color: var(--text2);
  letter-spacing: 0.02em; margin-bottom: var(--space-4);
}
.step__hw svg { width: 15px; height: 15px; color: var(--green-300); flex: none; }
.step__lede { font-size: 16px; color: var(--text2); line-height: 1.6; }
.step__list { list-style: none; display: grid; gap: var(--space-4); margin-top: var(--space-5); }
.step__list li { display: flex; align-items: flex-start; gap: var(--space-3); font-size: 15px; color: var(--text2); line-height: 1.55; }
.step__list li svg { width: 19px; height: 19px; color: var(--green-300); flex: none; margin-top: 1px; }
.step__list li b { color: var(--text); font-weight: 600; }
.step__note {
  margin-top: auto; padding-top: var(--space-5);
  border-top: 1px solid var(--border);
  display: flex; align-items: center; gap: var(--space-2);
  font-family: var(--font-mono); font-size: 12.5px; color: var(--text2); letter-spacing: 0.01em;
}
.step__note svg { width: 16px; height: 16px; color: var(--green-300); flex: none; }
.step__kpi-label {
  margin-top: var(--space-6); margin-bottom: var(--space-3);
  font-family: var(--font-mono); font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--text3);
}
.kpis { list-style: none; display: grid; gap: var(--space-2); }
.kpi {
  display: flex; align-items: center; gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: rgba(255,255,255,0.02); border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 14.5px; font-weight: 500; color: var(--text);
}
.kpi svg { width: 18px; height: 18px; color: var(--green-300); flex: none; }
.steps__arrow { display: flex; align-items: center; justify-content: center; color: var(--text3); }
.steps__arrow svg { width: 30px; height: 30px; }

/* ---------- The system (product education) ---------- */
.sys-tag {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-family: var(--font-mono); font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--green-300);
  margin-bottom: var(--space-4); white-space: nowrap;
}
.sys-tag svg { width: 16px; height: 16px; flex: none; }

/* Part 1 — The Box */
.sys-box {
  margin-top: clamp(40px, 5vw, 64px);
  display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(32px, 5vw, 64px);
  align-items: stretch;
}
.sys-box__visual {
  position: relative; overflow: hidden; min-height: 460px;
  border: 1px solid var(--border); border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  background:
    radial-gradient(120% 80% at 50% 16%, rgba(63,185,80,0.12), transparent 58%),
    radial-gradient(90% 50% at 50% 100%, rgba(0,254,124,0.07), transparent 60%),
    linear-gradient(180deg, #0a0e13 0%, #0d1117 60%, #090c11 100%);
}
.render { position: absolute; inset: 0; display: grid; place-items: end center; }
.render__floor {
  position: absolute; left: 0; right: 0; bottom: 0; height: 22%;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.045));
  border-top: 1px solid rgba(255,255,255,0.05);
}
.monolith {
  position: relative; z-index: 2;
  width: clamp(120px, 32%, 170px); height: 74%; margin-bottom: 11%;
  border-radius: 18px 18px 8px 8px;
  background: linear-gradient(102deg, #04070a 0%, #161b22 20%, #232b35 50%, #11161d 80%, #04070a 100%);
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,0.06),
    inset -10px 0 24px rgba(0,0,0,0.55),
    0 44px 60px -22px rgba(0,0,0,0.85),
    0 0 0 1px rgba(255,255,255,0.04),
    0 0 60px -10px rgba(63,185,80,0.18);
}
/* top cap vents */
.monolith::before {
  content: ""; position: absolute; top: 7%; left: 18%; right: 18%; height: 3.5%;
  border-radius: 3px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,0.10) 0 2px, transparent 2px 6px);
  opacity: 0.5;
}
/* contact shadow on floor */
.monolith::after {
  content: ""; position: absolute; left: -14%; right: -14%; bottom: -7%; height: 7%;
  background: radial-gradient(60% 100% at 50% 0%, rgba(0,0,0,0.7), transparent 75%);
  filter: blur(3px); z-index: -1;
}
.monolith__mark {
  position: absolute; top: 8%; left: 50%; transform: translateX(-50%);
  width: 32px; height: auto;
  filter: drop-shadow(0 0 12px rgba(63,185,80,0.55));
}
.monolith__window {
  position: absolute; left: 50%; transform: translateX(-50%); bottom: 16%;
  width: 54%; height: 36%; border-radius: 8px; overflow: hidden;
  background: linear-gradient(180deg, rgba(63,185,80,0.12), rgba(0,254,124,0.05));
  border: 1px solid rgba(63,185,80,0.28);
  box-shadow: inset 0 0 26px rgba(0,254,124,0.14), inset 0 1px 0 rgba(255,255,255,0.08);
}
.monolith__window .bubble {
  position: absolute; bottom: -8px; width: 5px; height: 5px; border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, rgba(207,251,64,0.95), rgba(63,185,80,0.45));
  opacity: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .monolith__window .bubble { animation: bubble-rise 5s linear infinite; }
}
@keyframes bubble-rise {
  0% { transform: translateY(0); opacity: 0; }
  14% { opacity: 0.85; }
  86% { opacity: 0.6; }
  100% { transform: translateY(-150px); opacity: 0; }
}
.monolith__label {
  position: absolute; bottom: 6.5%; left: 50%; transform: translateX(-50%);
  font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--text3); white-space: nowrap;
}
.sys-box__copy { align-self: center; }
.sys-box__copy h3 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.16; margin-bottom: var(--space-4); }
.sys-box__copy p { font-size: 16.5px; color: var(--text2); line-height: 1.62; max-width: 52ch; }
.sys-list {
  list-style: none; margin-top: var(--space-6);
  display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3);
}
.sys-list li {
  display: flex; align-items: center; gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--border); border-radius: var(--radius-md);
  background: rgba(255,255,255,0.015);
  font-size: 14.5px; font-weight: 500; color: var(--text);
}
.sys-list li svg { width: 17px; height: 17px; color: var(--green-300); flex: none; }
.sys-list .ms-head {
  grid-column: 1 / -1; border: none; background: none; padding: 0 0 var(--space-1);
  font-family: var(--font-mono); font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--text3); font-weight: 600;
}

/* Part 2 — The Brain (one line) */
.sys-brain {
  margin-top: var(--space-5);
  padding: clamp(22px, 3vw, 30px) clamp(24px, 4vw, 40px);
  border: 1px solid rgba(63,185,80,0.28); border-radius: var(--radius-xl);
  background:
    radial-gradient(120% 180% at 100% 0%, rgba(63,185,80,0.08), transparent 55%),
    var(--bg2);
  display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 3vw, 40px); align-items: center;
}
.sys-brain .sys-tag { margin-bottom: 0; white-space: nowrap; }
.sys-brain__line { font-size: 16px; color: var(--text2); line-height: 1.6; }
.sys-brain__line b { color: var(--text); font-weight: 600; }
.sys-brain__pills { margin-top: var(--space-4); display: flex; flex-wrap: wrap; gap: var(--space-2); }

/* Part 3 — The architecture */
.sys-arch { margin-top: var(--space-5); }
.sys-arch__head { max-width: 680px; margin-bottom: var(--space-5); }
.sys-arch__head p { font-size: 15.5px; color: var(--text2); line-height: 1.55; }
.arch-panel {
  border: 1px solid var(--border); border-radius: var(--radius-xl);
  background: var(--bg); box-shadow: var(--shadow-md);
  padding: clamp(20px, 3vw, 34px);
}
.arch-panel svg { width: 100%; height: auto; }
.arch-cap {
  margin-top: var(--space-5); display: flex; align-items: center; gap: var(--space-3);
  font-size: clamp(16px, 1.8vw, 19px); font-weight: 600; letter-spacing: -0.01em; color: var(--text);
}
.arch-cap svg { width: 19px; height: 19px; color: var(--green-300); flex: none; }

/* ---------- Data sovereignty band ---------- */
.data__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.flow {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: clamp(24px, 3vw, 36px);
  box-shadow: var(--shadow-md);
}
.flow svg { width: 100%; height: auto; }
.data__legend { margin-top: var(--space-6); display: grid; gap: var(--space-3); }
.legend-item { display: flex; align-items: flex-start; gap: var(--space-3); font-size: 14.5px; color: var(--text2); }
.legend-item .sw { width: 26px; height: 0; border-top-width: 2px; border-top-style: solid; margin-top: 10px; flex: none; }
.legend-item .sw.solid { border-top-color: var(--green); }
.legend-item .sw.dashed { border-top-style: dashed; border-top-color: var(--text3); }
.legend-item b { color: var(--text); font-weight: 600; }
.data__modes {
  margin-top: var(--space-6); padding: var(--space-5) var(--space-6);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.012);
}
.data__modes-label {
  font-family: var(--font-mono); font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--text3); margin-bottom: var(--space-4);
}
.mode { display: flex; align-items: flex-start; gap: var(--space-3); font-size: 14px; color: var(--text2); line-height: 1.5; }
.mode + .mode { margin-top: var(--space-3); }
.mode svg { width: 17px; height: 17px; color: var(--green-300); flex: none; margin-top: 1px; }
.mode b { color: var(--text); font-weight: 600; }
.data__modes-foot {
  margin-top: var(--space-4); padding-top: var(--space-4); border-top: 1px solid var(--border);
  font-size: 13.5px; color: var(--text2); line-height: 1.5;
}

/* ---------- FAQ accordion ---------- */
.faq { margin-top: clamp(40px, 5vw, 60px); border-top: 1px solid var(--border); }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__q {
  width: 100%; text-align: left; cursor: pointer; background: none; border: none;
  display: flex; align-items: center; gap: var(--space-4);
  padding: var(--space-6) 0; color: var(--text);
  font-family: var(--font-sans); font-size: clamp(17px, 1.8vw, 20px); font-weight: 600; letter-spacing: -0.01em;
}
.faq__q:hover { color: var(--green-300); }
.faq__q:focus-visible { outline: none; box-shadow: 0 0 0 2px rgba(63,185,80,0.4); border-radius: var(--radius-sm); }
.faq__icon { margin-left: auto; flex: none; color: var(--text2); transition: transform var(--dur-med) var(--ease-out), color var(--dur-fast); }
.faq__icon svg { width: 22px; height: 22px; }
.faq__item.is-open .faq__icon { transform: rotate(45deg); color: var(--green-300); }
.faq__a { overflow: hidden; height: 0; transition: height var(--dur-med) var(--ease-out); }
.faq__a-inner { padding: 0 0 var(--space-6); max-width: 70ch; }
.faq__a-inner p { color: var(--text2); font-size: 16px; line-height: 1.65; }
.faq__a-inner code { font-family: var(--font-mono); font-size: 0.88em; background: var(--bg3); border: 1px solid var(--border); padding: 1px 6px; border-radius: 4px; color: var(--text); }

/* ---------- Validation form ---------- */
.validate__grid {
  display: grid; grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(40px, 6vw, 80px); align-items: start;
}
.validate__intro { max-width: 460px; padding-top: var(--space-2); }
.validate__points { list-style: none; margin-top: var(--space-8); display: grid; gap: var(--space-4); }
.validate__points li { display: flex; align-items: flex-start; gap: var(--space-3); font-size: 15px; color: var(--text2); line-height: 1.55; }
.validate__points li svg { width: 19px; height: 19px; color: var(--green-300); flex: none; margin-top: 1px; }
.validate__points li b { color: var(--text); font-weight: 600; }

.validate__card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-xl);
  padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow-lg);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
.field { display: flex; flex-direction: column; gap: var(--space-2); min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field > label {
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--text2);
}
.field .req { color: var(--green-300); }
.field .opt { color: var(--text3); text-transform: none; letter-spacing: 0; font-weight: 400; }
.field input,
.field select,
.field textarea {
  width: 100%; font-family: var(--font-sans); font-size: 15px; color: var(--text);
  background: var(--bg2); border: 1px solid var(--border2); border-radius: var(--radius-md);
  padding: 11px 13px; line-height: 1.4;
  transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.field textarea { min-height: 88px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--text3); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green-500); box-shadow: 0 0 0 3px rgba(63,185,80,0.18);
}
.field select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238b949e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center;
}
.field select option { background: var(--bg2); color: var(--text); }

.seg { display: flex; gap: var(--space-2); flex-wrap: wrap; }
.seg input { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.seg label {
  flex: 1 1 0; min-width: 84px; text-align: center; cursor: pointer;
  font-family: var(--font-sans); font-size: 14px; font-weight: 500; color: var(--text2);
  text-transform: none; letter-spacing: 0;
  padding: 10px 12px; border: 1px solid var(--border2); border-radius: var(--radius-md);
  background: var(--bg2); transition: border-color var(--dur-fast), color var(--dur-fast), background var(--dur-fast);
}
.seg label:hover { border-color: rgba(255,255,255,0.28); color: var(--text); }
.seg input:checked + label { border-color: var(--green-500); color: var(--green-300); background: var(--green-bg); }
.seg input:focus-visible + label { box-shadow: 0 0 0 3px rgba(63,185,80,0.3); }

.check { display: flex; align-items: flex-start; gap: var(--space-3); cursor: pointer; }
.check input {
  appearance: none; -webkit-appearance: none; flex: none;
  width: 18px; height: 18px; margin-top: 1px; border-radius: 4px;
  border: 1px solid var(--border2); background: var(--bg2); cursor: pointer;
  transition: background var(--dur-fast), border-color var(--dur-fast);
}
.check input:checked {
  background: var(--green-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2304130a' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
  border-color: var(--green-500);
}
.check input:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(63,185,80,0.3); }
.check span { font-size: 13.5px; color: var(--text2); line-height: 1.5; }

.vform__submit { width: 100%; margin-top: var(--space-6); }
.vform__fine { margin-top: var(--space-4); font-size: 12.5px; color: var(--text3); line-height: 1.5; text-align: center; }

.validate__success { text-align: center; padding: var(--space-8) var(--space-4); }
.success__mark {
  width: 56px; height: 56px; margin: 0 auto var(--space-6); border-radius: var(--radius-full);
  display: grid; place-items: center;
  background: var(--green-bg); border: 1px solid rgba(63,185,80,0.4); color: var(--green-300);
}
.success__mark svg { width: 28px; height: 28px; }
.validate__success h3 { font-size: clamp(20px, 2.2vw, 26px); font-weight: 700; letter-spacing: -0.02em; outline: none; }
.validate__success p { margin-top: var(--space-4); font-size: 15.5px; color: var(--text2); line-height: 1.6; max-width: 44ch; margin-inline: auto; }

/* ---------- CTA band ---------- */
.ctaband { position: relative; overflow: hidden; }
.ctaband .wrap { position: relative; z-index: 1; text-align: center; }
.ctaband__motif {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  display: flex; align-items: center; justify-content: center;
}
.ctaband__motif img { width: min(440px, 60vw); opacity: 0.06; }
.ctaband .kicker { font-size: clamp(26px, 3.4vw, 42px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.12; max-width: 18ch; margin-inline: auto; }
.ctaband__actions { margin-top: var(--space-8); display: flex; flex-wrap: wrap; gap: var(--space-3); justify-content: center; align-items: center; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); background: var(--bg); padding-block: clamp(48px, 6vw, 72px) var(--space-10); }
.footer__top { display: flex; flex-wrap: wrap; gap: var(--space-8); justify-content: space-between; align-items: flex-start; }
.footer__brand { max-width: 320px; }
.footer__brand .wordmark { height: 22px; width: auto; margin-bottom: var(--space-4); }
.footer__brand p { font-size: 14px; color: var(--text2); line-height: 1.6; }
.footer__cols { display: flex; gap: clamp(40px, 7vw, 96px); flex-wrap: wrap; }
.footer__col h5 { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--text3); margin-bottom: var(--space-4); }
.footer__col ul { list-style: none; display: grid; gap: var(--space-3); }
.footer__col a { font-size: 14.5px; color: var(--text2); transition: color var(--dur-fast); }
.footer__col a:hover { color: var(--text); }
.footer__bottom {
  margin-top: clamp(40px, 5vw, 64px); padding-top: var(--space-6); border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; gap: var(--space-4); justify-content: space-between; align-items: center;
}
.footer__bottom p { font-size: 13px; color: var(--text3); font-family: var(--font-mono); }
.footer__legal { display: flex; gap: var(--space-5); }
.footer__legal a { font-size: 13px; color: var(--text3); }
.footer__legal a:hover { color: var(--text2); }

/* ---------- Scroll reveal ----------
   Content is VISIBLE by default. The hidden->reveal entrance is only armed
   (via html.can-reveal) once the tab is actually rendering, so a throttled /
   backgrounded tab can never leave content stuck invisible. */
.reveal { opacity: 1; transform: none; }
html.can-reveal .reveal { opacity: 0; transform: translateY(14px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
html.can-reveal .reveal.is-in { opacity: 1; transform: none; }
html.can-reveal .reveal.d1 { transition-delay: 60ms; }
html.can-reveal .reveal.d2 { transition-delay: 120ms; }
html.can-reveal .reveal.d3 { transition-delay: 180ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero__grid { grid-template-columns: 1fr; }
  /* flatten copy so the figure can sit between the subhead and the CTA */
  .hero__copy { display: contents; }
  .hero__headline { order: 1; }
  .hero__sub { order: 2; }
  .hero__visual { order: 3; max-width: 480px; margin-top: var(--space-6); }
  .hero__cta { order: 4; }
  .data__grid { grid-template-columns: 1fr; }
  .validate__grid { grid-template-columns: 1fr; }
  .validate__intro { max-width: none; }
  .synth { grid-template-columns: 1fr; gap: var(--space-6); }
  .synth__mark { width: 52px; }
  .sys-box { grid-template-columns: 1fr; }
  .sys-box__visual { min-height: 360px; }
  .sys-brain { grid-template-columns: 1fr; gap: var(--space-4); align-items: start; }
  .sx-cols { grid-template-columns: 1fr; }
  .sx-arrow { flex-direction: row; gap: var(--space-3); min-width: 0; padding-block: 2px; }
  .sx-arrow svg { transform: rotate(90deg); }
  .sx-arrow__lbl { max-width: none; }
  .sx-loopbase { grid-template-columns: 1fr; }
  .sx-loopedge { flex-direction: row; gap: var(--space-2); }
  .sx-loopedge svg { transform: rotate(90deg); }
  .sx-loopedge::before { display: none; }
}
@media (max-width: 860px) {
  .nav__links, .nav__cta .btn--ghost:not(.nav__toggle) { display: none; }
  .nav__toggle { display: inline-flex; }
  .cards { grid-template-columns: 1fr; }
  .compare { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps__arrow { transform: rotate(90deg); padding-block: var(--space-1); }
  .trust__row { grid-template-columns: repeat(3, 1fr); row-gap: var(--space-2); }
  .trust__cell:nth-child(3n+1)::before { display: none; }
  .fact { grid-template-columns: 1fr; gap: var(--space-2); }
  .fact__tag { padding-top: 0; }
  .sys-list { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .sx-box__head { flex-direction: column; align-items: flex-start; }
  .sx-foundation { flex-direction: column; }
  .sx-found__div { display: none; }
}
@media (max-width: 520px) {
  .trust__row { grid-template-columns: repeat(2, 1fr); }
  .trust__cell:nth-child(3n+1)::before { display: block; }
  .trust__cell:nth-child(2n+1)::before { display: none; }
  .hero__cta .btn, .ctaband__actions .btn { width: 100%; }
}

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed; inset: 68px 0 0 0; z-index: 49;
  background: rgba(13,17,23,0.98); backdrop-filter: blur(8px);
  padding: var(--space-6) clamp(20px,4vw,40px);
  display: none; flex-direction: column; gap: var(--space-2);
  border-top: 1px solid var(--border);
}
.mobile-menu.is-open { display: flex; }
.mobile-menu a { font-size: 18px; font-weight: 500; color: var(--text); padding: var(--space-4) 0; border-bottom: 1px solid var(--border); }
.mobile-menu .btn { margin-top: var(--space-4); }
