/* The tokens and the layout of the reference sheet the page was drawn from. */

/* Barlow and Barlow Condensed, the latin subsets only, copied out of @fontsource and
   served from this origin. Self-hosted rather than fetched from Google's CDN: a page whose
   whole claim is that nothing leaves your machine should not make a third party watch you
   read it. The OFL text ships beside the files as required.
   ceiling: latin only. A visitor whose name needs latin-ext or Vietnamese gets the
   system UI face for those glyphs; the fix is copying two more subsets in. */
@font-face {
  font-family: Barlow;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/barlow-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: Barlow;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/barlow-latin-600-normal.woff2") format("woff2");
}

@font-face {
  font-family: Barlow;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/barlow-latin-700-normal.woff2") format("woff2");
}

@font-face {
  font-family: Barlow;
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/assets/fonts/barlow-latin-800-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/barlow-condensed-latin-600-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/barlow-condensed-latin-700-normal.woff2") format("woff2");
}

/* The Slopify design system's tokens (3.0), the same names and values the app uses (tokens.test.js
   fails when one drifts from packages/web/src/styles/index.css), so the
   site and the app read as one product: graphite grounds, one lime accent spent once per
   area, Barlow for reading and Barlow Condensed for titles, numbers and kickers. Dark is the
   default; light follows the visitor's system. */
:root {
  color-scheme: dark light;

  --ground: #121214;
  --surface: #19191c;
  --raised: #212125;
  --sunken: #0d0d0f;
  --line: #2a2a30;
  --line-strong: #6c6c76;
  --ink: #ece9e2;
  --ink-2: #a9a69e;
  --ink-3: #8e8c84;
  --accent: #a6d45c;
  --accent-strong: #86b33c;
  --on-accent: #15200a;
  --accent-tint: rgb(166 212 92 / 12%);
  --accent-ink: #b6e070;
  --focus: var(--accent);
  --screen: #08080a;
  --shadow-key: 0 4px 0 #86b33c;

  --radius-control: 6px;
  --radius-media: 10px;
  --radius-pill: 999px;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  /* Half a grid step, for the few optical nudges the 8px grid is too coarse for. */
  --step: 4px;

  --measure: 68ch;
  --content-max: 1680px;

  --font-sans: Barlow, system-ui, sans-serif;
  --font-condensed: "Barlow Condensed", Barlow, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

@media (prefers-color-scheme: light) {
  :root {
    --ground: #f2f0ea;
    --surface: #fbfaf6;
    --raised: #ffffff;
    --sunken: #e8e6df;
    --line: #dcd9d0;
    --line-strong: #827f76;
    --ink: #1b1b1d;
    --ink-2: #51504b;
    --ink-3: #62615b;
    --accent: #4d7a1c;
    --accent-strong: #3c6214;
    --on-accent: #ffffff;
    --accent-tint: rgb(77 122 28 / 10%);
    --accent-ink: #3c6214;
    --screen: #141416;
    --shadow-key: 0 4px 0 #3c6214;
  }
}

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

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 22px;
  -webkit-font-smoothing: antialiased;
}

:where(a) {
  color: var(--ink);
  text-decoration-color: var(--line-strong);
  text-underline-offset: 3px;
  transition: text-decoration-color 120ms ease-out;
}

:where(a):hover {
  text-decoration-color: var(--accent);
}

:where(a, button, [tabindex]):focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

/* Keywords, commands and paths are code, in the mono face (the system's when JetBrains
   Mono is not installed: the site ships only Barlow). */
code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  color: var(--ink);
}

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

.skip-link {
  position: absolute;
  left: calc(var(--step) * 4);
  top: calc(var(--step) * -16);
  z-index: 1;
  padding: calc(var(--step) * 2) calc(var(--step) * 4);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-control);
  transition: top 150ms ease-out;
}

.skip-link:focus {
  top: calc(var(--step) * 4);
}

@media (prefers-reduced-motion: reduce) {
  .skip-link {
    transition: none;
  }
}

/* The system's `label` style: uppercase kickers in Barlow Condensed. Never for sentences. */
.engraved {
  font-family: var(--font-condensed);
  font-weight: 600;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0;
}

.engraved-strong {
  font-weight: 700;
  color: var(--ink);
}

.page {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--space-7);
}

/* Lamps ------------------------------------------------------------------- */

/* Never on their own: the reference pairs every lamp with the state word beside it, so
   the colour is a second reading of something already written down. */
.lamp {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line-strong);
}

.lamp[data-lamp="run"] {
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-tint);
  animation: lamp-pulse 1.2s ease-in-out infinite;
}

