@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Nunito:wght@400;500;600;700;800&display=swap');

:root {
  --coral: #D95B45;
  --coral-deep: #C2492F;
  --sage: #8BBF7A;
  --sage-deep: #5E9A55;
  --peach: #F4A88E;
  --butter: #F7D08A;
  --sky: #9CC8E8;
  --lavender: #C5B8E3;
  --blush: #F4B8C1;
  --cream: #FAF6F0;
  --surface: #FFFFFF;
  --ink: #2E3548;
  --soft: #5A6178;
  --mist: #EFE7DA;
  --shadow: 0 18px 40px -18px rgba(46,53,72,.22);
  --shadow-sm: 0 6px 18px -8px rgba(46,53,72,.18);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Nunito', sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* atmospheric background: soft warm blobs */
body::before {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40rem 30rem at 12% -8%, rgba(247,208,138,.35), transparent 60%),
    radial-gradient(36rem 28rem at 92% 4%, rgba(244,168,142,.30), transparent 60%),
    radial-gradient(44rem 34rem at 80% 92%, rgba(139,191,122,.22), transparent 62%),
    radial-gradient(38rem 30rem at 6% 88%, rgba(156,200,232,.22), transparent 60%);
}

.serif { font-family: 'Fraunces', Georgia, serif; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* nav */
nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(250,246,240,.78);
  border-bottom: 1px solid rgba(46,53,72,.06);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; max-width: 1120px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand .name { font-weight: 800; font-size: 20px; letter-spacing: -.01em; }
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--soft); font-weight: 600; font-size: 15px; transition: color .2s; }
.nav-links a:hover { color: var(--coral); }

/* logo mark */
.mark { width: 40px; height: 40px; border-radius: 11px; background: var(--coral); display: grid; place-items: center; box-shadow: var(--shadow-sm); flex: none; }
.mark svg { width: 24px; height: 24px; }

/* hero */
.hero { padding: 80px 0 56px; position: relative; }
.eyebrow { display: inline-block; font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--coral); background: rgba(217,91,69,.10); padding: 7px 14px; border-radius: 999px; }
.hero h1 { font-family: 'Fraunces', serif; font-weight: 600; font-size: clamp(40px, 7vw, 78px); line-height: 1.02; letter-spacing: -.02em; margin: 22px 0 0; }
.hero h1 em { font-style: italic; color: var(--coral); }
.hero .lede { font-size: clamp(17px, 2.2vw, 21px); color: var(--soft); max-width: 30em; margin: 22px 0 0; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; align-items: center; }

.badge-btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  background: var(--ink); color: #fff; padding: 13px 20px; border-radius: 14px; font-weight: 700;
  box-shadow: var(--shadow-sm); transition: transform .15s ease;
}
.badge-btn:hover { transform: translateY(-2px); }
.badge-btn small { display: block; font-weight: 600; font-size: 11px; opacity: .7; line-height: 1; }
.badge-btn b { font-size: 15px; line-height: 1.1; }
.badge-btn.soon { background: var(--surface); color: var(--soft); border: 1.5px dashed var(--mist); box-shadow: none; cursor: default; }

/* floating creature ring */
.creatures { display: flex; gap: 10px; margin-top: 46px; flex-wrap: wrap; }
.creatures img { width: 84px; height: 84px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); border: 3px solid #fff; animation: bob 5s ease-in-out infinite; }
.creatures img:nth-child(2){ animation-delay: .4s } .creatures img:nth-child(3){ animation-delay: .8s }
.creatures img:nth-child(4){ animation-delay: 1.2s } .creatures img:nth-child(5){ animation-delay: 1.6s }
.creatures img:nth-child(6){ animation-delay: 2s } .creatures img:nth-child(7){ animation-delay: 2.4s }
@keyframes bob { 0%,100%{ transform: translateY(0) } 50%{ transform: translateY(-9px) } }

/* sections */
section.block { padding: 64px 0; }
.kicker { font-family:'Fraunces',serif; font-weight: 600; font-size: clamp(28px, 4vw, 44px); letter-spacing: -.02em; }
.sub { color: var(--soft); font-size: 18px; max-width: 34em; margin-top: 12px; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 40px; }
.card { background: var(--surface); border-radius: 22px; padding: 28px; box-shadow: var(--shadow); border: 1px solid rgba(46,53,72,.04); transition: transform .2s ease; }
.card:hover { transform: translateY(-4px); }
.card .ic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; font-size: 24px; margin-bottom: 16px; }
.card h3 { font-size: 20px; font-weight: 800; }
.card p { color: var(--soft); margin-top: 8px; font-size: 15px; }

