/* Fourteen — public pages (privacy, terms, account deletion, support). Colours match the app. */
@font-face { font-family: Outfit; src: url(fonts/outfit.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #0D0A12;
  --surface: #16111E;
  --surface2: #201930;
  --border: #3A2F50;
  --text: #F7F2FA;
  --muted: #C3B8D3;
  --faint: #9286A6;
  --accent: #FF4D6D;
  --accent2: #FFB547;
  --gradient: linear-gradient(135deg, #FFB547, #FF6B5A 35%, #FF4D6D 65%, #C2368F);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.65 Outfit, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
}
a { color: var(--accent2); text-underline-offset: 3px; }
a:hover { color: #FFD08A; }

.top {
  background: radial-gradient(120% 140% at 50% -40%, #3A1230 0%, var(--bg) 70%);
  border-bottom: 1px solid var(--border);
}
.top-inner, footer .inner { padding: 0 clamp(20px, 4.5vw, 80px); }
main { max-width: 920px; margin: 0 auto; padding: 0 20px; }
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: -0.3px; }
.brand img { width: 36px; height: auto; }
nav { display: flex; gap: 6px; flex-wrap: wrap; }
nav a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 600; padding: 6px 12px; border-radius: 999px; }
nav a:hover { color: var(--text); background: var(--surface2); }
nav a[aria-current="page"] { color: var(--text); background: var(--surface2); }

main { padding-top: 36px; padding-bottom: 56px; }
h1 { font-size: 34px; line-height: 1.2; letter-spacing: -0.8px; margin: 0 0 6px; }
h2 { font-size: 21px; letter-spacing: -0.3px; margin: 36px 0 8px; }
h3 { font-size: 17px; margin: 22px 0 6px; }
p, li { color: var(--muted); }
strong { color: var(--text); }
ul, ol { padding-left: 22px; }
li { margin: 4px 0; }
.updated { color: var(--faint); font-size: 14px; margin: 0 0 24px; }
.lead { font-size: 18px; color: var(--text); }

.card { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 20px 22px; margin: 18px 0; }
.card p:last-child, .card ul:last-child, .card ol:last-child { margin-bottom: 0; }
.card h2:first-child, .card h3:first-child { margin-top: 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin: 24px 0; }
.grid a.card { display: block; margin: 0; text-decoration: none; color: inherit; transition: border-color .15s; }
.grid a.card:hover { border-color: var(--accent); }
.grid .card strong { display: block; font-size: 17px; margin-bottom: 4px; }
.grid .card span { color: var(--muted); font-size: 14px; }

.button { display: inline-block; background: var(--gradient); color: #fff; font-weight: 800; text-decoration: none; padding: 12px 22px; border-radius: 999px; }
.button:hover { color: #fff; filter: brightness(1.08); }

table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--border); }
th { color: var(--text); font-weight: 700; }
td { color: var(--muted); }
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 16px; }
.table-wrap table { margin: 0; }
.table-wrap tr:last-child td { border-bottom: 0; }

/* Text the owner must fill in before publishing. */
.fill { background: rgba(255, 181, 71, 0.16); color: var(--accent2); border-radius: 6px; padding: 0 5px; font-weight: 700; }

footer { border-top: 1px solid var(--border); color: var(--faint); font-size: 14px; }
footer .inner { padding-top: 22px; padding-bottom: 28px; display: flex; gap: 8px 18px; flex-wrap: wrap; justify-content: space-between; }
footer a { color: var(--muted); }

@media (max-width: 560px) {
  h1 { font-size: 28px; }
  main { padding-top: 26px; }
  .top-inner { padding-top: 14px; padding-bottom: 14px; }
}
