:root {
  color-scheme: light;
  --ink: #16212c;
  --muted: #596a78;
  --quiet: #7b8994;
  --line: #d8e0e6;
  --line-strong: #bdc9d2;
  --page: #f3f6f7;
  --surface: #ffffff;
  --surface-soft: #eaf0f2;
  --coral: #df493f;
  --coral-dark: #b9362f;
  --teal: #087c70;
  --teal-soft: #dff3ef;
  --blue: #24658c;
  --blue-soft: #e4f0f7;
  --amber: #a86400;
  --amber-soft: #fff0cf;
  --danger: #a42b2b;
  --danger-soft: #fbe8e6;
  --shadow: 0 8px 24px rgb(22 33 44 / 8%);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  background: var(--page);
  color: var(--ink);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: var(--page);
  line-height: 1.5;
}

button,
a {
  font: inherit;
}

button:focus-visible,
a:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #f2a43a;
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 20;
  padding: 9px 13px;
  transform: translateY(-160%);
  border-radius: 4px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.header-inner,
.page-shell,
footer p {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.header-inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 2px solid var(--coral);
  border-radius: 6px;
  color: var(--coral-dark);
  font-size: 15px;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 15px;
}

.brand small,
.updated-at {
  color: var(--muted);
  font-size: 12px;
}

.header-state {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-actions,
.site-nav {
  display: flex;
  align-items: center;
}

.header-actions {
  gap: 24px;
}

.site-nav {
  gap: 4px;
}

.site-nav a {
  padding: 8px 10px;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--ink);
}

.site-nav a[aria-current="page"] {
  border-bottom-color: var(--coral);
  color: var(--ink);
}

.status-badge {
  min-width: 68px;
  padding: 5px 9px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.status-badge[data-status="live"] {
  border-color: #78b9ae;
  background: var(--teal-soft);
  color: #075f57;
}

.status-badge[data-status="upcoming"] {
  border-color: #e0b968;
  background: var(--amber-soft);
  color: #774700;
}

.status-badge[data-status="ended"] {
  border-color: var(--line-strong);
  background: var(--surface-soft);
  color: var(--ink);
}

.page-shell {
  padding-block: 44px 72px;
}

.challenge-overview {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(540px, 1.35fr);
  gap: 56px;
  align-items: end;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line-strong);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--coral-dark);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 560px;
  margin-bottom: 10px;
  font-size: 36px;
  line-height: 1.12;
}

h2 {
  margin-bottom: 6px;
  font-size: 23px;
  line-height: 1.2;
}

h3 {
  margin-bottom: 0;
  font-size: 16px;
}

.challenge-dates {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.summary-grid,
.score-strip {
  display: grid;
  margin: 0;
}

.summary-grid {
  grid-template-columns: repeat(4, minmax(100px, 1fr));
  border-block: 1px solid var(--line);
}

.summary-grid div {
  min-width: 0;
  padding: 17px 18px;
  border-right: 1px solid var(--line);
}

.summary-grid div:last-child {
  border-right: 0;
}

dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

dd {
  margin: 2px 0 0;
  font-variant-numeric: tabular-nums;
}

.summary-grid dd {
  font-size: 23px;
  font-weight: 800;
}

.standings {
  padding-top: 40px;
}

.section-heading,
.detail-heading,
.panel-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.section-heading {
  align-items: end;
  margin-bottom: 18px;
}

.section-heading > p {
  max-width: 520px;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 13px;
  text-align: right;
}

.message-state {
  display: flex;
  min-height: 170px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--muted);
  box-shadow: var(--shadow);
}

.message-state strong {
  color: var(--ink);
}

.message-state p {
  margin: 2px 0 0;
  font-size: 14px;
}

