/* Պարզ Դաս — parzdas.am
   Built on the Պարզ Դաս design system: the tokens below are its tokens.json, and the components after them are its
   components/bundle.css, unchanged. Change a value there first, then here. The look follows the videos:
   ink outlines, white boxes, one block of light for what matters; Day by default, Night only by the visitor's choice. */
:root {
  color-scheme: light;
  --paper: #fffdf5;
  --surface: #ffffff;
  --ink: #141414;
  --ink-soft: #3b3b3b;
  --stone: #6b6b6b;
  --light: #ffd23f;
  --on-light: #141414;
  --glow: #ffefb8;
  --rule: rgba(20, 20, 20, 0.16);
  --shade: #141414;
  --focus: #141414;
  --lift-sm: 4px 4px 0 #141414;
  --lift-md: 6px 6px 0 #141414;
  --lift-lg: 8px 8px 0 #141414;
  --lift-light: 6px 6px 0 #ffd23f, 6px 6px 0 2px #141414;
  --door-light: 10px 10px 0 #ffd23f;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-11: 44px;
  --space-16: 64px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 999px;
  --line: 2px;
  --line-strong: 2.5px;
  --hairline: 1px;
  --wrap: 1120px;
  --col: 780px;
  --measure: 40em;
  --font-sans: "Noto Sans Armenian", "Noto Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
/* Night: the same page after dark, only for a visitor who chose it with the switch in the header (data-theme on
   <html>, set by site.js and kept in this browser). Everyone else gets Day, whatever the device's setting. */
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #171612;
  --surface: #24221c;
  --ink: #fbf8ee;
  --ink-soft: #d8d3c6;
  --stone: #a8a294;
  --glow: #40350f;
  --rule: rgba(251, 248, 238, 0.2);
  --shade: #ffd23f;
  --focus: #ffd23f;
  --lift-sm: 4px 4px 0 #ffd23f;
  --lift-md: 6px 6px 0 #ffd23f;
  --lift-lg: 8px 8px 0 #ffd23f;
  --lift-light: 6px 6px 0 #ffd23f;
}

/* ================================================================ components (design system) */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--font-sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: var(--light); }
a:hover { text-decoration-color: var(--ink); }
h1, h2, h3 { font-weight: 700; line-height: 1.18; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-left: max(var(--space-5), env(safe-area-inset-left, 0px)); padding-right: max(var(--space-5), env(safe-area-inset-right, 0px)); }
.wrap--col { max-width: var(--col); }

/* ---------- Mark: the door and the name */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__name { font-weight: 700; font-size: 22px; letter-spacing: -.01em; }
.mark { flex: none; display: block; }
.mark__light { fill: var(--light); }
.mark__arch { fill: none; stroke: var(--ink); }

/* ---------- Marker: the block of light under one word */
.hl { position: relative; display: inline-block; z-index: 0; white-space: nowrap; color: var(--on-light); }
.hl::before { content: ""; position: absolute; inset: .08em -.16em .02em; background: var(--light); border-radius: .1em; transform: rotate(-1.4deg) skewX(-5deg); z-index: -1; }

