/* ============================================================
   Joey: Australian family assistant
   Design language: soft pastels, organic blobs, rounded type,
   navy headings, coral accents, mint CTAs (Lifecake-inspired)
   ============================================================ */

:root {
  --navy: #33306b;
  --navy-soft: #55519a;
  --coral: #f8696b;
  --coral-dark: #e4504f;
  --pink: #f9c0c4;
  --pink-soft: #fdeaeb;
  --peri: #8b8bd8;
  --peri-light: #c9c9f2;
  --peri-bg: #b9b7ec;
  --lav-wash: #f3f2fb;
  --mint: #63e6a9;
  --mint-light: #b9f4d9;
  --yellow: #ffd469;
  --yellow-soft: #ffedbe;
  --cream: #fff3e4;
  --paper: #fffdfb;
  --ink: #4a4766;
  --radius: 20px;
  --shadow: 0 10px 30px rgba(51, 48, 107, 0.10);
  --shadow-soft: 0 6px 18px rgba(51, 48, 107, 0.07);
  --font-head: 'Baloo 2', 'Nunito', sans-serif;
  --font-body: 'Nunito', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.15;
  font-weight: 700;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.05rem; }

p { margin-bottom: 1em; }

a { color: var(--coral); text-decoration: none; }
a:hover { color: var(--coral-dark); }

img, svg { max-width: 100%; }

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.narrow { width: min(760px, 92%); margin: 0 auto; }

/* ---------- Kicker / section labels ---------- */
.kicker {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--coral);
  font-size: 1.02rem;
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
  display: block;
}

.section-head { text-align: center; margin-bottom: 3rem; }
.section-head p { max-width: 620px; margin: 0.8rem auto 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.8rem 2rem;
  border-radius: 999px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  cursor: pointer;
  border: none;
}

.btn-mint {
  background: var(--mint);
  color: var(--navy);
  box-shadow: 0 6px 16px rgba(99, 230, 169, 0.45);
}
.btn-mint:hover { transform: translateY(-2px); background: #52dd9c; color: var(--navy); }

.btn-coral {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 6px 16px rgba(248, 105, 107, 0.4);
}
.btn-coral:hover { transform: translateY(-2px); background: var(--coral-dark); color: #fff; }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--peri-light);
}
.btn-outline:hover { border-color: var(--peri); color: var(--navy); transform: translateY(-2px); }

.btn-lg { padding: 1rem 2.6rem; font-size: 1.1rem; }

/* ---------- Nav ---------- */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 251, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(51, 48, 107, 0.06);
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.55rem;
  color: var(--navy);
}
.logo svg { width: 42px; height: 42px; }
.logo:hover { color: var(--navy); }

.nav-links {
  display: flex;
  gap: 1.6rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--navy-soft);
}
.nav-links a:hover, .nav-links a.active { color: var(--coral); }

.nav-cta { display: flex; gap: 0.8rem; align-items: center; }
.nav-cta .btn { padding: 0.55rem 1.4rem; font-size: 0.92rem; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 3px;
  background: var(--navy);
  border-radius: 3px;
  margin: 5px 0;
}

@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--paper);
    padding: 1.4rem 6%;
    gap: 1.1rem;
    box-shadow: var(--shadow);
    align-items: flex-start;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 4.5rem 0 3rem;
  text-align: center;
  overflow: hidden;
}

.hero .blob { position: absolute; z-index: -1; }

.hero-sub {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--coral);
  font-size: 1.15rem;
  margin: 1.1rem auto 0.6rem;
}

.hero-copy {
  max-width: 640px;
  margin: 0 auto 1.8rem;
  font-size: 1.12rem;
}

/* Decorative blobs & squiggles */
.blob { position: absolute; border-radius: 50%; z-index: 0; pointer-events: none; }
.squiggle { display: block; margin: 0 auto; }

/* ---------- Sections ---------- */
section { position: relative; padding: 5rem 0; }
section.tight { padding: 3.4rem 0; }

