/* The checker's one stylesheet. The page is paper; a band with the class
   "dark" is night.

   A grade is shown on green when a browser gets the new key exchange and on
   red when it does not. Colour is never the only thing that says so: the
   letter differs, and the sentence beside it starts with Yes or No. Both
   colours were chosen dark enough for the pale letter on them to be read. */

:root {
  color-scheme: light;
  --ground: #0e1a3a;
  --paper: #f3eee2;
  --mist: #a9b4d0;
  --amber: #d28e05;
  --slate: #7f8db3;
  --raised: #132247;
  --sunk: #0a1430;
  --gold: #ffd166;
  --ochre: #8a5200;
  --dusk: #46507a;
  --sheet: #fbf8f1;
  --good: #166f3f;   /* a browser gets the new exchange */
  --bad: #b42318;    /* it does not */

  --bg: var(--paper);
  --fg: var(--ground);
  --quiet: var(--dusk);
  --line: rgba(14, 26, 58, 0.17);
  --edge: rgba(14, 26, 58, 0.55);
  --accent: var(--ochre);
  --focus: var(--ground);

  --text: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, "Liberation Mono", monospace;
  --measure: 40rem;
  --gutter: 1.5rem;
}
.dark {
  color-scheme: dark;
  --bg: var(--ground);
  --fg: var(--paper);
  --quiet: var(--mist);
  --line: rgba(127, 141, 179, 0.3);
  --edge: var(--slate);
  --accent: var(--gold);
  --focus: var(--gold);
  background-color: var(--bg);
  color: var(--fg);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background-color: var(--bg);
  color: var(--fg);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.6;
}
[hidden] { display: none !important; }
h1, h2, h3 { line-height: 1.2; text-wrap: balance; }
p { margin: 0 0 1rem; }
a { color: inherit; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
.dark a { color: var(--gold); text-decoration-thickness: 1px; }
code, pre { font-family: var(--mono); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: 1rem; top: -4rem; z-index: 5; padding: 0.6rem 1rem; background: var(--gold); color: var(--ground); font-weight: 700; border-radius: 8px; }
.skip:focus { top: 0.75rem; }

.inner { max-width: var(--measure); margin: 0 auto; }

/* ---- the line over the top: where to report a fault ---- */
.notice { --bg: var(--sunk); padding: 0.5rem var(--gutter); border-bottom: 1px solid var(--line); color: var(--mist); font-size: 0.9rem; line-height: 1.45; text-align: center; }
.notice p { margin: 0; }

/* ---- the top ---- */
.top { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 1rem; padding: 0.8rem var(--gutter); border-bottom: 1px solid var(--line); }
/* The name is a link to this page's own start, with nothing typed. */
.mark, .dark a.mark { display: inline-flex; align-items: center; gap: 0.55rem; margin: 0; color: var(--paper); font-family: var(--mono); font-weight: 700; text-decoration: none; white-space: nowrap; }
.mark-dot { width: 0.7rem; height: 0.7rem; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(210, 142, 5, 0.22); }
.top-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem 1.3rem; margin-left: auto; font-size: 0.95rem; }
.with-mark { display: inline-flex; align-items: center; gap: 0.45rem; }
.gh-mark { flex: none; }
@media (max-width: 420px) {
  .top { column-gap: 0.6rem; }
  .top-links { gap: 0.3rem 0.9rem; font-size: 0.9rem; }
}

