/* Shared styling for the legal pages (privacy.html, terms.html).
   Mirrors the palette and type of index.html. */
:root {
  --bg: #0a0a14;
  --bg-elevated: #13131f;
  --bg-card: #1a1a2a;
  --border: #2a2a3e;
  --text: #f5f5f7;
  --text-muted: #9a9aaf;
  --text-dim: #6a6a85;
  --accent: #d4af37;
  --accent-dim: #8a7228;
  --warn: #ffb4a2;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: radial-gradient(1200px 600px at 50% -10%, #161628 0%, var(--bg) 55%)
    no-repeat;
  background-color: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Header ─────────────────────────────────────────────────── */
header {
  padding: 64px 0 8px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
}

.back {
  display: inline-block;
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 24px;
}

.back:hover {
  color: var(--accent);
}

h1 {
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: clamp(28px, 5vw, 38px);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.dates {
  color: var(--text-dim);
  font-size: 13px;
  margin: 10px 0 28px;
}

/* ── Body copy ──────────────────────────────────────────────── */
.lede {
  color: var(--text-muted);
  font-size: 17px;
}

h2 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  font-weight: 700;
  margin: 40px 0 14px;
}

h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 24px 0 8px;
}

p {
  margin-bottom: 14px;
  color: var(--text);
}

p.muted,
li.muted {
  color: var(--text-muted);
}

ul,
ol {
  margin: 0 0 14px 22px;
  color: var(--text);
}

li {
  margin-bottom: 8px;
}

a {
  color: var(--accent);
}

strong {
  color: #fff;
}

/* ── Callouts ───────────────────────────────────────────────── */
.callout {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 12px;
  padding: 20px 22px;
  margin: 24px 0;
}

.callout.alert {
  border-left-color: var(--warn);
}

.callout p:last-child {
  margin-bottom: 0;
}

.callout h3 {
  margin-top: 0;
}

/* Summary table for the privacy page. */
.table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 20px;
  font-size: 14px;
  display: block;
  overflow-x: auto;
}

.table th,
.table td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.table th {
  color: var(--accent);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
}

.table td {
  color: var(--text-muted);
}

/* ── Footer ─────────────────────────────────────────────────── */
footer {
  text-align: center;
  padding: 56px 0 64px;
  margin-top: 48px;
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 13px;
}

footer a {
  color: var(--text-muted);
}
