/* Shared by privacy.html, support.html and index.html.
 *
 * Mirrors the tokens in app/lib/theme.dart. The pages used to carry their own
 * copy of a plum-and-gold palette, which survived the retheme and the rename
 * and would have shown a reviewer a site that looked nothing like the app. */

:root {
  --ink: #14312E;
  --ink-soft: #3F615C;
  --muted: #7E9C97;
  --accent: #D2694A;
  --accent-deep: #A54A31;
  --accent-soft: #F7DFD6;
  --paper: #FDFBF7;
  --card: #F3EFE8;
  --line: #E7E1D6;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #F2E8DA;
    --ink-soft: #A9C4BF;
    --muted: #7E9C97;
    --accent: #F0A98C;
    --accent-deep: #F0A98C;
    --accent-soft: #234944;
    --paper: #14312E;
    --card: #1C403C;
    --line: #2A4E49;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.wrap { max-width: 44rem; margin: 0 auto; padding: 3rem 1.5rem 5rem; }

.brand { display: flex; align-items: center; gap: .75rem; margin-bottom: 3rem; }
.brand a { display: flex; align-items: center; gap: .75rem; color: inherit; text-decoration: none; }
.mark {
  width: 46px; height: 46px; border-radius: 13px; flex: none;
  background: var(--ink); display: grid; place-items: center;
}
@media (prefers-color-scheme: dark) { .mark { background: #0D2422; } }
.brand span { font-family: Georgia, "Times New Roman", serif; font-size: 1.3rem; font-weight: 700; }

h1 { font-family: Georgia, "Times New Roman", serif; font-size: 2.3rem; line-height: 1.15; margin: 0 0 .5rem; }
h2 {
  font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-deep); margin: 2.4rem 0 .5rem;
}
h3 { font-family: Georgia, "Times New Roman", serif; font-size: 1.15rem; margin: 2rem 0 .4rem; }

p { margin: 0 0 1rem; }
a { color: var(--accent-deep); }
.effective, .lede-sub { color: var(--muted); font-size: .85rem; margin: 0 0 2.5rem; }
.lede { font-size: 1.2rem; color: var(--ink-soft); margin: 0 0 2rem; }

.note {
  background: var(--card); border-radius: 14px; padding: 1.1rem 1.25rem;
  margin: 2.5rem 0 0; color: var(--ink-soft); font-size: .92rem;
}
code { background: var(--card); padding: .1rem .35rem; border-radius: 5px; font-size: .88em; }

.cards { display: grid; gap: 1rem; margin: 2rem 0; }
@media (min-width: 40rem) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--card); border-radius: 14px; padding: 1.25rem; }
.card h3 { margin-top: 0; font-size: 1.05rem; }
.card p { margin: 0; font-size: .92rem; color: var(--ink-soft); }

.pill {
  display: inline-block; background: var(--accent-soft); color: var(--accent-deep);
  border-radius: 99px; padding: .3rem .8rem; font-size: .78rem; font-weight: 700;
  letter-spacing: .04em;
}

footer {
  margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line);
  color: var(--muted); font-size: .85rem;
}
footer a { color: var(--muted); }
