/* Hallmark · genre: playful · macrostructure: Manifesto · H1 hero knobs: size=xxl, alignment=left-bias, underlay=none
 * theme: custom · vibe: "gold poster, navy slabs, loud type, sober print" · paper: oklch(82.3% 0.170 80.7) · accent: oklch(82.3% 0.170 80.7) gold, inverted as navy blocks on gold
 * display: Sofia Sans Extra Condensed 250/900 · body: Schibsted Grotesk · outlier: JetBrains Mono (code role only)
 * axes: mid / display-condensed-bold / warm (gold h81)
 * nav: N7 Brutal slab (border=4px, tracked uppercase, CTA=filled slab) · footer: Ft8 Marquee scroll (speed=32s, left, middot)
 * enrichment: none built — real product screenshots as section bleeds · motion: horizontal sweep · marquee · press
 * studied: no · context: user-provided (audience, use case, tone pre-assigned)
 * contrast: pass (46–50) · nav: N7 · footer: Ft8 · slop: pass (51–55) · honest: pass (56) · chrome: pass (57)
 * tokens: pass (58) · responsive: pass (59) · icons: pass (60) · mobile: pass (36, 59, 61–69)
 * gate 25 overridden by brief: gold is the paper, so the accent role is carried by inverted navy blocks
 */
/* Hallmark · pre-emit critique: P5 H5 E4 S5 R4 V5 */

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

html {
  overflow-x: clip;
  background: var(--color-paper);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: var(--text-md);
  line-height: var(--leading-body);
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
}

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

p { margin: 0; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
a:active { text-decoration-thickness: 3px; }

:focus-visible {
  outline: 3px solid var(--focus, var(--color-focus-on-gold));
  outline-offset: 3px;
}

code, kbd, pre { font-family: var(--font-mono); font-variant-ligatures: none; }

code {
  font-size: 0.86em;
  font-weight: 500;
  padding: 0.05em 0.3em;
  background: var(--code-bg, var(--color-gold-light));
  border-radius: var(--radius-chip);
  overflow-wrap: anywhere;
}

kbd {
  font-size: 0.8em;
  font-weight: 600;
  padding: 0.05em 0.35em;
  border: var(--rule-hair) solid currentColor;
  border-radius: var(--radius-chip);
  white-space: nowrap;
}

strong { font-weight: 700; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: var(--space-md);
  top: var(--space-md);
  z-index: var(--z-sticky);
  padding: var(--space-xs) var(--space-md);
  background: var(--color-navy);
  color: var(--color-gold);
  font-weight: 700;
  transform: translateY(-200%);
}
.skip-link:focus-visible { transform: none; outline-color: var(--color-focus-on-gold); }

.wrap {
  width: 100%;
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: var(--page-gutter);
}

/* ── Surfaces: gold paper / navy slab ─────────────────────────── */
.surface-gold {
  --fg: var(--color-ink);
  --fg-2: var(--color-ink-2);
  --title: var(--color-ink);
  --hl-bg: var(--color-navy);
  --hl-fg: var(--color-gold);
  --rule: var(--color-navy);
  --code-bg: var(--color-gold-light);
  --focus: var(--color-focus-on-gold);
  background: var(--color-paper);
  color: var(--fg);
}

.surface-navy {
  --fg: var(--color-foam);
  --fg-2: var(--color-foam-2);
  --title: var(--color-gold);
  --hl-bg: var(--color-accent);
  --hl-fg: var(--color-accent-ink);
  --rule: var(--color-navy-rule);
  --code-bg: var(--color-navy-2);
  --focus: var(--color-focus-on-navy);
  background: var(--color-slab);
  color: var(--fg);
}

/* ── N7 · Brutal slab ─────────────────────────────────────────── */
.slab-head {
  position: relative;
  z-index: var(--z-dropdown);
  background: var(--color-paper);
  color: var(--color-ink);
  border-bottom: var(--rule-slab) solid var(--color-ink);
  --focus: var(--color-focus-on-gold);
}

.slab-head__inner {
  max-width: var(--page-max);
  margin-inline: auto;
  padding: var(--space-sm) var(--page-gutter);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-sm) var(--space-lg);
}

.slab-mark {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.875rem;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.slab-mark img { width: 2.5rem; height: 2.5rem; }

.slab-menu {
  display: none;
  margin-left: auto;
  min-height: 2.75rem;
  padding: 0 var(--space-md);
  border: 3px solid var(--color-ink);
  border-radius: var(--radius-none);
  background: transparent;
  color: var(--color-ink);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform var(--dur-micro) var(--ease-out);
}
.slab-menu[aria-expanded="true"] { background: var(--color-ink); color: var(--color-gold); }
.slab-menu:active { transform: translateY(1px); }
.slab-menu:disabled { opacity: 0.55; cursor: not-allowed; }

.slab-nav { width: 100%; }
.slab-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-xs) var(--space-lg);
}
.slab-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3125rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.slab-nav a:not(.slab-cta):hover {
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 0.22em;
}

