/* Public pages (pricing, terms, privacy, refunds, contact). Same tokens as the app. */
:root {
  --bg: #f3f2ec; --surface: #fbfaf6; --line: #d9d6c8; --fg: #23251e; --muted: #676a5c;
  --accent: #2f5d46; --accent-fg: #ffffff;
  --font-display: "Bricolage Grotesque", "Avenir Next", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg: #161813; --surface: #1f221b; --line: #343829; --fg: #e8e7dc; --muted: #a2a593; --accent: #7fbf97; --accent-fg: #10140f; color-scheme: dark; }
}
:root[data-theme="dark"] { --bg: #161813; --surface: #1f221b; --line: #343829; --fg: #e8e7dc; --muted: #a2a593; --accent: #7fbf97; --accent-fg: #10140f; color-scheme: dark; }
* { box-sizing: border-box; }
body { background: var(--bg); color: var(--fg); font-family: var(--font-body); font-size: 16px; line-height: 1.6; margin: 0; }
.wrap { max-width: 760px; margin: 0 auto; padding: 20px 16px 48px; }
a { color: var(--accent); }
header.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; color: var(--fg); text-decoration: none; }
.open { background: var(--accent); color: var(--accent-fg); text-decoration: none; font-weight: 600; padding: 8px 14px; border-radius: 6px; white-space: nowrap; }
nav.pages, footer p:last-child { display: flex; flex-wrap: wrap; gap: 4px 18px; }
nav.pages { margin: 12px 0 8px; font-size: .95rem; }
nav.pages a { color: var(--muted); text-decoration: none; padding: 4px 0; }
nav.pages a[aria-current] { color: var(--fg); font-weight: 600; border-bottom: 2px solid var(--accent); }
h1 { font-family: var(--font-display); font-size: 2rem; line-height: 1.15; margin: 24px 0 8px; text-wrap: balance; }
h2 { font-family: var(--font-display); font-size: 1.2rem; margin: 28px 0 6px; }
.lead { font-size: 1.1rem; }
.updated { color: var(--muted); font-size: .9rem; margin-top: 0; }
ul { padding-left: 1.2em; }
li { margin: 4px 0; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 20px 0; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 18px 20px; }
.plan.main { border: 2px solid var(--accent); }
.plan h2 { margin-top: 0; }
.price { font-family: var(--font-display); font-size: 2rem; font-weight: 700; margin: 4px 0 0; }
.price span { font-family: var(--font-body); font-size: 1rem; font-weight: 400; color: var(--muted); }
.alt { color: var(--muted); margin: 0; }
dl.contact { display: grid; grid-template-columns: max-content 1fr; gap: 10px 20px; margin: 20px 0; }
dl.contact dt { font-weight: 600; }
dl.contact dd { margin: 0; }
@media (max-width: 480px) { dl.contact { grid-template-columns: 1fr; gap: 2px; } dl.contact dd { margin-bottom: 10px; } }
footer { margin-top: 40px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
footer a { color: var(--muted); }
