/* Oath — shared styling for the legal pages (privacy, terms, delete-account).
   Tokens mirror landing/index.html exactly. Gold ramp only: Gold #C9A24A = the metal,
   Candle #E2BE6C = the light. No fourth gold, no pure #000. See docs/design/OATH_BRAND.md. */

:root {
  --bg: #0a0a0c;
  --bg-1: #101014;
  --surface: #16161b;
  --elevated: #1c1c22;
  --border: #2a2a33;
  --text: #f3f3f6;
  --muted: #9a9aa8;
  --faint: #6a6a78;
  --accent: #C9A24A;
  --accent-soft: #E2BE6C;
  --radius-card: 14px;
  --radius-pill: 999px;
  --maxw: 760px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 {
  font-family: "Bricolage Grotesque", "Inter", sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.15;
  font-weight: 700;
}

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

/* ---------- nav ---------- */
nav {
  position: sticky; top: 0; z-index: 100;
  height: 64px; display: flex; align-items: center;
  background: rgba(10,10,12,0.72);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
nav .wrap { display: flex; align-items: center; justify-content: space-between; max-width: 1120px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { height: 30px; width: auto; display: block; }
.nav-cta {
  font-family: "Inter", sans-serif; font-weight: 600; font-size: 14px;
  text-decoration: none; color: var(--text);
  border: 1px solid var(--border); padding: 9px 18px; border-radius: var(--radius-pill);
  transition: border-color .2s ease, background .2s ease;
}
.nav-cta:hover { border-color: var(--accent); background: rgba(201,162,74,0.10); color: var(--text); }

/* ---------- document ---------- */
main { padding: 56px 0 40px; }

h1 { font-size: 40px; margin-bottom: 10px; }
.updated {
  color: var(--faint); font-size: 13px; font-weight: 600;
  letter-spacing: 0.09em; text-transform: uppercase; margin-bottom: 34px;
}

h2 {
  font-size: 22px; margin: 40px 0 12px;
  padding-top: 26px; border-top: 1px solid var(--border);
}
h2:first-of-type { border-top: none; padding-top: 0; }
h3 { font-size: 17px; margin: 26px 0 8px; color: var(--accent-soft); font-weight: 600; }

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

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

/* the plain-English summary box at the top */
.summary {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-card);
  padding: 22px 24px;
  margin-bottom: 38px;
}
.summary h2 {
  font-size: 15px; margin: 0 0 12px; padding: 0; border: none;
  color: var(--accent-soft);
  letter-spacing: 0.09em; text-transform: uppercase; font-weight: 700;
}
.summary p:last-child, .summary ul:last-child { margin-bottom: 0; }

/* a callout for the safety notice */
.notice {
  background: var(--elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 20px 22px;
  margin: 22px 0;
}
.notice p:last-child { margin-bottom: 0; }

/* data table */
.tablewrap { overflow-x: auto; margin: 0 0 20px; }
table { border-collapse: collapse; width: 100%; font-size: 14.5px; min-width: 460px; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
th {
  color: var(--faint); font-weight: 600; font-size: 12px;
  letter-spacing: 0.07em; text-transform: uppercase;
}
td { color: var(--muted); }
td:first-child { color: var(--text); font-weight: 500; white-space: nowrap; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--border); padding: 32px 0 56px; margin-top: 48px; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; max-width: 1120px; }
footer p { color: var(--faint); font-size: 13px; margin: 0; }
footer a { color: var(--faint); }
footer a:hover { color: var(--accent); }
.foot-links { display: flex; gap: 18px; flex-wrap: wrap; }

@media (max-width: 520px) {
  h1 { font-size: 30px; }
  h2 { font-size: 19px; }
  main { padding: 36px 0 28px; }
}