.slab-cta {
  padding: 0 var(--space-md);
  background: var(--color-ink);
  color: var(--color-gold);
  transition: transform var(--dur-micro) var(--ease-out);
}
.slab-cta:hover { background: var(--color-navy-deep); }
.slab-cta:active { transform: translateY(1px); }

/* JS on, narrow: the list folds behind “Menü”. */
.js .slab-menu { display: inline-flex; align-items: center; }
.js .slab-nav { display: none; }
.js .slab-head.is-open .slab-nav { display: block; }
.js .slab-head.is-open .slab-nav ul {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding-block: var(--space-xs) var(--space-sm);
}
.js .slab-head.is-open .slab-nav li { border-top: 2px solid var(--color-ink); }
.js .slab-head.is-open .slab-nav a { width: 100%; min-height: 3.25rem; font-size: 1.75rem; }
.js .slab-head.is-open .slab-nav__cta { border-top: 0; padding-top: var(--space-xs); }
.js .slab-head.is-open .slab-cta { justify-content: center; }

@media (min-width: 60rem) {
  .slab-nav { width: auto; margin-left: auto; }
  .slab-nav ul { flex-wrap: nowrap; gap: var(--space-lg); }
  .js .slab-menu { display: none; }
  .js .slab-nav { display: block; }
}

/* ── Hero ─────────────────────────────────────────────────────── */
.hero { padding-top: var(--space-2xl); }

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  row-gap: var(--space-xl);
}

.hero__title {
  margin: 0;
  min-width: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--text-display);
  line-height: var(--leading-caps);
  letter-spacing: -0.005em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}
.hero__line { display: block; }

.chip-200 {
  display: inline-block;
  padding: 0.04em 0.1em 0;
  background: var(--color-navy);
  color: var(--color-ok);
  line-height: 0.98;
  font-variant-numeric: tabular-nums;
}

.hero__prost { padding-top: 0.08em; }
.hero__stamp {
  display: inline-block;
  padding: 0.06em 0.16em 0;
  background: var(--color-navy);
  color: var(--color-gold);
  font-size: 1.14em;
  line-height: 1;
  transform: rotate(-3deg);
  transform-origin: 0 100%;
}

.hero__aside {
  display: grid;
  gap: var(--space-md);
  align-content: end;
  max-width: 30rem;
}
.hero__lede { font-size: var(--text-md); }

.hero__links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--space-xs) var(--space-lg);
}

.link-strong {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--text-xl);
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: underline;
  text-decoration-thickness: 4px;
  text-underline-offset: 0.16em;
  white-space: nowrap;
}
.link-strong:hover { text-decoration-thickness: 7px; }

.link-quiet { font-weight: 600; white-space: nowrap; }

.hero__meta { font-size: var(--text-sm); color: var(--fg-2); }

.hero__shot {
  position: relative;
  z-index: var(--z-raised);
  margin: var(--space-md) 0 calc(var(--overlap) * -1);
}

@media (min-width: 60rem) {
  .hero__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--space-lg);
  }
  .hero__title { grid-column: 1 / span 8; }
  .hero__aside { grid-column: 9 / -1; padding-bottom: var(--space-xs); }
  .hero__shot { grid-column: 2 / -1; margin-top: var(--space-xl); }
}

/* ── Screenshots ──────────────────────────────────────────────── */
.shot { margin: 0; min-width: 0; }
.shot img,
.shot__crop { border: var(--rule-hair) solid var(--shot-rule, var(--rule)); }
.shot figcaption {
  margin-top: var(--space-xs);
  font-size: var(--text-sm);
  color: var(--fg-2);
}
.surface-navy .shot { --shot-rule: var(--color-navy-rule); }
.surface-gold .shot { --shot-rule: var(--color-navy); }

.shot__crop {
  position: relative;
  overflow: hidden;
  aspect-ratio: var(--crop-ratio);
}
.shot__crop img {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--crop-scale);
  max-width: none;
  border: 0;
  transform: translate(var(--crop-x), var(--crop-y));
}
/* Crops zoom into the part of the window the sentence is about. */
.shot--crop-env   { --crop-ratio: 1464 / 528; --crop-scale: 163.93%; --crop-x: -39%;   --crop-y: -4%; }
.shot--crop-tests { --crop-ratio: 1236 / 888; --crop-scale: 194.17%; --crop-x: -23.5%; --crop-y: -4.5%; }
.shot--crop-share { --crop-ratio: 1032 / 864; --crop-scale: 232.56%; --crop-x: -28.5%; --crop-y: -3.5%; }

