/* aigentxus.com — JobXus v2 tokens (DevXus product family) */
@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Montserrat";
  src: url("/fonts/montserrat-700-latin.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Martian Mono";
  src: url("/fonts/martian-mono-latin.woff2") format("woff2");
  font-weight: 100 800;
  font-stretch: 75% 112.5%;
  font-display: swap;
}

/* AIGentXus brand palette (charte graphique) on the JobXus v2 structure.
   Royal #1A6FD8 = primary · Cobalt #0A2FA8 = strong · Cyan #00D4FF = accent · Sky #4FC3F7 · Marine #050F2E · Gris Tech #8A9BB0 */
:root {
  color-scheme: light dark;
  --ground: #eef2f8;
  --panel: #f8fafd;
  --panel-2: #e1e8f2;
  --line: #c9d3e1;
  --line-strong: #94a3bb;
  --ink: #050f2e;
  --ink-2: #27375a;
  --ink-3: #4a5b7c;
  --run: #1a6fd8;
  --run-ink: #0a2fa8;
  --run-soft: rgba(26, 111, 216, 0.1);
  --cobalt: #0a2fa8;
  --cyan: #00d4ff;
  --sky: #4fc3f7;
  --pass: #12803e;
  --pass-ink: #0d6a32;
  --warn: #e9a417;
  --fail-ink: #a3261f;
  --paper: #ffffff;
  --shadow-2: 0 2px 0 rgba(5, 15, 46, 0.05), 0 28px 56px -28px rgba(5, 15, 46, 0.38);
  --log: #030a20;
  --log-line: #13204a;
  --log-text: #d6e2f5;
  --log-dim: #8a9bb0;
  --log-pass: #5bd38a;
  --log-warn: #f2c14e;
  --log-run: #4fc3f7;
  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --body: "Archivo", system-ui, sans-serif;
  --mono: "Martian Mono", ui-monospace, "SFMono-Regular", monospace;
  --wordmark: "Montserrat", "Archivo", system-ui, sans-serif;
  --r-sm: 3px;
  --r-md: 6px;
  --r-lg: 12px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --fast: 120ms;
  --base: 220ms;
  --slow: 480ms;
  --page-max: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --focus: var(--run);
}
/* Theme: system preference by default; [data-theme] set by the header toggle wins (persisted in localStorage). */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --ground: #050f2e;
    --panel: #0a1a45;
    --panel-2: #11245a;
    --line: #1c3166;
    --line-strong: #33508f;
    --ink: #f3f7ff;
    --ink-2: #c3d1e8;
    --ink-3: #8a9bb0;
    --run: #1a6fd8;
    --run-ink: #00d4ff;
    --run-soft: rgba(0, 212, 255, 0.12);
    --pass: #177f41;
    --pass-ink: #4fcb80;
    --warn: #f0b02a;
    --fail-ink: #ff8a80;
    --paper: #08163d;
    --shadow-2: 0 2px 0 rgba(0, 0, 0, 0.4), 0 24px 48px -20px rgba(0, 0, 0, 0.75);
    --focus: var(--cyan);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --ground: #050f2e;
  --panel: #0a1a45;
  --panel-2: #11245a;
  --line: #1c3166;
  --line-strong: #33508f;
  --ink: #f3f7ff;
  --ink-2: #c3d1e8;
  --ink-3: #8a9bb0;
  --run: #1a6fd8;
  --run-ink: #00d4ff;
  --run-soft: rgba(0, 212, 255, 0.12);
  --pass: #177f41;
  --pass-ink: #4fcb80;
  --warn: #f0b02a;
  --fail-ink: #ff8a80;
  --paper: #08163d;
  --shadow-2: 0 2px 0 rgba(0, 0, 0, 0.4), 0 24px 48px -20px rgba(0, 0, 0, 0.75);
  --focus: var(--cyan);
}
:root[data-theme="light"] { color-scheme: light; }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; scrollbar-color: var(--line-strong) var(--ground); }
body {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--ground);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
h1, h2, h3 { font-family: var(--display); color: var(--ink); text-wrap: balance; }
p { text-wrap: pretty; }
a { color: inherit; text-underline-offset: 4px; }
img, svg { display: block; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
code { font-family: var(--mono); font-size: 0.92em; font-stretch: 88%; }
:focus-visible { outline: 2px solid var(--run-ink); outline-offset: 2px; border-radius: var(--r-sm); }
::selection { background: var(--cyan); color: #050f2e; }
input { caret-color: var(--run); }
:focus-visible { outline-color: var(--focus); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -64px; z-index: 50; padding: 10px 14px; border-radius: var(--r-md); background: var(--run); color: #fff; font-weight: 650; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--page-max); margin-inline: auto; padding-inline: var(--gutter); }

/* ── Buttons ─────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: var(--r-md); border: 1px solid transparent;
  font-family: var(--body); font-size: 15px; font-weight: 650; letter-spacing: -0.005em; line-height: 1;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color var(--fast) ease-out, border-color var(--fast) ease-out, transform var(--fast) ease-out;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn--primary { background: var(--run); color: #fff; }
.btn--primary:hover { background: color-mix(in srgb, var(--run) 86%, #000); }
.btn--primary:disabled:hover { background: var(--run); }
.btn--secondary { color: var(--ink); border-color: var(--line-strong); }
.btn--secondary:hover { background: var(--panel-2); }
.btn--inverse { background: #fff; color: #050f2e; }
.btn--inverse:hover { background: color-mix(in srgb, var(--cyan) 12%, #fff); }
.btn--sm { min-height: 36px; padding: 0 14px; font-size: 14px; }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* two-tone shield badge */
.shield { display: inline-flex; border-radius: var(--r-sm); overflow: hidden; font-family: var(--mono); font-size: 12px; font-stretch: 90%; line-height: 22px; white-space: nowrap; }
.shield > span { padding: 0 8px; }
.shield > span:first-child { background: var(--ink-2); color: var(--panel); }
.shield > span:last-child { background: var(--run); color: #fff; }
.shield--soon > span:last-child { background: var(--panel-2); color: var(--ink); }

.mini { font-family: var(--mono); font-size: 12px; font-stretch: 88%; font-weight: 500; color: var(--ink-3); }

/* ── Header ──────────────────────────────────────── */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--ground) 92%, transparent); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); }
.brand img { width: 49px; height: 32px; }
.brand span { font-family: var(--wordmark); font-size: 19px; font-weight: 700; letter-spacing: -0.005em; }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { font-size: 14px; font-weight: 550; color: var(--ink-2); text-decoration: none; transition: color var(--fast) ease-out; }
.nav a:hover { color: var(--ink); }
.lang { display: flex; align-items: center; gap: 2px; font-family: var(--mono); font-size: 12px; font-stretch: 88%; }
.lang a, .lang span { display: inline-grid; place-items: center; min-width: 36px; min-height: 32px; padding: 0 7px; border-radius: var(--r-sm); text-decoration: none; color: var(--ink-3); }
.lang span[aria-current] { color: var(--ink); background: var(--panel-2); }
.lang a:hover { color: var(--ink); }
.theme { display: grid; place-items: center; width: 36px; height: 36px; border-radius: var(--r-md); border: 1px solid var(--line); color: var(--ink-2); transition: background-color var(--fast) ease-out, color var(--fast) ease-out, border-color var(--fast) ease-out; }
.theme:hover { background: var(--panel-2); color: var(--ink); border-color: var(--line-strong); }
.theme svg { width: 17px; height: 17px; }
.theme .i-sun { display: none; }
:root[data-theme="dark"] .theme .i-sun { display: block; }
:root[data-theme="dark"] .theme .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme .i-sun { display: block; }
  :root:not([data-theme="light"]) .theme .i-moon { display: none; }
}
.no-js .theme { display: none; }

