/* Shared styles for the static legal pages (privacy.html, terms.html).
   They are plain files in public/ so they load with no JavaScript, from any
   link, and never wait on the app bundle. Night header for the brand, Day
   body for reading (spec 4: long reading stays Day). Mobile first. Colors
   are the app's tokens copied by value, because this file cannot read
   src/index.css. */
:root {
  --ink: #131a2e; --muted: #4a5470; --paper: #ffffff; --page: #f4f6fc; --line: #e3e7f2;
  --brand: #2b4cf0; --brand-600: #2138c4; --brand-300: #aebcfb; --brand-night: #8ea2ff;
  --night: #0a0d1a; --night-2: #121a3a; --night-ink: #eef1fb; --night-muted: #aab3d6;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--page); color: var(--ink);
  font: 400 1rem/1.65 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--brand); text-underline-offset: 2px; }
a:hover { color: var(--brand-600); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 16px; top: 12px; background: var(--paper); color: var(--ink); padding: .6rem .9rem; border-radius: 10px; z-index: 10; }
header {
  background: linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%);
  color: var(--night-ink);
}
.bar { max-width: 760px; margin: 0 auto; padding: 0 16px; min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mark { display: inline-flex; flex-direction: column; color: var(--night-ink); text-decoration: none; line-height: 1; min-height: 44px; justify-content: center; }
.mark b { font: 600 1.35rem/1 Fraunces, Georgia, serif; letter-spacing: -.02em; }
.mark span { font: 700 .62rem/1 Inter, sans-serif; letter-spacing: .24em; color: var(--night-muted); margin-top: 4px; }
.bar nav a { color: var(--night-ink); font-weight: 600; display: inline-flex; align-items: center; min-height: 44px; padding: 0 .4rem; }
.band { height: 4px; background: linear-gradient(135deg, var(--brand) 0 72%, var(--brand-300) 72% 100%); }
.hero { max-width: 760px; margin: 0 auto; padding: 28px 16px 32px; }
.eyebrow { font: 800 .72rem/1 Inter, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-night); }
h1 { font: 600 clamp(2rem, 7vw, 2.8rem)/1.08 Fraunces, Georgia, serif; letter-spacing: -.02em; margin: 12px 0 8px; }
.updated { color: var(--night-muted); font-size: .95rem; margin: 0; }
main { max-width: 760px; margin: 0 auto; padding: 8px 16px 64px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 22px 18px; margin-top: 18px; }
.summary { border-left: 4px solid var(--brand); }
h2 { font: 700 1.2rem/1.3 Inter, sans-serif; margin: 28px 0 6px; }
.card > h2:first-child { margin-top: 0; }
p, li { color: var(--ink); }
ul { padding-left: 1.2rem; margin: .4rem 0; }
li { margin: .3rem 0; }
.muted { color: var(--muted); }
footer { max-width: 760px; margin: 0 auto; padding: 0 16px 48px; color: var(--muted); font-size: .92rem; }
footer a { display: inline-flex; align-items: center; min-height: 44px; margin-right: 16px; }
@media (min-width: 641px) {
  body { font-size: 1.0625rem; }
  .card { padding: 28px 30px; }
  .bar, .hero, main, footer { padding-left: 24px; padding-right: 24px; }
}
@media print {
  header, .band, footer nav, .skip { display: none; }
  body { background: #fff; }
  .card { border: 0; padding: 0; }
}
