/*
  publishingpilot.com: the one stylesheet.

  Colours: only the brand tokens in :root (the build spec's "Brand tokens"). The four
  demo titles' own colours are the one exception, and they're set inline on their
  initial squares, where the spec names them. tests/test_site.py checks this.
*/

/* --- Fonts: self-hosted Latin subsets (SIL Open Font License, see fonts/LICENSE-*.txt) --- */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("/fonts/archivo-latin-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-latin-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/jetbrains-mono-latin-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/jetbrains-mono-latin-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- Brand tokens: the locked brand. Use nothing else. --- */

:root {
  --paper: #F5F2EA;
  --ink: #15171C;
  --signal: #B8380F;
  --signal-light: #E8835F;
  --newsprint: #ECE7DC;
  --rule: #DDD7C9;
  --muted: #5A5D66;
  --body-on-ink: #D9D6CE;
  --white: #FFFFFF;

  --font-display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --font-title: Georgia, "Times New Roman", serif;   /* the demo titles' own type, in mocks and cards */

  --column: 1120px;
  --gutter: 24px;
  --radius-button: 6px;
  --radius-card: 10px;
  --radius-mock: 12px;
}

/* --- Base --- */

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--ink); }
a:hover { color: var(--signal); }

:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 2px;
}

h1, h2, h3, p, ol, ul { margin: 0; }

.mono { font-family: var(--font-mono); }

.skip-link {
  position: absolute;
  left: 8px;
  top: -100px;
  z-index: 10;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 16px;
  border-radius: var(--radius-button);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 8px; color: var(--paper); }

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

.wrap {
  max-width: var(--column);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* Anchored sections land clear of the top edge. */
[id] { scroll-margin-top: 16px; }

/* --- Type --- */

.display {
  font-family: var(--font-display);
  font-stretch: 88%;
  letter-spacing: -0.02em;
}

.h2 {
  font-family: var(--font-display);
  font-stretch: 88%;
  letter-spacing: -0.02em;
  font-weight: 750;
  font-size: 36px;
  line-height: 1.1;
  margin-bottom: 14px;
}

/* The ## marker before every section heading after the hero. */
.marker {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--signal);
  margin-right: 10px;
}
.on-ink .marker { color: var(--signal-light); }

.h3-mono {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
}

.lead { font-size: 17px; line-height: 1.6; color: var(--ink); }
.muted { color: var(--muted); }
.signal { color: var(--signal); }

/* --- Buttons: 6px radius, 44px+ touch targets --- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: var(--radius-button);
  font: 600 16px/1.2 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
}
.button-signal { background: var(--signal); color: var(--white); }
.button-signal:hover { background: var(--ink); color: var(--paper); }
.button-ink { background: var(--ink); color: var(--paper); }
.button-ink:hover { background: var(--signal); color: var(--white); }
.button-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.button-outline:hover { background: var(--ink); color: var(--paper); }
.button-paper { background: var(--paper); color: var(--ink); }
.button-paper:hover { background: var(--white); color: var(--signal); }
.button-outline-paper { border-color: var(--paper); color: var(--paper); background: transparent; }
.button-outline-paper:hover { background: var(--paper); color: var(--ink); }
.button-text { padding-left: 8px; padding-right: 8px; color: var(--ink); }

.on-ink :focus-visible { outline-color: var(--signal-light); }

/* --- 1. Header --- */

.site-header { border-bottom: 1px solid var(--rule); }

.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 32px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  text-decoration: none;
  color: var(--ink);
}
.brand:hover { color: var(--ink); }
.brand svg { width: 22px; height: 31px; flex: none; }
.brand-name {
  font-family: var(--font-display);
  font-stretch: 88%;
  letter-spacing: -0.02em;
  font-weight: 750;
  font-size: 21px;
  line-height: 1;
}

