/* Hushlet — palette sampled from the logo (peach + sheep) and banner (cream, gold stars, cocoa type) */
:root {
  --peach: #FFB19E;
  --peach-soft: #FFE3D9;
  --peach-deep: #F2907A;
  --cream: #FDF8F4;
  --wool: #F7EEDD;
  --face: #FCE0C8;
  --cheek: #F6A99A;
  --gold: #FBC23B;
  --cocoa: #3A1610;
  --cocoa-soft: #6B4A42;
  --night: #2E1F2A;
  --night-2: #3D2A36;
  --white: #fff;
  --radius: 22px;
  --shadow: 0 10px 30px rgba(58, 22, 16, .08);
  --font-head: "Fredoka", "Nunito", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--cocoa);
  background: var(--cream);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--peach-deep); font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--cocoa); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.container { width: min(1140px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); }
.muted { color: var(--cocoa-soft); }
.small { font-size: .9rem; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--cocoa); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* Buttons & badges */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  font: 700 1rem var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 8px 18px; font-size: .95rem; }
.btn-dark { background: var(--cocoa); color: var(--cream); }
.btn-dark:hover { color: var(--cream); box-shadow: 0 8px 20px rgba(58,22,16,.25); }
.btn-ghost { border-color: var(--cocoa); color: var(--cocoa); background: transparent; }
.btn-ghost:hover { background: var(--cocoa); color: var(--cream); }

.play-badge {
  display: inline-flex; align-items: center; gap: 12px;
  background: #000; color: #fff; text-decoration: none;
  padding: 10px 22px 10px 16px; border-radius: 14px;
  border: 1px solid #9a9a9a; transition: transform .15s ease, box-shadow .15s ease;
}
.play-badge:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.25); }
.play-badge span { display: flex; flex-direction: column; font: 500 1.35rem/1.05 var(--font-head); letter-spacing: .01em; }
.play-badge small { font: 700 .62rem var(--font-body); letter-spacing: .08em; }
.play-icon { width: 28px; height: 30px; flex: none; }
.play-badge-sm { padding: 8px 18px 8px 12px; margin-top: 8px; }
.play-badge-sm span { font-size: 1.1rem; }
.play-badge-light { border-color: rgba(255,255,255,.4); }

