/* Worth It Numbers - one stylesheet. No external requests: the typefaces are the
   subset woff2 files in assets/fonts/ (built by tools/make-fonts.py), so no font is
   ever loaded from another company. Design brief: "honest ledger" - paper, ink,
   a receipt. The math shown line by line is the product, so numbers are monospace
   and ruled, the final line is double-ruled like an accountant's total, and the
   verdict reads like a stamp. */

/* ---------------------------------------------------------------- fonts --- */
@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-italic.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("fonts/schibsted-grotesk.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("fonts/plex-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("fonts/plex-mono-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ---------------------------------------------------------------- tokens --- */
/* Every colour pair below is contrast-checked by tools/a11y-perf-check.py. */
:root {
  --bg: #f7f2e7;
  --card: #fffdf8;
  --ink: #201b16;
  --ink-soft: #6a6153;
  --line: #ded4c2;
  --line-strong: #857a66;
  --accent: #0e6b4c;
  --accent-soft: #e3efe4;
  --warn: #9a2c1f;
  --warn-soft: #f7e7e1;
  --mark: #f8e58c;
  --shadow: 0 1px 0 rgba(32, 27, 22, .05), 0 18px 40px -30px rgba(32, 27, 22, .5);
  --radius: 4px;
  --maxw: 68rem;
  --measure: 66ch;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #16120e;
    --card: #221c15;
    --ink: #f2ebdd;
    --ink-soft: #b5a992;
    --line: #3a3226;
    --line-strong: #96896f;
    --accent: #63d6a4;
    --accent-soft: #123328;
    --warn: #f0a48f;
    --warn-soft: #3a1f18;
    --mark: #60501a;
    --shadow: 0 1px 0 rgba(0, 0, 0, .35), 0 22px 46px -32px rgba(0, 0, 0, .85);
  }
}

/* ---------------------------------------------------------------- base --- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.62 var(--font-body);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem 3.5rem; width: 100%; }
main.wrap { flex: 1 0 auto; }
a { color: var(--accent); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}
p, li, dt { text-wrap: pretty; }
code { font-family: var(--font-mono); font-size: .88em; }
strong { font-weight: 650; }

/* ---------------------------------------------------------------- header --- */
header.site {
  background: var(--card);
  border-bottom: 1px solid var(--line);
}
header.site .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 1.5rem;
  padding-top: .3rem;
  padding-bottom: .3rem;
}
header.site .brand {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.2rem;
  letter-spacing: -.01em;
  text-decoration: none;
  color: var(--ink);
}
header.site .brand span { color: var(--accent); }
nav.site { display: flex; gap: 0 1.15rem; font-size: .9rem; align-items: center; }
nav.site a, nav.site summary {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  white-space: nowrap;
  text-decoration: none;
  color: var(--ink-soft);
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
}
nav.site a:hover, nav.site summary:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; }
nav.site a[aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

/* Dropdown styling */
.nav-dropdown { position: relative; display: inline-block; }
.nav-dropdown summary { list-style: none; outline: none; }
.nav-dropdown summary::-webkit-details-marker { display: none; }
.nav-dropdown summary .arrow {
  display: inline-block;
  font-size: .7rem;
  margin-left: .35rem;
  transition: transform .15s ease;
}
.nav-dropdown[open] summary .arrow { transform: rotate(180deg); }
.nav-dropdown.active-group summary {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.nav-dropdown ul {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: .5rem 0;
  margin: 0;
  list-style: none;
  z-index: 20;
  min-width: 11.5rem;
  display: none;
}
.nav-dropdown[open] ul { display: block; }
.nav-dropdown ul li { padding: 0; margin: 0; }
.nav-dropdown ul a {
  display: block;
  padding: .45rem 1.15rem;
  min-height: unset;
  text-align: left;
  font-size: .88rem;
  color: var(--ink-soft);
  text-decoration: none !important;
}
.nav-dropdown ul a:hover {
  background: var(--bg);
  color: var(--ink);
}
.nav-dropdown ul a[aria-current="page"] {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

/* Wide screens: the header stays put so the sticky tally has a fixed reference. */
@media (min-width: 60rem) {
  header.site { position: sticky; top: 0; z-index: 10; }
}
/* Narrow screens: one scrollable row instead of a three-line sticky block. */
@media (max-width: 59.99rem) {
  header.site .wrap { padding-right: 0; }
  nav.site {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
    padding-right: 1.25rem;
    margin-top: -.35rem;
    -webkit-mask-image: linear-gradient(to right, #000 85%, transparent);
    mask-image: linear-gradient(to right, #000 85%, transparent);
    align-items: center;
  }
  nav.site::-webkit-scrollbar { display: none; }
  
  /* On mobile, keep details open panels relative to nav to avoid viewport overflow */
  .nav-dropdown ul {
    position: fixed;
    top: auto;
    bottom: auto;
    left: 1.25rem;
    right: 1.25rem;
    transform: none;
    min-width: unset;
    border-top: 1px solid var(--line);
    margin-top: .4rem;
  }
}

/* ---------------------------------------------------------------- type --- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -.015em;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.05rem, 1.35rem + 2.7vw, 3.25rem);
  line-height: 1.04;
  letter-spacing: -.022em;
  margin: .55rem 0 .9rem;
  max-width: 21em;
}
h1 em { font-style: italic; font-weight: 500; color: var(--accent); }
h2 { font-size: clamp(1.3rem, 1.12rem + .7vw, 1.62rem); line-height: 1.18; margin: 2.8rem 0 .55rem; }
h3 { font-size: 1.1rem; line-height: 1.3; margin: 1.9rem 0 .35rem; }
h2 + p, h3 + p { margin-top: .2rem; }
.lede {
  font-size: clamp(1.1rem, 1rem + .4vw, 1.24rem);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 60ch;
  margin: 0 0 1rem;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 2.2rem 0 0;
}
.prose { max-width: var(--measure); }
.prose ul, .prose ol { padding-left: 1.15rem; }
.prose li { margin: .4rem 0; }
.prose li::marker { color: var(--ink-soft); }

/* ---------------------------------------------------------------- paper --- */
.sheet, .tally, .card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card { padding: 1.15rem 1.3rem; margin: 1.4rem 0; max-width: var(--measure); }
.card h2 { margin-top: 0; font-size: 1.25rem; }
.card p:last-child { margin-bottom: 0; }

/* ---------------------------------------------------------------- calculator --- */
.calc-layout {
  display: grid;
  gap: 1.25rem;
  margin: 1.9rem 0 1rem;
}
@media (min-width: 56rem) {
  .calc-layout { grid-template-columns: minmax(0, 1.1fr) minmax(20rem, .9fr); align-items: start; }
  .tally-wrap { position: sticky; top: 4.4rem; }
}

/* the worksheet */
.sheet { padding: 1.15rem 1.3rem 1.4rem; container-type: inline-size; }
.sheet-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: .65rem;
  margin-bottom: 1rem;
}
.sheet-head h2 { margin: 0; font-size: 1.18rem; }
.sheet-head .count { font-family: var(--font-mono); font-size: .76rem; color: var(--ink-soft); }
form.calc { display: grid; gap: 1rem; }
.fields { display: grid; gap: 1.2rem 1.4rem; }
@container (min-width: 30rem) { .fields { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .35rem; align-content: start; }
/* label / control / hint share rows across a pair, so the inputs line up even
   when one label wraps and its neighbour does not */
@supports (grid-template-rows: subgrid) {
  .field { grid-row: span 3; grid-template-rows: subgrid; row-gap: .35rem; }
}
.field.span-all { grid-column: 1 / -1; }
.field label {
  align-self: end;
  display: flex;
  gap: .55rem;
  font-weight: 600;
  font-size: .95rem;
  line-height: 1.3;
}
.field .idx {
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 600;
  color: var(--ink-soft);
  padding-top: .2em;
}
.field .hint { align-self: start; font-size: .84rem; line-height: 1.45; color: var(--ink-soft); }
.field.span-all .hint { max-width: 60ch; }

input[type="number"], input[type="text"], select {
  font: inherit;
  font-family: var(--font-mono);
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
  padding: .55rem .7rem;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  background: var(--bg);
  color: var(--ink);
  width: 100%;
  min-height: 2.875rem;
}
select { font-family: var(--font-body); cursor: pointer; }
.field.span-all select { max-width: 22rem; }
input[type="number"]:hover, select:hover { border-color: var(--ink-soft); }
input[type="text"] { font-size: .84rem; }

/* controls */
button.primary, a.cta {
  display: inline-block;
  background: var(--accent);
  color: #ffffff;
  border: 0;
  border-radius: 3px;
  padding: .75rem 1.2rem;
  font: inherit;
  font-family: var(--font-body);
  font-weight: 600;
  line-height: 1.3;
  min-height: 2.75rem;
  text-decoration: none;
  cursor: pointer;
}
button.primary:hover, a.cta:hover { filter: brightness(1.08); }
button.secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  padding: .55rem .95rem;
  font: inherit;
  font-family: var(--font-body);
  font-size: .9rem;
  min-height: 2.75rem;
  cursor: pointer;
}
button.secondary:hover { background: var(--bg); border-color: var(--ink-soft); }
@media (prefers-color-scheme: dark) {
  button.primary, a.cta { color: #06181a; }
}
.cta-row { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }

/* ---------------------------------------------------------------- the tally --- */
.tally { padding: 1.1rem 1.25rem 1.25rem; }
.tally-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 2px solid var(--ink);
  padding-bottom: .55rem;
  margin: 0 0 .35rem;
}
.tally-head h2 { margin: 0; font-size: 1.12rem; letter-spacing: 0; }
.tally-head .per {
  font-family: var(--font-mono);
  font-size: .7rem;
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-left: .45rem;
}
dl.tally-rows, dl.ledger { margin: 0; }
.trow {
  display: flex;
  align-items: baseline;
  align-items: last baseline;
  padding: .34rem 0;
}
.trow dt { margin: 0; flex: 0 1 auto; min-width: 0; font-size: .94rem; line-height: 1.35; }
.trow .leader {
  flex: 1 1 1.5rem;
  min-width: 1.5rem;
  margin: 0 .5rem;
  border-bottom: 1px dotted var(--line-strong);
  transform: translateY(-.28em);
}
.trow dd {
  margin: 0;
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: .94rem;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  white-space: nowrap;
  text-align: right;
}
.trow.total { border-top: 1px solid var(--ink); margin-top: .3rem; padding-top: .5rem; }
.trow.total dt, .trow.total dd { font-weight: 600; }
/* the bottom line: double rule, like an accountant's final total */
.trow.grand { border-bottom: 3px double var(--ink); padding-bottom: .55rem; }
.trow.grand dt, .trow.grand dd { font-size: 1.04rem; }
.trow.soft dt, .trow.soft dd { color: var(--ink-soft); }
.tally-note { font-size: .8rem; line-height: 1.45; color: var(--ink-soft); margin: .5rem 0 0; }

.tally .verdict {
  font-family: var(--font-display);
  font-size: 1.14rem;
  font-weight: 500;
  line-height: 1.38;
  margin: 1rem 0 .45rem;
}
.tally .verdict-detail { font-size: .86rem; line-height: 1.5; color: var(--ink-soft); margin: 0 0 .9rem; }
.tally .verdict-detail:empty { display: none; }
.tally .share { margin: .3rem 0 .9rem; font-size: .82rem; color: var(--ink-soft); }
.tally .share label { display: block; margin-bottom: .25rem; }
.share-row { display: flex; gap: .5rem; align-items: stretch; }
.share-row input { flex: 1 1 auto; min-width: 0; }
/* Copy confirmation. The button keeps one width in both states, so "Copied" never
   shoves the link box; the check is drawn, not a glyph, because the fonts are ASCII subsets. */
button.copy-btn { flex: 0 0 auto; min-width: 6.9em; display: inline-flex; align-items: center; justify-content: center; gap: .45em; }
button.copy-btn.is-copied { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); font-weight: 600; }
button.copy-btn.is-copied::before {
  content: "";
  width: .34em;
  height: .66em;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: translateY(-.1em) rotate(45deg);
}
.copy-status { display: block; margin-top: .4rem; font-size: .84rem; line-height: 1.45; color: var(--ink); }
.copy-status:not(.is-visible) {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.tally a.cta { display: block; text-align: center; }
.tally .disclosure-inline { margin-top: .4rem; }

/* stamp: the verdict, like a rubber stamp on a receipt */
.stamp {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--accent);
  border: 2px solid var(--accent);
  border-radius: 3px;
  padding: .16rem .5rem;
  transform: rotate(-2deg);
}
.tally.behind .stamp { color: var(--warn); border-color: var(--warn); }
.tally.behind .tally-head { border-bottom-color: var(--warn); }

/* the one highlighted number */
.mark { background: var(--mark); color: var(--ink); padding: 0 .2em; border-radius: 2px; }
.tally.behind .mark { background: var(--warn-soft); color: var(--warn); }

/* mobile net bar: the bottom line stays in view while you type */
.netbar { display: none; }
@media (max-width: 40rem) {
  .wrap { padding-bottom: 4.6rem; }
  .netbar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 15;
    gap: .6rem;
    align-items: baseline;
    justify-content: center;
    padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom));
    background: var(--card);
    border-top: 2px solid var(--ink);
    font-family: var(--font-mono);
    font-size: 1rem;
    font-variant-numeric: tabular-nums;
  }
  .netbar .netbar-label {
    font-family: var(--font-body);
    font-size: .76rem;
    color: var(--ink-soft);
    text-transform: uppercase;
    letter-spacing: .1em;
  }
  .netbar .netbar-value { font-weight: 600; color: var(--accent); }
  .netbar[data-state="behind"] { border-top-color: var(--warn); }
  .netbar[data-state="behind"] .netbar-value { color: var(--warn); }
}

