/* Ease — shared styles for the support and privacy pages.
   Tokens follow the app: two grounds (#F2F2F7 / #0B0B0B), Forest Green accent. */

:root {
  --ground: #f2f2f7;
  --card: #ffffff;
  --hairline: #dcdce2;
  --text: #1a1a1c;
  --muted: #5b5b63;
  --accent: #19532b;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ground: #0b0b0b;
    --card: #171719;
    --hairline: #2c2c30;
    --text: #f0f0f2;
    --muted: #a0a0a8;
    --accent: #9abc04;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 0 1.25rem 5rem;
  background: var(--ground);
  color: var(--text);
  font: 400 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-text-size-adjust: 100%;
}

main { max-width: 40rem; margin: 0 auto; }

header {
  padding: 3.5rem 0 2rem;
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 2.5rem;
}

.wordmark {
  font: 600 1.05rem/1 -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: 0.02em;
  color: var(--accent);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 1.75rem;
}

h1 {
  font: 600 2.1rem/1.2 Georgia, "Times New Roman", serif;
  margin: 0 0 0.6rem;
  letter-spacing: -0.01em;
}

.sub { color: var(--muted); margin: 0; font-size: 0.95rem; }

/* Apple's badge: shown at its 40px minimum height, never recoloured. */
.badge { display: inline-block; margin-top: 1.5rem; }
.badge img { display: block; height: 40px; width: auto; }

h2 {
  font: 600 1.25rem/1.35 Georgia, "Times New Roman", serif;
  margin: 2.75rem 0 0.75rem;
}

h3 {
  font: 600 1rem/1.4 -apple-system, BlinkMacSystemFont, sans-serif;
  margin: 1.75rem 0 0.4rem;
}

p, li { color: var(--text); }
p { margin: 0 0 1rem; }
ul { padding-left: 1.25rem; margin: 0 0 1rem; }
li { margin-bottom: 0.5rem; }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 2px; }

strong { font-weight: 600; }

.card {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 22px;
  padding: 1.5rem 1.6rem 1.6rem;
  margin: 0 0 1.5rem;
}

.card h2:first-child, .card h3:first-child { margin-top: 0; }

.lede { font-size: 1.05rem; }

code {
  font: 0.88em/1.5 ui-monospace, SFMono-Regular, Menlo, monospace;
  background: var(--ground);
  border: 1px solid var(--hairline);
  border-radius: 5px;
  padding: 0.1em 0.35em;
}

footer {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--hairline);
  color: var(--muted);
  font-size: 0.9rem;
}

footer a { color: var(--muted); }
