/*
  Shared by privacy.html and terms.html. Same no-build, no-framework approach as
  web/invite.html — a plain file that any static host can serve — and the
  same colour tokens, so the legal pages look like they belong to the app that
  links to them.

  One stylesheet rather than two copies of it: these two documents are siblings
  and should never drift apart visually.
*/
:root {
  --text: #24263A;
  --background: #FBF8F3;
  --background-element: #F3EEE6;
  --text-secondary: #7C8195;
  --primary: #FC7756;
  --card: #FFFFFF;
  --border: #E6DFD4;
  --todo-bg: #FFF3B0;
  --todo-text: #5A4A00;
}
@media (prefers-color-scheme: dark) {
  :root {
    --text: #F3EEE6;
    --background: #1A1B24;
    --background-element: #242530;
    --text-secondary: #9296A8;
    --primary: #FF8259;
    --card: #231C18;
    --border: #3A3B47;
    --todo-bg: #6B5A00;
    --todo-text: #FFF3B0;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0 auto;
  max-width: 720px;
  background: var(--background);
  color: var(--text);
  font-family: -apple-system, "SF Pro Text", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  padding: 32px 20px 72px;
}

header { margin-bottom: 32px; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 8px;
}

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

h2 {
  font-size: 20px;
  margin: 40px 0 8px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

h3 { font-size: 16px; margin: 24px 0 4px; }

.updated { color: var(--text-secondary); font-size: 14px; margin: 0; }

p, li { color: var(--text); }

.lead { font-size: 17px; }

ul, ol { padding-left: 22px; }
li { margin-bottom: 6px; }

a { color: var(--primary); }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 20px;
  margin: 20px 0;
}

.card > :first-child { margin-top: 0; }
.card > :last-child { margin-bottom: 0; }

/* Deliberately loud. A placeholder that ships to the App Store by accident is
   worse than an ugly page, so every unfilled blank is impossible to miss. */
.todo {
  background: var(--todo-bg);
  color: var(--todo-text);
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.92em;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 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-secondary); font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; }

footer {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 14px;
}