.loading-indicator {
  width: 20px;
  height: 20px;
  border: 2px solid var(--line-strong);
  border-top-color: var(--teal);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.state-icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 4px;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.error-state {
  border-color: #e9b9b4;
  background: var(--danger-soft);
}

.error-state .state-icon {
  background: #f3c9c4;
  color: var(--danger);
}

.table-shell {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

th,
td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

th {
  background: #f7f9fa;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

tbody tr:last-child td {
  border-bottom: 0;
}

tbody tr[data-selected="true"] {
  background: #f0f8f6;
}

.rank-value {
  display: inline-grid;
  width: 32px;
  height: 28px;
  place-items: center;
  border-radius: 4px;
  background: var(--surface-soft);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.rank-value[data-podium="true"] {
  background: var(--amber-soft);
  color: #754600;
}

.team-button {
  padding: 2px 0;
  border: 0;
  background: transparent;
  color: var(--blue);
  cursor: pointer;
  font-weight: 800;
  text-align: left;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
}

.team-button:hover,
.team-button[aria-pressed="true"] {
  color: #164866;
  text-decoration-color: currentcolor;
}

.team-id {
  display: block;
  margin-top: 2px;
  color: var(--quiet);
  font-size: 11px;
}

.score-value {
  font-size: 16px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.score-suffix {
  margin-left: 2px;
  color: var(--quiet);
  font-size: 10px;
  font-weight: 600;
}

.movement {
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}

.movement[data-direction="up"] {
  color: var(--teal);
}

.movement[data-direction="down"] {
  color: var(--danger);
}

.movement[data-direction="new"],
.movement[data-direction="flat"] {
  color: var(--muted);
}

.attempt-meter {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 100px;
}

.attempt-dots {
  display: grid;
  grid-template-columns: repeat(8, 6px);
  gap: 3px;
}

.attempt-dots span {
  width: 6px;
  height: 16px;
  border-radius: 2px;
  background: var(--line);
}

.attempt-dots span[data-used="true"] {
  background: var(--teal);
}

.score-history-panel {
  margin-top: 30px;
  padding: 28px 0 20px;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.score-history-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
}

.score-history-heading h2 {
  margin: 2px 0 0;
  font-size: 22px;
}

.score-history-range,
.score-history-submissions {
  color: var(--muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.score-history-range {
  margin: 5px 0 0;
}

.score-history-submissions {
  margin-top: 4px;
  white-space: nowrap;
}

.score-history-legend {
  display: flex;
  min-height: 38px;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px 18px;
  margin-top: 12px;
}

.score-history-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}

.score-history-legend-swatch {
  width: 24px;
  height: 3px;
  flex: 0 0 auto;
  background: var(--series-color);
}

.score-history-viewport {
  position: relative;
  min-height: 360px;
  margin-top: 6px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
}

.score-history-chart {
  display: block;
  width: 100%;
  min-width: 880px;
  height: auto;
}

.score-history-empty {
  display: grid;
  min-height: 340px;
  place-items: center;
  margin: 0;
  color: var(--muted);
  text-align: center;
}

.score-chart-grid-line {
  stroke: #dfe6eb;
  stroke-width: 1;
}

.score-chart-axis-line {
  stroke: #97a6b2;
  stroke-width: 1;
}

.score-chart-axis-label {
  fill: var(--muted);
  font-family: inherit;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.score-chart-series-line {
  fill: none;
  stroke: var(--series-color);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.score-chart-point {
  fill: var(--surface);
  stroke: var(--series-color);
  stroke-width: 3;
}

.score-chart-label-connector {
  stroke: var(--series-color);
  stroke-width: 1.5;
}

.score-chart-label-box {
  fill: var(--surface);
  stroke: var(--line-strong);
  stroke-width: 1;
}

.score-chart-label-text {
  fill: var(--series-color);
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.team-detail {
  margin-top: 28px;
  padding-top: 30px;
  border-top: 2px solid var(--ink);
}

.detail-heading {
  align-items: start;
  margin-bottom: 30px;
}

.team-identifier {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
}

.score-strip {
  grid-template-columns: repeat(4, minmax(90px, 1fr));
  min-width: min(100%, 500px);
  border-bottom: 1px solid var(--line);
}

.score-strip div {
  padding: 7px 14px 13px;
  border-left: 1px solid var(--line);
}

.score-strip dd {
  font-size: 19px;
  font-weight: 800;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(280px, 680px);
}

.panel-heading {
  align-items: baseline;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.panel-heading span {
  color: var(--muted);
  font-size: 11px;
}

.criterion-breakdown {
  display: grid;
  gap: 17px;
}

.criterion-row {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) auto;
  gap: 6px 16px;
  align-items: center;
}

.criterion-row label {
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.criterion-value {
  color: var(--muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.criterion-row progress {
  width: 100%;
  height: 9px;
  grid-column: 1 / -1;
  overflow: hidden;
  border: 0;
  border-radius: 3px;
  background: var(--surface-soft);
  appearance: none;
}

.criterion-row progress::-webkit-progress-bar {
  background: var(--surface-soft);
}

.criterion-row progress::-webkit-progress-value {
  background: var(--teal);
}

.criterion-row progress::-moz-progress-bar {
  background: var(--teal);
}

.manual-shell {
  padding-top: 0;
}

.manual-hero {
  display: grid;
  min-height: min(650px, calc(100vh - 76px));
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 72px;
  align-items: center;
  padding-block: 72px 64px;
  border-bottom: 1px solid var(--line-strong);
}

.manual-intro h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: 54px;
  line-height: 1.05;
}

.manual-lead {
  max-width: 720px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
}

.manual-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.button:hover {
  border-color: var(--ink);
}

.button-primary {
  border-color: var(--coral);
  background: var(--coral);
  color: #fff;
}

.button-primary:hover {
  border-color: var(--coral-dark);
  background: var(--coral-dark);
}

.rule-rail {
  margin: 0;
  border-top: 2px solid var(--ink);
}

.rule-rail div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  align-items: baseline;
  padding-block: 20px;
  border-bottom: 1px solid var(--line-strong);
}

.rule-rail dt {
  color: var(--quiet);
  text-transform: uppercase;
}

.rule-rail dd {
  font-size: 17px;
  font-weight: 800;
}

.manual-section {
  padding-block: 64px;
  border-bottom: 1px solid var(--line-strong);
}

.manual-section-heading {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.1fr);
  gap: 48px;
  align-items: baseline;
  margin-bottom: 36px;
}

.manual-section-heading h2 {
  margin: 0;
  font-size: 30px;
}

.manual-section-heading p {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
}

.trust-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr);
  gap: 42px;
  border-block: 1px solid var(--line);
}

.trust-flow article {
  padding-block: 34px;
}

.flow-divider {
  width: 1px;
  background: var(--line);
}

.step-number {
  display: inline-grid;
  width: 34px;
  height: 30px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 4px;
  background: var(--teal-soft);
  color: #075f57;
  font-size: 12px;
  font-weight: 850;
}

.trust-flow h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.trust-flow p {
  max-width: 520px;
  color: var(--muted);
}

.trust-flow .trust-result {
  margin-bottom: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
}

.instruction-list {
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--ink);
  counter-reset: instruction;
  list-style: none;
}

.instruction-list li {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 28px;
  padding-block: 30px;
  border-bottom: 1px solid var(--line);
  counter-increment: instruction;
}

.instruction-list li::before {
  content: counter(instruction, decimal-leading-zero);
  color: var(--coral-dark);
  font-size: 14px;
  font-weight: 850;
}

.instruction-list h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.instruction-list p {
  max-width: 780px;
  margin-bottom: 12px;
  color: var(--muted);
}

code,
pre {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

code {
  font-size: 0.9em;
}

pre {
  max-width: 860px;
  overflow-x: auto;
  margin: 14px 0;
  padding: 16px 18px;
  border: 1px solid #263640;
  border-radius: 5px;
  background: #132027;
  color: #f4f7f8;
  font-size: 13px;
  line-height: 1.65;
}

.command-band {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.command-band > div {
  min-width: 0;
}

.command-band h3 {
  margin-bottom: 12px;
}

.command-band pre {
  min-height: 174px;
  margin: 0;
}

.iteration-note {
  max-width: 900px;
  margin: 28px 0 0;
  padding-left: 18px;
  border-left: 3px solid var(--teal);
  color: var(--muted);
}

footer a {
  color: var(--blue);
  font-weight: 700;
}

footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
}

footer p {
  margin-bottom: 0;
  padding-block: 20px;
  color: var(--muted);
  font-size: 12px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  white-space: nowrap !important;
  clip-path: inset(50%) !important;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 900px) {
  .challenge-overview,
  .detail-grid,
  .manual-hero,
  .manual-section-heading {
    grid-template-columns: 1fr;
  }

  .challenge-overview {
    gap: 28px;
  }

  .detail-grid {
    gap: 36px;
  }

  .manual-hero {
    gap: 42px;
  }

  .manual-section-heading {
    gap: 12px;
  }
}

@media (max-width: 720px) {
  .header-inner,
  .page-shell,
  footer p {
    width: min(100% - 28px, 1180px);
  }

  .header-inner {
    min-height: 70px;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding-block: 12px;
  }

  .brand small,
  .updated-at {
    display: none;
  }

  .header-actions {
    width: 100%;
    gap: 8px;
  }

  .header-actions .header-state {
    display: none;
  }

  .site-nav a {
    padding-inline: 7px;
    font-size: 12px;
  }

  .site-nav {
    flex-wrap: wrap;
  }

  .page-shell {
    padding-block: 30px 48px;
  }

  h1 {
    font-size: 30px;
  }

  .manual-hero {
    min-height: 0;
    padding-block: 48px;
  }

  .manual-intro h1 {
    font-size: 38px;
  }

  .manual-lead {
    font-size: 17px;
  }

  .manual-section {
    padding-block: 48px;
  }

  .manual-section-heading h2 {
    font-size: 25px;
  }

  .trust-flow,
  .command-band {
    grid-template-columns: 1fr;
  }

  .trust-flow {
    gap: 0;
  }

  .flow-divider {
    width: 100%;
    height: 1px;
  }

  .instruction-list li {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
  }

  .command-band pre {
    min-height: 0;
  }

  .summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .summary-grid div:nth-child(2) {
    border-right: 0;
  }

  .summary-grid div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .section-heading,
  .detail-heading {
    display: block;
  }

  .section-heading > p {
    margin-top: 12px;
    text-align: left;
  }

  .table-shell {
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  table,
  tbody {
    display: block;
  }

  thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
  }

  tbody {
    display: grid;
    gap: 12px;
  }

  tbody tr {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--surface);
    box-shadow: 0 4px 14px rgb(22 33 44 / 6%);
  }

  tbody tr[data-selected="true"] {
    border-color: #7eb8ae;
  }

  tbody td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--line);
  }

  tbody td::before {
    content: attr(data-label);
    color: var(--muted);
    font-size: 10px;
    font-weight: 750;
    text-transform: uppercase;
  }

  tbody .cell-rank,
  tbody .cell-team,
  tbody .cell-best {
    border-bottom: 1px solid var(--line);
  }

  tbody .cell-rank::before,
  tbody .cell-team::before,
  tbody .cell-best::before {
    display: none;
  }

  tbody .cell-rank {
    padding-right: 0;
  }

  tbody .cell-best {
    text-align: right;
  }

  tbody .cell-latest,
  tbody .cell-movement,
  tbody .cell-attempts {
    display: flex;
    grid-column: 1 / -1;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  tbody .cell-attempts {
    border-bottom: 0;
  }

  .score-strip {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 22px;
  }

  .score-strip div:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .score-history-heading {
    display: block;
  }

  .score-history-submissions {
    display: block;
    margin-top: 12px;
  }

  .score-history-viewport {
    min-height: 330px;
  }

  .score-history-chart {
    min-width: 820px;
  }
}

.overview-shell,
.tutorial-shell {
  padding-top: 0;
}

.overview-hero {
  display: grid;
  min-height: 540px;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 72px;
  align-items: center;
  padding-block: 72px 64px;
  border-bottom: 1px solid var(--line-strong);
}

.overview-copy h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: 52px;
  line-height: 1.08;
}

.overview-copy > p {
  max-width: 700px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.overview-metrics {
  margin: 0;
  border-top: 2px solid var(--ink);
}

.overview-metrics div {
  display: grid;
  grid-template-columns: minmax(120px, 0.8fr) minmax(120px, 1fr);
  gap: 20px;
  align-items: baseline;
  padding-block: 20px;
  border-bottom: 1px solid var(--line-strong);
}

.overview-metrics dd {
  font-size: 18px;
  font-weight: 800;
}

.overview-section {
  padding-block: 64px;
  border-bottom: 1px solid var(--line-strong);
}

.scenario-section {
  padding-block: 72px;
}

.scenario-lead {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(360px, 1.1fr);
  gap: 64px;
  align-items: end;
}

.scenario-lead h2 {
  max-width: 560px;
  margin: 0;
  font-size: 34px;
  line-height: 1.18;
}

.scenario-lead > p {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.scenario-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 42px 0 0;
  padding: 0;
  border-block: 1px solid var(--line-strong);
  list-style: none;
}

.scenario-flow li {
  min-width: 0;
  padding: 26px 24px 28px;
  border-right: 1px solid var(--line);
}

.scenario-flow li:first-child {
  padding-left: 0;
}

.scenario-flow li:last-child {
  padding-right: 0;
  border-right: 0;
}

.scenario-step {
  color: var(--coral-dark);
  font-size: 12px;
  font-weight: 850;
}

.scenario-flow h3 {
  margin: 22px 0 8px;
  font-size: 18px;
}

.scenario-flow p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.scenario-queue {
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(440px, 1.15fr);
  gap: 64px;
  align-items: start;
  padding-top: 42px;
}

.scenario-queue-copy h3 {
  margin: 16px 0 10px;
  font-size: 24px;
}

.scenario-queue-copy p {
  margin: 0;
  color: var(--muted);
}

.domain-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
  list-style: none;
}

.domain-list li {
  min-width: 0;
  padding: 12px 14px;
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  background: rgb(255 255 255 / 45%);
  font-size: 13px;
  font-weight: 750;
}

.scenario-pressure {
  display: grid;
  grid-template-columns: minmax(180px, 0.35fr) minmax(360px, 1.65fr);
  gap: 32px;
  margin-top: 36px;
  padding: 20px 22px;
  border-left: 3px solid var(--teal);
  background: var(--teal-soft);
}

.scenario-pressure p {
  max-width: 760px;
  margin: 0;
  color: #345f5a;
}

.settings-section {
  padding-block: 60px;
}

.settings-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 36px 0 0;
  border-block: 1px solid var(--line-strong);
}

.settings-grid > div {
  min-width: 0;
  padding: 22px 20px;
  border-right: 1px solid var(--line);
}

.settings-grid > div:first-child {
  padding-left: 0;
}

.settings-grid > div:last-child {
  padding-right: 0;
  border-right: 0;
}

.settings-grid dt {
  color: var(--coral-dark);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.settings-grid dd {
  margin: 10px 0 0;
  color: var(--ink);
  font-weight: 750;
}

.settings-note {
  max-width: 920px;
  margin: 24px 0 0;
  color: var(--muted);
}

.routing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 28px;
  border-block: 1px solid var(--line-strong);
}

.routing-grid article {
  min-width: 0;
  padding: 24px 20px;
  border-right: 1px solid var(--line);
}

.routing-grid article:first-child {
  padding-left: 0;
}

.routing-grid article:last-child {
  padding-right: 0;
  border-right: 0;
}

.routing-grid span {
  color: var(--coral-dark);
  font-size: 12px;
  font-weight: 850;
}

.routing-grid h3 {
  margin: 16px 0 8px;
  font-size: 17px;
}

.routing-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.experiment-journal {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(360px, 1.3fr);
  gap: 46px;
  align-items: start;
  margin-top: 34px;
  padding: 24px;
  border-left: 3px solid var(--teal);
  background: var(--teal-soft);
}

.experiment-journal h3 {
  margin: 12px 0 0;
  font-size: 20px;
}

.experiment-journal ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 28px;
  margin: 0;
  padding-left: 22px;
  color: #345f5a;
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(320px, 1.25fr);
  gap: 48px;
  align-items: baseline;
  margin-bottom: 34px;
}

.section-intro h2 {
  margin: 0;
  font-size: 30px;
}

.section-intro p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
}

.route-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.route-grid-four {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.route-card {
  display: flex;
  min-height: 270px;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.route-index,
.section-number {
  color: var(--coral-dark);
  font-size: 12px;
  font-weight: 850;
}

.route-card h3 {
  margin: 28px 0 10px;
  font-size: 20px;
}

.route-card p {
  margin-bottom: 24px;
  color: var(--muted);
}

.route-link {
  margin-top: auto;
  color: var(--blue);
  font-weight: 800;
  text-underline-offset: 3px;
}

.route-link:hover {
  color: #164866;
}

.rules-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(420px, 1.2fr);
  gap: 72px;
}

.compact-intro {
  display: block;
  margin: 0;
}

.compact-intro h2 {
  margin-bottom: 14px;
}

.rules-list {
  margin: 0;
  border-top: 2px solid var(--ink);
}

.rules-list div {
  padding-block: 18px;
  border-bottom: 1px solid var(--line);
}

.rules-list dd {
  margin-top: 6px;
  color: var(--ink);
  font-weight: 700;
}

.tutorial-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: 64px;
  align-items: end;
  padding-block: 66px 52px;
  border-bottom: 1px solid var(--line-strong);
}

.tutorial-hero h1 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: 46px;
}

