@charset "UTF-8";
:root {
  color-scheme:dark;
  --bg:#1a1f24;
  --surface:#242b31;
  --raised:#2c333a;
  --ink:#f3f4ef;
  --muted:#b0b8bd;
  --line:#3c444a;
  --yellow:#cfff04;
  --peach:#ff986d;
  --blue:#8cbbda;
  --pink:#eda0c0;
  --purple:#b5a0df;
  --header:82px;
  --anchor:108px;
}

* {
  box-sizing:border-box;
}

html {
  scroll-behavior:smooth;
  scroll-padding-top:var(--anchor);
}

body {
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;
  font-size:16px;
  line-height:1.75;
  -webkit-font-smoothing:antialiased;
}

a {
  color:inherit;
  text-decoration:none;
}

button {
  font:inherit;
  cursor:pointer;
}

img {
  display:block;
  max-width:100%;
  height:auto;
}

figure,p,h1,h2,h3 {
  margin:0;
}

button,a,summary {
  -webkit-tap-highlight-color:transparent;
}

button[hidden],[hidden] {
  display:none!important;
}

::selection {
  background:var(--yellow);
  color:var(--bg);
}

:focus-visible {
  outline:2px solid var(--yellow);
  outline-offset:6px;
  border-radius:4px;
}

.skip-link {
  position:fixed;
  left:16px;
  top:-100px;
  z-index:100;
  background:var(--yellow);
  color:var(--bg);
  padding:10px 20px;
}

.skip-link:focus {
  top:10px;
}

.site-header {
  height:var(--header);
  display:flex;
  align-items:center;
  gap:26px;
  max-width:1320px;
  margin:auto;
  padding:0 48px;
  border-bottom:1px solid var(--line);
}

.brand {
  display:flex;
  align-items:center;
  gap:12px;
  flex-shrink:0;
}

.brand>span {
  font-size:27px;
  font-weight:900;
  letter-spacing:-1.6px;
  line-height:1;
}



.brand img {
  width:38px;
  height:38px;
}

.header-title {
  font-size:14px;
  color:var(--muted);
  border-left:1px solid var(--line);
  padding-left:26px;
}

.language {
  margin-left:auto;
  min-width:44px;
  min-height:44px;
  display:grid;
  place-items:center;
  font-size:13px;
  font-weight:700;
}

.language:hover {
  color:var(--yellow);
}

main {
  max-width:1320px;
  margin:auto;
}

.hero {
  padding:74px 72px 58px;
  display:grid;
  grid-template-columns:1.05fr 1fr;
  gap:30px;
  min-height:640px;
  align-items:center;
  overflow:hidden;
}

.hero-kicker {
  display:flex;
  align-items:center;
  gap:10px;
  font-size:13px;
  letter-spacing:.06em;
  margin-bottom:26px;
  color:var(--muted);
}

.status-dot {
  width:6px;
  height:6px;
  border-radius:50%;
  background:var(--yellow);
}

h1 {
  font-size:clamp(48px,5.2vw,70px);
  font-weight:760;
  line-height:1.23;
  letter-spacing:-.065em;
  margin-left:-4px;
}

.hero-description {
  max-width:390px;
  margin-top:28px;
  color:var(--muted);
  font-size:17px;
  line-height:1.9;
  text-wrap:pretty;
}

.hero-actions {
  display:flex;
  align-items:center;
  gap:26px;
  flex-wrap:wrap;
  margin-top:34px;
}

.button {
  display:inline-flex;
  justify-content:center;
  align-items:center;
  gap:24px;
  min-height:48px;
  border-radius:999px;
  padding:13px 24px;
  border:1px solid transparent;
  font-weight:650;
  font-size:14px;
  line-height:1.5;
}

.primary {
  background:var(--yellow);
  color:var(--bg);
}

.secondary {
  background:transparent;
  color:var(--ink);
  border-color:var(--line);
}

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

.text-link {
  display:inline-flex;
  align-items:center;
  gap:14px;
  min-height:44px;
  font-size:14px;
}

.text-link:hover {
  color:var(--yellow);
}

.hero-footnote {
  font-size:12px;
  color:var(--muted);
  margin-top:20px;
}

.hero-art {
  position:relative;
  height:490px;
  width:100%;
  isolation:isolate;
}