/* ── Hero ────────────────────────────────────────── */
.hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 4.5vw, 64px); align-items: center; padding-block: clamp(48px, 6vw, 88px) clamp(72px, 9vw, 120px); }
.hero h1 { font-size: clamp(3.4rem, 6.6vw, 6rem); font-stretch: 62%; font-weight: 840; line-height: 0.88; letter-spacing: -0.025em; }
.hero h1 span { display: block; }
.hero h1 .run-word { color: var(--run-ink); }
.hero .lead { max-width: 50ch; margin-top: 28px; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.55; color: var(--ink-2); }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.hero .mini { margin-top: 18px; }
.hero-rule { border: 0; border-top: 1px solid var(--line); }

/* ── The run (AGX Factory job) ───────────────────── */
.run { background: var(--panel); border-radius: var(--r-lg); box-shadow: var(--shadow-2), 0 0 0 1px var(--line); overflow: hidden; min-width: 0; }
.run__head { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 16px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 12px; font-stretch: 88%; }
.run__id { font-weight: 700; white-space: nowrap; }
.run__summary { margin-right: auto; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.run__demo { margin-left: auto; padding: 3px 8px; font-family: var(--mono); font-size: 12px; font-stretch: 86%; border: 1px dashed var(--line-strong); border-radius: var(--r-sm); color: var(--ink-3); white-space: nowrap; }
.ctrl { display: grid; place-items: center; width: 32px; height: 32px; border-radius: var(--r-md); color: var(--ink-2); transition: background-color var(--fast) ease-out, color var(--fast) ease-out; }
.ctrl:hover { background: var(--panel-2); color: var(--ink); }
.ctrl svg { width: 15px; height: 15px; }
.no-js .ctrl { display: none; }
.ctrl .i-skip { display: none; }
.run.is-playing .ctrl .i-skip { display: block; }
.run.is-playing .ctrl .i-replay { display: none; }
.run__cmd { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.chip { padding: 5px 9px; border-radius: var(--r-sm); background: var(--panel-2); font-family: var(--mono); font-size: 12px; font-stretch: 88%; color: var(--ink); overflow-wrap: anywhere; }
.chip b { margin-right: 8px; font-weight: 500; color: var(--ink-3); }

.graph { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0 14px; padding: 16px; border-bottom: 1px solid var(--line); }
.tile { position: relative; display: grid; gap: 6px; padding: 9px 9px 8px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--paper); transition: border-color var(--base) ease-out, background-color var(--base) ease-out; }
.tile + .tile::before { content: ""; position: absolute; top: 19px; left: -15px; width: 14px; height: 1px; background: var(--line-strong); }
.tile__top { display: flex; align-items: center; justify-content: space-between; }
.tile__letter { font-family: var(--display); font-size: 22px; font-stretch: 70%; font-weight: 800; line-height: 1; }
.tile__name { font-family: var(--body); font-size: 12px; font-weight: 550; font-stretch: 80%; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile.is-run { border-color: var(--run); background: var(--run-soft); }
.tile.is-warn { border-color: color-mix(in srgb, var(--warn) 70%, var(--line)); }
.tile.is-pass { border-color: color-mix(in srgb, var(--pass) 45%, var(--line)); }
.tile.is-pending .tile__letter { color: var(--ink-3); }

/* status icons */
.st { width: 14px; height: 14px; flex: none; }
.is-pending .st { color: var(--ink-3); }
.is-run .st { color: var(--run-ink); animation: spin 0.9s linear infinite; }
.is-pass .st { color: var(--pass); }
.is-warn .st { color: var(--warn); }
@keyframes spin { to { transform: rotate(360deg); } }

.run__bottom { display: grid; grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr); }
.log { display: flex; flex-direction: column; min-width: 0; background: var(--log); color: var(--log-text); font-family: var(--mono); font-size: 12px; font-stretch: 76%; }
.log__head { display: flex; justify-content: space-between; gap: 12px; padding: 8px 14px; border-bottom: 1px solid var(--log-line); color: var(--log-dim); }
.log__body { -webkit-mask-image: linear-gradient(to bottom, transparent, #000 34px); mask-image: linear-gradient(to bottom, transparent, #000 34px); height: 276px; overflow: hidden; padding: 8px 0 10px; display: flex; flex-direction: column; justify-content: flex-end; }
.log__line { display: grid; grid-template-columns: 18px 12px 34px minmax(0, 1fr); gap: 8px; padding: 1.5px 14px; line-height: 1.5; }
.log__n { color: var(--log-dim); text-align: right; font-variant-numeric: tabular-nums; }
.log__tag { color: var(--log-dim); }
.log__lv { font-weight: 600; }
.lv-info .log__lv { color: var(--log-run); }
.lv-pass .log__lv { color: var(--log-pass); }
.lv-warn .log__lv { color: var(--log-warn); }
.log__msg { overflow-wrap: anywhere; }
.log__line[hidden] { display: none; }

.verdict { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 16px; background: var(--panel-2); overflow: hidden; min-height: 200px; }
.verdict__fill { position: absolute; inset: 0; background: var(--pass); clip-path: inset(100% 0 0 0); transition: clip-path var(--slow) var(--ease); }
.verdict > :not(.verdict__fill) { position: relative; transition: color var(--base) ease-out; }
.verdict__label { font-family: var(--mono); font-size: 12px; font-stretch: 86%; color: var(--ink-3); }
.verdict__big { font-family: var(--display); font-size: clamp(26px, 2.6vw, 34px); font-stretch: 66%; font-weight: 820; line-height: 0.95; letter-spacing: -0.015em; }
.verdict__note { font-size: 13px; line-height: 1.4; color: var(--ink-2); }
.verdict.is-done .verdict__fill { clip-path: inset(0 0 0 0); }
.verdict.is-done > :not(.verdict__fill) { color: #fff; transition-delay: 180ms; }
.verdict.is-done .verdict__label, .verdict.is-done .verdict__note { color: #fff; }

/* ── Sections ────────────────────────────────────── */
.section { padding-block: clamp(72px, 8.5vw, 116px); }
.band { background: var(--panel); border-block: 1px solid var(--line); }
.h2 { font-size: clamp(2.35rem, 4.8vw, 4.25rem); font-stretch: 70%; font-weight: 780; line-height: 0.95; letter-spacing: -0.018em; max-width: 18ch; }
.section .lead { max-width: 60ch; margin-top: 22px; font-size: clamp(17px, 1.3vw, 19px); line-height: 1.55; color: var(--ink-2); }

/* platform */
.platform { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.clients { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.kernel-fig svg { width: 100%; height: auto; }
.k-box { fill: var(--cobalt); }
.k-edge { fill: var(--cyan); }
.k-title { fill: #fff; font-family: var(--display); font-size: 44px; font-weight: 840; font-stretch: 62%; letter-spacing: -0.02em; }
.k-item { fill: rgba(255, 255, 255, 0.88); font-family: var(--mono); font-size: 12px; font-stretch: 86%; }
.k-wire { fill: none; stroke: var(--line-strong); stroke-width: 1.25; }
.k-node { fill: var(--paper); stroke: var(--line-strong); }
.k-label { fill: var(--ink); font-family: var(--mono); font-size: 12.5px; font-stretch: 88%; }
.k-dot { fill: var(--cyan); stroke: var(--cobalt); stroke-width: 1; }
.caps { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(24px, 4vw, 56px); margin-top: clamp(48px, 6vw, 72px); }
.caps div { padding-block: 20px 22px; border-top: 1px solid var(--line-strong); display: grid; gap: 6px; align-content: start; }
.caps dt { font-family: var(--display); font-size: 22px; font-stretch: 78%; font-weight: 740; letter-spacing: -0.01em; line-height: 1.15; }
.caps dd { color: var(--ink-2); max-width: 48ch; }

/* factory */
.factory-grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(32px, 5vw, 72px); margin-top: clamp(40px, 5vw, 64px); align-items: start; }
.phases { width: 100%; border-collapse: collapse; }
.phases th { padding: 0 12px 10px 0; text-align: left; font-family: var(--mono); font-size: 12px; font-stretch: 88%; font-weight: 500; color: var(--ink-3); border-bottom: 1px solid var(--line-strong); }
.phases td { padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-2); }
.phases td:first-child { width: 48px; padding-left: 10px; font-family: var(--display); font-size: 26px; font-stretch: 66%; font-weight: 820; line-height: 1; color: var(--run-ink); }
.phases th:first-child { padding-left: 10px; }
.phases td:nth-child(2) { width: 128px; font-weight: 650; color: var(--ink); }
.phases td:last-child { width: 176px; font-family: var(--mono); font-size: 12px; font-stretch: 88%; color: var(--ink-3); }
.phases tr.gate td { background: var(--run-soft); }
.phases tr.gate td:last-child { color: var(--run-ink); }
.rules li { display: grid; grid-template-columns: 18px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.rules li:first-child { border-top: 1px solid var(--line-strong); }
.rules svg { width: 18px; height: 18px; margin-top: 2px; color: var(--pass); }
.rules strong { display: block; font-weight: 650; color: var(--ink); }
.rules span { font-size: 14.5px; color: var(--ink-2); }

/* trainings */
.courses { margin-top: clamp(36px, 4.5vw, 56px); border-top: 1px solid var(--line-strong); }
.course { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr) auto; gap: 8px 32px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--line); }
.course h3 { font-size: clamp(24px, 2.4vw, 30px); font-stretch: 72%; font-weight: 780; letter-spacing: -0.012em; line-height: 1.05; }
.course p { color: var(--ink-2); }
.waitlist { margin-top: 40px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px clamp(32px, 5vw, 72px); align-items: start; }
.waitlist h3 { font-size: 24px; font-stretch: 78%; font-weight: 740; }
.waitlist p { margin-top: 6px; color: var(--ink-2); max-width: 44ch; }

/* forms */
.form { display: grid; gap: 12px; max-width: 560px; }
.form .row { display: flex; gap: 10px; }
.input { flex: 1; min-width: 0; min-height: 48px; padding: 0 14px; border-radius: var(--r-md); border: 1px solid var(--line-strong); background: var(--paper); color: var(--ink); font: inherit; font-size: 15px; transition: border-color var(--fast) ease-out, box-shadow var(--fast) ease-out; }
.input::placeholder { color: var(--ink-3); }
.input:hover { border-color: var(--ink-3); }
.input:focus { outline: none; border-color: var(--run); box-shadow: 0 0 0 3px var(--run-soft); }
.input[aria-invalid="true"] { border-color: var(--fail-ink); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.5; color: var(--ink-2); }
.consent input { flex: none; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--run); }
.consent a { color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.status { min-height: 1.4em; font-size: 14px; }
.status[data-state="ok"] { color: var(--pass-ink); }
.status[data-state="error"] { color: var(--fail-ink); }

/* close (cobalt) */
.close { background: var(--cobalt); color: #fff; border-top: 4px solid var(--cyan); }
.close .wrap { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); padding-block: clamp(88px, 11vw, 148px); align-items: end; }
.close h2 { color: #fff; font-size: clamp(3.2rem, 7.4vw, 6rem); font-stretch: 62%; font-weight: 840; line-height: 0.88; letter-spacing: -0.025em; max-width: 11ch; }
.close .lead { margin-top: 24px; max-width: 46ch; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; color: #fff; }
.close .ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.close .mail { margin-top: 16px; font-family: var(--mono); font-size: 12px; font-stretch: 88%; color: #fff; }
.close .news { display: grid; gap: 14px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, 0.4); }
.close .news h3 { color: #fff; font-size: 26px; font-stretch: 76%; font-weight: 760; letter-spacing: -0.01em; }
.close .news > p { color: #fff; max-width: 48ch; }
.close .input { background: #fff; color: #050f2e; border-color: transparent; }
.close .input::placeholder { color: #4a5b7c; }
.close .input:focus { box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.45); }
.close .consent { color: #fff; }
.close .consent a { color: #fff; }
.close .consent input { accent-color: var(--cyan); }
.close .btn--primary { background: var(--cyan); color: #050f2e; }
.close .btn--primary:hover { background: color-mix(in srgb, var(--cyan) 70%, #fff); }
.close .status[data-state="ok"] { color: #fff; }
.close .status[data-state="error"] { color: #ffe1de; }
.close :focus-visible { outline-color: #fff; }
.close ::selection { background: #fff; color: #0a2fa8; }

/* footer */
.foot { border-top: 1px solid var(--line); background: var(--panel); }
.foot .wrap { display: grid; grid-template-columns: 1fr auto; gap: 18px 32px; padding-block: 44px 52px; }
.foot__brand { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.foot__tag { font-size: 14px; color: var(--ink-3); }
.foot nav { display: flex; flex-wrap: wrap; gap: 20px; }
.foot nav a { font-size: 14px; color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--line-strong); }
.foot nav a:hover { color: var(--ink); text-decoration-color: currentColor; }
.foot .mini { grid-column: 1 / -1; }

/* legal pages */
.legal { padding-block: clamp(48px, 8vw, 96px); }
.legal .wrap { max-width: 760px; display: grid; gap: 18px; }
.legal h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); font-stretch: 66%; font-weight: 820; line-height: 0.95; letter-spacing: -0.02em; }
.legal h2 { margin-top: 18px; font-size: 24px; font-stretch: 78%; font-weight: 740; }
.legal p { color: var(--ink-2); }

/* ── Narrow ───────────────────────────────────────── */
@media (max-width: 1080px) {
  .hero, .platform, .factory-grid, .waitlist, .close .wrap { grid-template-columns: 1fr; }
  .hero > div:first-child { max-width: 640px; }
  .nav { display: none; }
  .lang { margin-left: auto; }
}
@media (max-width: 720px) {
  .top .btn { display: none; }
  .graph { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
  .tile + .tile::before { display: none; }
  .run__bottom { grid-template-columns: 1fr; }
  .verdict { min-height: 150px; }
  .caps { grid-template-columns: 1fr; }
  .kernel-fig { display: none; }
  .course { grid-template-columns: 1fr; }
  .phases td:last-child, .phases th:last-child { display: none; }
  .phases td:nth-child(2) { width: auto; }
  .form .row { flex-direction: column; }
  .form .row .input { flex: none; width: 100%; }
  .form .btn { width: 100%; }
  .foot .wrap { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}
.sprite { position: absolute; overflow: hidden; }
