/* KyberNow, pages reprises de l'ancien site (Share, Technologie, Mentions légales) habillées comme la refonte.
   Reprend les classes de ces pages (page-hero, trajet, sim, points, compare, bento, profiles, share-*, doc…)
   sur les jetons de base.css : sombre par défaut, clair avec [data-theme="light"], mode « live » sur <html>. */

:root { --bad: #FF6B6B; --r-card: 18px; --gut: clamp(20px, 4vw, 56px); }
:root[data-theme="light"] { --bad: #C93A3A; }

/* ---------- Texte courant ---------- */
.ic-lg { width: 26px; height: 26px; flex: none; fill: var(--sig); }
.mono-label { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--mist); }
main b { color: var(--frost); font-weight: 600; }
main h3 { font-size: 19px; font-stretch: 112%; font-weight: 640; line-height: 1.25; letter-spacing: -.005em; }
:is(.lead, .footnote, .notice, .ticks, .card, .point, .faq, .doc-section, figcaption, .share-foot) a:not(.btn) {
  color: var(--frost); text-decoration: underline; text-decoration-color: var(--sline); text-underline-offset: 3px; text-decoration-thickness: 1px;
}
:is(.lead, .footnote, .notice, .ticks, .card, .point, .faq, .doc-section, figcaption, .share-foot) a:not(.btn):hover { text-decoration-color: var(--sig); }
.footnote { margin-top: 28px; max-width: 76ch; font-size: 13.5px; line-height: 1.6; color: var(--mist); }
.sechead .lead { margin: 0; }
.sechead { margin-bottom: 48px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.notice-links { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 18px; }
.notice-links a, .tech-more { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; font-weight: 600; font-size: 15px; color: var(--frost); text-decoration: none !important; }
.notice-links a .ic, .tech-more .ic { width: 16px; height: 16px; color: var(--sig); transition: transform .25s cubic-bezier(.2,.9,.1,1); }
.notice-links a:hover .ic, .tech-more:hover .ic { transform: translateX(3px); }
.tech-more { margin-top: 24px; }

/* Surfaces : cartes de la refonte (filet, fond relevé, grands rayons) */
.point, .card, .sim, .profiles, .compare, .doc-section, .share-angles .card {
  background: var(--ink1); border: 1px solid var(--line); border-radius: var(--r-card);
}
:root[data-theme="light"] :is(.point, .card, .sim, .profiles, .compare, .doc-section) { background: var(--ink2); }

/* ---------- Héros des pages ---------- */
.page-hero { position: relative; padding-block: 104px 88px; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(55% 90% at 88% -10%, var(--soft), transparent 70%); }
.page-hero .wrap { position: relative; display: grid; gap: 22px; justify-items: start; }
.page-hero h1 { font-size: clamp(46px, 5.6vw, 84px); max-width: 20ch; }
.page-hero .lead { max-width: 62ch; }
.quick { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 0; padding: 0; }
.quick a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px 0 7px; border-radius: 99px; border: 1px solid var(--line2); background: var(--ink1); color: var(--frost); text-decoration: none; font-weight: 600; font-size: 15px; transition: border-color .2s, background .2s; }
.quick a:hover { border-color: var(--sline); background: var(--soft); }
.quick span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--soft); color: var(--sig); font: 500 11.5px/1 var(--mono); }
.share-logo { margin: 0 0 4px; height: 40px; position: relative; }
.share-logo img { height: 40px; width: auto; max-width: 100%; display: block; }