/* ---------------------------------------------------------------- home --- */
.router { margin: 1.1rem 0 1.5rem; max-width: 46rem; }
.router-item {
  display: grid;
  grid-template-columns: 2.6rem 1fr;
  gap: .3rem .6rem;
  align-items: start;
  padding: 1.35rem 0 1.4rem;
  border-top: 1px solid var(--line);
}
.router-item:first-child { border-top: 2px solid var(--ink); }
.router-item:last-child { border-bottom: 1px solid var(--line); }
.router-item .q {
  font-family: var(--font-mono);
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink-soft);
  padding-top: .5rem;
}
.router-item h2, .router-item h3 { margin: 0 0 .35rem; font-size: clamp(1.32rem, 1.1rem + .9vw, 1.75rem); line-height: 1.15; }
.router-item.lead h3 { font-size: clamp(1.6rem, 1.2rem + 1.7vw, 2.3rem); }
.router-item h2 a, .router-item h3 a { text-decoration: none; color: var(--ink); }
.router-item h2 a:hover, .router-item h3 a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.router-item p { margin: .2rem 0 .65rem; color: var(--ink-soft); max-width: 56ch; }
.router-item .more {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-family: var(--font-mono);
  font-size: .84rem;
  font-weight: 600;
  text-decoration: none;
}
.router-item .more::after { content: "\00a0\2192"; }
.router-item .more:hover { text-decoration: underline; }

