/* RANKT — shared styles for the LEGAL pages (/privacy/, /terms/, /data-deletion/).
   The landing at / is self-contained and does not link this file.
   Dark only. Zero dependencies: no webfonts, no JS, no images (the wordmark is text).
   Cyan (#22D3FF) is reserved for a SINGLE element per page: the wordmark dot.

   The .landing / .hero block that dressed the old placeholder index was pruned
   when the real landing replaced it; the three pages above use only .wordmark,
   .site-header, .doc-title, .doc-updated, .note, .sep and .site-footer. */

:root {
  --bg: #0a0a0b; /* bg.primary */
  --text: #f5f5f0; /* text.primary */
  --text-secondary: #a8a8a3; /* text.secondary */
  --text-tertiary: #6b6b66; /* text.tertiary */
  --accent: #22d3ff; /* accent.primary — dot only */
  --hairline: rgba(245, 245, 240, 0.08);
  --measure: 680px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Keyboard focus — light ring. Cyan stays exclusive to the wordmark dot. */
a:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ── Wordmark: RANKT· — bold, tight tracking, cyan dot ─────────────────────── */
.wordmark {
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}
.wordmark .dot {
  color: var(--accent);
}

/* ── Header ────────────────────────────────────────────────────────────────── */
.site-header {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 28px 24px;
}
.site-header .wordmark {
  font-size: 22px;
}

/* ── Main / prose (text pages) ───────────────────────────────────────────────── */
main {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 8px 24px 56px;
}
.doc-title {
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 24px 0 4px;
}
.doc-updated {
  color: var(--text-tertiary);
  font-size: 14px;
  margin: 0 0 40px;
}
main h2 {
  font-size: 19px;
  letter-spacing: -0.01em;
  margin: 40px 0 8px;
}
main p {
  color: var(--text-secondary);
  margin: 0 0 16px;
}
main strong {
  color: var(--text);
  font-weight: 600;
}
main .note {
  color: var(--text-tertiary);
  font-size: 15px;
}
/* Body links: underlined, never cyan. */
main a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── Footer ────────────────────────────────────────────────────────────────── */
.site-footer {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 32px 24px 48px;
  border-top: 1px solid var(--hairline);
  color: var(--text-tertiary);
  font-size: 13px;
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}
.site-footer a {
  color: var(--text-secondary);
  text-decoration: none;
}
.site-footer a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.site-footer .sep {
  color: var(--text-tertiary);
}
