/* Shared styling for the legal pages. Same tokens as style.css, trimmed. */
:root {
  --bg-page: #050506; --bg-card: #121216; --bg-alt: #0A0A0D;
  --text-hi: #FFFFFF; --text-mid: #C7C7CE; --text-lo: #9A9AA6;
  --accent: #E2B755; --brand: #FF5A4F;
  --line: rgba(255,255,255,.09); --line-strong: rgba(255,255,255,.16);
  --font-display: 'Anton', 'Arial Narrow', Impact, sans-serif;
  --font-body: 'Cabinet Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 2rem; }
body {
  background: var(--bg-page); color: var(--text-mid);
  font-family: var(--font-body); font-size: 1.03rem; line-height: 1.68;
  font-weight: 450; -webkit-font-smoothing: antialiased;
}
:focus { outline: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 74ch; margin-inline: auto; padding: 2.5rem 1.35rem 5rem; }

.topbar { border-bottom: 1px solid var(--line); background: var(--bg-alt); }
.topbar .inner {
  max-width: 74ch; margin-inline: auto; padding: 1rem 1.35rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.topbar img { height: 34px; width: auto; aspect-ratio: 620 / 151; display: block; }
.topbar a.back {
  font-size: .88rem; font-weight: 700; color: var(--text-lo);
  display: inline-flex; align-items: center; gap: .4rem; min-height: 44px;
}
.topbar a.back:hover { color: var(--text-hi); }

h1 {
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  color: var(--text-hi); line-height: 1; letter-spacing: -.005em;
  font-size: clamp(2.1rem, 1.4rem + 3vw, 3.2rem); margin-top: 2.5rem;
}
h2 {
  font-family: var(--font-body); font-weight: 800; color: var(--text-hi);
  font-size: 1.16rem; margin: 2.6rem 0 .7rem; scroll-margin-top: 2rem;
}
p, li { margin-bottom: .95rem; }
ul { padding-left: 1.35rem; margin-bottom: .95rem; }
li { list-style: disc; }
li::marker { color: var(--accent); }
strong { color: var(--text-hi); font-weight: 800; }

a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px;
    text-decoration-thickness: 1px; transition: color .2s ease; }
a:hover { color: #EBCB84; }

.updated { color: var(--text-lo); font-size: .9rem; margin: .85rem 0 2.5rem; }

.summary {
  background: var(--bg-card); border: 1px solid var(--line-strong);
  border-left: 3px solid var(--accent); border-radius: 12px;
  padding: 1.25rem 1.4rem; margin-bottom: 2.5rem; font-size: .97rem;
  color: var(--text-lo);
}
.summary strong { color: var(--text-mid); }

.toc { margin-bottom: 2.5rem; }
.toc h2 { margin-top: 0; font-size: .78rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent); }
.toc ol { padding-left: 1.35rem; columns: 2; column-gap: 2rem; }
.toc li { list-style: decimal; margin-bottom: .35rem; font-size: .92rem; }
.toc a { color: var(--text-mid); text-decoration: none; }
.toc a:hover { color: var(--text-hi); text-decoration: underline; }

footer {
  border-top: 1px solid var(--line); margin-top: 3.5rem; padding-top: 1.75rem;
  font-size: .84rem; color: var(--text-lo);
}
footer p { margin-bottom: .6rem; }

@media (max-width: 520px) { .toc ol { columns: 1; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: .001ms !important; }
}
