/* Shared by the marketing, privacy and terms pages. Same calm palette as the app. */
:root {
  color-scheme: light;
  --bg: #faf6f0; --card: #ffffff; --text: #3b322f; --muted: #726863; --line: #ece4da;
  --brand: #9a4a52; --brand-ink: #fff; --brand-soft: #f6e9e7;
  --gold: #c9a35a; --gold-text: #7e6638; --gold-soft: #f5eddd; --sage: #7f9c88; --sage-soft: #e9f0ea; --plus: #4e7359;
  --shadow: 0 2px 14px rgba(80, 60, 40, .07);
}
/* Dark colors: used when the device is in dark mode, unless someone picked light with the toggle,
   or whenever someone picked dark. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #1f1b19; --card: #2a2421; --text: #f1e9e2; --muted: #b0a59d; --line: #3a322e;
    --brand: #d4868c; --brand-ink: #24191a; --brand-soft: #3a2a2a;
    --gold: #d8b878; --gold-text: #d8b878; --gold-soft: #3a3226; --sage: #9cbaa5; --sage-soft: #2a352e; --plus: #93c1a0;
    --shadow: none;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #1f1b19; --card: #2a2421; --text: #f1e9e2; --muted: #b0a59d; --line: #3a322e;
  --brand: #d4868c; --brand-ink: #24191a; --brand-soft: #3a2a2a;
  --gold: #d8b878; --gold-text: #d8b878; --gold-soft: #3a3226; --sage: #9cbaa5; --sage-soft: #2a352e; --plus: #93c1a0;
  --shadow: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 'Instrument Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
h1, h2, h3, .serif { font-family: 'Fraunces', Georgia, serif; font-weight: 600; letter-spacing: -.01em; line-height: 1.15; }
h1 { font-size: clamp(36px, 6vw, 58px); margin: 0 0 18px; }
h2 { font-size: clamp(28px, 4vw, 38px); margin: 0 0 14px; }
h3 { font-size: 21px; margin: 0 0 6px; }
p { margin: 0 0 12px; }
a { color: var(--brand); }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.muted { color: var(--muted); }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
section { padding: 72px 0; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 10px; }
.lead { font-size: 19px; color: var(--muted); max-width: 40em; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Header */
header { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.logo img { width: 40px; height: auto; }
.logo span { font-family: 'Fraunces', Georgia, serif; font-weight: 600; font-size: 19px; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { color: var(--text); text-decoration: none; font-size: 15px; }
.nav-links a:hover { color: var(--brand); }
@media (max-width: 820px) { .nav-links .hide-sm { display: none; } .logo span { font-size: 16px; } }
.nav-links a { white-space: nowrap; }
@media (max-width: 480px) { .logo span { display: none; } .nav-links { gap: 14px; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 22px; border-radius: 14px; font-weight: 600; text-decoration: none; background: var(--brand); color: var(--brand-ink) !important; border: 0; font-size: 16px; }
.btn.sm { padding: 9px 16px; font-size: 15px; border-radius: 12px; }
.btn.ghost { background: var(--card); color: var(--text) !important; border: 1px solid var(--line); }
.btn:hover { filter: brightness(1.05); }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* Hero */
.hero { padding: 64px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .phone { margin: 0 auto; } }
.tagline { margin-top: 18px; font-size: 14px; color: var(--muted); letter-spacing: .08em; }

/* Phone mockup of the child's screen */
.phone { width: 300px; max-width: 100%; background: var(--card); border: 1px solid var(--line); border-radius: 40px; padding: 14px; box-shadow: 0 30px 60px -20px rgba(80, 50, 30, .25); }
.screen { background: var(--bg); border-radius: 30px; padding: 22px 16px 18px; }
.screen .hi { display: flex; align-items: center; gap: 8px; font-family: 'Fraunces', Georgia, serif; font-weight: 600; font-size: 19px; margin-bottom: 14px; }
.screen .hi img { width: 28px; }
.passbook { background: linear-gradient(180deg, var(--card), var(--gold-soft)); border-radius: 22px; padding: 18px 14px; text-align: center; }
.passbook .lbl { font-size: 13px; color: var(--muted); }
.passbook .amt { font-family: 'Fraunces', Georgia, serif; font-weight: 600; font-size: 40px; margin: 2px 0 8px; }
.pill { display: inline-block; background: var(--sage-soft); color: var(--plus); border-radius: 999px; padding: 3px 10px; font-size: 12.5px; }
.spark { width: 100%; height: 54px; margin-top: 10px; display: block; }
.mini { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.mini div { background: var(--card); border-radius: 14px; padding: 9px 10px; text-align: left; }
.mini b { display: block; font-size: 16px; }
.mini span { font-size: 11.5px; color: var(--muted); }
.tx { display: flex; justify-content: space-between; font-size: 13px; padding: 9px 4px 0; }
.tx .plus { color: var(--plus); font-weight: 600; }

/* Cards and grids */
.band { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 36px; }
@media (max-width: 860px) { .grid3, .grid2 { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 26px; box-shadow: var(--shadow); }
.band .card { background: var(--bg); box-shadow: none; }
.step-num { width: 38px; height: 38px; border-radius: 50%; background: var(--gold-soft); color: var(--brand); display: grid; place-items: center; font-family: 'Fraunces', Georgia, serif; font-weight: 700; margin-bottom: 14px; }
.icon { font-size: 26px; margin-bottom: 10px; }
ul.checks { list-style: none; padding: 0; margin: 16px 0 0; }
ul.checks li { position: relative; padding-left: 30px; margin: 10px 0; }
ul.checks li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--plus); font-weight: 700; }
.audience h3 { font-size: 26px; }
.audience .who { display: inline-block; font-size: 13px; font-weight: 600; padding: 4px 12px; border-radius: 999px; margin-bottom: 14px; }
.who.parents { background: var(--brand-soft); color: var(--brand); }
.who.kids { background: var(--sage-soft); color: var(--plus); }

/* Meet the developer, matching the Ari spotlight on damndadd.com */
.founder { display: grid; grid-template-columns: 220px 1fr; gap: 34px; align-items: center; background: linear-gradient(135deg, var(--gold-soft), var(--brand-soft)); border: 1px solid var(--line); border-radius: 26px; padding: 28px; }
@media (max-width: 700px) { .founder { grid-template-columns: 1fr; text-align: center; } .founder .photo { margin: 0 auto; } }
.founder .photo { position: relative; width: 220px; max-width: 100%; }
.founder .photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 20px; border: 6px solid var(--card); box-shadow: var(--shadow); display: block; }
.age { position: absolute; right: -12px; bottom: -12px; width: 76px; height: 76px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); border: 4px solid var(--card); display: grid; place-items: center; text-align: center; font-family: 'Fraunces', Georgia, serif; font-size: 28px; font-weight: 700; line-height: .9; }
.age small { display: block; font-family: 'Instrument Sans', sans-serif; font-size: 9.5px; font-weight: 600; letter-spacing: .04em; }
.founder h2 { margin-bottom: 10px; }
.kid-made { display: inline-block; margin-top: 18px; font-size: 14px; color: var(--muted); }

/* Scripture */
.verse { text-align: center; padding: 64px 0; }
.verse blockquote { margin: 0 auto; max-width: 30em; font-family: 'Fraunces', Georgia, serif; font-size: clamp(22px, 3vw, 30px); font-style: italic; line-height: 1.4; }
.verse cite { display: block; margin-top: 14px; font-style: normal; color: var(--muted); font-size: 15px; letter-spacing: .06em; }

/* Growth example */
.growth { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 28px; }
@media (max-width: 700px) { .growth { grid-template-columns: 1fr 1fr; } }
.growth div { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px; text-align: center; }
.growth b { display: block; font-family: 'Fraunces', Georgia, serif; font-size: 28px; }
.growth span { color: var(--muted); font-size: 14px; }
.fine { font-size: 13px; color: var(--muted); margin-top: 14px; }

/* Trust */
.trust { border-left: 4px solid var(--gold); }

/* FAQ */
details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; margin-top: 12px; }
summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--brand); font-size: 22px; line-height: 1; }
details[open] summary::after { content: '–'; }
details p { margin: 12px 0 0; color: var(--muted); }
.faq { max-width: 760px; margin: 0 auto; }

/* Final CTA + footer */
.final { text-align: center; }
.final .card { padding: 48px 26px; background: linear-gradient(180deg, var(--card), var(--gold-soft)); }
.final .ctas { justify-content: center; }
footer { border-top: 1px solid var(--line); padding: 30px 0 calc(30px + env(safe-area-inset-bottom)); font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

/* Privacy and terms pages */
.legal { max-width: 760px; margin: 0 auto; padding: 48px 20px 72px; }
.legal h1 { font-size: clamp(32px, 5vw, 44px); }
.legal h2 { font-size: 24px; margin: 40px 0 10px; }
.legal p, .legal li { color: var(--text); }
.legal ul { padding-left: 22px; }
.legal li { margin: 6px 0; }
.legal .updated { color: var(--muted); font-size: 15px; }
.legal .summary { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 16px; padding: 18px 22px; margin: 24px 0 8px; }
.legal .summary ul { margin: 8px 0 0; }

/* Light/dark toggle */
.theme-toggle { width: 38px; height: 38px; flex: none; display: inline-grid; place-items: center; padding: 0; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--text); cursor: pointer; }
.theme-toggle:hover { color: var(--brand); }
.theme-toggle svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