/* ---- the question ---- */
.ask { padding: clamp(2.2rem, 7vw, 4.5rem) var(--gutter) clamp(2rem, 6vw, 3.5rem); background: linear-gradient(180deg, var(--sunk), var(--ground)); }
.ask h1 { margin: 0 0 1rem; font-size: clamp(1.9rem, 6vw, 2.9rem); letter-spacing: -0.01em; }
.lede { color: var(--quiet); font-size: 1.1rem; }
form { margin-top: 1.8rem; }
label { display: block; margin-bottom: 0.4rem; color: var(--quiet); font-size: 0.95rem; }
.row { display: flex; gap: 0.6rem; }
input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.8rem 1rem;
  border: 1px solid var(--edge);
  border-radius: 12px;
  background: var(--sunk);
  color: var(--paper);
  font: inherit;
  font-family: var(--mono);
  font-size: 1.05rem;
}
input::placeholder { color: var(--slate); }
button, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.5rem;
  border: 1px solid var(--gold);
  border-radius: 12px;
  background: var(--gold);
  color: var(--ground);
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
button:hover { background: var(--paper); border-color: var(--paper); }
button:disabled { opacity: 0.6; cursor: default; }
.button { border-color: var(--ground); background: var(--ground); color: var(--paper); }
.button:hover { background: var(--raised); }
/* The bar under the box while a check runs. */
.progress { display: block; width: 100%; height: 8px; margin: 1.1rem 0 0; border: 0; border-radius: 4px; background: rgba(127, 141, 179, 0.28); overflow: hidden; -webkit-appearance: none; appearance: none; }
.progress::-webkit-progress-bar { border-radius: 4px; background: transparent; }
.progress::-webkit-progress-value { border-radius: 4px; background: var(--gold); transition: width 0.2s linear; }
.progress::-moz-progress-bar { border-radius: 4px; background: var(--gold); }
@media (prefers-reduced-motion: reduce) {
  .progress::-webkit-progress-value { transition: none; }
  .card, .grade.good, .grade.bad, .story li:not(:last-child)::after { animation: none; }
}
/* Searches to try, when the checker was started with some. */
.pins { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem 0.8rem; margin: 0.9rem 0 0; }
.pins-label { color: var(--quiet); font-size: 0.9rem; }
.pins ul { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0; padding: 0; list-style: none; }
.pin, .pin:hover { padding: 0.3rem 0.75rem; border: 1px solid var(--edge); border-radius: 999px; background: var(--raised); color: var(--fg); font-family: var(--mono); font-size: 0.86rem; font-weight: 400; cursor: pointer; }
.pin:hover { border-color: var(--gold); }
.status { min-height: 1.6em; margin: 1rem 0 0; color: var(--quiet); }
.status.wrong { color: var(--paper); font-weight: 700; }

/* The words on one side and the two locks on the other. On a narrow screen
   the locks sit under the box, where the eye is while a check runs. */
.hero { display: grid; gap: 1.2rem 3rem; align-items: center; }
.hero-words { min-width: 0; }
.locks { display: block; width: min(290px, 62vw); height: auto; aspect-ratio: 29 / 17; margin: 0 auto; }
@media (min-width: 900px) {
  .ask .hero { max-width: 62rem; grid-template-columns: minmax(0, 40rem) 290px; justify-content: space-between; }
  .locks { width: 290px; }
}
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.9rem 0 0; padding: 0; list-style: none; }
.chips li { padding: 0.15rem 0.75rem; border: 1px solid var(--line); border-radius: 999px; color: var(--quiet); font-size: 0.88rem; }

/* Line drawings. Their colour is the colour of what they stand in. */
.icon { display: block; width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon .solid { fill: currentColor; stroke: none; }

/* ---- the answer ---- */
.result { padding: 2rem var(--gutter) 2.5rem; }

/* ---- while the check runs ---- */
/* A card where the answer will be: the check on one side, the site on the
   other, and what is asked in between. */
.waiting { padding: 2rem var(--gutter) 2.5rem; }
.wire { display: grid; grid-template-columns: auto minmax(2rem, 1fr) auto; align-items: center; gap: 0.9rem; }
.node { display: grid; place-items: center; width: 3.2rem; height: 3.2rem; border-radius: 50%; background: var(--ground); color: var(--gold); }
.link { position: relative; height: 2px; background: repeating-linear-gradient(90deg, var(--slate) 0 8px, transparent 8px 16px); animation: drift 0.9s linear infinite; }
/* A question goes out and an answer comes back. */
.link::before, .link::after { content: ""; position: absolute; top: -5px; width: 12px; height: 12px; border-radius: 50%; }
.link::before { left: 30%; background: var(--amber); animation: out 1.6s ease-in-out infinite; }
.link::after { left: 65%; background: var(--ground); animation: home 1.6s ease-in-out 0.8s infinite backwards; }
@keyframes out { from { left: 0; opacity: 0; } 15%, 85% { opacity: 1; } to { left: calc(100% - 12px); opacity: 0; } }
@keyframes home { from { left: calc(100% - 12px); opacity: 0; } 15%, 85% { opacity: 1; } to { left: 0; opacity: 0; } }
.wire-names { display: flex; justify-content: space-between; gap: 1.5rem; margin: 0.45rem 0 0; color: var(--quiet); font-size: 0.9rem; }
.wire-names .far { min-width: 0; overflow: hidden; font-family: var(--mono); text-overflow: ellipsis; white-space: nowrap; }
.wait h2 { margin: 1.4rem 0 0.8rem; font-size: 1.05rem; }
.doing { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.7rem 1.4rem; margin: 0; padding: 0; list-style: none; counter-reset: doing; }
.doing li { display: grid; grid-template-columns: 1.7rem minmax(0, 1fr); gap: 0.65rem; align-items: start; counter-increment: doing; font-size: 0.97rem; line-height: 1.45; }
.doing li::before { content: counter(doing); display: grid; place-items: center; width: 1.7rem; height: 1.7rem; border: 1px solid var(--edge); border-radius: 50%; font-family: var(--mono); font-size: 0.85rem; font-weight: 700; line-height: 1; animation: lit 6s linear infinite; }
/* Each step takes its turn. The check does not report which one it is on. */
@keyframes lit { 0%, 24% { border-color: var(--gold); background: var(--gold); } 25%, 100% { border-color: var(--edge); background: transparent; } }
.doing li:nth-child(2)::before { animation-delay: 1.5s; }
.doing li:nth-child(3)::before { animation-delay: 3s; }
.doing li:nth-child(4)::before { animation-delay: 4.5s; }
.card { padding: 1.5rem 1.5rem 1.2rem; border: 1px solid var(--line); border-radius: 16px; background: var(--sheet); }
.verdict { display: flex; align-items: flex-start; gap: 1.1rem; }
.grade {
  flex: none;
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  margin: 0;
  border-radius: 14px;
  background: var(--ground);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}
.grade.good { background: var(--good); }
.grade.bad { background: var(--bad); }
.verdict h2 { margin: 0 0 0.35rem; font-size: 1.35rem; overflow-wrap: anywhere; }
/* The heading is given focus when an answer arrives, so that a screen reader
   starts reading there. It is not a control and needs no ring. */
.verdict h2:focus { outline: none; }
.verdict div p { margin: 0; color: var(--quiet); }
/* The answer arrives with a little movement. */
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(0.55); } to { opacity: 1; transform: none; } }
.card { animation: rise 0.4s ease-out both; }
.grade.good, .grade.bad { animation: pop 0.45s cubic-bezier(0.2, 1.5, 0.4, 1) 0.1s both; }

