/* ─────────────────────────────────────────────────────────────────────────
   Mum's Assistant — marketing site
   Design system + components. Mobile-first (the app is phone-first).
   Palette + type mirror the app brand: warm, calm, Australian, no hype.
   ───────────────────────────────────────────────────────────────────────── */

:root {
  /* Brand palette (from the app) */
  --olive:      #3D4A32;   /* deep olive — primary */
  --sage:       #7D8F65;   /* warm sage — accent */
  --cream:      #F7F5F0;   /* warm cream — page */
  --surface:    #FAFAF7;   /* soft white — cards */
  --charcoal:   #2C2C2A;   /* near-black text */
  --grey:       #6B6B67;   /* warm grey — secondary text */
  --gold:       #C4A35A;   /* muted gold — quiet accent */
  --terracotta: #C4614A;   /* terracotta — used very sparingly */
  --border:     #E8E4DC;   /* hairline borders */
  --olive-soft: #4A5840;   /* lifted olive for dark-band depth */

  --maxw: 1140px;
  --gutter: clamp(20px, 5vw, 48px);

  --radius:    16px;
  --radius-sm: 12px;
  --radius-lg: 24px;

  --shadow-sm: 0 2px 8px -2px rgba(61, 74, 50, 0.10);
  --shadow:    0 12px 30px -14px rgba(61, 74, 50, 0.22);
  --shadow-lg: 0 34px 70px -34px rgba(61, 74, 50, 0.40);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ── Typography ─────────────────────────────────────────────────────────── */

h1, h2, h3 { font-weight: 500; line-height: 1.12; letter-spacing: -0.02em; color: var(--charcoal); }

h1 { font-size: clamp(2.4rem, 6vw, 4.1rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); letter-spacing: -0.018em; }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; }

.eyebrow {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 1.1rem;
}

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  color: var(--grey);
  line-height: 1.62;
}

p { color: var(--grey); }
p.body { color: var(--charcoal); }

.serif {
  font-family: 'Lora', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
}

/* ── Buttons ────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  font-size: 1rem;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--olive); color: var(--cream); }
.btn-primary:hover { background: var(--olive-soft); box-shadow: var(--shadow); }

.btn-ghost {
  background: transparent;
  color: var(--olive);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--sage); background: rgba(125, 143, 101, 0.06); }

/* App Store badge — self-contained (no external image dependency) */
.btn-appstore {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--charcoal);
  color: #fff;
  border-radius: 14px;
  padding: 0.7rem 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn-appstore:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-appstore svg { width: 26px; height: 26px; fill: #fff; flex-shrink: 0; }
.btn-appstore .as-small { font-size: 0.66rem; line-height: 1; opacity: 0.85; letter-spacing: 0.02em; }
.btn-appstore .as-big   { font-size: 1.18rem; line-height: 1.15; font-weight: 500; letter-spacing: -0.01em; }
.btn-appstore .as-stack { display: flex; flex-direction: column; }

.cta-row { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }

/* ── Header / nav ───────────────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 245, 240, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--border); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 0.6rem; font-weight: 500; font-size: 1.05rem; color: var(--charcoal); letter-spacing: -0.01em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }

.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { color: var(--grey); font-size: 0.97rem; transition: color 0.2s var(--ease); }
.nav-links a:hover { color: var(--olive); }

.nav-cta { display: flex; align-items: center; gap: 1.2rem; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--charcoal); border-radius: 2px; transition: 0.3s var(--ease); }
.nav-toggle span + span { margin-top: 5px; }

/* ── Sections ───────────────────────────────────────────────────────────── */

section { position: relative; }
.section { padding: clamp(4.5rem, 9vw, 8rem) 0; }
.section-tight { padding: clamp(3rem, 6vw, 5rem) 0; }

.section-head { max-width: 640px; }
.section-head.center { margin: 0 auto; text-align: center; }
.section-head p { margin-top: 1rem; }

/* ── Hero ───────────────────────────────────────────────────────────────── */

.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3.5rem, 7vw, 6rem); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero h1 { margin-bottom: 1.4rem; }
.hero .lead { max-width: 30ch; }
.hero .cta-row { margin-top: 2.1rem; }
.hero .trust {
  margin-top: 1.8rem;
  font-size: 0.92rem;
  color: var(--grey);
  display: flex;
  align-items: center;
  gap: 0.55rem;
  max-width: 42ch;
}
.hero .trust svg { width: 17px; height: 17px; stroke: var(--sage); flex-shrink: 0; }