/* ---------- Button, Chip */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); padding: 11px var(--space-5); border: var(--line) solid var(--ink); border-radius: var(--radius-pill); background: var(--surface); color: var(--ink); font-weight: 700; font-size: 16px; line-height: 1.25; text-decoration: none; cursor: pointer; transition: transform .12s ease, box-shadow .12s ease; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: var(--lift-sm); }
.btn:active { transform: none; box-shadow: none; }
.btn--primary { background: var(--light); color: var(--on-light); border-color: var(--on-light); }
.btn--primary:hover { box-shadow: 4px 4px 0 var(--ink); }
.btn--small { padding: var(--space-2) var(--space-4); font-size: 15px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .45; cursor: default; transform: none; box-shadow: none; }
.chips { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.chip { border: var(--line) solid var(--ink); background: var(--surface); color: var(--ink); border-radius: var(--radius-pill); padding: 7px 14px; font-weight: 500; font-size: 15px; line-height: 1.25; cursor: pointer; }
.chip.is-on, .chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

/* ---------- Header */
.top { border-bottom: var(--line) solid var(--ink); background: var(--paper); }
.top__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px var(--space-6); padding-block: var(--space-3); }
.nav { display: flex; flex-wrap: wrap; gap: 4px var(--space-6); font-weight: 500; font-size: 16px; white-space: nowrap; }
.nav a { text-decoration: none; padding: 4px 0; background: linear-gradient(var(--light), var(--light)) 0 100% / 0 3px no-repeat; transition: background-size .18s ease; }
.nav a:hover { background-size: 100% 3px; }
.nav a[aria-current="page"] { background-size: 100% 3px; font-weight: 700; }
/* the Day / Night switch: the only control in the header. Off = Day, on (aria-pressed) = Night. */
.nav { margin-left: auto; }
.theme { flex: none; display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: var(--line) solid var(--ink); border-radius: 50%; background: var(--surface); color: var(--ink); cursor: pointer; }
.theme[hidden] { display: none; }
.theme svg { display: block; width: 20px; height: 20px; fill: currentColor; }
.theme:hover { background: var(--glow); }
.theme[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
@media (max-width: 719px) { .theme { order: 2; margin-left: auto; } .nav { order: 3; flex-basis: 100%; margin-left: 0; } }

/* ---------- Doorway: the arch that holds a picture or frames a card */
.door { position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; border: var(--line) solid var(--ink); border-radius: 50% 50% var(--radius-lg) var(--radius-lg) / 40% 40% var(--radius-lg) var(--radius-lg); overflow: hidden; background: var(--glow); }
.door img { display: block; width: 100%; height: 100%; object-fit: cover; }
.door--lit { box-shadow: var(--door-light); }
.doorway { position: relative; padding: 118px 62px 56px; }
.doorway__arch { position: absolute; left: 50%; top: 0; width: 100%; max-width: 560px; height: 100%; transform: translateX(-50%); pointer-events: none; }
.doorway__arch path { fill: none; stroke: var(--glow); }
.doorway > :not(.doorway__arch) { position: relative; }

/* ---------- Lesson card, newest lesson */
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-8) var(--space-6); grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.card__link { display: grid; gap: var(--space-1); text-decoration: none; }
.thumb { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border: var(--line) solid var(--ink); border-radius: var(--radius-lg); background: var(--glow); }
.card .thumb { margin-bottom: var(--space-2); transition: transform .14s ease, box-shadow .14s ease; }
.card__link:hover .thumb, .feature:hover .thumb { transform: translate(-3px, -3px); box-shadow: var(--lift-light); }
.card__tag, .card__meta { color: var(--stone); font-size: 15px; line-height: 1.35; }
.card__title { font-weight: 700; font-size: 19px; line-height: 1.3; }
.feature { display: grid; gap: 18px; text-decoration: none; }
.feature .thumb { border-radius: var(--radius-xl); transition: transform .14s ease, box-shadow .14s ease; }
.feature__text { display: grid; gap: var(--space-2); align-content: center; justify-items: start; }
.feature__title { font-weight: 700; font-size: clamp(24px, 4vw, 32px); line-height: 1.2; }
.feature__intro { color: var(--stone); max-width: 36em; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.feature .btn { margin-top: var(--space-2); }
@media (min-width: 720px) { .feature { grid-template-columns: 1.15fr 1fr; gap: var(--space-8); align-items: center; } }

/* ---------- Player */
.player { position: relative; aspect-ratio: 16 / 9; border: var(--line) solid var(--ink); border-radius: var(--radius-xl); overflow: hidden; background: var(--on-light); }
.player__poster { display: block; width: 100%; height: 100%; }
.player__poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.player__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: var(--space-2); background: var(--light); color: var(--on-light); border: var(--line) solid var(--on-light); border-radius: var(--radius-pill); padding: 12px 22px 12px 16px; font-weight: 700; font-size: 18px; white-space: nowrap; box-shadow: 4px 4px 0 var(--on-light); transition: transform .12s ease, box-shadow .12s ease; }
.player__play svg { flex: none; }
.player__poster:hover .player__play { transform: translate(calc(-50% - 2px), calc(-50% - 2px)); box-shadow: 6px 6px 0 var(--on-light); }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Chapters, rows */
.chapters { list-style: none; margin: 0; padding: 0; border-top: var(--line) solid var(--ink); }
.chap { display: grid; grid-template-columns: 54px 1fr; gap: 10px; width: 100%; text-align: left; text-decoration: none; background: none; border: 0; border-bottom: var(--hairline) solid var(--rule); padding: 9px 0; cursor: pointer; line-height: 1.35; }
.chap__t { font-weight: 700; font-variant-numeric: tabular-nums; }
.chap:hover { background: var(--glow); }
@media (min-width: 720px) { .chapters { columns: 2; column-gap: 36px; border-top: 0; } .chapters li { break-inside: avoid; border-top: var(--hairline) solid var(--rule); } }
.rows { list-style: none; margin: 0; padding: 0; border-top: var(--line) solid var(--ink); }
.row { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: var(--space-4); align-items: baseline; padding: 15px 0; border-bottom: var(--hairline) solid var(--rule); text-decoration: none; }
.row__ref { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.row__main { display: grid; gap: 2px; min-width: 0; }
.row__title { font-weight: 700; font-size: 18px; line-height: 1.3; justify-self: start; overflow-wrap: anywhere; background: linear-gradient(var(--light), var(--light)) 0 100% / 0 3px no-repeat; transition: background-size .18s ease; }
.row:hover .row__title { background-size: 100% 3px; }
.row__meta { color: var(--stone); font-size: 15px; }

/* ---------- Quiz: the Ա / Բ / Գ card from the videos */
.quiz { background: var(--surface); color: var(--ink); border: var(--line-strong) solid var(--ink); border-radius: var(--radius-xl); padding: var(--space-5); }
.quiz--hero { box-shadow: var(--lift-lg); }
.quiz__top { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-3); font-size: 15px; color: var(--stone); }
.quiz__name { font-weight: 700; color: var(--ink); font-size: 17px; }
.quiz__topic { margin: 10px 0 -4px; font-size: 15px; color: var(--stone); }
.quiz__q { font-weight: 700; font-size: 22px; line-height: 1.28; margin: var(--space-3) 0 var(--space-4); text-wrap: balance; }
.quiz__opts { display: grid; gap: 10px; }
.opt { display: grid; grid-template-columns: 34px 1fr 24px; gap: var(--space-3); align-items: center; width: 100%; text-align: left; background: var(--surface); color: var(--ink); border: var(--line) solid var(--ink); border-radius: var(--radius-md); padding: 11px 14px 11px 11px; font-weight: 500; font-size: 17px; line-height: 1.3; cursor: pointer; transition: transform .1s ease, box-shadow .1s ease; }
.opt__l { display: grid; place-items: center; width: 34px; height: 34px; border: var(--line) solid var(--ink); border-radius: 50%; background: var(--glow); font-weight: 700; font-size: 16px; }
.opt__t { min-width: 0; overflow-wrap: anywhere; }
.opt__mark { width: 22px; height: 22px; }
.opt:not(:disabled):hover { transform: translate(-2px, -2px); box-shadow: var(--lift-sm); }
.opt:disabled { cursor: default; }
.opt.is-right { background: var(--light); color: var(--on-light); border-color: var(--on-light); font-weight: 700; }
.opt.is-right .opt__l { background: var(--on-light); color: var(--light); border-color: var(--on-light); }
.opt.is-wrong { border-style: dashed; }
.opt.is-dim { opacity: .42; }
.quiz__after { margin-top: var(--space-4); display: grid; gap: var(--space-3); justify-items: start; }
.quiz__verdict { font-weight: 700; font-size: 18px; margin: 0; }
.quiz__explain { margin: 0; color: var(--ink-soft); }
.quiz__src { margin: 0; font-size: 15px; color: var(--stone); }
.quiz__score { font-weight: 700; font-size: 40px; line-height: 1.1; margin: 6px 0 4px; }

