/* parenting-coordinator.com - the marketing page. Same colors and type as
 * the app (app/www/assets/app.css), but roomier: it is read, not worked in.
 * Headings use the system font here, so the page loads nothing extra.
 */

:root {
  --bg: #f7f6f2;
  --surface: #ffffff;
  --ink: #1f2a33;
  --muted: #5b6770;
  --accent: #2f6f6a;
  --accent-soft: #e4efed;
  --rule: #dcd9d0;
  --dark: #1f2a33;
  --on-dark: #e8e6e0;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #161b1f;
    --surface: #1d2328;
    --ink: #e8e6e0;
    --muted: #9aa5ad;
    --accent: #6fb5ae;
    --accent-soft: #1f3331;
    --rule: #2c343a;
    --dark: #0f1316;
    --on-dark: #c9ccc8;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

a { color: var(--accent); }

.wrap { max-width: 64rem; margin: 0 auto; padding: 0 16px; }
.wrap.narrow { max-width: 44rem; }
.center { text-align: center; }

h1, h2, h3 { line-height: 1.2; }
h2 { margin: 0 0 0.8rem; font-size: 1.5rem; }
h3 { margin: 0 0 0.4rem; font-size: 1.05rem; }

section { padding: 3rem 0; }
section.band { background: var(--accent-soft); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }

/* --- Top bar --- */
.top { background: var(--dark); color: var(--on-dark); }
.top .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 2.8rem; }
.brand { font-weight: 700; }
.brand .for { color: var(--muted); font-weight: 400; font-size: 0.85rem; }
.top .sign-in { color: var(--on-dark); font-weight: 600; text-decoration: none; }

/* --- Hero --- */
.hero { padding: 4rem 0 3rem; text-align: center; }
.eyebrow { margin: 0 0 0.6rem; color: var(--accent); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.hero h1 { margin: 0; font-size: clamp(2rem, 7vw, 3.2rem); letter-spacing: -0.01em; }
.lede { max-width: 34rem; margin: 1rem auto 0; color: var(--muted); font-size: 1.2rem; }
.lede strong { color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 0.7rem; justify-content: center; margin: 1.6rem 0 0.5rem; }
.fine { color: var(--muted); font-size: 0.85rem; }

.button {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: var(--accent);
  color: var(--surface);
  font-weight: 700;
  text-decoration: none;
}
.button.ghost { background: transparent; color: var(--accent); }

/* --- Cards --- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.card { padding: 1.2rem; border: 1px solid var(--rule); border-top: 3px solid var(--accent); border-radius: 10px; background: var(--surface); }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* --- Comparison --- */
.compare-scroll { overflow-x: auto; }
table.compare { width: 100%; border-collapse: collapse; background: var(--surface); font-size: 0.92rem; }
table.compare th, table.compare td { padding: 0.6rem 0.7rem; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
table.compare thead th { background: var(--accent-soft); }
table.compare thead th span { color: var(--muted); font-size: 0.8rem; font-weight: 400; }
table.compare tbody th { color: var(--muted); font-weight: 600; white-space: nowrap; }
table.compare td:last-child { font-weight: 600; }

/* --- Footer --- */
footer { padding: 1.2rem 0; background: var(--dark); color: var(--on-dark); font-size: 0.85rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: space-between; }
footer a { color: var(--on-dark); }
