/* Le site est un ordinateur d'entraînement : coque marine du logo, écran interactif en
   accueil, et chaque cours lu sur une feuille claire. L'anneau cyan vient du logo. */
@view-transition { navigation: auto; }

:root {
  --bg: #070f2b;
  --panel: #0f1d45;
  --panel-2: #172a5d;
  --line: rgb(160 186 230 / .2);
  --text: #f3f7ff;
  --text-2: #b6c5e0;
  --cyan: #4fe3e6;
  --navy: #0f1d45;

  --sheet: #ffffff;
  --sheet-2: #eef6f8;
  --sheet-line: #d5e2e9;
  --ink: #14204a;
  --ink-2: #475773;
  --blue: #17588a;
  --cyan-soft: #d5f5f6;
  --warn-bg: #fff1cf;
  --warn-ink: #5c3d00;

  --display: "Sora", "Segoe UI", Arial, sans-serif;
  --body: "Onest", "Segoe UI", Arial, sans-serif;
  --mono: "JetBrains Mono", Consolas, Menlo, monospace;
  --r: 1.5rem;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; background: var(--bg); overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1.0625rem/1.65 var(--body); overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-underline-offset: .22em; text-decoration-thickness: 1px; }
h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); font-weight: 700; letter-spacing: -.025em; word-spacing: .06em; line-height: 1.08; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.9rem); font-weight: 700; letter-spacing: -.02em; word-spacing: .05em; }
h3 { font-size: 1.3rem; font-weight: 600; letter-spacing: -.015em; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
::selection { background: var(--cyan); color: var(--navy); }

.wrap { width: 100%; max-width: 80rem; margin-inline: auto; padding-inline: clamp(20px, 4vw, 40px); }
.skip { position: absolute; left: 1rem; top: -5rem; z-index: 40; padding: .6rem 1rem; border-radius: .6rem; background: var(--cyan); color: var(--navy); }
.skip:focus { top: .6rem; }
.intro { max-width: 40rem; margin-top: 1rem; color: var(--text-2); font-size: 1.125rem; }
.section { padding-block: clamp(3.5rem, 8vw, 7rem); }
.section + .section { padding-top: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: .95rem 1.6rem; border: 0; border-radius: .9rem; background: var(--cyan); color: var(--navy); font: 600 1rem/1.2 var(--body); text-align: center; text-decoration: none; cursor: pointer; transition: background-color .2s, transform .2s var(--ease); }
.btn:hover { background: #fff; }
.btn:active { transform: scale(.97); }
.btn--soft { background: var(--panel-2); color: var(--text); }
.btn--soft:hover { background: #fff; color: var(--navy); }
.btn--small { padding: .7rem 1.15rem; font-size: .97rem; }
.btn:disabled { opacity: .6; cursor: progress; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* En-tête */
.top { position: sticky; top: 0; z-index: 20; background: rgb(7 15 43 / .82); border-bottom: 1px solid var(--line); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.top__in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.5rem; }
.brand { display: flex; align-items: center; gap: .75rem; color: var(--text); font: 700 1.15rem/1 var(--display); text-decoration: none; }
.brand img { width: 4.3rem; padding: .35rem .5rem; border-radius: .7rem; background: #fff; }
.brand small { display: block; margin-top: .3rem; color: var(--text-2); font: 400 .88rem/1 var(--body); }
.menu { display: flex; align-items: center; gap: clamp(1rem, 1.9vw, 2.1rem); }
.menu a { white-space: nowrap; }
.menu a:not(.btn) { color: var(--text); font-weight: 500; text-decoration: none; }
.menu a:not(.btn):hover { color: var(--cyan); }
.burger { display: none; padding: .7rem 1.15rem; border: 0; border-radius: .9rem; background: var(--panel-2); color: var(--text); font: 600 1rem/1.2 var(--body); cursor: pointer; }

.drop { position: relative; }
.drop button { display: flex; align-items: center; gap: .5rem; padding: .4rem 0; border: 0; background: none; color: var(--text); font: 500 1.0625rem/1.4 var(--body); cursor: pointer; }
.drop button::after { content: ""; width: .48rem; height: .48rem; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-.12rem) rotate(45deg); transition: transform .2s; }
.drop button[aria-expanded="true"]::after { transform: translateY(.12rem) rotate(225deg); }
.drop button:hover { color: var(--cyan); }
.drop__panel { position: absolute; top: calc(100% + 1.1rem); left: -1.25rem; width: 20rem; max-height: calc(100vh - 7rem); overflow-y: auto; padding: 1.25rem; border: 1px solid var(--line); border-radius: 1.1rem; background: var(--panel); box-shadow: 0 24px 60px rgb(0 0 0 / .5); }
.drop__panel p, .others p { color: var(--text-2); font-size: .95rem; }
.drop__panel ul + p, .others ul + p { margin-top: .9rem; }
.drop__panel li a { display: block; margin-inline: -.6rem; padding: .5rem .6rem; border-radius: .6rem; white-space: normal; }
.drop__panel li a:hover { background: var(--panel-2); }
.drop__panel a[aria-current] { color: var(--cyan) !important; }

/* Accueil */
.hero { position: relative; padding-block: clamp(2.25rem, 4.5vw, 4rem) clamp(3rem, 7vw, 5.5rem); overflow: clip; }
.hero__text { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr); align-items: end; gap: 1.75rem clamp(2rem, 5vw, 4.5rem); }
.hero__side { display: grid; gap: 1.5rem; }
.lead { max-width: 34rem; color: var(--text-2); font-size: 1.15rem; }
.stage-wrap { position: relative; isolation: isolate; margin-top: clamp(2.75rem, 5.5vw, 5rem); }
.stage { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); border: 1px solid var(--line); border-radius: calc(var(--r) + .4rem); background: var(--panel); }
.orbit { position: absolute; z-index: -1; left: -7%; top: -20%; width: 114%; height: 140%; overflow: visible; max-width: none; pointer-events: none; }
.orbit ellipse { fill: none; stroke: var(--cyan); stroke-width: 3; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.orbit .halo { stroke-width: 12; opacity: .16; }
.orbit .run { stroke: #fff; stroke-width: 4; stroke-dasharray: 5 95; animation: orbit 9s linear infinite; }
@keyframes orbit { to { stroke-dashoffset: -100; } }
.screen { position: relative; z-index: 1; display: flex; flex-direction: column; min-height: 25rem; margin: .6rem; padding: clamp(1.25rem, 3vw, 2.5rem); border-radius: var(--r); background: #030818; font-family: var(--mono); }
.screen h2 { font: 600 clamp(1.05rem, 1.8vw, 1.3rem)/1.4 var(--mono); letter-spacing: 0; color: var(--cyan); }
.screen > p { margin-top: .35rem; color: var(--text-2); font-size: .98rem; line-height: 1.55; }
.opts { display: grid; gap: .5rem; margin-top: 1.6rem; }
.opts button { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .1rem 1.5rem; width: 100%; padding: .85rem 1.1rem; border: 1px solid rgb(160 186 230 / .28); border-radius: .7rem; background: none; color: var(--text); text-align: left; cursor: pointer; transition: background-color .15s, color .15s; }
.opts button span { color: var(--text-2); }
.opts button:hover, .opts button:focus-visible { background: var(--cyan); color: var(--navy); outline-offset: 2px; }
.opts button:hover span, .opts button:focus-visible span { color: var(--navy); }
.bar { height: 1rem; margin-top: 1.75rem; overflow: hidden; border-radius: 99px; background: var(--panel-2); }
.bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--cyan); transition: width .25s linear; }
.screen .actions { margin-top: 1.75rem; }
.screen .btn { font-family: var(--body); }
.coach { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 1.25rem; padding: clamp(1.5rem, 3vw, 2.5rem); }
.coach h2 { font-size: 1.5rem; }
.coach > p { color: var(--text-2); }
.coach ol { display: grid; gap: .25rem; margin-top: auto; }
.coach li { display: flex; align-items: center; gap: .85rem; padding-block: .65rem; color: var(--text-2); }
.coach li::before { content: ""; flex: none; width: .85rem; height: .85rem; border: 2px solid currentColor; border-radius: 50%; transition: background-color .3s, box-shadow .3s; }
.coach li.is-on { color: var(--text); font-weight: 600; }
.coach li.is-on::before { border-color: var(--cyan); box-shadow: 0 0 0 5px rgb(79 227 230 / .2); }
.coach li.is-done::before { border-color: var(--cyan); background: var(--cyan); }

/* Cours */
.courses { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1.1rem; margin-top: 2.75rem; }
.course { position: relative; grid-column: span 4; display: flex; flex-direction: column; gap: 1rem; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); transition: background-color .25s, transform .35s var(--ease); }
.course:nth-child(1) { grid-column: span 7; }
.course:nth-child(2) { grid-column: span 5; }
.course:hover { background: var(--panel-2); transform: translateY(-4px); }
.course img { width: 100%; margin-block: auto; }
.course div { display: grid; gap: .5rem; margin-top: auto; }
.course h3 { font-size: 1.45rem; }
.course:nth-child(1) h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.course h3 a { color: var(--text); text-decoration: none; }
.course h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--r); }
.course h3 a:focus-visible { outline: 0; }
.course:has(a:focus-visible) { outline: 3px solid var(--cyan); outline-offset: 3px; }
.course p { color: var(--text-2); }
.course .meta { color: var(--cyan); font-weight: 500; }

