/* meldshot.com: one stylesheet. System fonts, no web fonts, no scripts, light and dark.
   The palette, type scale and measured contrast are in README.md ("Design"). */

/* ---------- Tokens ---------- */

:root {
  color-scheme: light dark;

  --bg: #ffffff;
  --bg-2: #f5f5f7;
  --text: #1d1d1f;          /* 16.8:1 on bg, 15.5:1 on bg-2 */
  --text-2: #6e6e73;        /* 5.1:1 on bg, 4.7:1 on bg-2 */
  --accent: #0062c4;        /* links; 5.9:1 on bg, 5.4:1 on bg-2 */
  --button: #0071e3;        /* white text 4.7:1 */
  --button-hover: #0062c4;  /* white text 5.9:1 */
  --rule: #d2d2d7;
  --glow: rgb(0 113 227 / 0.09);
  --frame-shadow: 0 1px 2px rgb(0 0 0 / 0.06), 0 18px 40px -12px rgb(0 0 0 / 0.28);

  /* The icon's background and its three exposures */
  --ink-1: #18202e;
  --ink-2: #080b11;
  --on-ink: #f5f5f7;        /* 15.0:1 on ink-1 */
  --on-ink-2: #a9b4c6;      /* 7.8:1 on ink-1, 6.7:1 on the label card */
  --on-ink-accent: #4aa3ff; /* 6.2:1 on ink-1 */
  --on-ink-rule: rgb(255 255 255 / 0.14);
  --exp-1: #1c4c99;
  --exp-2: #0071e3;
  --exp-3: #5fb0ff;

  --font: -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --fs-display: clamp(2.5rem, 1.45rem + 4.4vw, 4.75rem);
  --fs-title: clamp(2.25rem, 1.6rem + 2.7vw, 3.5rem);
  --fs-h2: clamp(1.875rem, 1.35rem + 2.2vw, 3rem);
  --fs-h3: 1.1875rem;
  --fs-lede: clamp(1.1875rem, 1.04rem + 0.6vw, 1.5rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.875rem;

  --max: 68rem;
  --measure: 38rem;
  --gutter: clamp(1.25rem, 5vw, 2.5rem);
  --section: clamp(4.5rem, 3rem + 6vw, 8rem);
  --radius: 18px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --bg-2: #161617;
    --text: #f5f5f7;        /* 19.3:1 on bg, 16.6:1 on bg-2 */
    --text-2: #a1a1a6;      /* 8.2:1 on bg, 7.0:1 on bg-2 */
    --accent: #4aa3ff;      /* 8.0:1 on bg, 6.9:1 on bg-2 */
    --rule: #333336;
    --glow: rgb(74 163 255 / 0.16);
    --frame-shadow: 0 0 0 1px rgb(255 255 255 / 0.1), 0 18px 40px -12px rgb(0 0 0 / 0.9);
    --exp-1: #3a6fc4;
  }
}

@media (prefers-contrast: more) {
  :root { --text-2: #3d3d42; --accent: #004c99; --rule: #8e8e93; --on-ink-2: #c9d1de; }
}

@media (prefers-contrast: more) and (prefers-color-scheme: dark) {
  :root { --text-2: #d1d1d6; --accent: #8cc4ff; --rule: #8e8e93; }
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

img, svg { max-width: 100%; }

h1, h2, h3 {
  margin: 0;
  font-weight: 700;
  text-wrap: balance;
}
h3 { font-weight: 600; }

p, ul, ol, dl { margin: 0 0 1em; }
p { text-wrap: pretty; }

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
:where(a):focus-visible { border-radius: 4px; }

.skip {
  position: absolute;
  top: 0.75rem;
  left: var(--gutter);
  z-index: 10;
  padding: 0.625rem 1.125rem;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-300%);
}
.skip:focus { transform: none; }

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

.container {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Header and footer ---------- */

.site-header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem 1.5rem;
  min-height: 4.25rem;
}

/* The lockup: icon height 1.6 × the wordmark's ascender height, gap 0.3 × the icon (brief §7) */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  color: var(--text);
  text-decoration: none;
}
.brand img { display: block; width: 30px; height: 30px; }
.wordmark { display: block; width: auto; height: 18.75px; fill: currentColor; }

.site-nav ul {
  display: flex;
  gap: 1.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--text);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
}
.site-nav a:hover { color: var(--accent); }
.site-nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.5em;
}

