/* Same calm palette as the app (mobile/src/theme.ts). */
:root {
  --background: #F5F7FA;
  --surface: #FFFFFF;
  --ink: #1F2733;
  --ink-muted: #5B6573;
  --ink-subtle: #98A1AE;
  --border: #E2E7EE;
  --accent: #3A72C4;
  --accent-pressed: #2E5FA3;
  --accent-soft: #DBE9FB;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #11161D;
    --surface: #1A212B;
    --ink: #E8ECF1;
    --ink-muted: #A7B0BC;
    --ink-subtle: #707A87;
    --border: #2A3340;
    --accent: #7FA8E6;
    --accent-pressed: #A3C1EE;
    --accent-soft: #1F3150;
  }
}

* { box-sizing: border-box; }

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

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

a { color: var(--accent); text-underline-offset: 2px; }
a:hover { color: var(--accent-pressed); }

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

header.site {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 60px; flex-wrap: wrap;
}
.brand { font-weight: 600; font-size: 18px; color: var(--ink); text-decoration: none; }
nav.site { display: flex; gap: 18px; font-size: 15px; }
nav.site a { color: var(--ink-muted); text-decoration: none; }
nav.site a:hover, nav.site a[aria-current="page"] { color: var(--accent); }

main { padding: 40px 0 56px; }

h1 { font-size: 30px; line-height: 1.25; font-weight: 600; margin: 0 0 8px; }
h2 { font-size: 20px; line-height: 1.35; font-weight: 600; margin: 36px 0 8px; }
h3 { font-size: 16px; font-weight: 600; margin: 20px 0 4px; }
p, ul, ol { margin: 0 0 14px; }
li { margin-bottom: 6px; }
.muted { color: var(--ink-muted); }
.small { font-size: 14px; }

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

/* Required state-law notice (TX, NJ, IL): bold capitals, at least 12pt (16px). */
.disclosure {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.5;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 12px;
  padding: 14px 16px;
  margin: 16px 0;
}

/* Landing page */
.hero { text-align: center; padding: 48px 0 24px; }
.hero h1 { font-size: 36px; }
.hero p { font-size: 18px; color: var(--ink-muted); max-width: 520px; margin: 12px auto 0; }
.points { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin-top: 32px; }
.points .card { margin: 0; }
.points h3 { margin-top: 0; }
.points p { margin: 0; color: var(--ink-muted); font-size: 15px; }

footer.site { border-top: 1px solid var(--border); padding: 24px 0 40px; font-size: 14px; color: var(--ink-muted); }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between; }
footer.site nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer.site a { color: var(--ink-muted); }