/* ---------- Technologie · le trajet d'une image ---------- */
.trajet { border-top: 1px solid var(--line); padding-block: 120px; }
.trajet-head { display: grid; gap: 14px; max-width: 780px; }
.trajet-head h2 { font-size: clamp(34px, 4vw, 56px); }
.counter { margin-top: 44px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 14px; }
.counter-value { font-family: var(--font); font-stretch: 125%; font-weight: 300; font-size: clamp(84px, 12vw, 176px); line-height: .9; letter-spacing: -.04em; font-variant-numeric: tabular-nums; color: var(--frost); transition: color .3s, text-shadow .3s; }
.counter-unit { font: 400 clamp(20px, 2.2vw, 30px)/1 var(--mono); color: var(--mist); }
.counter-caption { flex-basis: 100%; margin-top: 14px; font-size: 15px; color: var(--frost2); min-height: 1.6em; }
.trajet.is-live .counter-value { color: var(--sig); }
:root:not([data-theme="light"]) .trajet.is-live .counter-value { color: #F4F1FF; text-shadow: 0 0 1px #F4F1FF, 0 0 10px rgba(154,140,255,.9), 0 0 34px rgba(109,91,255,.7); }
.stages { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.stages li { display: grid; gap: 4px; align-content: start; padding-top: 14px; border-top: 1px solid var(--line2); transition: opacity .42s ease-out, transform .42s cubic-bezier(.2,.9,.1,1), border-color .42s; }
.stage-n { font: 500 11px/1 var(--mono); letter-spacing: .1em; color: var(--sig); }
.stages b { font-stretch: 112%; font-weight: 650; font-size: 17px; margin-top: 6px; }
.stages span:not(.stage-n) { font-size: 13.5px; line-height: 1.45; color: var(--frost2); }
.stages em { font: 500 14px/1 var(--mono); font-style: normal; color: var(--frost); margin-top: 8px; }
.track { position: relative; height: 2px; margin-top: 28px; border-radius: 2px; background: var(--line); display: none; }
.track-fill { position: absolute; inset: 0 auto 0 0; width: 100%; border-radius: 2px; background: linear-gradient(90deg, var(--frost2), var(--sig)); }
.track-pulse { position: absolute; top: 50%; left: 100%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--sig); box-shadow: 0 0 0 4px var(--soft), 0 0 18px var(--sig); opacity: 0; transition: opacity .3s; }
.trajet.is-live .track-pulse { opacity: 1; }
/* Mode live : section épinglée, le compteur suit le défilement (legacy.js) */
:root.live .trajet { height: 360vh; padding: 0; }
:root.live .trajet-sticky { position: sticky; top: var(--top); height: calc(100vh - var(--top)); display: flex; align-items: center; overflow: hidden; }
:root.live .trajet-sticky > .wrap { width: 100%; }
:root.live .track { display: block; }
:root.live .stages li { opacity: .32; transform: translateY(8px); }
:root.live .stages li.is-on { opacity: 1; transform: none; }
:root.live .stages li.is-current { border-top-color: var(--sig); }
:root.live .trajet .counter { margin-top: clamp(20px, 4vh, 44px); }
:root.live .trajet .stages { margin-top: clamp(24px, 4.5vh, 44px); }
:root.live .trajet .footnote { margin-top: clamp(18px, 3.5vh, 32px); }
@media (max-height: 760px) { :root.live .trajet .footnote { display: none; } :root.live .counter-value { font-size: clamp(72px, 9vw, 120px); } }

/* ---------- Technologie · simulation QUIC ---------- */
.sim { padding: 22px; }
.sim-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.sim-stats { display: flex; flex-wrap: wrap; gap: 10px 32px; }
.sim-stat { display: flex; align-items: baseline; gap: 12px; }
.sim-stat b { font: 500 18px/1 var(--mono); font-variant-numeric: tabular-nums; min-width: 6ch; text-align: right; }
.sim-stat b.is-bad { color: var(--warn); }
.sim-body { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 8px; }
.sim-lanes { list-style: none; margin: 0; padding: 16px 0 0; display: grid; grid-template-rows: repeat(4, 1fr); font: 500 11px/1 var(--mono); color: var(--mist); }
.sim-lanes li { display: flex; align-items: center; }
#sim { display: block; width: 100%; height: 240px; }
.sim-legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 16px; font-size: 13px; color: var(--frost2); }
.sim-legend span { display: inline-flex; align-items: center; gap: 8px; }
.sim-note { margin-left: auto; color: var(--mist); }
.lg { display: inline-block; width: 14px; height: 6px; border-radius: 2px; }
.lg-pkt { background: var(--frost2); }
.lg-lost { box-shadow: inset 0 0 0 1px var(--bad); }
.lg-fix { background: var(--sig); }

