/* ─── Custom Properties ──────────────────────────────────────── */
:root {
  --cream:      #fef6ed;
  --blush:      #f0cfbb;
  --rose:       #d4785e;
  --terracotta: #c25248;
  --ink:        #2d2420;
  --muted:      #8a7570;
  --card:       #fff9f5;
  --gold:       #c4922a;
  --gold-light: #fef2dc;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, -apple-system, sans-serif;
  --max-width: 1100px;
  --radius:    12px;
  --radius-sm: 8px;
}

/* ─── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  font-size: 1rem;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--terracotta); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ─── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.25;
  color: var(--ink);
}
h1 { font-size: clamp(2.25rem, 5.5vw, 3.75rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); margin-bottom: 0.5rem; }
h3 { font-size: clamp(1.05rem, 2.5vw, 1.4rem); }
p  { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ─── Layout ─────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}
section { padding: 4.5rem 0; }

/* ─── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.15s;
  text-decoration: none;
  border: none;
}
.btn:hover { opacity: 0.88; transform: translateY(-1px); text-decoration: none; }
.btn-primary   { background: var(--terracotta); color: #fff; }
.btn-secondary { background: var(--card); color: var(--terracotta); border: 2px solid var(--blush); }
.btn-store {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  padding: 0.7rem 1.4rem;
}
.btn-store:hover { background: #3d3330; }
.btn-store-light {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.4);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  padding: 0.7rem 1.4rem;
}
.btn-store-light:hover { background: rgba(255,255,255,0.22); }
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* ─── Navigation ─────────────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  background: rgba(254,246,237,0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--blush);
  z-index: 100;
  padding: 0.85rem 0;
}
.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
}
.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--terracotta);
  font-weight: 700;
  text-decoration: none;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}
.nav-links a {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 500;
}
.nav-links a:hover { color: var(--terracotta); text-decoration: none; }
.nav-cta { font-size: 0.875rem !important; padding: 0.55rem 1.25rem !important; }

/* Hamburger toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 4px;
  z-index: 101;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.22s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── Hero ───────────────────────────────────────────────────── */
.hero {
  padding: 6rem 0 5.5rem;
  background: linear-gradient(160deg, var(--cream) 0%, #f8e3cf 100%);
  text-align: center;
}
.hero .container { max-width: 820px; }
.hero-content { max-width: 720px; margin: 0 auto; }
.hero-eyebrow {
  display: inline-block;
  background: var(--gold-light);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}
.hero-headline { margin-bottom: 1.25rem; }
.hero-headline em { font-style: italic; color: var(--terracotta); }
.hero-sub {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 580px;
  margin: 0 auto 0.75rem;
  line-height: 1.8;
}
.hero-sub + .hero-sub {
  font-size: 1rem;
  border-top: 1px solid var(--blush);
  padding-top: 1rem;
  margin-top: 0.5rem;
}
.btn-group { justify-content: center; }
.store-note {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--muted);
}

/* ─── Trust Bar ──────────────────────────────────────────────── */
.trust-bar {
  background: var(--card);
  border-top: 1px solid var(--blush);
  border-bottom: 1px solid var(--blush);
  padding: 1.25rem 0;
}
.trust-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2.5rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted);
  font-weight: 500;
}
.trust-item span { font-size: 1.1rem; }

/* ─── Section Labels ─────────────────────────────────────────── */
.section-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.4rem;
}
.section-intro {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 600px;
  line-height: 1.7;
  margin-top: 0.5rem;
}

/* ─── Features ───────────────────────────────────────────────── */
.features { background: var(--card); }
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.feature-card {
  background: var(--cream);
  border: 1px solid var(--blush);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: box-shadow 0.15s, transform 0.15s;
}
.feature-card:hover { box-shadow: 0 4px 20px rgba(45,36,32,0.07); transform: translateY(-2px); }
.feature-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.feature-card h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.4rem;
  color: var(--ink);
}
.feature-card p { color: var(--muted); font-size: 0.9rem; margin: 0; line-height: 1.7; }

/* ─── How It Works ───────────────────────────────────────────── */
.how-it-works { background: var(--cream); }
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  margin-top: 2.5rem;
}
.step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.step-number {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--terracotta);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
}
.step-content h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.3rem;
  color: var(--ink);
}
.step-content p { color: var(--muted); font-size: 0.9rem; margin: 0; }