dl.ledger { max-width: 46rem; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); padding: .3rem 0; }
dl.ledger .trow { padding: .5rem 0; }
dl.ledger .trow + .trow { border-top: 1px solid var(--line); }
dl.ledger dt { font-size: 1rem; }
dl.ledger dd { font-size: .9rem; color: var(--ink); }
dl.ledger dd.words { flex: 0 1 auto; font-family: var(--font-body); font-size: .92rem; color: var(--ink-soft); white-space: normal; text-align: right; }

.fineprint { display: grid; gap: 0 3rem; margin-top: 1rem; }
@media (min-width: 56rem) { .fineprint { grid-template-columns: 1fr 1fr; } }
.fineprint h2 { font-size: 1.25rem; margin-top: 2rem; }
.fineprint .prose { max-width: none; }

/* ---------------------------------------------------------------- panels --- */
.offers {
  max-width: 46rem;
  margin: 1.8rem 0;
  background: var(--accent-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .9rem 1.2rem .5rem;
}
.offers-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .2rem 1rem;
  margin: 0 0 .3rem;
  font-family: var(--font-mono);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.offers-head span {
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-soft);
}
.offers ul { list-style: none; margin: 0; padding: 0; }
.offers li { padding: .6rem 0; font-size: .95rem; line-height: 1.5; }
.offers li + li { border-top: 1px dashed var(--line-strong); }
.offers li p { margin: 0; }
.offers .offer-date {
  display: block;
  margin-top: .15rem;
  font-family: var(--font-mono);
  font-size: .74rem;
  color: var(--ink-soft);
}
.note {
  max-width: var(--measure);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  padding: .9rem 1.15rem;
  font-size: .94rem;
}
.note p { margin: 0; }
.note p + p { margin-top: .6rem; }
.disclosure-inline { font-size: .8rem; color: var(--ink-soft); margin: .45rem 0 0; max-width: var(--measure); }
.sources { font-size: .84rem; color: var(--ink-soft); max-width: var(--measure); }
.sources li { margin: .3rem 0; }

