/* Shared styling for the policy pages (/terms/, /privacy/, /community/).
   One file rather than three inline copies: these three get edited together, and drift between
   them is exactly the sort of thing nobody notices on a page people read once. */
:root {
  --bg: #06080f;
  --surface: #0c1120;
  --border: rgba(56, 189, 248, .14);
  --border-bright: rgba(56, 189, 248, .3);
  --text: #f0f6ff;
  --text-secondary: #b4bed0;
  --text-dim: #7c8699;
  --cyan: #22d3ee;
  --blue: #3b82f6;
  --gold: #fbbf24;
  --nav-h: 58px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg); color: var(--text); line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 12px 24px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(6, 8, 15, .85); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header-nav a {
  font-size: 13px; font-weight: 600; color: var(--text-secondary); text-decoration: none;
  transition: color .2s; display: inline-flex; align-items: center; gap: 4px;
}
.site-header-nav a:hover { color: var(--cyan); }

/* 68ch: long enough not to feel cramped, short enough that the eye finds the next line.
   Policy text is read reluctantly — the measure matters more here than on a marketing page. */
.legal { max-width: 68ch; margin: 0 auto; padding: calc(var(--nav-h) + 40px) 20px 72px; }
.legal .kicker {
  font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); margin-bottom: 12px;
}
.legal h1 { font-size: clamp(28px, 5vw, 40px); line-height: 1.15; letter-spacing: -.02em; margin-bottom: 12px; }
.legal .updated { font-family: 'JetBrains Mono', monospace; font-size: 12.5px; color: var(--text-dim); margin-bottom: 30px; }
.legal h2 {
  font-size: 20px; line-height: 1.3; margin: 38px 0 12px;
  padding-top: 22px; border-top: 1px solid var(--border);
}
.legal h3 { font-size: 16px; margin: 24px 0 8px; color: var(--text); }
.legal p, .legal li { color: var(--text-secondary); font-size: 16px; }
.legal p { margin-bottom: 14px; }
.legal ul, .legal ol { margin: 0 0 16px; padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--cyan); }
.legal strong { color: var(--text); }

/* The plain-language summary at the top. People read this and skip the rest, so it has to be
   true on its own rather than a teaser for the real terms below. */
.tldr {
  background: var(--surface); border: 1px solid var(--border-bright);
  border-radius: 14px; padding: 20px 22px; margin-bottom: 34px;
}
.tldr h2 {
  margin: 0 0 10px; padding: 0; border: 0; font-size: 14px;
  font-family: 'JetBrains Mono', monospace; letter-spacing: .1em; text-transform: uppercase; color: var(--gold);
}
.tldr p:last-child, .tldr ul:last-child { margin-bottom: 0; }

.note {
  background: rgba(251, 191, 36, .07); border: 1px solid rgba(251, 191, 36, .3);
  border-radius: 12px; padding: 14px 16px; margin: 22px 0; font-size: 14.5px;
}
.legal .contact { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--border); font-size: 15px; }
.legal .sibling { margin-top: 14px; font-size: 14.5px; color: var(--text-dim); }