/* Boutons groupés (simulation, profils) */
.segmented { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 12px; border: 1px solid var(--line); background: var(--ink0); }
.segmented button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 38px; padding: 0 14px; border: 1px solid transparent; border-radius: 8px; background: none; color: var(--mist); font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.segmented button:hover { color: var(--frost); }
.segmented button[aria-pressed="true"], .segmented button[aria-selected="true"] { background: var(--soft); border-color: var(--sline); color: var(--frost); }
.segmented button .ic { width: 16px; height: 16px; color: var(--mist); }
.segmented button:is([aria-pressed="true"], [aria-selected="true"]) .ic { color: var(--sig); }
.segmented-lg button { min-height: 44px; padding: 0 18px; font-size: 15px; }

/* Quatre points, deux colonnes, encadré */
.points { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.point { padding: 24px; }
.point h3, .card h3 { margin: 18px 0 8px; }
.point p, .card p { font-size: 15px; line-height: 1.55; color: var(--frost2); }
.split-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 56px; }
.col { padding-top: 18px; border-top: 1px solid var(--line2); }
.ticks { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 22px; color: var(--frost2); font-size: 16px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; background: var(--line2); transform: rotate(45deg); }
.ticks-on li { color: var(--frost); }
.ticks-on li::before { background: var(--sig); }
.notice { display: flex; gap: 20px; margin-top: 56px; padding: 28px; border-radius: var(--r-card); border: 1px solid var(--sline); background: radial-gradient(90% 140% at 100% 0%, var(--soft), transparent 60%), var(--ink1); }
:root[data-theme="light"] .notice { background: radial-gradient(90% 140% at 100% 0%, var(--soft), transparent 60%), var(--ink2); }
.notice h3 { margin-bottom: 10px; }
.notice p { max-width: 62ch; font-size: 15.5px; color: var(--frost2); }

/* ---------- Technologie · comparaison ---------- */
.compare { overflow: hidden; }
.cmp-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 1.4fr); border-bottom: 1px solid var(--line); }
.cmp-row:last-child { border-bottom: 0; }
.cmp-row > span { padding: 16px 20px; font-size: 15px; color: var(--frost2); }
.cmp-row > span:first-child { color: var(--frost); font-weight: 600; }
.cmp-row > span:nth-child(2) { background: rgba(var(--veil2), .55); color: var(--frost); }
:root[data-theme="light"] .cmp-row > span:nth-child(2) { background: var(--ink3); }
.cmp-head > span { padding-block: 18px; font: 500 12px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mist); }
.cmp-head > span.cmp-us { color: var(--sig); }
.cmp-row .yes { position: relative; padding-left: 44px; }
.cmp-row .yes::after { content: ""; position: absolute; left: 22px; top: 1.35em; width: 5px; height: 10px; border: solid var(--ok); border-width: 0 2px 2px 0; transform: translateY(-60%) rotate(45deg); }
.cmp-row:not(.cmp-head):hover > span:first-child { color: var(--sig); }

