:root {
  color-scheme: light;
  --canvas: #f7f8f2;
  --surface: #fff;
  --surface-soft: #eef3e9;
  --ink: #172922;
  --muted: #53675b;
  --line: #dce5d8;
  --forest: #174e38;
  --forest-deep: #12392a;
  --accent: #dcebb4;
  --focus: #267045;
  --success: #17613c;
  --success-bg: #eaf5e9;
  --danger: #8d392f;
  --danger-bg: #fbefeb;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 2px 3px #19352306, 0 10px 24px #19352305;
  --font: system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { min-width: 0; scroll-padding-block-start: 1.25rem; }

body {
  margin: 0;
  min-width: 0;
  background: var(--canvas);
  color: var(--ink);
  font: 1rem/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
}

button, input, select { font: inherit; }
button, label { -webkit-tap-highlight-color: transparent; }
button:not(:disabled), select:not(:disabled) { cursor: pointer; }
button:disabled, input:disabled, select:disabled { cursor: default; }
button:disabled { opacity: .57; }
a { color: var(--forest); text-underline-offset: .21em; }
a:hover { color: var(--forest-deep); }
img, video { max-width: 100%; height: auto; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

[tabindex="-1"]:focus:not(:focus-visible) { outline: none; }

.sr-only, .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: .75rem;
  left: .75rem;
  padding: .6rem 1rem;
  transform: translateY(calc(-100% - 1rem));
  background: var(--surface);
  border-radius: var(--radius-sm);
  font-weight: 700;
}

.skip-link:focus { transform: none; }

h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.17; }
h1 { font-size: clamp(2rem, 3.65vw, 3.35rem); letter-spacing: -.055em; }
h2 { font-size: clamp(1.33rem, 2.1vw, 1.85rem); letter-spacing: -.037em; }
h3 { font-size: 1.12rem; letter-spacing: -.023em; }
p + p { margin-top: .75em; }

.shell { display: grid; grid-template-columns: 15.5rem minmax(0, 1fr); min-height: 100vh; }

.sidebar {
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  min-height: 100vh;
  max-height: 100vh;
  overflow-y: auto;
  padding: 1.68rem 1.1rem 1.3rem;
  border-inline-end: 1px solid var(--line);
  background: #fdfef9;
}

.brand {
  display: flex;
  align-items: center;
  gap: .68rem;
  width: fit-content;
  min-width: 0;
  min-height: 44px;
  margin: 0 .45rem;
  color: var(--ink);
  text-decoration: none;
}

.brand-icon {
  display: grid;
  place-items: center;
  position: relative;
  flex: 0 0 2.55rem;
  width: 2.55rem;
  height: 2.55rem;
  overflow: hidden;
  border-radius: 11px;
  background: var(--forest);
  color: #eef5d5;
}

.brand-icon:empty::before {
  content: "";
  width: 1.13rem;
  height: 1.53rem;
  border: 2px solid currentColor;
  border-width: 0 2px 0 2px;
  border-radius: 49% 0 49% 0;
  transform: rotate(20deg);
}

.brand-icon:empty::after {
  content: "";
  position: absolute;
  height: 1rem;
  border-inline-start: 2px dashed currentColor;
  transform: rotate(20deg);
}

.brand-name, .brand-title { display: block; font-size: 1rem; line-height: 1.15; font-weight: 800; letter-spacing: -.04em; }
.brand-subtitle { display: block; margin-top: .28rem; color: var(--muted); font-size: .73rem; line-height: 1.2; }

.nav { display: flex; flex-direction: column; gap: .27rem; margin-top: 2.65rem; }
.nav-label { margin: 0 .65rem .35rem; }
.nav :is(a, button), .nav-link {
  display: flex;
  align-items: center;
  gap: .65rem;
  min-height: 44px;
  min-width: 0;
  padding: .54rem .63rem;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 650;
  text-align: left;
  text-decoration: none;
}

.nav :is(a, button):hover { background: var(--surface-soft); color: var(--forest-deep); }
.nav [aria-current="page"], .nav .is-active {
  border-color: #e0eadb;
  background: #eaf2e6;
  color: var(--forest-deep);
}
.nav-icon { display: grid; place-items: center; flex: 0 0 1.15rem; font-size: 1rem; line-height: 1; }
.sidebar-footer { margin-top: auto; padding: 1rem .5rem 0; color: var(--muted); font-size: .8rem; }
.sidebar-footer a { display: inline-flex; min-height: 44px; align-items: center; }