.site-footer {
  border-top: 1px solid var(--rule);
  color: var(--text-2);
  font-size: var(--fs-small);
}
.site-footer .container {
  display: grid;
  gap: 1rem 2rem;
  padding-block: 2.5rem 3rem;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-links a {
  display: inline-block;
  padding-block: 0.375rem;
  color: var(--text);
  text-decoration: none;
}
.footer-links a:hover { color: var(--accent); text-decoration: underline; }
.legal { margin: 0; }

@media (min-width: 48rem) {
  .site-footer .container { grid-template-columns: auto 1fr; align-items: center; }
  .footer-links { justify-content: flex-end; }
  .legal { grid-column: 1 / -1; }
}

/* ---------- Shared pieces ---------- */

.section { padding-block: var(--section); }

.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.section-head h2 { font-size: var(--fs-h2); line-height: 1.08; letter-spacing: -0.025em; }
.section-head > h2 + p {
  margin: 1.25rem 0 0;
  color: var(--text-2);
  font-size: var(--fs-lede);
  line-height: 1.42;
}
.kicker {
  margin: 0 0 0.875rem;
  color: var(--text-2);
  font-size: var(--fs-body);
  font-weight: 600;
}

.lede {
  color: var(--text-2);
  font-size: var(--fs-lede);
  line-height: 1.42;
  letter-spacing: -0.005em;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  margin: 0;
  padding: 0.625rem 1.125rem;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--bg);
  color: var(--text);
  font-size: 0.9375rem;
  font-weight: 600;
}
.pill::before {
  content: "";
  flex: none;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--text-2);
}

.more { margin: 1.5rem 0 0; font-weight: 600; }
.more a { text-decoration: none; }
.more a:hover { text-decoration: underline; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.6875rem 1.375rem;
  border-radius: 999px;
  background: var(--button);
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
}
.button:hover { background: var(--button-hover); }