.nav-main { flex: 1 1 auto; }
.nav-main ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0 18px;
}
.nav-main a,
.nav-account .signin {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 4px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.nav-account { display: flex; align-items: center; gap: 12px; }
.nav-account .button { min-height: 44px; padding: 10px 18px; font-size: 15px; }

/* Narrow screens: the nav wraps below the logo; no menu button in v1. */
@media (max-width: 860px) {
  .site-header .wrap { justify-content: space-between; }
  .nav-main { order: 3; flex-basis: 100%; }
  .nav-main ul { gap: 0 14px; }
}

/* --- 2. Hero --- */

.hero .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 56px;
  padding-top: 80px;
  padding-bottom: 64px;
}
.hero-copy { flex: 1 1 440px; min-width: 0; }

.chips {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.4;
  color: var(--muted);
}
.chips li { background: var(--newsprint); padding: 4px 8px; border-radius: 4px; }

.hero h1 {
  font-family: var(--font-display);
  font-stretch: 88%;
  letter-spacing: -0.02em;
  font-weight: 800;
  font-size: clamp(48px, 6.4vw, 80px);
  line-height: 0.95;
}
.hero-lead { margin-top: 24px; font-size: 21px; line-height: 1.5; max-width: 520px; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* --- Product mocks: static pictures, built in HTML and CSS --- */

.mock {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-mock);
  box-shadow: 0 24px 60px -30px rgb(21 23 28 / 0.35);   /* --ink at 35% */
  overflow: hidden;
  font-size: 13px;
  line-height: 1.5;
}
.mock-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--newsprint);
  background: var(--paper);
}
.mock-url { margin-left: auto; font-family: var(--font-mono); font-size: 11px; color: var(--muted); }
.mock-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.initial {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  color: var(--white);
  font-family: var(--font-title);
  font-weight: 700;
  border-radius: 3px;
}
.initial-sm { width: 22px; height: 22px; font-size: 13px; }
.initial-xs { width: 18px; height: 18px; font-size: 11px; }
.initial-lg { width: 44px; height: 44px; font-size: 22px; border-radius: 4px; }
.title-name { font-family: var(--font-title); font-weight: 700; }

.bar { height: 8px; background: var(--newsprint); border-radius: 2px; margin: 6px 0; }

.hero-mock { flex: 1 1 500px; min-width: 0; }
.hero-mock .mock-bar .title-name { font-size: 15px; }
.mock-panes { display: flex; flex-wrap: wrap; }
.pane-article { flex: 1 1 220px; padding: 22px 20px; border-right: 1px solid var(--newsprint); }
.pane-article .headline {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 21px;
  line-height: 1.2;
  margin: 8px 0 10px;
}
.follow {
  margin-top: 18px;
  border: 1px dashed var(--rule);
  border-radius: 8px;
  padding: 10px 12px;
}
.follow strong { font-weight: 600; }
.follow p { margin-top: 4px; color: var(--muted); }

.pane-ask {
  flex: 1 1 240px;
  padding: 18px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pane-ask .mock-label { color: var(--signal); }
.bubble-reader {
  align-self: flex-end;
  max-width: 85%;
  background: var(--ink);
  color: var(--paper);
  padding: 9px 12px;
  border-radius: 10px 10px 2px 10px;
}
.bubble-answer {
  background: var(--white);
  border: 1px solid var(--newsprint);
  padding: 12px;
  border-radius: 10px 10px 10px 2px;
}
.sources { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.sources span {
  font-size: 12px;
  background: var(--paper);
  padding: 6px 8px;
  border-radius: 4px;
}
.ask-field {
  margin-top: auto;
  border: 1px solid var(--rule);
  background: var(--white);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--muted);
}

/* --- 3. Why (Ink) --- */

.band-ink { background: var(--ink); color: var(--paper); }

.why .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 64px;
  padding-top: 72px;
  padding-bottom: 72px;
}
.why .wrap > div { flex: 1 1 300px; }
.why p { flex: 2 1 520px; font-size: 19px; line-height: 1.6; color: var(--body-on-ink); }

