/* screen-mark website. Direction and rules: DESIGN.md.
   Colors are the RFS tokens (rfs-brand/brand/tokens/rfs.css, v1.2.0), pasted verbatim; nothing else
   from RFS is used here. */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("assets/fonts/bricolage-grotesque-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Azeret Mono";
  src: url("assets/fonts/azeret-mono-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

/* ---------- RFS colors: Nightshift (dark) ---------- */
:root {
  --rfs-bg:#0C0D10;
  --rfs-surface:#13151A;
  --rfs-raised:#1A1D24;
  --rfs-line:#262A33;
  --rfs-line-strong:#636872;
  --rfs-text:#E8E6E1;
  --rfs-mute:#8A8F99;
  --rfs-primary:#FF6A3D;
  --rfs-primary-hover:#FC7951;
  --rfs-primary-press:#F98864;
  --rfs-on-primary:#0C0D10;
  --rfs-accent:#FFC247;
  --rfs-signal:#3DDC97;
  --rfs-fault:#F06292;
  --rfs-code-bg:#070809;

  --marker-ink: #0C0D10;   /* number on a step marker */
  --hl: color-mix(in srgb, var(--rfs-accent) 28%, transparent);
}
/* ---------- RFS colors: Dayshift (light) ---------- */
@media (prefers-color-scheme: light) {
  :root {
    --rfs-bg:#F6F5F2;
    --rfs-surface:#FFFFFF;
    --rfs-raised:#ECEAE4;
    --rfs-line:#D6D3CB;
    --rfs-line-strong:#89867F;
    --rfs-text:#1A1B1E;
    --rfs-mute:#666A73;
    --rfs-primary:#C03B0A;
    --rfs-primary-hover:#AC370C;
    --rfs-primary-press:#98330F;
    --rfs-on-primary:#FFFFFF;
    --rfs-accent:#925F00;
    --rfs-signal:#15794D;
    --rfs-fault:#B0306A;
    --rfs-code-bg:#FFFFFF;

    --marker-ink: #FFFFFF;
    --hl: color-mix(in srgb, #FFC247 55%, transparent);
  }
}

:root {
  color-scheme: dark light;

  /* The app's overlay, verbatim: 40% black, Ember at 90% for the selection and 50% for the crosshair */
  --dim: rgb(0 0 0 / 0.4);
  --sel-line: color-mix(in srgb, var(--rfs-primary) 90%, transparent);
  --cross-line: color-mix(in srgb, var(--rfs-primary) 50%, transparent);

  --font: "Bricolage Grotesque", ui-sans-serif, system-ui, "Segoe UI", sans-serif;
  --mono: "Azeret Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  /* Type: 16px @360px -> 18px @1440px, ratio 1.2 -> 1.333 (scripts/scale.mjs) */
  --step-5: clamp(2.4883rem, 1.7395rem + 3.3281vw, 4.7348rem);
  --step-4: clamp(2.0736rem, 1.5808rem + 2.1902vw, 3.552rem);
  --step-3: clamp(1.728rem, 1.4158rem + 1.3877vw, 2.6647rem);
  --step-2: clamp(1.44rem, 1.2537rem + 0.8281vw, 1.999rem);
  --step-1: clamp(1.2rem, 1.1001rem + 0.4439vw, 1.4996rem);
  --step-0: clamp(1rem, 0.9583rem + 0.1852vw, 1.125rem);
  --step--1: clamp(0.8333rem, 0.8298rem + 0.0157vw, 0.844rem);

  --space-3xs: clamp(0.25rem, 0.2396rem + 0.0463vw, 0.2813rem);
  --space-2xs: clamp(0.5rem, 0.4792rem + 0.0926vw, 0.5625rem);
  --space-xs: clamp(0.75rem, 0.7188rem + 0.1389vw, 0.8438rem);
  --space-s: clamp(1rem, 0.9583rem + 0.1852vw, 1.125rem);
  --space-m: clamp(1.5rem, 1.4375rem + 0.2778vw, 1.6875rem);
  --space-l: clamp(2rem, 1.9167rem + 0.3704vw, 2.25rem);
  --space-xl: clamp(3rem, 2.875rem + 0.5556vw, 3.375rem);
  --space-2xl: clamp(4rem, 3.8333rem + 0.7407vw, 4.5rem);
  --space-l-2xl: clamp(2rem, 1.1667rem + 3.7037vw, 4.5rem);
  --space-xl-3xl: clamp(3rem, 1.75rem + 5.5556vw, 6.75rem);

  --wrap: 80rem;
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 3rem);
  --cap-pad: clamp(0.75rem, 0.4rem + 1.5vw, 1.5rem);
  --bar-h: 4rem;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --fast: 150ms;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: var(--space-s); }
body {
  margin: 0;
  background: var(--rfs-bg);
  color: var(--rfs-text);
  font: 400 var(--step-0)/1.6 var(--font);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { margin: 0; font-weight: 800; line-height: 1.02; letter-spacing: -0.025em; text-wrap: balance; }
p, li, dd, figcaption { text-wrap: pretty; }
p { margin: 0; }
a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; text-decoration-color: var(--rfs-line-strong); }
code, kbd, pre { font-family: var(--mono); }
code { font-size: 0.86em; overflow-wrap: anywhere; }
kbd {
  display: inline-block;
  font-size: 0.8em;
  font-weight: 500;
  line-height: 1.3;
  padding: 0.05em 0.42em 0.1em;
  border: 1px solid var(--rfs-line-strong);
  border-bottom-width: 2px;
  border-radius: 4px;
  background: var(--rfs-surface);
  color: var(--rfs-text);
  white-space: nowrap;
}
::selection { background: color-mix(in srgb, var(--rfs-primary) 32%, transparent); color: var(--rfs-text); }
:focus-visible { outline: 2px solid var(--rfs-primary); outline-offset: 3px; border-radius: 2px; }
@media (hover: hover) {
  a { transition: text-decoration-color var(--fast) var(--ease); }
  a:hover { text-decoration-color: var(--rfs-primary); }
}

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sprite { position: absolute; }
.skip { position: absolute; left: var(--gutter); top: -4rem; z-index: 10; padding: 0.5em 1em; background: var(--rfs-surface); border: 1px solid var(--rfs-line-strong); }
.skip:focus { top: 0.5rem; }

/* ---------- Header (sits on the stage, under its overlay) ---------- */
.bar { position: absolute; inset: 0 0 auto; height: var(--bar-h); }
.bar__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--space-s); }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 700; letter-spacing: -0.01em; text-decoration: none; min-height: 44px; }
.brand img { display: block; }
.bar nav { display: flex; gap: clamp(0.9rem, 0.4rem + 1.6vw, 2rem); font-weight: 500; }
.bar nav a { text-decoration: none; padding-block: 0.6rem; }
@media (hover: hover) { .bar nav a:hover { text-decoration: underline; text-decoration-color: var(--rfs-primary); } }
@media (max-width: 34rem) { .brand span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); } .bar nav { font-size: 0.95rem; } }