/* ---------- Technologie · fonctions ---------- */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card { position: relative; padding: 26px; }
.card-feature { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; }
.card-feature h3 { font-size: clamp(22px, 2.3vw, 30px); max-width: 16ch; line-height: 1.12; }
.card-feature p { font-size: 16px; max-width: 46ch; }
.res-demo { position: relative; flex: 1; min-height: 200px; margin-top: 28px; }
.res-demo span { position: absolute; left: 0; bottom: 0; display: flex; align-items: flex-start; justify-content: flex-end; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line2); font: 500 10.5px/1 var(--mono); color: var(--mist); transform-origin: 0 100%; transition: transform 1.2s cubic-bezier(.2,.9,.1,1), opacity 1.2s cubic-bezier(.2,.9,.1,1); }
.res-demo span:nth-child(1) { width: 50%; height: 50%; transition-delay: .2s; }
.res-demo span:nth-child(2) { width: 75%; height: 75%; transition-delay: .35s; }
.res-demo span:nth-child(3) { width: 100%; height: 100%; transition-delay: .5s; color: var(--frost); border-color: var(--sline); background: radial-gradient(70% 70% at 100% 0%, var(--soft), transparent 70%); }
:root.live .card-feature:not(.is-in) .res-demo span { transform: scale(.4); opacity: 0; }
.profiles { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px 48px; align-items: start; margin-top: 16px; padding: 28px; }
.profiles .mono-label { margin-bottom: 14px; }
.profile-panels { display: grid; gap: 28px; }
.profile-panel h3 { font-size: 22px; }
.profile-panel p { margin-top: 8px; max-width: 60ch; color: var(--frost2); }
.profile-panel.is-swapping { animation: knSwap .42s cubic-bezier(.2,.9,.1,1); }
@keyframes knSwap { from { opacity: 0; transform: translateY(6px); } }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; }
.chips li { padding: 6px 11px; border-radius: 99px; border: 1px solid var(--line2); font-size: 13px; color: var(--frost2); }

/* ---------- Share ---------- */
.share-split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 44px; align-items: center; margin: 56px 0 0; }
.share-split img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 22px; border: 1px solid var(--line2); }
.share-split-rev img { order: 2; }
.share-split figcaption h3 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.15; }
.share-split figcaption > p:not(.notice-links) { margin-top: 12px; font-size: 16px; color: var(--frost2); }
.proofs-2 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.share-cards { margin-top: 56px; }
.share-cards .card h3 { margin-top: 18px; }
.share-angles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 56px; }
.share-angles .card { padding: 30px; background: radial-gradient(80% 120% at 100% 0%, var(--soft), transparent 55%), var(--ink1); }
:root[data-theme="light"] .share-angles .card { background: radial-gradient(80% 120% at 100% 0%, var(--soft), transparent 55%), var(--ink2); }
.share-angles .card .mono-label { color: var(--sig); }
.share-angles .card h3 { margin: 12px 0 0; font-size: clamp(21px, 2vw, 26px); line-height: 1.18; max-width: 20ch; }
.share-angles .card p:not(.mono-label) { margin-top: 12px; font-size: 15.5px; }
.share-sub { margin-top: 64px; font-size: clamp(22px, 2.2vw, 28px) !important; }
.share-ways { margin-top: 20px; }
.share-foot { margin-top: 24px; max-width: 70ch; font-size: 14px; color: var(--mist); }
.share-links { margin-top: 32px; }
.share-cta { margin-top: 32px; }
.table { margin-top: 16px; border-radius: var(--r-card); border: 1px solid var(--line); overflow: hidden; background: var(--ink1); }
:root[data-theme="light"] .table { background: var(--ink2); }
.tr { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(0, 3fr); gap: 20px; padding: 16px 20px; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--frost2); }
.tr:last-child { border-bottom: 0; }
.th { color: var(--frost); font-weight: 600; }
.share-rights .th { color: var(--sig); }
.faq { display: grid; gap: 8px; max-width: 880px; }
.faq details { border-radius: 14px; border: 1px solid var(--line); background: var(--ink1); transition: border-color .2s; }
:root[data-theme="light"] .faq details { background: var(--ink2); }
.faq details[open] { border-color: var(--line2); }
.faq summary { position: relative; list-style: none; cursor: pointer; min-height: 56px; display: flex; align-items: center; padding: 14px 52px 14px 20px; font-weight: 600; font-size: 16.5px; color: var(--frost); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 8px; height: 8px; margin-top: -6px; border: solid var(--sig); border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); transition: transform .3s cubic-bezier(.2,.9,.1,1); }
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq details p { padding: 0 20px 20px; font-size: 15.5px; color: var(--frost2); max-width: 70ch; }
.faq summary:focus-visible { outline: none; }
.faq details:has(summary:focus-visible) { outline: 2px solid var(--sig); outline-offset: 2px; }