.pass { color: var(--color-ok); font-weight: 700; }

/* ── Declarations (shared) ────────────────────────────────────── */
.decl { padding-block: var(--space-3xl); }

.decl__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-xl) var(--space-lg);
  align-items: start;
}

.decl__title {
  margin: 0;
  min-width: 0;
  color: var(--title);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--text-display-s);
  line-height: var(--leading-caps);
  letter-spacing: -0.005em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
.decl__title--xl { font-size: var(--text-display); }

.decl__thin { font-weight: 250; }

.decl__text { max-width: 34rem; }
.decl__text > * + * { margin-top: var(--space-md); }
.decl__note { font-size: var(--text-sm); color: var(--fg-2); }

/* Colour-block highlight — inverts the surface; sweeps in once. */
.hl {
  position: relative;
  isolation: isolate;
  display: inline-block;
  padding: 0 0.1em;
  color: var(--hl-fg);
}
.hl::before {
  content: "";
  position: absolute;
  inset: 0.02em 0 0;
  z-index: -1;
  background: var(--hl-bg);
  transform-origin: 0 50%;
}
.hl--code {
  padding: 0.02em 0.16em 0.04em;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.74em;
  letter-spacing: -0.05em;
  text-transform: none;
  vertical-align: 0.06em;
}
.hl__new { color: var(--color-ok); }
.hl--mask { letter-spacing: 0.02em; }

.js .sweep::before {
  transform: scaleX(0);
  transition: transform var(--dur-long) var(--ease-out);
}
.js .sweep { color: var(--title); transition: color var(--dur-short) var(--ease-out) 120ms; }
.js .sweep.is-in { color: var(--hl-fg); }
.js .sweep.is-in::before { transform: scaleX(1); }

/* ── 1 · own machine ──────────────────────────────────────────── */
.decl--machine { padding-top: calc(var(--overlap) + var(--space-2xl)); }

.hosts {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: var(--rule-hair) solid var(--rule);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
}
.hosts li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "method status" "url url";
  gap: var(--space-2xs) var(--space-sm);
  align-items: baseline;
  padding-block: var(--space-sm);
  border-bottom: var(--rule-hair) solid var(--rule);
}
.hosts .method { grid-area: method; }
.hosts code    { grid-area: url; }
.hosts .status { grid-area: status; }
.hosts code { padding: 0; background: none; font-size: 1em; color: var(--fg); }
.method { font-weight: 800; letter-spacing: 0.02em; }
.method--get    { color: var(--color-get); }
.method--post   { color: var(--color-post); }
.method--put    { color: var(--color-put); }
.method--delete { color: var(--color-delete); }
.status { color: var(--color-ok); font-weight: 800; }

@media (min-width: 40rem) {
  .hosts { font-size: 0.9375rem; }
  .hosts li {
    grid-template-columns: 5rem minmax(0, 1fr) auto;
    grid-template-areas: "method url status";
    padding-block: var(--space-md);
  }
}

@media (min-width: 60rem) {
  .decl__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .decl--machine .decl__title { grid-column: 1 / span 11; }
  .decl--machine .decl__text  { grid-column: 1 / span 5; }
  .decl--machine .hosts       { grid-column: 7 / -1; }
}

/* ── 2 · no account (type only, loudest) ──────────────────────── */
.decl--account { padding-block: var(--space-4xl) var(--space-3xl); }
@media (min-width: 60rem) {
  .decl--account .decl__title { grid-column: 1 / -1; }
  .decl--account .decl__text  { grid-column: 8 / -1; }
}

/* ── 3 · tests ────────────────────────────────────────────────── */
@media (min-width: 60rem) {
  .decl--tests .decl__grid  { grid-template-rows: auto 1fr; }
  .decl--tests .decl__title { grid-column: 1 / span 6; grid-row: 1; }
  .decl--tests .decl__text  { grid-column: 1 / span 5; grid-row: 2; }
  .decl--tests .decl__shot  { grid-column: 7 / -1; grid-row: 1 / span 2; margin-top: var(--space-xs); }
}

