@font-face { font-family: "Baloo 2"; font-weight: 800; font-display: swap; src: url(/fonts/Baloo2-ExtraBold.ttf) format("truetype"); }
@font-face { font-family: "Nunito"; font-weight: 400; font-display: swap; src: url(/fonts/Nunito-Regular.ttf) format("truetype"); }
@font-face { font-family: "Nunito"; font-weight: 700; font-display: swap; src: url(/fonts/Nunito-Bold.ttf) format("truetype"); }

:root {
  --ink: #1B1824; --text: #4F5A57; --mint: #C9F3E3; --sky: #E4FAF1; --bg: #F6FAF8; --soft: #EEF5F2;
  --green: #3DB98A; --hill: #6FD5A6; --deep: #1F8A68; --coral: #FF9C7A; --sun: #FFC93C; --white: #fff;
  --head: "Baloo 2", "Avenir Next", system-ui, sans-serif; --body: "Nunito", "Avenir Next", system-ui, sans-serif;
  --radius: 28px; --wrap: 1120px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 18px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--deep); }
h1, h2, h3 { font-family: var(--head); font-weight: 800; line-height: 1.02; letter-spacing: -0.01em; margin: 0 0 .3em; color: var(--ink); }
/* Baloo 2 tops out at 800: a stroke in the same color makes the big titles read as black weight. */
h1, h2 { -webkit-text-stroke: .045em currentColor; paint-order: stroke fill; letter-spacing: -0.005em; }
h1 { font-size: clamp(44px, 7vw, 80px); }
h2 { font-size: clamp(36px, 5.2vw, 62px); }
h3 { font-size: 26px; line-height: 1.1; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(18px, 2vw, 22px); color: var(--text); max-width: 34ch; margin-inline: auto; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.center { text-align: center; }

/* Header */
.top { position: absolute; inset: 0 0 auto; z-index: 10; display: flex; justify-content: space-between; align-items: center; max-width: var(--wrap); margin: 0 auto; padding: 22px 24px; }
.logo { font: 800 26px/1 var(--head); letter-spacing: .04em; color: var(--ink); text-decoration: none; }
.pill { background: var(--white); color: var(--ink); font-weight: 700; font-size: 15px; text-decoration: none; padding: 9px 18px; border-radius: 99px; box-shadow: 0 2px 10px rgb(0 0 0 / .08); }
.t-article .top, .t-page .top, .t-faq .top { position: static; }

/* Store buttons */
.badges { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 22px 0 10px; }
.badge { display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 18px 0 14px; background: #000; color: #fff; text-decoration: none; border: 1.5px solid #A6A6A6; border-radius: 12px; transition: transform .15s; }
.badge svg { width: 26px; height: 30px; flex-shrink: 0; }
.badge span { display: flex; flex-direction: column; align-items: flex-start; font: 600 23px/1 -apple-system, "SF Pro Display", "Helvetica Neue", Arial, sans-serif; letter-spacing: -.02em; }
.badge small { font: 500 11px/1.2 -apple-system, "SF Pro Text", "Helvetica Neue", Arial, sans-serif; letter-spacing: .01em; margin-bottom: 2px; }
.badge:hover { transform: translateY(-2px); }
.fine { font-size: 14px; font-weight: 700; color: var(--text); }

/* Phone frame */
.phone { width: min(300px, 70vw); border-radius: 46px; padding: 10px; background: var(--ink); box-shadow: 0 30px 60px -20px rgb(27 24 36 / .45); position: relative; }
.phone img { border-radius: 37px; width: 100%; }
.phone.sm { width: min(230px, 60vw); border-radius: 38px; padding: 8px; }
.phone.sm img { border-radius: 31px; }

/* Hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--mint) 0%, var(--sky) 60%, var(--bg) 100%); padding: 120px 24px 0; text-align: center; }
.hero h1, .hero .lead, .hero .badges, .hero .fine { position: relative; z-index: 1; }
.hero h1 { max-width: 12ch; margin-inline: auto; font-size: clamp(50px, 8.4vw, 100px); line-height: .95; }
.cloud { position: absolute; background: var(--white); border-radius: 99px; height: 38px; }
.cloud::before, .cloud::after { content: ""; position: absolute; background: var(--white); border-radius: 50%; }
.cloud::before { width: 46%; aspect-ratio: 1; left: 16%; bottom: 40%; }
.cloud::after { width: 32%; aspect-ratio: 1; right: 14%; bottom: 30%; }
.cloud.c1 { width: 150px; top: 140px; left: 6%; }
.cloud.c2 { width: 110px; top: 260px; right: 8%; }
/* The phone sinks into the hill halfway, like it's standing in the grass. */
.hero-stage { position: relative; max-width: 900px; height: 610px; margin: 44px auto 0; display: flex; justify-content: center; }
.hero-stage .phone { z-index: 2; align-self: flex-start; }

/* Live phone screen (the {{screen}} partial) */
.phone.live .screen { position: relative; aspect-ratio: 1206 / 2622; border-radius: 37px; overflow: hidden; background: url(/img/scene.svg) center / cover; }
.screen-top { display: flex; justify-content: space-between; align-items: center; padding: 34px 16px 0; }
.screen-top b { font: 800 17px/1 var(--head); letter-spacing: .04em; }
.screen-top span { background: var(--white); border-radius: 99px; padding: 5px 10px; font-size: 11px; font-weight: 700; }
.phone .screen-clic { border-radius: 0; position: absolute; left: 50%; top: 12%; width: 84%; transform: translateX(-50%); }
.screen-time { position: absolute; top: 58%; left: 0; right: 0; text-align: center; }
.screen-time b { display: block; font: 800 50px/1 var(--head); color: var(--white); -webkit-text-stroke: 6px var(--ink); paint-order: stroke fill; }
.screen-time span { font-weight: 700; font-size: 13px; }
.float { position: absolute; z-index: 3; background: var(--white); border-radius: 22px; padding: 14px 16px; width: 250px; text-align: left; font-size: 14px; line-height: 1.4; box-shadow: 0 18px 40px -14px rgb(27 24 36 / .3); animation: bob 6s ease-in-out infinite; }
.float .k { display: flex; justify-content: space-between; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text); margin-bottom: 4px; }
.float strong { display: block; font-size: 15px; }
.float.l { left: 0; top: 90px; }
.float.r { right: 0; top: 300px; animation-delay: -3s; }
.float .stats { display: flex; gap: 14px; margin-top: 6px; }
.float .stats b { display: block; font: 800 24px/1 var(--head); }
.float .tag { border: 1px solid #d5ddd9; border-radius: 6px; padding: 0 5px; font-size: 9px; }
.float .k span:first-child { display: flex; gap: 6px; align-items: center; }
.float .k img { border-radius: 4px; }
.float .acts { display: grid; gap: 6px; margin-top: 10px; text-align: center; font-weight: 700; }
.float .go { background: var(--green); color: var(--white); border-radius: 12px; padding: 7px; }
.float .no { color: #D9502E; font-size: 13px; }
@keyframes bob { 50% { transform: translateY(-8px); } }
.hill { position: absolute; z-index: 4; left: -50vw; right: -50vw; bottom: 0; height: 120px; background: var(--green); border-radius: 50% 50% 0 0 / 100% 100% 0 0; box-shadow: 0 -26px 0 var(--hill); }

/* Mascots on the page breathe; hover makes them hop. */
.clic { animation: breathe 2.6s ease-in-out infinite alternate; transform-origin: 50% 100%; }
.clic:nth-child(2) { animation-delay: -.9s; }
.clic:nth-child(3) { animation-delay: -1.7s; }
.clic:hover { animation: hop .6s cubic-bezier(.3, 0, .3, 1.6); }
@keyframes breathe { from { transform: translateY(0) scaleY(1); } to { transform: translateY(-6px) scaleY(1.02); } }
@keyframes hop { 40% { transform: translateY(-26px) rotate(-6deg); } }

/* Trust strip */
.trust { background: var(--green); color: var(--white); padding: 34px 24px 46px; }
.trust ul { list-style: none; margin: 0 auto; padding: 0; max-width: var(--wrap); display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 34px; font: 800 20px/1.2 var(--head); }
.trust li::before { content: "✓ "; color: var(--sun); }

/* Generic sections */
.section { padding: 110px 24px; }
.section.alt { background: var(--soft); }
.section > .wrap > h2, .section > .wrap > .lead { text-align: center; }

/* Scroll story */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 980px; margin: 60px auto 0; }
.story-phone { position: sticky; top: 90px; align-self: start; display: flex; justify-content: center; }
.story-phone .phone img { position: absolute; inset: 10px; width: calc(100% - 20px); opacity: 0; transition: opacity .45s; }
.story-phone .phone img:first-child { position: relative; inset: auto; width: 100%; }
.story-phone .phone img.on { opacity: 1; }
.step { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; opacity: .35; transition: opacity .3s; }
.step.on { opacity: 1; }
.step .n { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--coral); font: 800 24px/1 var(--head); margin-bottom: 14px; }
.step p { color: var(--text); font-size: 20px; max-width: 30ch; }

/* Parents band */
.band { position: relative; background: var(--mint); border-radius: var(--radius); max-width: var(--wrap); margin: 0 auto; padding: 80px 40px 0; overflow: hidden; text-align: center; }
.band .cols { display: grid; grid-template-columns: 1fr auto 1fr; gap: 30px; align-items: center; margin-top: 40px; position: relative; z-index: 1; }
.band .phone { margin-bottom: -120px; }
.band::after { content: ""; position: absolute; left: -10%; right: -10%; bottom: -60px; height: 260px; background: var(--green); border-radius: 50% 50% 0 0; }
.card { background: var(--white); border-radius: 22px; padding: 20px 22px; text-align: left; box-shadow: 0 10px 30px -18px rgb(27 24 36 / .3); }
.card h3 { font-size: 22px; margin-bottom: 4px; }
.card p { margin: 0; color: var(--text); font-size: 16px; }
.band .stack { display: grid; gap: 16px; }

/* Challenges grid */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; margin-top: 50px; }
.grid .card { text-align: center; padding: 28px 20px; transition: transform .2s; }
.grid .card:hover { transform: translateY(-4px) rotate(-1deg); }
.grid .q { font: 800 34px/1.1 var(--head); margin-bottom: 10px; }