.tutorial-lede {
  max-width: 700px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.tutorial-progress {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-block: 1px solid var(--line-strong);
  list-style: none;
}

.tutorial-progress li {
  min-width: 0;
  padding: 16px;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.tutorial-progress li:last-child {
  border-right: 0;
}

.tutorial-progress span {
  display: block;
  margin-bottom: 7px;
  color: var(--coral-dark);
  font-size: 15px;
  font-weight: 850;
}

.tutorial-section {
  padding-block: 58px;
  border-bottom: 1px solid var(--line-strong);
}

.tutorial-section-header {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(360px, 1.15fr);
  gap: 52px;
  align-items: baseline;
  margin-bottom: 30px;
}

.tutorial-section-header h2 {
  margin: 8px 0 0;
  font-size: 28px;
}

.tutorial-section-header > p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
}

.release-action {
  margin-bottom: 28px;
}

.platform-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-block: 1px solid var(--line);
}

.platform-list article {
  min-width: 0;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.platform-list article:last-child {
  border-right: 0;
}

.platform-list h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.platform-list p,
.command-step p,
.command-note {
  color: var(--muted);
}

.platform-list p {
  margin-bottom: 0;
}

.two-column-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.two-column-list pre {
  min-height: 150px;
  margin-bottom: 0;
}

.command-note {
  margin: 22px 0 0;
}

.command-note a {
  color: var(--blue);
}

.command-step + .command-step {
  margin-top: 32px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.command-step h3 {
  margin-bottom: 10px;
}

.command-step p {
  max-width: 820px;
  margin-bottom: 0;
}

.plain-checklist {
  display: grid;
  gap: 14px;
  max-width: 900px;
  margin: 28px 0 0;
  padding-left: 22px;
}

.plain-checklist li {
  padding-left: 6px;
  color: var(--muted);
}

.review-checklist {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 48px;
}

.answer-contract {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: 32px;
  align-items: start;
  padding: 28px 0 32px;
  border-top: 2px solid var(--ink);
}

.answer-contract h3,
.answer-contract p {
  margin-top: 0;
}

.answer-contract ul {
  margin: 16px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.answer-contract li + li {
  margin-top: 8px;
}

.answer-contract pre {
  min-height: 100%;
  margin: 0;
}

.score-action-guide {
  border-top: 2px solid var(--ink);
}

.score-action-head,
.score-action-guide article {
  display: grid;
  grid-template-columns: minmax(150px, 0.65fr) minmax(240px, 1.15fr) minmax(280px, 1.35fr);
  gap: 28px;
}

.score-action-head {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line-strong);
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.score-action-guide article {
  padding: 20px 16px;
  border-bottom: 1px solid var(--line);
}

.score-action-guide h3,
.score-action-guide p {
  margin: 0;
}

.score-action-guide h3 {
  font-size: 16px;
}

.score-action-guide p {
  color: var(--muted);
  font-size: 14px;
}

.score-action-guide p strong {
  display: none;
  color: var(--ink);
}

.iteration-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-block: 1px solid var(--line);
  list-style: none;
}

.iteration-steps li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 12px;
  padding: 22px 18px;
  border-right: 1px solid var(--line);
}

.iteration-steps li:last-child {
  border-right: 0;
}

.iteration-steps li > span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 4px;
  background: var(--teal-soft);
  color: #075f57;
  font-size: 12px;
  font-weight: 850;
}