/* --- 4. Design principles --- */

.principles .wrap { padding-top: 80px; padding-bottom: 24px; }
.cards-4 {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 28px;
}
.principle { border-top: 2px solid var(--ink); padding-top: 18px; }
.principle.is-signal { border-top-color: var(--signal); }
.principle h3 { margin-bottom: 8px; }
.principle p { color: var(--ink); }
.principle code { font-family: var(--font-mono); font-size: 14px; }

/* --- 5. How it works --- */

.how .wrap { padding-top: 64px; padding-bottom: 80px; }
.how .intro { max-width: 720px; margin-bottom: 28px; }

/*
  The diagram is a fixed 1072 x 916 artboard, ported from the design canvas.
  1120px and wider: shown at full size (the column is exactly 1072px).
  640px to 1120px: scaled to the column with CSS. --scale is the column's width over
  1072px, worked out with tan(atan2()), which divides one length by another.
  Under 640px, or where the browser can't do that sum: full size, in a box that
  scrolls sideways, with a hint.
*/
.diagram-frame {
  container-type: inline-size;
}
.diagram-scroll {
  overflow-x: auto;
  padding-bottom: 8px;
}
.diagram-hint { display: none; margin-bottom: 8px; font-size: 14px; color: var(--muted); }
.diagram-fit { width: 1072px; height: 916px; }
.diagram {
  position: relative;
  width: 1072px;
  height: 916px;
  background: var(--paper);
  overflow: hidden;
  transform-origin: 0 0;
}

@supports (width: calc(1px * tan(atan2(1px, 1px)))) {
  @media (min-width: 640px) {
    .diagram-scroll { overflow: visible; padding-bottom: 0; }
    .diagram-fit { width: 100%; height: auto; aspect-ratio: 1072 / 916; }
    .diagram { --scale: tan(atan2(100cqi, 1072px)); transform: scale(min(1, var(--scale))); }
  }
}
@media (max-width: 639.98px) {
  .diagram-hint { display: block; }
}
@supports not (width: calc(1px * tan(atan2(1px, 1px)))) {
  @media (max-width: 1119.98px) { .diagram-hint { display: block; } }
}

/* Arrows: ink, or Signal for the release and Desk flows. Decorative (aria-hidden). */
.dg-arrow { color: var(--ink); overflow: visible; }
.dg-arrow.is-signal { color: var(--signal); }
.dg-knock { stroke: var(--paper); }

.lists {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 40px;
  margin-top: 40px;
}
.lists > div { flex: 1 1 300px; min-width: 0; }
.lists h3 { margin-bottom: 8px; font-size: 15px; }
.steps {
  list-style: none;
  padding: 0;
  border-top: 1px solid var(--rule);
  counter-reset: step;
}
.steps li {
  display: flex;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
  line-height: 1.5;
  counter-increment: step;
}
.steps li::before {
  content: counter(step) ".";
  flex: 0 0 24px;
  font-family: var(--font-mono);
  color: var(--signal);
}

/* --- 6. The Desk --- */

.desk .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px;
  padding-top: 16px;
  padding-bottom: 88px;
}
.desk-copy { flex: 1 1 320px; min-width: 0; }
.desk-copy .lead { margin-bottom: 16px; }
.desk-copy .muted { font-size: 15px; }