.hero-media { position: relative; }
.hero-media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  aspect-ratio: 4 / 3.4;
}
.hero-media::after {
  /* soft floating accent behind the image */
  content: '';
  position: absolute;
  inset: auto -6% -7% 8%;
  height: 60%;
  background: radial-gradient(closest-side, rgba(196, 163, 90, 0.22), transparent 70%);
  z-index: -1;
  filter: blur(8px);
}

/* ── The mental load (empathy) ──────────────────────────────────────────── */

.load-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.load-grid img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; aspect-ratio: 3 / 2.4; }
.load-copy p + p { margin-top: 1.2rem; }
.load-copy .body { font-size: 1.18rem; line-height: 1.55; color: var(--charcoal); }

/* ── How it works (steps) ───────────────────────────────────────────────── */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 3.2rem;
}
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.7rem;
  box-shadow: var(--shadow-sm);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--olive);
  color: var(--cream);
  font-weight: 500;
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
}
.step h3 { margin-bottom: 0.6rem; }
.step p { font-size: 0.98rem; }

/* ── Features grid ──────────────────────────────────────────────────────── */

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 3.2rem;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.7rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #ddd6c9; }
.feature-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(125, 143, 101, 0.14);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.3rem;
}
.feature-icon svg { width: 23px; height: 23px; stroke: var(--olive); fill: none; stroke-width: 1.6; }
.feature h3 { margin-bottom: 0.55rem; }
.feature p { font-size: 0.98rem; }

/* ── Privacy band (dark) ────────────────────────────────────────────────── */

.section-dark {
  background: var(--olive);
  color: var(--cream);
  border-radius: var(--radius-lg);
}
.section-dark .eyebrow { color: var(--gold); }
.section-dark h2 { color: var(--cream); }
.privacy-wrap { padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4rem); }
.privacy-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.privacy-list { list-style: none; display: grid; gap: 1.3rem; }
.privacy-list li { display: flex; gap: 0.9rem; align-items: flex-start; }
.privacy-list svg { width: 21px; height: 21px; stroke: var(--gold); fill: none; stroke-width: 1.7; flex-shrink: 0; margin-top: 2px; }
.privacy-list strong { display: block; color: var(--cream); font-weight: 500; margin-bottom: 0.15rem; }
.privacy-list span { color: rgba(247, 245, 240, 0.72); font-size: 0.97rem; }

/* ── The brief (editorial Lora moment) ──────────────────────────────────── */

.brief-section { text-align: center; }
.brief-card {
  max-width: 680px;
  margin: 2.5rem auto 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(2.2rem, 5vw, 3.4rem);
  box-shadow: var(--shadow);
  text-align: left;
}
.brief-card .stamp {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 500;
  margin-bottom: 1.3rem;
}
.brief-card .quote {
  font-family: 'Lora', Georgia, serif;
  font-style: italic;
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  line-height: 1.5;
  color: var(--charcoal);
}
.brief-caption { margin-top: 1.6rem; font-size: 0.95rem; color: var(--grey); }

/* ── Video ──────────────────────────────────────────────────────────────── */

.video-wrap {
  margin-top: 2.6rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--charcoal);
}
.video-wrap video { width: 100%; display: block; }

/* ── Final CTA ──────────────────────────────────────────────────────────── */

.cta-final { text-align: center; }
.cta-final .container { max-width: 720px; }
.cta-final h2 { margin-bottom: 1.1rem; }
.cta-final p { font-size: 1.1rem; margin-bottom: 2rem; }
.cta-final .cta-row { justify-content: center; }