.iteration-steps strong {
  display: block;
  margin-bottom: 7px;
}

.iteration-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.iteration-warning {
  max-width: 980px;
  margin-top: 28px;
  padding: 18px 20px;
  border-left: 3px solid var(--coral);
  background: #fff4f2;
}

.iteration-warning p {
  margin: 5px 0 0;
  color: var(--muted);
}

.info-note {
  max-width: 900px;
  margin-top: 30px;
  padding: 18px 20px;
  border-left: 3px solid var(--teal);
  background: var(--teal-soft);
}

.info-note p {
  margin: 4px 0 0;
  color: #285b56;
}

.next-route {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-block: 48px;
}

.next-route h2 {
  margin-bottom: 8px;
}

.next-route p {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--muted);
}

.next-route-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.onboarding-hero {
  align-items: center;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.onboarding-setup {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-block: 1px solid var(--line);
}

.onboarding-setup > div {
  min-width: 0;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.onboarding-setup > div:last-child {
  border-right: 0;
}

.onboarding-setup h3 {
  margin-bottom: 12px;
  font-size: 18px;
}

.onboarding-setup p {
  margin-bottom: 0;
  color: var(--muted);
}

.artifact-checksum {
  display: flex;
  gap: 12px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.artifact-checksum code {
  overflow-wrap: anywhere;
}

.onboarding-guide-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.onboarding-guide-steps figure {
  margin: 0;
}

.onboarding-guide-steps img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line-strong);
}

.onboarding-guide-steps figcaption {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  padding-top: 14px;
}

.onboarding-guide-steps figcaption > span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  background: var(--teal-soft);
  color: var(--teal);
  font-weight: 850;
}