.lamp[data-lamp="done"] {
  background: var(--accent);
  opacity: 0.7;
}

@keyframes lamp-pulse {
  50% {
    box-shadow: 0 0 0 6px transparent;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lamp[data-lamp="run"] {
    animation: none;
  }
}

/* Icons ------------------------------------------------------------------- */

/* The service marks are single-colour silhouettes painted as masks, the same trick the
   logo uses, so one file covers both themes and every size. */
.glyph {
  flex: none;
  width: 16px;
  height: 16px;
}

.glyph-large {
  width: 26px;
  height: 26px;
}

.glyph-github,
.glyph-patreon,
.glyph-coffee {
  display: inline-block;
}

/* The accent is the mark's own green, and it is what makes the two donation links read as
   something to press rather than another item of chrome. GitHub is a source link, not a
   donation, so it stays the colour of the text it sits in. */
.glyph-patreon,
.glyph-coffee {
  background-color: var(--accent);
}

.glyph-github {
  background-color: currentColor;
  -webkit-mask: url("/assets/github.svg") center / contain no-repeat;
  mask: url("/assets/github.svg") center / contain no-repeat;
}

.glyph-patreon {
  -webkit-mask: url("/assets/patreon.svg") center / contain no-repeat;
  mask: url("/assets/patreon.svg") center / contain no-repeat;
}

.glyph-coffee {
  -webkit-mask: url("/assets/buymeacoffee.svg") center / contain no-repeat;
  mask: url("/assets/buymeacoffee.svg") center / contain no-repeat;
}

/* Masthead ---------------------------------------------------------------- */

.masthead {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  height: 64px;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: calc(var(--step) * 2.5);
  margin-right: auto;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  text-decoration: none;
}

/* logo-mark.svg is drawn in currentColor, which an <img> element cannot inherit, so it
   is painted as a mask filled with the accent instead. That also keeps one copy of the
   artwork for both sizes. */
.mark {
  display: inline-block;
  background-color: var(--accent);
  -webkit-mask: url("/assets/logo-mark.svg") center / contain no-repeat;
  mask: url("/assets/logo-mark.svg") center / contain no-repeat;
}

/* The goo reads as a descender only if the mark sits below the text baseline. */
.mark-inline {
  width: 26px;
  height: 26px;
  transform: translateY(3px);
}

/* The mark leads the headline on its line, about one and a half times the text's height,
   rather than standing above it. */
.mark-hero {
  flex: none;
  width: 48px;
  height: 48px;
}

.hero-title {
  display: flex;
  align-items: center;
  gap: calc(var(--step) * 3);
}

.masthead-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2);
}

/* Quiet links: no border until hover, the system's `quiet` kind at link size. */
.masthead-links a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 36px;
  padding: 0 var(--space-3);
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius-control);
  transition:
    background-color 120ms ease-out,
    color 120ms ease-out;
}

.masthead-links a:hover {
  color: var(--ink);
  background: var(--raised);
}

.masthead-links a[aria-current="page"] {
  color: var(--ink);
  box-shadow: inset 0 -2px 0 var(--accent);
}

/* Hero -------------------------------------------------------------------- */

.hero {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: var(--space-8);
  align-items: start;
  padding: var(--space-8) 0;
}

.hero-pitch {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  max-width: 600px;
}

/* The system's `display` style: one per page. */
h1 {
  margin: 0;
  font-family: var(--font-condensed);
  font-size: 44px;
  font-weight: 700;
  line-height: 46px;
  letter-spacing: 0.005em;
}

.lede {
  max-width: 36ch;
  margin: 0;
  color: var(--ink-2);
  font-size: 18px;
  line-height: 30px;
  text-wrap: pretty;
}

.hero-aside {
  margin: 0;
  color: var(--ink-3);
  font-size: 15px;
}

.install-options {
  display: grid;
  gap: calc(var(--step) * 3);
  min-width: 0;
}

/* A segmented switch: one row of three, the chosen one lit. */
.install-tabs {
  display: inline-flex;
  justify-self: start;
  gap: var(--space-1);
  border-bottom: 1px solid var(--line);
}

/* The system's tabs: ink-2 until chosen, the chosen one underlined in accent. */
.install-tabs [role="tab"] {
  min-height: 36px;
  padding: 0 var(--space-3);
  color: var(--ink-2);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  background: none;
  border: 0;
  border-radius: var(--radius-control) var(--radius-control) 0 0;
  cursor: pointer;
  transition:
    color 120ms ease-out,
    background-color 120ms ease-out;
}

