/* Shared styles for legal pages (privacy, terms). Matches the main site palette. */
:root {
  --bg: #08080f;
  --bg-2: #101019;
  --ink: #ededf2;
  --ink-dim: #8a8aa0;
  --line: #23232f;
  --violet: #8b5cf6;
  --violet-bright: #a78bfa;
  --blue: #4f7bff;
  --cyan: #38d3ff;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { background: var(--bg); color: var(--ink); }
body {
  font-family: 'Geist', system-ui, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  /* subtle static brand gradient, no animation on legal pages */
  background:
    radial-gradient(120% 70% at 100% -10%, rgba(139,92,246,0.12), transparent 55%),
    radial-gradient(90% 60% at 0% 0%, rgba(79,123,255,0.10), transparent 50%),
    var(--bg);
  background-attachment: fixed;
  min-height: 100vh;
}
a { color: var(--violet-bright); text-decoration: none; }
a:hover { text-decoration: underline; }
.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 12px; letter-spacing: 0.02em; }

/* nav */
nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8,8,15,0.6);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
nav .row {
  max-width: 880px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; height: 64px;
}
.logo { display: flex; align-items: center; gap: 11px; font-weight: 700; font-size: 16px; letter-spacing: -0.02em; color: var(--ink); }
.logo:hover { text-decoration: none; }
.logo-mark {
  width: 20px; height: 20px;
  background: linear-gradient(135deg, var(--violet), var(--blue));
  border-radius: 5px; position: relative; transform: rotate(45deg);
  box-shadow: 0 0 16px rgba(139,92,246,0.6);
}
.logo-mark::after { content: ''; position: absolute; inset: 5px; background: var(--bg); border-radius: 2px; }
nav .back { color: var(--ink-dim); font-size: 14px; }
nav .back:hover { color: var(--ink); text-decoration: none; }

/* document */
.doc { max-width: 820px; margin: 0 auto; padding: 72px 24px 120px; }
.doc .kicker { color: var(--violet-bright); display: block; margin-bottom: 14px; }
.doc h1 {
  font-size: clamp(36px, 6vw, 60px); letter-spacing: -0.03em; line-height: 1.02;
  font-weight: 700; margin-bottom: 16px;
}
.doc .updated { color: var(--ink-dim); font-size: 14px; margin-bottom: 14px; }
.doc .lede { color: var(--ink-dim); font-size: 18px; max-width: 60ch; margin-bottom: 48px; }
.doc h2 {
  font-size: 24px; letter-spacing: -0.02em; font-weight: 600;
  margin: 48px 0 14px; padding-top: 24px; border-top: 1px solid var(--line);
}
.doc h3 { font-size: 17px; font-weight: 600; margin: 28px 0 8px; }
.doc p { color: #c9c9d6; margin-bottom: 16px; }
.doc ul { margin: 0 0 16px 22px; color: #c9c9d6; }
.doc li { margin-bottom: 8px; }
.doc strong { color: var(--ink); font-weight: 600; }
.doc .note {
  border: 1px solid var(--line); border-left: 3px solid var(--violet);
  border-radius: 10px; padding: 18px 20px; margin: 24px 0;
  background: rgba(16,16,25,0.6); color: var(--ink-dim); font-size: 14px;
}
.doc .toc {
  border: 1px solid var(--line); border-radius: 12px; padding: 22px 24px;
  background: rgba(16,16,25,0.55); margin-bottom: 48px;
}
.doc .toc h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-dim); margin-bottom: 14px; font-weight: 500; }
.doc .toc ol { margin-left: 18px; columns: 2; gap: 32px; }
.doc .toc li { margin-bottom: 6px; }
.doc table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: 14px; }
.doc th, .doc td { text-align: left; padding: 12px 14px; border: 1px solid var(--line); vertical-align: top; }
.doc th { background: rgba(16,16,25,0.7); color: var(--ink); font-weight: 600; }
.doc td { color: #c9c9d6; }

/* footer */
footer { border-top: 1px solid var(--line); }
footer .row {
  max-width: 820px; margin: 0 auto; padding: 32px 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  color: var(--ink-dim); font-size: 13px; flex-wrap: wrap;
}
footer .links { display: flex; gap: 20px; }
footer .links a { color: var(--ink-dim); }
footer .links a:hover { color: var(--ink); text-decoration: none; }

@media (max-width: 620px) {
  .doc .toc ol { columns: 1; }
}