.onboarding-guide-steps small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.5;
}

.case-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 30px;
  border: 1px solid var(--line-strong);
}

.case-nav a {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 8px;
  min-width: 0;
  padding: 14px 16px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}

.case-nav a:nth-child(3n) {
  border-right: 0;
}

.case-nav a:nth-last-child(-n + 3) {
  border-bottom: 0;
}

.case-nav b {
  color: var(--coral-dark);
}

.case-list {
  border-top: 1px solid var(--line-strong);
}

.case {
  scroll-margin-top: 96px;
  border-bottom: 1px solid var(--line-strong);
}

.case > summary {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 24px;
  gap: 18px;
  align-items: center;
  padding-block: 24px;
  cursor: pointer;
  list-style: none;
}

.case > summary::-webkit-details-marker,
.answer-reveal > summary::-webkit-details-marker {
  display: none;
}

.case-number {
  color: var(--coral-dark);
  font-size: 20px;
  font-weight: 850;
}

.case-title strong,
.case-title small {
  display: block;
}

.case-title strong {
  font-size: 20px;
}

.case-title small {
  margin-top: 4px;
  color: var(--muted);
}

.case-toggle::before {
  content: "+";
  color: var(--muted);
  font-size: 24px;
}

.case[open] .case-toggle::before {
  content: "-";
}