/* ---------- Answer: a question that hides its answer */
details > summary { cursor: pointer; font-weight: 700; list-style: none; display: inline-flex; align-items: center; gap: var(--space-2); }
details > summary::-webkit-details-marker { display: none; }
details > summary::before { content: "+"; display: inline-grid; place-items: center; width: 24px; height: 24px; border: var(--line) solid var(--ink); border-radius: 50%; background: var(--surface); font-weight: 700; line-height: 1; flex: none; }
details[open] > summary::before { content: "–"; background: var(--light); color: var(--on-light); border-color: var(--on-light); }
.recap { margin: 0; padding-left: 1.3em; }
.recap li { padding: 6px 0 10px; }
.recap li::marker { font-weight: 700; }
.recap p { margin: 0 0 6px; font-weight: 500; font-size: 18px; }
.answer summary { font-size: 15px; font-weight: 500; }
.answer p { margin: var(--space-2) 0 0; padding: 10px 14px; background: var(--glow); border-radius: var(--radius-sm); font-weight: 500; }

/* ---------- Prose, search */
.prose { font-size: 18px; line-height: 1.72; max-width: var(--measure); }
.prose h3 { font-size: 20px; margin: 30px 0 var(--space-2); }
.prose p { margin: 0 0 14px; }
/* dividers stand between items only: the one that would open a wrapped line falls outside the box and is clipped */
.lesson__meta { color: var(--stone); font-size: 15px; margin: 0; display: flex; flex-wrap: wrap; gap: 2px 0; overflow: hidden; }
.lesson__meta span { margin: 0 calc(2 * var(--space-3) + 1px) 0 calc(-1 * var(--space-3) - 1px); padding-left: var(--space-3); border-left: var(--hairline) solid var(--rule); }
.search input { width: 100%; max-width: 520px; border: var(--line) solid var(--ink); border-radius: var(--radius-pill); background: var(--surface); padding: var(--space-3) 18px; font: inherit; color: inherit; }
.search input::placeholder { color: var(--stone); opacity: 1; }

