/* The user guide's stylesheet, which the website shares; the website's own section is at the end. */

:root {
  /* grounds */
  --surface: #FFFFFF;
  --surface-muted: #F7F8FA;
  --surface-sunken: #EFF1F4;
  --surface-raised: #E4E7EC;
  /* edges */
  --line: #D3D7DE;
  --line-strong: #B3B9C4;
  --control-edge: #808794;
  /* text */
  --text: #171A1F;
  --text-2: #3F4753;
  --text-muted: #5A6372;
  /* the one accent */
  --accent: #2563EB;
  --accent-deep: #1E40AF;
  --accent-surface: #EAF1FE;
  --accent-line: #B7CDF9;
  /* status */
  --warning: #B45309;
  --warning-text: #92400E;
  --warning-surface: #FEF5E6;
  --warning-line: #F2CE95;
  --danger: #B91C1C;
  --danger-surface: #FDECEC;
  --danger-line: #F3B5B5;
  /* type */
  --font-ui: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Cascadia Mono", Consolas, "SF Mono", Menlo, monospace;
  --radius: 4px;
  --radius-surface: 6px;
}

/* ---------- running text ---------- */
.guide { font-family: var(--font-ui); color: var(--text); background: var(--surface); line-height: 1.45; }
.guide p { margin: 0 0 0.75em; }
.guide h1, .guide h2, .guide h3 { font-weight: 600; line-height: 1.2; text-wrap: balance; margin: 0; }
.guide h1 { font-size: 2.2em; margin-bottom: 0.25em; }
.guide h2 { font-size: 1.3em; margin: 1.35em 0 0.45em; }
.guide h3 { font-size: 1.05em; margin: 1em 0 0.3em; }
.guide .kicker { font-size: 0.86em; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.9em; }
.guide .standfirst { font-size: 1.1em; color: var(--text-2); margin: 0 0 1.1em; }
.guide ul, .guide ol { margin: 0 0 0.75em; padding-left: 1.4em; }
.guide li { margin: 0 0 0.3em; }
.guide .muted { color: var(--text-muted); }
.guide code { font-family: var(--font-mono); font-size: .9em; }
.guide a { color: var(--accent-deep); }

/* Read by a screen reader and written into the PDF's bookmarks, but not drawn: a chapter's number on its title. */
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* ---------- on-screen words — three markers and nothing else ----------
   A name on the screen is bold, exactly as the screen reads it, and bold is never anything else (**…** in the source,
   drawn as <b>). A key is a keycap. A sentence the program shows is <q>, its quotation marks drawn here. Italics are a
   new term on its first mention. */
.guide b { font-weight: 600; }
.guide kbd { font-family: var(--font-ui); font-size: .88em; font-weight: 400; padding: 0 .4em; border: 1px solid var(--control-edge);
  border-bottom-width: 2px; border-radius: 3px; background: var(--surface); white-space: nowrap; }
.guide q { quotes: "\201C" "\201D"; font-style: normal; }
.guide i { font-style: italic; }

/* ---------- notes: the program's note card, its kind in words — never the colour alone ---------- */
.note { border: 1px solid var(--line-strong); border-radius: var(--radius-surface); background: var(--surface-muted); padding: 0.7em 0.95em;
  margin: 1em 0; break-inside: avoid; }
.note .note-kind { display: block; font-size: 0.86em; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 0.2em; }
.note .note-title { display: block; font-weight: 600; margin-bottom: 0.3em; }
.note p { margin: 0 0 0.4em; }
.note p:last-child { margin: 0; }
.note.info { background: var(--accent-surface); border-color: var(--accent-line); }
.note.info .note-kind { color: var(--accent-deep); }
.note.warning { background: var(--warning-surface); border-color: var(--warning-line); }
.note.warning .note-kind { color: var(--warning-text); }
.note.danger { background: var(--danger-surface); border-color: var(--danger-line); }
.note.danger .note-kind { color: var(--danger); }