.workspace { min-width: 0; }
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.65rem;
  gap: .7rem;
  padding-inline: clamp(1rem, 4vw, 3.6rem);
  border-bottom: 1px solid var(--line);
  background: #fdfef8;
}

.content {
  width: min(100%, 83rem);
  min-width: 0;
  margin-inline: auto;
  padding: clamp(1.15rem, 3.25vw, 2.9rem) clamp(1rem, 4vw, 3.6rem) 2.7rem;
}

.content > * + * { margin-top: 1.5rem; }
.page-header { display: grid; gap: .55rem; margin-bottom: 1.35rem; }
.page-header p, .subtle, .muted, .help { color: var(--muted); }
.page-header p { max-width: 62ch; }
.eyebrow {
  display: block;
  color: var(--muted);
  font-size: .73rem;
  font-weight: 780;
  letter-spacing: .085em;
  line-height: 1.3;
  text-transform: uppercase;
}

.tag, .badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  max-width: 100%;
  min-height: 1.7rem;
  padding: .19rem .58rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--forest-deep);
  font-size: .74rem;
  font-weight: 700;
  line-height: 1.22;
}

.hero {
  display: grid;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(1.5rem, 5vw, 3.45rem);
  min-height: 17.5rem;
  border: 1px solid #244e38;
  border-radius: 22px;
  background: var(--forest-deep);
  color: #f5f8ee;
}