.band-lav { background: var(--lav-wash); }
.band-pink { background: var(--pink-soft); }
.band-peri { background: var(--peri-bg); }
.band-navy { background: var(--navy); }
.band-cream { background: #fdf8f1; }
.band-navy h2, .band-navy h3, .band-peri h2 { color: #fff; }
.band-navy p { color: #cfcdf0; }

/* Wavy divider */
.wave { display: block; width: 100%; height: 70px; margin-bottom: -1px; }

/* ---------- Cards & grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }

@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem 1.7rem;
  box-shadow: var(--shadow-soft);
}

.card h3 { margin: 0.9rem 0 0.5rem; }
.card .icon-bubble { margin-bottom: 0.4rem; }

.icon-bubble {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
}
.bub-pink { background: var(--pink-soft); }
.bub-mint { background: var(--mint-light); }
.bub-peri { background: var(--peri-light); }
.bub-yellow { background: var(--yellow-soft); }

/* Step numbers */
.step-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 0.9rem;
}

/* ---------- Split layout ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.split.rev > :first-child { order: 2; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 2.2rem; }
  .split.rev > :first-child { order: 0; }
}

/* ---------- Chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 0.7rem; justify-content: center; }
.chip {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 1.15rem;
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  box-shadow: var(--shadow-soft);
}
.chip.c-pink { background: var(--pink-soft); }
.chip.c-mint { background: var(--mint-light); }
.chip.c-yellow { background: var(--yellow-soft); }
.chip.c-peri { background: var(--peri-light); }

/* ---------- Phone mockup ---------- */
.phone-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}
.phone-row .phone { margin: 0; }
.phone.side { width: 262px; }
.phone.tilt-l { transform: rotate(-3deg); margin-top: 2.2rem; }
.phone.tilt-r { transform: rotate(3deg); margin-top: 2.2rem; }
@media (max-width: 1000px) {
  .phone.tilt-l, .phone.tilt-r { transform: none; margin-top: 0; }
}

.phone {
  width: 300px;
  margin: 0 auto;
  background: #fff;
  border-radius: 38px;
  border: 8px solid var(--navy);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}
.phone-top {
  height: 26px;
  display: flex; justify-content: center; align-items: center;
}
.phone-top::after {
  content: "";
  width: 90px; height: 9px;
  background: var(--navy);
  border-radius: 0 0 10px 10px;
  position: absolute; top: 0;
}
.phone-screen { padding: 0.9rem 0.9rem 1.2rem; }

.chat-title {
  display: flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-head); font-weight: 700; color: var(--navy);
  font-size: 0.95rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid #f0eef8;
  margin-bottom: 0.8rem;
}
.chat-title svg { width: 26px; height: 26px; }