/* ---------- Stage: the first screen, under the capture overlay ---------- */
.stage { position: relative; min-height: 100vh; min-height: 100svh; overflow: clip; display: flex; padding-top: var(--bar-h); }
.stage__in { container-type: inline-size; display: flex; flex-direction: column; justify-content: flex-start; padding-block: clamp(1.5rem, 9vh, 7rem) var(--space-xl); }
@media (max-width: 40rem) { .stage__in { padding-top: var(--space-l); } }

.wordmark {
  font-size: min(17vw, 15rem);
  font-size: 18.2cqi;
  font-weight: 800;
  line-height: 0.8;
  letter-spacing: -0.05em;
  margin: 0 0 var(--space-l-2xl) -0.035em;
  padding-bottom: 0.06em;
  white-space: nowrap;
}

.capture { position: relative; align-self: flex-start; max-width: 40rem; padding: var(--cap-pad); margin-left: calc(-1 * var(--cap-pad)); }
.lede { font-size: var(--step-2); font-weight: 650; line-height: 1.14; letter-spacing: -0.018em; text-wrap: balance; max-width: 21em; }
.how { margin-top: var(--space-s); color: var(--rfs-mute); max-width: 36em; }
.how kbd { color: var(--rfs-text); }
.get { position: relative; width: fit-content; margin-top: var(--space-m); }
.btn {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0.7em 1.35em;
  background: var(--rfs-primary); color: var(--rfs-on-primary);
  font-weight: 700; letter-spacing: -0.005em; text-decoration: none; border-radius: 6px;
  transition: background-color var(--fast) var(--ease), transform var(--fast) var(--ease);
}
@media (hover: hover) { .btn:hover { background: var(--rfs-primary-hover); transform: translateY(-1px); } }
.btn:active { background: var(--rfs-primary-press); transform: none; }
.meta { margin-top: var(--space-s); font-size: var(--step--1); color: var(--rfs-mute); }