/* ---------- Footer, previous and next */
.foot { border-top: var(--line) solid var(--ink); }
.foot__in { display: grid; gap: var(--space-5); padding-block: var(--space-8) 40px; }
.foot__brand { display: flex; gap: var(--space-3); align-items: flex-start; }
.foot__brand p { margin: 0; line-height: 1.45; }
.foot__brand [lang="en"] { color: var(--stone); }
.foot__social, .foot__links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px var(--space-5); font-weight: 500; }
.foot__links { font-size: 15px; font-weight: 400; }
.foot__note { color: var(--stone); font-size: 15px; max-width: 46em; margin: 0; }
@media (min-width: 720px) { .foot__in { grid-template-columns: 1fr auto; } .foot__links, .foot__note { grid-column: 1 / -1; } .foot__social { align-self: center; } }
.prevnext { display: grid; gap: 14px; padding-top: 22px; border-top: var(--line) solid var(--ink); }
.pn { display: grid; gap: 2px; text-decoration: none; font-weight: 700; line-height: 1.3; }
.pn span { color: var(--stone); font-weight: 400; font-size: 15px; }
@media (min-width: 620px) { .prevnext { grid-template-columns: 1fr 1fr; } .pn--next { text-align: right; } }

/* ================================================================ pages
   Layout of this site's pages. Components above come from the design system unchanged. */
html { scroll-behavior: smooth; scroll-padding-top: var(--space-4); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: var(--space-3); top: -60px; background: var(--light); color: var(--on-light); border: var(--line) solid var(--on-light); border-radius: var(--radius-sm); padding: var(--space-2) 14px; font-weight: 700; text-decoration: none; z-index: 10; }
.skip:focus { top: var(--space-3); }
@media (max-width: 599px) { .nav { gap: 2px var(--space-4); font-size: 15px; } }
@media (max-width: 479px) { .nav a:last-child { display: none; } } /* About stays in the footer on small phones */

