/* Shared styles for the static legal pages (/privacy, /terms, /accessibility).
   Served by the gateway as plain HTML so they read fully without JavaScript.
   Colors follow the site: indigo #020659 ground, #A8B4FF accent, #3049D9 action.
   Text contrast on #020659: body #E4E7F7 ≈ 14:1, muted #B9C0E8 ≈ 9:1, links #A8B4FF ≈ 8:1. */
:root { color-scheme: dark; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #020659;
  color: #E4E7F7;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
}
a { color: #A8B4FF; text-underline-offset: 3px; }
a:hover { color: #ffffff; }
:focus-visible { outline: 3px solid #A8B4FF; outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 10;
  background: #ffffff; color: #020659; padding: .6rem 1rem; border-radius: 8px;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.site-header {
  border-bottom: 1px solid rgba(255,255,255,.12);
  background: radial-gradient(circle at 70% 0%, rgba(48,73,217,.35), transparent 60%);
}
.site-header .bar {
  max-width: 64rem; margin: 0 auto; padding: 1.25rem 1.5rem;
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
}
.brand { color: #ffffff; text-decoration: none; font-weight: 600; letter-spacing: .02em; }
.legal-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.legal-nav a { color: #E4E7F7; text-decoration: none; font-size: .95rem; padding: .25rem 0; border-bottom: 2px solid transparent; }
.legal-nav a:hover { border-bottom-color: #A8B4FF; }
.legal-nav a[aria-current="page"] { color: #ffffff; border-bottom-color: #A8B4FF; }

main { max-width: 48rem; margin: 0 auto; padding: 3.5rem 1.5rem 5rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 1.25rem;
  padding: .35rem .8rem; border: 1px solid rgba(255,255,255,.2); border-radius: 999px;
  background: rgba(255,255,255,.05); font-size: .75rem; letter-spacing: .18em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #A8B4FF; }
h1 { font-size: clamp(2.2rem, 5vw, 3.25rem); font-weight: 300; letter-spacing: -.02em; line-height: 1.1; color: #ffffff; margin: 0 0 1rem; }
h2 { font-size: 1.45rem; font-weight: 400; color: #ffffff; margin: 3rem 0 .75rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12); }
h3 { font-size: 1.1rem; font-weight: 600; color: #ffffff; margin: 1.75rem 0 .5rem; }
.meta { color: #B9C0E8; font-size: .95rem; margin: 0 0 2rem; }
.summary {
  border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.04);
  border-radius: 16px; padding: 1.25rem 1.5rem; margin: 2rem 0;
}
.summary h2 { border: 0; padding: 0; margin: 0 0 .5rem; font-size: 1.1rem; }
.summary ul { margin: 0; }
.toc ol { padding-left: 1.25rem; columns: 2 16rem; }
ul, ol { padding-left: 1.4rem; }
li { margin: .3rem 0; }
.caps { text-transform: uppercase; font-size: .95rem; letter-spacing: .01em; }
code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .9em; background: rgba(255,255,255,.08); padding: .1em .35em; border-radius: 4px; }

.table-wrap { overflow-x: auto; margin: 1rem 0; }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
caption { text-align: left; color: #B9C0E8; padding-bottom: .5rem; }
th, td { text-align: left; vertical-align: top; padding: .65rem .75rem; border-bottom: 1px solid rgba(255,255,255,.12); }
th { color: #ffffff; font-weight: 600; }

.site-footer { border-top: 1px solid rgba(255,255,255,.12); }
.site-footer .bar {
  max-width: 64rem; margin: 0 auto; padding: 2rem 1.5rem; color: #B9C0E8; font-size: .9rem;
  display: flex; flex-wrap: wrap; gap: .75rem 2rem; justify-content: space-between;
}

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
@media print {
  body { background: #fff; color: #000; }
  a, h1, h2, h3, th { color: #000; }
  .site-header, .site-footer, .skip-link, .toc { display: none; }
}
main:focus { outline: none; }