/* ─── For Both Parents ───────────────────────────────────────── */
.for-both {
  background: linear-gradient(160deg, #9e3830 0%, var(--terracotta) 65%, #d4705a 100%);
  padding: 5.5rem 0;
  text-align: center;
}
.for-both .section-label { color: rgba(255,255,255,0.5); }
.for-both h2             { color: #fff; }
.for-both .section-intro {
  color: rgba(255,255,255,0.75);
  margin-left: auto;
  margin-right: auto;
}
.for-both-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
  text-align: left;
}
.parent-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.parent-card-role {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}
.role-mama    { background: var(--blush);  color: var(--terracotta); }
.role-partner { background: var(--cream); color: var(--rose); border: 1.5px solid var(--blush); }
.parent-card h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: var(--ink);
}
.parent-card ul { list-style: none; padding: 0; }
.parent-card ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.parent-card ul li::before {
  content: '✓';
  color: var(--terracotta);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

/* ─── Testimonial ────────────────────────────────────────────── */
.testimonials {
  background: linear-gradient(160deg, #fde8d8 0%, var(--cream) 100%);
  text-align: center;
}
.testimonial-card {
  background: #fff;
  border: 1px solid var(--blush);
  border-radius: var(--radius);
  padding: 2.25rem 2rem;
  max-width: 640px;
  margin: 2rem auto 0;
  box-shadow: 0 4px 24px rgba(194,82,72,0.08);
}
.testimonial-quote {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--ink);
  margin-bottom: 1.25rem;
  line-height: 1.7;
}
.testimonial-quote::before { content: '\201C'; }
.testimonial-quote::after  { content: '\201D'; }
.testimonial-author { color: var(--muted); font-size: 0.875rem; font-weight: 600; }
.stars { color: var(--gold); letter-spacing: 0.1em; margin-bottom: 0.75rem; font-size: 1.1rem; }

/* ─── Founder Story ─────────────────────────────────────────── */
.founder-story {
  padding: 5rem 0;
  background: var(--card);
  border-top: 1px solid var(--blush);
  text-align: center;
}
.founder-card {
  max-width: 600px;
  margin: 1.5rem auto 0;
  background: var(--cream);
  border: 1px solid var(--blush);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
}
.founder-quote {
  font-size: 1.1rem;
  color: var(--ink);
  line-height: 1.85;
  margin-bottom: 1.25rem;
}
.founder-attr {
  color: var(--terracotta);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* ─── FAQ ────────────────────────────────────────────────────── */
.faq { background: var(--cream); }
.faq-list { margin-top: 2rem; }
details {
  border-bottom: 1px solid var(--blush);
}
details:first-of-type { border-top: 1px solid var(--blush); }
.faq-q {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0;
  list-style: none;
  user-select: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after { content: '+'; font-size: 1.4rem; color: var(--terracotta); flex-shrink: 0; }
details[open] > .faq-q::after { content: '−'; }
.faq-a {
  padding-bottom: 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.75;
}

/* ─── Download CTA ───────────────────────────────────────────── */
.download-cta {
  background: linear-gradient(135deg, #9e3830 0%, var(--terracotta) 60%, #d4705a 100%);
  color: #fff;
  text-align: center;
  padding: 5rem 0;
}
.download-cta h2 { color: #fff; }
.download-cta p {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  margin: 0.75rem auto 0;
  max-width: 480px;
}
.download-cta .btn-group { justify-content: center; margin-top: 2rem; }

/* ─── Footer ─────────────────────────────────────────────────── */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.6);
  padding: 3.5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.footer-brand h3 {
  font-family: var(--font-heading);
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}
.footer-brand p { font-size: 0.875rem; line-height: 1.65; max-width: 280px; }
.footer-col h4 { color: #fff; font-size: 0.875rem; font-weight: 600; margin-bottom: 0.75rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.45rem; }
.footer-col a { color: rgba(255,255,255,0.6); font-size: 0.875rem; }
.footer-col a:hover { color: #fff; text-decoration: none; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  font-size: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: center;
  text-align: center;
}
.footer-bottom a { color: rgba(255,255,255,0.6); }
.footer-bottom a:hover { color: #fff; }

/* ─── Blog: Listing ──────────────────────────────────────────── */
.blog-hero { padding: 3.5rem 0 2.5rem; }
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 4rem;
}
.blog-card {
  background: var(--card);
  border: 1px solid var(--blush);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: box-shadow 0.15s, transform 0.15s;
}
.blog-card:hover { box-shadow: 0 4px 20px rgba(45,36,32,0.08); transform: translateY(-2px); }
.blog-tag {
  display: inline-block;
  background: var(--gold-light);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.65rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
}
.blog-card h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.blog-card h3 a { color: var(--ink); }
.blog-card h3 a:hover { color: var(--terracotta); text-decoration: none; }
.blog-card p  { color: var(--muted); font-size: 0.88rem; line-height: 1.65; margin-bottom: 0; }
.blog-meta    { color: var(--muted); font-size: 0.78rem; margin-top: 0.75rem; }

/* ─── Blog: Article ──────────────────────────────────────────── */
.article-hero { padding: 3rem 0 2rem; background: var(--card); }
.breadcrumb   { font-size: 0.82rem; color: var(--muted); margin-bottom: 1.5rem; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--terracotta); }
.breadcrumb .sep { margin: 0 0.4rem; }
.article-meta { color: var(--muted); font-size: 0.82rem; margin-top: 0.75rem; }
.article-body {
  max-width: 740px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 5rem;
}
.article-body h2 { margin-top: 2.75rem; margin-bottom: 0.75rem; }
.article-body h3 { margin-top: 1.75rem; margin-bottom: 0.5rem; }
.article-body p  { color: var(--ink); line-height: 1.8; }
.article-body ul,
.article-body ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.article-body li { margin-bottom: 0.4rem; color: var(--ink); line-height: 1.7; }

.answer-box {
  background: var(--gold-light);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0 2.25rem;
}
.answer-box strong { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold); margin-bottom: 0.5rem; }
.answer-box p { color: var(--ink); font-size: 0.96rem; line-height: 1.75; }

.week-card {
  background: var(--card);
  border: 1px solid var(--blush);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
}
.week-card-header {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
}
.week-badge {
  background: var(--terracotta);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: 50px;
  white-space: nowrap;
  letter-spacing: 0.04em;
}
.week-card h3 { font-size: 1rem; margin: 0; }
.week-card p  { font-size: 0.9rem; color: var(--muted); margin-bottom: 0.5rem; line-height: 1.7; }
.week-card ul { font-size: 0.88rem; color: var(--muted); margin: 0; }

.app-cta-inline {
  background: linear-gradient(135deg, #fde8d8 0%, var(--blush) 100%);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  margin: 2.5rem 0;
}
.app-cta-inline h3  { margin-bottom: 0.4rem; }
.app-cta-inline p   { color: var(--muted); font-size: 0.92rem; margin-bottom: 1.25rem; }

.article-faq { border-top: 1px solid var(--blush); margin-top: 3rem; padding-top: 2rem; }

/* ─── Beta Signup ────────────────────────────────────────────── */
.beta-signup {
  background: var(--card);
  border-top: 1px solid var(--blush);
}
.beta-free-badge {
  display: inline-block;
  background: var(--gold-light);
  color: var(--gold);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin: 0.75rem 0 2rem;
}
.beta-form-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--blush);
  background: #fff;
  margin-top: 0.5rem;
}
.beta-form-wrap iframe {
  display: block;
  width: 100%;
}

/* ─── Responsive ─────────────────────────────────────────────── */
@media (min-width: 640px) {
  .features-grid   { grid-template-columns: repeat(2, 1fr); }
  .for-both-grid   { grid-template-columns: repeat(2, 1fr); }
  .blog-grid        { grid-template-columns: repeat(2, 1fr); }
  .footer-grid      { grid-template-columns: 2fr 1fr 1fr; }
  .trust-items      { gap: 1rem 3rem; }
}

@media (min-width: 900px) {
  .features-grid    { grid-template-columns: repeat(3, 1fr); }
  .steps            { grid-template-columns: repeat(3, 1fr); }
  .step             { flex-direction: column; align-items: center; text-align: center; }
  .blog-grid        { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 639px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: -1.25rem;
    right: -1.25rem;
    background: rgba(254,246,237,0.98);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--blush);
    flex-direction: column;
    padding: 0.25rem 0;
    gap: 0;
    box-shadow: 0 8px 24px rgba(45,36,32,0.1);
  }
  .nav-links.is-open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 0.9rem 1.5rem;
    border-bottom: 1px solid var(--blush);
    font-size: 1rem;
    color: var(--ink);
  }
  .nav-links li:last-child a { border-bottom: none; }
  .nav-cta {
    margin: 0.75rem 1.25rem !important;
    padding: 0.7rem 1.5rem !important;
    text-align: center;
    display: block;
    border-radius: 50px !important;
  }
}