/* promise band */
.promise { background: linear-gradient(135deg, var(--coral), var(--coral-deep)); color: #fff; border-radius: 30px; padding: 56px 40px; text-align: center; margin: 24px 0; box-shadow: var(--shadow); }
.promise .serif { font-size: clamp(26px, 4vw, 40px); font-weight: 500; line-height: 1.2; max-width: 18em; margin: 0 auto; }
.promise p { opacity: .9; margin-top: 16px; }

/* footer */
footer { padding: 48px 0; border-top: 1px solid rgba(46,53,72,.08); margin-top: 40px; }
.foot-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; align-items: center; }
footer a { color: var(--soft); text-decoration: none; font-weight: 600; }
footer a:hover { color: var(--coral); }
.foot-links { display: flex; gap: 24px; flex-wrap: wrap; }
.muted { color: var(--soft); font-size: 14px; }

/* simple centered pages (join / kid / privacy hero) */
.center-page { min-height: 70vh; display: grid; place-items: center; padding: 60px 24px; text-align: center; }
.center-card { background: var(--surface); border-radius: 28px; padding: 44px 36px; box-shadow: var(--shadow); max-width: 460px; width: 100%; }
.code-chip { font-family:'Fraunces',serif; font-size: 34px; font-weight: 700; letter-spacing: 6px; color: var(--coral); background: var(--cream); border-radius: 16px; padding: 14px 20px; display: inline-block; margin: 18px 0; }
.btn-primary { display: inline-block; background: var(--coral); color:#fff; text-decoration:none; font-weight:800; padding: 15px 26px; border-radius: 16px; box-shadow: var(--shadow-sm); transition: transform .15s; }
.btn-primary:hover { transform: translateY(-2px); }

/* reveal on load */
.reveal { opacity: 0; transform: translateY(16px); animation: rise .7s cubic-bezier(.2,.7,.2,1) forwards; }
.reveal.d1 { animation-delay: .08s } .reveal.d2 { animation-delay: .16s } .reveal.d3 { animation-delay: .24s } .reveal.d4 { animation-delay: .32s }
@keyframes rise { to { opacity: 1; transform: none; } }

@media (max-width: 640px){ .nav-links { display:none; } .hero { padding-top: 48px; } }

/* ---- landing v2 additions ---- */

/* strong supporting line under the lede */
.lede-strong { font-family:'Fraunces',serif; font-weight:600; font-size: clamp(18px,2.2vw,22px); color: var(--coral-deep); margin-top: 14px; letter-spacing:-.01em; }

/* active waitlist button sits beside the coming-soon badges */
.cta-row .btn-primary { padding: 14px 24px; }

/* two-column layout (problem / kids / avatars) */
.split2 { display:grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.split2-align { align-items: center; gap: 44px; }
@media (max-width: 760px){ .split2 { grid-template-columns: 1fr; } .split2-rev > *:first-child { order: 2; } }

/* numbered how-it-works steps */
.steps { display:grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 20px; margin-top: 40px; }
.step { position: relative; background: var(--surface); border-radius: 22px; padding: 30px 28px 28px; box-shadow: var(--shadow); border: 1px solid rgba(46,53,72,.04); transition: transform .2s ease; }
.step:hover { transform: translateY(-4px); }
.step-n { position:absolute; top:-14px; left:24px; width:34px; height:34px; border-radius:50%; background:var(--coral); color:#fff; font-family:'Fraunces',serif; font-weight:700; font-size:17px; display:grid; place-items:center; box-shadow:var(--shadow-sm); }
.step .ic { width:50px; height:50px; border-radius:14px; display:grid; place-items:center; font-size:24px; margin: 6px 0 16px; }
.step h3 { font-size:19px; font-weight:800; }
.step p { color:var(--soft); margin-top:8px; font-size:15px; }

/* soft tinted band: invisible load */
.band { background: linear-gradient(135deg, #F3EFE6, #FBF4E9); border:1px solid rgba(46,53,72,.05); border-radius:30px; padding: 52px 44px; text-align:center; box-shadow: var(--shadow-sm); margin: 16px 0; }
.band-title { font-size: clamp(26px,4vw,40px); font-weight:600; letter-spacing:-.02em; }
.band-lede { color:var(--soft); font-size:18px; max-width: 40em; margin: 14px auto 0; }
.chips { display:flex; flex-wrap:wrap; gap:10px; justify-content:center; margin-top: 28px; }
.chip { background: var(--surface); color: var(--ink); font-weight:700; font-size:14px; padding:9px 16px; border-radius:999px; box-shadow: var(--shadow-sm); border:1px solid rgba(46,53,72,.05); }

/* kids + avatars imagery */
.kids-img { width:100%; border-radius:24px; box-shadow:var(--shadow); }
.kids-promise { color:var(--ink); font-weight:700; margin-top:16px; font-size:16px; line-height:1.5; }

/* avatar cluster with reward frames */
.avatar-cluster { display:grid; grid-template-columns: repeat(3, 1fr); gap:18px; padding: 8px; }
.av { display:grid; place-items:center; aspect-ratio:1; border-radius:50%; padding:5px; box-shadow: var(--shadow-sm); animation: bob 5s ease-in-out infinite; }
.av img { width:100%; height:100%; border-radius:50%; background:#fff; display:block; }
.av-coral { background: var(--coral); } .av-sky { background: var(--sky); } .av-lav { background: var(--lavender); }
.av-sage { background: var(--sage); } .av-butter { background: var(--butter); } .av-blush { background: var(--blush); }
.avatar-cluster .av:nth-child(2){ animation-delay:.4s } .avatar-cluster .av:nth-child(3){ animation-delay:.8s }
.avatar-cluster .av:nth-child(4){ animation-delay:1.2s } .avatar-cluster .av:nth-child(5){ animation-delay:1.6s } .avatar-cluster .av:nth-child(6){ animation-delay:2s }

/* waitlist */
.waitlist { background: var(--surface); border-radius:30px; padding: 52px 40px; text-align:center; box-shadow: var(--shadow); border:1px solid rgba(46,53,72,.04); margin: 16px 0; }
.waitlist-title { font-size: clamp(26px,4vw,38px); font-weight:600; letter-spacing:-.02em; }
.waitlist-sub { color:var(--soft); font-size:17px; max-width: 32em; margin: 12px auto 0; }
.waitlist-form { display:flex; flex-wrap:wrap; gap:12px; justify-content:center; margin: 26px auto 0; max-width: 480px; }
.waitlist-form input[type=email] { flex:1; min-width: 220px; font-family:'Nunito',sans-serif; font-size:16px; padding:14px 18px; border-radius:14px; border:1.5px solid var(--mist); background:var(--cream); color:var(--ink); outline:none; transition:border-color .2s; }
.waitlist-form input[type=email]:focus { border-color: var(--coral); }
.waitlist-form .btn-primary { border:none; cursor:pointer; font-family:'Nunito',sans-serif; font-size:16px; }
.waitlist-note { color:var(--soft); font-size:14px; margin-top:18px; }
.hp { position:absolute; left:-9999px; }

/* screenshot showcase on soft pastel stages (echoes the store screenshots) */
.shots { display:grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; align-items:start; }
@media (max-width: 760px){ .shots { grid-template-columns: 1fr; max-width: 360px; margin-left:auto; margin-right:auto; } }
.shot { margin:0; text-align:center; border-radius: 28px; padding: 32px 22px 26px; }
.shot:nth-child(1){ background:#EAF3E6; }   /* sage */
.shot:nth-child(2){ background:#FBE7EA; }   /* blush */
.shot:nth-child(3){ background:#FCEFD6; }   /* butter */
.shot .phone { max-width: 248px; margin: 0 auto; }
.shot figcaption { color:var(--soft); font-size:15px; margin-top:20px; max-width:24em; margin-left:auto; margin-right:auto; }

/* soft light phone frame (no dark bezel) */
.phone { background:#fff; border-radius: 34px; padding: 9px; box-shadow: 0 20px 44px -22px rgba(46,53,72,.34); border:1px solid rgba(255,255,255,.9); }
.phone img { display:block; width:100%; border-radius: 26px; }

/* pastel stage behind a single phone (e.g. Kids Mode) */
.phone-stage { border-radius: 32px; padding: 34px 28px; }
.stage-sky { background:#E7F1FA; }
.kids-phone { max-width: 286px; margin: 0 auto; }