/* Privacy */
.privacy { display: flex; align-items: center; gap: 50px; max-width: 900px; margin: 0 auto; }
.privacy .clic { width: 220px; flex-shrink: 0; }
.privacy ul { padding-left: 1.1em; color: var(--text); font-size: 19px; }

/* FAQ */
.faq { max-width: 720px; margin: 40px auto 0; display: grid; gap: 12px; }
details { background: var(--white); border-radius: 18px; padding: 0 22px; }
summary { cursor: pointer; list-style: none; font-weight: 700; font-size: 18px; padding: 18px 30px 18px 0; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: 14px; font: 800 26px/1 var(--head); color: var(--green); }
details[open] summary::after { content: "–"; }
details > :not(summary) { color: var(--text); margin: 0 0 18px; }

/* Final CTA + footer */
.final { background: var(--mint); text-align: center; padding: 110px 24px 40px; margin-top: 40px; border-radius: var(--radius) var(--radius) 0 0; }
.final p { color: var(--text); font-weight: 700; }
.foot { position: relative; background: var(--green); color: var(--ink); text-align: center; padding: 0 24px 26px; overflow: hidden; }
.final + .foot, main:has(> .final:last-child) + .foot { margin-top: 0; }
.foot .scene { display: flex; justify-content: center; align-items: flex-end; gap: 40px; padding-top: 50px; background: var(--mint); margin: 0 -24px; position: relative; }
.foot .scene::after { content: ""; position: absolute; left: -10%; right: -10%; bottom: -40px; height: 90px; background: var(--green); border-radius: 50% 50% 0 0; box-shadow: 0 -22px 0 var(--hill); }
.foot .scene .clic { position: relative; z-index: 1; margin-bottom: -10px; }
.foot nav { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: 34px 0 6px; }
.foot nav a { color: var(--ink); font-weight: 700; text-decoration: none; font-size: 15px; }
.foot nav a:hover { text-decoration: underline; }
.watermark { font: 800 clamp(70px, 17vw, 220px)/.9 var(--head); letter-spacing: .02em; color: var(--deep); opacity: .35; user-select: none; }
.foot p { font-size: 14px; margin: 6px 0 0; }