/* ── 4 · runner (window bleeds off the left edge) ─────────────── */
@media (min-width: 60rem) {
  .decl--runner .decl__title { grid-column: 1 / -1; }
  .decl--runner .decl__shot  { grid-column: 1 / span 8; grid-row: 2; }
  .decl--runner .decl__text  { grid-column: 9 / -1; grid-row: 2; align-self: end; padding-bottom: var(--space-xl); }
  .shot--bleed-left {
    --bleed: calc(var(--page-gutter) + 8vw);
    width: calc(100% + var(--bleed));
    margin-left: calc(var(--bleed) * -1);
  }
  .shot--bleed-left figcaption { padding-left: var(--bleed); }
}

/* ── 5 · secrets ──────────────────────────────────────────────── */
.decl__text > .order-label { font-weight: 700; margin-top: var(--space-lg); }
.decl__text > .order { margin-top: var(--space-xs); }
.order {
  counter-reset: rank;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}
.order li {
  counter-increment: rank;
  display: inline-flex;
  align-items: baseline;
  gap: var(--space-xs);
  padding: var(--space-2xs) var(--space-sm);
  border: var(--rule-hair) solid var(--rule);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.375rem;
  line-height: 1.2;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}
.order li::before {
  content: counter(rank);
  color: var(--title);
  font-weight: 900;
}
.order li:first-child { background: var(--hl-bg); color: var(--hl-fg); border-color: var(--hl-bg); }
.order li:first-child::before { color: var(--hl-fg); }

@media (min-width: 60rem) {
  .decl--secrets .decl__title { grid-column: 1 / -1; }
  .decl--secrets .decl__text  { grid-column: 1 / span 5; grid-row: 2; }
  .decl--secrets .decl__shot  { grid-column: 6 / -1; grid-row: 2; }
}

/* ── 6 · Postman switchers ────────────────────────────────────── */
.code {
  margin: 0;
  min-width: 0;
  border-top: var(--rule-slab) solid var(--color-ink);
}
.code__label {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-2xs) var(--space-md);
  padding-block: var(--space-xs);
  font-size: var(--text-sm);
  font-weight: 600;
}
.code pre {
  margin: 0;
  padding: var(--space-lg);
  overflow-x: auto;
  background: var(--color-navy);
  color: var(--color-foam);
  font-size: var(--text-sm);
  line-height: 1.7;
  tab-size: 2;
}
.code pre code { padding: 0; background: none; font-size: 1em; font-weight: 500; overflow-wrap: normal; }
@media (max-width: 39.99rem) {
  .code pre { padding: var(--space-md); white-space: pre-wrap; }
  .code pre code { overflow-wrap: anywhere; }
}
.code ins {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
  color: var(--color-ok);
  font-weight: 800;
}
@media (min-width: 60rem) {
  .decl--switch .decl__title { grid-column: 1 / -1; }
  .decl--switch .decl__text  { grid-column: 1 / span 5; }
  .decl--switch .code        { grid-column: 7 / -1; }
}

/* ── 7 · team ─────────────────────────────────────────────────── */
.facts {
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-xl) var(--space-lg);
}
.facts__item {
  display: grid;
  gap: var(--space-xs);
  align-content: start;
  padding-top: var(--space-md);
  border-top: var(--rule-hair) solid var(--rule);
}
.facts dt {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--title);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-xl);
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.facts dd { margin: 0; max-width: 34rem; }
.facts dd a { font-weight: 600; white-space: nowrap; }

.role {
  display: inline-block;
  padding: 0 0.3em;
  border: 2px solid var(--title);
  font-family: var(--font-mono);
  font-size: 0.72em;
  font-weight: 700;
  text-transform: none;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.team__shot { align-self: start; }

@media (min-width: 40rem) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 60rem) {
  .decl--team .decl__title { grid-column: 1 / span 11; }
  .decl--team .decl__text  { grid-column: 1 / span 6; }
  .decl--team .facts       { grid-column: 1 / -1; }
  .team__shot--docs        { grid-column: 1 / span 7; }
  .team__shot--share       { grid-column: 8 / -1; margin-top: var(--space-2xl); }
}

/* ── Download ─────────────────────────────────────────────────── */
.download { padding-block: var(--space-3xl) var(--space-2xl); }

.download__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-xl) var(--space-lg);
  align-items: end;
}

.download__version {
  font-size: var(--text-md);
  color: var(--fg-2);
}
.download__version code {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--fg);
  background: none;
  padding: 0;
}

.dl {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-xs);
}

.dl__link {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "os    arrow"
    "desc  arrow"
    "file  file";
  gap: var(--space-2xs) var(--space-md);
  min-height: 100%;
  padding: var(--space-lg);
  background: var(--color-navy);
  color: var(--color-foam);
  text-decoration: none;
  transition:
    background-color var(--dur-micro) var(--ease-out),
    color var(--dur-micro) var(--ease-out),
    transform var(--dur-micro) var(--ease-out);
}
.dl__link:hover { background: var(--color-gold-light); color: var(--color-navy); }
.dl__link:active { transform: translateY(1px); }

