/* The privacy, support, and account-deletion pages the App Store and Google
   Play listings link to. Plain documents: no script, and a stylesheet of their
   own rather than inline styles, which the Content-Security-Policy forbids. */

:root {
  --ink: #1b1440;
  --muted: #5b5775;
  --line: #e4e1ef;
  --surface: #ffffff;
  --page: #f6f5fb;
  --accent: #7a1fa2;
  --todo: #fff1a8;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #ecebf5;
    --muted: #aaa7c0;
    --line: #2e2a45;
    --surface: #17142a;
    --page: #0e0c1c;
    --accent: #d59cf0;
    --todo: #5c4b00;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
}

header {
  background: linear-gradient(120deg, #f7b500, #f5316f 55%, #6a1fb0);
  color: #fff;
  /* The gradient runs edge to edge; the text lines up with the column below. */
  padding: 32px max(16px, calc((100% - 760px) / 2 + 16px)) 28px;
}

header .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}

header h1 { margin: 0; font-size: 30px; line-height: 1.2; }

nav, footer { max-width: 760px; margin: 0 auto; padding: 0 16px; }

nav { padding-top: 16px; font-size: 15px; }
nav a { margin-right: 16px; }

main {
  width: calc(100% - 32px);
  max-width: 728px;
  margin: 16px auto 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 8px 24px 24px;
}

h2 { margin: 28px 0 8px; font-size: 20px; }
h3 { margin: 20px 0 6px; font-size: 17px; }
p, li { color: var(--ink); }
.meta { color: var(--muted); font-size: 14px; }
a { color: var(--accent); }
ul, ol { padding-left: 22px; }
li { margin: 4px 0; }

table { border-collapse: collapse; width: 100%; margin: 8px 0; font-size: 15px; }
th, td { border-top: 1px solid var(--line); padding: 8px 8px 8px 0; text-align: left; vertical-align: top; }
th { font-weight: 600; }

/* A value still to be filled in before the page goes live. */
.todo { background: var(--todo); border-radius: 4px; padding: 0 4px; font-weight: 600; }

footer { color: var(--muted); font-size: 14px; padding-bottom: 32px; }

@media (max-width: 560px) {
  main { padding: 4px 16px 16px; border-radius: 12px; }
  table, thead, tbody, tr, th, td { display: block; }
  thead { display: none; }
  td { border-top: 0; padding: 0 0 6px; }
  tr { border-top: 1px solid var(--line); padding-top: 8px; }
  td:first-child { font-weight: 600; }
}

header .brand img {
  border-radius: 7px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
}