/* Annotations that are part of the first frame (an arrow and step marker 1) */
.note-arrow { position: absolute; left: calc(100% + 2px); top: calc(50% - 56px); width: 132px; height: 64px; overflow: visible; }
.note-arrow__shaft { fill: none; stroke: var(--rfs-accent); stroke-width: 3; stroke-linecap: butt; }
.note-arrow__head { fill: var(--rfs-accent); }
.marker {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--rfs-accent); color: var(--marker-ink); border: 2px solid #fff;
  font: 600 15px/1 var(--mono);
}
.marker--static { position: absolute; left: -15px; top: -15px; }
@media (max-width: 26rem) { .note-arrow { width: 96px; height: 47px; top: calc(50% - 41px); } }

/* The app's toolbar: 40px tall, 32px buttons, 8px padding, 5px button radius, 8px bar radius */
.toolbar {
  display: flex; align-items: center; gap: 8px; width: max-content; height: 40px; padding: 0 8px;
  margin: 8px 0 0 calc(-1 * var(--cap-pad));
  background: color-mix(in srgb, var(--rfs-surface) 95%, transparent);
  border: 1px solid color-mix(in srgb, var(--rfs-text) 12%, transparent);
  border-radius: 8px;
  box-shadow: 1px 2px 0 rgb(0 0 0 / 0.4);
  position: relative; z-index: 2;
}
.toolbar button {
  position: relative; display: grid; place-items: center; width: 32px; height: 32px; padding: 0;
  border: 0; border-radius: 5px; background: transparent; color: var(--rfs-mute); cursor: pointer;
  transition: background-color var(--fast) var(--ease), color var(--fast) var(--ease);
}
.toolbar svg, .key svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.toolbar [aria-pressed="true"] {
  color: var(--rfs-text);
  background: color-mix(in srgb, var(--rfs-text) 8%, transparent);
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--rfs-primary) 70%, transparent);
}
.toolbar .swatch::before { content: ""; width: 18px; height: 18px; border-radius: 4px; background: var(--c); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.3); }
.toolbar .sep::after, .toolbar .sep-md::after {
  content: ""; position: absolute; right: -4.5px; top: 4px; bottom: 4px; width: 1px;
  background: color-mix(in srgb, var(--rfs-text) 15%, transparent);
}
.toolbar .sep-md::after { display: none; }
.toolbar button:focus-visible { outline-offset: 1px; z-index: 1; }
@media (hover: hover) { .toolbar button:hover { color: var(--rfs-text); background: color-mix(in srgb, var(--rfs-text) 6%, transparent); } }
/* Fewer tools on narrow screens, the way the app's [toolbar] config hides them */
@media (max-width: 64.99rem) { .toolbar .x-md { display: none; } .toolbar .sep-md::after { display: block; } }
@media (max-width: 41.99rem) {
  .toolbar .x-sm { display: none; }
  .toolbar { gap: 6px; padding: 0 6px; }
  .toolbar .sep::after, .toolbar .sep-md::after { right: -3.5px; }
}

