/* ==========================================================================
   Simple Net Worth Tracker: privacy & support page
   Matches the app: SF Rounded where available, ink-blue accent, native
   light and dark appearance. No external fonts or requests.
   ========================================================================== */

/* --- Tokens ------------------------------------------------------------- */
:root {
  --ink: #2F4A8A;          /* the app's accent */
  --text: #1c1c1e;
  --muted: #6e6e73;
  --page: #f2f2f7;         /* iOS grouped background */
  --card: #ffffff;
  --rule: #d8d8dd;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #8FA7E0;
    --text: #f2f2f7;
    --muted: #a1a1a6;
    --page: #000000;
    --card: #1c1c1e;
    --rule: #38383a;
  }
}

/* --- Base --------------------------------------------------------------- */
* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  /* SF Rounded on Apple devices, a sensible system face elsewhere. */
  font-family: ui-rounded, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}

a { color: var(--ink); }
a:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 2px; }

/* --- Layout ------------------------------------------------------------- */
main {
  max-width: 40rem;        /* comfortable line length */
  margin: 0 auto;
  padding: 3rem 1rem 4rem;
}

header { margin-bottom: 2rem; }

.mark {
  display: block;
  border-radius: 16px;     /* iOS icon rounding at this size */
  margin-bottom: 1rem;
}

h1 {
  font-size: 2rem;
  line-height: 1.15;
  font-weight: 700;
  margin: 0;
}

.lede {
  color: var(--muted);
  margin: 0.25rem 0 0;
}

section {
  background: var(--card);
  border-radius: 14px;
  padding: 1.25rem 1.25rem 0.25rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: 1.1rem;
  font-weight: 650;
  margin: 0 0 0.5rem;
}

p, ul { margin: 0 0 1rem; }
ul { padding-left: 1.25rem; }
li { margin-bottom: 0.4rem; }

footer {
  color: var(--muted);
  font-size: 0.9rem;
  padding: 0 0.25rem;
}