/* ---------- Mentions légales ---------- */
.doc { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 56px; padding-bottom: 120px; }
.toc { position: sticky; top: calc(var(--top) + 32px); align-self: start; display: grid; gap: 2px; }
.toc .mono-label { margin-bottom: 12px; }
.toc a { position: relative; padding: 7px 0 7px 16px; font-size: 14.5px; color: var(--mist); text-decoration: none; transition: color .2s; }
.toc a::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 2px; border-radius: 2px; background: var(--line); transition: background .2s; }
.toc a:hover, .toc a.is-active { color: var(--frost); }
.toc a.is-active::before { background: var(--sig); }
.doc-body { max-width: 780px; min-width: 0; }
.doc-section { padding: 36px 40px; margin-bottom: 16px; scroll-margin-top: calc(var(--top) + 24px); }
.doc-section h2 { font-stretch: 125%; font-weight: 720; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.1; letter-spacing: -.01em; margin-bottom: 20px; }
.doc-section p { margin-top: 14px; color: var(--frost2); }
.doc-section h2 + p { margin-top: 0; }
.doc-section .ticks { margin-top: 14px; }
.legal dl { display: grid; grid-template-columns: minmax(170px, auto) minmax(0, 1fr); gap: 12px 24px; margin: 8px 0 0; }
.legal dt { font-size: 14.5px; color: var(--mist); }
.legal dd { margin: 0; font-size: 15.5px; color: var(--frost); overflow-wrap: anywhere; }
code { font: 500 .86em/1.4 var(--mono); padding: 2px 6px; border-radius: 5px; background: var(--ink3); border: 1px solid var(--line); color: var(--frost); overflow-wrap: anywhere; }