/* ── Footer ─────────────────────────────────────────────────────────────── */

.site-footer {
  background: var(--olive);
  color: rgba(247, 245, 240, 0.7);
  padding: clamp(3rem, 6vw, 4.5rem) 0 2.5rem;
  margin-top: clamp(3rem, 6vw, 5rem);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.8rem;
  border-bottom: 1px solid rgba(247, 245, 240, 0.14);
}
.footer-brand .brand { color: var(--cream); margin-bottom: 1rem; }
.footer-brand p { color: rgba(247, 245, 240, 0.6); max-width: 34ch; font-size: 0.95rem; }
.footer-col h4 { color: var(--cream); font-weight: 500; font-size: 0.95rem; margin-bottom: 1rem; letter-spacing: 0.02em; }
.footer-col a { display: block; color: rgba(247, 245, 240, 0.7); font-size: 0.95rem; padding: 0.32rem 0; transition: color 0.2s var(--ease); }
.footer-col a:hover { color: var(--cream); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.8rem;
  font-size: 0.88rem;
  color: rgba(247, 245, 240, 0.55);
}

/* ── Scroll reveal ──────────────────────────────────────────────────────── */

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ── Responsive ─────────────────────────────────────────────────────────── */

@media (max-width: 900px) {
  .features, .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; max-width: 460px; margin: 0 auto; }
  .hero .lead { max-width: none; }
  .load-grid, .privacy-grid { grid-template-columns: 1fr; }
  .load-grid img { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }

  .nav-links, .nav-cta .btn-appstore { display: none; }
  .nav-toggle { display: block; }

  .nav-links.open {
    display: flex;
    position: absolute;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem var(--gutter) 1.2rem;
  }
  .nav-links.open a { padding: 0.85rem 0; width: 100%; border-bottom: 1px solid var(--border); }
}

@media (max-width: 540px) {
  .features, .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  body { font-size: 16px; }
}

/* ── Inner pages (Features / Privacy / FAQ / About) ─────────────────────── */

.nav-links a.active { color: var(--olive); }

.page-hero { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(0.5rem, 2vw, 1.5rem); text-align: center; }
.page-hero .container { max-width: 760px; }
.page-hero .lead { margin: 0 auto; }

.prose { max-width: 680px; margin: 0 auto; }
.prose p { font-size: 1.12rem; line-height: 1.72; color: var(--charcoal); margin-bottom: 1.4rem; }
.prose p.muted { color: var(--grey); }
.prose h2 { margin: 2.6rem 0 1rem; }
.prose .serif { font-size: 1.3rem; color: var(--charcoal); }

.faq-group { max-width: 760px; margin: 0 auto; }
.faq-group + .faq-group { margin-top: 2.6rem; }
.faq-group > h2 { font-size: 1.45rem; margin-bottom: 0.4rem; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 1.15rem 0;
  font-weight: 500; font-size: 1.05rem; color: var(--charcoal);
  display: flex; justify-content: space-between; align-items: center; gap: 1.2rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--sage); font-size: 1.5rem; line-height: 1; flex-shrink: 0; }
.faq-item[open] summary::after { content: '\2212'; }
.faq-item p { padding: 0 0 1.35rem; max-width: 66ch; font-size: 1rem; color: var(--grey); }