.msg {
  border-radius: 16px;
  padding: 0.65rem 0.9rem;
  font-size: 0.83rem;
  line-height: 1.45;
  margin-bottom: 0.6rem;
  max-width: 92%;
}
.msg-in { background: #f3f2fb; color: var(--ink); border-bottom-left-radius: 4px; }
.msg-out { background: var(--mint-light); color: var(--navy); margin-left: auto; border-bottom-right-radius: 4px; }
.msg-note { font-size: 0.72rem; color: #9a97b8; text-align: center; margin: 0.5rem 0; }

.event-card {
  background: #fff;
  border: 2px solid var(--mint);
  border-radius: 14px;
  padding: 0.7rem 0.9rem;
  font-size: 0.8rem;
  margin-bottom: 0.6rem;
}
.event-card .ev-title { font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 0.9rem; }
.event-card .ev-meta { color: var(--ink); }
.event-card .ev-tags { display: flex; gap: 0.35rem; margin-top: 0.4rem; flex-wrap: wrap; }
.event-card .ev-tag {
  font-size: 0.66rem; font-weight: 700;
  padding: 0.15rem 0.55rem; border-radius: 999px;
  background: var(--yellow-soft); color: var(--navy);
}
.ev-confidence {
  display: flex; align-items: center; gap: 0.35rem;
  font-size: 0.7rem; color: #2ea36e; font-weight: 700; margin-top: 0.45rem;
}
.ev-actions { display: flex; gap: 0.5rem; margin-top: 0.55rem; }
.ev-actions span {
  font-size: 0.72rem; font-weight: 700; font-family: var(--font-head);
  padding: 0.3rem 0.9rem; border-radius: 999px; cursor: default;
}
.ev-confirm { background: var(--mint); color: var(--navy); }
.ev-fix { background: #f3f2fb; color: var(--navy-soft); }

/* ---------- Briefing mock ---------- */
.briefing {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.6rem 1.8rem;
  max-width: 420px;
  margin: 0 auto;
  font-size: 0.92rem;
}
.briefing-head {
  display: flex; align-items: center; gap: 0.7rem;
  margin-bottom: 1rem;
}
.briefing-head svg { width: 40px; height: 40px; flex-shrink: 0; }
.briefing-head .b-title { font-family: var(--font-head); font-weight: 800; color: var(--navy); line-height: 1.2; }
.briefing-head .b-sub { font-size: 0.78rem; color: #9a97b8; }
.b-row {
  display: flex; gap: 0.7rem; align-items: flex-start;
  padding: 0.55rem 0;
  border-top: 1px dashed #eceafa;
}
.b-row .b-day {
  font-family: var(--font-head); font-weight: 800; font-size: 0.78rem;
  color: var(--peri); min-width: 40px; padding-top: 0.1rem;
}
.b-row .b-what { color: var(--ink); }
.b-row .b-flag {
  display: inline-block; font-size: 0.7rem; font-weight: 800;
  background: var(--pink-soft); color: var(--coral-dark);
  border-radius: 999px; padding: 0.12rem 0.6rem; margin-left: 0.3rem;
}
.b-row .b-flag.f-mint { background: var(--mint-light); color: #1d7d52; }
.b-row .b-flag.f-yellow { background: var(--yellow-soft); color: #8a6a10; }

/* ---------- Testimonials ---------- */
.quote-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column; gap: 1rem;
}
.quote-card .stars { color: var(--yellow); letter-spacing: 2px; font-size: 1.05rem; }
.quote-card .q-text { font-size: 0.98rem; flex: 1; }
.quote-card .q-who { display: flex; align-items: center; gap: 0.8rem; }
.q-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 800; color: var(--navy);
}
.q-who .q-name { font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 0.95rem; line-height: 1.2; }
.q-who .q-role { font-size: 0.8rem; color: #9a97b8; }

/* ---------- Pricing ---------- */
.price-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2rem; max-width: 860px; margin: 0 auto;
  align-items: stretch;
}
@media (max-width: 720px) { .price-grid { grid-template-columns: 1fr; } }

.price-card {
  background: #fff;
  border-radius: 26px;
  padding: 2.4rem 2.2rem;
  box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column;
  position: relative;
}
.price-card.featured {
  border: 3px solid var(--mint);
  box-shadow: var(--shadow);
}
.price-tag {
  position: absolute; top: -16px; right: 24px;
  background: var(--yellow);
  color: var(--navy);
  font-family: var(--font-head); font-weight: 800; font-size: 0.8rem;
  padding: 0.3rem 1rem; border-radius: 999px;
}
.price-amount {
  font-family: var(--font-head); font-weight: 800;
  font-size: 2.6rem; color: var(--navy); line-height: 1;
  margin: 0.8rem 0 0.2rem;
}
.price-amount span { font-size: 1rem; font-weight: 600; color: var(--ink); }
.price-per { font-size: 0.88rem; color: #9a97b8; margin-bottom: 1.4rem; }
.price-card ul { list-style: none; margin: 0 0 1.8rem; flex: 1; }
.price-card li {
  padding: 0.45rem 0 0.45rem 1.9rem;
  position: relative; font-size: 0.97rem;
}
.price-card li::before {
  content: "✓";
  position: absolute; left: 0; top: 0.42rem;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--mint-light); color: #1d7d52;
  font-size: 0.75rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.price-card li.na { color: #b6b3cf; }
.price-card li.na::before { content: "–"; background: #f0eef8; color: #b6b3cf; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow-soft); }
table.compare {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  min-width: 640px;
  font-size: 0.95rem;
}
table.compare th, table.compare td {
  padding: 0.95rem 1.1rem;
  text-align: center;
  border-bottom: 1px solid #f0eef8;
}
table.compare th {
  font-family: var(--font-head);
  color: var(--navy);
  background: var(--lav-wash);
  font-size: 0.92rem;
}
table.compare td:first-child, table.compare th:first-child {
  text-align: left;
  font-weight: 700;
  color: var(--navy);
}
table.compare tr.hl { background: var(--mint-light); }
table.compare tr.hl td { font-weight: 700; color: var(--navy); }
.tick { color: #1d9e68; font-weight: 800; }
.cross { color: #d9536b; font-weight: 800; }
.part { color: #c99a1f; font-weight: 800; }

/* ---------- Stat tiles ---------- */
.stat-tile {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.7rem 1.5rem;
  box-shadow: var(--shadow-soft);
  text-align: center;
}
.stat-tile .stat-num {
  font-family: var(--font-head); font-weight: 800;
  font-size: 2.2rem; color: var(--coral); line-height: 1.1;
}
.stat-tile .stat-label { font-size: 0.9rem; margin-top: 0.3rem; }

/* ---------- Promise table (privacy) ---------- */
.promise-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
@media (max-width: 720px) { .promise-grid { grid-template-columns: 1fr; } }
.promise-col { border-radius: var(--radius); padding: 2rem; }
.promise-col.do { background: var(--mint-light); }
.promise-col.dont { background: var(--pink-soft); }
.promise-col h3 { margin-bottom: 1rem; }
.promise-col ul { list-style: none; }
.promise-col li { padding: 0.5rem 0 0.5rem 2rem; position: relative; font-size: 0.98rem; }
.promise-col.do li::before { content: "✓"; position: absolute; left: 0; font-weight: 800; color: #1d7d52; }
.promise-col.dont li::before { content: "✗"; position: absolute; left: 0; font-weight: 800; color: var(--coral-dark); }

/* ---------- Roadmap ---------- */
.road-phase {
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
  padding: 2.2rem;
  margin-bottom: 2rem;
  position: relative;
}
.road-badge {
  display: inline-block;
  font-family: var(--font-head); font-weight: 800; font-size: 0.82rem;
  padding: 0.3rem 1rem; border-radius: 999px; margin-bottom: 0.8rem;
}
.rb-now { background: var(--mint); color: var(--navy); }
.rb-next { background: var(--yellow); color: var(--navy); }
.rb-later { background: var(--peri-light); color: var(--navy); }
.road-phase ul { margin: 0.8rem 0 0 1.2rem; }
.road-phase li { margin-bottom: 0.55rem; }

/* ---------- FAQ ---------- */
details.faq {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  margin-bottom: 1rem;
  padding: 1.15rem 1.5rem;
}
details.faq summary {
  font-family: var(--font-head); font-weight: 700; color: var(--navy);
  cursor: pointer; font-size: 1.02rem;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--coral); flex-shrink: 0; }
details.faq[open] summary::after { content: "–"; }
details.faq p { margin: 0.8rem 0 0.2rem; font-size: 0.97rem; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { margin-bottom: 0.6rem; }
.cta-band p { max-width: 560px; margin: 0 auto 1.8rem; }

/* ---------- Footer ---------- */
footer {
  background: var(--navy);
  color: #cfcdf0;
  padding: 0 0 2.5rem;
  position: relative;
}
.footer-wave { display: block; width: 100%; height: 80px; background: var(--paper); }
.footer-wave.on-lav { background: var(--lav-wash); }
.footer-wave.on-pink { background: var(--pink-soft); }
.footer-inner { padding-top: 3rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand .logo { color: #fff; margin-bottom: 0.8rem; }
.footer-brand p { font-size: 0.92rem; }
.footer-grid h4 { color: #fff; margin-bottom: 0.9rem; font-size: 0.98rem; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 0.55rem; }
.footer-grid a { color: #b6b3e0; font-size: 0.93rem; }
.footer-grid a:hover { color: #fff; }

.footer-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(255,255,255,0.1);
  border-radius: 999px;
  padding: 0.45rem 1.1rem;
  font-size: 0.85rem; font-weight: 700;
  margin-top: 0.6rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.6rem;
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; flex-wrap: wrap;
  font-size: 0.85rem;
  color: #9a97c8;
}
.footer-bottom a { color: #9a97c8; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  text-align: center;
  padding: 4rem 0 3rem;
  position: relative;
  overflow: hidden;
}
.page-hero p { max-width: 640px; margin: 1rem auto 0; font-size: 1.1rem; }

/* ---------- Utility ---------- */
.center { text-align: center; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; } .mb-2 { margin-bottom: 2rem; } .mb-3 { margin-bottom: 3rem; }

.pill-note {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: #fff; border-radius: 999px;
  box-shadow: var(--shadow-soft);
  padding: 0.5rem 1.3rem;
  font-family: var(--font-head); font-weight: 700; font-size: 0.9rem;
  color: var(--navy);
}

.mascot-row {
  display: flex; justify-content: center; gap: 2.5rem;
  flex-wrap: wrap; align-items: flex-end;
}