/* ---------- Tablette et téléphone ---------- */
@media (max-width: 1100px) {
  .points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .page-hero { padding-block: 48px 64px; }
  .page-hero .wrap { gap: 18px; }
  .page-hero h1 { font-size: clamp(38px, 11.4vw, 48px); line-height: 1.04; }
  .sechead { margin-bottom: 32px; }
  .trajet { padding-block: 72px; }
  .trajet-head h2 { font-size: clamp(32px, 9vw, 42px); }
  .counter { margin-top: 28px; }
  .counter-value { font-size: clamp(76px, 24vw, 110px); }
  .counter-caption { font-size: 14.5px; }
  /* Le trajet en frise verticale */
  .stages { grid-template-columns: 1fr; gap: 0; margin-top: 28px; }
  .stages li { grid-template-columns: 34px minmax(0, 1fr) auto; column-gap: 12px; row-gap: 2px; padding: 14px 0; border-top: 0; border-bottom: 1px solid var(--line); }
  .stages li:last-child { border-bottom: 0; }
  .stage-n { grid-row: 1 / span 2; align-self: start; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--sline); background: var(--soft); }
  .stages b { grid-column: 2; margin: 0; font-size: 16.5px; }
  .stages em { grid-column: 3; grid-row: 1; margin: 0; align-self: center; font-size: 13px; }
  .stages span:not(.stage-n) { grid-column: 2 / span 2; font-size: 14px; }
  .split-cols { grid-template-columns: 1fr; gap: 36px; }
  .notice { flex-direction: column; gap: 14px; padding: 24px 22px; margin-top: 40px; }
  .profiles { grid-template-columns: 1fr; gap: 22px; padding: 22px 20px; }
  .segmented-lg { display: flex; width: 100%; }
  .segmented-lg button { flex: 1 1 0; padding: 0 10px; }
  .share-split, .share-split-rev { grid-template-columns: 1fr; gap: 22px; margin-top: 40px; }
  .share-split-rev img { order: 0; }
  .share-split img { border-radius: 18px; }
  .share-angles { grid-template-columns: 1fr; margin-top: 40px; }
  .share-angles .card { padding: 24px 22px; }
  .share-cards { margin-top: 40px; }
  .share-sub { margin-top: 48px; }
  .doc { grid-template-columns: minmax(0, 1fr); gap: 0; padding-bottom: 72px; }
  .toc { position: static; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
  .toc .mono-label { flex-basis: 100%; margin-bottom: 4px; }
  .toc a { min-height: 40px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 99px; border: 1px solid var(--line2); background: var(--ink1); color: var(--frost2); font-size: 14px; }
  .toc a::before { display: none; }
}
@media (max-width: 760px) {
  /* Rangées de cartes : carrousel accroché, débord visible */
  .points, .proofs-2, .bento { display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gut)); padding: 4px var(--gut) 14px; scroll-padding-inline: var(--gut); scrollbar-width: none; }
  .points::-webkit-scrollbar, .proofs-2::-webkit-scrollbar, .bento::-webkit-scrollbar { display: none; }
  .points > *, .proofs-2 > *, .bento > * { flex: 0 0 min(84%, 340px); scroll-snap-align: start; animation: none !important; }
  .card-feature { grid-column: auto; grid-row: auto; }
  .card-feature h3 { font-size: 22px; }
  .card-feature p { font-size: 15px; }
  .res-demo { min-height: 130px; margin-top: 22px; }
  .point, .card { padding: 22px 20px; }
  /* Comparaison : une fiche par ligne */
  .compare { background: none; border: 0; border-radius: 0; display: grid; gap: 10px; }
  .cmp-head { display: none; }
  .cmp-row { grid-template-columns: 1fr; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--ink1); }
  :root[data-theme="light"] .cmp-row { background: var(--ink2); }
  .cmp-row:last-child { border-bottom: 1px solid var(--line); }
  .cmp-row > span { padding: 12px 18px; }
  .cmp-row > span:first-child { padding-top: 16px; font-size: 16px; }
  .cmp-row > span[data-h]::before { content: attr(data-h); display: block; margin-bottom: 4px; font: 500 10.5px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mist); }
  .cmp-row > span.yes[data-h]::before { color: var(--sig); }
  .cmp-row > span:last-child { padding-bottom: 16px; }
  .cmp-row .yes { padding-left: 18px; }
  .cmp-row .yes::after { display: none; }
  .tr { grid-template-columns: 1fr; gap: 4px; padding: 14px 18px; }
  .sim { padding: 16px; }
  .sim-bar .segmented { display: flex; width: 100%; }
  .sim-bar .segmented button { flex: 1 1 0; min-height: 44px; padding: 4px 8px; line-height: 1.2; text-align: center; }
  .sim-bar .segmented button .ic { display: none; }
  .sim-stats { width: 100%; justify-content: space-between; gap: 8px 20px; }
  .sim-body { grid-template-columns: 1fr; }
  .sim-lanes { display: none; }
  #sim { height: 200px; }
  .sim-note { margin-left: 0; }
  .doc-section { padding: 24px 20px; }
  .legal dl { grid-template-columns: 1fr; gap: 2px 0; }
  .legal dd { margin-bottom: 12px; }
  .faq summary { font-size: 16px; padding-left: 18px; }
  .faq details p { padding: 0 18px 18px; }
}
@media (max-width: 400px) {
  .quick a { font-size: 14px; padding-right: 13px; }
  .segmented-lg button { font-size: 14px; gap: 6px; }
  .sim-stat { gap: 8px; }
  .sim-stat b { min-width: 0; font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .res-demo span, .stages li { transition: none; }
  :root.live .card-feature:not(.is-in) .res-demo span { transform: none; opacity: 1; }
}
