/*
 * Shared styling for the Vivaera legal pages.
 *
 * NO WEB FONTS, DELIBERATELY. Loading Google Fonts would send every visitor's
 * IP address to Google before they had read a word of the privacy policy —
 * which a German court has already held to be a GDPR breach. A privacy policy
 * that leaks data to render itself is not a good look, so these use the
 * system stack. Georgia stands in for Playfair Display and is close enough in
 * feel; the app itself still uses the real thing.
 *
 * Base size is 18px rather than the usual 16px. Vivaera's members are over 40
 * and this is the text that matters most.
 */

:root {
  --bg: #230d2e;
  --card: #361a42;
  --border: #4a2d5e;
  --text: #ffffff;
  --muted: #b6a8bf;
  --accent: #ff00cc;
  --gold: #ffcc00;
  --danger: #ff6b6b;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  padding: 0 20px 80px;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.65;
}

.wrap { max-width: 720px; margin: 0 auto; }

header {
  padding: 48px 0 28px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 36px;
}

.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  letter-spacing: 0.5px;
  margin: 0 0 6px;
}
.brand a { color: var(--text); text-decoration: none; }

.tagline { color: var(--muted); font-size: 16px; margin: 0; }

h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  line-height: 1.25;
  margin: 0 0 8px;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  margin: 40px 0 12px;
  padding-top: 8px;
}

h3 { font-size: 18px; margin: 26px 0 8px; }

.updated { color: var(--muted); font-size: 16px; margin: 0 0 32px; }

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

ul { padding-left: 22px; }
li { margin-bottom: 10px; }

strong { color: #fff; }

/* Callout for the safety disclaimers — these must not be skimmed past. */
.notice {
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: 12px;
  padding: 18px 20px;
  margin: 28px 0;
}
.notice.urgent { border-left-color: var(--danger); }
.notice p:first-child { margin-top: 0; }
.notice p:last-child { margin-bottom: 0; }

/* Anything still needing a real value before this goes live. */
.todo {
  background: rgba(255, 107, 107, 0.15);
  border: 1px dashed var(--danger);
  border-radius: 4px;
  padding: 1px 7px;
  color: var(--danger);
  font-weight: 700;
  font-size: 0.9em;
  white-space: nowrap;
}

.steps { counter-reset: step; list-style: none; padding-left: 0; }
.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 46px;
  margin-bottom: 20px;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

table { width: 100%; border-collapse: collapse; margin: 20px 0; }
th, td {
  text-align: left;
  padding: 12px 10px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
th { color: var(--muted); font-size: 15px; text-transform: uppercase; letter-spacing: 0.6px; }

footer {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 15px;
}
footer a { margin-right: 18px; }

@media (max-width: 600px) {
  body { font-size: 17px; padding: 0 16px 60px; }
  .brand { font-size: 28px; }
  h1 { font-size: 25px; }
  h2 { font-size: 20px; }
}
