/* Shared style for the simple content pages (/about, /privacy). Matches the waitlist pages. */
:root {
  --bg: #0a0a0a;
  --text: #f5f5f5;
  --muted: #9a9a9a;
  --line: rgba(255, 255, 255, 0.1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(40% 30% at 20% 0%, rgba(120, 140, 255, 0.07), transparent 70%),
    radial-gradient(35% 25% at 85% 5%, rgba(255, 200, 160, 0.05), transparent 70%);
}

.brand { position: absolute; top: 22px; left: 24px; z-index: 2; display: block; line-height: 0; border-radius: 6px; }
.brand svg { height: 26px; width: auto; display: block; }
.brand:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

.lang {
  position: absolute; top: 20px; right: 20px; z-index: 2;
  display: flex; gap: 2px; padding: 3px;
  border-radius: 10px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line);
}
.lang button {
  border: 0; cursor: pointer; font: inherit;
  padding: 6px 10px; border-radius: 7px;
  background: transparent; color: var(--muted);
  font-size: 12px; font-weight: 600; letter-spacing: .04em;
}
.lang button:hover { background: rgba(255, 255, 255, 0.06); color: var(--text); }
.lang button[aria-pressed="true"] { background: #f2f2f2; color: #0a0a0a; }
.lang button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.doc { flex: 1; width: 100%; max-width: 680px; margin: 0 auto; padding: 128px 20px 56px; }
.doc .back { display: inline-block; font-size: 14px; color: var(--muted); text-decoration: none; margin-bottom: 28px; }
.doc .back:hover { color: var(--text); }
.doc h1 { font-size: 40px; line-height: 1.1; font-weight: 500; letter-spacing: -0.035em; margin-bottom: 12px; text-wrap: balance; }
.doc .updated { font-size: 13px; color: #6f6f6f; margin-bottom: 28px; }
.doc .lead { font-size: 19px; line-height: 1.55; color: #d6d6d6; margin: 20px 0 8px; text-wrap: pretty; }
.doc h2 { font-size: 20px; font-weight: 500; letter-spacing: -0.02em; margin: 40px 0 12px; }
.doc p, .doc li { font-size: 16px; line-height: 1.7; color: var(--muted); text-wrap: pretty; }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 20px; display: grid; gap: 8px; margin-top: 4px; }
.doc strong { color: #d6d6d6; font-weight: 500; }
.doc a, .doc a:visited { color: var(--text); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.3); text-underline-offset: 3px; }
.doc a:hover { text-decoration-color: var(--text); }
.doc .sign { margin-top: 36px; color: #d6d6d6; }

footer { text-align: center; font-size: 13px; color: #6a6a6a; padding: 8px 16px 40px; }
.social { display: flex; justify-content: center; gap: 8px; margin-bottom: 16px; }
.social a {
  width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px; border: 1px solid var(--line); color: #9a9a9a;
  transition: color .15s, border-color .15s, background .15s;
}
.social a:hover { color: var(--text); border-color: rgba(255, 255, 255, 0.25); background: rgba(255, 255, 255, 0.04); }
.social a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.social svg { width: 18px; height: 18px; }
.foot-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 12px; }
.foot-links a { color: #8a8a8a; text-decoration: none; }
.foot-links a:hover { color: var(--text); }

@media (max-width: 480px) {
  .brand { top: 17px; left: 18px; }
  .brand svg { height: 21px; }
  .lang { top: 14px; right: 14px; padding: 2px; border-radius: 9px; }
  .lang button { padding: 4px 8px; font-size: 11px; }
  .doc { padding: 96px 20px 40px; }
  .doc h1 { font-size: 30px; }
  .doc .lead { font-size: 17px; }
  .doc h2 { font-size: 18px; margin-top: 32px; }
  .doc p, .doc li { font-size: 15px; }
  footer { font-size: 11px; padding-bottom: 28px; }
}
