/* legal.jointherace.stream — built into build/legal-site/style.css by
   .claude/scripts/legal_site.js. Brand tokens as hosting/style.css. */
@font-face { font-family: 'Epilogue'; font-weight: 400; src: url('/fonts/Epilogue-Regular.ttf') format('truetype'); font-display: swap; }
@font-face { font-family: 'Epilogue'; font-weight: 700; src: url('/fonts/Epilogue-Bold.ttf') format('truetype'); font-display: swap; }

/* --bg is baked into legal/imprint-email.png — re-run .claude/scripts/imprint_email_png.py when it changes. */
:root { --bg: #121212; --text: #ffffff; --supporting: rgba(255, 255, 255, 0.7); --line: rgba(255, 255, 255, 0.12); --brand: #EBD007; }
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font-family: 'Epilogue', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; }
body { font-size: 16px; line-height: 1.6; }
.top, main, .foot { max-width: 760px; margin: 0 auto; padding: 0 16px; }
.top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 24px; padding-bottom: 24px; }
.brand img { display: block; width: 180px; height: auto; }
.langs { display: flex; flex-wrap: wrap; gap: 12px; font-size: 14px; }
.langs span { font-weight: 700; }
a { color: var(--brand); }
.eyebrow { margin: 0; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--supporting); }
.meta, .note { font-size: 14px; color: var(--supporting); }
.note { border-left: 3px solid var(--brand); padding-left: 12px; }
h1 { font-size: 24px; line-height: 1.3; margin: 32px 0 16px; }
h2 { font-size: 20px; line-height: 1.3; margin: 28px 0 12px; }
h3 { font-size: 17px; line-height: 1.3; margin: 24px 0 8px; }
article { overflow-wrap: anywhere; }
/* Tables scroll inside themselves — never a horizontal page scroll on phones. */
article table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
article th, article td { border: 1px solid var(--line); padding: 8px; text-align: left; vertical-align: top; }
.docs { padding-left: 20px; }
.foot { margin-top: 48px; border-top: 1px solid var(--line); padding-top: 16px; padding-bottom: 32px; font-size: 14px; color: var(--supporting); }
.foot p { margin: 4px 0; }
/* The imprint's email address is an image (white on --bg, opaque, 2x). */
.imprint .email { vertical-align: middle; }
@media print {
  :root { --bg: #ffffff; --text: #000000; --supporting: #444444; --line: #cccccc; --brand: #000000; }
  .langs { display: none; }
  /* Black on white on paper: inverted, the --bg box is #EDEDED; brightness lifts it to white. */
  .imprint .email { filter: invert(1) brightness(1.1); }
}