/* ── App phone mockup (data-safe, faithful to the home screen) ───────────── */
.phone-mock { width: 300px; max-width: 100%; margin: 0 auto; background: #23241f; border-radius: 44px; padding: 10px; box-shadow: var(--shadow-lg); }
.phone-mock .ic { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pm-screen { position: relative; background: var(--cream); border-radius: 34px; overflow: hidden; }
.pm-hero { position: relative; line-height: 0; }
.pm-hero img { width: 100%; height: 140px; object-fit: cover; }
.pm-island { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 86px; height: 23px; background: #23241f; border-radius: 13px; }
.pm-status { position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; padding: 11px 22px 0; font-size: 11.5px; font-weight: 500; color: var(--charcoal); }
.pm-status svg { width: 18px; height: 18px; }
.pm-brief { padding: 18px 20px 6px; }
.pm-brief-meta { font-size: 11px; color: var(--grey); margin-bottom: 7px; }
.pm-brief-body { font-family: 'Lora', Georgia, serif; font-style: italic; font-size: 16px; line-height: 1.5; color: var(--charcoal); margin: 0; }
.pm-body { padding: 8px 15px 14px; }
.pm-lbl { display: block; font-size: 10.5px; letter-spacing: 0.5px; text-transform: uppercase; font-weight: 500; margin-bottom: 8px; }
.pm-lbl.dark { color: var(--charcoal); }
.pm-lbl.grey { color: var(--grey); }
.pm-head { display: flex; align-items: center; justify-content: space-between; margin: 12px 2px 8px; }
.pm-head svg { width: 15px; height: 15px; color: var(--grey); }
.pm-badge { background: var(--sage); color: var(--cream); font-size: 11px; font-weight: 500; min-width: 17px; height: 17px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; padding: 0 5px; margin-left: 7px; }
.pm-row { display: flex; align-items: center; gap: 9px; padding: 6px 2px; }
.pm-row .t { flex: 1; font-size: 13px; color: var(--charcoal); }
.pm-row .d { font-size: 11.5px; color: var(--grey); }
.pm-row svg { width: 17px; height: 17px; flex-shrink: 0; }
.pm-sub { font-size: 12.5px; font-weight: 500; color: var(--grey); margin: 0 2px 7px; }
.pm-card { display: flex; background: #fff; border: 1px solid var(--border); border-radius: 11px; overflow: hidden; margin-bottom: 9px; box-shadow: var(--shadow-sm); }
.pm-bar { width: 3px; flex-shrink: 0; }
.pm-cmain { flex: 1; padding: 11px 12px; }
.pm-crow { display: flex; align-items: center; gap: 8px; }
.pm-crow .ct { flex: 1; font-size: 13.5px; font-weight: 500; color: var(--charcoal); line-height: 1.3; }
.pm-crow svg { width: 17px; height: 17px; flex-shrink: 0; }
.pm-date { display: flex; align-items: center; gap: 5px; margin-top: 5px; font-size: 12.5px; font-weight: 500; color: var(--charcoal); }
.pm-date svg { width: 13px; height: 13px; }
.pm-src { font-size: 11px; font-style: italic; color: var(--grey); margin-top: 4px; }
.pm-acts { display: flex; gap: 16px; margin-top: 8px; font-size: 12.5px; }
.pm-acts .add { font-weight: 500; color: var(--olive); }
.pm-acts .dis { color: var(--grey); }
.pm-tabs { display: flex; justify-content: space-around; align-items: center; border-top: 1px solid var(--border); padding: 10px 0 15px; background: #fff; }
.pm-tab { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 9px; color: #A8A8A4; }
.pm-tab svg { width: 18px; height: 18px; }
.pm-tab.on { color: var(--olive); }
.pm-fab { position: absolute; right: 16px; bottom: 64px; width: 46px; height: 46px; border-radius: 50%; background: var(--olive); color: var(--cream); display: flex; align-items: center; justify-content: center; }
.pm-fab svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }

/* ── Section bands — alternating grounds so the page reads as one composed
   piece with rhythm, not evenly-spaced islands. Full-bleed; adjacent bands
   touch edge-to-edge, so the space between parts becomes a deliberate band
   change rather than an empty gap. ──────────────────────────────────────── */
.band-soft { background: #EFEDE4; }
.band-olive { background: var(--olive); }
.band-olive .section-head .eyebrow { color: var(--gold); }
.band-olive .section-head h2 { color: var(--cream); }
.band-olive .section-head p { color: rgba(247, 245, 240, 0.80); }