/* Three things at a glance. Green and red are kept for what the grade rests
   on. Anything else that is worth a look is marked in slate. */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.7rem; margin: 1.4rem 0 0; padding: 0; list-style: none; }
.tile { display: grid; align-content: start; gap: 0.15rem; padding: 0.8rem 0.9rem 0.9rem; border: 1px solid var(--line); border-top: 4px solid var(--slate); border-radius: 12px; background: var(--paper); }
.tile .icon { margin-bottom: 0.3rem; color: var(--slate); }
.tile.good { border-top-color: var(--good); }
.tile.good .icon { color: var(--good); }
.tile.bad { border-top-color: var(--bad); }
.tile.bad .icon { color: var(--bad); }
.tile-name { color: var(--quiet); font-size: 0.88rem; }
.tile strong { font-size: 0.98rem; line-height: 1.3; overflow-wrap: anywhere; }

/* What happens to a recorded copy, in three steps. */
.story { margin: 1.1rem 0 0; padding: 1.1rem 1.2rem 1.2rem; border-radius: 12px; background: var(--ground); color: var(--paper); }
.card .story h3 { margin: 0 0 1rem; font-size: 1rem; }
.story ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.9rem; margin: 0; padding: 0; list-style: none; }
.story li { position: relative; display: grid; align-content: start; gap: 0.2rem; }
.step { position: relative; z-index: 1; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; margin-bottom: 0.35rem; border-radius: 50%; background: var(--raised); box-shadow: 0 0 0 1px rgba(127, 141, 179, 0.45); color: var(--mist); }
/* The line from one step to the next, with dashes that drift along it. */
@keyframes drift { to { background-position: 16px 0; } }
.story li:not(:last-child)::after { content: ""; position: absolute; top: 1.15rem; left: 2.9rem; right: -0.45rem; height: 2px; background: repeating-linear-gradient(90deg, var(--slate) 0 8px, transparent 8px 16px); animation: drift 0.9s linear infinite; }
.story b { font-size: 0.97rem; }
.story .says { color: var(--mist); font-size: 0.92rem; line-height: 1.4; }
.story .open, .story.bad .shut { display: none; }
.story.bad .open { display: block; }
.story.good .end .step { background: var(--good); box-shadow: none; color: var(--sheet); }
.story.bad .end .step { background: var(--bad); box-shadow: none; color: var(--sheet); }

.facts { margin: 1.4rem 0 0; }
.facts div { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 0.8rem; padding: 0.55rem 0; border-top: 1px solid var(--line); }
.facts dt { color: var(--quiet); }
.facts dd { margin: 0; overflow-wrap: anywhere; }
.facts .name { font-family: var(--mono); font-size: 0.95em; }
.card h3 { margin: 1.6rem 0 0.4rem; font-size: 1.05rem; }