/* No JavaScript: the selection is drawn around the download block by CSS alone */
html:not(.js) .capture {
  z-index: 1;
  box-shadow: 0 0 0 1.5px var(--sel-line), 0 0 0 200vmax var(--dim);
}

/* With JavaScript: script.js places these over the stage */
.sel, .cross, .ink, .pill { position: absolute; left: 0; top: 0; pointer-events: none; display: none; }
.sel { z-index: 3; box-shadow: 0 0 0 1.5px var(--sel-line), 0 0 0 200vmax var(--dim); }
.cross { z-index: 3; inset: 0; }
.cross::before, .cross::after { content: ""; position: absolute; background: var(--cross-line); }
.cross::before { left: var(--cx, 50%); top: 0; bottom: 0; width: 1px; }
.cross::after { top: var(--cy, 50%); left: 0; right: 0; height: 1px; }
.ink { z-index: 3; width: 100%; height: 100%; overflow: visible; }
.pill {
  z-index: 4; padding: 4px 8px; border-radius: 4px; white-space: nowrap;
  background: color-mix(in srgb, var(--rfs-surface) 85%, transparent); color: var(--rfs-text);
  font: 500 14px/1.15 var(--mono); font-variant-numeric: tabular-nums;
}
.js .stage.is-on .sel, .js .stage.is-on .pill { display: block; }
.js .stage.is-crosshair .cross { display: block; }
.js .stage.is-on .ink { display: block; }
.js .stage.is-on.no-sel .sel { width: 0; height: 0; }
.js .stage.no-sel .pill { display: none; }
.js .toolbar { position: absolute; left: 0; top: 0; margin: 0; z-index: 4; visibility: hidden; }
.js .stage.has-bar .toolbar { visibility: visible; }
.js .note-arrow, .js .marker--static { visibility: hidden; }
.js .stage.is-ready:not(.is-clean) .note-arrow, .js .stage.is-ready:not(.is-clean) .marker--static { visibility: visible; }
.js .stage.is-live { cursor: crosshair; -webkit-user-select: none; user-select: none; }
.js .stage.is-live a, .js .stage.is-live button { cursor: pointer; }
/* Keep keyboard focus visible above the dim */
.js .stage a:focus-visible, .js .stage button:focus-visible, .bar a:focus-visible { position: relative; z-index: 6; }

/* The app's corner popup: 380 × 84, hairline border, 3px status bar on the left */
.toast {
  position: absolute; right: 16px; bottom: 16px; z-index: 5; display: none;
  width: min(380px, calc(100% - 32px)); min-height: 84px; padding: 14px 16px 14px 19px;
  background: var(--rfs-surface); border: 1px solid var(--rfs-line);
  box-shadow: inset 3px 0 0 var(--bar, var(--rfs-mute));
}
.toast.is-shown { display: block; }
.toast__title { font-size: 14px; font-weight: 650; line-height: 1.3; }
.toast__detail { margin-top: 4px; font-size: 13px; line-height: 1.4; color: var(--rfs-mute); white-space: pre-line; }

/* ---------- Sections ---------- */
main > section:not(.stage) { padding-block: var(--space-xl-3xl); }
main > section:not(.stage) + section { border-top: 1px solid var(--rfs-line); }
h2 { font-size: var(--step-5); }
h3 { font-size: var(--step-2); font-weight: 700; letter-spacing: -0.02em; }