.install-tabs [role="tab"]:hover {
  color: var(--ink);
  background: var(--raised);
}

.install-tabs [role="tab"][aria-selected="true"] {
  color: var(--ink);
  box-shadow: inset 0 -2px 0 var(--accent);
}

.install-tabs [role="tab"]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* The three panels share one grid cell, so the box is always as tall as the tallest and
   switching tabs never moves what sits below it. A hidden panel keeps its space but is
   invisible, which also takes it out of the accessibility tree. */
.install-options {
  grid-template-areas: "tabs" "panel";
}

.install-tabs {
  grid-area: tabs;
}

.install-panel {
  grid-area: panel;
  min-width: 0;
}

.install-panel[hidden] {
  display: block;
  visibility: hidden;
}

.install-label,
.install-hint {
  margin: 0;
  font-size: 14px;
  color: var(--ink-2);
}

.install-hint {
  margin-top: calc(var(--step) * 2);
}

.install-options .command code {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: clamp(13px, 2.8vw, 16px);
}

.command {
  display: flex;
  align-items: center;
  gap: calc(var(--step) * 3);
  max-width: 440px;
  margin-top: calc(var(--step) * 2);
  padding: var(--space-2) var(--space-2) var(--space-2) var(--space-4);
  background: var(--sunken);
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
}

.command code {
  flex: 1;
  font-size: 16px;
}

/* The same sheet at prose scale, sitting inside a sentence rather than under the headline:
   the hero command is the one being offered, this is the one being explained. */
.command-inline {
  display: inline-flex;
  max-width: none;
  margin: 0 calc(var(--step) * 0.5) 0 0;
  padding: calc(var(--step) * 0.5) calc(var(--step) * 1.5);
  gap: calc(var(--step) * 2);
  vertical-align: baseline;
}

.command-inline code {
  flex: 0 1 auto;
  font-size: 14px;
}

.docker-command {
  max-width: none;
  align-items: flex-start;
  margin-bottom: calc(var(--step) * 3);
}

.docker-command code {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 14px;
}

/* The system's `primary` button: accent fill, one per area. */
.key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-width: 96px;
  height: 36px;
  padding: 0 14px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  line-height: 22px;
  color: var(--on-accent);
  background: var(--accent);
  border: 1px solid transparent;
  border-radius: var(--radius-control);
  cursor: pointer;
  white-space: nowrap;
  transition:
    background-color 120ms ease-out,
    border-color 120ms ease-out;
}

.key:hover {
  background: var(--accent-strong);
}

/* The hero key is a 44 px target under the headline; this one sits in a line of prose and
   would break the leading at that height. It also gives up the accent fill: the green marks
   the one thing the page is asking you to press, and two of them on a page is none. */
/* The system's small `secondary` button. */
.key-small {
  min-width: 0;
  height: 30px;
  padding: 0 10px;
  font-size: 13px;
  color: var(--ink);
  background: transparent;
  border-color: var(--line-strong);
}

.key-small:hover {
  background: var(--raised);
  border-color: var(--ink-3);
}

/* One row per platform, so a reader takes their own line instead of parsing all three. The
   label column is fixed so the commands start on the same edge and read as a set. */
.step-line {
  margin: 0;
}

.picks {
  display: grid;
  gap: calc(var(--step) * 1.5);
  margin: calc(var(--step) * 2) 0;
}

.pick {
  display: flex;
  align-items: center;
  gap: calc(var(--step) * 2.5);
}

.pick dt {
  flex: 0 0 auto;
  min-width: 56px;
  color: var(--ink-2);
}

.pick dd {
  display: inline-flex;
  align-items: center;
  gap: calc(var(--step) * 2);
  margin: 0;
  padding: var(--space-1) var(--space-1) var(--space-1) var(--space-3);
  background: var(--sunken);
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
}

.pick dd code {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 13px;
}

.key-glyph {
  width: 15px;
  height: 15px;
}

.key-glyph-done,
.key[data-copied] .key-glyph-copy {
  display: none;
}

.key[data-copied] .key-glyph-done {
  display: inline;
}

/* Tally board ------------------------------------------------------------- */

.tally {
  margin-top: calc(var(--step) * 3);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-media);
  overflow: hidden;
}

.tally-board {
  margin: 0;
}

.tally-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: calc(var(--step) * 4);
  /* The negative margin lands the first row's rule on the sheet's own border instead of
     one pixel below it. */
  margin-top: -1px;
  padding: calc(var(--step) * 4) calc(var(--step) * 4.5);
  border-top: 1px solid var(--line);
}

