/* The public website at bridgeway.family. Plain HTML and CSS, no scripts. Colors are the app's own (mobile/src/theme.ts):
   muted, low saturation, strong text contrast, so the site and the app feel like one thing. */
:root {
  --bg: #FBF8F3; --surface: #FFFFFF; --muted-surface: #F3EFE8; --border: #E8E2D8;
  --text: #22302E; --text-muted: #5B6B68; --primary: #2F7A6B; --primary-pressed: #256356; --primary-soft: #E0F0EC;
  --accent: #E08355; --parent-a: #3A7FB5; --parent-a-soft: #DDEBF6; --parent-b: #D9942B; --parent-b-soft: #FBECD0;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101817; --surface: #1A2523; --muted-surface: #22302D; --border: #2E3E3A;
    --text: #E6EEEC; --text-muted: #9DB0AC; --primary: #4DB39F; --primary-pressed: #3E9A88; --primary-soft: #1D3A34;
    --parent-a-soft: #1E3448; --parent-b-soft: #3F2F14;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--primary); }
.wrap { max-width: 980px; margin: 0 auto; padding: 0 20px; }
header.top { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; gap: 16px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 700; font-size: 20px; letter-spacing: -0.01em; }
.brand svg { width: 34px; height: 34px; }
nav.main a { margin-left: 18px; text-decoration: none; color: var(--text-muted); font-size: 15px; }
nav.main a:hover { color: var(--text); }
.hero { padding: 36px 0 28px; }
.hero h1 { font-size: clamp(30px, 5vw, 46px); line-height: 1.12; margin: 0 0 14px; letter-spacing: -0.02em; }
.hero p.lead { font-size: 20px; color: var(--text-muted); max-width: 640px; margin: 0 0 22px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.button { display: inline-block; padding: 12px 20px; border-radius: 12px; font-weight: 600; text-decoration: none; border: 1px solid transparent; }
.button.primary { background: var(--primary); color: #fff; }
.button.primary:hover { background: var(--primary-pressed); }
.button.quiet { background: var(--surface); color: var(--text); border-color: var(--border); }
.note { color: var(--text-muted); font-size: 15px; margin-top: 10px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin: 8px 0 0; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 20px; }
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--text-muted); font-size: 16px; }
section { padding: 30px 0; }
section h2 { font-size: 26px; margin: 0 0 6px; letter-spacing: -0.015em; }
section p.sub { color: var(--text-muted); margin: 0 0 18px; max-width: 640px; }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.steps li { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 16px 18px 16px 58px; position: relative; }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 16px; top: 14px; width: 30px; height: 30px; border-radius: 50%;
  background: var(--primary-soft); color: var(--primary); font-weight: 700; display: grid; place-items: center; }
.steps b { display: block; margin-bottom: 2px; }
.calendar { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; max-width: 420px; margin: 16px 0 0; }
.calendar span { aspect-ratio: 1; border-radius: 8px; display: grid; place-items: center; font-size: 13px; font-weight: 600; }
.calendar .a { background: var(--parent-a-soft); color: var(--parent-a); }
.calendar .b { background: var(--parent-b-soft); color: var(--parent-b); }
.calendar .split { background: linear-gradient(135deg, var(--parent-a-soft) 50%, var(--parent-b-soft) 50%); color: var(--text); }
.legend { display: flex; gap: 18px; font-size: 14px; color: var(--text-muted); margin-top: 10px; }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: -1px; margin-right: 6px; }
.quote { background: var(--muted-surface); border-radius: 16px; padding: 18px 20px; font-size: 16px; }
.quote .me { color: var(--text-muted); }
.quote .draft { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; margin-top: 10px; }
.pricing { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 24px; max-width: 560px; }
.pricing ul { margin: 10px 0 0; padding-left: 20px; color: var(--text-muted); }
footer { border-top: 1px solid var(--border); margin-top: 30px; padding: 24px 0 40px; color: var(--text-muted); font-size: 14px; }
footer .links a { margin-right: 16px; }
footer p { margin: 8px 0 0; }
.prose { max-width: 720px; }
.prose h1 { font-size: 32px; margin: 30px 0 8px; letter-spacing: -0.02em; }
.prose h2 { font-size: 20px; margin: 26px 0 6px; }
.prose p, .prose li { color: var(--text); }
