:root {
  color-scheme: dark;
  --background: #090b11;
  --surface: #11141d;
  --text: #d5d7e3;
  --heading: #f3f2f8;
  --muted: #a0a4b7;
  --accent: #b7a5f5;
  --line: #272b3a;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-size: 16px;
  line-height: 1.75;
}

a { color: var(--accent); text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { color: #d7ccff; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; border-radius: 3px; }
::selection { color: var(--heading); background: #54487e; }

.skip-link {
  position: absolute;
  z-index: 10;
  top: 12px;
  left: 16px;
  padding: 10px 16px;
  background: var(--accent);
  color: var(--background);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); color: var(--background); }

.legal-header {
  width: min(1120px, calc(100% - 64px));
  margin: auto;
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}
.legal-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--heading);
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -1px;
  text-decoration: none;
}
.legal-brand img { display: block; width: 31px; height: 31px; }
.back-link { font-size: 14px; text-decoration: none; }

.legal-main { width: min(800px, calc(100% - 48px)); margin: 0 auto; padding: 72px 0 88px; }
.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 2px;
  text-transform: uppercase;
}
h1 { margin: 0 0 16px; color: var(--heading); font-size: clamp(38px, 6vw, 58px); line-height: 1.12; font-weight: 550; letter-spacing: -2px; }
.policy-meta { margin: 0; color: var(--muted); font-size: 14px; }
.policy-lead { margin: 28px 0; font-size: 19px; line-height: 1.65; color: #e0dfeb; }
.launch-note {
  margin: 28px 0 42px;
  padding: 20px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 0 10px 10px 0;
  font-size: 15px;
}
.launch-note p { margin: 0; }
.launch-note strong { color: var(--heading); }
.policy-section { margin: 36px 0 0; }
h2 { margin: 0 0 12px; color: var(--heading); font-size: 22px; line-height: 1.35; font-weight: 550; letter-spacing: -.35px; }
p { margin: 0 0 16px; }
ul, ol { margin: 12px 0 18px; padding-left: 23px; }
li { padding-left: 5px; margin-bottom: 9px; }
li::marker { color: var(--accent); }
strong { color: #edecf4; font-weight: 600; }
.email-link { overflow-wrap: anywhere; }
.policy-contact { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }

.legal-footer {
  width: min(1120px, calc(100% - 64px));
  margin: auto;
  padding: 28px 0 36px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 13px;
}
.legal-footer p { margin: 0; }
.legal-footer nav { display: flex; flex-wrap: wrap; gap: 12px 22px; }
.legal-footer a { color: var(--muted); text-decoration: none; }
.legal-footer a:hover, .legal-footer a[aria-current="page"] { color: var(--accent); }

@media (max-width: 600px) {
  .legal-header, .legal-footer { width: calc(100% - 40px); }
  .legal-header { padding: 22px 0; }
  .legal-main { width: calc(100% - 40px); padding: 48px 0 64px; }
  .policy-lead { font-size: 18px; }
  .launch-note { padding: 17px 18px; }
  .legal-footer { flex-direction: column; gap: 20px; }
  .legal-footer nav { gap: 12px 20px; }
}

@media print {
  :root { color-scheme: light; --background: #fff; --text: #242424; --heading: #111; --muted: #444; --accent: #49357c; --surface: #fafafa; --line: #ccc; }
  .legal-header, .legal-footer { display: none; }
  .legal-main { width: 100%; padding: 0; }
  .policy-lead, strong, .launch-note strong { color: #222; }
  h1 { font-size: 32px; }
  h2 { break-after: avoid; }
  .launch-note { break-inside: avoid; }
}