.program { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem clamp(1.5rem, 4vw, 3.5rem); margin-top: 2.75rem; }
.program h3 { padding-bottom: .9rem; border-bottom: 2px solid var(--cyan); }
.program li { padding-block: .8rem; border-bottom: 1px solid var(--line); color: var(--text-2); }

.who { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; margin-top: 2.5rem; }
.who > div { padding: clamp(1.5rem, 3.5vw, 2.75rem); border-radius: var(--r); background: var(--panel); }
.who > div:last-child { background: var(--sheet); color: var(--ink); }
.who h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.who p { margin-top: .9rem; color: var(--text-2); }
.who > div:last-child p { color: var(--ink-2); }

.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 2rem clamp(2rem, 5vw, 4rem); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; padding-block: 1.3rem; font: 600 1.15rem/1.4 var(--display); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; color: var(--cyan); font: 400 1.8rem/1 var(--body); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--cyan); }
.faq details p { max-width: 44rem; padding-bottom: 1.5rem; color: var(--text-2); }

/* Inscription : seul aplat cyan du site */
.signup { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2.5rem clamp(2rem, 5vw, 5rem); max-width: calc(80rem - 2 * clamp(20px, 4vw, 40px)); width: calc(100% - 2 * clamp(20px, 4vw, 40px)); padding: clamp(1.5rem, 5vw, 4.5rem); border-radius: calc(var(--r) + .5rem); background: var(--cyan); color: var(--navy); }
.signup > div:first-child { display: grid; gap: 1.1rem; align-content: start; }
.signup h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
.signup a { color: inherit; }
.signup :focus-visible { outline-color: var(--navy); }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; color-scheme: light; }
.thanks { display: grid; gap: .75rem; padding: 2rem; border-radius: var(--r); background: var(--navy); color: var(--text); }
.thanks a { color: var(--cyan); }
.field { display: grid; gap: .45rem; align-content: start; min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.field label, .field legend { padding: 0; font-weight: 600; }
fieldset.field { padding: 0; border: 0; }
.field legend { margin-bottom: .55rem; }
.field input:not([type="checkbox"], [type="radio"]), .field textarea { width: 100%; min-height: 3.25rem; padding: .8rem 1rem; border: 2px solid transparent; border-radius: .9rem; background: #fff; color: var(--ink); font: 400 1rem/1.4 var(--body); }
.field input:not([type="checkbox"], [type="radio"]):focus, .field textarea:focus { border-color: var(--navy); outline: 0; }
.field textarea { resize: vertical; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips label { position: relative; padding: .65rem 1.05rem; border: 2px solid var(--navy); border-radius: 99px; font-weight: 500; line-height: 1.25; cursor: pointer; transition: background-color .15s, color .15s; }
.chips label:hover { background: rgb(15 29 69 / .1); }
.chips input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chips label:has(:checked) { background: var(--navy); color: #fff; }
.chips label:has(:focus-visible) { outline: 3px solid var(--navy); outline-offset: 2px; }
.field .check { display: flex; align-items: flex-start; gap: .7rem; font-weight: 400; cursor: pointer; }
.check input { flex: none; width: 1.3rem; height: 1.3rem; margin: .2rem 0 0; accent-color: var(--navy); }
.form .btn { background: var(--navy); color: #fff; }
.form .btn:hover { background: #fff; color: var(--navy); }
.trap { position: absolute; left: -9999px; }
.status:empty { display: none; }
.status[data-kind="error"] { padding: 1rem 1.15rem; border-radius: .9rem; background: #fff; color: var(--ink); }
.status a { font-weight: 600; }

/* Page de cours : coque sombre, feuille claire */
.lesson-head { padding-block: clamp(2.25rem, 5vw, 4.5rem) clamp(5rem, 9vw, 8rem); }
.lesson-head .wrap { display: grid; gap: 1.25rem; }
.lesson-head h1 { font-size: clamp(2.1rem, 5vw, 4rem); }
.facts { display: flex; flex-wrap: wrap; gap: .75rem 2.75rem; margin-top: .5rem; }
.facts dt { color: var(--text-2); font-size: .95rem; }
.facts dd { font-weight: 600; }
.lesson { position: relative; display: grid; grid-template-columns: 17rem minmax(0, 46rem); justify-content: space-between; gap: clamp(2rem, 5vw, 4.5rem); margin-top: calc(-1 * clamp(2.75rem, 4vw, 3.5rem)); margin-bottom: clamp(2rem, 5vw, 4rem); padding: clamp(1.5rem, 5vw, 4rem); border-radius: calc(var(--r) + .5rem); background: var(--sheet); color: var(--ink); color-scheme: light; }
@media (min-width: 48rem) { .lesson { width: calc(100% - 2 * clamp(20px, 4vw, 40px)); max-width: calc(80rem - 80px); } }
.lesson a:not(.btn) { color: var(--blue); }
.lesson :focus-visible { outline-color: var(--blue); }
.toc { position: sticky; top: 6.5rem; align-self: start; max-height: calc(100vh - 8rem); overflow-y: auto; display: grid; gap: .9rem; }
.toc ol { counter-reset: toc; }
.toc li { counter-increment: toc; }
.lesson .toc a { display: flex; gap: .7rem; padding: .38rem 0; color: var(--ink-2); line-height: 1.4; text-decoration: none; }
.toc a::before { content: counter(toc); flex: none; min-width: 1.2rem; color: var(--blue); font-weight: 600; }
.lesson .toc a:hover { color: var(--blue); text-decoration: underline; }
.toc a.is-done::before { content: "✓"; }
.toc progress { width: 100%; height: .65rem; border: 0; border-radius: 99px; overflow: hidden; appearance: none; background: var(--sheet-2); }
.toc progress::-webkit-progress-bar { background: var(--sheet-2); }
.toc progress::-webkit-progress-value { border-radius: 99px; background: var(--blue); transition: width .4s var(--ease); }
.toc progress::-moz-progress-bar { background: var(--blue); }
.toc > p { font: 600 1.05rem/1.3 var(--display); }
.others { padding-top: 1rem; border-top: 1px solid var(--sheet-line); }
.others summary { margin-bottom: .6rem; font-weight: 600; cursor: pointer; }
.others p { color: var(--ink-2); }
.toc .others li a::before { content: none; }
.lesson .others a[aria-current] { color: var(--blue); font-weight: 600; }
.lesson article { display: grid; gap: 4rem; min-width: 0; counter-reset: step; }
.step, .after { display: grid; gap: 1.1rem; min-width: 0; }
.step { counter-increment: step; }
.step h2, .after h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); }
.step h2::before { content: counter(step); display: block; margin-bottom: .5rem; color: var(--blue); font-size: clamp(2.75rem, 5vw, 3.75rem); line-height: 1; letter-spacing: -.04em; }
.step ul, .step ol, .after ul { display: grid; gap: .55rem; padding-left: 1.4rem; list-style: disc; }
.step ol { list-style: decimal; }
.step li::marker { color: var(--blue); font-weight: 600; }
.step figure img { width: 100%; border-radius: 1.1rem; }
.step figcaption { margin-top: .7rem; color: var(--ink-2); font-size: .98rem; }
.note { padding: 1.1rem 1.35rem; border-radius: 1.1rem; background: var(--cyan-soft); }
.note--warn { background: var(--warn-bg); color: var(--warn-ink); }
code { padding: .18em .5em; border-radius: .4rem; background: var(--sheet-2); color: var(--ink); font: 500 .92em var(--mono); overflow-wrap: anywhere; }
p > code:only-child { display: block; padding: .85rem 1.1rem; border-radius: .8rem; background: #030818; color: var(--cyan); }
li p > code:only-child, .step li code { display: inline; }
.done { display: inline-flex; align-items: center; gap: .65rem; justify-self: start; padding: .7rem 1.25rem; border: 2px solid var(--sheet-line); border-radius: 99px; font-weight: 600; cursor: pointer; transition: background-color .2s, border-color .2s; }
.done:hover { border-color: var(--blue); }
.done input { width: 1.2rem; height: 1.2rem; margin: 0; accent-color: var(--blue); }
.done:has(input:checked) { border-color: var(--cyan); background: var(--cyan); }
.tools { display: grid; gap: .75rem; padding: 1.5rem 1.75rem; border-radius: var(--r); background: var(--sheet-2); }
.tools h2 { font-size: 1.3rem; letter-spacing: -.01em; }
.tools li { display: flex; flex-wrap: wrap; gap: 0 .75rem; padding-block: .3rem; }
.tools li a { font-weight: 600; }
.tools li span { color: var(--ink-2); }
.next { display: grid; gap: 1.1rem; justify-items: start; padding: clamp(1.5rem, 4vw, 2.75rem); border-radius: var(--r); background: var(--navy); color: var(--text); }
.next h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); }
.next p { color: var(--text-2); }

/* Avancement de lecture, sans script */
@supports (animation-timeline: scroll()) {
  .lesson-head::before { content: ""; position: fixed; top: 0; left: 0; z-index: 30; right: 0; height: 3px; background: var(--cyan); transform-origin: 0 50%; animation: read linear both; animation-timeline: scroll(root); }
  @keyframes read { from { transform: scaleX(0); } }
}

/* Logiciels */
.finder { display: grid; gap: 1.1rem; margin-top: 2.25rem; }
.finder input { width: 100%; max-width: 34rem; min-height: 3.4rem; padding: .8rem 1.2rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--panel); color: var(--text); font-size: 1.05rem; }
.finder ::placeholder { color: var(--text-2); opacity: 1; }
.jump { display: flex; flex-wrap: wrap; gap: .5rem; }
.jump a { padding: .55rem 1.05rem; border: 1px solid var(--line); border-radius: 99px; color: var(--text); text-decoration: none; }
.jump a:hover { border-color: var(--cyan); color: var(--cyan); }
.tool-group { margin-top: 3.5rem; }
.tool-group h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.tool-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); gap: 1.1rem; margin-top: 1.25rem; }
.tool-list li { display: flex; flex-direction: column; align-items: flex-start; gap: .6rem; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); transition: background-color .25s; }
.tool-list li:hover { background: var(--panel-2); }
.tool-list li:target { border-color: var(--cyan); }
.tool-list p { color: var(--text-2); }
.tool-list li > a { margin-top: auto; padding-top: .5rem; font-weight: 600; }
.tips { display: grid; gap: .6rem; max-width: 46rem; margin-top: 1.1rem; padding-left: 1.3rem; color: var(--text-2); list-style: disc; }
.tips li::marker { color: var(--cyan); }
.empty { margin-top: 2.5rem; color: var(--text-2); }