/* Two hotkeys */
.hotkeys h2 { margin-bottom: var(--space-l-2xl); }
.hk { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-m) var(--space-xl); padding-block: var(--space-xl); border-top: 1px solid var(--rfs-line); }
@media (min-width: 56rem) { .hk { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.caps { display: flex; flex-wrap: wrap; gap: 0.18em; align-items: flex-start; font-size: clamp(2rem, 0.9rem + 3.6vw, 4.25rem); }
.caps kbd {
  font-size: 1em; font-weight: 500; line-height: 1; letter-spacing: -0.02em;
  padding: 0.24em 0.36em 0.28em; border-radius: 0.16em; border-bottom-width: 0.09em;
}
.hk__body h3 { margin-bottom: var(--space-s); }
.hk__body p + p { margin-top: var(--space-s); }
.hk__body > p { max-width: 36em; }
.popup { margin: var(--space-l) 0 0; }
.popup__card {
  display: flex; align-items: center; gap: 14px; width: min(380px, 100%); min-height: 84px;
  padding: 11px 14px 11px 17px; background: var(--rfs-surface); border: 1px solid var(--rfs-line);
  box-shadow: inset 3px 0 0 var(--rfs-primary);
}
.popup__thumb { flex: none; display: block; width: 96px; height: 60px; border: 1px solid var(--rfs-line); }
.popup__thumb svg { display: block; width: 100%; height: 100%; }
.t-bg { fill: var(--rfs-bg); }
.t-word { fill: var(--rfs-text); }
.t-dim { fill: rgb(0 0 0 / 0.4); }
.t-sel { fill: var(--rfs-bg); stroke: var(--rfs-primary); stroke-width: 1; }
.t-btn { fill: var(--rfs-primary); }
.t-arrow { fill: none; stroke: var(--rfs-accent); stroke-width: 1.5; stroke-linecap: round; }
.popup__text { display: grid; gap: 4px; min-width: 0; }
.popup__title { font-size: 14px; font-weight: 650; line-height: 1.3; }
.popup__detail { font-size: 12.5px; line-height: 1.4; color: var(--rfs-mute); }
.nowrap { white-space: nowrap; }
.popup figcaption { margin-top: var(--space-s); max-width: 34em; font-size: var(--step--1); color: var(--rfs-mute); }
.aside { padding-top: var(--space-l); border-top: 1px solid var(--rfs-line); max-width: 52em; color: var(--rfs-mute); }

/* Fourteen tools: a QWERTY plate with only the tool keys lit */
.tools__head { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-s) var(--space-xl); align-items: end; margin-bottom: var(--space-l-2xl); }
@media (min-width: 56rem) { .tools__head { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.tools__head p { color: var(--rfs-mute); max-width: 32em; }
.kb { --gap: clamp(4px, 0.2rem + 0.5vw, 10px); container-type: inline-size; display: grid; gap: var(--gap); }
.kb__row { --u: calc((100cqi + var(--gap)) / 10); display: flex; gap: var(--gap); }
.kb__row:nth-child(2) { padding-left: calc(var(--u) * 0.25); }
.kb__row:nth-child(3) { padding-left: calc(var(--u) * 0.75); }
.key {
  position: relative; flex: none; width: calc(var(--u) - var(--gap)); aspect-ratio: 1 / 0.86;
  border: 1px solid var(--rfs-line); border-radius: clamp(4px, 0.15rem + 0.5vw, 10px);
  color: var(--rfs-line-strong); font: 500 clamp(0.75rem, 0.5rem + 1vw, 1.25rem)/1 var(--mono);
  padding: clamp(5px, 0.1rem + 0.8vw, 14px);
}
.key[data-l]::before { content: attr(data-l); }
.key.is-tool {
  display: flex; flex-direction: column; justify-content: space-between;
  background: var(--rfs-surface); border-color: var(--rfs-line-strong); border-bottom-width: 3px;
  color: var(--rfs-text);
  transition: transform 90ms var(--ease), border-color var(--fast) var(--ease);
}
.key kbd { all: unset; font: 600 clamp(0.8rem, 0.5rem + 1.2vw, 1.5rem)/1 var(--mono); }
.key svg { position: absolute; top: clamp(5px, 0.1rem + 0.8vw, 14px); right: clamp(5px, 0.1rem + 0.8vw, 14px); color: var(--rfs-mute); width: clamp(14px, 0.5rem + 0.6vw, 20px); height: auto; aspect-ratio: 1; }
.key__name { font: 500 var(--step--1)/1.15 var(--font); color: var(--rfs-mute); }
.key.is-current { border-color: var(--rfs-primary); }
.key.is-current svg { color: var(--rfs-primary); }
.key.is-down { transform: translateY(2px); border-bottom-width: 1px; }
.keylist { display: grid; grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); gap: 0.4rem var(--space-s); margin: var(--space-l) 0 0; }
.keylist div { display: flex; align-items: baseline; gap: 0.6rem; }
.keylist dd { margin: 0; color: var(--rfs-mute); }
@media (max-width: 39.99rem) { .key svg { display: none; } }
@media (max-width: 59.99rem) { .key__name { display: none; } .key.is-tool { justify-content: flex-start; } }
@media (min-width: 60rem) { .keylist { display: none; } }
.tools__notes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); gap: var(--space-m) var(--space-xl); margin-top: var(--space-xl); color: var(--rfs-mute); font-size: 1rem; }

