/* babytalk.au landing site. Same brand as the app: cream canvas, coral accent,
   Fredoka for headings and Nunito for body. No external requests. */
@font-face { font-family: 'Fredoka'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/fonts/fredoka-latin.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/fonts/nunito-latin.woff2') format('woff2'); }

:root {
  --canvas: #FFF8EE; --card: #FFFFFF; --ink: #2B2440; --muted: #6E6A80; --line: #EFE6DA;
  --primary: #FF6B6B; --primary-dark: #E85555; --sun: #FFD166; --sky: #4ECDC4; --lav: #A78BFA;
  --radius: 28px; --radius-sm: 18px;
  --shadow: 0 6px 0 rgba(43, 36, 64, .06), 0 14px 32px rgba(43, 36, 64, .10);
  --display: 'Fredoka', 'Segoe UI Rounded', system-ui, sans-serif;
  --body: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.55; }
img { max-width: 100%; display: block; }
a { color: var(--primary-dark); }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.1; margin: 0 0 12px; }
h1 { font-size: clamp(38px, 7vw, 64px); letter-spacing: -.01em; }
h2 { font-size: clamp(28px, 4.5vw, 40px); }
h3 { font-size: 22px; }
p { margin: 0 0 14px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
section { padding: 64px 0; }
.kicker { display: inline-block; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; font-size: 12px; color: var(--primary-dark); margin-bottom: 10px; }
.lead { font-size: 20px; color: var(--muted); max-width: 640px; }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(255, 248, 238, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 12px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--display); font-weight: 600; font-size: 22px; }
.brand .mark { width: 40px; height: 40px; background: var(--primary); border-radius: 13px; padding: 3px; }
.brand-t { display: flex; flex-direction: column; line-height: 1; }
.brand-t small { font-size: 11px; font-weight: 600; color: var(--primary-dark); letter-spacing: .12em; text-transform: uppercase; margin-top: 3px; }
.nav { margin-left: auto; display: flex; gap: 6px; align-items: center; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 700; padding: 8px 12px; border-radius: 999px; }
.nav a:hover { background: #fff; }
@media (max-width: 720px) { .nav a.hide-sm { display: none; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 22px; border-radius: 999px; background: var(--primary); color: #fff; font-family: var(--display); font-weight: 600; font-size: 19px; text-decoration: none; box-shadow: var(--shadow); transition: transform .12s ease; }
.btn:hover { transform: translateY(-1px); }
.btn.secondary { background: var(--card); color: var(--ink); }
.btn.small { min-height: 44px; font-size: 17px; padding: 0 18px; box-shadow: none; }

/* hero */
.hero { padding: 56px 0 32px; }
.hero .wrap { display: grid; gap: 40px; grid-template-columns: 1.1fr .9fr; align-items: center; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 18px; }
.stats { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-weight: 700; }
.stats b { color: var(--ink); font-family: var(--display); font-size: 22px; font-weight: 600; margin-right: 4px; }

/* phone mockup built from real app cards */
.phone { width: min(360px, 100%); margin: 0 auto; background: #2B2440; border-radius: 44px; padding: 14px; box-shadow: 0 30px 60px rgba(43, 36, 64, .25); }
.screen { background: var(--canvas); border-radius: 32px; overflow: hidden; }
.screen-top { display: flex; align-items: center; gap: 8px; padding: 14px 16px; border-bottom: 1px solid var(--line); font-family: var(--display); font-weight: 600; font-size: 18px; }
.screen-top .dot { width: 30px; height: 30px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.08); display: inline-flex; align-items: center; justify-content: center; }
.screen-top .dot svg { width: 16px; height: 16px; }
.screen-top small { display: block; font-size: 12px; font-weight: 500; color: var(--muted); }
.screen-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px; }
.card { background: #fff; border: 4px solid var(--tint, #FFF9C4); border-radius: 22px; padding: 12px 8px 10px; text-align: center; box-shadow: 0 4px 0 rgba(43,36,64,.05); }
.card img { width: 58%; margin: 0 auto 6px; }
.card .l1 { font-family: var(--display); font-weight: 600; font-size: 19px; line-height: 1.1; }
.card .l2 { font-family: var(--display); font-weight: 500; font-size: 15px; color: var(--muted); }
.screen-bar { display: flex; justify-content: center; gap: 10px; padding: 8px 12px 16px; }
.pill { border-radius: 999px; padding: 8px 14px; font-family: var(--display); font-weight: 600; font-size: 14px; background: #fff; box-shadow: 0 3px 8px rgba(43,36,64,.08); }
.pill.on { background: var(--primary); color: #fff; }

/* feature grid */
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.feature { background: var(--card); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.feature .ic { width: 56px; height: 56px; border-radius: 18px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.feature .ic img { width: 36px; }
.ic.t1 { background: #FFE0B2; } .ic.t2 { background: #BBDEFB; } .ic.t3 { background: #F8BBD0; } .ic.t4 { background: #C8E6C9; } .ic.t5 { background: #B2DFDB; } .ic.t6 { background: #D1C4E9; }
.feature p { color: var(--muted); margin: 0; }

/* languages + categories */
.langs { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.lang { background: var(--card); border-radius: var(--radius-sm); padding: 14px 16px; box-shadow: var(--shadow); }
.lang b { display: block; font-family: var(--display); font-weight: 600; font-size: 20px; }
.lang span { color: var(--muted); font-weight: 700; font-size: 14px; }
.lang .tag { display: inline-block; margin-top: 6px; font-size: 11px; font-weight: 800; letter-spacing: .08em; padding: 2px 8px; border-radius: 999px; background: var(--sun); color: var(--ink); }
.lang .tag.free { background: var(--sky); color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; background: var(--card); border-radius: 999px; padding: 8px 14px 8px 8px; font-weight: 700; box-shadow: 0 3px 10px rgba(43,36,64,.08); }
.chip img { width: 28px; height: 28px; }

/* steps */
.steps { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); counter-reset: step; }
.step { background: var(--card); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.step::before { counter-increment: step; content: counter(step); display: inline-flex; width: 40px; height: 40px; border-radius: 50%; background: var(--sun); font-family: var(--display); font-weight: 600; font-size: 20px; align-items: center; justify-content: center; margin-bottom: 12px; }
.step p { color: var(--muted); margin: 0; }

/* pricing */
.plans { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); max-width: 760px; }
.plan { background: var(--card); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); border: 3px solid transparent; }
.plan.pro { border-color: var(--sun); background: #FFFBEB; }
.price { font-family: var(--display); font-weight: 600; font-size: 40px; margin: 6px 0 2px; }
.price span { font-size: 18px; color: var(--muted); font-weight: 500; }
.plan ul { padding-left: 20px; margin: 12px 0 18px; font-weight: 600; }
.plan li { margin: 4px 0; }
.note { color: var(--muted); font-size: 15px; }
.plan-note { margin-top: 12px; }
.lost { margin: 30px auto 10px; }
.lead.centered { margin: 0 auto 24px; }

/* faq */
.faq details { background: var(--card); border-radius: var(--radius-sm); box-shadow: var(--shadow); margin-bottom: 10px; padding: 0 20px; }
.faq summary { cursor: pointer; font-family: var(--display); font-weight: 600; font-size: 19px; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--primary); font-size: 26px; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--muted); padding-bottom: 16px; margin: 0; }

/* install band */
.band { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 36px; display: grid; gap: 24px; grid-template-columns: 1fr 1fr; }
@media (max-width: 720px) { .band { grid-template-columns: 1fr; padding: 26px; } }
.band h3 { color: var(--sun); }
.band ol { margin: 0; padding-left: 20px; }
.band li { margin: 6px 0; }
.band a { color: #fff; }

/* page (privacy/terms) */
.page { max-width: 760px; margin: 0 auto; padding: 40px 20px 70px; }
.page h2 { font-size: 24px; margin-top: 28px; }
.page .date { color: var(--muted); font-size: 14px; margin-top: 28px; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 36px 0 50px; color: var(--muted); font-size: 15px; }
footer .wrap { display: grid; gap: 18px; grid-template-columns: 1fr auto; align-items: start; }
@media (max-width: 720px) { footer .wrap { grid-template-columns: 1fr; } }
footer nav a { color: var(--ink); font-weight: 700; text-decoration: none; margin-right: 16px; }
footer p { margin: 4px 0; }

.center { text-align: center; }
.mt { margin-top: 26px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