/* ---------- home: the headline and the quiz card in the doorway */
.hero { border-bottom: var(--line) solid var(--ink); overflow: hidden; }
.hero__in { position: relative; display: grid; gap: var(--space-8); padding-block: var(--space-8) var(--space-11); }
/* phones: the door stands behind the headline, as on the video covers */
.hero__in::before { content: ""; position: absolute; right: -84px; top: 6px; width: 290px; height: 430px; background: var(--glow); pointer-events: none;
  -webkit-mask-image: url(../img/arch.svg), linear-gradient(#000 45%, transparent 96%); -webkit-mask-size: 100% auto, 100% 100%; -webkit-mask-position: center top, 0 0; -webkit-mask-repeat: no-repeat; -webkit-mask-composite: source-in;
  mask-image: url(../img/arch.svg), linear-gradient(#000 45%, transparent 96%); mask-size: 100% auto, 100% 100%; mask-position: center top, 0 0; mask-repeat: no-repeat; mask-composite: intersect; }
.hero__text { position: relative; }
.hero h1 { font-size: clamp(44px, 12.5vw, 72px); line-height: 1.05; letter-spacing: -.015em; }
.hero__lead { font-size: clamp(18px, 2.2vw, 20px); line-height: 1.5; max-width: 34em; margin: var(--space-5) 0 0; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin: var(--space-6) 0 0; }
.hero__quiz { position: relative; }
.hero__quiz > .quiz { position: relative; }
@media (min-width: 900px) {
  /* wide screens: the question card stands in the doorway */
  .hero__in { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: var(--space-11); padding-block: var(--space-16) 0; }
  .hero__in::before { display: none; }
  .hero__text { padding-bottom: var(--space-16); }
  .hero__quiz { align-self: end; padding: 118px 62px 56px; }
  .hero__quiz::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 100%; max-width: 560px; transform: translateX(-50%); background: var(--glow); pointer-events: none;
    -webkit-mask: url(../img/arch.svg) center top / 100% auto no-repeat; mask: url(../img/arch.svg) center top / 100% auto no-repeat; }
}

/* ---------- sections */
.section { padding-block: var(--space-11) var(--space-2); }
.section--first { padding-top: var(--space-8); }
.section h1, .prose--page h1 { font-size: clamp(32px, 7vw, 46px); line-height: 1.14; letter-spacing: -.01em; }
.section h2, .block h2, .prose--page h2 { font-size: clamp(26px, 4.4vw, 32px); line-height: 1.2; letter-spacing: -.005em; }
.section__lead { color: var(--stone); font-size: 18px; max-width: var(--measure); margin: var(--space-3) 0 0; }
.section__more { margin: var(--space-8) 0 0; }
.section__lead + p { margin: var(--space-5) 0 0; }
main > .section:last-child, main > article:last-child { padding-bottom: var(--space-16); }
.section > .feature, .section > .cards { margin-top: var(--space-6); }
.follow__links { display: flex; flex-wrap: wrap; gap: var(--space-3); margin: var(--space-4) 0 0; }
.card[hidden] { display: none; }

/* grade 7 on the home page: the textbook order */
.paths { display: grid; gap: var(--space-8) var(--space-11); margin-top: var(--space-6); }
@media (min-width: 820px) { .paths { grid-template-columns: 1fr 1fr; } }
.path h3 { font-size: 22px; line-height: 1.28; margin-bottom: var(--space-2); }
.path__list { list-style: none; margin: 0; padding: 0; border-top: var(--line) solid var(--ink); }
.path__list a { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: var(--space-3); align-items: baseline; padding: var(--space-3) 0; border-bottom: var(--hairline) solid var(--rule); text-decoration: none; }
.path__ref { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.path__title { font-weight: 500; justify-self: start; overflow-wrap: anywhere; background: linear-gradient(var(--light), var(--light)) 0 100% / 0 3px no-repeat; transition: background-size .18s ease; }
.path__list a:hover .path__title { background-size: 100% 3px; }

/* the grade-7 page and the list of quizzes */
.grades { display: grid; gap: var(--space-11); margin-top: var(--space-8); }
@media (min-width: 900px) { .grades { grid-template-columns: 1fr 1fr; } }
.grade h2 { margin-bottom: var(--space-3); }
.rows--plain { margin-top: var(--space-4); }
.rows--plain .row { grid-template-columns: minmax(0, 1fr); }
.paths > *, .grades > * { min-width: 0; }
@media (max-width: 379px) { .row, .path__list a { grid-template-columns: 80px minmax(0, 1fr); gap: var(--space-3); } .rows--plain .row { grid-template-columns: minmax(0, 1fr); } }

/* the list of lessons: search and filters */
.filters { display: grid; gap: var(--space-4); margin-top: var(--space-6); }
.empty { margin-top: var(--space-6); font-weight: 500; }

/* ---------- a lesson */
.lesson { padding-block: var(--space-8) var(--space-16); }
.crumbs { font-size: 15px; color: var(--stone); margin: 0 0 var(--space-3); }
.lesson h1 { font-size: clamp(30px, 6.4vw, 46px); line-height: 1.14; letter-spacing: -.01em; }
.lesson .lesson__meta { margin: var(--space-3) 0 var(--space-5); }
.lesson__intro { font-size: 18px; line-height: 1.6; margin-top: var(--space-6); }
.lesson__intro p:last-child { margin-bottom: 0; }
.block { margin-top: var(--space-11); }
.block__lead { color: var(--stone); margin: var(--space-2) 0 0; }
.block__note { color: var(--stone); font-size: 15px; margin: var(--space-4) 0 0; }
.block > .chapters, .block > .recap, .block > .quiz { margin-top: var(--space-4); }
.transcript, .credits { margin-top: var(--space-4); }
.transcript .prose { margin-top: var(--space-3); padding-top: var(--space-1); border-top: var(--hairline) solid var(--rule); }
.shorts, .plain { margin: var(--space-4) 0 0; padding-left: 1.2em; }
.shorts li, .plain li { padding: 3px 0; }
.plain--small { font-size: 15px; line-height: 1.5; color: var(--ink-soft); word-break: break-word; }
.made { margin: var(--space-11) 0 0; color: var(--stone); font-size: 15px; }
.lesson .prevnext { margin-top: var(--space-8); }

/* the quiz outside the doorway */
.section > .quiz { margin-top: var(--space-4); max-width: var(--col); }
.section > .rows--plain { max-width: var(--col); }
.quiz__levels { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-4); }
.quiz__q { font-size: clamp(20px, 3.4vw, 22px); }
.quiz__done p { margin: 0 0 14px; }
.quiz__row { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- the About pages */
.prose--page { max-width: var(--col); }
.prose--page h1 { margin-bottom: var(--space-4); }
.prose--page h2 { margin: var(--space-11) 0 var(--space-3); }
.prose--page .lead { font-size: 20px; line-height: 1.5; }
.prose--page ul { padding-left: 1.2em; margin: 0 0 var(--space-4); }
.prose--page li { padding: 3px 0; }
.steps { margin: var(--space-4) 0 0; border-top: var(--line) solid var(--ink); }
.steps dt { font-weight: 700; padding-top: 14px; }
.steps dd { margin: 2px 0 0; padding-bottom: 14px; border-bottom: var(--hairline) solid var(--rule); }
@media (min-width: 720px) { .steps { display: grid; grid-template-columns: minmax(200px, max-content) 1fr; } .steps dt, .steps dd { padding: 14px 0; margin: 0; border-bottom: var(--hairline) solid var(--rule); } .steps dt { padding-right: var(--space-8); } }

/* ---------- footer on this site */
.foot { margin-top: var(--space-6); }
/* a network's own icon (site_src/static/img/social/), shown as the file is; networks without a file stay as text */
.foot__social .soc { display: inline-flex; padding: var(--space-1); margin: -4px; border-radius: 8px; }
.foot__social .soc img { display: block; width: 30px; height: 30px; object-fit: contain; transform: scale(var(--soc-scale, 1)); }
.foot__social:has(.soc) { gap: 6px var(--space-6); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .top .nav, .foot, .player, .quiz, .filters, .prevnext, .hero__quiz { display: none; }
  details > .prose, details > ul { display: block; }
}
