/* Shared styling for the legal pages. Same identity as index.html, set for
   long-form reading: narrower measure, larger leading, quieter accents. */

:root {
  --void:      #080a1e;
  --ground:    #0d1030;
  --surface:   #131740;
  --ink:       #f7f9ff;
  --muted:     #c6ccea;
  --faint:     #949cc9;
  --line:      rgba(255,255,255,.13);
  --line-2:    rgba(255,255,255,.24);
  --design:    #ffb44d;
  --schema:    #9aabff;
  --umb:       #5a6ff0;

  --mono: ui-monospace, "SF Mono", SFMono-Regular, "Cascadia Mono", Consolas, "Liberation Mono", monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --shell: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--void);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(56ch 34ch at 8% 0%,  rgba(255,180,77,.07), transparent 70%),
    radial-gradient(56ch 34ch at 92% 8%, rgba(90,111,240,.07), transparent 70%);
}
header.site, main, footer.site { position: relative; z-index: 1; }

a { color: var(--schema); text-underline-offset: 3px; }
a:focus-visible { outline: 2px solid var(--schema); outline-offset: 3px; border-radius: 3px; }

.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: 24px; }

/* header, matching the main page */
header.site {
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--void) 82%, transparent);
  backdrop-filter: blur(14px);
  position: sticky; top: 0; z-index: 40;
}
.bar { display: flex; align-items: center; gap: 18px; height: 64px; }
.wordmark { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
.glyph {
  width: 26px; height: 26px; border-radius: 7px; flex: none; position: relative;
  background: linear-gradient(140deg, var(--design), var(--schema));
  box-shadow: 0 0 18px rgba(90,111,240,.28);
}
.glyph::after { content: ""; position: absolute; inset: 6px; border-radius: 2px; background: var(--void); }
.wm-text { display: flex; flex-direction: column; line-height: 1.15; }
.wm-text b { font-size: .93rem; font-weight: 700; letter-spacing: -.012em; }
.wm-text span { font-family: var(--mono); font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }
.bar nav { margin-left: auto; }
.bar nav a { color: var(--muted); text-decoration: none; font-size: .88rem; }
.bar nav a:hover { color: var(--ink); }

/* document body */
.doc { max-width: 74ch; padding-block: clamp(48px, 7vw, 88px); }
.eyebrow {
  font-family: var(--mono); font-size: .68rem; text-transform: uppercase;
  letter-spacing: .22em; color: var(--faint); margin: 0 0 14px;
  display: flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--schema); }

.doc h1 {
  margin: 0; font-size: clamp(2rem, 5vw, 3rem); font-weight: 800;
  letter-spacing: -.03em; line-height: 1.1; text-wrap: balance;
}
.updated { font-family: var(--mono); font-size: .74rem; color: var(--faint); margin: 12px 0 0; letter-spacing: .04em; }
.lede {
  color: var(--muted); font-size: 1.06rem; margin: 28px 0 0;
  padding: 20px 22px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--line);
  border-left: 2px solid var(--schema);
}
.doc h2 {
  margin: 44px 0 12px; font-size: 1.16rem; font-weight: 700;
  letter-spacing: -.012em; line-height: 1.3;
}
.doc p { margin: 0 0 16px; color: var(--muted); }
.doc strong { color: var(--ink); font-weight: 650; }
.doc ul { margin: 0 0 18px; padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.doc li { color: var(--muted); display: flex; gap: 12px; }
.doc li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--schema); flex: none; margin-top: 12px; }

footer.site { border-top: 1px solid var(--line); padding-block: 36px; color: var(--faint); font-size: .87rem; }
.foot { display: flex; flex-wrap: wrap; gap: 16px 36px; justify-content: space-between; align-items: center; }
.foot p { margin: 0; }
.foot-links { display: flex; flex-wrap: wrap; gap: 20px; }
.foot a { color: var(--faint); text-decoration: none; }
.foot a:hover { color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
