/* Shared style for the static legal pages (privacy, accessibility).
   Served from public/ as-is, so it repeats the site tokens from src/style.css. */

:root {
  --field: #0e1e86;
  --deep: #071357;
  --bone: #f3efe4;
  --signal: #ffc94a;
  --dim: #9aa6e8;

  --gutter: clamp(1rem, 4vw, 3.5rem);
  --font: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
}

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

html {
  background: var(--field);
  color: var(--bone);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0 var(--gutter) 3rem;
  font-variation-settings:
    "opsz" 24,
    "wdth" 92;
}

main {
  max-width: 44rem;
}

.legal-top {
  padding-top: clamp(1.5rem, 5vh, 3rem);
  font-weight: 600;
}

h1 {
  margin: clamp(2rem, 6vh, 4rem) 0 0.25rem;
  font-size: clamp(2.2rem, 1.2rem + 4vw, 4rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variation-settings:
    "opsz" 96,
    "wdth" 100;
}

h2 {
  margin: 2.5rem 0 0.5rem;
  font-size: 1.35rem;
  line-height: 1.25;
}

p,
li {
  max-width: 68ch;
}

.updated {
  margin: 0 0 2rem;
  color: var(--dim);
}

.summary {
  padding: 0.25rem 0 0.25rem 1rem;
  border-left: 3px solid var(--signal);
}

.summary h2 {
  margin-top: 0.5rem;
}

a {
  color: var(--signal);
  text-underline-offset: 0.2em;
}

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

.legal-links {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--deep);
  color: var(--dim);
}

.legal-links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.legal-links a {
  display: inline-block;
  padding: 0.25rem 0;
}

/* The ".invalid" tail of the legal-notice address. Hidden, so the rendered
   and copied address is the real one; raw HTML and CSS-off readers see a
   reserved-TLD decoy that cannot receive mail. */
.eo {
  display: none;
}
