/* Shared frame for the legal pages (terms.html, privacy.html).
   Same tokens as index.html — if the brand moves, move both. */
:root {
  --green: #16786a;
  --green-contrast: #ffffff;
  --yellow: #f5d43c;
  --ink: #17242e;
  --ink-soft: #55656f;
  --line: #dce3e8;
  --surface: #ffffff;
  --bg: #f3f6f8;
  --band: #17242e;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --green: #4cc2a8;
    --green-contrast: #0f161c;
    --ink: #e8edf1;
    --ink-soft: #97a6b2;
    --line: #2c3a46;
    --surface: #1a2530;
    --bg: #0f161c;
    color-scheme: dark;
  }
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Barlow', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
}
header {
  background: var(--band);
  color: #fff;
  padding: 1.4rem 1.5rem;
}
header .inner, main, footer .inner {
  max-width: 760px;
  margin-inline: auto;
}
header a { color: var(--yellow); text-decoration: none; font-weight: 600; }
header .brand {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
header .lane { border-top: 3px dashed var(--green); margin-top: 0.9rem; }

main { padding: 2.25rem 1.5rem 3rem; }
h1 { font-size: 1.7rem; line-height: 1.25; margin-bottom: 0.35rem; }
.updated { color: var(--ink-soft); margin-bottom: 2rem; }
h2 { font-size: 1.15rem; margin: 2rem 0 0.6rem; }
p, li { color: var(--ink); margin-bottom: 0.7rem; }
ul { padding-left: 1.3rem; margin-bottom: 0.7rem; }
a { color: var(--green); }
strong { font-weight: 600; }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1rem 1.2rem;
  margin: 1rem 0;
}

footer {
  background: var(--band);
  color: rgb(255 255 255 / 0.75);
  text-align: center;
  padding: 1.75rem 1.5rem;
  font-size: 0.85rem;
}
footer a { color: var(--yellow); }