.glyph {
  display: block;
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.glyph .fill { fill: currentColor; stroke: none; }

/* ---------- Home: hero ---------- */

.home {
  background:
    radial-gradient(ellipse 70% 34rem at 50% 0, var(--glow), transparent 75%) no-repeat,
    var(--bg);
}

.hero {
  padding-top: clamp(2.5rem, 1.5rem + 5vw, 5.5rem);
  text-align: center;
}
.hero-icon {
  display: block;
  width: 88px;
  height: 88px;
  margin: 0 auto 1.75rem;
  filter: drop-shadow(0 10px 24px rgb(8 40 90 / 0.28));
}
.eyebrow {
  margin: 0 0 0.875rem;
  color: var(--text-2);
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  font-weight: 600;
}
.display {
  max-width: 16ch;
  margin-inline: auto;
  font-size: var(--fs-display);
  line-height: 1.04;
  letter-spacing: -0.03em;
}
.hero .lede { max-width: 34rem; margin: 1.5rem auto 2.25rem; }


/* The meld: three exposures of one scene, merged into one HDR photo */
.meld {
  display: grid;
  max-width: 60rem;
  margin: clamp(3rem, 2rem + 4vw, 5rem) auto 0;
  align-items: center;
}
.meld-in {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}
.frame {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background: #0a0f0c;
  box-shadow: var(--frame-shadow);
}
.frame svg { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; }
.meld-out { border-radius: 16px; }
.frame-label, .hdr-badge {
  position: absolute;
  padding: 0.125rem 0.4375rem;
  border-radius: 6px;
  background: rgb(0 0 0 / 0.62);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
}
.frame-label { left: 0.5rem; bottom: 0.5rem; }
.hdr-badge { top: 0.875rem; left: 0.875rem; font-weight: 700; letter-spacing: 0.04em; }

.meld-join { align-self: stretch; }
.meld-join svg { display: block; width: 100%; }
.meld-join .across { display: none; }
.meld-join .down { height: 3.75rem; }
.meld-join path {
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.meld-join .e1 { stroke: var(--exp-1); }
.meld-join .e2 { stroke: var(--exp-2); }
.meld-join .e3 { stroke: var(--exp-3); }

.meld figcaption {
  grid-column: 1 / -1;
  margin-top: 1.5rem;
  color: var(--text-2);
  font-size: var(--fs-small);
}

@media (min-width: 48rem) {
  .meld { grid-template-columns: minmax(0, 1fr) 5rem minmax(0, 3fr); }
  .meld-in { grid-template-columns: minmax(0, 1fr); }
  .meld-join .down { display: none; }
  .meld-join .across { display: block; height: 100%; }
  .meld figcaption { margin-top: 2rem; }
}

@media (prefers-reduced-motion: no-preference) {
  .meld-in, .meld-join, .meld-out { animation: meld-rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .meld-join { animation-delay: 0.2s; }
  .meld-out { animation-delay: 0.4s; }
  @keyframes meld-rise {
    from { opacity: 0; transform: translateY(14px); }
  }
}

/* ---------- Home: steps and features ---------- */

.steps {
  display: grid;
  gap: 2.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.steps li { padding-top: 1.5rem; border-top: 1px solid var(--rule); }
.step-n {
  display: block;
  margin-bottom: 1.5rem;
  color: var(--text-2);
  font-size: var(--fs-small);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.steps h3 { margin-bottom: 0.5rem; font-size: 1.375rem; letter-spacing: -0.015em; }
.steps p { max-width: 22rem; margin: 0; color: var(--text-2); }

@media (min-width: 48rem) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
}

.section-tight { padding-top: 0; }

.features {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.feature {
  padding: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  border-radius: var(--radius);
  background: var(--bg-2);
}
.feature .glyph { margin-bottom: 1.75rem; color: var(--accent); }
.feature h3 { margin-bottom: 0.5rem; font-size: var(--fs-h3); letter-spacing: -0.01em; }
.feature p { margin: 0; color: var(--text-2); }
.aside { margin: 2rem 0 0; color: var(--text-2); text-align: center; }

@media (min-width: 40rem) {
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 64rem) {
  .features { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- Home: privacy band ---------- */

.band {
  background: linear-gradient(180deg, var(--ink-1), var(--ink-2));
  color: var(--on-ink);
}
.band .kicker, .band .section-head > h2 + p { color: var(--on-ink-2); }
.band a { color: var(--on-ink-accent); }
.band :focus-visible { outline-color: var(--on-ink-accent); }

.privacy-grid { display: grid; gap: 1rem 4rem; }
.privacy-grid .section-head { margin-bottom: 2rem; }

.label-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 25rem;
  margin: 2rem 0 0;
  padding: 1rem 1.25rem;
  border: 1px solid var(--on-ink-rule);
  border-radius: 14px;
  background: rgb(255 255 255 / 0.06);
  color: var(--on-ink-2);
  font-size: var(--fs-small);
  line-height: 1.45;
}
.label-card .glyph { flex: none; color: var(--on-ink-accent); }
.label-card p { margin: 0; }
.label-card strong { display: block; color: var(--on-ink); font-size: var(--fs-body); font-weight: 600; }

.assurances {
  display: grid;
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.assurances li { padding-top: 1.5rem; border-top: 1px solid var(--on-ink-rule); }
.assurances .glyph { width: 28px; height: 28px; margin-bottom: 1.25rem; color: var(--on-ink-accent); }
.assurances h3 { margin-bottom: 0.375rem; font-size: var(--fs-h3); letter-spacing: -0.01em; }
.assurances p { margin: 0; color: var(--on-ink-2); }
.band-note { margin: 2.5rem 0 0; color: var(--on-ink-2); }

@media (min-width: 40rem) {
  .assurances { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 2rem; }
}
@media (min-width: 64rem) {
  .privacy-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .privacy-grid .section-head { margin-bottom: 0; }
  .band-note { grid-column: 2; margin-top: 1.5rem; }
}

/* ---------- Home: Pro and download ---------- */

.pro {
  display: grid;
  gap: 1rem 4rem;
  padding-block: var(--section) clamp(3.5rem, 2.5rem + 4vw, 6rem);
}
.pro h2 { font-size: clamp(1.625rem, 1.3rem + 1.2vw, 2.25rem); line-height: 1.15; letter-spacing: -0.02em; }
.pro p { margin: 0; color: var(--text-2); font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); line-height: 1.5; }
.pro .more { margin-top: 1rem; font-size: var(--fs-body); }

@media (min-width: 56rem) {
  .pro { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); align-items: start; }
}

.get { text-align: center; }
.get .container { padding-bottom: clamp(3.5rem, 2.5rem + 4vw, 6rem); }
.get .container::before {
  content: "";
  display: block;
  margin-bottom: clamp(3.5rem, 2.5rem + 4vw, 6rem);
  border-top: 1px solid var(--rule);
}
.get-icon {
  display: block;
  width: 96px;
  height: 96px;
  margin: 0 auto 24px;
  filter: drop-shadow(0 10px 24px rgb(8 40 90 / 0.28));
}
@media (prefers-color-scheme: dark) {
  .hero-icon, .get-icon {
    filter: drop-shadow(0 0 1px rgb(255 255 255 / 0.35)) drop-shadow(0 12px 32px rgb(74 163 255 / 0.2));
  }
}
.get h2 { display: flex; justify-content: center; margin-bottom: 1.25rem; }
.get h2 .wordmark { height: 27.4px; }
.get-line { margin: 0 0 2rem; color: var(--text-2); font-size: var(--fs-lede); }
.fine {
  max-width: 30rem;
  margin: 1.75rem auto 0;
  color: var(--text-2);
  font-size: var(--fs-small);
}

/* Release day: Apple's App Store badge replaces the hero's pill (README.md, "Release day") */
.store { margin: 0; }
.store a { display: inline-block; border-radius: 8px; }
.store img { display: block; width: auto; height: 40px; }

/* ---------- Pages: privacy, support, 404 ---------- */

.page-head { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem) clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.page-head h1 { font-size: var(--fs-title); line-height: 1.06; letter-spacing: -0.025em; }
.page-head .lede { max-width: 38rem; margin: 1.25rem 0 0; }
.meta { margin: 1rem 0 0; color: var(--text-2); }

.prose { line-height: 1.65; }
.prose h2 {
  margin: 3.5rem 0 1rem;
  font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.625rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  scroll-margin-top: 1.5rem;
}
.prose h3 { margin: 2rem 0 0.5rem; font-size: 1.125rem; line-height: 1.35; scroll-margin-top: 1.5rem; }
.prose p, .prose ul { margin-bottom: 1rem; }
.prose ul { padding-left: 1.25rem; }
.prose li + li { margin-top: 0.5rem; }
.prose li::marker { color: var(--text-2); }
.prose strong { font-weight: 600; }
.prose code {
  padding: 0.1em 0.35em;
  border-radius: 5px;
  background: var(--bg-2);
  font-family: var(--mono);
  font-size: 0.9em;
}
.prose > :last-child { margin-bottom: 0; }

/* Privacy: an "on this page" list beside the policy */
.doc { display: grid; gap: 2.5rem; padding-bottom: var(--section); }
.doc .prose, .doc .brief { max-width: var(--measure); }
.doc .prose > h2:first-child { margin-top: 0; }

.toc { font-size: var(--fs-small); }
.toc-title { margin: 0 0 0.5rem; color: var(--text-2); font-weight: 600; }
.toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  columns: 2 9rem;
  column-gap: 1.5rem;
}
.toc a {
  display: block;
  padding-block: 0.3125rem;
  color: var(--text-2);
  text-decoration: none;
  break-inside: avoid;
}
.toc a:hover { color: var(--accent); text-decoration: underline; }

@media (min-width: 64rem) {
  .doc { grid-template-columns: 13rem minmax(0, var(--measure)); gap: 3rem 5rem; }
  .doc .brief, .doc .prose { grid-column: 2; }
  .toc {
    grid-column: 1;
    grid-row: 1 / span 2;
    position: sticky;
    top: 2rem;
    align-self: start;
    max-height: calc(100vh - 4rem);
    overflow-y: auto;
  }
  .toc ol { columns: auto; }
}

.brief {
  padding: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  border-radius: var(--radius);
  background: var(--bg-2);
}
.brief h2 { margin: 0 0 1rem; font-size: 1.25rem; letter-spacing: -0.01em; }
.brief ul { margin: 0; padding: 0; list-style: none; }
.brief li { position: relative; padding-left: 1.75rem; }
.brief li + li { margin-top: 0.5rem; }
.brief li::before {
  content: "";
  position: absolute;
  top: 0.4em;
  left: 0.3rem;
  width: 0.375rem;
  height: 0.75rem;
  border: solid var(--accent);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.brief .note { margin: 1.25rem 0 0; color: var(--text-2); font-size: var(--fs-small); }

/* Support */
.contact {
  display: grid;
  gap: 2rem 4rem;
  padding: clamp(1.75rem, 1.2rem + 2.5vw, 3rem);
  border-radius: 24px;
  background: var(--bg-2);
}
.contact h2 { margin-bottom: 0.75rem; font-size: clamp(1.5rem, 1.3rem + 0.8vw, 2rem); letter-spacing: -0.02em; }
.contact .button { margin-top: 0.5rem; }
.contact .prose ul { margin-bottom: 1rem; }
.contact-alt { margin: 1.25rem 0 0; color: var(--text-2); font-size: var(--fs-small); }

@media (min-width: 56rem) {
  .contact { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

.jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
}
.jump a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.5rem 1.125rem;
  border: 1px solid var(--rule);
  border-radius: 999px;
  color: var(--text);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
}
.jump a:hover { border-color: var(--accent); color: var(--accent); }

.topic { padding-top: clamp(4rem, 3rem + 4vw, 6.5rem); }
.topic > h2 {
  margin-bottom: 1.25rem;
  font-size: clamp(1.75rem, 1.35rem + 1.6vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  scroll-margin-top: 1.5rem;
}
.topic > p { max-width: var(--measure); color: var(--text-2); }
.topic-intro, .topic > h2.topic-intro { margin-bottom: 2rem; }

.qa {
  display: grid;
  gap: 0.75rem 4rem;
  padding-block: 2rem;
  border-top: 1px solid var(--rule);
}
.qa h3 { margin: 0; font-size: var(--fs-h3); line-height: 1.35; letter-spacing: -0.01em; scroll-margin-top: 1.5rem; }
.qa .prose { max-width: var(--measure); }

@media (min-width: 56rem) {
  .qa { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
}

.limits { padding-bottom: var(--section); }

/* 404 */
.notfound { padding-block: clamp(4rem, 3rem + 8vw, 9rem); text-align: center; }
.notfound .code {
  margin: 0 0 0.5rem;
  background: linear-gradient(90deg, var(--exp-1), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(5rem, 3rem + 9vw, 9rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}
.notfound h1 { font-size: var(--fs-title); letter-spacing: -0.025em; }
.notfound .lede { margin: 1rem auto 0; }
.notfound .jump { justify-content: center; }

@media (prefers-color-scheme: dark) {
  .notfound .code { background-image: linear-gradient(90deg, var(--accent), #b4dbff); }
}

/* ---------- Forced colours and print ---------- */

@media (forced-colors: active) {
  .pill, .button, .jump a, .frame-label, .hdr-badge, .label-card { border: 1px solid CanvasText; }
  .notfound .code { color: CanvasText; background: none; }
}

@media print {
  .site-nav, .skip, .toc, .jump, .meld { display: none; }
  .band { background: none; color: inherit; }
  .band .kicker, .band .section-head > h2 + p, .assurances p, .band-note, .label-card { color: inherit; }
  a { color: inherit; }
}
