@property --a { syntax: "<color>"; inherits: true; initial-value: #0a84ff; }
@property --b { syntax: "<color>"; inherits: true; initial-value: #8e5cff; }
:root {
  color-scheme: dark;
  --page: #000;
  --pop: rgba(36, 36, 40, .96);
  --ink: 255, 255, 255;
  --a: #0a84ff;
  --b: #8e5cff;
  --bg: #000;
  --bg2: rgba(var(--ink), .065);
  --tile: rgba(var(--ink), .08);
  --text: #f5f5f7;
  --sub: #a1a1a6;
  --line: rgba(var(--ink), .13);
  --blue: #2997ff;
  --link: #2997ff;
  --green: #30d158;
  --green-bg: rgba(48, 209, 88, .16);
  --red: #ff6961;
  --red-bg: rgba(255, 105, 97, .16);
  --glass: rgba(16, 16, 18, .66);
  --iri: linear-gradient(100deg, #0a84ff 0%, #8e5cff 45%, #ec4fa0 75%, #ff8a3d 100%);
  --grad: linear-gradient(100deg, var(--a), var(--b));
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", system-ui, sans-serif;
  --mono: "SF Mono", Menlo, Consolas, monospace;
  --read: 692px;
  --wide: 1080px;
  transition: --a 900ms ease, --b 900ms ease;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 64px; }
body {
  margin: 0; background: var(--page); color: var(--text); transition: background-color 400ms ease, color 300ms ease;
  font: 400 1.0625rem/1.5 var(--font);
  letter-spacing: -.01em;
  -webkit-font-smoothing: antialiased;
  font-optical-sizing: auto;
}
a { color: var(--link); text-decoration: none; }
@media (hover: hover) and (pointer: fine) { p a:hover, .sources a:hover { text-decoration: underline; } }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
#main:focus { outline: none; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 8px; z-index: 20; background: var(--tile); padding: 6px 12px; border-radius: 8px; }
code { font: 400 .9em var(--mono); background: var(--bg2); padding: 1px 6px; border-radius: 6px; }

/* Навигация */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: var(--glass);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
}
.nav-in { max-width: var(--wide); margin: 0 auto; height: 48px; padding: 0 22px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav-brand { color: var(--text); font-weight: 600; font-size: 1.125rem; letter-spacing: -.02em; white-space: nowrap; }
.nav nav { display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none; }
.nav nav::-webkit-scrollbar { display: none; }
.nav nav a { color: var(--text); opacity: .72; font-size: .875rem; white-space: nowrap; transition: opacity 150ms ease; }
.nav nav a[aria-current="page"] { opacity: 1; font-weight: 500; }
@media (hover: hover) and (pointer: fine) { .nav nav a:hover { opacity: 1; } }
.reading-bar {
  position: fixed; top: 48px; left: 0; right: 0; height: 2px; z-index: 9;
  background: var(--grad); transform: scaleX(0); transform-origin: left; visibility: hidden;
}
.reading-bar.on { visibility: visible; }

/* Кнопки */
.btn {
  display: inline-block; border: 0; border-radius: 980px; cursor: pointer;
  background: var(--blue); color: #fff; font: 500 1.0625rem/1 var(--font); letter-spacing: -.01em;
  padding: 13px 24px; transition: transform 120ms ease-out, opacity 150ms ease;
}
.btn:active { transform: scale(.97); }
.btn.quiet { background: var(--bg2); color: var(--link); }
.btn.small { font-size: .9375rem; padding: 9px 16px; }
.btn[disabled] { opacity: .4; cursor: default; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.textlink { font-size: 1.0625rem; color: var(--link); }

/* Главная: герой */
.hero { position: relative; background: transparent; text-align: center; overflow: hidden; color: var(--text); min-height: calc(100vh - 48px); min-height: calc(100svh - 48px); display: flex; flex-direction: column; }
.hero-text { position: relative; z-index: 1; padding: clamp(56px, 10vh, 112px) 22px 0; }
.hero h1 {
  margin: 0 auto; max-width: 13em;
  font-size: clamp(3rem, 9vw, 6.5rem); line-height: 1.04; font-weight: 700; letter-spacing: -.035em;
  background: var(--iri); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p { margin: 20px auto 28px; max-width: 30em; font-size: clamp(1.1875rem, 2.2vw, 1.5rem); line-height: 1.35; color: var(--sub); letter-spacing: -.015em; }
.hero .textlink { color: var(--link); }
.hero canvas { position: absolute; inset: auto 0 0 0; width: 100%; height: 56%; display: block; }
.hero-rise { animation: rise 900ms var(--ease) both; }
.hero-rise.d2 { animation-delay: 120ms; }
.hero-rise.d3 { animation-delay: 240ms; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

/* Крупные секции */
.band { padding: clamp(64px, 11vw, 120px) 22px; }
.band.alt { background: transparent; }
.band-in { max-width: var(--wide); margin: 0 auto; }
.big {
  font-size: clamp(2.25rem, 5.5vw, 4rem); line-height: 1.07; font-weight: 700; letter-spacing: -.03em;
  margin: 0 0 16px;
}
.lead { font-size: clamp(1.1875rem, 2vw, 1.5rem); line-height: 1.38; color: var(--sub); max-width: 34em; margin: 0 0 40px; letter-spacing: -.015em; font-weight: 500; }

/* Продолжить */
.resume {
  display: flex; align-items: center; gap: 24px; padding: 24px 28px; background: var(--tile); border-radius: 24px; color: var(--text);
  transition: transform 160ms var(--ease); margin-bottom: 16px;
}
.resume:active { transform: scale(.99); }
.resume b { display: block; font-size: 1.375rem; line-height: 1.2; letter-spacing: -.02em; font-weight: 600; }
.resume span { color: var(--sub); font-size: .9375rem; }

/* Как устроен урок */
.steps4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin: 0; padding: 0; list-style: none; }
.steps4 b { display: block; font-size: 1.3125rem; font-weight: 600; letter-spacing: -.02em; margin-bottom: 6px; }
.steps4 span { color: var(--sub); font-size: 1rem; line-height: 1.42; }

/* Разделы курса */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile {
  grid-column: span 2; min-height: 300px; padding: 28px; border-radius: 24px; background: var(--tile); color: var(--text);
  display: flex; flex-direction: column; position: relative; overflow: hidden;
  transition: transform 220ms var(--ease);
}
.tile.w3 { grid-column: span 3; }
.tile.w4 { grid-column: span 4; }
.tile.w6 { grid-column: span 6; min-height: 260px; }
.tile:active { transform: scale(.985); }
@media (hover: hover) and (pointer: fine) { .tile:hover { transform: scale(1.012); } }
.tile svg.ic { width: 44px; height: 44px; fill: none; stroke: url(#iri); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: auto; }
.tile h3 { margin: 24px 0 8px; font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.12; letter-spacing: -.025em; font-weight: 700; }
.tile p { margin: 0; color: var(--sub); font-size: 1rem; line-height: 1.4; }
.tile-foot { margin-top: 14px; font-size: .875rem; color: var(--sub); }
.tile-track { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; }
.tile-track i { display: block; height: 100%; background: var(--iri); transform-origin: left; }

/* Инструменты на главной */
.links3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.links3 a { background: var(--bg2); border-radius: 20px; padding: 24px; color: var(--text); transition: transform 160ms var(--ease); }
.links3 a:active { transform: scale(.985); }
.links3 b { display: block; font-size: 1.25rem; letter-spacing: -.02em; font-weight: 600; margin-bottom: 4px; }
.links3 span { color: var(--sub); font-size: .9375rem; line-height: 1.4; display: block; }
.foot { padding: 28px 22px 44px; text-align: center; color: var(--sub); font-size: .8125rem; }

/* Появление при прокрутке */
.rise { opacity: 0; translate: 0 26px; scale: .985; transition: opacity 800ms var(--ease), translate 800ms var(--ease), scale 800ms var(--ease); }
.rise.in { opacity: 1; translate: 0 0; scale: 1; }

/* Страница раздела и обычные страницы */
.head { max-width: var(--wide); margin: 0 auto; padding: clamp(48px, 8vw, 88px) 22px 32px; }
.head h1 { font-size: clamp(2.5rem, 6.5vw, 4.5rem); line-height: 1.05; font-weight: 700; letter-spacing: -.032em; margin: 0 0 14px; }
.head p { font-size: clamp(1.1875rem, 2vw, 1.4375rem); line-height: 1.38; color: var(--sub); margin: 0; max-width: 34em; letter-spacing: -.015em; font-weight: 500; }
.crumb { display: inline-block; font-size: .9375rem; margin-bottom: 14px; }
.wrap { max-width: var(--wide); margin: 0 auto; padding: 0 22px 88px; }
.wrap.read { max-width: calc(var(--read) + 44px); }

.group { list-style: none; margin: 0; padding: 0; background: var(--bg2); border-radius: 18px; overflow: hidden; }
.group a { display: flex; align-items: center; gap: 14px; padding: 15px 18px; color: var(--text); transition: background-color 120ms ease; }
.group li + li a { box-shadow: inset 0 1px 0 var(--line); }
.group a:active { background: var(--line); }
.group .n { color: var(--sub); font-size: .9375rem; min-width: 26px; font-variant-numeric: tabular-nums; }
.group .t { flex: 1; min-width: 0; line-height: 1.3; }
.group .s { color: var(--sub); font-size: .9375rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.group .s.ok { color: var(--green); font-weight: 500; }
.group .chev { color: var(--sub); opacity: .6; font-size: 1.25rem; line-height: 1; }

/* Урок */
.l-head { text-align: center; padding: clamp(48px, 8vw, 96px) 22px 36px; }
.l-head h1 { font-size: clamp(2.5rem, 7vw, 5rem); line-height: 1.05; font-weight: 700; letter-spacing: -.034em; margin: 0 auto 14px; max-width: 13em; }
.l-meta { color: var(--sub); font-size: 1.0625rem; margin: 0; }
.sec { max-width: calc(var(--read) + 44px); margin: 0 auto; padding: 36px 22px; }
.sec h2 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); line-height: 1.1; letter-spacing: -.028em; font-weight: 700; margin: 0 0 20px; }
.prose p { font-size: 1.3125rem; line-height: 1.5; letter-spacing: -.016em; margin: 0 0 20px; }
.prose p:last-child { margin-bottom: 0; }
.prose b { font-weight: 600; }

.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.facts li { background: var(--bg2); border-radius: 16px; padding: 16px 20px; font-size: 1.0625rem; line-height: 1.45; }
.facts b { font-weight: 600; }

.notes { list-style: none; margin: 0 0 18px; padding: 0; }
.notes li { position: relative; padding: 11px 0 11px 28px; font-size: 1.1875rem; line-height: 1.4; letter-spacing: -.014em; font-weight: 500; }
.notes li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 10px; height: 10px; border-radius: 50%; background: var(--grad); }
.notes li + li { box-shadow: inset 0 1px 0 var(--line); }
.notes li + li::before { top: 20px; }

.statement { background: transparent; color: var(--text); text-align: center; padding: clamp(72px, 12vw, 140px) 22px; margin: 36px 0; }
.statement small { display: block; color: var(--sub); font-size: 1.0625rem; margin-bottom: 14px; letter-spacing: -.01em; }
.statement p {
  margin: 0 auto; max-width: 16em; font-size: clamp(2rem, 5.4vw, 3.75rem); line-height: 1.1; font-weight: 700; letter-spacing: -.03em;
}

/* Интерактивные окна */
.tool { background: var(--bg2); border-radius: 24px; padding: 24px 26px; margin: 0; }
.tool h3 { font-size: 1.5rem; line-height: 1.2; letter-spacing: -.022em; font-weight: 700; margin: 0 0 8px; }
.tool p { font-size: 1rem; line-height: 1.45; color: var(--sub); margin: 0 0 16px; }
.tool label { display: block; font-size: .9375rem; line-height: 1.4; margin-bottom: 14px; }
.tool input[type=range] { width: 100%; accent-color: var(--blue); margin-top: 6px; }
.tool input[type=checkbox] { accent-color: var(--blue); width: 18px; height: 18px; vertical-align: -3px; margin-right: 6px; }
.tool select, .tool textarea, .tool input[type=text], .tool input[type=number] {
  display: block; width: 100%; margin-top: 6px; font: 400 1rem/1.4 var(--font); padding: 10px 12px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--tile); color: var(--text);
}
.tool textarea { resize: vertical; min-height: 92px; }
.tool textarea.code { font: 400 .875rem/1.45 var(--mono); min-height: 140px; tab-size: 2; }
.tool .result { color: var(--text); font-size: 1.3125rem; line-height: 1.3; font-weight: 600; letter-spacing: -.02em; margin: 14px 0 0; }
.tool .btn { font-size: .9375rem; padding: 10px 18px; }
.tool .btn.ghost { background: var(--tile); color: var(--link); }
.chips { display: flex; flex-wrap: wrap; gap: 3px; margin: 12px 0; }
.chips span { font: 400 .875rem/1.6 var(--mono); padding: 0 4px; white-space: pre; border-radius: 5px; }
.chips span:nth-child(4n+1) { background: rgba(10, 132, 255, .2); }
.chips span:nth-child(4n+2) { background: rgba(142, 92, 255, .2); }
.chips span:nth-child(4n+3) { background: rgba(236, 79, 160, .18); }
.chips span:nth-child(4n) { background: rgba(255, 138, 61, .22); }
.bars { display: grid; gap: 8px; margin: 12px 0 16px; }
.bars div { display: grid; grid-template-columns: 96px 1fr 44px; gap: 10px; align-items: center; font-size: .9375rem; }
.bars i { display: block; height: 8px; border-radius: 4px; background: var(--iri); transform-origin: left; transition: transform 220ms var(--ease); }
.bars b { font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; }
.steps { list-style: none; margin: 12px 0 16px; padding: 0; }
.steps li { padding: 10px 14px; background: var(--tile); border-radius: 12px; margin-bottom: 6px; font-size: 1rem; line-height: 1.4; animation: rise 300ms var(--ease) both; }
.steps b { font-weight: 600; }
.steps li[data-k=tool] b { color: #b25000; }
.steps li[data-k=res] b { color: var(--green); }
.steps li[data-k=done] b { color: var(--link); }
.cmd {
  display: block; font: 400 .875rem/1.5 var(--mono); background: #1c1c1e; color: #f5f5f7; padding: 14px 16px; border-radius: 14px;
  white-space: pre-wrap; word-break: break-word; margin: 12px 0;
}
.tests { font: 400 .8125rem/1.5 var(--mono); margin: 12px 0 0; white-space: pre-wrap; }
.tests .y { color: var(--green); } .tests .n { color: var(--red); }

/* Тест: один вопрос на экране */
.quiz { background: var(--bg2); border-radius: 24px; padding: 28px; }
.quiz-bar { display: flex; gap: 4px; margin-bottom: 18px; }
.quiz-bar i { flex: 1; height: 4px; border-radius: 2px; background: var(--line); }
.quiz-bar i.done { background: var(--blue); }
.quiz-count { color: var(--sub); font-size: .9375rem; margin: 0 0 6px; }
.quiz-q { font-size: clamp(1.375rem, 2.8vw, 1.75rem); line-height: 1.2; letter-spacing: -.024em; font-weight: 700; margin: 0 0 18px; }
.choices { display: grid; gap: 8px; }
.choice {
  position: relative; text-align: left; width: 100%; background: var(--tile); border: 1.5px solid transparent; border-radius: 14px; padding: 13px 16px;
  font: 400 1.0625rem/1.35 var(--font); letter-spacing: -.01em; color: var(--text); cursor: pointer;
  transition: transform 120ms ease-out, border-color 150ms ease, background-color 150ms ease;
}
.choice:active:not([disabled]) { transform: scale(.985); }
@media (hover: hover) and (pointer: fine) { .choice:hover:not([disabled]) { border-color: var(--blue); } }
.choice[disabled] { cursor: default; }
.choice.yes { background: var(--green-bg); border-color: var(--green); color: var(--green); font-weight: 500; }
.choice.no { background: var(--red-bg); border-color: var(--red); color: var(--red); }
.explain { margin: 14px 0 16px; font-size: 1.0625rem; line-height: 1.45; animation: rise 260ms var(--ease) both; }
.explain b { font-weight: 600; }
.quiz-end { text-align: center; padding: 12px 0; }
.quiz-end h3 { font-size: 1.75rem; letter-spacing: -.025em; margin: 14px 0 6px; font-weight: 700; }
.quiz-end p { color: var(--sub); margin: 0 auto 18px; max-width: 26em; }
.ring { display: block; margin: 0 auto; transform: rotate(-90deg); }
.ring circle { fill: none; }
.ring .bg { stroke: var(--line); }
.ring .fg { stroke: url(#iri); stroke-linecap: round; transition: stroke-dashoffset 900ms var(--ease); }
.ring-box { position: relative; display: inline-block; flex: none; }
.ring-box span { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }

/* Практика */
.checks { list-style: none; margin: 0 0 16px; padding: 0; background: var(--bg2); border-radius: 18px; overflow: hidden; }
.checks li + li label { box-shadow: inset 0 1px 0 var(--line); }
.checks label { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; cursor: pointer; line-height: 1.4; }
.checks input { appearance: none; -webkit-appearance: none; flex: none; width: 22px; height: 22px; margin: 0; border-radius: 50%; border: 1.5px solid var(--sub); display: grid; place-items: center; cursor: pointer; transition: background-color 150ms ease, border-color 150ms ease; }
.checks input:checked { background: var(--blue); border-color: var(--blue); }
.checks input:checked::after { content: ""; width: 10px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: translateY(-1px) rotate(-45deg); }
.checks input:checked + span { color: var(--sub); }
.sources { font-size: .9375rem; color: var(--sub); margin: 0; }
.sources a { margin-right: 18px; display: inline-block; }

.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: calc(var(--read) + 44px); margin: 0 auto; padding: 24px 22px 88px; }
.pager a { background: var(--bg2); border-radius: 18px; padding: 16px 20px; color: var(--text); transition: transform 160ms var(--ease); min-width: 0; }
.pager a:active { transform: scale(.985); }
.pager a.next { grid-column: 2; text-align: right; }
.pager small { display: block; color: var(--sub); font-size: .875rem; }
.pager b { font-weight: 600; letter-spacing: -.015em; line-height: 1.25; display: block; }

/* Таблицы */
.table-wrap { overflow-x: auto; margin: 0 0 20px; }
.prose .table-wrap { font-size: 1rem; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { text-align: left; padding: 11px 12px 11px 0; line-height: 1.35; box-shadow: inset 0 -1px 0 var(--line); vertical-align: top; }
.table th { font-weight: 600; font-size: .9375rem; color: var(--sub); }
.table .num { text-align: right; padding-right: 0; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Конспект */
.note-mod { margin-bottom: 44px; }
.note-mod h2 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); letter-spacing: -.028em; line-height: 1.1; margin: 0 0 10px; font-weight: 700; }

/* Словарь */
.search { display: block; width: 100%; max-width: 440px; font: 400 1.0625rem/1.3 var(--font); padding: 12px 16px; border: 0; border-radius: 12px; background: var(--bg2); color: var(--text); margin-bottom: 14px; }
.words { margin: 26px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 40px; }
.words div { min-width: 0; }
.words dt { font-weight: 600; font-size: 1.1875rem; letter-spacing: -.018em; margin-bottom: 2px; }
.words dd { margin: 0; color: var(--sub); line-height: 1.42; }
.flash {
  display: flex; flex-direction: column; justify-content: center; gap: 10px; width: 100%; max-width: 620px; min-height: 280px; margin: 26px 0 14px; padding: 32px;
  border: 0; border-radius: 24px; background: var(--bg2); color: var(--text); text-align: left; cursor: pointer;
  font: 400 1.1875rem/1.42 var(--font); letter-spacing: -.012em; transition: transform 160ms var(--ease);
}
.flash:active { transform: scale(.985); }
.flash strong { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.08; letter-spacing: -.03em; font-weight: 700; }
.flash span { color: var(--sub); }

/* Прогресс */
.overall { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; background: var(--bg2); border-radius: 24px; padding: 28px; margin-bottom: 36px; }
.overall b { display: block; font-size: 1.75rem; letter-spacing: -.025em; line-height: 1.15; font-weight: 700; }
.overall span.o { color: var(--sub); }
.sub-h { font-size: 1.5rem; letter-spacing: -.024em; margin: 0 0 12px; font-weight: 700; }
.mods { display: grid; gap: 14px; margin-bottom: 36px; }
.mods a { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; color: var(--text); }
.mods small { color: var(--sub); font-size: .9375rem; font-variant-numeric: tabular-nums; }
.mods .track { grid-column: 1 / -1; height: 6px; border-radius: 3px; background: var(--bg2); overflow: hidden; }
.mods .track i { display: block; height: 100%; background: var(--iri); transform-origin: left; }

@media (max-width: 900px) {
  .steps4 { grid-template-columns: repeat(2, 1fr); }
  .tile, .tile.w3, .tile.w4 { grid-column: span 3; }
  .tile.w6 { grid-column: span 6; }
}
@media (max-width: 640px) {
  .nav-in { padding: 0 16px; gap: 0; }
  .nav-brand { display: none; }
  .hero canvas { height: 40%; }
  .nav nav { gap: 18px; width: 100%; }
  .band, .sec { padding-left: 16px; padding-right: 16px; }
  .head, .wrap, .pager { padding-left: 16px; padding-right: 16px; }
  .bento { grid-template-columns: 1fr; }
  .tile, .tile.w3, .tile.w4, .tile.w6 { grid-column: auto; min-height: 220px; }
  .links3, .steps4, .words { grid-template-columns: 1fr; }
  .prose p { font-size: 1.1875rem; }
  .tool, .quiz { padding: 20px; border-radius: 20px; }
  .bars div { grid-template-columns: 76px 1fr 40px; }
  .pager { grid-template-columns: 1fr; }
  .pager a.next { grid-column: auto; }
  .resume { padding: 18px; gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .rise { opacity: 1; translate: 0 0; scale: 1; transition: none; }
  .hero-rise, .steps li, .explain { animation: none; }
  .ring .fg, .bars i { transition: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media print {
  .nav, .reading-bar, .no-print, .skip { display: none; }
  body { background: #fff; color: #000; }
  .notes li::before { background: #000; }
}
