/* Shared styling for the policy pages (privacy, terms, deletion, support).
   Palette and type are lifted from index.html so the legal pages read as part
   of the same product rather than a bolted-on afterthought. */

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

:root {
  --bg:           #0B0A08;
  --surface:      #161310;
  --surface-alt:  #1D1915;
  --surface-high: #282218;
  --border:       #332C1F;
  --border-high:  #443A26;
  --text:         #F5F2E9;
  --text-muted:   #A69F8F;
  --text-faint:   #6E6858;
  --primary:      #F2C21B;
  --primary-dark: #C39B0E;
  --on-primary:   #0B0A07;
  --danger:       #E5484D;

  --font-display: 'Black Ops One', sans-serif;
  --font-body:    'Oswald', system-ui, sans-serif;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  font-size: 17px;
}

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

/* ── Header ─────────────────────────────────────────────────────── */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}

.brand img { width: 36px; height: 36px; border-radius: 8px; }

.brand span {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.top nav { display: flex; gap: 20px; flex-wrap: wrap; }

.top nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}

.top nav a:hover, .top nav a[aria-current='page'] {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* ── Type ───────────────────────────────────────────────────────── */
h1 {
  font-family: var(--font-display);
  font-size: clamp(30px, 6vw, 44px);
  line-height: 1.15;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.updated {
  color: var(--text-faint);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 40px;
}

h2 {
  font-family: var(--font-display);
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary);
  margin: 44px 0 14px;
  scroll-margin-top: 24px;
}

h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 26px 0 8px;
  color: var(--text);
}

p { margin-bottom: 16px; color: var(--text-muted); }
p strong, li strong { color: var(--text); font-weight: 600; }

ul, ol { margin: 0 0 16px 22px; color: var(--text-muted); }
li { margin-bottom: 8px; }

a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--primary-dark); }

/* ── Blocks ─────────────────────────────────────────────────────── */
.lede {
  font-size: 19px;
  color: var(--text);
  border-left: 3px solid var(--primary);
  padding-left: 20px;
  margin-bottom: 36px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  margin: 24px 0;
}

.card.warn { border-color: var(--border-high); background: var(--surface-alt); }
.card.danger { border-color: var(--danger); }
.card h3:first-child, .card h2:first-child { margin-top: 0; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }

table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 24px;
  font-size: 15px;
}

th, td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  color: var(--text-muted);
}

th {
  color: var(--text);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 13px;
  background: var(--surface);
}

.table-scroll { overflow-x: auto; }

.btn {
  display: inline-block;
  background: var(--primary);
  color: var(--on-primary);
  font-family: var(--font-display);
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 10px;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn:hover {
  color: var(--on-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(242, 194, 27, 0.25);
}

footer {
  margin-top: 72px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  color: var(--text-faint);
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

footer a { color: var(--text-muted); text-decoration: none; }
footer a:hover { color: var(--primary); }

@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 28px 18px 72px; }
  .top { justify-content: flex-start; }
}