/* The system's `counter` style: big numbers in Barlow Condensed with tabular figures. */
.tally-item dd {
  margin: 0;
  font-family: var(--font-condensed);
  font-size: 32px;
  font-weight: 600;
  line-height: 34px;
  font-variant-numeric: tabular-nums;
}

/* Anything slower than about a second shows the final shape rather than a spinner. The
   bars are the row's own two boxes, emptied. */
.tally[data-loading] .tally-item {
  align-items: center;
  padding-block: calc(var(--step) * 5.5);
}

.tally[data-loading] dt,
.tally[data-loading] dd {
  overflow: hidden;
  color: transparent;
  background: var(--raised);
  border-radius: var(--radius-control);
}

.tally[data-loading] dt {
  width: 90px;
  height: 10px;
}

.tally[data-loading] dd {
  width: 140px;
  height: 22px;
}

.tally-foot {
  display: flex;
  align-items: center;
  gap: calc(var(--step) * 2);
  margin: 0;
  padding: var(--space-3) calc(var(--step) * 4.5);
  border-top: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 13px;
  line-height: 19px;
}

/* Showcase ---------------------------------------------------------------- */

.showcase {
  padding-bottom: var(--space-8);
}

.showcase-figure {
  margin: 0;
}

/* A media frame: media sits on `screen`, never on a surface, with the media radius. */
.showcase-frame {
  background: var(--screen);
  border-radius: var(--radius-media);
  overflow: hidden;
}

.showcase-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: var(--screen);
}

.showcase-caption {
  margin: var(--space-2) 0 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
}

.showcase-description {
  max-width: var(--measure);
  margin: var(--space-1) 0 0;
  color: var(--ink-2);
  font-size: 13px;
  line-height: 19px;
  text-wrap: pretty;
}

.support-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin: var(--space-6) 0 0;
}

.support-label {
  margin-right: var(--space-2);
  color: var(--ink-2);
}

/* Links styled as the system's `secondary` button: they go to another site, so they stay
   links, and they are the one pair of outside links the page asks you to follow. */
.support-key {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  height: 36px;
  padding: 0 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-control);
  text-decoration: none;
  transition:
    background-color 120ms ease-out,
    border-color 120ms ease-out;
}

.support-key:hover {
  background: var(--raised);
  border-color: var(--ink-3);
}

/* How to use and the options ---------------------------------------------- */

/* Section heads: the system's `title-2`, sections separated by space and a hairline. */
main > section + section {
  padding-top: var(--space-7);
  border-top: 1px solid var(--line);
}

main h2 {
  margin: 0 0 var(--space-4);
  font-size: 20px;
  font-weight: 600;
  line-height: 26px;
}

main h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 22px;
}

.guide {
  padding-bottom: var(--space-8);
}

.guide h3 {
  margin: var(--space-6) 0 var(--space-2);
}

.guide-note {
  max-width: var(--measure);
  margin: 0 0 var(--space-3);
  color: var(--ink-2);
  font-size: 13px;
  line-height: 19px;
}

.features {
  padding-bottom: var(--space-8);
}

.feature-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-4) var(--space-5);
}

.feature-group h3 {
  margin: 0 0 var(--space-3);
  color: var(--ink-2);
}

/* The release that is still being built. Its list ships inside an inert <template> and
   is only put on the page once main.js's `nextReleasePublished` is true. */
.feature-next {
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid var(--line);
}

.feature-next .feature-note {
  max-width: var(--measure);
  margin: 0 0 var(--space-4);
  color: var(--ink-2);
}

.feature-group ul {
  display: grid;
  gap: var(--step);
  margin: 0;
  padding: 0;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 20px;
  list-style: none;
}

.feature-group strong {
  color: var(--ink);
  font-weight: 600;
}

.more > summary {
  margin-top: calc(var(--step) * 1.5);
  color: var(--ink-2);
  font-size: 13px;
  cursor: pointer;
}

.more > p {
  margin: calc(var(--step) * 2) 0 0;
  color: var(--ink-2);
}

.options-details {
  margin-top: calc(var(--step) * 8);
}

.options-details > summary {
  cursor: pointer;
  list-style-position: inside;
}

.options-details > summary h3 {
  display: inline;
  margin: 0;
}

.options-details[open] > summary {
  margin-bottom: calc(var(--step) * 2);
}

.sheet,
.rundown {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-media);
  overflow: hidden;
}

.rundown {
  margin: 0;
  padding: 0;
  list-style: none;
}