/* ---------- tables ---------- */
.guide table { border-collapse: collapse; width: 100%; margin: 0.6em 0 1.2em; font-size: .95em; }
.guide th { text-align: left; font-weight: 600; background: var(--surface-sunken); padding: 0.45em 0.65em; border-bottom: 1px solid var(--line-strong); vertical-align: bottom; }
.guide td { padding: 0.45em 0.65em; border-bottom: 1px solid var(--line); vertical-align: top; }

/* ---------- pictures: whole windows at the text's width, a one-pixel edge, a caption ---------- */
.guide figure { margin: 0.8em 0 1.2em; break-inside: avoid; }
.guide figure img { display: block; max-width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.guide figcaption { font-size: 0.86em; color: var(--text-muted); margin-top: 0.4em; }

/* ---------- a chapter's first page ---------- */
.chapter-number { font-size: 4.2em; font-weight: 600; color: var(--accent); line-height: 1; margin: 0 0 0.1em; letter-spacing: -.02em; }
.waiting-page { color: var(--text-muted); }

/* The one blank the build refuses to pack: the support address until the owner gives it. */
.waiting { border: 1px dashed var(--control-edge); color: var(--text-muted); padding: 0 .4em; border-radius: 3px; }

/* ---------- the quick guide: five steps, each with a close-up of the one control it names ---------- */
.card ol { list-style: none; padding: 0; margin: 1.2em 0; counter-reset: step; display: grid; gap: 1.6em; }
.card ol > li { counter-increment: step; display: grid; grid-template-columns: 2.6em 1fr; gap: 0 1em; margin: 0; }
.card ol > li::before { content: counter(step); grid-row: 1 / span 4; font-size: 2.4em; font-weight: 600; color: var(--accent); line-height: 1; }
.card ol > li > p:first-of-type { font-size: 1.25em; line-height: 1.35; margin: 0; }
.card ol > li > p:nth-of-type(2) { font-size: 0.86em; color: var(--text-muted); margin: 0.2em 0 0.4em; }
.card ol > li > p:nth-of-type(2) a { color: inherit; text-decoration: none; }
.card ol > li > figure { margin: 0.3em 0 0; }
.card ol > li > figure img { width: auto; max-width: 100%; }

/* ---------- the website ---------- */
@media screen {
  html { background: var(--surface); }
  body.site { margin: 0; font-size: 17px; line-height: 1.55; }
  .site .chapter-number { font-size: 56px; }

  .skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: #fff; padding: 8px 12px; border-radius: var(--radius); z-index: 20; }
  .skip:focus { left: 16px; }
  :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

  .top { position: sticky; top: 0; z-index: 10; background: var(--surface); border-bottom: 1px solid var(--line); }
  .top .in { max-width: 1180px; margin: 0 auto; display: flex; align-items: baseline; gap: 14px;
    padding: 12px max(16px, env(safe-area-inset-right, 0px)) 12px max(16px, env(safe-area-inset-left, 0px)); }
  .top .brand { font-weight: 600; color: var(--text); text-decoration: none; }
  .top .what { color: var(--text-muted); }
  .top .contents-link { margin-left: auto; display: none; }

  /* The contents follow the text in the page, so a phone reads the chapter first and finds the list at its foot; a
     wide screen places them down the left. */
  .wrap { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 260px minmax(0, 1fr); grid-template-areas: "toc main"; gap: 48px;
    padding: 28px max(16px, env(safe-area-inset-right, 0px)) 48px max(16px, env(safe-area-inset-left, 0px)); }
  .wrap > main { grid-area: main; min-width: 0; max-width: 72ch; }
  .wrap > .toc { grid-area: toc; align-self: start; position: sticky; top: 64px; font-size: 15px; max-height: calc(100vh - 80px); overflow: auto; }

  .toc .part { margin: 14px 0 4px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); }
  .toc ol { list-style: none; margin: 0; padding: 0; }
  .toc li { margin: 0; }
  .toc li a { display: inline-block; padding: 4px 8px; color: var(--text-2); text-decoration: none; border-radius: var(--radius); }
  .toc li a:hover { background: var(--surface-sunken); }
  .toc li a[aria-current="page"] { background: var(--accent-surface); color: var(--accent-deep); font-weight: 600; }
  .toc li .n { display: inline-block; width: 1.9em; color: var(--text-muted); font-variant-numeric: tabular-nums; }
  .contents-page .toc { position: static; font-size: 17px; max-height: none; }

  .guide figure a { display: block; }
  .pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 15px; }
  .pager a { color: var(--accent-deep); text-decoration: none; }
  .pager a.next { text-align: right; }
  .pager small { display: block; color: var(--text-muted); }
  .foot-site { max-width: 1180px; margin: 0 auto; padding: 16px max(16px, env(safe-area-inset-right, 0px)) 24px max(16px, env(safe-area-inset-left, 0px));
    color: var(--text-muted); font-size: 14px; border-top: 1px solid var(--line); }

  @media (max-width: 860px) {
    body.site { font-size: 16px; }
    .top .contents-link { display: inline; }
    .wrap { display: block; padding-top: 16px; }
    .wrap > .toc { position: static; max-height: none; margin-top: 40px; padding-top: 16px; border-top: 1px solid var(--line); }
    .guide h1 { font-size: 28px; }
    .guide h2 { font-size: 20px; }
    .site .chapter-number { font-size: 44px; }
    .card ol > li { grid-template-columns: 2em 1fr; }
  }

  /* The phone's or the computer's dark setting, through the same tokens; pictures keep their white ground. */
  @media (prefers-color-scheme: dark) {
    :root {
      --surface: #171A1F; --surface-muted: #1F232A; --surface-sunken: #262B33; --surface-raised: #2F353F;
      --line: #343A45; --line-strong: #4A5261; --control-edge: #8A92A0;
      --text: #EFF1F4; --text-2: #C5CAD3; --text-muted: #9AA2AF;
      --accent: #7FA6F5; --accent-deep: #B7CDF9; --accent-surface: #1E2A44; --accent-line: #34508A;
      --warning-text: #F2CE95; --warning-surface: #3A2A14; --warning-line: #7A5420;
      --danger: #F3B5B5; --danger-surface: #3A1A1A; --danger-line: #7A2E2E;
      color-scheme: dark;
    }
  }

  @media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
}