/* Articles */
.article { max-width: 760px; margin: 0 auto; padding: 30px 24px 90px; }
.article h1 { font-size: clamp(38px, 5.5vw, 58px); }
.crumbs { font-size: 14px; color: var(--text); margin-bottom: 26px; }
.crumbs a { color: var(--text); }
.meta { color: var(--text); font-size: 15px; }
.prose { font-size: 19px; }
.prose h2 { font-size: clamp(28px, 3.6vw, 38px); margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose li { margin-bottom: .4em; }
.prose .phone { margin: 30px auto; }
.prose .quick { background: var(--mint); border-radius: 20px; padding: 18px 24px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; margin: 20px 0; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid #d8e4df; vertical-align: top; }
.prose .toc { margin-top: 18px; background: var(--white); border-radius: 18px; padding: 16px 24px; font-size: 17px; }
.list-cards { display: grid; gap: 14px; padding: 0; list-style: none; }
.list-cards a { display: block; background: var(--white); border-radius: 18px; padding: 18px 22px; text-decoration: none; color: var(--ink); box-shadow: 0 10px 30px -22px rgb(27 24 36 / .4); }
.list-cards a strong { font: 800 22px/1.2 var(--head); display: block; }
.list-cards a span { color: var(--text); font-size: 16px; }
.guides-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); margin-top: 40px; }
.cta-box { display: flex; gap: 22px; align-items: center; background: var(--mint); border-radius: var(--radius); padding: 26px; margin-top: 60px; }
.cta-box .badges { justify-content: flex-start; margin-bottom: 0; }
.cta-box p { margin: 4px 0 0; color: var(--text); }
.cta-box strong { font: 800 24px/1.1 var(--head); }