.dl__os {
  grid-area: os;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 var(--space-sm);
  color: var(--color-gold);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--text-display-s);
  line-height: 0.95;
  white-space: nowrap;
}
.dl__link:hover .dl__os { color: var(--color-navy); }
.dl__ext {
  grid-area: os;
  align-self: end;
  justify-self: end;
  display: none;
}
.dl__desc { grid-area: desc; }
.dl__file {
  grid-area: file;
  margin-top: var(--space-sm);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  overflow-wrap: anywhere;
  opacity: 0.85;
}
.dl__arrow {
  grid-area: arrow;
  align-self: start;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--text-xl);
  line-height: 1;
}

/* The extension rides next to the OS name. */
.dl__os-ext {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.34em;
  letter-spacing: -0.02em;
  text-transform: none;
  color: var(--color-foam);
}
.dl__link:hover .dl__os-ext { color: var(--color-navy); }

.dl__yours {
  display: none;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-ok);
}
.dl__item.is-yours .dl__yours { display: inline; }
.dl__link:hover .dl__yours { color: var(--color-navy); }

/* Install steps: one column per OS under the download cards. */
.install {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-lg) var(--space-xl);
  padding-top: var(--space-md);
  border-top: var(--rule-slab) solid var(--rule);
}
.install__title {
  margin: 0;
  color: var(--title);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--text-xl);
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.install__lede { max-width: 44rem; }
.install__os {
  display: grid;
  gap: var(--space-sm);
  align-content: start;
  min-width: 0;
  padding-top: var(--space-md);
  border-top: var(--rule-hair) solid var(--rule);
}
.install__name {
  margin: 0;
  color: var(--title);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-xl);
  line-height: 1.05;
  letter-spacing: 0.01em;
}
.install__steps {
  margin: 0;
  padding-left: 2em;
  display: grid;
  gap: var(--space-xs);
}
.install__steps li::marker { font-family: var(--font-mono); font-weight: 700; }

@media (min-width: 40rem) {
  .dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 60rem) {
  .download__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .download__title   { grid-column: 1 / span 8; }
  .download__version { grid-column: 9 / -1; justify-self: end; text-align: right; padding-bottom: var(--space-xs); }
  .dl                { grid-column: 1 / -1; }
  .install           { grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .install__title,
  .install__lede     { grid-column: 1 / -1; }
  .dl__link { padding: var(--space-xl) var(--space-xl) var(--space-lg); }
}

/* ── Ft8 · Marquee footer ─────────────────────────────────────── */
.foot { padding-bottom: var(--space-xl); }

.foot__marquee {
  overflow: hidden;
  border-bottom: var(--rule-hair) solid var(--rule);
}
.foot__track {
  display: flex;
  width: max-content;
  padding-block: var(--space-lg) var(--space-md);
  animation: marquee var(--dur-marquee) linear infinite;
}
.foot__track span {
  flex: none;
  color: var(--color-gold);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.75rem, 8vw, 7rem);
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  white-space: pre;
}
.foot__marquee:hover .foot__track { animation-play-state: paused; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.foot__meta {
  display: grid;
  gap: var(--space-md);
  padding-top: var(--space-lg);
}
.foot__mark {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  justify-self: start;
  color: var(--color-gold);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
}
.foot__mark img { width: 2rem; height: 2rem; }
.foot__line { color: var(--fg-2); font-size: var(--text-sm); }
.foot__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2xs) var(--space-lg);
  font-size: var(--text-sm);
}
.foot__links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  white-space: nowrap;
}

@media (min-width: 60rem) {
  .foot__meta {
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: var(--space-xl);
  }
}

/* ── Load: the hero lines sweep in once ───────────────────────── */
@keyframes line-in {
  from { opacity: 0; transform: translateX(-0.35em); }
  to   { opacity: 1; transform: none; }
}
.hero__line { animation: line-in var(--dur-long) var(--ease-out) both; }
.hero__line:nth-child(2) { animation-delay: 70ms; }
.hero__line:nth-child(3) { animation-delay: 140ms; }

/* ── Reduced motion: nothing travels ──────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .hero__line { animation: none; }
  .foot__track { animation: none; }
  .js .sweep, .js .sweep::before { transition: none; }
  .js .sweep::before { transform: none; }
  .js .sweep { color: var(--hl-fg); }
  .dl__link, .slab-cta, .slab-menu { transition: none; }
}