.eyebrow {
  display: inline-block; margin-bottom: 12px; padding: 4px 14px; border-radius: 999px;
  background: var(--peach-soft); color: var(--cocoa);
  font: 800 .8rem var(--font-body); letter-spacing: .08em; text-transform: uppercase;
}
.eyebrow-gold { background: rgba(251,194,59,.18); color: var(--gold); }
.hl { color: var(--peach-deep); position: relative; white-space: nowrap; }
.hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: .05em; height: .28em; background: rgba(251,194,59,.45); border-radius: 6px; z-index: -1; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(253,248,244,.85); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(58,22,16,.06);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--cocoa); text-decoration: none; font: 600 1.5rem var(--font-head); }
.brand img { border-radius: 12px; }
.nav-menu { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-menu a:not(.btn) { color: var(--cocoa); text-decoration: none; font-weight: 700; }
.nav-menu a:not(.btn):hover { color: var(--peach-deep); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; margin: 5px 0; background: var(--cocoa); border-radius: 2px; transition: .2s; }

/* Sky decorations */
.sky { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.star { position: absolute; width: 26px; height: 26px; background: var(--gold);
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  animation: twinkle 3.5s ease-in-out infinite; }
.star::before { content: ""; position: absolute; left: 50%; bottom: 100%; width: 1.5px; height: 200px; background: #E9D6BF; }
.s1 { top: 120px; left: 6%; }
.s2 { top: 60px; left: 46%; width: 18px; height: 18px; animation-delay: .8s; }
.s3 { top: 180px; right: 8%; width: 20px; height: 20px; animation-delay: 1.6s; }
.s4 { top: 70%; left: 92%; width: 14px; height: 14px; animation-delay: 2.2s; }
.cloud { position: absolute; width: 120px; height: 40px; background: var(--wool); border-radius: 40px; opacity: .9; animation: drift 9s ease-in-out infinite; }
.cloud::before, .cloud::after { content: ""; position: absolute; background: inherit; border-radius: 50%; }
.cloud::before { width: 56px; height: 56px; left: 18px; top: -28px; }
.cloud::after { width: 42px; height: 42px; left: 62px; top: -18px; }
.c1 { top: 70px; left: 22%; }
.c2 { top: 300px; right: 3%; transform: scale(.8); animation-delay: 2s; }
@keyframes twinkle { 50% { transform: scale(.82) rotate(8deg); opacity: .75; } }
@keyframes drift { 50% { translate: 18px 0; } }
@keyframes bob { 50% { transform: translateY(-10px) rotate(-3deg); } }

/* Hero */
.hero { position: relative; padding: 72px 0 96px; background: radial-gradient(1200px 500px at 85% 20%, var(--peach-soft), transparent 70%), var(--cream); overflow: hidden; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.lead { font-size: 1.18rem; color: var(--cocoa-soft); max-width: 36em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin: 28px 0 22px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 0; font-weight: 700; color: var(--cocoa-soft); }
.hero-points li::before { content: "★"; color: var(--gold); margin-right: 6px; }
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-sheep { position: absolute; left: calc(50% - 240px); bottom: 10px; width: 124px; border-radius: 32px; box-shadow: var(--shadow); animation: bob 4s ease-in-out infinite; }

/* Phone mockup */
.phone { width: 300px; padding: 14px; border-radius: 44px; background: var(--cocoa); box-shadow: 0 30px 60px rgba(58,22,16,.25); position: relative; }
.phone-notch { position: absolute; top: 14px; left: 50%; translate: -50% 0; width: 110px; height: 22px; background: var(--cocoa); border-radius: 0 0 14px 14px; z-index: 2; }
.app { background: var(--cream); border-radius: 32px; padding: 40px 16px 18px; min-height: 540px; }
.app-top { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.app-top img { border-radius: 10px; }
.app-top strong { display: block; font-family: var(--font-head); font-weight: 600; }
.app-top small { color: var(--cocoa-soft); font-size: .8rem; }
.app-predict { background: var(--peach); border-radius: 20px; padding: 16px; margin-bottom: 14px; }
.app-predict small { display: block; font-size: .78rem; font-weight: 700; }
.app-predict strong { display: block; font: 600 2.2rem/1.1 var(--font-head); margin: 4px 0 10px; }
.bar { height: 8px; border-radius: 8px; background: rgba(255,255,255,.55); margin-bottom: 8px; overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--cocoa); border-radius: 8px; }
.app-log { list-style: none; padding: 0; margin: 0 0 14px; background: #fff; border-radius: 18px; }
.app-log li { display: flex; align-items: center; gap: 10px; padding: 11px 14px; font-size: .88rem; font-weight: 700; }
.app-log li + li { border-top: 1px solid #f2e9e2; }
.app-log span { flex: 1; }
.app-log em { font-style: normal; color: var(--cocoa-soft); font-weight: 600; font-size: .8rem; }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot-sleep { background: #8C7BB8; } .dot-feed { background: var(--peach-deep); } .dot-diaper { background: #7FC4B8; } .dot-grow { background: var(--gold); }
.app-sync { display: flex; align-items: center; gap: 4px; font-size: .78rem; font-weight: 700; color: var(--cocoa-soft); background: var(--wool); padding: 10px 12px; border-radius: 14px; }
.avatar { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--cheek); color: #fff; font-size: .72rem; }
.avatar.a2 { background: #8C7BB8; margin-left: -10px; margin-right: 6px; border: 2px solid var(--wool); }

/* Sections */
.section { padding: 96px 0; position: relative; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-head p:last-child { color: var(--cocoa-soft); font-size: 1.1rem; }
.section-soft { background: var(--wool); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); transition: transform .2s ease; }
.card:hover { transform: translateY(-4px); }
.card p { color: var(--cocoa-soft); margin: 0; }
.card-flat { box-shadow: none; border: 2px solid rgba(58,22,16,.06); }
.card-icon { width: 56px; height: 56px; display: grid; place-items: center; font-size: 1.6rem; border-radius: 18px; margin-bottom: 16px; }
.ic-sleep { background: #ECE6F7; } .ic-feed { background: var(--peach-soft); } .ic-diaper { background: #DDF2EE; }
.ic-grow { background: #FFF1CC; } .ic-insight { background: #E3EEFB; } .ic-more { background: var(--face); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; position: relative; }
.split-rev > :first-child { order: 0; }
.section-night { background: linear-gradient(180deg, var(--night), var(--night-2)); color: var(--cream); overflow: hidden; }
.section-night p { color: #E7D9D2; }
.section-night .star::before { background: rgba(255,255,255,.15); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.steps li { display: flex; gap: 18px; align-items: flex-start; padding: 22px; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.steps h3 { margin-bottom: 4px; color: #fff; }
.steps p { margin: 0; }
.step-num { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--cocoa); font: 700 1.2rem var(--font-head); }

.banner-figure { margin: 0; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); background: var(--cream); }
.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.checks li { font-weight: 700; padding-left: 32px; position: relative; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--peach); display: grid; place-items: center; font-size: .8rem; }

.faq details { background: #fff; border-radius: 18px; margin-bottom: 12px; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 24px; font: 600 1.1rem var(--font-head); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; translate: 0 -50%; width: 28px; height: 28px; border-radius: 50%; background: var(--peach-soft); display: grid; place-items: center; font-size: 1.2rem; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 20px; margin: 0; color: var(--cocoa-soft); }

.cta-band { padding: 72px 0; }
.cta-inner { display: flex; align-items: center; gap: 28px; background: var(--peach); border-radius: 32px; padding: 40px 44px; }
.cta-inner img { border-radius: 24px; box-shadow: var(--shadow); }
.cta-inner > div { flex: 1; }
.cta-inner h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 6px; }
.cta-inner p { margin: 0; }

/* Inner pages */
.page-hero { padding: 64px 0 40px; background: radial-gradient(800px 300px at 80% 0%, var(--peach-soft), transparent 70%); }
.crumbs { font-size: .9rem; margin-bottom: 14px; color: var(--cocoa-soft); }
.crumbs a { color: var(--cocoa-soft); }
.legal { padding-top: 24px; }
.prose h2 { margin-top: 2em; font-size: 1.6rem; scroll-margin-top: 90px; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose code { background: var(--wool); padding: 2px 8px; border-radius: 6px; font-size: .9em; }
.toc { background: #fff; border-radius: var(--radius); padding: 20px 28px; box-shadow: var(--shadow); margin: 28px 0; }
.toc ol { margin: 0; columns: 2; }
.toc a { color: var(--cocoa); }

.options { display: grid; gap: 16px; }
.option { background: #fff; border-radius: var(--radius); padding: 22px 26px; box-shadow: var(--shadow); }
.option ol { margin: 10px 0 0; }
.badge { display: inline-block; background: var(--peach-soft); padding: 4px 12px; border-radius: 999px; font-weight: 800; font-size: .85rem; }
.data-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.data-box { border-radius: var(--radius); padding: 22px 26px; }
.data-box h3 { margin-top: 0; }
.data-deleted { background: var(--peach-soft); }
.data-kept { background: var(--wool); }
.note { margin-top: 22px; padding: 20px 24px; border-left: 5px solid var(--gold); background: #FFF8E6; border-radius: 0 16px 16px 0; }
.note p:last-child { margin: 0; }

.form { background: #fff; border-radius: 28px; padding: 32px; box-shadow: var(--shadow); display: grid; gap: 18px; margin-bottom: 16px; }
.field { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; }
.field label, .field legend { font-weight: 800; }
.field legend { margin-bottom: 6px; }
.form input[type=email], .form input[type=text], .form textarea {
  width: 100%; padding: 13px 16px; font: 1rem var(--font-body); color: var(--cocoa);
  background: var(--cream); border: 2px solid #EFE2D8; border-radius: 14px; transition: border-color .15s;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--peach-deep); }
.radio, .checkbox { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; cursor: pointer; }
.radio input, .checkbox input { accent-color: var(--peach-deep); width: 18px; height: 18px; margin-top: 4px; flex: none; }
.error { display: none; color: #C0392B; font-weight: 700; }
.invalid .error, .error.show { display: block; }
.invalid input { border-color: #E07A6A !important; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.form-status { margin: 0; font-weight: 700; }
.form-status.ok { color: #2E7D5B; }
.form-status.fail { color: #C0392B; }
.form .btn { justify-self: start; }

.notfound { text-align: center; padding: 96px 0; }
.notfound img { margin: 0 auto 20px; border-radius: 36px; }

/* Footer */
.site-footer { background: var(--cocoa); color: #E7D9D2; padding: 64px 0 28px; margin-top: 0; }
.site-footer .brand { color: var(--cream); }
.site-footer .muted { color: #CDB9B0; margin-top: 12px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer-title { font-size: 1.05rem; color: var(--peach); margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a:not(.brand):not(.play-badge) { color: #E7D9D2; font-weight: 600; text-decoration: none; }
.site-footer a:not(.brand):not(.play-badge):hover { color: var(--peach); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 22px; font-size: .85rem; color: #B7A39A; }
.footer-bottom p { margin: 0; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .hero { padding-top: 48px; }
  .hero-copy { text-align: center; }
  .hero-cta, .hero-points { justify-content: center; }
  .lead { margin-inline: auto; }
  .cards, .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-inner { flex-direction: column; text-align: center; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); padding: 8px 16px 20px; border-bottom: 1px solid rgba(58,22,16,.08);
    display: none;
  }
  .nav-menu.open { display: flex; }
  .nav-menu li a:not(.btn) { display: block; padding: 12px 4px; }
  .nav-menu .btn { margin-top: 8px; width: 100%; }
  .nav-toggle[aria-expanded=true] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle[aria-expanded=true] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded=true] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .section { padding: 72px 0; }
  .cards, .cards-4, .data-grid, .checks { grid-template-columns: 1fr; }
  .toc ol { columns: 1; }
  .form { padding: 22px; }
  .phone { width: 270px; }
  .hero-sheep { width: 90px; left: calc(50% - 175px); }
  .c1, .s2, .hero .star { display: none; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .cta-inner { padding: 32px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