/* ---------------------------------------------------------------- figures table --- */
.table-scroll { overflow-x: auto; margin: 1rem 0; border-top: 2px solid var(--ink); }
table.plain { width: 100%; border-collapse: collapse; font-size: .88rem; }
table.plain th, table.plain td { text-align: left; padding: .5rem .55rem; border-bottom: 1px solid var(--line); vertical-align: top; }
table.plain thead th {
  font-family: var(--font-mono);
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--ink-soft);
}
table.plain code { font-size: .8rem; }
table.plain td.date { white-space: nowrap; font-family: var(--font-mono); font-size: .8rem; }
table.plain td.num { text-align: right; font-family: var(--font-mono); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------------------------------------------------------------- questions --- */
details { margin: 0; border-bottom: 1px solid var(--line); max-width: var(--measure); }
details:first-child { border-top: 1px solid var(--line); }
summary {
  cursor: pointer;
  font-weight: 600;
  padding: .7rem 0;
  min-height: 2.75rem;
  list-style-position: outside;
}
summary::marker { color: var(--ink-soft); }
details p { margin: 0 0 .8rem; color: var(--ink-soft); }

/* ---------------------------------------------------------------- footer --- */
footer.site {
  border-top: 1px solid var(--line);
  margin-top: 4rem;
  padding: 1.6rem 0 2.6rem;
  font-size: .84rem;
  color: var(--ink-soft);
  background: var(--card);
}
footer.site .wrap { padding-bottom: 0; }
footer.site p { margin: .45rem 0; max-width: var(--measure); }
footer.site p:first-child { color: var(--ink); }
footer.site a { color: var(--accent); }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: .5rem; background: var(--card); color: var(--ink); padding: .5rem .7rem; z-index: 20; border: 1px solid var(--line-strong); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