/* ---------- the website: its top bar and foot, and the home page ----------
   The one section the website adds to the guide's stylesheet. The home page: the headline, a demo of three labels drawn
   with real codes, three steps, what it does, what it needs, questions, and a last download band. */
@media screen {
  /* The site's colour: the program's deep blue around the page — the top bar, the home page's headline and its last
     download band, and a deeper blue for the foot — and the demo's labels on what they would be stuck to. The labels
     themselves stay black on white, as a thermal printer prints them; the colour is only around them. */
  :root { --band: #1E40AF; --band-deep: #172554; --on-band: #FFFFFF; --on-band-2: #DBE6FD; --on-band-muted: #BFD2FA;
    --floor: #E8E5DF; }
  @media (prefers-color-scheme: dark) {
    :root { --band: #1E3A8A; --band-deep: #0F172A; --on-band-2: #C7D7FB; --on-band-muted: #A9C0F5; --floor: #23262B; }
  }

  /* "Skip to the text" in the text's colour on its opposite, readable in either setting. */
  .site a.skip { background: var(--text); color: var(--surface); }

  /* The installer's SHA-256 on the download page: sixty-four characters with no space among them, broken where the line
     ends rather than run off a phone's screen. */
  .site code.hash { overflow-wrap: anywhere; }

  /* The top bar names the site's four pages after the name, on the blue. On a narrow screen they go under it, and the bar
     stops floating: two rows of it would cover too much of a phone. The foot is the deeper blue, reaching down to the
     bottom of the window on a page shorter than it. */
  .site-top { background: var(--band); border-bottom-color: var(--band); }
  .site-top .brand { color: var(--on-band); }
  .site-top .in { flex-wrap: wrap; row-gap: 6px; }
  .site-nav { margin-left: auto; display: flex; flex-wrap: wrap; gap: 4px 20px; }
  .site-nav a { color: var(--on-band-2); text-decoration: none; }
  .site-nav a:hover { color: var(--on-band); text-decoration: underline; }
  .site-nav a[aria-current="page"] { color: var(--on-band); font-weight: 600; }
  .site-top :focus-visible, .foot-site :focus-visible, .home .hero :focus-visible, .home .band :focus-visible {
    outline-color: var(--on-band); }
  .foot-site { background: var(--band-deep); box-shadow: 0 0 0 100vmax var(--band-deep); clip-path: inset(0 -100vmax -100vmax);
    border-top: 0; color: var(--on-band-2); }
  .foot-site a { color: inherit; }

  /* Buttons are 40 high on the web, where the program's are 28: a finger needs it. The blue one is the action, its words
     drawn in the ground's colour so they read in the dark setting too. */
  .site a.button { display: inline-flex; align-items: center; box-sizing: border-box; height: 40px; padding: 0 20px;
    border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); color: var(--text);
    font-weight: 600; text-decoration: none; }
  .site a.button:hover { background: var(--surface-sunken); }
  .site a.button.primary { background: var(--accent); border-color: var(--accent); color: var(--surface); }
  .site a.button.primary:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
  /* On the blue, the action is white with blue words and the other button an outline. */
  .home .hero a.button.primary, .home .band a.button.primary { background: var(--on-band); border-color: var(--on-band); color: var(--band); }
  .home .hero a.button.primary:hover, .home .band a.button.primary:hover { background: var(--on-band-2); border-color: var(--on-band-2); }
  .home .hero a.button:not(.primary), .home .band a.button:not(.primary) { background: transparent; border-color: var(--on-band-2); color: var(--on-band); }
  .home .hero a.button:not(.primary):hover, .home .band a.button:not(.primary):hover { background: rgba(255, 255, 255, .12); }

  .home > section { max-width: 1180px; margin: 0 auto;
    padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .home h1 { font-size: 44px; line-height: 1.1; letter-spacing: -0.01em; margin: 0; }
  .home h2 { font-size: 28px; line-height: 1.2; margin: 0 0 10px; }
  .home p { margin: 0; }
  .home strong { font-weight: 600; color: var(--text); }
  .home figure { margin: 0; min-width: 0; }
  .home figcaption { font-size: 14px; margin-top: 6px; }

  /* The headline on the top bar's blue, the two one block; the band reaches both edges of the window while its words keep
     to the page's width. */
  .home .hero { display: flex; flex-direction: column; gap: 20px; padding-top: 56px; padding-bottom: 56px;
    background: var(--band); box-shadow: 0 0 0 100vmax var(--band); clip-path: inset(0 -100vmax); color: var(--on-band-2); }
  .home .hero h1 { max-width: 22ch; color: var(--on-band); }
  .home .standfirst { font-size: 20px; line-height: 1.45; max-width: 60ch; margin: 0; color: var(--on-band-2); }
  .home .actions { display: flex; flex-wrap: wrap; gap: 12px; }
  .home .version { font-size: 15px; color: var(--on-band-muted); }
  .home .hero .waiting { border-color: var(--on-band-muted); color: var(--on-band-2); }

  /* Try it: the industrial sample's three labels, drawn on the page with real codes until the program's pictures are
     retaken with it, each on what it would be stuck to, over a warm grey floor. No script: the part and the box are radio
     buttons, hidden and drawn as the buttons that label them, and only the chosen part's labels are shown. Each group of
     them is a fieldset that a hidden legend names for a screen reader — "Choose a part", and in each part's set "Choose a
     box" — wrapping the labels they change, since a radio button reaches only what comes after it in the same parent. */
  .home .try { padding-top: 8px; padding-bottom: 40px;
    background: var(--floor); box-shadow: 0 0 0 100vmax var(--floor); clip-path: inset(0 -100vmax); }
  .home .try-head { display: flex; flex-wrap: wrap; gap: 6px 24px; align-items: baseline; justify-content: space-between;
    padding-top: 28px; }
  .home .try-head h2 { margin: 0; }
  .home .try-head p { font-size: 15px; color: var(--text-muted); }
  .home .try-body { position: relative; display: flex; flex-wrap: wrap; gap: 24px 32px; align-items: flex-start;
    margin: 24px 0 0; padding: 0; border: 0; min-inline-size: 0; }
  .home .choice, .home .box-choice { position: absolute; top: 0; left: 0; width: 1px; height: 1px; margin: 0; opacity: 0; }
  .home .parts { flex: 0 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
  .home .parts-title { font-size: 15px; font-weight: 600; margin-bottom: 2px; }
  .home .parts label, .home .stepper label { box-sizing: border-box; border: 1px solid var(--line-strong); border-radius: var(--radius);
    background: var(--surface); color: var(--text); cursor: pointer; }
  .home .parts label { display: flex; flex-direction: column; justify-content: center; min-height: 48px; padding: 6px 12px;
    font-size: 14px; line-height: 1.35; }
  .home .parts .code { font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
  .home .parts label:hover, .home .stepper label:hover { background: var(--surface-sunken); }
  .home .sets { flex: 1 1 640px; min-width: 0; }
  .home .set { display: none; position: relative; }
  .home .boxes { margin: 0; padding: 0; border: 0; min-inline-size: 0; }
  .home .labels { display: flex; flex-wrap: wrap; gap: 20px 16px; }
  .home .labels figure { flex: 1 1 300px; max-width: 432px; box-sizing: border-box; padding: 20px 16px 12px; border-radius: 10px; }
  .home .labels .carton-label { flex-basis: 100%; max-width: 848px; }
  .home .labels figcaption { margin-top: 10px; }

  /* The surfaces, drawn: the part label on the face of a blue plastic bin under its moulded lip, the shelf label in the
     brushed-steel edge of a shelf, the carton label on kraft board with its flutes faintly showing. Each caption takes a
     colour its surface carries, in either setting. */
  .home .part-label { background: linear-gradient(180deg, #4A86E8 0, #3A78DB 9px, #1B4FA8 9px, #1B4FA8 12px, #1F5FC8 12px, #1D58BC 100%); }
  .home .part-label figcaption { color: #FFFFFF; }
  .home .shelf-label { background:
      repeating-linear-gradient(0deg, rgba(255, 255, 255, .10) 0 1px, rgba(255, 255, 255, 0) 1px 3px),
      linear-gradient(180deg, #F4F6F8 0, #B9C0C8 10px, #D9DDE2 11px, #C8CED5 55%, #B4BBC4 calc(100% - 11px),
        #8F98A3 calc(100% - 10px), #DDE1E6 100%); }
  .home .shelf-label figcaption { color: #171A1F; }
  .home .carton-label { background:
      repeating-linear-gradient(90deg, rgba(70, 40, 10, .07) 0 3px, rgba(70, 40, 10, 0) 3px 11px),
      linear-gradient(180deg, #D2AB7B, #C59C69); }
  .home .carton-label figcaption { color: #2B1D0E; }
  .home .stepper { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 16px; }
  .home .stepper label { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; font-size: 15px; font-weight: 600; }
  .home .stepper .pack { margin-left: 8px; font-size: 15px; color: var(--text-2); }
  .home .scan { margin-top: 12px; font-size: 15px; color: var(--text-2); }
  .home .try-note { margin-top: 28px; max-width: 90ch; font-size: 14px; color: var(--text-muted); }

  #part-hb:checked ~ .sets .set-hb, #part-hn:checked ~ .sets .set-hn, #part-fw:checked ~ .sets .set-fw,
  #part-sc:checked ~ .sets .set-sc, #part-bb:checked ~ .sets .set-bb, #part-tr:checked ~ .sets .set-tr,
  #part-ab:checked ~ .sets .set-ab { display: block; }
  #part-hb:checked ~ .parts [for="part-hb"], #part-hn:checked ~ .parts [for="part-hn"], #part-fw:checked ~ .parts [for="part-fw"],
  #part-sc:checked ~ .parts [for="part-sc"], #part-bb:checked ~ .parts [for="part-bb"], #part-tr:checked ~ .parts [for="part-tr"],
  #part-ab:checked ~ .parts [for="part-ab"],
  .box-choice:nth-of-type(1):checked ~ .stepper label:nth-of-type(1), .box-choice:nth-of-type(2):checked ~ .stepper label:nth-of-type(2),
  .box-choice:nth-of-type(3):checked ~ .stepper label:nth-of-type(3), .box-choice:nth-of-type(4):checked ~ .stepper label:nth-of-type(4) {
    background: var(--accent-surface); border-color: var(--accent); color: var(--accent-deep); }
  #part-hb:focus-visible ~ .parts [for="part-hb"], #part-hn:focus-visible ~ .parts [for="part-hn"],
  #part-fw:focus-visible ~ .parts [for="part-fw"], #part-sc:focus-visible ~ .parts [for="part-sc"],
  #part-bb:focus-visible ~ .parts [for="part-bb"], #part-tr:focus-visible ~ .parts [for="part-tr"],
  #part-ab:focus-visible ~ .parts [for="part-ab"],
  .box-choice:nth-of-type(1):focus-visible ~ .stepper label:nth-of-type(1), .box-choice:nth-of-type(2):focus-visible ~ .stepper label:nth-of-type(2),
  .box-choice:nth-of-type(3):focus-visible ~ .stepper label:nth-of-type(3), .box-choice:nth-of-type(4):focus-visible ~ .stepper label:nth-of-type(4) {
    outline: 2px solid var(--accent); outline-offset: 2px; }
  .home .box-text { display: none; }
  .box-choice:nth-of-type(1):checked ~ .labels .box-1, .box-choice:nth-of-type(2):checked ~ .labels .box-2,
  .box-choice:nth-of-type(3):checked ~ .labels .box-3, .box-choice:nth-of-type(4):checked ~ .labels .box-4 { display: block; }

  /* A label is laid out in hundredths of its own width and height, its type sized to its width, so it scales down to a
     phone; black on white in either setting, since it is paper, stuck down on its surface with a slight shadow. The ink
     sits over it as the printer would make it. */
  .home .label { container-type: inline-size; position: relative; width: 100%; aspect-ratio: 2 / 1; box-sizing: border-box;
    background: #fff; color: #000; border: 1px solid rgba(0, 0, 0, .18); border-radius: 2cqw; overflow: hidden;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 3px 8px rgba(0, 0, 0, .12);
    font-family: Arial, Helvetica, sans-serif; line-height: 1.1; }
  .home .carton-label .label { border-radius: 1cqw; }
  .home .ink { position: absolute; inset: 0; }
  .home .ink > * { position: absolute; margin: 0; }
  .home .ink img { max-width: none; border: 0; border-radius: 0; background: none; }
  .home .pl-name { left: 3%; right: 3%; top: 5%; font-size: 30px; font-size: 7.5cqw; font-weight: 700; white-space: nowrap; }
  .home .pl-name.long { font-size: 25px; font-size: 6.25cqw; }
  .home .pl-spec { left: 3%; top: 25%; font-size: 20px; font-size: 5cqw; line-height: 1.2; }
  .home .pl-code { left: 1%; top: 43%; width: 60.5%; height: 32%; }
  .home .pl-text { left: 6%; top: 76%; width: 50.5%; text-align: center; font-size: 16px; font-size: 4cqw; line-height: 1.2; }
  .home .pl-serial { right: 3%; bottom: 6%; font-size: 20px; font-size: 5cqw; font-weight: 700; line-height: 1; }
  .home .sl-code-img { left: 1.5%; top: 13.5%; width: 36.25%; height: 72.5%; }
  .home .sl-code { left: 40%; top: 12%; font-size: 40px; font-size: 10cqw; font-weight: 700; line-height: 1; }
  .home .sl-name { left: 40%; right: 3%; top: 38%; font-size: 18px; font-size: 4.5cqw; line-height: 1.2; }
  .home .sl-rack { left: 40%; top: 65%; font-size: 32px; font-size: 8cqw; font-weight: 700; line-height: 1; }
  .home .cl-name { left: 2%; top: 3.5%; font-size: 44px; font-size: 5.5cqw; font-weight: 700; white-space: nowrap; }
  .home .cl-name.long { font-size: 38px; font-size: 4.75cqw; }
  .home .cl-spec { left: 2%; top: 17%; font-size: 24px; font-size: 3cqw; line-height: 1.2; }
  .home .cl-pcs { left: 2%; top: 31.5%; font-size: 40px; font-size: 5cqw; font-weight: 700; line-height: 1; }
  .home .cl-batch { left: 2%; top: 44%; font-size: 26px; font-size: 3.25cqw; line-height: 1; }
  .home .cl-box { right: 2%; top: 3.5%; font-size: 56px; font-size: 7.06cqw; font-weight: 700; line-height: 1; white-space: nowrap; }
  .home .cl-code-img { left: 6.75%; top: 55.5%; width: 86.625%; height: 30%; }
  .home .cl-text { left: 0; right: 0; top: 87%; text-align: center; font-size: 22px; font-size: 2.75cqw; line-height: 1.2; }

  /* The chosen part's labels print in, a line of dots at a time, and a new box's number fades in. Nothing moves for anyone
     whose system asks for less motion. */
  @media (prefers-reduced-motion: no-preference) {
    .home .ink { animation: print-in 0.6s steps(24, end) both; }
    .home .shelf-label .ink { animation-delay: 0.15s; }
    .home .carton-label .ink { animation-delay: 0.3s; animation-duration: 0.8s; }
    .home .box-text { animation: fade-in 0.25s ease-out both; }
  }
  @keyframes print-in { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0); } }
  @keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

  /* The three steps, in words only until the program's pictures are retaken with the industrial sample: three columns on a
     wide screen, one under another on a narrow one. */
  .home .steps { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: 32px; padding-top: 8px; padding-bottom: 8px; }
  .home .step { padding: 20px 0 16px; border-top: 1px solid var(--line); }
  .home .step p { color: var(--text-2); }
  .home .step .step-number { font-size: 15px; font-weight: 600; letter-spacing: .02em; color: var(--accent); margin-bottom: 10px; }

  /* What it does: eight one-liners, one list, in two columns of four on a wide screen and one column on a narrow one. */
  .home .does, .home .needs, .home .questions { padding-top: 24px; padding-bottom: 16px; }
  .home .does h2 { margin-bottom: 16px; }
  .home .features { margin: 0; padding: 0; list-style: none; }
  .home .features li { margin: 0; border-top: 1px solid var(--line); padding: 10px 0; font-size: 15px; color: var(--text-2); }
  .home .needs h2 { margin-bottom: 20px; }
  .home .cells { display: flex; flex-wrap: wrap; gap: 32px; }
  .home .cells > p { flex: 1 1 220px; min-width: 0; border-top: 1px solid var(--line); padding-top: 12px; font-size: 15px; color: var(--text-2); }
  .home .questions h2 { margin-bottom: 8px; }
  .home dl { display: flex; flex-wrap: wrap; gap: 0 48px; margin: 0; }
  .home dl > div { flex: 1 1 440px; min-width: 0; border-top: 1px solid var(--line); padding: 14px 0; }
  .home dt { font-weight: 600; }
  .home dd { margin: 4px 0 0; font-size: 15px; color: var(--text-2); }

  /* The last download band in the headline's blue, reaching both edges of the window. */
  .home .band { padding-top: 48px; padding-bottom: 56px;
    background: var(--band); box-shadow: 0 0 0 100vmax var(--band); clip-path: inset(0 -100vmax); }
  .home .band-in { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
  .home .band-text { flex: 1 1 400px; min-width: 0; }
  .home .band h2 { margin-bottom: 6px; color: var(--on-band); }
  .home .band p { color: var(--on-band-2); }

  @media (max-width: 959px) {
    .home .parts { flex: 1 1 100%; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
    .home .parts-title { grid-column: 1 / -1; }
  }

  @media (min-width: 960px) {
    .home .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .home .features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(4, auto);
      grid-auto-flow: column; column-gap: 48px; }
  }

  @media (max-width: 860px) {
    .home .hero { padding-top: 32px; gap: 32px; }
    .home h1 { font-size: 34px; }
    .home .standfirst { font-size: 18px; }
    .home h2 { font-size: 24px; }
  }

  @media (max-width: 600px) {
    .site-top { position: static; }
    .site-nav { margin-left: 0; gap: 4px 16px; }
  }
}