/* What to change, shown when the grade is on red. */
/* ---- every grade, this site's place, and what an A takes ---- */
.ladder { margin-top: 1.6rem; }
.grades.rungs { margin: 0.6rem 0 0; }
.grades.rungs div { padding: 0.55rem 0.7rem; border-bottom: 0; border-radius: 10px; color: var(--quiet); }
.grades.rungs .here { background: var(--paper); box-shadow: inset 0 0 0 2px var(--edge); color: var(--fg); }
.here-tag { display: inline-block; margin-right: 0.55rem; padding: 0.08rem 0.55rem; border-radius: 999px; background: var(--ground); color: var(--paper); font-size: 0.8rem; line-height: 1.5; vertical-align: 0.08em; }
.needs { margin: 0.5rem 0 0.9rem; padding: 0; list-style: none; }
.needs li { display: grid; grid-template-columns: 1.6rem minmax(0, 1fr); gap: 0.75rem; padding: 0.75rem 0; border-top: 1px solid var(--line); }
.needs li:last-child { border-bottom: 1px solid var(--line); }
.needs b, .needs .says, .needs .do { display: block; }
.needs .says { color: var(--quiet); font-size: 0.97rem; }
.needs .do { margin-top: 0.3rem; font-size: 0.97rem; }
.needs .do b { display: inline; }
/* A tick or a cross, drawn so that it does not depend on a font. */
.tick { position: relative; width: 1.6rem; height: 1.6rem; margin-top: 0.05rem; border-radius: 50%; }
.met .tick { background: var(--good); }
.unmet .tick { background: var(--bad); }
.met .tick::before { content: ""; position: absolute; left: 0.58rem; top: 0.32rem; width: 0.42rem; height: 0.78rem; border: solid var(--sheet); border-width: 0 0.16rem 0.16rem 0; transform: rotate(45deg); }
.unmet .tick::before, .unmet .tick::after { content: ""; position: absolute; left: 0.72rem; top: 0.38rem; width: 0.16rem; height: 0.84rem; border-radius: 1px; background: var(--sheet); transform: rotate(45deg); }
.unmet .tick::after { transform: rotate(-45deg); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.remedy { margin: 1.5rem 0 0; padding: 1.1rem 1.2rem 0.6rem; border: 1px solid var(--line); border-left: 4px solid var(--bad); border-radius: 12px; background: var(--paper); }
.remedy h3 { margin: 0 0 0.6rem; }
.remedy-steps { margin: 0 0 1rem; padding-left: 1.3rem; }
.remedy-steps li { margin-bottom: 0.5rem; }
.remedy-guess { margin: 0 0 0.4rem; color: var(--quiet); font-size: 0.97rem; }
.remedy-line h4 { margin: 1rem 0 0.4rem; font-size: 0.98rem; }
.remedy-line p { margin: 0 0 0.8rem; color: var(--quiet); font-size: 0.97rem; }
.remedy-line pre { margin-bottom: 0.6rem; }
.remedy code { font-size: 0.92em; }
.remedy p code { padding: 0.08em 0.32em; border-radius: 5px; background: rgba(14, 26, 58, 0.075); }
.remedy details { margin: 0.4rem 0 0.6rem; }
.remedy summary { padding: 0.4rem 0; font-weight: 700; cursor: pointer; }
.remedy-help { margin: 0.4rem 0 0.6rem; padding-top: 0.8rem; border-top: 1px solid var(--line); font-size: 0.97rem; }
/* An address from the server's text is long and has no spaces to break at. */
.remedy-steps a, .findings a { overflow-wrap: anywhere; }
.findings { margin: 0; padding: 0; list-style: none; }
.findings li { display: grid; grid-template-columns: 1.1rem minmax(0, 1fr); gap: 0.6rem; padding: 0.8rem 0; border-top: 1px solid var(--line); }
.findings p { margin: 0.25rem 0 0; color: var(--quiet); font-size: 0.97rem; }
.findings .fix { color: var(--fg); }
.findings .fix b { font-weight: 700; }
/* The marks. What is in order is a filled green dot; anything else is a
   slate ring, so the two differ in shape as well as in colour. */
.dot { width: 0.8rem; height: 0.8rem; margin-top: 0.42rem; border-radius: 50%; }
.dot.good { background: var(--good); }
.dot.other { border: 3px solid var(--slate); }
/* ---- where the web stands ---- */
.stands { padding: 2.6rem var(--gutter) 2.8rem; border-top: 1px solid var(--line); }
.stands h2 { margin: 0 0 0.6rem; font-size: 1.5rem; }
.figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.9rem; margin: 1.5rem 0 1.3rem; padding: 0; list-style: none; }
.figures li { padding: 1rem 1.1rem 1.1rem; border: 1px solid var(--line); border-radius: 14px; background: var(--raised); }
.figures b { display: block; color: var(--gold); font-family: var(--mono); font-size: 2.1rem; font-variant-numeric: tabular-nums; line-height: 1.1; }
.figures .bar { display: block; width: 100%; height: 8px; margin: 0.65rem 0 0.75rem; }
.figures .track { fill: var(--sunk); }
.figures .fill { fill: var(--amber); }
.figures span { color: var(--mist); font-size: 0.94rem; line-height: 1.45; }
.stands .quiet { margin: 0; color: var(--mist); font-size: 0.95rem; }

