/* Public, signed-out pages (about, pricing, terms, privacy, refunds). Kept
   separate from app.css and Bootstrap-free so these load fast for anyone,
   including payment-provider reviewers. Same accent as the app. */
:root {
  --accent: #2f6f5e;
  --accent-contrast: #ffffff;
  --accent-soft: #e4efec;
  --surface: #ffffff;
  --surface-muted: #f6f7f6;
  --text: #1b1f1e;
  --text-muted: #5a6361;
  --border: #dde2e0;
  --placeholder-bg: #fff4d6;
  --placeholder-text: #6b4e00;
}
@media (prefers-color-scheme: dark) {
  :root {
    --accent: #6fbfa8;
    --accent-contrast: #0f1413;
    --accent-soft: #1e2d29;
    --surface: #14181a;
    --surface-muted: #1c2225;
    --text: #e8ecea;
    --text-muted: #a3adaa;
    --border: #2c3538;
    --placeholder-bg: #3a2f10;
    --placeholder-text: #f3d98c;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--surface-muted);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--accent); }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.site-header .inner, .site-footer .inner, main {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 16px;
}
.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 60px;
  flex-wrap: wrap;
}
.brand { font-weight: 800; font-size: 1.25rem; color: var(--text); text-decoration: none; }
.site-nav { display: flex; gap: 4px; flex-wrap: wrap; }
.site-nav a {
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 600;
}
.site-nav a[aria-current="page"] { color: var(--accent); background: var(--accent-soft); }

main { padding-top: 32px; padding-bottom: 48px; }
h1 { font-size: 2rem; line-height: 1.2; margin: 0 0 8px; }
h2 { font-size: 1.3rem; margin: 36px 0 8px; }
h3 { font-size: 1.05rem; margin: 20px 0 4px; }
.lead { font-size: 1.15rem; color: var(--text-muted); margin-top: 0; }
.updated { color: var(--text-muted); font-size: 0.95rem; }
ul { padding-left: 1.2em; }
li { margin-bottom: 6px; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
}
.callout {
  border-left: 4px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 0 12px 12px 0;
  padding: 14px 16px;
  margin: 20px 0;
}
.placeholder {
  background: var(--placeholder-bg);
  color: var(--placeholder-text);
  border-radius: 4px;
  padding: 0 4px;
  font-weight: 600;
}

.plans { display: grid; gap: 16px; margin: 24px 0; }
@media (min-width: 640px) { .plans { grid-template-columns: 1fr 1fr; } }
.plan h2 { margin-top: 0; }
.plan .price { font-size: 2.2rem; font-weight: 800; line-height: 1.1; }
.plan .price small { font-size: 1rem; font-weight: 600; color: var(--text-muted); }
.plan.featured { border: 2px solid var(--accent); }

.btn {
  display: inline-block;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--accent-contrast);
  font-weight: 700;
  text-decoration: none;
}

.site-footer { border-top: 1px solid var(--border); background: var(--surface); }
.site-footer .inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding-top: 20px;
  padding-bottom: 28px;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.site-footer a { color: var(--text-muted); }