/* After the capture */
.after__in { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-l) var(--space-xl); }
@media (min-width: 56rem) { .after__in { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } .after__switches { grid-column: 2; } }
.spec { margin: 0; }
.spec div { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: var(--space-s); padding-block: var(--space-s); border-top: 1px solid var(--rfs-line); }
.spec div:last-child { border-bottom: 1px solid var(--rfs-line); }
.spec dt { font-size: var(--step-1); font-weight: 700; letter-spacing: -0.015em; line-height: 1.3; }
.spec dd { margin: 0; padding-top: 0.15em; }
.after__switches { color: var(--rfs-mute); max-width: 44em; }
.after__switches b { color: var(--rfs-text); font-weight: 650; }

/* Why it exists */
.why blockquote { margin: 0; }
.why blockquote p { font-size: clamp(1.9rem, 1rem + 3.4vw, 4.4rem); font-weight: 650; line-height: 1.1; letter-spacing: -0.03em; max-width: 19em; text-wrap: balance; }
.why mark {
  color: inherit; padding: 0 0.04em; box-decoration-break: clone; -webkit-box-decoration-break: clone;
  background: linear-gradient(var(--hl), var(--hl)) no-repeat 0 0 / 100% 100%;
}
.why__parts { margin-top: var(--space-l); max-width: 40em; font-size: var(--step-1); line-height: 1.45; color: var(--rfs-mute); }
.why__parts code { color: var(--rfs-text); }