/* ---- everything the check saw ---- */
.more { border-top: 1px solid var(--line); }
.more summary { padding: 0.8rem 0; font-weight: 700; cursor: pointer; }
.more[open] { padding-bottom: 0.6rem; }
.more .facts { margin: 0 0 0.8rem; }
.more-note { margin: 0 0 0.6rem; color: var(--quiet); font-size: 0.95rem; }
.groups, .chain { margin: 0 0 0.4rem; padding: 0; list-style: none; }
.groups li, .chain li { display: grid; grid-template-columns: 1.1rem minmax(0, 1fr); gap: 0.6rem; padding: 0.5rem 0; }
.groups p, .chain p { margin: 0.15rem 0 0; color: var(--quiet); font-size: 0.95rem; }
.groups .head, .chain .head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.1rem 0.75rem; color: var(--fg); font-size: 1rem; }
.head code { font-size: 0.95rem; font-weight: 700; overflow-wrap: anywhere; }
.head .id { font-family: var(--mono); font-size: 0.85rem; color: var(--quiet); }
.head .kind { font-size: 0.92rem; color: var(--quiet); }
.chain .facts { margin: 0.35rem 0 0.3rem; font-size: 0.97rem; }
.chain .facts div { grid-template-columns: 7rem minmax(0, 1fr); padding: 0.3rem 0; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1.3rem; margin: 1rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line); font-size: 0.97rem; }
.plain, .plain:hover { display: inline-flex; align-items: center; padding: 0.45rem 0.95rem; border: 1px solid var(--edge); border-radius: 10px; background: transparent; color: var(--fg); font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.plain:hover { background: var(--paper); }

.when { margin: 1rem 0 0; padding-top: 0.9rem; border-top: 1px solid var(--line); color: var(--quiet); font-size: 0.92rem; }

/* ---- the rest ---- */
.about { padding: 2.5rem var(--gutter) 3.5rem; }
.prose h2 { margin: 2.2rem 0 0.6rem; font-size: 1.35rem; }
.prose h2:first-child { margin-top: 0; }
.grades { margin: 0 0 1rem; }
.grades div { display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: 1rem; align-items: start; padding: 0.6rem 0; border-bottom: 1px solid var(--line); }
.grades div:last-child { border-bottom: 0; }
.grades dt {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  background: var(--ground);
  color: var(--paper);
  font-family: var(--mono);
  font-weight: 700;
  line-height: 1;
}
.grades dt.good { background: var(--good); }
.grades dt.bad { background: var(--bad); }
.grades dd { margin: 0; }
pre { margin: 0 0 1.2rem; padding: 0.95rem 1.1rem; overflow-x: auto; border-radius: 12px; background: var(--sunk); color: var(--paper); font-size: 0.9rem; line-height: 1.5; }

.foot { padding: 1.6rem var(--gutter) 2rem; color: var(--mist); font-size: 0.92rem; text-align: center; }
.foot p { max-width: var(--measure); margin: 0 auto 0.4rem; }

@media (max-width: 560px) {
  :root { --gutter: 1.1rem; }
  .row { flex-direction: column; }
  .facts div { grid-template-columns: 1fr; gap: 0.1rem; }
  .chain .facts div { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr; }
  .tile { grid-template-columns: 1.5rem minmax(0, 1fr); column-gap: 0.75rem; }
  .tile .icon { grid-row: span 2; margin: 0.15rem 0 0; }
  .story ol { grid-template-columns: 1fr; gap: 1rem; }
  .story li { grid-template-columns: 2.4rem minmax(0, 1fr); column-gap: 0.8rem; }
  .story .step { grid-row: span 2; margin: 0; }
  .story li:not(:last-child)::after { display: none; }
  .figures { grid-template-columns: 1fr; }
  .doing { grid-template-columns: 1fr; }
  .verdict { gap: 0.9rem; }
  .grade { width: 3.2rem; height: 3.2rem; font-size: 1.6rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
