/* ===========================================================================
   THE SHORT PAGES. privacy, terms, 404.

   The home page carries its own rules inline and the ScrollCraft engine
   underneath. These three pages are a column of prose and need neither, so
   they get this sheet instead: the same palette from tokens.css, the same
   faces, a measure, and nothing that moves. Everything here is sized in rem
   so the pages read the same without the engine's fluid type tokens.
   =========================================================================== */

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

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

body {
  margin: 0;
  font-family: var(--sc-font-text);
  font-size: 1.0625rem;
  line-height: var(--seam-leading-body);
  background: var(--sc-canvas);
  color: var(--sc-ink);
  text-rendering: optimizeLegibility;
}

/* The same rescue the home page offers: first in the tab order, visible only
   when it has focus. */
.skip {
  position: fixed; z-index: 999; left: 1rem; top: -5rem;
  background: var(--sc-accent); color: var(--sc-accent-ink);
  padding: 12px 20px; border-radius: 6px;
  font-size: 0.9375rem; font-weight: 500; text-decoration: none;
  transition: top 160ms ease-out;
}
.skip:focus { top: 1rem; }

.wrap {
  max-width: 62ch;
  margin: 0 auto;
  padding: clamp(2.5rem, 8vh, 5rem) clamp(1.25rem, 5vw, 2.5rem) clamp(3rem, 10vh, 6rem);
}
.wrap:focus { outline: none; }

.eyebrow {
  margin: 0 0 0.75rem;
  font-family: var(--sc-font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sc-accent);
}

h1 {
  font-family: var(--sc-font-display);
  font-weight: 500;
  font-size: clamp(2rem, 1.5rem + 2.2vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 0.75rem;
  text-wrap: balance;
}

.stamp {
  margin: 0 0 1.5rem;
  font-family: var(--sc-font-mono);
  font-size: 0.8125rem;
  color: var(--sc-ink-soft);
}

.lede {
  font-size: 1.1875rem;
  line-height: 1.5;
  color: var(--sc-ink-soft);
  margin: 0 0 2.5rem;
  text-wrap: pretty;
}

.sections { display: grid; gap: 2.25rem; }
.sections section { margin: 0; }

h2 {
  font-family: var(--sc-font-display);
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.2;
  margin: 0 0 0.75rem;
}

p { margin: 0 0 1rem; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

ul { margin: 0 0 1rem; padding-left: 1.25rem; }
li { margin: 0 0 0.5rem; }
li:last-child { margin-bottom: 0; }

strong { font-weight: 600; }

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

/* The processor list. A definition list reads as a table without the table's
   horizontal scroll on a phone. */
.who { margin: 0 0 1rem; display: grid; gap: 0.75rem; }
.who div { padding: 0.75rem 0 0; border-top: 1px solid color-mix(in oklab, var(--sc-ink) 12%, transparent); }
.who dt { font-weight: 600; margin: 0 0 0.2rem; }
.who dd { margin: 0; color: var(--sc-ink-soft); font-size: 0.9375rem; line-height: 1.55; }

/* The entity block. Set apart, set small: it is the fine print. */
.entity {
  margin-top: 0.5rem;
  padding: 1rem 1.125rem;
  border: 1px solid color-mix(in oklab, var(--sc-ink) 14%, transparent);
  border-radius: 12px;
  background: var(--sc-surface);
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--sc-ink-soft);
}
.entity p { margin: 0; }

.back {
  display: inline-block;
  margin-top: 2.5rem;
  font-weight: 500;
}

.foot {
  margin: 2rem auto 0;
  max-width: 62ch;
  padding: 1.25rem clamp(1.25rem, 5vw, 2.5rem) 2.5rem;
  border-top: 1px solid color-mix(in oklab, var(--sc-ink) 12%, transparent);
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--sc-ink-soft);
}
.foot p { margin: 0; }
.foot a { color: var(--sc-ink-soft); }

:where(a, button, [tabindex]):focus-visible {
  outline: 2px solid var(--sc-accent);
  outline-offset: 3px;
  border-radius: 6px;
}

@media (prefers-reduced-motion: reduce) {
  .skip { transition: none; }
}

code {
  font-family: var(--sc-font-mono);
  font-size: 0.875em;
  padding: 0.1em 0.35em;
  border-radius: 4px;
  background: color-mix(in oklab, var(--sc-ink) 7%, transparent);
}
