/*
 * THE LEGAL PAGES, WHICH ARE READ RATHER THAN SCANNED.
 * =============================================================================
 *
 * THESE PAGES LINK ONLY THIS FILE SINCE 2026-09-23. style.css became the new
 * home page's stylesheet that day and no longer declares the tokens or the
 * base rules below, so the part of the previous style.css these three pages
 * actually used was moved here unchanged: the :root tokens, the element
 * defaults, the page h1 and .hint. They look exactly as they did before.
 * docs/SITE-HOME-PAGE-NOTES.md, "THE NEW PAGE, 2026-09-23", records why.
 *
 * A landing page h1 pointed at a privacy policy makes every heading a
 * billboard, which is why the .legal rules further down override it.
 */

:root {
  --bg: #141a21;
  --panel: #1c252e;
  --panel-2: #28323d;
  --line: #3b4551;
  --line-soft: rgba(145, 158, 171, 0.12);
  --text: #ffffff;
  --text-2: #ffffff;
  --muted: #919eab;
  --muted-on-panel: #919eab;
  --accent: #5be49b;
  --accent-hi: #77ed8b;
  --accent-ink: #141a21;
  --danger: #ff8a8a;
  --radius: 10px;
  --page: 1180px;
  --gutter: 24px;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Menlo, Consolas, monospace;
}

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

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

h1,
h2,
h3 {
  margin: 0 0 0.5em;
  line-height: 1.14;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 800;
  max-width: 16ch;
  margin-inline: auto;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--accent);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent-hi);
}

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

.hint {
  margin: 12px 0 0;
  color: var(--muted-on-panel);
  font-size: 14.5px;
  max-width: 64ch;
}

.legal {
  max-width: 74ch;
  margin: 0 auto;
  padding: 64px var(--gutter) 96px;
}

/* Overrides the hero h1. Same weight and tracking, a readable size. */
.legal h1 {
  font-size: clamp(28px, 4vw, 38px);
  max-width: none;
  margin-bottom: 8px;
}

.legal h2 {
  font-size: 22px;
  font-weight: 700;
  /* Air ABOVE a heading and little below it, so a heading belongs to the text
     under it rather than floating between two sections. */
  margin: 44px 0 10px;
}

.legal h3 {
  font-size: 17.5px;
  font-weight: 700;
  margin: 28px 0 6px;
}

.legal p,
.legal li {
  color: var(--text);
}

.legal ul {
  margin: 0 0 1em;
  padding-left: 22px;
}

.legal li {
  margin-bottom: 0.5em;
}

/* The date line under the title. */
.legal-stamp {
  color: var(--muted);
  font-size: 14.5px;
  margin: 0 0 36px;
}

/* A quiet slab for the one or two things a reader should not miss. */
.legal-note {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 18px 20px;
  margin: 24px 0;
}

.legal-note p:last-child {
  margin-bottom: 0;
}

.legal-back {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 14.5px;
}

/* The entity block. Monospaced so the address reads as a record, not prose. */
.legal-entity {
  font-family: var(--mono);
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--muted-on-panel);
}