.case-body {
  padding: 0 0 34px 90px;
}

.ba-flag {
  max-width: 900px;
  padding: 16px 18px;
  border-left: 3px solid var(--coral);
  background: var(--coral-soft);
}

.question-list {
  display: grid;
  gap: 0;
  max-width: 1000px;
  margin: 24px 0;
  padding-left: 28px;
}

.question-list li {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.question-list li::marker {
  color: var(--muted);
  font-weight: 800;
}

.evidence-badge {
  align-self: start;
  width: max-content;
  padding: 3px 8px;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.evidence-badge.code {
  border-color: #b9add8;
  color: #6545a0;
}

.evidence-badge.experiment {
  border-color: #8bbec6;
  color: #176e78;
}

.choices {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
}

.answer-reveal {
  max-width: 1000px;
  border: 1px solid var(--line-strong);
}

.answer-reveal > summary {
  padding: 14px 18px;
  cursor: pointer;
  color: var(--blue);
  font-weight: 800;
  list-style: none;
}

.answer-reveal[open] > summary {
  border-bottom: 1px solid var(--line);
}

.answer-reveal dl {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
}

.answer-reveal dl > div {
  min-width: 0;
  padding: 16px;
  border-right: 1px solid var(--line);
}

.answer-reveal dl > div:last-child {
  border-right: 0;
}

.answer-reveal dt {
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.answer-reveal dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.answer-reveal > p {
  margin: 0;
  padding: 0 16px 16px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .answer-contract {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .overview-hero,
  .rules-layout,
  .tutorial-hero,
  .tutorial-section-header,
  .scenario-lead,
  .scenario-queue,
  .experiment-journal {
    grid-template-columns: 1fr;
  }

  .overview-hero,
  .tutorial-hero {
    gap: 38px;
  }

  .route-grid {
    grid-template-columns: 1fr;
  }

  .route-card {
    min-height: 0;
  }

  .rules-layout,
  .tutorial-section-header,
  .scenario-lead,
  .scenario-queue,
  .experiment-journal {
    gap: 18px;
  }

  .scenario-flow,
  .settings-grid,
  .routing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .scenario-flow li:nth-child(2),
  .settings-grid > div:nth-child(2),
  .routing-grid article:nth-child(2) {
    border-right: 0;
  }

  .scenario-flow li:nth-child(-n + 2),
  .settings-grid > div:nth-child(-n + 2),
  .routing-grid article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .scenario-flow li,
  .scenario-flow li:first-child,
  .scenario-flow li:last-child,
  .settings-grid > div,
  .settings-grid > div:first-child,
  .settings-grid > div:last-child,
  .routing-grid article,
  .routing-grid article:first-child,
  .routing-grid article:last-child {
    padding-inline: 20px;
  }

  .scenario-flow li:nth-child(odd),
  .settings-grid > div:nth-child(odd),
  .routing-grid article:nth-child(odd) {
    padding-left: 0;
  }

  .scenario-flow li:nth-child(even),
  .settings-grid > div:nth-child(even),
  .routing-grid article:nth-child(even) {
    padding-right: 0;
    border-right: 0;
  }

  .score-action-head {
    display: none;
  }

  .score-action-guide article {
    grid-template-columns: minmax(150px, 0.5fr) minmax(0, 1fr);
  }

  .score-action-guide article p:last-child {
    grid-column: 2;
  }

  .score-action-guide p strong {
    display: block;
    margin-bottom: 4px;
  }

  .iteration-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .iteration-steps li:nth-child(2) {
    border-right: 0;
  }

  .iteration-steps li:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .onboarding-setup,
  .onboarding-guide-steps {
    grid-template-columns: 1fr;
  }

  .onboarding-setup > div {
    padding-inline: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .onboarding-setup > div:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 720px) {
  .participant-header .header-inner {
    display: block;
    padding-block: 12px;
  }

  .participant-header .site-nav {
    flex-wrap: wrap;
    margin-top: 10px;
  }

  .overview-hero {
    min-height: 0;
    padding-block: 46px;
  }

  .overview-copy h1,
  .tutorial-hero h1 {
    font-size: 36px;
  }

  .overview-copy > p,
  .tutorial-lede {
    font-size: 16px;
  }

  .overview-metrics div,
  .section-intro {
    grid-template-columns: 1fr;
  }

  .overview-metrics div {
    gap: 4px;
  }

  .overview-section,
  .tutorial-section {
    padding-block: 46px;
  }

  .scenario-section {
    padding-block: 46px;
  }

  .scenario-flow,
  .domain-list,
  .scenario-pressure,
  .settings-grid,
  .routing-grid,
  .experiment-journal ol {
    grid-template-columns: 1fr;
  }

  .scenario-flow li,
  .scenario-flow li:first-child,
  .scenario-flow li:last-child,
  .settings-grid > div,
  .settings-grid > div:first-child,
  .settings-grid > div:last-child,
  .routing-grid article,
  .routing-grid article:first-child,
  .routing-grid article:last-child {
    padding: 20px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .scenario-flow li:last-child,
  .settings-grid > div:last-child,
  .routing-grid article:last-child {
    border-bottom: 0;
  }

  .scenario-pressure {
    gap: 10px;
  }

  .section-intro {
    gap: 12px;
  }

  .route-card {
    padding: 22px;
  }

  .tutorial-hero {
    padding-block: 46px 40px;
  }

  .tutorial-progress,
  .platform-list,
  .two-column-list,
  .review-checklist,
  .score-action-guide article,
  .iteration-steps {
    grid-template-columns: 1fr;
  }

  .score-action-guide article {
    gap: 12px;
    padding-inline: 0;
  }

  .score-action-guide article p:last-child {
    grid-column: auto;
  }

  .iteration-steps li {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .iteration-steps li:last-child {
    border-bottom: 0;
  }

  .tutorial-progress li,
  .platform-list article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .tutorial-progress li:last-child,
  .platform-list article:last-child {
    border-bottom: 0;
  }

  .platform-list article {
    padding: 22px 0;
  }

  .two-column-list pre {
    min-height: 0;
  }

  .next-route {
    display: block;
  }

  .next-route .button,
  .next-route-actions {
    width: 100%;
    margin-top: 22px;
  }

  .next-route-actions {
    flex-direction: column;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .artifact-checksum {
    display: block;
  }

  .artifact-checksum code {
    display: block;
    margin-top: 6px;
  }

  .case-nav {
    grid-template-columns: 1fr;
  }

  .case-nav a,
  .case-nav a:nth-child(3n),
  .case-nav a:nth-last-child(-n + 3) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .case-nav a:last-child {
    border-bottom: 0;
  }

  .case > summary {
    grid-template-columns: 50px minmax(0, 1fr) 20px;
    gap: 10px;
  }

  .case-title strong {
    font-size: 17px;
  }

  .case-body {
    padding-left: 0;
  }

  .question-list li {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .answer-reveal dl {
    grid-template-columns: 1fr;
  }

  .answer-reveal dl > div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .answer-reveal dl > div:last-child {
    border-bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .loading-indicator {
    animation: none;
  }
}
