/* Privacy, Terms and 404 pages: same tokens and type as the map, laid out as a simple reading page */
:root {
  --cream: #F4F6F7; --paper: #FFFFFF; --ink: #0F2638; --ink-2: #2E3F4F; --muted: #5B6877; --line: #E1E5E8;
  --chip: #E9EDF0; --lime: #D8DE00; --lime-ink: #6E7200; --solid: #0F2638; --on-solid: #FFFFFF;
  --display: "Nunito", ui-rounded, system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Nunito", ui-rounded, system-ui, -apple-system, "Segoe UI", sans-serif;
  --script: "Caveat", "Segoe Print", "Bradley Hand", cursive;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --cream: #101315; --paper: #181C1F; --ink: #ECEEEF; --ink-2: #BAC2C8; --muted: #89939B; --line: #272D32;
    --chip: #21262A; --lime-ink: #D8DE00; --solid: #D8DE00; --on-solid: #0F2638; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --cream: #101315; --paper: #181C1F; --ink: #ECEEEF; --ink-2: #BAC2C8; --muted: #89939B; --line: #272D32;
  --chip: #21262A; --lime-ink: #D8DE00; --solid: #D8DE00; --on-solid: #0F2638; color-scheme: dark;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
a { color: var(--ink); text-decoration-color: var(--lime); text-decoration-thickness: 2px; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; border-radius: 6px; }

.lg-top { display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: calc(14px + env(safe-area-inset-top, 0px)) 20px 14px; border-bottom: 1px solid var(--line); }
.lg-top img { height: 22px; width: auto; display: block; }
.logo-dark { display: none !important; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo-dark { display: block !important; } :root:not([data-theme="light"]) .logo-light { display: none !important; } }
:root[data-theme="dark"] .logo-dark { display: block !important; } :root[data-theme="dark"] .logo-light { display: none !important; }
.lg-back { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 8px 14px;
  background: var(--solid); color: var(--on-solid); font-weight: 800; font-size: 14px; text-decoration: none; white-space: nowrap; }

.lg { max-width: 720px; margin: 0 auto; padding: 40px 20px 64px; }
.lg .eyebrow { margin: 0 0 6px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--lime-ink); }
.lg h1 { margin: 0; font: 900 clamp(32px, 6vw, 44px)/1.05 var(--display); letter-spacing: -.01em; text-wrap: balance; }
.lg .updated { margin: 10px 0 0; color: var(--muted); font-size: 14px; font-weight: 700; }
.lg .summary { margin: 28px 0 8px; padding: 16px 18px; background: var(--paper); border-left: 4px solid var(--lime); border-radius: 0 12px 12px 0; font-weight: 700; }
.lg .summary ul { margin: 6px 0 0; padding-left: 20px; }
.lg h2 { margin: 36px 0 8px; font: 900 21px/1.25 var(--display); text-wrap: balance; }
.lg h2 span { color: var(--lime-ink); margin-right: 6px; font-variant-numeric: tabular-nums; }
.lg p, .lg li { color: var(--ink-2); max-width: 68ch; }
.lg ul { padding-left: 22px; }
.lg li + li { margin-top: 4px; }
.lg b { color: var(--ink); }
.table-wrap { overflow-x: auto; margin: 12px 0; }
.lg table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 520px; }
.lg th, .lg td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.lg th { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.lg td:first-child { color: var(--ink); font-weight: 800; }
.lg-foot { border-top: 1px solid var(--line); padding: 20px; text-align: center; font-size: 14px; color: var(--muted); }
.lg-foot a { margin: 0 8px; }

/* 404 */
.nf { min-height: calc(100vh - 140px); display: grid; place-items: center; text-align: center; padding: 40px 20px; }
.nf .big { font: 900 clamp(88px, 22vw, 150px)/.9 var(--display); color: var(--ink); letter-spacing: -.03em; }
.nf .big b { color: var(--lime-ink); }
.nf .script { font: 600 30px/1 var(--script); color: var(--muted); margin: 10px 0 18px; }
.nf p { color: var(--ink-2); max-width: 40ch; margin: 0 auto 22px; }
.nf .lg-back { padding: 12px 20px; font-size: 15px; }

/* phones: each table row becomes a small card instead of a sideways-scrolling table */
@media (max-width: 640px) {
  .lg table { min-width: 0; }
  .lg thead { display: none; }
  .lg tr { display: block; padding: 14px 16px; margin-bottom: 10px; background: var(--paper); border-radius: 12px; }
  .lg td { display: block; padding: 2px 0; border: 0; }
  .lg td:first-child { font-size: 16px; margin-bottom: 4px; }
  .lg td:nth-child(2)::before, .lg td:nth-child(3)::before, .lg td:nth-child(4)::before {
    font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-right: 6px; }
  .lg td:nth-child(2)::before { content: "When"; }
  .lg td:nth-child(3)::before { content: "Why"; }
  .lg td:nth-child(4)::before { content: "Kept"; }
}