.desk-mock { flex: 2 1 600px; min-width: 0; }
.desk-mock .mock-bar { gap: 10px; }
.desk-mock .mock-bar svg { width: 12px; height: 17px; }
.desk-mock .mock-bar strong { font-weight: 600; font-size: 14px; }
.desk-mock .slash { color: var(--rule); }
.desk-body { display: flex; }
.desk-menu {
  flex: 0 0 132px;
  padding: 16px 12px;
  border-right: 1px solid var(--newsprint);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.desk-menu span { padding: 7px 10px; border-radius: 6px; }
.desk-menu .is-selected { background: var(--newsprint); font-weight: 600; }
.desk-main { flex: 1; min-width: 0; padding: 18px; display: flex; flex-direction: column; gap: 16px; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.panel { border: 1px solid var(--newsprint); border-radius: 8px; padding: 12px; }
.tiles .panel { padding: 10px; }
.panel .mock-label { font-size: 10px; margin-bottom: 8px; }
.tile-bar { height: 14px; background: var(--ink); border-radius: 2px; }
.tile-bar.is-signal { background: var(--signal); }
.panels { display: flex; flex-wrap: wrap; gap: 16px; }
.panels .panel { flex: 1 1 200px; min-width: 0; }
.chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 84px;
  border-bottom: 1px solid var(--rule);
}
.chart span { flex: 1; background: var(--rule); border-radius: 2px 2px 0 0; }
.chart span.is-today { background: var(--ink); }
.asks { display: flex; flex-direction: column; gap: 9px; font-size: 12px; }
.asks div { display: flex; align-items: center; gap: 8px; }
.asks div span:first-child { flex: 0 0 112px; }
.asks i { height: 6px; background: var(--ink); border-radius: 3px; }
.asks .is-gap span:first-child { color: var(--signal); }
.asks .is-gap i { background: var(--signal); }
.approval { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px solid var(--newsprint); }
.approval > div { flex: 1; display: flex; flex-direction: column; gap: 5px; }
.approval .bar { margin: 0; }
.approve {
  font-size: 12px;
  font-weight: 600;
  background: var(--ink);
  color: var(--paper);
  padding: 6px 10px;
  border-radius: 5px;
}

@media (max-width: 560px) {
  .desk-menu { display: none; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* --- 7. Reference apps (Newsprint) --- */

.band-newsprint { background: var(--newsprint); }
.apps .wrap { padding-top: 80px; padding-bottom: 80px; }
.apps .lead { max-width: 620px; margin-bottom: 32px; }
.cards-3 {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.app-card { background: var(--paper); border-radius: var(--radius-card); padding: 24px; }
.app-card h3 { margin-bottom: 10px; }
.app-card p { line-height: 1.55; }

/* --- 8. For developers (Ink) --- */

.developers .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px;
  padding-top: 80px;
  padding-bottom: 80px;
}
.developers-copy { flex: 1 1 400px; min-width: 0; }
.developers-copy p { margin-bottom: 26px; font-size: 17px; color: var(--body-on-ink); }
.developers .actions { margin-top: 0; }

.terminal {
  flex: 1 1 440px;
  min-width: 0;
  margin: 0;
  padding: 24px;
  background: var(--ink);
  border: 1px solid var(--muted);
  border-radius: var(--radius-card);
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.7;
  color: var(--body-on-ink);
  overflow-x: auto;
}
.terminal p { padding-left: 2ch; text-indent: -2ch; overflow-wrap: anywhere; }
.terminal .cmd { color: var(--paper); }
.terminal .cmd + .cmd, .terminal .out + .cmd { margin-top: 10px; }
.terminal .prompt { color: var(--signal-light); }
.terminal .note { color: var(--body-on-ink); opacity: 0.75; }

/* --- 9. Demo titles --- */

.live .wrap { padding-top: 80px; padding-bottom: 80px; }
.live .lead { margin-bottom: 32px; }
.cards-demo {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.demo {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 100%;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-card);
  text-decoration: none;
  color: var(--ink);
}
a.demo:hover { border-color: var(--ink); color: var(--ink); }
.demo .title-name { display: block; font-size: 18px; line-height: 1.3; }
.demo .tagline { display: block; font-size: 14px; line-height: 1.4; color: var(--muted); }

/* --- 10. What you keep --- */

.keep { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.keep .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 64px;
  padding-top: 72px;
  padding-bottom: 72px;
}
.keep .wrap > div { flex: 1 1 300px; }
.keep-list {
  list-style: none;
  padding: 0;
  flex: 2 1 520px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 17px;
  line-height: 1.5;
}
.keep-list li { padding-left: 28px; position: relative; }
.keep-list li::before {
  content: "\2013";
  position: absolute;
  left: 0;
  font-family: var(--font-mono);
  color: var(--signal);
}

/* --- 11. Status and the early-access form --- */

.access .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 32px 64px;
  padding-top: 88px;
  padding-bottom: 88px;
}
.access .wrap > div:first-child { flex: 1 1 300px; }
.access-body { flex: 2 1 520px; min-width: 0; }
.access-body > p:first-child { margin-bottom: 24px; font-size: 19px; line-height: 1.6; }

.access-form { max-width: 560px; }
.access-form label { display: block; font-weight: 600; margin-bottom: 8px; }
.form-row { display: flex; flex-wrap: wrap; gap: 12px; }
.form-row input {
  flex: 1 1 260px;
  min-width: 0;
  min-height: 48px;
  padding: 12px 16px;
  font: 400 16px/1.4 var(--font-body);
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-button);
}
.form-row input::placeholder { color: var(--muted); }
.form-row .button { border: 0; }
.form-row .button[disabled] { opacity: 0.7; cursor: progress; }

/* The honeypot: off screen for people, there for bots. */
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-status { min-height: 1.6em; margin-top: 12px; font-weight: 500; }
.form-status.is-error { color: var(--signal); }
.form-note { margin-top: 8px; font-size: 15px; color: var(--muted); }

/* --- 12. Footer (Ink) --- */

.site-footer { color: var(--body-on-ink); }
.site-footer a { color: var(--body-on-ink); text-decoration: none; }
.site-footer a:hover { color: var(--signal-light); }
.footer-main {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 72px;
  padding-top: 56px;
  padding-bottom: 40px;
}
.footer-brand { flex: 1 1 260px; }
.footer-brand .brand { color: var(--paper); margin-bottom: 6px; }
.footer-brand .brand:hover { color: var(--paper); }
.footer-brand .brand svg { width: 20px; height: 28px; }
.footer-brand .brand-name { font-size: 20px; }
.footer-brand p { font-size: 15px; }
.footer-col { font-size: 15px; }
.footer-col h2 { font: 600 15px/1.6 var(--font-body); color: var(--paper); margin-bottom: 4px; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col a { display: inline-flex; align-items: center; min-height: 36px; }

.privacy {
  padding-top: 24px;
  padding-bottom: 24px;
  border-top: 1px solid var(--muted);
  font-size: 14px;
}
.privacy h2 { display: inline; font: 600 14px/1.6 var(--font-body); color: var(--paper); }
.privacy p { display: inline; }
.privacy a { text-decoration: underline; }

.footer-bottom {
  padding-top: 20px;
  padding-bottom: 32px;
  border-top: 1px solid var(--muted);
  font-size: 13px;
}

/* --- 404 --- */

.not-found .wrap { padding-top: 96px; padding-bottom: 120px; }
.not-found h1 {
  font-family: var(--font-display);
  font-stretch: 88%;
  letter-spacing: -0.02em;
  font-weight: 800;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  margin-bottom: 20px;
}
.not-found p { font-size: 19px; max-width: 560px; }

/* --- Motion: the cursor blink is the only animation, and it's off by default for reduced motion --- */

@media (prefers-reduced-motion: no-preference) {
  .brand:hover .cursor { animation: blink 1.06s steps(1) infinite; }
}
@keyframes blink { 50% { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* --- Small screens --- */

@media (max-width: 480px) {
  :root { --gutter: 20px; }
  .hero .wrap { padding-top: 48px; gap: 40px; }
  .hero-lead { font-size: 19px; }
  .h2 { font-size: 32px; }
  .actions .button { flex: 1 1 auto; }
}