.rundown-row {
  display: grid;
  grid-template-columns: 14px 110px 1fr;
  gap: calc(var(--step) * 3.5);
  align-items: baseline;
  margin-top: -1px;
  padding: calc(var(--step) * 3.5) calc(var(--step) * 4);
  border-top: 1px solid var(--line);
}

.rundown-row .lamp {
  position: relative;
  top: 1px;
}

.rundown-row > :last-child {
  max-width: 75ch;
  text-wrap: pretty;
}

.options {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.options th,
.options td {
  padding: calc(var(--step) * 3) calc(var(--step) * 4);
  border-top: 1px solid var(--line);
  vertical-align: top;
  font-weight: 400;
}

.options thead th {
  border-top: 0;
}

.options tbody th,
.options tbody td:nth-child(2),
.options tbody td:nth-child(3) {
  white-space: nowrap;
}

.options-none {
  color: var(--ink-3);
}

/* Four columns need about 700 px before the sentence column starts wrapping every other
   word, so below that each option becomes a card and the header row goes away. */
@media (max-width: 700px) {
  .docker-command {
    flex-direction: column;
  }

  .docker-command .key {
    align-self: flex-end;
  }

  .options,
  .options tbody,
  .options tr,
  .options th,
  .options td {
    display: block;
  }

  .options thead {
    display: none;
  }

  .options tbody tr {
    margin-top: -1px;
    padding: calc(var(--step) * 3.5) calc(var(--step) * 4);
    border-top: 1px solid var(--line);
  }

  .options th,
  .options td {
    margin: 0;
    padding: 0;
    border: 0;
    white-space: normal;
  }

  .options tbody th {
    font-weight: 600;
  }

  .options td[data-label]::before {
    content: attr(data-label) " ";
    color: var(--ink-3);
  }

  .options tbody td:last-child {
    margin-top: calc(var(--step));
  }
}

/* Footer ------------------------------------------------------------------ */

.free {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-5);
  padding: var(--space-6) 0 var(--space-8);
  border-top: 1px solid var(--line);
}

.free-text {
  max-width: 75ch;
  margin-right: auto;
}

.free-line {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 26px;
}

.free-note {
  margin: var(--space-1) 0 0;
  color: var(--ink-3);
  font-size: 13px;
  line-height: 19px;
}

.free-support {
  margin: 0;
  color: var(--ink-2);
  font-size: 13px;
}

.donate {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--ink);
  text-decoration: underline;
}

/* How I run a channel with it ---------------------------------------------- */

/* The system's reading view: 18/30 at a 68ch measure, headings in the condensed face. */
.reading {
  max-width: var(--measure);
  padding: var(--space-8) 0;
  font-size: 18px;
  line-height: 30px;
}

.reading h1 {
  margin-bottom: var(--space-3);
}

.reading .lede {
  max-width: none;
  margin-bottom: var(--space-6);
}

.reading h2 {
  margin: var(--space-7) 0 var(--space-3);
  font-family: var(--font-condensed);
  font-size: 26px;
  font-weight: 700;
  line-height: 30px;
}

.reading p,
.reading ul,
.reading ol {
  margin: 0 0 18px;
}

.reading ul,
.reading ol {
  padding-left: 1.25em;
}

.reading li + li {
  margin-top: var(--space-2);
}

.reading-toc {
  margin: 0 0 var(--space-6);
  padding: var(--space-4) 0;
  border-block: 1px solid var(--line);
  font-size: 15px;
  line-height: 22px;
}

.reading-toc ol {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-5);
  margin: var(--space-2) 0 0;
  padding: 0;
  list-style: none;
}

.reading-note {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 22px;
}

/* Narrow ------------------------------------------------------------------ */

@media (max-width: 900px) {
  .page {
    padding: 0 var(--space-4);
  }

  .hero {
    grid-template-columns: 1fr;
    gap: var(--space-6);
    padding: var(--space-6) 0 var(--space-7);
  }

  .tally {
    margin-top: 0;
  }

  h1 {
    font-size: 34px;
    line-height: 38px;
  }

  .reading {
    padding: var(--space-6) 0;
  }

  .mark-hero {
    width: 36px;
    height: 36px;
  }

  .masthead {
    height: auto;
    flex-wrap: wrap;
    gap: var(--space-2) var(--space-4);
    padding: var(--space-3) 0;
  }

  .pick {
    flex-wrap: wrap;
    gap: var(--space-1) var(--space-3);
  }

  .pick dd {
    max-width: 100%;
  }

  .rundown-row {
    grid-template-columns: 14px 1fr;
    row-gap: calc(var(--step));
  }

  .rundown-row > :last-child {
    grid-column: 2;
  }
}
