/* Couleurs du thème de Vitrum (src/styles/theme.css de l'appli, fonds façon Obsidian) et
   accent bleu glacier de son icône (dégradé #84d6ff → #2e86e6). Sombre par défaut ; clair
   selon le système, ou selon le choix fait dans la section « Essayez » (app.js pose
   data-theme sur <html>). @property permet une transition douce entre les deux. */
@property --bg { syntax: '<color>'; inherits: true; initial-value: #1e1e1e; }
@property --surface { syntax: '<color>'; inherits: true; initial-value: #242424; }
@property --surface2 { syntax: '<color>'; inherits: true; initial-value: #2a2a2a; }
@property --line { syntax: '<color>'; inherits: true; initial-value: #363636; }
@property --text { syntax: '<color>'; inherits: true; initial-value: #dadada; }
@property --muted { syntax: '<color>'; inherits: true; initial-value: #a3a3a3; }
@property --accent { syntax: '<color>'; inherits: true; initial-value: #6cc3ff; }

:root {
  color-scheme: dark;
  --bg: #1e1e1e; --surface: #242424; --surface2: #2a2a2a; --line: #363636;
  --text: #dadada; --muted: #a3a3a3; --accent: #6cc3ff; --accent-ink: #06182b;
  --button-bg: linear-gradient(180deg, #84d6ff, #4fa4f0);
  --shadow-lg: 0 30px 90px #0007;
  --accent-soft: color-mix(in srgb, var(--accent) 14%, transparent);
  --accent-line: color-mix(in srgb, var(--accent) 45%, transparent);
  --glow: 0 0 28px color-mix(in srgb, var(--accent) 34%, transparent);
  --dot-min: #febc2e; --dot-max: #28c840; --dot-close: #ff5f57;
  --r-sm: 6px; --r-md: 10px; --r-lg: 14px;
  /* Police du système, comme l'appli : rien à télécharger. */
  --font: ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI Variable Text', 'Segoe UI', Inter, Roboto, 'Helvetica Neue', Arial, sans-serif;
  --mono: ui-monospace, 'Cascadia Code', 'SF Mono', Menlo, Consolas, monospace;
  --caps: 700 12px/1.4 var(--font);
  font-family: var(--font);
  font-synthesis: none;
  transition: --bg .5s, --surface .5s, --surface2 .5s, --line .5s, --text .5s, --muted .5s, --accent .5s;
}
/* Thème clair : fonds clairs de Vitrum, accent assombri pour rester lisible sur blanc. */
@media (prefers-color-scheme: light) {
  :root:not([data-theme=dark]) {
    color-scheme: light;
    --bg: #ffffff; --surface: #f6f6f6; --surface2: #efeff1; --line: #e0e0e0;
    --text: #222222; --muted: #5c5c5c; --accent: #1a74d4; --accent-ink: #ffffff;
    --button-bg: linear-gradient(180deg, #3e98ee, #1f75d3);
    --shadow-lg: 0 30px 80px #2a3a5a26;
  }
}
:root[data-theme=light] {
  color-scheme: light;
  --bg: #ffffff; --surface: #f6f6f6; --surface2: #efeff1; --line: #e0e0e0;
  --text: #222222; --muted: #5c5c5c; --accent: #1a74d4; --accent-ink: #ffffff;
  --button-bg: linear-gradient(180deg, #3e98ee, #1f75d3);
  --shadow-lg: 0 30px 80px #2a3a5a26;
}
/* Captures en double : seule celle du thème affiché est visible (et téléchargée). */
.only-light { display: none !important; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme=dark]) .only-light { display: block !important; }
  :root:not([data-theme=dark]) .only-dark { display: none !important; }
}
:root[data-theme=light] .only-light { display: block !important; }
:root[data-theme=light] .only-dark { display: none !important; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
button, summary { cursor: pointer; }
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
svg { width: 20px; height: 20px; flex-shrink: 0; }
p { line-height: 1.7; }
h1, h2, h3, h4, p, figure, ol, ul, dl, dd { margin: 0; }
code, kbd { font: 600 .86em var(--mono); color: var(--text); background: var(--surface2); padding: 1px 5px; border-radius: 5px; }
kbd { border: 1px solid var(--line); border-bottom-width: 2px; white-space: nowrap; }
.wrap { width: min(1160px, calc(100% - 80px)); margin-inline: auto; }
.muted { color: var(--muted); }
.accent { color: var(--accent); }
.skip-link { position: fixed; left: 20px; top: -100px; background: var(--accent); color: var(--accent-ink); padding: 12px; z-index: 100; border-radius: var(--r-sm); }
.skip-link:focus { top: 12px; }

/* Marque : l'icône de Vitrum. */
.mark { width: 30px; height: 30px; flex-shrink: 0; }

/* Les trois ronds de fenêtre. */
.win-dots { display: inline-flex; align-items: center; gap: 6px; }
.win-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--dot-close); }
.win-dots i:nth-child(2) { background: var(--dot-min); }
.win-dots i:nth-child(3) { background: var(--dot-max); }

/* En-tête */
.header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(18px); border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent); }
.nav { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 19px; font-weight: 800; letter-spacing: -.4px; }
.nav-links { display: flex; align-items: center; gap: 6px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 13px; font-weight: 600; color: var(--muted); }
.nav-links a { padding: 7px 14px; border-radius: 999px; transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--text); background: var(--surface2); }

/* Boutons */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; border: 1px solid transparent; border-radius: var(--r-md); min-height: 50px; padding: 13px 22px; font-size: 14px; font-weight: 800; transition: background .2s, transform .2s, box-shadow .3s, filter .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--accent-ink); background: var(--button-bg); box-shadow: var(--glow); }
.button-primary:hover { filter: brightness(1.06); }
.button-small { min-height: 38px; padding: 8px 16px; font-size: 13px; background: var(--surface2); border-color: var(--line); }
.button-small:hover { border-color: var(--accent); }
.text-link { font-size: 14px; font-weight: 600; color: var(--muted); display: inline-flex; gap: 10px; align-items: center; }
.text-link:hover { color: var(--accent); }
/* Téléchargement : bouton du système détecté + flèche vers les autres systèmes */
.split-download { position: relative; display: inline-flex; flex-wrap: wrap; }
.split-toggle, .split-menu { display: none; }
.has-js .split-toggle { display: inline-flex; padding: 13px 14px; border-left: 1px solid color-mix(in srgb, var(--accent-ink) 22%, transparent); }
.has-js .split-main { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.has-js .split-toggle { border-top-left-radius: 0; border-bottom-left-radius: 0; }
.split-download .button:hover { transform: none; }
.icon-chevron { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.split-download.is-open .icon-chevron { transform: rotate(180deg); }
.split-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; min-width: 320px; flex-direction: column; gap: 2px; padding: 6px; text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: 0 18px 40px rgb(0 0 0 / .35); }
.has-js .split-download.is-open .split-menu { display: flex; }
.split-menu a { display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; border-radius: var(--r-sm); color: var(--text); font-size: 14px; font-weight: 700; }
.split-menu a small { font-size: 12px; font-weight: 500; color: var(--muted); }
.split-menu a:hover, .split-menu a:focus-visible { background: var(--surface2); outline-offset: -2px; }
.split-menu a b { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.split-menu a[aria-current="true"] b::after { content: 'Votre système'; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--accent-line); background: var(--accent-soft); color: var(--accent); font-size: 11px; font-weight: 700; white-space: nowrap; }
/* Dans le panneau (qui coupe ce qui déborde) : la liste se déplie sous le bouton ; sans script, elle reste affichée */
.download-panel .split-download { display: flex; width: 100%; }
.download-panel .split-download .split-main { flex: 1; width: auto; min-width: 0; }
.download-panel .split-download .split-toggle { width: auto; flex: none; }
.download-panel .split-download .split-menu { position: static; display: flex; width: 100%; min-width: 0; margin-top: 8px; box-shadow: none; background: var(--bg); }
.has-js .download-panel .split-download:not(.is-open) .split-menu { display: none; }

.menu-toggle { display: none; }
.icon-download { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-line { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }

/* Ouverture */
.hero { padding-top: 70px; text-align: center; }
.eyebrow { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; color: var(--muted); font: var(--caps); letter-spacing: .12em; }
.eyebrow-divider { color: var(--line); margin-inline: 6px; }
h1 { font-size: clamp(42px, 5.6vw, 78px); font-weight: 800; line-height: 1.08; letter-spacing: -.03em; margin-top: 28px; }
h1 > span { color: var(--accent); }
.hero-copy { margin-top: 24px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.hero-actions { margin-top: 32px; display: flex; align-items: center; justify-content: center; gap: 28px; }
.release-note { font-size: 12px; color: var(--muted); margin-top: 16px; display: flex; flex-wrap: wrap; justify-content: center; column-gap: 10px; }
.release-note > span { white-space: nowrap; }
.release-note > span + span::before { content: '·'; margin-right: 10px; color: var(--line); }

/* Sections */
.section { padding-block: 130px; }
.kicker { font: var(--caps); letter-spacing: .14em; color: var(--accent); margin-bottom: 20px; }
h2 { font-size: clamp(32px, 3.6vw, 48px); font-weight: 800; line-height: 1.14; letter-spacing: -.025em; }
h3 { font-weight: 800; letter-spacing: -.01em; }
.section-heading { display: grid; grid-template-columns: 1.1fr 1fr; column-gap: 90px; }
.section-heading .kicker { grid-column: 1 / -1; }
.section-heading > p:last-child { align-self: end; font-size: 15px; color: var(--muted); max-width: 460px; }

/* Essayez : la note de démonstration */
.try { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: center; }
.try-copy > p:not(.kicker) { margin-top: 22px; font-size: 15px; color: var(--muted); max-width: 440px; }
.try-copy > .try-note { font-size: 13px; }
.theme-picker { margin-top: 34px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.theme-picker h3 { font-size: 15px; margin-bottom: 12px; }
.theme-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.theme-option { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 6px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg); font-size: 13px; font-weight: 700; color: var(--muted); transition: border-color .2s, color .2s; }
.theme-option svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.theme-option:hover { color: var(--text); border-color: var(--accent-line); }
.theme-option[aria-pressed=true] { color: var(--text); border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.theme-option[aria-pressed=true] svg { color: var(--accent); }
.theme-picker > p { margin-top: 14px; font-size: 12px; color: var(--muted); line-height: 1.6; }

/* Fenêtre de démonstration aux couleurs de Vitrum (fonds de l'appli, accent bleu glacier de
   son icône, comme sur les captures). */
.demo {
  --d-bg: #1e1e1e; --d-alt: #262626; --d-line: #363636; --d-text: #dadada; --d-muted: #b3b3b3; --d-faint: #666;
  --d-accent: hsl(205 100% 71%); --d-tag-bg: hsl(205 100% 71% / .15); --d-code: #2a2a2a;
  --d-tip: 83 223 221; --d-mark: rgb(255 208 0 / .4);
  --d-fm: #666; --d-key: #53dfdd; --d-link: hsl(205 100% 71%);
  position: relative; display: flex; flex-direction: column; min-width: 0; color: var(--d-text); background: var(--d-bg); border: 1px solid var(--d-line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden;
  font: 15px/1.5 var(--font);
  transition: background-color .5s, color .5s, border-color .5s;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme=dark]) .demo { --d-bg: #fff; --d-alt: #f6f6f6; --d-line: #e0e0e0; --d-text: #222; --d-muted: #5c5c5c; --d-faint: #ababab; --d-accent: hsl(211 78% 47%); --d-tag-bg: hsl(211 78% 47% / .12); --d-code: #f6f6f6; --d-tip: 0 191 188; --d-fm: #ababab; --d-key: #00a6a3; --d-link: hsl(211 78% 47%); }
}
:root[data-theme=light] .demo { --d-bg: #fff; --d-alt: #f6f6f6; --d-line: #e0e0e0; --d-text: #222; --d-muted: #5c5c5c; --d-faint: #ababab; --d-accent: hsl(211 78% 47%); --d-tag-bg: hsl(211 78% 47% / .12); --d-code: #f6f6f6; --d-tip: 0 191 188; --d-fm: #ababab; --d-key: #00a6a3; --d-link: hsl(211 78% 47%); }
.demo-tabs { display: flex; align-items: end; justify-content: space-between; gap: 12px; height: 40px; padding: 0 14px 0 10px; background: var(--d-alt); border-bottom: 1px solid var(--d-line); }
.demo-tab { display: inline-flex; align-items: center; gap: 10px; height: 32px; padding: 0 12px; font-size: 13px; background: var(--d-bg); border: 1px solid var(--d-line); border-bottom: 0; border-radius: 6px 6px 0 0; margin-bottom: -1px; }
.demo-tab svg { width: 12px; height: 12px; fill: none; stroke: var(--d-muted); stroke-width: 1.6; stroke-linecap: round; }
.demo-tabs .win-dots { align-self: center; }
.demo-bar { position: relative; display: flex; align-items: center; justify-content: center; height: 42px; padding: 0 12px; font-size: 13px; color: var(--d-muted); }
.demo-path i { font-style: normal; color: var(--d-faint); margin-inline: 4px; }
.demo-path b { font-weight: 500; color: var(--d-text); }
.demo-toggle { position: absolute; right: 10px; top: 50%; translate: 0 -50%; display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; border: 1px solid var(--d-line); border-radius: 6px; background: var(--d-alt); color: var(--d-text); font-size: 12px; font-weight: 600; transition: border-color .2s; }
.demo-toggle:hover { border-color: var(--d-accent); }
.demo-toggle svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.demo .icon-read, .demo[data-mode=edition] .icon-edit { display: none; }
.demo[data-mode=edition] .icon-read { display: block; }
/* Les deux vues occupent la même case : la plus haute fixe la hauteur, rien ne saute au basculement. */
.demo-body { display: grid; padding: 6px 34px 30px; min-height: 0; }
.demo-body:focus-visible { outline-offset: -4px; }
.demo-read, .demo-source { grid-area: 1 / 1; }
.demo-source { opacity: 0; translate: 0 8px; visibility: hidden; }
.demo[data-mode=edition] .demo-read { opacity: 0; translate: 0 -8px; visibility: hidden; }
.demo[data-mode=edition] .demo-source { opacity: 1; translate: 0 0; visibility: visible; }
.demo-read, .demo-source { transition: opacity .32s, translate .45s cubic-bezier(.16,1,.3,1), visibility 0s .32s; }
.demo[data-mode=lecture] .demo-read, .demo[data-mode=edition] .demo-source { transition: opacity .32s .08s, translate .45s .08s cubic-bezier(.16,1,.3,1), visibility 0s; }
.demo-h1 { font-size: 1.7em; font-weight: 700; line-height: 1.25; margin: 8px 0 14px; }
.demo-props { display: grid; gap: 6px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--d-line); font-size: 13px; }
.demo-props > div { display: grid; grid-template-columns: 110px 1fr; gap: 10px; align-items: center; }
.demo-props dt { color: var(--d-muted); }
.demo-props dd { display: flex; flex-wrap: wrap; gap: 6px; }
.demo-chip, .demo-tag { padding: 1px 8px; border-radius: 999px; background: var(--d-tag-bg); color: var(--d-accent); font-size: .92em; }
.demo-read > p { line-height: 1.6; }
.demo-read mark { background: var(--d-mark); color: inherit; padding: 0 1px; }
.demo-read code, .demo kbd { background: var(--d-code); color: var(--d-text); border-color: var(--d-line); }
.demo-callout { margin: 16px 0; padding: 12px 16px; border-radius: 6px; background: rgb(var(--d-tip) / .1); }
.demo-callout-title { display: flex; align-items: center; gap: 8px; font-weight: 600; color: rgb(var(--d-tip)); }
.demo-callout-title svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.demo-callout p + p { margin-top: 4px; }
.demo-tasks { list-style: none; padding: 0; display: grid; gap: 6px; }
.demo-tasks label { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.demo-tasks input { width: 16px; height: 16px; margin: 0; accent-color: var(--d-accent); cursor: pointer; }
.demo-tasks input:checked + span { text-decoration: line-through; color: var(--d-muted); }
.demo-source { margin: 0; padding-top: 8px; font: 14px/1.6 var(--font); white-space: pre-wrap; overflow-wrap: anywhere; color: var(--d-text); }
.demo-source i { font-style: normal; color: var(--d-faint); }
.md-fm { color: var(--d-fm); }
.md-key { color: var(--d-key); }
.md-h { font-size: 1.45em; font-weight: 700; line-height: 1.8; }
.demo-source b { font-weight: 700; }
.md-code { font-family: var(--mono); font-size: .9em; background: var(--d-code); border-radius: 3px; padding: 1px 2px; }
.md-link { color: var(--d-link); }
.md-quote { color: var(--d-text); }
.md-list { color: var(--d-faint); }
[data-task-src] { font-family: var(--mono); font-size: .92em; color: var(--d-link); }
.demo-status { display: flex; justify-content: end; gap: 14px; padding: 6px 12px; font-size: 12px; color: var(--d-muted); border-top: 1px solid var(--d-line); background: var(--d-alt); }

/* Le rendu : captures à onglets */
.desk-section { padding-top: 40px; padding-bottom: 0; }
.desk-heading { text-align: center; }
.desk-heading p:last-child { font-size: 14px; color: var(--muted); margin-top: 18px; }
.product-shot { position: relative; margin-top: 44px; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.product-shot::before { content: ''; position: absolute; inset: -50px -40px; z-index: -1; background-image: linear-gradient(var(--accent-soft) 1px, transparent 1px), linear-gradient(90deg, var(--accent-soft) 1px, transparent 1px); background-size: 40px 40px; opacity: .45; mask-image: radial-gradient(ellipse, #000, transparent 72%); }
.shot-tabs { display: flex; align-items: center; gap: 4px; padding: 4px 6px 10px; }
.shot-tabs [role=tab] { border: 0; background: transparent; padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--muted); transition: color .2s, background .2s; }
.shot-tabs [role=tab]:hover { color: var(--text); }
.shot-tabs [role=tab][aria-selected=true] { background: var(--surface2); color: var(--text); box-shadow: inset 0 -2px 0 var(--accent); }
.shot-tabs .win-dots { margin-left: auto; padding: 0 8px; }
.shot-frames { display: grid; border-radius: var(--r-md); overflow: hidden; }
.shot-frame { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .45s, visibility 0s .45s; }
.shot-frame.is-active { opacity: 1; visibility: visible; transition: opacity .45s; }
.shot-frame img { width: 100%; }

/* Ce que Vitrum affiche */
.features { display: grid; grid-template-columns: 1fr 1.15fr; gap: 90px; }
.feature-intro { align-self: start; position: sticky; top: 130px; }
.feature-intro > p:last-child { margin-top: 24px; max-width: 340px; color: var(--muted); font-size: 15px; }
.feature-list article { display: flex; align-items: start; gap: 19px; padding: 26px 0; border-top: 1px solid var(--line); transition: border-color .3s; }
.feature-list article:first-child { padding-top: 0; border: 0; }
.feature-list article:hover { border-color: var(--accent-line); }
.feature-number { color: var(--accent); font: var(--caps); white-space: nowrap; padding-top: 4px; }
.feature-list h3 { font-size: 18px; line-height: 1.4; }
.feature-list p { font-size: 14px; margin-top: 8px; color: var(--muted); }

/* Au quotidien */
.choices { padding-top: 0; }
.choice-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.choice-grid article { padding: 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); transition: border-color .3s, transform .3s; }
.choice-grid article:hover { border-color: var(--accent-line); transform: translateY(-3px); }
.choice-grid h3 { font-size: 16px; line-height: 1.35; }
.choice-grid p { margin-top: 10px; font-size: 13.5px; color: var(--muted); line-height: 1.6; }

/* Confidentialité */
.privacy-band { border-block: 1px solid var(--line); background: var(--surface); }
.privacy-content { padding-block: 56px; display: grid; grid-template-columns: 64px 1.2fr 1fr; gap: 40px; align-items: center; }
.privacy-mark { width: 56px; height: 56px; fill: none; stroke: var(--accent); stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round; }
.privacy-band .kicker { margin-bottom: 14px; }
.privacy-band h2 { font-size: clamp(26px, 2.6vw, 32px); }
.privacy-content > p { font-size: 14px; color: var(--muted); }
.privacy-tags { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px; font-weight: 700; color: var(--text); font-size: 13px; }
.privacy-tags > span { display: inline-flex; align-items: center; gap: 8px; }
.privacy-tags > span::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }

/* Installation et téléchargement */
.download { display: grid; grid-template-columns: 1.25fr .85fr; gap: 90px; align-items: center; }
.steps { list-style: none; padding: 0; margin-top: 34px; display: grid; gap: 22px; }
.steps li { display: flex; gap: 18px; }
.steps li > span { flex-shrink: 0; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: var(--surface2); border: 1px solid var(--line); font-weight: 800; font-size: 13px; color: var(--accent); }
.steps h3 { font-size: 17px; }
.steps p { margin-top: 4px; font-size: 14px; color: var(--muted); }
.download-platform { margin-top: 30px; display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--muted); }
.download-platform svg { width: 15px; height: 15px; }
.download-panel { position: relative; overflow: hidden; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.download-panel::before { content: ''; position: absolute; top: 0; left: 22%; right: 22%; height: 1px; background: var(--accent); box-shadow: 0 0 25px 4px color-mix(in srgb, var(--accent) 30%, transparent); }
.download-panel-top { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; font-size: 18px; font-weight: 800; }
.download-panel-top .mark { width: 46px; height: 46px; }
.download-panel-top small { display: block; margin-top: 4px; font-size: 12px; font-weight: 500; color: var(--muted); }
.version-badge { margin-left: auto; padding: 5px 9px; border-radius: 999px; background: var(--accent-soft); border: 1px solid var(--accent-line); font: var(--caps); letter-spacing: .1em; color: var(--accent); }
.download-panel .button { width: 100%; justify-content: space-between; }
.download-panel > p { font-size: 13px; color: var(--muted); margin-top: 14px; line-height: 1.6; }
.release-links { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); margin-top: 20px; padding-top: 16px; font-size: 13px; font-weight: 600; color: var(--muted); }
.release-links a:hover { color: var(--accent); }

/* Questions */
.faq { padding-top: 0; display: grid; grid-template-columns: 1fr 1.25fr; gap: 80px; }
.faq h2 { font-size: clamp(30px, 3vw, 38px); }
.faq details { border-top: 1px solid var(--line); padding: 20px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 15px; font-weight: 700; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary > span { display: flex; color: var(--muted); transition: transform .2s; }
.faq details[open] summary > span { transform: rotate(45deg); color: var(--accent); }
.faq details p { font-size: 14px; color: var(--muted); padding: 14px 30px 0 0; }
.faq details p a { color: var(--accent); font-weight: 600; display: inline-block; }
.shortcuts { padding-top: 14px; overflow-x: auto; }
.shortcuts table { width: 100%; border-collapse: collapse; font-size: 13px; color: var(--muted); }
.shortcuts th { text-align: left; font: var(--caps); letter-spacing: .1em; color: var(--muted); padding: 0 10px 8px 0; }
.shortcuts td { padding: 7px 10px 7px 0; border-top: 1px solid var(--line); vertical-align: top; }
.shortcuts td:first-child { color: var(--text); }
.shortcuts kbd { font-size: 12px; }
.faq .shortcuts p { padding-top: 10px; font-size: 13px; }

/* Pied de page */
.footer { border-top: 1px solid var(--line); padding-top: 34px; padding-bottom: 28px; }
.footer-top, .footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.footer-top > .brand { font-size: 17px; }
.footer-top > .brand .mark { width: 26px; height: 26px; }
.footer-top > p { color: var(--muted); font-size: 13px; }
.footer-top > a:last-child, .footer-bottom { font-size: 12px; }
.footer-bottom { border-top: 1px solid color-mix(in srgb, var(--line) 60%, transparent); margin-top: 28px; padding-top: 20px; color: var(--muted); }
.footer a:hover { color: var(--accent); }
.footer-note { margin-top: 18px; font-size: 12px; color: var(--muted); line-height: 1.6; }

@media (max-width: 1100px) {
  .nav-links a { padding: 7px 10px; }
  .choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
  .wrap { width: calc(100% - 48px); }
  .section { padding-block: 95px; }
  .section-heading { column-gap: 45px; }
  .features, .download { gap: 45px; }
  .try { grid-template-columns: 1fr; gap: 45px; }
  .try-copy > p:not(.kicker) { max-width: 600px; }
  .theme-picker { max-width: 520px; }
  .privacy-content { grid-template-columns: 50px 1fr 1fr; gap: 24px; }
  .privacy-mark { width: 44px; height: 44px; }
  .faq { gap: 40px; }
}
@media (max-width: 860px) {
  .menu-toggle { display: flex; align-items: center; gap: 10px; border: 0; background: transparent; margin-left: auto; padding: 10px; font-size: 13px; font-weight: 700; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 68px; border-radius: 0; border-width: 0 0 1px; background: var(--surface); padding: 16px 20px; }
  .nav-links.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 4px; }
  .nav-links a { padding: 10px 12px; }
  .nav { height: 68px; gap: 12px; }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 32px); }
  .brand { font-size: 17px; }
  .brand .mark { width: 26px; height: 26px; }
  .nav-download { display: none; }
  .hero { padding-top: 46px; }
  .eyebrow { gap: 7px; letter-spacing: .06em; }
  .eyebrow-divider { margin-inline: 2px; }
  h1 { font-size: clamp(34px, 9.4vw, 52px); margin-top: 22px; }
  .hero-copy { font-size: 15px; }
  .hero-copy br { display: none; }
  .hero-actions { flex-direction: column; gap: 20px; margin-top: 26px; }
  .split-menu { right: 50%; translate: 50% 0; min-width: min(320px, calc(100vw - 32px)); }
  .button { min-height: 48px; font-size: 14px; }
  .section { padding-block: 72px; }
  .section-heading, .features, .download, .faq { grid-template-columns: 1fr; gap: 22px; }
  .section-heading .kicker { margin-bottom: 0; }
  h2 { font-size: 33px; }
  .section-heading > p:last-child { font-size: 14px; max-width: 100%; }
  .demo { font-size: 14px; }
  .demo-body { padding: 4px 18px 22px; }
  .demo-props > div { grid-template-columns: 80px 1fr; }
  .demo-toggle { right: 8px; }
  .demo-path { visibility: hidden; }
  .desk-section { padding-top: 20px; }
  .product-shot { padding: 5px; margin-top: 30px; }
  .shot-tabs { overflow-x: auto; scrollbar-width: none; padding-bottom: 8px; }
  .shot-tabs [role=tab] { white-space: nowrap; padding: 7px 11px; }
  .shot-tabs .win-dots { display: none; }
  .feature-intro { position: static; }
  .feature-list article { padding-block: 22px; }
  .choice-grid { grid-template-columns: 1fr; margin-top: 32px; }
  .privacy-content { padding-block: 40px; grid-template-columns: 40px 1fr; gap: 18px; }
  .privacy-content > p { grid-column: 1 / -1; }
  .privacy-mark { width: 36px; height: 36px; }
  .download-panel { padding: 22px; }
  .release-links { flex-direction: column; }
  .faq summary { font-size: 14px; line-height: 1.5; }
  .faq details p { padding-right: 0; }
  .footer-top, .footer-bottom { flex-wrap: wrap; gap: 14px; }
  .footer-top > p { order: 3; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  :root { transition: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Page « Mentions légales et confidentialité ». */
.legal { max-width: 780px; padding-top: 72px; padding-bottom: 110px; }
.legal h1 { margin-top: 0; font-size: clamp(32px, 4vw, 48px); line-height: 1.12; }
.legal .legal-updated { margin-top: 14px; font-size: 13px; color: var(--muted); }
.legal section { margin-top: 44px; }
.legal h2 { font-size: 21px; line-height: 1.3; }
.legal section p { margin-top: 12px; font-size: 15px; color: var(--muted); }
.legal a { color: var(--accent); }
.legal a:hover { text-decoration: underline; }
.nav-end { display: flex; align-items: center; gap: 22px; }
@media (max-width: 700px) { .legal { padding-top: 48px; padding-bottom: 72px; } .legal h2 { font-size: 19px; } .legal section p { font-size: 14px; } }