.hero-art {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 auto;
  width: 49%;
  background:
    radial-gradient(circle, #c8df9b38 1px, transparent 1.3px) 0 0 / 16px 16px,
    linear-gradient(140deg, #12392a00 10%, #48744b75 130%);
  mask-image: linear-gradient(90deg, transparent, #000 29%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: clamp(15rem, 29vw, 27rem);
  aspect-ratio: 1 / .86;
  top: 10%;
  right: -2%;
  border: 2px dashed #cce3a18a;
  border-radius: 48% 57% 42% 65%;
  box-shadow: inset 0 0 0 16px #a1c97117, inset 0 0 0 17px #b6d5877a, 0 0 0 16px #a1c97117, 0 0 0 17px #b6d58752;
  transform: rotate(-31deg);
  pointer-events: none;
}

.hero-copy { position: relative; z-index: 1; align-self: center; min-width: 0; }
.hero h1, .hero-title {
  max-width: 19ch;
  font-size: clamp(2.15rem, 4.8vw, 4.35rem);
  line-height: .99;
  letter-spacing: -.065em;
  text-wrap: balance;
}
.hero :is(.eyebrow, p) { color: #d5e5ce; }
.hero .eyebrow { margin-bottom: .83rem; }
.hero p:not(.eyebrow) { max-width: 52ch; margin-top: 1rem; }
.hero em { color: var(--accent); font-family: Georgia, serif; font-weight: 500; }
.hero a:not(.button) { color: #ecf7d8; }
.hero .button.primary, .hero .button-primary, .hero .button--primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #1c3d26;
}
.hero .button.primary:hover, .hero .button-primary:hover, .hero .button--primary:hover {
  border-color: #edf5d3;
  background: #edf5d3;
  color: #1c3d26;
}
.hero .button.secondary { border-color: #71917a; background: transparent; color: #f5f8ee; }
.hero .button.secondary:hover { border-color: #d5e5ce; }
.hero :focus-visible { outline-color: #e7f2ce; }

.row, .actions, .hero-actions, .question-actions, .button-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .6rem;
}
.hero-actions, .hero .actions { margin-top: 1.32rem; }

.button, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  min-height: 44px;
  max-width: 100%;
  padding: .59rem .93rem;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  color: var(--forest-deep);
  font-size: .9rem;
  font-weight: 730;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color 125ms, border-color 125ms, color 125ms;
}
.button:not(:disabled):hover, .btn:not(:disabled):hover { border-color: #a7bba9; background: #f3f7ef; }
.button.primary, .button-primary, .button--primary, .btn.primary {
  border-color: var(--forest);
  background: var(--forest);
  color: white;
}
.button.primary:not(:disabled):hover, .button-primary:not(:disabled):hover,
.button--primary:not(:disabled):hover, .btn.primary:not(:disabled):hover {
  border-color: var(--forest-deep);
  background: var(--forest-deep);
  color: white;
}
.button.ghost, .button--ghost { border-color: transparent; background: transparent; }
.text-button {
  min-height: 44px;
  padding: .42rem 0;
  border: 0;
  background: transparent;
  color: var(--forest);
  font-weight: 720;
  text-decoration: underline;
  text-underline-offset: .2em;
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .35rem .7rem;
  margin-bottom: .77rem;
}
.section-header p { color: var(--muted); font-size: .88rem; }
.section-header a { font-size: .87rem; font-weight: 680; }
.stack { display: grid; gap: .9rem; }
.grid, .stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
  gap: .8rem;
}
.grid > *, .stat-grid > * { min-width: 0; }
.card, .panel, .stat {
  padding: clamp(.95rem, 2.1vw, 1.42rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.card h3 + p, .card h2 + p { margin-top: .38rem; }
.card p, .stat-label, .stat > p { color: var(--muted); }
.card p { font-size: .88rem; }
.card :is(.button, .actions) { margin-top: .8rem; }
.card :is(.actions, .button-row) .button { margin-top: 0; }
.card-icon {
  display: grid;
  place-items: center;
  width: 2.22rem;
  height: 2.22rem;
  margin-bottom: .73rem;
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--forest);
  font-size: 1.05rem;
}
.mode-card { display: flex; flex-direction: column; }
.mode-card .actions { margin-top: auto; padding-top: .8rem; }
.launcher-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.launcher-grid .card { display: flex; flex-direction: column; align-items: flex-start; }
.launcher-grid .eyebrow { margin-bottom: .48rem; }
.launcher-grid .card > p:not(.eyebrow) { margin-bottom: .83rem; }
.launcher-grid .card > :is(.button, .button-row):last-child { margin-top: auto; }
.stat-label, .stat > p { font-size: .84rem; }
.stat-value, .stat strong {
  display: block;
  color: var(--forest-deep);
  font-size: clamp(1.65rem, 3.4vw, 2.78rem);
  font-weight: 780;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.06em;
  line-height: 1.1;
}
.stat-value + *, .stat strong + * { margin-top: .32rem; }
.stat-value small { color: var(--muted); font-size: .48em; font-weight: 680; letter-spacing: -.025em; }
.progress-track {
  display: block;
  overflow: hidden;
  height: .53rem;
  border-radius: 999px;
  background: #e5ede0;
}
.progress-track > * { display: block; height: 100%; border-radius: inherit; background: #368457; }
progress.progress-track {
  appearance: none;
  width: 100%;
  max-width: 100%;
  margin: .52rem 0 .63rem;
  border: 0;
  accent-color: #368457;
}
progress::-webkit-progress-bar { border-radius: 999px; background: #e5ede0; }
progress::-webkit-progress-value { border-radius: 999px; background: #368457; }
progress::-moz-progress-bar { border-radius: 999px; background: #368457; }

.scope-note {
  padding-top: .85rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .85rem;
}

.notice, .empty {
  padding: .95rem 1.03rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
  color: var(--forest-deep);
  font-size: .9rem;
}
.notice p, .empty p { margin-top: .21rem; }
.notice.error, .error.notice { border-color: #edcec7; background: var(--danger-bg); color: var(--danger); }
.empty { padding: clamp(1.05rem, 3vw, 1.7rem); }

.question-shell { width: min(100%, 59rem); margin-inline: auto; }
.question-shell > * + * { margin-top: .92rem; }
.question-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  min-width: 0;
  gap: .5rem;
  color: var(--muted);
  font-size: .87rem;
  font-weight: 650;
}

.question-title, .question-shell h1 {
  max-width: 39ch;
  font-size: clamp(1.34rem, 3vw, 2.12rem);
  font-weight: 760;
  line-height: 1.28;
  letter-spacing: -.036em;
  overflow-wrap: anywhere;
}
.question-text, .question-title, .question-shell h1 { white-space: pre-line; }
.timer {
  display: inline-flex;
  align-items: center;
  min-height: 2.14rem;
  padding-inline: .62rem;
  border: 1px solid var(--line);
  border-radius: .5rem;
  background: #fff;
  color: var(--forest-deep);
  font-weight: 780;
  font-variant-numeric: tabular-nums;
}
.timer.is-urgent { border-color: #e9bfb7; background: var(--danger-bg); color: var(--danger); }

fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
legend { padding: 0; }
.choice-list { display: grid; gap: .55rem; min-width: 0; }
.choice-list legend { margin-bottom: .55rem; color: var(--muted); font-size: .86rem; font-weight: 690; }
.choice {
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 3.42rem;
  gap: .72rem;
  width: 100%;
  padding: .64rem .74rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  line-height: 1.45;
  text-align: left;
  transition: background-color 125ms, border-color 125ms;
}

.choice:not(:disabled), label.choice { cursor: pointer; }
.choice:not(:disabled, [aria-disabled="true"]):hover { border-color: #a5bba7; background: #fcfefb; }
.choice[aria-disabled="true"] { cursor: default; }
.choice:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.choice input[type="radio"] { flex: 0 0 1.1rem; inline-size: 1.1rem; block-size: 1.1rem; margin: 0; accent-color: var(--forest); }
.choice-key {
  display: grid;
  place-items: center;
  flex: 0 0 1.75rem;
  width: 1.75rem;
  height: 1.75rem;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #f4f7f0;
  color: var(--forest);
  font-size: .82rem;
  font-weight: 800;
}
.choice-text { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; white-space: pre-line; }
.choice-state {
  flex: 0 0 auto;
  padding: .18rem .43rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 740;
  line-height: 1.15;
}
.choice.is-selected, .choice[aria-pressed="true"], .choice:has(input:checked) { border-color: #648e6c; background: #edf5ea; }
.choice.is-correct, .choice.correct { border-color: #96bd9b; background: var(--success-bg); color: var(--success); }
.choice.is-incorrect, .choice.incorrect { border-color: #d8a69e; background: var(--danger-bg); color: var(--danger); }
.choice:disabled { opacity: 1; }
.question-actions { justify-content: space-between; }
.question-map { display: flex; flex-wrap: wrap; gap: .36rem; padding: 0; list-style: none; }
.question-map .map-button {
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font-size: .85rem;
  font-weight: 690;
}
.question-map :is([aria-current="step"], .is-current) { border-color: var(--forest); background: var(--forest); color: white; }
.question-map .is-answered:not(.is-current, [aria-current="step"]) { background: var(--success-bg); color: var(--success); }

.catalogue-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  max-width: 40rem;
  gap: .65rem;
}
.catalogue-toolbar label { display: grid; min-width: 0; gap: .24rem; color: var(--muted); font-size: .83rem; font-weight: 690; }
.catalogue-toolbar :is(input, select) { width: 100%; font-size: .94rem; font-weight: 500; }
#catalogue-count { margin-top: .68rem; color: var(--muted); font-size: .86rem; }
#catalogue-list { margin-top: .55rem; }
#catalogue-pages:empty { display: none; }
.catalogue { display: grid; gap: .63rem; }
.catalogue-item {
  padding: .85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  overflow-wrap: anywhere;
}
.catalogue-item summary {
  min-height: 44px;
  padding-block: .49rem;
  color: var(--ink);
  cursor: pointer;
  font-weight: 700;
}
.catalogue-item summary::marker { color: var(--forest); }
.catalogue-item summary strong { font-weight: 680; white-space: pre-line; }
.question-code {
  display: inline-block;
  margin: 0 .53rem .22rem .2rem;
  padding: .15rem .41rem;
  border: 1px solid var(--line);
  border-radius: .32rem;
  background: var(--surface-soft);
  color: var(--forest);
  font: 690 .74rem/1.26 var(--font);
  font-variant-numeric: tabular-nums;
  letter-spacing: .015em;
  vertical-align: .08em;
}
.catalogue-item > a { display: inline-flex; align-items: center; min-height: 44px; font-size: .86rem; }
.catalogue-item p + *, .catalogue-item summary + * { margin-top: .55rem; }
.answer-review { margin: .5rem 0 .25rem; padding-left: 1.48rem; }
.answer-review li { padding: .23rem .28rem; white-space: pre-line; }
.answer-review .is-correct { color: var(--success); }
.answer-review li :is(strong, span) { margin-inline-start: .4rem; font-size: .78rem; font-weight: 700; }

.history-list { display: grid; list-style: none; gap: .45rem; margin: 0; padding: 0; }
.history-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: .34rem .92rem;
  padding-block: .72rem;
  font-size: .91rem;
}
.history-list span { color: var(--muted); }
.history-list span:last-child { color: var(--forest-deep); font-weight: 720; font-variant-numeric: tabular-nums; }
.content dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .46rem .8rem; margin: 0; }
.content dt { color: var(--muted); font-weight: 680; }
.content dd { margin: 0; overflow-wrap: anywhere; }

input:is([type="search"], [type="text"], [type="number"]), select {
  min-width: 0;
  min-height: 44px;
  padding: .56rem .72rem;
  border: 1px solid #bccbbb;
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
}
input[type="search"] { width: min(100%, 25rem); }
input::placeholder { color: #647568; opacity: 1; }
input[type="number"] { max-width: 9rem; }

.feedback {
  padding: .7rem .85rem;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface-soft);
  color: var(--forest-deep);
  font-size: .9rem;
}
.feedback.is-correct, .feedback.success { border-color: #c5dfc2; background: var(--success-bg); color: var(--success); }
.feedback.is-incorrect, .feedback.error { border-color: #edcec7; background: var(--danger-bg); color: var(--danger); }
.result-score { font-size: clamp(2.5rem, 8vw, 5rem); font-weight: 780; letter-spacing: -.075em; line-height: 1; color: var(--forest-deep); }
.footer { padding: 1.3rem 0 .3rem; color: var(--muted); font-size: .8rem; }
.footer a { display: inline-flex; align-items: center; min-height: 44px; }

@media (max-width: 990px) {
  .shell { grid-template-columns: 12.4rem minmax(0, 1fr); }
  .sidebar { padding-inline: .76rem; }
  .brand { margin-inline: .31rem; }
  .hero { min-height: 15rem; }
  .launcher-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .shell { display: block; }
  .sidebar {
    position: relative;
    display: block;
    min-height: auto;
    max-height: none;
    padding: .65rem .85rem .26rem;
    border-inline-end: 0;
    border-bottom: 1px solid var(--line);
  }
  .brand { margin-inline: .1rem; }
  .brand-icon { flex-basis: 2.13rem; width: 2.13rem; height: 2.13rem; border-radius: 8px; }
  .brand-icon:empty::before { height: 1.13rem; width: .87rem; }
  .brand-icon:empty::after { height: .73rem; }
  .brand-subtitle { margin-top: .16rem; }
  .nav { flex-direction: row; flex-wrap: wrap; gap: .15rem; margin-top: .4rem; }
  .nav-label { display: none; }
  .sidebar-footer { position: absolute; inset: .65rem .85rem auto auto; margin: 0; padding: 0; }
  .sidebar-footer .nav-link { padding-inline: .35rem; font-size: .79rem; }
  .nav :is(a, button), .nav-link { flex: 1 1 auto; justify-content: center; gap: .35rem; padding-inline: .45rem; font-size: .84rem; }
  .nav-icon { flex-basis: .9rem; }
  .topbar { min-height: 3.25rem; padding-inline: 1rem; }
  .content > * + * { margin-top: 1.15rem; }
  .hero { min-height: 14.25rem; }
  .hero::after { right: -13%; top: 18%; opacity: .48; }
  .hero-art { width: 55%; }
}

@media (max-width: 540px) {
  .launcher-grid, .catalogue-toolbar, .content dl { grid-template-columns: minmax(0, 1fr); }
  .content dl { gap: .12rem; }
  .content dd + dt { margin-top: .39rem; }
  .choice:has(.choice-state) { display: grid; grid-template-columns: 1.75rem minmax(0, 1fr); row-gap: .38rem; }
  .choice-state { grid-column: 2; justify-self: start; }
  .history-list li { grid-template-columns: minmax(0, 1fr) auto; }
  .history-list li span:last-child { grid-column: 1 / -1; }
}

@media (max-width: 380px) {
  .sidebar { padding-inline: .62rem; }
  .sidebar-footer { right: .62rem; }
  .nav :is(a, button), .nav-link { padding-inline: .24rem; font-size: .79rem; }
  .nav-icon { display: none; }
  .content, .topbar { padding-inline: .82rem; }
  .hero { padding: 1.15rem; border-radius: 16px; }
  .hero h1, .hero-title { font-size: 2.05rem; }
  .choice { gap: .52rem; padding-inline: .57rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0s !important; }
}

@media (forced-colors: active) {
  .nav [aria-current="page"], .choice[aria-pressed="true"], .choice:has(input:checked) { border-color: Highlight; }
  .button, .choice, .tag, .card, .stat { border-color: ButtonBorder; }
  progress.progress-track { appearance: auto; }
  :focus-visible { outline-color: Highlight; }
}