.text { display: grid; gap: 1rem; }
.text > * { max-width: 46rem; }
.text h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
.text h2 { margin-top: 1.5rem; font-size: 1.5rem; }
.text p { color: var(--text-2); }

/* Cookies */
.cookies { position: fixed; inset: auto 1rem 1rem; z-index: 25; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; max-width: 60rem; margin-inline: auto; padding: 1.2rem 1.5rem; border-radius: var(--r); background: #fff; color: var(--ink); box-shadow: 0 16px 60px rgb(0 0 0 / .55); }
.cookies p { flex: 1 1 22rem; }
.cookies a { color: var(--blue); }
.cookies .btn { background: var(--navy); color: #fff; }
.cookies .btn:hover { background: var(--blue); }
.cookies :focus-visible { outline-color: var(--blue); }

/* Pied de page */
.foot { padding-block: 2.5rem; border-top: 1px solid var(--line); }
.foot__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 2.5rem; }
.foot img { width: 7rem; padding: .8rem; border-radius: 1.1rem; background: #fff; }
.foot nav { display: flex; flex-wrap: wrap; gap: .75rem 1.75rem; }
.foot a, .foot button { color: var(--text); text-decoration: none; }
.foot a:hover, .foot button:hover { color: var(--cyan); }
.foot button { padding: 0; border: 0; background: none; cursor: pointer; }
.foot p { color: var(--text-2); }

@media (max-width: 62rem) {
  .burger { display: block; }
  .menu { display: none; position: absolute; inset: 100% 0 auto; flex-direction: column; align-items: stretch; gap: 0; max-height: calc(100vh - 4.5rem); overflow-y: auto; padding: .5rem 20px 1.5rem; border-bottom: 1px solid var(--line); background: var(--bg); }
  .menu.is-open { display: flex; }
  .menu a:not(.btn) { padding-block: .85rem; }
  .menu .btn { margin-top: .75rem; }
  .drop button { width: 100%; justify-content: space-between; padding-block: .85rem; }
  .drop__panel { position: static; width: auto; max-height: none; padding: .25rem 0 .75rem 1rem; border: 0; border-radius: 0; background: none; box-shadow: none; }
  .lesson { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; max-height: none; padding: 1.35rem; border-radius: var(--r); background: var(--sheet-2); }
  .toc progress, .toc progress::-webkit-progress-bar { background: #fff; }
}
@media (max-width: 56rem) {
  .hero__text, .stage, .faq, .signup { grid-template-columns: minmax(0, 1fr); }
  .course, .course:nth-child(n) { grid-column: span 6; }
  .course:nth-child(1) { grid-column: 1 / -1; }
  .program { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .orbit { display: none; }
}
@media (max-width: 38rem) {
  :root { --r: 1.2rem; }
  .course:nth-child(n) { grid-column: 1 / -1; }
  .program, .who, .form { grid-template-columns: minmax(0, 1fr); }
  .brand small { display: none; }
  .screen { min-height: 23rem; }
  .coach { padding-top: 1rem; }
  .lesson { padding: 1.5rem 20px 2rem; border-radius: var(--r); }
  .step figure img { width: calc(100% + 40px); max-width: none; margin-inline: -20px; border-radius: 0; }
}
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .orbit .run { display: none; animation: none; }
  .course:hover { transform: none; }
}
