:root {
  --space: #07090d;
  --space-soft: #0d1117;
  --lunar: #f2efe7;
  --lunar-soft: #c9c4ba;
  --signal: #ef6d5c;
  --line: rgba(242, 239, 231, .14);
  --card: rgba(242, 239, 231, .055);
  color-scheme: dark;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { background: var(--space); scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 78% -10%, rgba(239, 109, 92, .12), transparent 31rem),
    linear-gradient(180deg, #080b10 0%, var(--space) 55%);
  color: var(--lunar-soft);
  font-size: 16px;
  line-height: 1.72;
}

a { color: var(--lunar); text-underline-offset: .2em; }
a:hover { color: #fff; }
a:focus-visible { outline: 2px solid var(--signal); outline-offset: 4px; border-radius: 3px; }

.legal-shell { width: min(100% - 40px, 780px); margin: 0 auto; padding: 28px 0 80px; }
.legal-nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 8px 0 56px; }
.legal-brand { display: inline-flex; align-items: center; gap: 11px; color: var(--lunar); text-decoration: none; font-weight: 670; letter-spacing: -.025em; }
.legal-mark { width: 23px; aspect-ratio: 1; border: 1px solid rgba(242,239,231,.55); border-radius: 50%; position: relative; overflow: hidden; }
.legal-mark::before { content: ""; position: absolute; width: 27px; height: 13px; border: 1.5px solid var(--lunar); border-color: var(--lunar) transparent transparent; border-radius: 50%; left: -3px; top: 10px; transform: rotate(-12deg); }
.legal-mark::after { content: ""; position: absolute; width: 4px; height: 4px; border-radius: 50%; background: var(--signal); right: 3px; top: 3px; }
.legal-nav-links { display: flex; gap: 18px; font-size: .82rem; }
.legal-nav-links a { color: var(--lunar-soft); text-decoration: none; }

.legal-kicker { color: var(--signal); text-transform: uppercase; letter-spacing: .19em; font-size: .72rem; font-weight: 760; margin: 0 0 12px; }
h1, h2 { color: var(--lunar); text-wrap: balance; }
h1 { font-size: clamp(2.55rem, 7vw, 4.9rem); line-height: .98; letter-spacing: -.065em; font-weight: 610; margin: 0 0 20px; }
.legal-intro { font-size: clamp(1.05rem, 2.2vw, 1.25rem); max-width: 650px; color: var(--lunar-soft); margin: 0 0 22px; }
.legal-date { display: inline-flex; padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; color: #9f9a91; font: 650 .7rem/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .07em; text-transform: uppercase; }
.legal-rule { border: 0; border-top: 1px solid var(--line); margin: 38px 0 18px; }
.legal-section { padding: 27px 0 2px; border-top: 1px solid var(--line); }
.legal-section h2 { font-size: clamp(1.35rem, 3.5vw, 1.8rem); line-height: 1.15; letter-spacing: -.035em; font-weight: 620; margin: 0 0 14px; }
.legal-section p { margin: 0 0 14px; }
.legal-section ul { margin: 12px 0 18px; padding: 0; list-style: none; }
.legal-section li { position: relative; padding: 0 0 10px 22px; }
.legal-section li::before { content: ""; position: absolute; width: 6px; height: 6px; border: 1px solid var(--signal); border-radius: 50%; left: 1px; top: .67em; }
.legal-section strong { color: var(--lunar); font-weight: 650; }
.legal-callout { margin: 24px 0 8px; padding: 22px 24px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; }
.legal-callout p:last-child { margin-bottom: 0; }
.legal-footer { border-top: 1px solid var(--line); margin-top: 42px; padding-top: 26px; display: flex; justify-content: space-between; gap: 24px; color: #8e8a83; font-size: .83rem; }
.legal-footer p { margin: 0; }
.legal-footer-links { display: flex; flex-wrap: wrap; gap: 14px; }
.legal-footer a { color: var(--lunar-soft); text-decoration: none; }

@media (max-width: 620px) {
  .legal-shell { width: min(100% - 30px, 780px); padding-top: 18px; }
  .legal-nav { align-items: flex-start; padding-bottom: 42px; }
  .legal-nav-links { flex-direction: column; align-items: flex-end; gap: 5px; }
  .legal-footer { flex-direction: column; }
  .legal-callout { padding: 19px; border-radius: 15px; }
}