/* Install */
.install__in { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-l) var(--space-xl); }
@media (min-width: 56rem) { .install__in { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }
.files { list-style: none; margin: 0; padding: 0; }
.files li { display: grid; grid-template-columns: 6rem minmax(0, 1fr); gap: 0.15rem var(--space-s); padding-block: var(--space-s); border-top: 1px solid var(--rfs-line); }
.files li:last-child { border-bottom: 1px solid var(--rfs-line); }
.files__os { grid-row: span 2; font-weight: 650; }
.files__name { font: 500 0.95em/1.4 var(--mono); overflow-wrap: anywhere; width: fit-content; padding-block: 0.2rem; }
.files__note { color: var(--rfs-mute); font-size: var(--step--1); }
.files__note code { font-size: 0.92em; }
@media (max-width: 30rem) { .files li { grid-template-columns: minmax(0, 1fr); } .files__os { grid-row: auto; } }
.install__all { margin-top: var(--space-s); color: var(--rfs-mute); font-size: var(--step--1); }
.cargo { margin-top: var(--space-xl); }
.cargo > p { margin-bottom: var(--space-2xs); }
.cmd { display: flex; align-items: center; gap: var(--space-2xs); background: var(--rfs-code-bg); border: 1px solid var(--rfs-line); border-radius: 6px; padding-right: var(--space-2xs); }
.cmd pre { flex: 1; min-width: 0; margin: 0; padding: 0.95em 1.1em; overflow-x: auto; font-size: 0.86rem; line-height: 1.5; }
.cmd code { font-size: inherit; overflow-wrap: normal; }
.copy {
  flex: none; min-height: 36px; padding: 0.35em 0.9em; font: 500 0.85rem/1 var(--mono);
  color: var(--rfs-mute); background: transparent; border: 1px solid var(--rfs-line-strong); border-radius: 4px; cursor: pointer;
  transition: color var(--fast) var(--ease), border-color var(--fast) var(--ease);
}
@media (hover: hover) { .copy:hover { color: var(--rfs-text); border-color: var(--rfs-mute); } }
.copy:active { transform: translateY(1px); }
.install h3 { margin: var(--space-xl) 0 var(--space-s); font-size: var(--step-1); }
.cli { margin: 0; }
.cli div { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.1rem var(--space-m); padding-block: 0.7rem; border-top: 1px solid var(--rfs-line); }
@media (min-width: 44rem) { .cli div { grid-template-columns: minmax(0, 21rem) minmax(0, 1fr); } }
.cli code { font-size: 0.86rem; }
.cli dd { margin: 0; color: var(--rfs-mute); }
.install__config { margin-top: var(--space-m); color: var(--rfs-mute); max-width: 46em; }

/* Tested on, known issues */
.limits__in { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
@media (min-width: 56rem) { .limits__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-2xl); } }
.limits h2 { font-size: var(--step-3); margin-bottom: var(--space-s); }
.plain { list-style: none; margin: 0; padding: 0; }
.plain li { padding-block: 0.7rem; border-top: 1px solid var(--rfs-line); }
.plain b { font-weight: 650; }

/* Footer */
.foot { border-top: 1px solid var(--rfs-line); padding-block: var(--space-xl); font-size: var(--step--1); color: var(--rfs-mute); }
.foot__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-s) var(--space-xl); }
.foot__name { color: var(--rfs-text); font-weight: 600; }
.foot__links { display: flex; gap: var(--space-m); }
.foot__links a { padding-block: 0.3rem; }
.foot__colophon { flex-basis: 100%; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .js .stage.is-ready .toolbar { animation: rise 160ms var(--ease) both; }
  .js .stage.is-ready .note-arrow__shaft { stroke-dasharray: 118; stroke-dashoffset: 118; animation: draw 300ms var(--ease) 140ms forwards; }
  .js .stage.is-ready .note-arrow__head { opacity: 0; animation: show 1ms linear 430ms forwards; }
  .js .stage.is-ready .marker--static { animation: pop 200ms var(--ease) 470ms both; }
  .toast.is-shown { animation: rise 200ms var(--ease) both; }
  .js .why mark { background-size: 0% 100%; transition: background-size 650ms var(--ease) 150ms; }
  .js .why mark.is-drawn { background-size: 100% 100%; }
}
@keyframes rise { from { opacity: 0; transform: translateY(4px); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes show { to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: scale(0.5); } }

@media print {
  .bar nav, .toolbar, .toast, .sel, .cross, .pill, .ink, .copy { display: none !important; }
  .stage { min-height: 0; }
  html:not(.js) .capture { box-shadow: none; }
}

/* Text inside drawn annotations */
.ink-label { font: 500 13px var(--mono); fill: var(--rfs-text); paint-order: stroke; stroke: var(--rfs-bg); stroke-width: 4px; stroke-linejoin: round; }
.ink-step { font: 600 15px var(--mono); fill: var(--marker-ink); }
.js .stage.no-sel .sel { box-shadow: 0 0 0 200vmax var(--dim); }