@media (max-width: 860px) {
  .cloud.c1 { width: 110px; top: 70px; left: -30px; }
  .cloud.c2 { width: 90px; top: 330px; right: -24px; }
  .hero { padding-top: 100px; }
  .hero-stage { height: 520px; }
  .float { display: none; }
  .story { grid-template-columns: 1fr; }
  .story { gap: 0; }
  .story-phone { top: 16px; z-index: 0; }
  .story-phone .phone { width: 190px; border-radius: 32px; padding: 7px; }
  .story-phone .phone img { border-radius: 26px; inset: 7px; width: calc(100% - 14px); }
  .story-phone .phone img:first-child { inset: auto; width: 100%; }
  .step { min-height: 0; margin: 0 0 70vh; opacity: 1; background: var(--white); border-radius: 22px; padding: 20px; position: relative; z-index: 1; box-shadow: 0 16px 40px -18px rgb(27 24 36 / .35); }
  .step:last-child { margin-bottom: 10vh; }
  .step p { font-size: 17px; margin: 0; }
  .story > div:last-child { margin-top: 30vh; }
  .band { padding: 60px 20px 0; }
  .band .cols { grid-template-columns: 1fr; }
  .band .cols > .phone { order: 3; margin-inline: auto; }
  .privacy { flex-direction: column; text-align: center; gap: 20px; }
  .privacy ul { text-align: left; }
  .cta-box { flex-direction: column; text-align: center; }
  .cta-box .badges { justify-content: center; }
  .foot .scene { gap: 10px; }
  .foot .scene .clic { width: 90px; }
}
@media (max-width: 420px) {
  .badge { height: 46px; padding: 0 12px 0 10px; gap: 7px; }
  .badge svg { width: 21px; height: 24px; }
  .badge span { font-size: 18px; }
  .badge small { font-size: 9px; }
  .badges { gap: 8px; flex-wrap: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