.art-grid {
  position:absolute;
  inset:0 0 15px;
  background-image:radial-gradient(#4b5359 .8px,transparent .8px);
  background-size:21px 21px;
  opacity:.5;
  mask-image:linear-gradient(90deg,transparent,#000 20%,#000 80%,transparent);
}

.hero-wall {
  height:430px;
  width:100%;
  object-fit:contain;
  position:relative;
  margin-top:8px;
  transform:rotate(-6deg);
}

.art-tag {
  position:absolute;
  display:flex;
  align-items:center;
  gap:14px;
  padding:16px 20px;
  background:var(--raised);
  border:1px solid #56606a;
  border-radius:14px;
  font-size:13px;
  box-shadow:0 12px 40px #0003;
}

.art-tag-top {
  left:-8px;
  top:70px;
  transform:rotate(-3deg);
}

.art-tag-bottom {
  right:-8px;
  bottom:58px;
  transform:rotate(3deg);
}

.art-tag small {
  display:block;
  font-size:11px;
  color:var(--muted);
  margin-top:3px;
}

.spark {
  color:var(--yellow);
  font-size:25px;
  line-height:1;
}

.match-check {
  width:32px;
  height:32px;
  border-radius:50%;
  color:var(--yellow);
  background:#394326;
  display:grid;
  place-items:center;
  font-size:17px;
}

.hero-art figcaption {
  position:absolute;
  bottom:9px;
  right:0;
  font-size:11px;
  color:var(--muted);
}

.journey-strip {
  border-block:1px solid var(--line);
  margin:0 48px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:24px 24px;
  font-size:14px;
  font-weight:600;
}

.journey-strip>[aria-hidden] {
  font-size:23px;
  color:var(--yellow);
}

.guide-layout {
  display:grid;
  grid-template-columns:220px minmax(0,1fr);
  gap:70px;
  margin:0 72px;
  padding:70px 0 0;
}

.sidebar {
  position:sticky;
  top:26px;
  align-self:start;
  max-height:calc(100dvh - 52px);
  overflow-y:auto;
}

.chapter-menu>summary {
  font-size:12px;
  font-weight:650;
  color:var(--muted);
  list-style:none;
  display:flex;
  align-items:center;
  justify-content:space-between;
  cursor:pointer;
  min-height:44px;
  margin-bottom:14px;
}

.chapter-menu>summary::-webkit-details-marker {
  display:none;
}

.chapter-menu>summary>span {
  font-size:18px;
}

.chapter-menu[open]>summary>span {
  transform:rotate(45deg);
}

.chapter-menu nav {
  display:grid;
  gap:5px;
}

.chapter-menu nav a {
  display:flex;
  gap:15px;
  align-items:center;
  border-left:2px solid transparent;
  padding:10px 0 10px 15px;
  line-height:1.5;
  font-size:14px;
  color:var(--muted);
}

.chapter-menu nav a span {
  font-size:11px;
  font-variant-numeric:tabular-nums;
  opacity:.7;
}

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

.chapter-menu nav a[aria-current="location"] {
  border-color:var(--yellow);
  color:var(--yellow);
}

.chapter-menu nav .faq-nav {
  margin-top:10px;
}

.contributor-link {
  display:flex;
  gap:12px;
  font-size:12px;
  margin-top:30px;
  padding:20px 0;
  border-top:1px solid var(--line);
  color:var(--muted);
}

.contributor-link>span {
  color:var(--yellow);
  font-size:18px;
}

.chapters {
  min-width:0;
}

.entry-note {
  display:flex;
  gap:20px;
  border:1px solid var(--line);
  border-radius:14px;
  padding:22px 26px;
  margin-bottom:54px;
}

.entry-note strong {
  font-size:15px;
  font-weight:650;
}

.entry-note p {
  color:var(--muted);
  font-size:14px;
  line-height:1.8;
  margin-top:4px;
}

.entry-icon {
  font-size:26px;
  color:var(--yellow);
}

.chapter {
  padding:0;
  margin:0 0 64px;
  scroll-margin-top:24px;
}

.chapter-heading {
  display:flex;
  align-items:center;
  gap:20px;
}

.chapter-number {
  font-size:45px;
  line-height:1;
  color:var(--yellow);
  font-weight:500;
  letter-spacing:-3px;
  align-self:center;
  font-variant-numeric:tabular-nums;
  min-width:52px;
}

.chapter-category {
  font-size:11px;
  color:var(--muted);
  margin-bottom:6px;
}

h2 {
  font-size:30px;
  line-height:1.45;
  letter-spacing:-.035em;
  font-weight:650;
  text-wrap:pretty;
}

h3 {
  font-size:17px;
  line-height:1.5;
  font-weight:650;
  letter-spacing:-.01em;
}

.chapter-intro {
  font-size:15px;
  line-height:1.9;
  color:var(--muted);
  margin:20px 0 30px;
  max-width:650px;
}

.split {
  display:grid;
  grid-template-columns:1.1fr 1fr;
  gap:26px;
  align-items:start;
}

.steps {
  padding:0;
  list-style:none;
  counter-reset:step;
  margin:0;
}

.steps li {
  position:relative;
  padding-left:30px;
  margin-bottom:23px;
  counter-increment:step;
}

.steps li::before {
  content:counter(step);
  position:absolute;
  left:0;
  top:2px;
  color:var(--yellow);
  font-size:12px;
  font-weight:650;
}

.steps strong {
  font-size:15px;
  font-weight:600;
}

.steps p {
  font-size:14px;
  line-height:1.85;
  color:var(--muted);
  margin-top:5px;
}

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

.horizontal li {
  padding-left:0;
}

.horizontal li::before {
  position:static;
  display:block;
  margin-bottom:8px;
}

.horizontal strong {
  font-size:14px;
}

.horizontal p {
  font-size:13px;
}

.example {
  border-radius:14px;
  background:var(--surface);
  padding:24px;
}

.example figcaption {
  color:var(--muted);
  font-size:11px;
  line-height:1.7;
  margin-top:14px;
}

.zone-map {
  position:relative;
  height:160px;
  display:grid;
  grid-template-columns:1fr .7fr;
  grid-template-rows:1fr 1fr;
  gap:5px;
  transform:perspective(600px) rotateX(15deg) rotateZ(-5deg);
  padding:8px;
}

.zone {
  border:1px solid #ffffff30;
  display:flex;
  padding:14px;
  align-items:center;
  justify-content:center;
  border-radius:8px;
  background-image:radial-gradient(#0004 1px,transparent 1px);
  background-size:12px 12px;
  font-weight:700;
  color:var(--bg);
}

.zone-a {
  background-color:var(--peach);
  grid-row:span 2;
  clip-path:polygon(0 0,100% 0,100% 42%,65% 42%,65% 100%,0 100%);
}

.zone-b {
  background-color:var(--yellow);
}

.zone-c {
  background-color:var(--blue);
}

.map-entry {
  position:absolute;
  bottom:12px;
  left:44%;
  font-size:28px;
  color:var(--muted);
}

.zone-legend {
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  font-size:10px;
  margin-top:18px;
}

.zone-legend span {
  display:flex;
  align-items:center;
  gap:5px;
}

.zone-legend i {
  width:6px;
  height:6px;
  border-radius:2px;
}

.peach {
  background:var(--peach);
}

.yellow {
  background:var(--yellow);
}

.blue {
  background:var(--blue);
}

.pink {
  background:var(--pink);
}

.purple {
  background:var(--purple);
}

.extra {
  border-top:1px solid var(--line);
}

.extra:last-child {
  border-bottom:1px solid var(--line);
}

.extra>summary {
  font-size:14px;
  list-style:none;
  cursor:pointer;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  padding:18px 0;
  font-weight:500;
}

.extra>summary::-webkit-details-marker {
  display:none;
}

.extra>summary::after {
  content:"+";
  color:var(--muted);
  font-size:22px;
  font-weight:300;
  line-height:1;
}

.extra[open]>summary::after {
  content:"−";
}

.extra>p {
  font-size:14px;
  color:var(--muted);
  padding:0 28px 22px 0;
  line-height:1.9;
}

.extra:hover>summary {
  color:var(--yellow);
}

.grade-options {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:28px;
  padding-bottom:30px;
}

.grade-options>div {
  padding-left:18px;
  border-left:2px solid var(--line);
}

.grade-options p {
  margin-top:9px;
  color:var(--muted);
  font-size:14px;
}

.standard-grades,.custom-grades {
  display:flex;
  align-items:center;
  gap:12px;
  margin-top:18px;
  min-height:32px;
}

.standard-grades>span {
  font-size:20px;
  font-weight:700;
}

.custom-grades>span:not(.flag) {
  width:27px;
  height:30px;
  background:#eee8df;
  color:var(--bg);
  font-size:16px;
  font-weight:700;
  text-align:center;
  border-radius:3px 3px 8px 2px;
}

.flag {
  display:inline-block;
  width:16px;
  height:20px;
  clip-path:polygon(0 0,100% 0,100% 100%,50% 80%,0 100%);
  flex-shrink:0;
}

.custom-grades .flag {
  width:23px;
  height:29px;
}

.mapping-example {
  border-radius:14px;
  background:var(--surface);
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:28px;
  padding:28px;
}

.mapping-description h3 {
  font-size:15px;
}

.mapping-description p {
  font-size:13px;
  color:var(--muted);
  margin-top:10px;
  line-height:1.9;
}

.mapping-table {
  font-size:13px;
}

.mapping-table>[role="row"] {
  display:grid;
  grid-template-columns:1.3fr 1fr;
  align-items:center;
  gap:14px;
  padding:12px 0;
  border-bottom:1px solid var(--line);
}

.mapping-table>[role="row"]:first-child {
  font-size:11px;
  color:var(--muted);
  padding-top:0;
}

.mapping-table>[role="row"]:last-child {
  border:0;
  padding-bottom:0;
}

.mapping-table [role="cell"] {
  display:flex;
  gap:9px;
  align-items:center;
}

.note {
  display:flex;
  gap:12px;
  color:var(--muted);
  font-size:13px;
  padding:20px 0;
  line-height:1.85;
}

.note>span {
  color:var(--yellow);
  font-size:18px;
}

.cycle-example {
  background:var(--surface);
  border-radius:14px;
  margin-top:4px;
  padding:26px;
}

.cycle-top {
  display:flex;
  justify-content:space-between;
  gap:20px;
  font-size:13px;
  font-weight:600;
}

.cycle-top>span:last-child {
  color:var(--muted);
  font-size:10px;
  font-weight:400;
}

.cycle-track {
  display:grid;
  grid-template-columns:1fr 1fr 1.4fr;
  margin:28px 0 20px;
}

.cycle-track>div {
  border-bottom:2px solid #66717a;
  padding-bottom:20px;
  position:relative;
  padding-right:10px;
}

.cycle-track strong {
  font-size:22px;
  display:block;
  line-height:1.5;
  letter-spacing:-.03em;
}

.cycle-track span {
  display:block;
  font-size:11px;
  color:var(--muted);
  margin-top:3px;
}

.cycle-track i {
  position:absolute;
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--muted);
  left:0;
  bottom:-5px;
}

.cycle-track .cycle-work {
  border-bottom-color:var(--yellow);
}

.cycle-track .cycle-live {
  border-bottom-color:var(--yellow);
}

.cycle-live strong {
  font-size:19px;
  color:var(--yellow);
}

.cycle-track .cycle-live i,.cycle-track .cycle-work i {
  background:var(--yellow);
}

.cycle-example figcaption {
  font-size:12px;
  color:var(--muted);
  line-height:1.85;
}

.breadcrumb {
  display:flex;
  gap:12px;
  align-items:center;
  flex-wrap:wrap;
  font-size:12px;
  color:var(--muted);
  margin:-8px 0 25px;
}

.breadcrumb strong {
  color:var(--ink);
  font-weight:500;
}

.breadcrumb>[aria-hidden] {
  font-size:18px;
}

.upload-options {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:30px;
}

.upload-options article {
  padding:25px;
  border:1px solid var(--line);
  border-radius:14px;
}

.upload-icon {
  display:block;
  color:var(--yellow);
  font-size:28px;
  line-height:1;
  margin-bottom:22px;
}

.upload-options article>p {
  font-size:14px;
  color:var(--muted);
  margin:12px 0 22px;
}

.compact-steps {
  font-size:14px;
  color:var(--muted);
  padding-left:1.2em;
  margin:16px 0 0;
}

.compact-steps li {
  padding-left:4px;
  margin-bottom:12px;
  line-height:1.85;
}

.compact-steps li::marker {
  color:var(--ink);
  font-size:11px;
}

.upload-options .text-link {
  font-size:12px;
  color:var(--yellow);
}

.contributor-guide {
  background:#d4dfbd;
  color:#253022;
  border-radius:16px;
  padding:30px;
  margin:30px 0;
  scroll-margin-top:24px;
}

.contributor-heading {
  display:flex;
  gap:18px;
  align-items:center;
}

.small-arrow {
  font-size:38px;
  line-height:1;
}

.contributor-heading p {
  font-size:11px;
  color:#4b5944;
  margin-bottom:5px;
}

.contributor-heading h3 {
  font-size:23px;
  letter-spacing:-.025em;
}

.contributor-steps {
  list-style:none;
  padding:0;
  margin:26px 0 0;
  display:grid;
  gap:20px;
}

.contributor-steps li {
  display:flex;
  gap:16px;
  align-items:flex-start;
}

.contributor-steps li>span {
  width:24px;
  height:24px;
  border:1px solid #6f7b60;
  border-radius:50%;
  display:grid;
  place-items:center;
  font-size:11px;
  flex-shrink:0;
  margin-top:2px;
}

.contributor-steps strong {
  font-size:14px;
  font-weight:650;
}

.contributor-steps p {
  font-size:13px;
  line-height:1.8;
  color:#45523f;
  margin-top:3px;
}

.contributor-note {
  font-size:12px;
  border-top:1px solid #a4b38e;
  padding-top:18px;
  margin-top:22px;
  color:#45523f;
}

.section-link {
  display:inline-flex;
  gap:10px;
  align-items:center;
  min-height:44px;
  font-size:12px;
  margin-top:8px;
  text-decoration:underline;
  text-underline-offset:4px;
}

.contributor-guide :focus-visible {
  outline-color:#253022;
}

.route-example {
  display:grid;
  grid-template-columns:1fr 1.2fr;
  border-radius:16px;
  background:var(--surface);
  overflow:hidden;
}

.route-image {
  position:relative;
  background:#30373b;
  display:grid;
  place-items:center;
  padding:24px;
}

.route-image img {
  width:100%;
  max-height:300px;
  object-fit:contain;
}

.route-image figcaption {
  font-size:10px;
  color:var(--muted);
  position:absolute;
  bottom:14px;
  left:18px;
}

.route-fields {
  padding:30px 28px;
}

.smart-heading {
  display:flex;
  align-items:center;
  gap:12px;
}

.smart-heading h3 {
  font-size:16px;
}

.route-fields>p {
  font-size:13px;
  color:var(--muted);
  margin-top:12px;
}

.field-example {
  margin-top:20px;
  display:flex;
  justify-content:space-between;
  gap:10px;
  align-items:center;
  font-size:12px;
  color:var(--muted);
}

.color-selection,.grade-selection {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  padding:7px 12px;
  border:1px solid var(--line);
  border-radius:30px;
  color:var(--ink);
  min-width:115px;
}

.color-selection {
  border-color:#8d9c50;
}

.color-selection b {
  font-weight:400;
  color:var(--yellow);
}

.color-dot {
  width:17px;
  height:17px;
  display:inline-block;
  border-radius:60% 40% 50% 35%;
  box-shadow:inset -3px -3px 0 #0002;
  flex-shrink:0;
}

.route-fields>.field-note {
  font-size:11px;
  margin-top:23px;
}

.path-options {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:30px;
  margin:30px 0;
}

.path-options h3 {
  font-size:15px;
}

.path-options .compact-steps {
  font-size:13px;
}

.beta-demo {
  background:var(--surface);
  border-radius:16px;
  padding:26px;
  margin:28px 0;
}

.demo-top {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
}

.demo-top strong {
  font-size:14px;
  font-weight:600;
}

.demo-label {
  font-size:10px;
  color:var(--muted);
  text-align:right;
}

.match-pair {
  display:grid;
  grid-template-columns:1fr 60px 1fr;
  align-items:center;
  margin-top:24px;
}

.match-tile>span {
  display:block;
  font-size:12px;
  margin-top:12px;
  color:var(--muted);
}

.match-image {
  border-radius:10px;
  background:#343e46;
  position:relative;
  overflow:hidden;
  height:190px;
}

.match-image>img {
  width:100%;
  height:100%;
  object-fit:contain;
  transform:rotate(-8deg) scale(1.13);
}

.video-example {
  background:#41494e;
}

.video-example>img {
  transform:rotate(4deg) scale(1.23);
}

.play-symbol {
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  background:#1a1f24d9;
  border:1px solid #ffffff70;
  border-radius:50%;
  font-size:14px;
  padding-left:3px;
}

.match-connector {
  align-self:center;
  color:var(--yellow);
  font-size:30px;
  text-align:center;
}

.match-connector i {
  display:block;
  height:1px;
  background:var(--yellow);
  margin:0 12px;
  opacity:.3;
}

.demo-bottom {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  border-top:1px solid var(--line);
  padding-top:20px;
  margin-top:24px;
}

.demo-bottom p {
  font-size:12px;
  line-height:1.8;
  color:var(--muted);
  max-width:330px;
}

.demo-bottom .button {
  font-size:12px;
  flex-shrink:0;
  min-height:44px;
  padding:11px 19px;
}

.beta-demo.is-confirmed .match-image {
  outline:1px solid var(--yellow);
  outline-offset:3px;
}

.beta-demo.is-confirmed .demo-bottom p {
  color:var(--yellow);
}

.maintenance-list {
  margin-top:28px;
}

.maintenance-list>div {
  display:flex;
  gap:20px;
  padding:22px 0;
  border-bottom:1px solid var(--line);
}

.maintenance-list>div:last-child {
  border:0;
}

.maintenance-list>div>span {
  font-size:28px;
  line-height:1.3;
  color:var(--muted);
  min-width:25px;
}

.maintenance-list h3 {
  font-size:15px;
}

.maintenance-list p {
  font-size:14px;
  color:var(--muted);
  margin-top:7px;
  line-height:1.85;
}

.finish-note {
  display:flex;
  gap:18px;
  align-items:flex-start;
  margin-top:20px;
  border-radius:12px;
  background:var(--surface);
  padding:24px;
}

.finish-note>span {
  color:var(--yellow);
  font-size:26px;
  line-height:1.3;
}

.finish-note h3 {
  font-size:16px;
}

.finish-note p {
  font-size:13px;
  color:var(--muted);
  margin-top:9px;
  line-height:1.9;
}

.faq h2 {
  margin-bottom:28px;
  font-size:25px;
}

.faq {
  margin-bottom:0;
}

.closing {
  position:relative;
  padding:38px 0 65px;
  min-height:230px;
}

.closing img {
  position:absolute;
  right:0;
  bottom:55px;
  width:130px;
  opacity:.85;
}

.closing h2 {
  font-size:28px;
  line-height:1.6;
  letter-spacing:-.04em;
  padding-right:125px;
}

.closing .text-link {
  color:var(--yellow);
  margin-top:15px;
  font-size:12px;
}

.site-footer {
  max-width:1224px;
  padding:28px 24px 34px;
  border-top:1px solid var(--line);
  margin:0 auto;
  display:flex;
  align-items:center;
  gap:22px;
  justify-content:space-between;
  font-size:10px;
  color:var(--muted);
}

.site-footer>span {
  color:var(--ink);
  font-size:12px;
}

.site-footer a {
  font-size:10px;
}

.site-footer a:hover {
  color:var(--yellow);
}

@media(min-width:1500px) {
  .hero {
    min-height:690px;
  }
}

@media(max-width:1100px) {
  .hero {
    padding:60px 48px 42px;
    gap:15px;
  }
  .hero-art {
    height:440px;
  }
  .hero-wall {
    height:390px;
  }
  .art-tag {
    padding:13px 15px;
    font-size:12px;
  }
  .art-tag-top {
    left:0;
  }
  .art-tag-bottom {
    right:0;
  }
  .guide-layout {
    margin:0 48px;
    grid-template-columns:175px minmax(0,1fr);
    gap:42px;
  }
  .split {
    grid-template-columns:1fr 1fr;
    gap:20px;
  }
  .route-fields {
    padding:24px 20px;
  }
  .smart-heading {
    gap:8px;
  }
  .smart-heading h3 {
    font-size:14px;
  }
  .horizontal {
    gap:18px;
  }
  .upload-options {
    gap:18px;
  }
  .upload-options article {
    padding:22px;
  }
  .mapping-example {
    gap:20px;
    padding:24px;
  }
  .site-footer {
    margin:0 48px;
    flex-wrap:wrap;
    justify-content:flex-start;
    gap:10px 25px;
  }
  .site-footer p {
    flex:1;
  }
}

@media(max-width:850px) {
  :root {
    --anchor:92px;
  }
  .site-header {
    padding:0 28px;
    height:72px;
  }
  .hero {
    padding:50px 32px 30px;
  }
  .hero-art {
    height:380px;
  }
  .hero-wall {
    height:330px;
  }
  .hero h1 {
    font-size:49px;
  }
  .hero-description {
    font-size:15px;
  }
  .art-tag {
    font-size:10px;
    gap:9px;
    padding:11px;
  }
  .art-tag small {
    font-size:9px;
  }
  .art-tag-top {
    top:45px;
  }
  .art-tag-bottom {
    bottom:50px;
  }
  .hero-actions {
    gap:12px;
  }
  .hero-actions .text-link {
    font-size:12px;
  }
  .hero-actions .button {
    padding:12px 18px;
    font-size:13px;
    gap:14px;
  }
  .journey-strip {
    margin:0 28px;
    padding:20px 0;
    font-size:12px;
  }
  .guide-layout {
    display:block;
    margin:0 28px;
    padding-top:0;
  }
  .sidebar {
    top:0;
    background:var(--bg);
    z-index:10;
    margin:0 -28px 35px;
    padding:0 28px;
    max-height:none;
    overflow:visible;
    border-bottom:1px solid var(--line);
  }
  .chapter-menu>summary {
    margin:0;
    min-height:62px;
    font-size:13px;
    color:var(--ink);
  }
  .chapter-menu nav {
    grid-template-columns:1fr 1fr;
    padding:0 0 18px;
    max-height:65dvh;
    overflow:auto;
    gap:5px 12px;
  }
  .chapter-menu nav .faq-nav {
    margin-top:0;
  }
  .chapter-menu nav a {
    font-size:13px;
    padding:10px;
  }
  .contributor-link {
    display:none;
  }
  .chapters {
    max-width:670px;
    margin:auto;
  }
  .chapter {
    margin-bottom:52px;
  }
  .chapter-heading {
    gap:18px;
  }
  .entry-note {
    margin-bottom:44px;
  }
  .chapter-intro {
    font-size:15px;
  }
  .site-footer {
    margin:0 28px;
    padding-inline:0;
  }
  .site-footer p {
    flex-basis:100%;
    order:3;
  }
  .closing {
    padding-bottom:50px;
  }
}

@media(max-width:580px) {
  :root {
    --anchor:86px;
  }
  .site-header {
    height:68px;
    padding:0 22px;
    gap:17px;
  }
  .brand {
    gap:8px;
  }
  .brand img {
    width:30px;
    height:30px;
  }
  .brand>span {
    font-size:23px;
  }
  .header-title {
    font-size:11px;
    padding-left:16px;
  }
  .hero {
    display:flex;
    flex-direction:column;
    align-items:stretch;
    padding:45px 24px 20px;
    gap:12px;
    min-height:0;
  }
  .hero-kicker {
    font-size:11px;
    margin-bottom:20px;
  }
  .hero h1 {
    font-size:clamp(43px,10.9vw,62px);
    letter-spacing:-.055em;
  }
  .hero-description {
    font-size:15px;
    max-width:350px;
    margin-top:22px;
  }
  .hero-actions {
    margin-top:26px;
    gap:16px;
  }
  .hero-actions .button {
    font-size:13px;
    min-height:46px;
    padding:12px 20px;
    gap:16px;
  }
  .hero-footnote {
    font-size:10px;
    margin-top:15px;
  }
  .hero-art {
    height:350px;
    max-width:390px;
    margin:10px auto 0;
  }
  .hero-wall {
    height:315px;
    width:100%;
    margin-top:0;
    transform:rotate(-8deg);
  }
  .art-grid {
    inset:5px 0 15px;
  }
  .art-tag {
    font-size:11px;
    padding:12px 14px;
    border-radius:10px;
  }
  .art-tag-top {
    top:40px;
    left:0;
  }
  .art-tag-bottom {
    bottom:38px;
    right:0;
  }
  .art-tag small {
    font-size:10px;
  }
  .hero-art figcaption {
    font-size:9px;
    bottom:0;
    right:0;
  }
  .journey-strip {
    margin:0 22px;
    gap:8px;
    font-size:10px;
    padding:18px 0;
  }
  .journey-strip>[aria-hidden] {
    font-size:18px;
  }
  .guide-layout {
    margin:0 22px;
  }
  .sidebar {
    margin:0 -22px 30px;
    padding:0 22px;
  }
  .chapter-menu>summary {
    min-height:56px;
  }
  .chapter-menu nav {
    gap:5px 3px;
  }
  .chapter-menu nav a {
    font-size:12px;
    gap:10px;
    padding-left:9px;
  }
  .entry-note {
    gap:14px;
    padding:18px;
    margin-bottom:40px;
  }
  .entry-note strong {
    font-size:14px;
  }
  .entry-note p {
    font-size:12px;
  }
  .entry-icon {
    font-size:24px;
  }
  .chapter {
    margin-bottom:42px;
  }
  .chapter-heading {
    gap:15px;
  }
  .chapter-number {
    font-size:37px;
    min-width:43px;
    letter-spacing:-2px;
  }
  .chapter-category {
    font-size:10px;
    margin-bottom:5px;
  }
  h2 {
    font-size:24px;
    line-height:1.5;
  }
  .chapter-intro {
    font-size:14px;
    line-height:1.85;
    margin:18px 0 25px;
  }
  .split {
    grid-template-columns:1fr;
    gap:4px;
  }
  .steps li {
    padding-left:26px;
    margin-bottom:20px;
  }
  .steps strong {
    font-size:14px;
  }
  .steps p {
    font-size:13px;
  }
  .area-example {
    margin:0 0 24px;
    padding:22px;
  }
  .zone-map {
    max-width:280px;
    margin:auto;
  }
  .zone-legend {
    justify-content:center;
    font-size:11px;
    gap:16px;
  }
  .example figcaption {
    text-align:center;
    font-size:11px;
  }
  .extra>summary {
    font-size:13px;
    padding:17px 0;
    gap:15px;
  }
  .extra>p {
    font-size:13px;
    padding:0 12px 20px 0;
  }
  .grade-options {
    gap:22px;
    grid-template-columns:1fr;
  }
  .grade-options h3 {
    font-size:15px;
  }
  .grade-options p {
    font-size:13px;
  }
  .standard-grades,.custom-grades {
    margin-top:13px;
  }
  .mapping-example {
    grid-template-columns:1fr;
    padding:22px;
    gap:22px;
  }
  .mapping-table {
    font-size:14px;
  }
  .mapping-table>[role="row"] {
    grid-template-columns:1.3fr 1fr;
  }
  .mapping-table>[role="row"]:first-child {
    font-size:12px;
  }
  .note {
    font-size:12px;
  }
  .horizontal {
    grid-template-columns:1fr;
    gap:0;
  }
  .horizontal li {
    padding-left:26px;
  }
  .horizontal li::before {
    position:absolute;
    top:2px;
    margin:0;
  }
  .horizontal strong {
    font-size:14px;
  }
  .cycle-example {
    padding:20px;
  }
  .cycle-top {
    font-size:12px;
    gap:8px;
  }
  .cycle-top>span:last-child {
    font-size:9px;
  }
  .cycle-track {
    grid-template-columns:1fr 1fr 1.4fr;
    margin-top:25px;
  }
  .cycle-track strong {
    font-size:21px;
  }
  .cycle-track .cycle-live strong {
    font-size:16px;
    padding-top:4px;
  }
  .cycle-track span {
    font-size:10px;
  }
  .cycle-example figcaption {
    font-size:11px;
  }
  .upload-options {
    grid-template-columns:1fr;
    gap:16px;
  }
  .upload-options article {
    padding:23px;
  }
  .upload-icon {
    float:right;
    margin:0;
    font-size:30px;
  }
  .upload-options h3 {
    padding-right:30px;
    font-size:17px;
  }
  .upload-options article>p {
    font-size:13px;
    margin-bottom:16px;
  }
  .compact-steps {
    font-size:13px;
  }
  .contributor-guide {
    padding:23px;
    margin-block:24px;
  }
  .contributor-heading {
    gap:12px;
  }
  .contributor-heading h3 {
    font-size:21px;
  }
  .contributor-heading p {
    font-size:10px;
  }
  .small-arrow {
    font-size:30px;
  }
  .contributor-steps {
    gap:20px;
  }
  .contributor-steps li {
    gap:13px;
  }
  .contributor-note {
    font-size:11px;
  }
  .breadcrumb {
    font-size:11px;
    gap:8px;
    line-height:1.6;
  }
  .route-example {
    grid-template-columns:1fr;
  }
  .route-image {
    height:245px;
    padding:15px;
  }
  .route-image img {
    height:220px;
    width:auto;
    transform:rotate(-5deg);
  }
  .route-fields {
    padding:24px;
  }
  .smart-heading h3 {
    font-size:17px;
  }
  .field-example {
    font-size:13px;
  }
  .route-fields>.field-note {
    font-size:12px;
  }
  .path-options {
    grid-template-columns:1fr;
    gap:20px;
    margin:25px 0;
  }
  .path-options article+article {
    border-top:1px solid var(--line);
    padding-top:20px;
  }
  .path-options .compact-steps {
    font-size:13px;
  }
  .beta-demo {
    padding:20px;
    margin:24px 0;
  }
  .demo-top {
    display:block;
  }
  .demo-top strong {
    font-size:14px;
  }
  .demo-label {
    display:block;
    text-align:left;
    margin-top:9px;
    font-size:9px;
  }
  .match-pair {
    grid-template-columns:1fr 32px 1fr;
    margin-top:20px;
  }
  .match-image {
    height:150px;
  }
  .match-tile>span {
    font-size:10px;
    line-height:1.7;
  }
  .match-connector {
    font-size:25px;
    margin-top:-30px;
  }
  .match-connector i {
    margin-inline:5px;
  }
  .play-symbol {
    width:34px;
    height:34px;
    font-size:11px;
  }
  .demo-bottom {
    flex-direction:column;
    align-items:stretch;
    gap:15px;
    margin-top:18px;
    padding-top:16px;
  }
  .demo-bottom p {
    font-size:12px;
  }
  .demo-bottom .button {
    align-self:flex-start;
  }
  .maintenance-list {
    margin-top:20px;
  }
  .maintenance-list>div {
    gap:15px;
    padding:20px 0;
  }
  .maintenance-list h3 {
    font-size:14px;
  }
  .maintenance-list p {
    font-size:13px;
  }
  .finish-note {
    padding:20px;
    gap:13px;
  }
  .finish-note h3 {
    font-size:15px;
  }
  .finish-note p {
    font-size:12px;
  }
  .faq h2 {
    font-size:22px;
    margin-bottom:20px;
  }
  .closing {
    min-height:210px;
    padding:10px 0 55px;
  }
  .closing h2 {
    font-size:23px;
    padding-right:55px;
  }
  .closing img {
    width:87px;
    bottom:40px;
    right:0;
    opacity:.65;
  }
  .site-footer {
    margin:0 22px;
    padding:23px 0 28px;
    gap:12px;
  }
  .site-footer>span {
    font-size:11px;
  }
  .site-footer>a {
    margin-left:auto;
    font-size:9px;
  }
  .site-footer p {
    font-size:9px;
    line-height:1.9;
  }
}

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

@media print {
  body {
    background:white;
    color:black;
    font-size:11pt;
  }
  .site-header,.sidebar,.hero-art,.hero-actions,.hero-footnote,.journey-strip,.site-footer,.closing,.skip-link,.demo-bottom button {
    display:none!important;
  }
  .hero {
    display:block;
    padding:0;
    min-height:0;
  }
  .hero h1 {
    font-size:32pt;
  }
  .hero-description {
    max-width:none;
  }
  .guide-layout {
    display:block;
    margin:30px 0;
  }
  .chapters {
    max-width:none;
  }
  .chapter {
    break-inside:avoid;
    margin-bottom:20px;
  }
  .chapter p,.entry-note p,.steps p,.compact-steps {
    color:#333;
  }
  .chapter-number,.spark,.note>span {
    color:#333;
  }
  .chapter-intro {
    max-width:none;
  }
  .example,.cycle-example,.mapping-example,.route-example,.beta-demo,.finish-note {
    background:#eee;
    color:#111;
  }
  .extra>p {
    display:block;
    color:#333;
  }
  .entry-note {
    margin-bottom:20px;
  }
  .contributor-guide {
    background:#eee;
    color:black;
  }
  .grade-selection,.color-selection {
    color:#111;
  }
}

/* Real App recordings: the screen is the visual focus, instructions stay quiet. */
.hero-art {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:20px;
  align-items:start;
  height:auto;
  max-width:480px;
  justify-self:end;
}
.hero-result { min-width:0; }
.hero-result:nth-child(2) { margin-top:40px; }
.hero-screen {
  position:relative;
  width:100%;
  aspect-ratio:10 / 21;
  padding-top:8%;
  overflow:hidden;
  background:#2c3339;
  border-radius:16% / 7.619%;
  box-shadow:0 24px 65px #0005;
}
.hero-screen::before {
  content:"";
  position:absolute;
  inset:0 0 auto;
  height:3.81%;
  background:#2c3339;
  z-index:1;
}
.hero-screen img {
  width:100%;
  max-width:none;
  margin-top:-15.42%;
}
.hero-art figcaption {
  position:static;
  margin-top:16px;
  text-align:center;
  color:var(--ink);
  font-size:13px;
}
.entry-note small {
  display:block;
  margin-top:9px;
  color:var(--muted);
  font-size:12px;
}
.demo-layout {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,280px);
  align-items:center;
  gap:38px;
  margin:30px 0;
}
.operation-copy { min-width:0; }
.operation-copy h3 { margin:26px 0 10px; }
.operation-copy h3:first-child { margin-top:0; }
.operation-copy .compact-steps { margin:0 0 20px; }
.operation-copy .extra { margin-top:22px; }
.operation-copy .extra summary { font-size:13px; }
.operation-copy .extra p { font-size:13px; }
.operation-copy .steps li:last-child { margin-bottom:0; }
.standard-choice {
  font-size:14px;
  color:var(--muted);
  margin-bottom:28px;
}
.standard-choice strong {
  display:block;
  color:var(--ink);
  margin-bottom:5px;
}
.operation-demo {
  width:100%;
  max-width:280px;
  min-width:0;
  justify-self:center;
}
.operation-demo video {
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:75/163;
  background:var(--surface);
  border-radius:16% / 7.362%;
  box-shadow:0 16px 40px #0003;
}
.operation-demo video:fullscreen {
  border-radius:0;
  object-fit:contain;
  background:#000;
}
.demo-controls {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  padding:10px 0 0;
}
.demo-controls button {
  min-height:44px;
  padding:8px 14px;
  border:1px solid var(--line);
  border-radius:999px;
  background:transparent;
  color:var(--ink);
  font-size:12px;
}
.demo-controls button:hover { border-color:var(--yellow); }
.operation-demo figcaption {
  text-align:center;
  color:var(--muted);
  font-size:12px;
  margin-top:10px;
}
.smart-note {
  display:flex;
  gap:10px;
  padding-top:20px;
  margin-top:24px;
  border-top:1px solid var(--line);
  font-size:14px;
  color:var(--muted);
}
.smart-note>span { color:var(--yellow); }
.media-note {
  font-size:12px;
  color:var(--muted);
  margin-top:18px;
}
.contributor-details .steps { margin:18px 0; }
.contributor-details .section-link { color:var(--ink); }
.chapter-heading h2 { min-width:0; }

@media (min-width:851px) and (max-width:1100px) {
  .guide-layout { gap:30px; grid-template-columns:160px minmax(0,1fr); }
  .demo-layout { grid-template-columns:minmax(0,1fr) minmax(0,230px); gap:24px; }
}
@media (max-width:850px) {
  .hero-art { gap:12px; }
  .hero-art figcaption { font-size:12px; }
  .demo-layout { gap:28px; grid-template-columns:minmax(0,1fr) minmax(0,260px); }
}
@media (max-width:580px) {
  .hero-art { height:auto; max-width:390px; margin:26px auto 12px; }
  .hero-result:nth-child(2) { margin-top:26px; }
  .hero-art figcaption { margin-top:12px; font-size:12px; }
  .demo-layout { grid-template-columns:1fr; gap:26px; margin:24px 0; }
  .operation-demo { max-width:min(100%, 300px, 34svh); }

  .operation-copy h3 { margin-top:22px; }
  .operation-copy .steps { margin-bottom:0; }
  .chapter { margin-bottom:38px; }
  .chapter-intro { margin-bottom:24px; }
  .media-note { line-height:1.7; }
}
@media print {
  .demo-controls { display:none; }
  .operation-demo { max-width:160px; }
}

/* Inline demonstrations throughout the guide. Native controls remain as a no-JS fallback. */
.motion-layout {
  grid-template-columns:minmax(0,1fr) minmax(0,300px);
  gap:44px;
}
.motion-demo {
  max-width:min(300px, calc((100svh - 140px) * .460123));
  display:flex;
  flex-direction:column;
}
.motion-demo video { box-shadow:0 20px 60px #0002; }
.motion-demo figcaption { order:1; margin-top:22px; font-size:13px; }
.motion-demo .demo-controls {
  order:2;
  justify-content:center;
  min-height:48px;
  padding:4px 0 0;
}
.motion-demo [data-play] {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  min-width:48px;
  min-height:48px;
  border:0;
  color:var(--muted);
  padding:0;
  background:transparent;
}
.motion-demo [data-play]:hover { color:var(--ink); }
.motion-demo [data-play]:focus-visible { outline:2px solid var(--yellow); outline-offset:5px; }
.play-disc {
  position:relative;
  display:grid;
  place-items:center;
  flex:0 0 48px;
  width:48px;
  height:48px;
  border-radius:50%;
  background:#ffffff06;
  color:var(--ink);
}
.play-disc svg { position:absolute; inset:0; width:100%; height:100%; transform:rotate(-90deg); }
.play-disc circle { fill:none; stroke-width:1.75; }
.progress-track { stroke:#ffffff18; }
.progress-value { stroke:var(--yellow); stroke-dasharray:100; stroke-dashoffset:calc(100 * (1 - var(--progress, 0))); }
.transport-symbol { border-radius:0; display:block; width:0; height:0; border-top:7px solid transparent; border-bottom:7px solid transparent; border-left:10px solid currentColor; margin-left:3px; }
.motion-demo[data-playback="playing"] .transport-symbol { width:11px; height:13px; border:0; border-left:3px solid currentColor; border-right:3px solid currentColor; margin-left:0; }
.motion-demo[data-playback="ended"] .transport-symbol { width:auto; height:auto; border:0; margin:0; }
.motion-demo[data-playback="ended"] .transport-symbol::before { content:"↻"; font-size:24px; line-height:1; }
[data-play-label]:empty { display:none; }
@media (min-width:581px) and (max-width:1100px) {
  .motion-layout { grid-template-columns:minmax(0,1fr) minmax(0,260px); gap:28px; }
}
@media (max-width:580px) {
  .motion-layout { grid-template-columns:1fr; gap:30px; }
  .motion-demo { max-width:min(100%, 290px, 37svh); }
  .motion-demo figcaption { margin-top:18px; }
}
@media print {
  .motion-demo .demo-controls { display:none; }
}

/* Keep the identity explanation beside the recording, readable without playback. */
.binding-note { margin-top:28px; padding-left:18px; border-left:2px solid var(--yellow); }
.binding-note h3 { margin:0 0 12px; font-size:15px; line-height:1.6; }
.binding-note p { margin:0 0 10px; font-size:14px; line-height:1.85; color:var(--muted); }
.binding-note p:last-child { margin-bottom:0; }

/* The same three steps organize the overview and chapter navigation. */
.journey-strip {
  list-style:none;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:0;
  padding:26px 0;
}
.journey-strip li { min-width:0; }
.journey-strip li+li { border-left:1px solid var(--line); }
.journey-strip a { display:grid; gap:8px; padding:4px 24px; }
.journey-strip a span { color:var(--yellow); font-size:11px; letter-spacing:.12em; }
.journey-strip a strong { font-size:17px; font-weight:600; line-height:1.5; }
.journey-strip a:hover strong { color:var(--yellow); }
.chapter-menu nav { gap:22px; }
.nav-group h3 { margin:0 0 8px; font-size:12px; font-weight:600; line-height:1.6; }
.nav-group h3 span { display:block; color:var(--yellow); font-size:10px; letter-spacing:.1em; margin-bottom:4px; }
.chapter-menu nav a { min-height:34px; padding:6px 0 6px 12px; font-size:13px; }
.nav-followup { border-top:1px solid var(--line); padding-top:12px; }
.results h2 { font-size:clamp(26px,3vw,36px); line-height:1.4; letter-spacing:-.035em; }
.results-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:36px; margin-top:34px; }
.result-example { min-width:0; }
.result-example h3 { text-align:center; margin:0 0 22px; font-size:18px; }
.results .operation-demo { margin:0 auto; width:100%; }
@media (max-width:850px) {
  .chapter-menu nav { grid-template-columns:1fr; gap:18px; }
  .nav-group,.nav-followup { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:4px 12px; }
  .nav-group h3 { grid-column:1 / -1; display:flex; align-items:baseline; gap:10px; margin-bottom:4px; }
  .nav-group h3 span { margin:0; }
  .chapter-menu nav a { min-height:40px; }
  .journey-strip a { padding:4px 16px; }
  .journey-strip a strong { font-size:14px; }
}
@media (max-width:580px) {
  .journey-strip { grid-template-columns:1fr; padding:12px 0; }
  .journey-strip li+li { border-left:0; }
  .journey-strip a { grid-template-columns:58px 1fr; align-items:center; gap:16px; padding:12px 2px; }
  .journey-strip a span { font-size:10px; }
  .journey-strip a strong { font-size:15px; }
  .results-grid { grid-template-columns:1fr; gap:36px; }
}
@media print { .journey-strip { display:none; } }

/* Keep each chapter title, instructions and help together beside its recording. */
.media-chapter .demo-layout { grid-template-columns:minmax(0,1fr) minmax(0,260px); align-items:start; margin:0; gap:32px; }
.media-chapter .chapter-intro { margin:18px 0 28px; }
.media-chapter .operation-copy > .extra { margin-top:18px; }
.media-chapter .operation-demo { justify-self:end; max-width:min(260px, calc((100svh - 140px) * .460123)); }
.media-chapter .operation-copy > .steps { margin-bottom:0; }
@media (max-width:1100px) and (min-width:581px) {
  .media-chapter .demo-layout { grid-template-columns:minmax(0,1fr) minmax(0,240px); gap:24px; }
  .media-chapter .chapter-heading { gap:12px; }
}
@media (max-width:580px) {
  .media-chapter .demo-layout { grid-template-columns:1fr; gap:24px; }
  .media-chapter .chapter-intro { margin:16px 0 24px; }
  .media-chapter .operation-demo { justify-self:center; max-width:min(100%, 290px, 37svh); }
}

/* One visual focus for the two outcome demonstrations. */
.result-example:has([data-playback="playing"]) h3 { color:var(--yellow); }
