/* =========================================================
   Tanotech — feuille de style
   ========================================================= */

:root {
  /* Couleurs de marque (logo TANO : bleu marine + rouge) */
  --navy-950: #050c1c;
  --navy-900: #081430;
  --navy-800: #0f1f45;
  --navy-700: #1a2d5c;
  --blue-600: #1d44a8;
  --blue-500: #2b5cd8;
  --blue-300: #9dbbff;
  --blue-100: #e8eefc;
  --red-600: #c8102e;
  --red-400: #ff5c78;
  --teal-300: #7cf3d8;

  --ink: #0c1630;
  --muted: #4b5774;
  --line: #dfe4ee;
  --tint: #f4f6fb;
  --white: #fff;

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Manrope", "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px #0c16300d, 0 12px 32px -12px #0c163026;
  --mast-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--mast-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--white);
  font: 400 16px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-head); margin: 0; letter-spacing: -.03em; line-height: 1.1; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--red-400); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--blue-300); color: var(--navy-950); }

.wrap { width: min(1240px, 100% - 48px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 600;
  transition: top .2s;
}
.skip:focus { top: 16px; }

/* ---------- Éléments communs ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font: 500 12px/1.4 var(--font-mono); letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--red-600); }
.eyebrow--light { color: #b9c9e6; }
.eyebrow--light::before { background: var(--red-400); }
.dot { color: var(--red-600); }
.section--dark .dot, .hero .dot { color: var(--red-400); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border: 0; border-radius: 999px;
  background: var(--blue-600); color: var(--white);
  font-weight: 600; font-size: 15px; white-space: nowrap;
  transition: background .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn:hover { background: var(--blue-500); transform: translateY(-1px); box-shadow: 0 8px 20px -8px #1d44a880; }
.btn span { transition: transform .2s var(--ease); }
.btn:hover span { transform: translateX(3px); }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: 14px; }
.btn--light { background: var(--white); color: var(--navy-900); }
.btn--light:hover { background: var(--blue-100); box-shadow: 0 8px 24px -8px #9dbbff80; }
.btn--ghost { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1px #ffffff40; }
.btn--ghost:hover { background: #ffffff12; box-shadow: inset 0 0 0 1px #ffffff80; }
.btn--outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn--outline:hover { background: var(--tint); box-shadow: inset 0 0 0 1px #c3cbdb; }
.btn--block { width: 100%; }
.btn:disabled { opacity: .45; pointer-events: none; }

.link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--blue-600); font-weight: 600; font-size: 15px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .25s var(--ease);
}
.link:hover { background-size: 100% 1px; }
.link span { transition: transform .2s var(--ease); }
.link:hover span { transform: translateX(3px); }

.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; color: var(--muted); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--blue-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.2 2.3 2.3 4.7-5' fill='none' stroke='%231d44a8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.ticks--accent li::before {
  background-color: #fde8ec;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.2 2.3 2.3 4.7-5' fill='none' stroke='%23c8102e' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* ---------- En-tête ---------- */
.mast {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--mast-h);
  color: var(--white);
  transition: background .3s, color .3s, box-shadow .3s, height .3s;
}
.mast.is-solid {
  background: #ffffffe6; color: var(--ink);
  -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.progress {
  position: absolute; left: 0; right: 0; bottom: 0; height: 2px; transform-origin: left; transform: scaleX(0);
  background: linear-gradient(90deg, var(--blue-500), var(--red-600)); pointer-events: none;
}
.mast:not(.is-solid) .progress { opacity: 0; }
.mast__inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { position: relative; width: 132px; flex: none; }
.brand img { width: 100%; height: auto; transition: opacity .3s; }
.brand__dark { position: absolute; inset: 0; opacity: 0; }
.mast.is-solid .brand__light { opacity: 0; }
.mast.is-solid .brand__dark { opacity: 1; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  position: relative; padding: 8px 14px; border-radius: 999px;
  font-size: 14.5px; font-weight: 500; opacity: .82; transition: opacity .2s, background .2s;
}
.nav a:hover { opacity: 1; background: #ffffff14; }
.mast.is-solid .nav a:hover { background: var(--tint); }
.nav a.is-current { opacity: 1; }
.nav a.is-current::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; width: 5px; height: 5px; margin-left: -2.5px;
  border-radius: 50%; background: var(--red-400);
}
.mast.is-solid .nav a.is-current::after { background: var(--red-600); }
.nav__cta { display: none; }
.mast:not(.is-solid) .mast__cta { background: var(--white); color: var(--navy-900); }

.menu {
  display: none; width: 44px; height: 44px; margin-left: auto; border: 0; border-radius: 12px;
  background: #ffffff14; position: relative;
}
.mast.is-solid .menu { background: var(--tint); }
.menu span {
  position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.menu span:first-child { top: 17px; }
.menu span:last-child { top: 25px; }
.menu[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  background:
    radial-gradient(ellipse 60% 70% at 78% 45%, #15306a 0%, transparent 65%),
    radial-gradient(ellipse 40% 50% at 10% 100%, #3a0f2a66 0%, transparent 70%),
    var(--navy-950);
  padding: calc(var(--mast-h) + 56px) 0 96px;
  min-height: min(100svh, 980px);
  display: flex; align-items: center;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(#9dbbff26 .8px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%);
}
.hero__grid {
  position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 80px); align-items: center;
}
.hero h1 {
  font-size: clamp(48px, 6.4vw, 96px); font-weight: 800; letter-spacing: -.055em; line-height: .98;
  margin: 24px 0 26px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, #9dbbff 10%, #c6d6ff 45%, #ff8aa0 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lead { max-width: 520px; color: #c7d4ec; font-size: clamp(16px, 1.3vw, 18.5px); line-height: 1.65; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__proof { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 10px; }
.hero__proof li { display: flex; align-items: center; gap: 12px; color: #aebfdf; font-size: 14.5px; }
.hero__proof li::before {
  content: ""; width: 8px; height: 8px; border-radius: 2px; transform: rotate(45deg);
  background: var(--red-400); box-shadow: 0 0 12px #ff5c7880; flex: none;
}

.inference {
  margin: 0; padding: 22px 22px 18px;
  border: 1px solid #ffffff17; border-radius: 22px;
  background: linear-gradient(160deg, #0d1d42cc, #071230cc);
  box-shadow: 0 40px 80px -30px #000c, inset 0 1px 0 #ffffff12;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.inference__head {
  display: flex; align-items: center; gap: 10px;
  font: 500 11.5px/1.4 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: #a9bddf;
}
.live { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--teal-300); flex: none; }
.live::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--teal-300);
  animation: ping 2s var(--ease) infinite;
}
@keyframes ping { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }
#neurons { width: 100%; aspect-ratio: 1.9; margin: 14px 0 8px; }

.inference__result {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 20px;
  padding: 14px 0; border-top: 1px solid #ffffff14;
}
.verdict { display: grid; grid-template-columns: auto auto; align-items: baseline; column-gap: 12px; }
.verdict__label { grid-column: 1 / -1; font-size: 13px; color: #9fb2d4; margin-bottom: 2px; }
.verdict__digit {
  font: 800 44px/1 var(--font-head); color: var(--teal-300);
  text-shadow: 0 0 24px #7cf3d866; min-width: 1ch;
}
.verdict__score { font: 500 13px var(--font-mono); color: #c7d4ec; }
.probs { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; height: 64px; align-items: flex-end; }
.probs li { width: 18px; display: flex; flex-direction: column; align-items: center; gap: 4px; height: 100%; justify-content: flex-end; }
.probs i {
  display: block; width: 100%; border-radius: 3px 3px 1px 1px; background: #345484;
  height: max(3px, calc(var(--p, 0) * 44px)); transition: height .5s var(--ease), background .3s;
}
.probs li.is-top i { background: linear-gradient(var(--teal-300), #3fb8a3); box-shadow: 0 0 14px #7cf3d855; }
.probs span { font: 500 11px/1 var(--font-mono); color: #8197bd; }
.probs li.is-top span { color: var(--teal-300); }

.inference__commands { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 16px;
  border-radius: 999px; border: 1px solid #ffffff26; background: #ffffff0d; color: #eaf1ff;
  font-size: 14px; font-weight: 500; transition: background .2s, border-color .2s;
}
.chip:hover { background: #ffffff1c; border-color: #ffffff4d; }
.chip--accent { border-color: #7cf3d859; color: var(--teal-300); }
.chip--accent:hover { background: #7cf3d814; border-color: var(--teal-300); }
.chip:disabled { opacity: .4; pointer-events: none; }
.inference figcaption { margin-top: 14px; font-size: 12.5px; color: #8599be; }
.inference__status:not(:empty) { margin-top: 8px; color: var(--red-400); font-size: 13px; }

.scrollcue {
  position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; margin-left: -13px;
  border: 1.5px solid #ffffff40; border-radius: 14px;
}
.scrollcue span {
  position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px;
  background: #ffffffb0; animation: cue 1.8s var(--ease) infinite;
}
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 9vw, 128px) 0; }
.section--tint { background: var(--tint); }
.section--dark {
  color: var(--white);
  background:
    radial-gradient(ellipse 50% 60% at 90% 0%, #18336f 0%, transparent 70%),
    var(--navy-900);
}
.section__head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section__head h2 { font-size: clamp(34px, 4.2vw, 58px); font-weight: 800; letter-spacing: -.045em; margin: 18px 0 18px; }
.section__lead { color: var(--muted); font-size: clamp(16px, 1.3vw, 18.5px); max-width: 620px; }
.section--dark .section__lead { color: #b9c7e2; }
.section--dark .link { color: var(--blue-300); }

/* ---------- Enjeux ---------- */
.topics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.topic {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  padding: 28px 24px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white);
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.topic::after {
  content: ""; position: absolute; left: 24px; right: 24px; top: -1px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--blue-600), var(--red-600));
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.topic:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cfd7e6; }
.topic:hover::after { transform: scaleX(1); }
.topic__icon, .panel__icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--blue-100); margin-bottom: 6px;
}
.topic__icon svg, .panel__icon svg {
  width: 26px; fill: none; stroke: var(--blue-600); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.topic h3 { font-size: 21px; }
.topic > p { color: var(--muted); font-size: 15px; }
.topic__deliverable {
  margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line);
  font-size: 14px; color: var(--ink);
}
.topic__deliverable span {
  display: block; margin-bottom: 4px;
  font: 500 11px/1.4 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--red-600);
}
.topic .link { font-size: 14px; }

/* ---------- Expertises (onglets) ---------- */
.tabs {
  display: grid; grid-template-columns: 280px 1fr; gap: 0;
  background: var(--white); border: 1px solid var(--line); border-radius: 22px; overflow: hidden;
  box-shadow: var(--shadow);
}
.tabs__list { display: flex; flex-direction: column; padding: 14px; gap: 4px; background: #fafbfe; border-right: 1px solid var(--line); }
.tabs__list button {
  display: flex; align-items: center; gap: 14px; text-align: left;
  padding: 18px 18px; border: 0; border-radius: 12px; background: none;
  font: 700 17px/1.2 var(--font-head); color: var(--muted); letter-spacing: -.02em;
  transition: background .2s, color .2s;
}
.tabs__list button:hover { color: var(--ink); background: var(--tint); }
.tabs__list button[aria-selected="true"] { color: var(--ink); background: var(--white); box-shadow: 0 1px 3px #0c16301a, 0 0 0 1px var(--line); }
.tabs__num { font: 500 12px var(--font-mono); color: #9aa5bd; letter-spacing: .05em; }
.tabs__list button[aria-selected="true"] .tabs__num { color: var(--red-600); }
.tabs__panel {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px);
  padding: clamp(28px, 4vw, 48px);
  animation: fadeUp .45s var(--ease);
}
.tabs__panel[hidden] { display: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.panel__intro h3 { font-size: clamp(26px, 2.4vw, 34px); font-weight: 800; margin: 14px 0 14px; }
.panel__intro p { color: var(--muted); margin-bottom: 28px; }
.panel__lists { display: grid; gap: 30px; align-content: start; }
.panel__lists h4 {
  font: 500 12px/1.4 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink);
  margin-bottom: 14px;
}

/* ---------- Laboratoire ---------- */
.demo {
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 4vw, 56px);
  padding: clamp(24px, 3.5vw, 44px);
  border: 1px solid #ffffff17; border-radius: 24px;
  background: linear-gradient(155deg, #12285a99, #0a1838cc);
  box-shadow: inset 0 1px 0 #ffffff10;
}
.demo + .demo { margin-top: 24px; }
.demo__tag { font: 500 12px/1.4 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--teal-300); }
.demo h3 { font-size: clamp(24px, 2.3vw, 32px); font-weight: 800; margin: 12px 0 12px; }
.demo__side > p { color: #b9c7e2; }
.demo__side strong { color: var(--white); }
.controls { display: grid; gap: 22px; margin-top: 30px; }
.range { display: grid; gap: 10px; }
.range__top { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; color: #d5e0f5; }
.range output { font: 500 14px var(--font-mono); color: var(--white); white-space: nowrap; }
.range input {
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; margin: 0;
  background: linear-gradient(90deg, var(--blue-300) var(--fill, 50%), #ffffff1f var(--fill, 50%));
  cursor: pointer;
}
.range input::-webkit-slider-thumb {
  -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--white); border: 0; box-shadow: 0 0 0 5px #9dbbff40, 0 2px 6px #0008;
  transition: box-shadow .2s;
}
.range input:hover::-webkit-slider-thumb, .range input:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 8px #9dbbff4d, 0 2px 6px #0008; }
.range input::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--white); border: 0; box-shadow: 0 0 0 5px #9dbbff40; }
.range input:focus-visible { outline-offset: 8px; }

.demo__board {
  display: flex; flex-direction: column; gap: 22px;
  padding: clamp(20px, 2.5vw, 30px); border-radius: 18px; background: #050d22b3; border: 1px solid #ffffff12;
}
.demo__note { margin-top: auto; font-size: 12.5px; color: #8094ba; }

/* Score */
.score { display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); flex-wrap: wrap; }
.gauge { position: relative; width: 220px; flex: none; }
.gauge svg { width: 100%; overflow: visible; }
.gauge path { fill: none; stroke-width: 10; stroke-linecap: round; }
.gauge__track { stroke: #ffffff17; }
.gauge__fill {
  stroke: var(--gauge-color, var(--teal-300)); stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--v) * 100);
  transition: stroke-dashoffset .6s var(--ease), stroke .4s;
  filter: drop-shadow(0 0 6px var(--gauge-color, var(--teal-300)));
}
.gauge__value { position: absolute; left: 0; right: 0; bottom: 0; text-align: center; }
.gauge__value b { display: block; font: 800 38px/1 var(--font-head); letter-spacing: -.03em; }
.gauge__value span { font-size: 12px; color: #9fb2d4; }
.score__meta { display: grid; gap: 16px; }
.score__meta span { display: block; font: 500 11px/1.4 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: #8ea2c7; }
.score__meta b { font: 700 22px/1.3 var(--font-head); }
.decision { display: inline-block; padding: 2px 12px; border-radius: 999px; font-size: 16px !important; margin-top: 4px; }
.decision.is-ok { background: #7cf3d81f; color: var(--teal-300); }
.decision.is-mid { background: #ffc85c1f; color: #ffd27a; }
.decision.is-ko { background: #ff5c781f; color: var(--red-400); }

.factors__title { font-size: 14px; color: #c7d4ec; margin-bottom: 14px; }
.factors ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.factor { display: grid; grid-template-columns: 170px 1fr 56px; align-items: center; gap: 14px; font-size: 14px; color: #d5e0f5; }
.factor__track { position: relative; height: 10px; border-radius: 5px; background: #ffffff0d; }
.factor__track::before { content: ""; position: absolute; left: 50%; top: -4px; bottom: -4px; width: 1px; background: #ffffff33; }
.factor__bar {
  position: absolute; top: 0; bottom: 0; border-radius: 5px;
  transition: left .5s var(--ease), width .5s var(--ease), background .3s;
}
.factor__bar.up { background: linear-gradient(90deg, #ff5c7899, var(--red-400)); }
.factor__bar.down { background: linear-gradient(270deg, #7cf3d899, var(--teal-300)); }
.factor__val { font: 500 12.5px var(--font-mono); text-align: right; color: #aebfdf; }
.factors__legend { display: flex; gap: 20px; margin-top: 14px; font-size: 12.5px; color: #8ea2c7; }
.factors__legend span { display: inline-flex; align-items: center; gap: 8px; }
.factors__legend span::before { content: ""; width: 10px; height: 10px; border-radius: 3px; }
.factors__legend .up::before { background: var(--red-400); }
.factors__legend .down::before { background: var(--teal-300); }

/* Relance */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 30px 0 0; }
.stats div { padding: 14px; border-radius: 12px; background: #ffffff0a; border: 1px solid #ffffff12; }
.stats dt { font-size: 12px; color: #9fb2d4; line-height: 1.35; }
.stats dd { margin: 6px 0 0; font: 800 22px/1.1 var(--font-head); letter-spacing: -.02em; }
.scatter { width: 100%; height: auto; overflow: visible; }
.scatter .grid line { stroke: #ffffff12; }
.scatter .axis text { fill: #8ea2c7; font: 11px var(--font-mono); }
.scatter .axis-title { fill: #aebfdf; font: 500 12px var(--font-body); }
.scatter .zone { fill: #ff5c7814; stroke: #ff5c7880; stroke-dasharray: 4 4; transition: all .35s var(--ease); }
.scatter circle { transition: fill .3s, r .3s, opacity .3s; }
.scatter circle.out { fill: #5a76a8; opacity: .55; }
.scatter circle.in { fill: var(--red-400); opacity: 1; filter: drop-shadow(0 0 4px #ff5c78aa); }

/* ---------- Formats ---------- */
.offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.offer {
  display: flex; flex-direction: column; gap: 14px;
  padding: 32px 28px 28px; border-radius: 20px; border: 1px solid var(--line); background: var(--white);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.offer:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.offer__tag { font: 500 11.5px/1.4 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--red-600); }
.offer h3 { font-size: 26px; font-weight: 800; }
.offer > p:not(.offer__tag) { color: var(--muted); }
.offer .ticks { margin: 8px 0 18px; font-size: 15px; }
.offer .link { margin-top: auto; }
.offer--featured {
  color: var(--white); border-color: transparent;
  background: radial-gradient(ellipse at 100% 0%, #2b5cd8 0%, transparent 60%), var(--navy-800);
}
.offer--featured .offer__tag { color: var(--red-400); }
.offer--featured > p:not(.offer__tag), .offer--featured .ticks li { color: #c7d4ec; }
.offer--featured .ticks li::before { background-color: #ffffff1a; filter: brightness(2.2) saturate(.6); }
.offer--featured .link { color: var(--white); }

/* ---------- Approche ---------- */
.steps {
  list-style: none; margin: 0; padding: 0; position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.steps::before {
  content: ""; position: absolute; top: 23px; left: 24px; right: 24px; height: 2px;
  background: linear-gradient(90deg, var(--blue-600), var(--red-600)); opacity: .25;
}
.step { position: relative; display: flex; flex-direction: column; gap: 12px; }
.step__num {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--blue-600); color: var(--blue-600);
  font: 700 14px var(--font-mono); margin-bottom: 10px; position: relative;
}
.step:last-child .step__num { border-color: var(--red-600); color: var(--red-600); }
.step h3 { font-size: 21px; }
.step > p { color: var(--muted); font-size: 15px; }
.step__q {
  margin-top: auto; padding: 14px 16px; border-radius: 12px; background: var(--white); border: 1px solid var(--line);
  font-weight: 600; font-size: 14.5px;
}
.step__q span { display: block; font: 500 10.5px/1.4 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }

.principles {
  margin-top: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #d3daea;
}
.principle { padding: 28px 24px 0 0; }
.principle + .principle { padding-left: 24px; border-left: 1px solid #d3daea; }
.principle h3 { font-size: 19px; display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.principle h3::before { content: ""; width: 8px; height: 8px; transform: rotate(45deg); background: var(--red-600); border-radius: 2px; }
.principle p { color: var(--muted); font-size: 15px; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq .section__head { position: sticky; top: calc(var(--mast-h) + 32px); margin-bottom: 0; }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0; font: 700 clamp(17px, 1.5vw, 20px)/1.35 var(--font-head); letter-spacing: -.02em;
  transition: color .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--blue-600); }
.faq summary::after {
  content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%;
  background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3v10M3 8h10' stroke='%230c1630' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .3s var(--ease), background-color .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--blue-100); }
.faq details p { padding: 0 56px 26px 0; color: var(--muted); }
.faq details[open] p { animation: fadeUp .35s var(--ease); }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.callcard {
  display: inline-flex; align-items: center; gap: 16px; margin-top: 36px;
  padding: 16px 24px 16px 16px; border-radius: 18px; background: #ffffff0d; border: 1px solid #ffffff1f;
  transition: background .2s, border-color .2s, transform .2s var(--ease);
}
.callcard:hover { background: #ffffff17; border-color: #ffffff40; transform: translateY(-2px); }
.callcard__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--red-600); }
.callcard__icon svg { width: 22px; fill: none; stroke: var(--white); stroke-width: 1.8; stroke-linejoin: round; }
.callcard small { display: block; font-size: 13px; color: #9fb2d4; }
.callcard b { font: 800 22px/1.2 var(--font-head); letter-spacing: -.01em; }
.contact__points { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 10px; }
.contact__points li { display: flex; align-items: center; gap: 12px; color: #c7d4ec; }
.contact__points li::before { content: ""; width: 8px; height: 8px; transform: rotate(45deg); background: var(--red-400); border-radius: 2px; }

.form {
  display: grid; gap: 18px; padding: clamp(24px, 3vw, 36px); border-radius: 24px;
  background: #ffffff0a; border: 1px solid #ffffff1a;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field > span, .field legend { font-size: 13.5px; font-weight: 500; color: #c7d4ec; padding: 0; margin-bottom: 8px; }
.field > span { margin-bottom: 0; }
.field input, .field textarea {
  width: 100%; padding: 13px 16px; border-radius: 12px; border: 1px solid #ffffff26; background: #050d2299;
  color: var(--white); transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: #6f84ab; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue-300); box-shadow: 0 0 0 4px #9dbbff26; }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--red-400); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills label { position: relative; }
.pills input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pills span {
  display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1px solid #ffffff26;
  font-size: 14px; color: #c7d4ec; transition: all .2s;
}
.pills input:checked + span { background: var(--white); color: var(--navy-900); border-color: var(--white); }
.pills input:focus-visible + span { outline: 3px solid var(--red-400); outline-offset: 2px; }
.pills label:hover span { border-color: #ffffff66; }
.form__note { font-size: 12.5px; color: #8ea2c7; text-align: center; }
.form__note.is-error { color: var(--red-400); }

/* ---------- Pied de page ---------- */
.footer { background: var(--navy-950); color: #aebfdf; padding: 72px 0 28px; font-size: 14.5px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer__brand img { width: 140px; height: auto; filter: brightness(0) invert(1); opacity: .9; margin-bottom: 18px; }
.footer__brand p { max-width: 320px; }
.footer h2 { font: 500 11.5px/1.4 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--white); margin-bottom: 16px; }
.footer nav, .footer__grid > div:last-child { display: grid; gap: 10px; align-content: start; }
.footer a:hover { color: var(--white); }
.footer__bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 56px; padding-top: 24px; border-top: 1px solid #ffffff14; font-size: 13px; color: #7d90b5;
}

/* ---------- Fenêtre de dessin ---------- */
dialog {
  border: 0; border-radius: 24px; padding: 36px; width: min(440px, calc(100vw - 32px));
  color: var(--ink); box-shadow: 0 40px 100px -20px #000a; text-align: center;
}
dialog[open] { animation: pop .35s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
dialog::backdrop { background: #050c1cb3; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
dialog .eyebrow { justify-content: center; }
dialog h2 { font-size: 30px; font-weight: 800; margin: 12px 0 10px; }
dialog > p { color: var(--muted); font-size: 15px; }
.dialog__close {
  position: absolute; right: 14px; top: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0;
  background: var(--tint); font-size: 22px; line-height: 1; color: var(--ink);
}
.dialog__close:hover { background: var(--line); }
#pad {
  width: 220px; height: 220px; margin: 22px auto 0; border-radius: 18px; background: var(--navy-900);
  touch-action: none; cursor: crosshair; box-shadow: inset 0 0 0 1px #ffffff14, 0 12px 30px -12px #050c1c99;
}
.pad__guess { margin-top: 14px; font: 500 14px var(--font-mono); color: var(--muted); min-height: 1.6em; }
.pad__guess b { color: var(--blue-600); font-size: 18px; }
.dialog__actions { display: flex; justify-content: center; gap: 10px; margin-top: 18px; }

/* ---------- Intro 3D (WebGL, pilotée par le défilement) ---------- */
.intro, .intro-spacer { display: none; }
.js .intro { display: block; }
/* Durée de l'intro = hauteur de défilement : ~2,2 écrans au total (≈ un demi-écran par étape) */
.js .intro-spacer { display: block; height: 220vh; height: 220svh; background: var(--navy-950); }
@media (max-width: 640px) { .js .intro-spacer { height: 170vh; height: 170svh; } }
.intro {
  position: fixed; inset: 0; z-index: 60; overflow: hidden; color: var(--white); background: var(--navy-950);
  touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none;
}
.intro.is-dragging { cursor: grabbing; }
.intro__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Écran de chargement */
.intro__loader {
  position: absolute; inset: 0; z-index: 8; display: grid; place-content: center; justify-items: center; gap: 26px;
  background: var(--navy-950); transition: opacity 1s var(--ease) .15s, visibility 0s 1.2s;
}
.intro.is-ready .intro__loader { opacity: 0; visibility: hidden; }
.intro__loader img { width: 140px; height: auto; opacity: .92; }
.intro__count {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font: 500 11px/1 var(--font-mono); letter-spacing: .22em; text-transform: uppercase; color: #7f93bb;
}
.intro__count b {
  font: 300 clamp(64px, 10vw, 132px)/.9 var(--font-head); letter-spacing: -.05em; color: #fff;
  font-variant-numeric: tabular-nums;
}
.intro__bar { width: min(260px, 60vw); height: 1px; background: #ffffff1f; overflow: hidden; }
.intro__bar i {
  display: block; height: 100%; transform-origin: left; transform: scaleX(var(--load, 0));
  background: linear-gradient(90deg, var(--blue-300), var(--red-400));
}

/* Habillage (apparaît après le chargement) */
.intro__chrome { position: absolute; inset: 0; z-index: 5; pointer-events: none; opacity: 0; transition: opacity 1.4s var(--ease) .6s; }
.intro.is-ready .intro__chrome { opacity: 1; }
.intro__top {
  position: absolute; z-index: 9; pointer-events: none; top: 0; left: 0; right: 0; height: var(--mast-h);
  width: min(1240px, 100% - 48px); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between;
}
.intro__top img { width: 132px; height: auto; transition: opacity 1s var(--ease) .4s; }
.intro__sound { transition: opacity 1s var(--ease) .4s, background .2s, border-color .2s; }
.intro:not(.is-ready) .intro__top img, .intro:not(.is-ready) .intro__sound { opacity: 0; }
.intro__btn--go { background: #fff; border-color: #fff; color: var(--navy-950); font-weight: 600; }
.intro__btn--go span { transition: transform .25s var(--ease); }
.intro__btn--go:hover { background: var(--blue-100); border-color: var(--blue-100); }
.intro__btn--go:hover span { transform: translateX(3px); }
.intro__tools { display: flex; gap: 10px; }
.intro__btn {
  display: inline-flex; align-items: center; gap: 10px; pointer-events: auto;
  border: 1px solid #ffffff2e; background: #050c1c80; color: #dce6fb; border-radius: 999px;
  padding: 9px 18px; font-size: 14px; font-weight: 500; transition: background .2s, border-color .2s;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.intro__btn:hover { background: #ffffff1c; border-color: #ffffff59; }
.intro__eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.intro__eq i { width: 2px; height: 3px; border-radius: 1px; background: currentColor; transition: height .3s; }
.intro__sound.is-on .intro__eq i { animation: eq 1s ease-in-out infinite alternate; }
.intro__sound.is-on .intro__eq i:nth-child(2) { animation-delay: -.3s; }
.intro__sound.is-on .intro__eq i:nth-child(3) { animation-delay: -.6s; }
.intro__sound.is-on .intro__eq i:nth-child(4) { animation-delay: -.15s; }
.intro__sound.is-on { border-color: #ff5c7880; }
@keyframes eq { from { height: 3px; } to { height: 12px; } }

/* Récit : les phrases apparaissent mot à mot */
.intro__says { position: absolute; inset: 0; }
.intro__say {
  position: absolute; left: max(24px, calc((100% - 1240px) / 2)); bottom: clamp(110px, 19vh, 210px);
  max-width: 13ch; margin: 0; color: #f2f6ff; text-wrap: balance;
  font: 600 clamp(32px, 4.4vw, 68px)/1.04 var(--font-head); letter-spacing: -.045em;
}
.intro__say .w { display: inline-block; opacity: 0; will-change: transform, opacity, filter; }
.intro__say--title {
  left: 0; right: 0; max-width: none; padding: 0 20px; text-align: center; bottom: clamp(70px, 12vh, 130px);
  font-size: clamp(42px, 7.6vw, 122px); font-weight: 800; letter-spacing: -.055em;
}
.intro__say em { font-style: normal; }
.intro__say em .w {
  background: linear-gradient(100deg, #c6d6ff 0%, #ff8aa0 70%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Instruments de bord */
.intro__hud {
  position: absolute; left: max(24px, calc((100% - 1240px) / 2)); bottom: clamp(24px, 4vh, 40px);
  display: flex; gap: 26px; font: 500 12px/1 var(--font-mono); letter-spacing: .04em; color: #8ea2c7;
}
.intro__hud i { font-style: italic; color: #5d71a0; margin-right: 8px; }
.intro__hud b { color: #e6eeff; font-weight: 500; font-variant-numeric: tabular-nums; }
.intro__hud em { font-style: normal; color: var(--red-400); margin-left: 8px; }

/* Chapitres cliquables */
.intro__rail {
  position: absolute; right: max(20px, calc((100% - 1240px) / 2)); top: 50%; transform: translateY(-50%);
  list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; align-items: flex-end; gap: 16px;
}
.intro__rail button {
  pointer-events: auto; display: flex; align-items: center; gap: 12px; padding: 4px 0;
  border: 0; background: none; color: #62779f; transition: color .3s;
  font: 500 11px/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase;
}
.intro__rail button::after { content: ""; width: 16px; height: 1px; background: currentColor; transition: width .45s var(--ease), background .3s; }
.intro__rail button span { color: #3f5482; transition: color .3s; }
.intro__rail button:hover, .intro__rail button.is-active { color: #fff; }
.intro__rail button.is-active span { color: var(--red-400); }
.intro__rail button.is-active::after { width: 44px; background: var(--red-400); }

/* Aide aux interactions : en bas à droite, sur la même ligne que les instruments */
.intro__bottom { position: absolute; right: max(24px, calc((100% - 1240px) / 2)); bottom: clamp(24px, 4vh, 40px); }
.intro__hint { font: 500 12px/1 var(--font-mono); letter-spacing: .04em; color: #6c80a8; }
.intro__hint--touch { display: none; }
@media (hover: none) { .intro__hint--mouse { display: none; } .intro__hint--touch { display: inline; } }

/* Pendant l'intro : en-tête masqué, entrée du hero mise en pause */
.js .mast { opacity: clamp(0, calc((var(--intro, 1) - .55) * 2.3), 1); }
.intro-on .mast { pointer-events: none; }
.intro-active .hero .eyebrow, .intro-active .hero h1, .intro-active .hero__lead,
.intro-active .hero__actions, .intro-active .hero__proof, .intro-active .inference { animation-play-state: paused; }

@media (max-width: 900px) {
  .intro__rail, .intro__bottom { display: none; }
}
@media (max-width: 640px) {
  .intro__top { width: calc(100% - 36px); }
  .intro__top img { width: 104px; }
  .intro__tools { gap: 6px; }
  .intro__btn { padding: 7px 12px; font-size: 12.5px; gap: 7px; }
  /* Sur petit écran, le bouton son se réduit à son icône pour laisser la place à « Accéder au site » */
  .intro__sound [data-sound-label] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .intro__sound { padding: 7px 11px; }
  .intro__say { left: 20px; right: 20px; max-width: none; bottom: 96px; font-size: clamp(28px, 8.4vw, 38px); }
  .intro__say--title { left: 0; right: 0; bottom: 92px; font-size: clamp(40px, 12.5vw, 60px); }
  .intro__hud { left: 20px; right: 20px; bottom: 26px; gap: 14px; font-size: 10.5px; }
  .intro__hud em { display: none; }
}

/* ---------- Halo qui suit le pointeur ---------- */
.spot { position: relative; isolation: isolate; }
.spot::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), #2b5cd81a, transparent 60%);
  opacity: 0; transition: opacity .35s;
}
.spot:hover::before { opacity: 1; }
.section--dark .spot::before, .hero .spot::before, .offer--featured.spot::before {
  background: radial-gradient(460px circle at var(--mx, 50%) var(--my, 50%), #9dbbff21, transparent 60%);
}

/* ---------- Entrée animée du hero ---------- */
.hero .eyebrow, .hero h1, .hero__lead, .hero__actions, .hero__proof, .inference {
  animation: heroIn 1s var(--ease) both;
}
.hero h1 { animation-delay: .08s; }
.hero__lead { animation-delay: .18s; }
.hero__actions { animation-delay: .28s; }
.hero__proof { animation-delay: .38s; }
.inference { animation: heroPanel 1.2s var(--ease) .2s both; }
@keyframes heroIn { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes heroPanel { from { opacity: 0; transform: translateY(36px) scale(.97); } to { opacity: 1; transform: none; } }

/* ---------- Apparition au défilement ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .topics { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps::before { display: none; }
  .principles { grid-template-columns: repeat(2, 1fr); }
  .principle:nth-child(3) { padding-left: 0; border-left: 0; }
  .demo { grid-template-columns: minmax(0, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .nav, .mast__cta { display: none; }
  .menu { display: block; }
  .nav.is-open {
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    position: absolute; top: calc(var(--mast-h) - 6px); left: 16px; right: 16px;
    padding: 10px; border-radius: 20px; background: var(--white); color: var(--ink);
    box-shadow: 0 24px 48px -12px #050c1c66; animation: fadeUp .3s var(--ease);
  }
  .nav.is-open a { opacity: 1; padding: 14px 16px; font-size: 16px; }
  .nav.is-open a:hover { background: var(--tint); }
  .nav.is-open a.is-current::after { left: auto; right: 16px; top: 50%; bottom: auto; margin-top: -2.5px; background: var(--red-600); }
  .nav.is-open .nav__cta {
    display: block; margin-top: 6px; text-align: center; background: var(--blue-600); color: var(--white); font-weight: 600;
  }
  .nav.is-open .nav__cta:hover { background: var(--blue-500); }

  .hero { min-height: 0; padding-bottom: 72px; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__proof { display: none; }
  .scrollcue { display: none; }
  .tabs { grid-template-columns: minmax(0, 1fr); }
  .tabs__list { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); scrollbar-width: none; }
  .tabs__list button { flex: none; padding: 12px 16px; font-size: 15px; }
  .tabs__panel { grid-template-columns: minmax(0, 1fr); }
  .offers { grid-template-columns: 1fr; }
  .faq { grid-template-columns: minmax(0, 1fr); }
  .faq .section__head { position: static; }
  .contact__grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  :root { --mast-h: 64px; }
  .wrap { width: calc(100% - 36px); }
  .brand { width: 112px; }
  .hero { padding-top: calc(var(--mast-h) + 36px); }
  .hero h1 { font-size: clamp(44px, 13vw, 60px); }
  .hero__actions .btn { flex: 1 1 auto; }
  .inference { padding: 16px 14px 14px; border-radius: 18px; }
  #neurons { aspect-ratio: 1.45; }
  .inference__result { flex-direction: column; align-items: stretch; gap: 14px; }
  .probs { justify-content: space-between; height: 56px; }
  .probs li { flex: 1; width: auto; max-width: 22px; }
  .topics { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .principles { grid-template-columns: 1fr; }
  .principle, .principle + .principle { padding: 22px 0 0; border-left: 0; }
  .score { justify-content: center; }
  .gauge { width: 190px; }
  .factor { grid-template-columns: 1fr 48px; row-gap: 6px; }
  .factor__track { grid-column: 1 / -1; grid-row: 2; }
  .stats { grid-template-columns: 1fr 1fr; }
  .scatter .axis text { font-size: 16px; }
  .scatter .axis-title { font-size: 16px; }
  .stats div:first-child { grid-column: 1 / -1; }
  .form__row { grid-template-columns: 1fr; }
  .faq details p { padding-right: 0; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .callcard b { font-size: 19px; }
  dialog { padding: 28px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .intro, .intro-spacer { display: none !important; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
