:root {
  color-scheme: light;
  --night: #17274b;
  --deep: #132141;
  --surface: #fbfcfe;
  --ink: #243750;
  --quiet-ink: #53667a;
  --panel-line: #d8e1e9;
  --blue: #25496b;
  --paper: #f0f5fc;
  --muted: #d8e4f3;
  --subtle: #c6d8ee;
  --line: #3b5379;
  --accent: #c6dcf0;
  --frame: 1200px;
  font: 16px/1.6 'Segoe UI', system-ui, sans-serif;
  color: var(--paper);
  background: var(--night);
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid #7aa6d8; outline-offset: 3px; }
[hidden] { display: none !important; }
img, video { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
p, li { color: var(--muted); }
strong { color: var(--paper); }
h1 { font: 400 clamp(2.05rem, 4vw, 3.2rem)/1.12 Georgia, serif; }
h2 { font-size: clamp(1.45rem, 3vw, 1.85rem); line-height: 1.25; }
h3 { font-size: 1.12rem; font-weight: 650; line-height: 1.25; }
section[id], footer[id], #fichiers { scroll-margin-top: 110px; }
.frame { width: min(var(--frame), calc(100% - 80px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; z-index: 9; top: 8px; left: 16px; transform: translateY(-150%); padding: 9px 14px; color: var(--deep); background: var(--accent); }
.skip:focus { transform: none; }
.header { position: sticky; z-index: 5; top: 0; background: var(--deep); border-bottom: 1px solid #2e4266; }
.navigation { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 1.06rem; font-weight: 700; line-height: 1.15; text-decoration: none; white-space: nowrap; }
.brand small { display: block; margin-top: 4px; color: var(--subtle); font-size: .74rem; font-weight: 500; }
.monogram { display: grid; place-items: center; width: 41px; height: 41px; border-radius: 12px; background: #294662; color: #fff; font-size: .98rem; }
.navigation nav { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 24px; }
.navigation nav a { color: var(--muted); text-decoration: none; font-size: .89rem; }
.navigation nav a:hover, .navigation nav a:focus-visible { color: var(--paper); text-decoration: underline; text-underline-offset: 4px; }
.navigation .nav-download { color: var(--accent); padding: 7px 12px; border: 1px solid var(--line); border-radius: 6px; font-weight: 700; }
.hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: clamp(18px, 4vw, 46px); margin-top: 24px; padding: clamp(20px, 3vw, 35px); border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(110deg, #1c3057, #294570); }
.eyebrow, .video-meta, .workbench-bar { color: var(--accent); font-size: .73rem; font-weight: 700; letter-spacing: .08em; }
.hero .eyebrow { margin-bottom: 8px; }
.lede { margin-top: 13px; max-width: 43ch; }
.hero-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 18px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 42px; padding: 8px 13px; border: 1px solid var(--blue); border-radius: 8px; background: var(--blue); color: #fff; font: inherit; font-weight: 650; text-decoration: none; cursor: pointer; }
.button:hover { background: #193c5c; }
.hero .button { background: var(--surface); color: var(--ink); border-color: var(--panel-line); }
.hero .button:hover { background: #edf3fb; }
.quiet, .text-link { color: var(--accent); font-weight: 650; text-decoration: underline; text-underline-offset: 4px; }
.quiet:hover, .text-link:hover { color: var(--paper); }
.compat { margin-top: 14px; font-size: .84rem; color: var(--subtle); }
.compat span { padding-inline: 3px; }
.workbench { min-width: 0; overflow: hidden; background: var(--deep); border: 1px solid #48617f; border-radius: 12px; }
.workbench-bar, .workbench figcaption { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 15px; }
.workbench-bar { color: var(--subtle); background: #192e50; font-size: .69rem; }
.workbench-bar span:first-child { display: inline-flex; align-items: center; gap: 7px; color: var(--paper); }
.workbench-bar i, .status i { width: 7px; height: 7px; display: inline-block; flex: none; border-radius: 50%; background: var(--accent); }
.workbench a { display: block; }
.workbench a:focus-visible { outline-offset: -4px; }
.workbench img { width: 100%; height: auto; }
.workbench figcaption { color: var(--subtle); border-top: 1px solid var(--line); font-size: .8rem; }
.section { padding-block: 26px; }
.section + .section { border-top: 1px solid #2e4266; }
.section-heading { margin-bottom: 17px; }
.section-heading .eyebrow, .contact .eyebrow { margin-bottom: 6px; }
.section-heading > p:last-child:not(.eyebrow) { max-width: 66ch; margin-top: 7px; }
.functions, .installation { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
:is(.functions article, .installation li, .tutorial, .file-shelf, .demo-panel, .download-card, .more) {
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--panel-line);
  border-radius: 16px;
}
:is(.functions article, .installation li, .file-shelf, .download-card) { padding: clamp(15px, 3vw, 22px); }
:is(.functions, .installation, .tutorial, .download-card, .more) p { color: var(--quiet-ink); }
:is(.installation, .more) strong { color: var(--ink); }
.functions h3, .installation h3 { margin-bottom: 7px; }
.tutorial-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 21px; }
.tutorial-grid-more { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tutorial { overflow: hidden; }
.player { position: relative; }
.tutorial video { width: 100%; aspect-ratio: 16 / 9; background: var(--deep); border-bottom: 1px solid var(--line); }
.video-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 9px; padding: 10px 14px; border: 1px solid #92accb; border-radius: 8px; background: #132141f0; color: var(--paper); font: inherit; font-size: .88rem; font-weight: 650; white-space: nowrap; cursor: pointer; }
.video-play:hover { background: var(--accent); color: var(--deep); }
.video-play span { color: var(--accent); font-size: .84rem; }
.video-play:hover span { color: var(--deep); }
.tutorial-copy { padding: clamp(15px, 3vw, 20px); }
.tutorial-copy .video-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 7px; color: var(--blue); }
.video-meta span { color: var(--quiet-ink); white-space: nowrap; letter-spacing: 0; }
.tutorial h3 { margin-bottom: 8px; }
.video-file, .files-shortcut { display: inline-block; margin-top: 13px; }
.video-file { color: var(--blue); font-size: .87rem; text-underline-offset: 4px; }
.video-file:hover { color: var(--ink); }
.file-shelf { margin-block: 20px; }
.file-shelf h3, .other-title { margin-bottom: 14px; }
.more { margin-top: 16px; }
.more summary { padding: 13px 15px; cursor: pointer; font-weight: 650; }
.more summary:hover { color: var(--blue); }
.more > p { margin: 0 15px 13px; }
.resources { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 20px; list-style: none; padding: 0; margin: 0; }
.resources a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 7px 0; border-top: 1px solid var(--panel-line); color: var(--ink); text-decoration: none; }
.resources a:hover span { text-decoration: underline; text-underline-offset: 4px; }
.resources b { color: var(--blue); white-space: nowrap; font-size: .82rem; }
.demo-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: start; gap: clamp(18px, 6vw, 75px); }
.demo-panel { overflow: hidden; }
.demo-panel .eyebrow { color: var(--blue); }
.demo-panel-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; }
.demo-image img { width: 100%; height: auto; border-top: 1px solid var(--line); }
.demo-controls { display: grid; gap: 8px; padding: 0 14px 14px; }
.demo-controls fieldset { margin: 0; padding: 3px 10px; border: 1px solid var(--panel-line); border-radius: 7px; min-width: 0; }
.demo-controls label { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; min-height: 40px; cursor: pointer; }
.demo-controls fieldset label + label { margin-left: 9px; }
.demo-controls input { width: 17px; height: 17px; margin: 0; accent-color: var(--blue); }
.demo-controls select { min-height: 39px; padding-inline: 8px; font: inherit; }
.demo-controls output { color: var(--quiet-ink); overflow-wrap: anywhere; }
.demo-map { display: block; width: 100%; height: auto; background: #0f213f; }
.demo-map text { fill: #c6d6ec; font-size: 12px; }
.demo-map .point-number { fill: #eef6ff; font-size: 14px; font-weight: 700; }
.demo-map .point-altitude { fill: #b8d0e8; font-size: 11px; }
.demo-map .map-point { cursor: pointer; }
.demo-map .map-point[aria-current="true"] .point-ring { stroke: #f5f7fc; stroke-width: 2; fill: none; }
.practice h3 { margin: 5px 0 14px; }
.practice ol { padding-left: 1.3rem; }
.practice li + li { margin-top: 10px; }
.practice li::marker { color: var(--accent); }
.practice code { color: var(--paper); overflow-wrap: anywhere; }
.download { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); align-items: center; gap: 28px clamp(25px, 6vw, 80px); }
.download .section-heading { margin-bottom: 0; }
.download-card h3 { margin: 9px 0 6px; }
.download-card .button { margin-top: 16px; }
.download-card .status { display: flex; align-items: center; gap: 7px; font-weight: 650; font-size: .87rem; color: #385d41; }
.status i { background: #558361; }
.download-card .status[data-ready="false"] { color: #785016; }
.status[data-ready="false"] i { background: #9d6924; }
#release-notes { white-space: pre-line; }
.release-news { background: #eff4f8; }
.installation { list-style: none; padding: 0; margin: 0; counter-reset: install; }
.installation li::before { counter-increment: install; content: '0' counter(install); display: block; color: var(--blue); font-size: .76rem; font-weight: 700; margin-bottom: 5px; }
.guide-notes { margin-top: 26px; }
.contact { padding-block: 26px 22px; background: var(--deep); }
.contact-grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.contact-grid h2 { margin-bottom: 14px; }
.contact-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 15px; font-style: normal; }
.contact-links a:not(.button) { color: var(--paper); text-underline-offset: 4px; overflow-wrap: anywhere; }
.footer-line { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 7px; margin-top: 27px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--subtle); font-size: .83rem; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .hero-copy { animation: arrive .52s ease-out both; }
  .workbench { animation: arrive .6s .06s ease-out both; }
  .button, .quiet, .text-link { transition: color .17s ease, background-color .17s ease; }
  @keyframes arrive { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
}
@media (max-width: 900px) {
  .frame { width: calc(100% - 44px); }
  .navigation nav { gap: 7px 14px; }
  .hero { grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr); }
}
@media (max-width: 690px) {
  .frame { width: calc(100% - 34px); }
  .navigation { display: grid; gap: 7px; justify-content: stretch; padding-block: 9px; }
  .navigation nav { display: flex; gap: 2px 8px; }
  .navigation nav a { display: inline-flex; align-items: center; min-height: 32px; font-size: .83rem; }
  .navigation .nav-download { padding: 2px 6px; }
  section[id], footer[id], #fichiers { scroll-margin-top: 108px; }
  .hero, .demo-grid, .download { grid-template-columns: minmax(0, 1fr); }
  .hero { margin-top: 14px; }
  .functions, .installation, .tutorial-grid { grid-template-columns: minmax(0, 1fr); gap: 15px; }
  .resources { grid-template-columns: minmax(0, 1fr); }
  .workbench figcaption { flex-wrap: wrap; gap: 3px 10px; }
}
@media (max-width: 480px) {
  .navigation .nav-download { display: none; }
  .hero h1 { font-size: clamp(1.62rem, 8vw, 2.05rem); }
}
@media (max-width: 360px) {
  section[id], footer[id], #fichiers { scroll-margin-top: 142px; }
}
