/* Kululu — kululu.kids */
@font-face { font-family: "Nunito"; font-weight: 400; font-display: swap; src: url("/fonts/nunito-400.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 700; font-display: swap; src: url("/fonts/nunito-700.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 800; font-display: swap; src: url("/fonts/nunito-800.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 900; font-display: swap; src: url("/fonts/nunito-900.woff2") format("woff2"); }

:root {
  color-scheme: light;
  --navy: #1b2270;
  --ink: #2b3170;
  --muted: #5b6190;
  --cream: #fff6e3;
  --cream-2: #ffe7c2;
  --paper: #ffffff;
  --orange: #ff9933;
  --orange-deep: #f07a12;
  --yellow: #ffd133;
  --green: #59c766;
  --blue: #408cf2;
  --purple: #9e66e6;
  --pink: #fa80b8;
  --red: #f25c54;
  --line: rgba(27, 34, 112, 0.12);
  --shadow: 0 18px 40px -18px rgba(120, 60, 0, 0.35);
  --radius: 28px;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Nunito", ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: 17px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.15; margin: 0 0 .5em; font-weight: 900; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--max), 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 10px; z-index: 50; }
.skip:focus { left: 16px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 246, 227, 0.88); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand img { height: 38px; width: auto; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a { color: var(--navy); font-weight: 800; text-decoration: none; padding: 8px 12px; border-radius: 999px; font-size: 16px; }
.nav a:hover, .nav a[aria-current="page"] { background: #fff; }
.nav .btn { margin-left: 6px; }
@media (max-width: 720px) { .nav a:not(.btn) { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; background: linear-gradient(180deg, #ffab52, var(--orange-deep)); color: #fff !important; font-weight: 900; text-decoration: none; padding: 14px 24px; border-radius: 999px; box-shadow: 0 10px 22px -10px rgba(240, 122, 18, 0.8); transition: transform .15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn.small { padding: 9px 16px; font-size: 15px; }
.btn.ghost { background: #fff; color: var(--navy) !important; box-shadow: 0 6px 16px -10px rgba(27, 34, 112, 0.5); }
.btn svg { width: 20px; height: 20px; flex: none; }

/* Hero */
.hero { position: relative; overflow: hidden; background: url("/assets/scene.webp") center 40% / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255, 246, 227, 0.95) 0%, rgba(255, 246, 227, 0.82) 42%, rgba(255, 246, 227, 0) 70%); }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; align-items: end; gap: 24px; min-height: 620px; padding-top: 56px; }
.hero-copy { padding-bottom: 72px; align-self: center; }
.eyebrow { display: inline-block; font-weight: 900; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-deep); background: #fff; padding: 6px 12px; border-radius: 999px; margin-bottom: 18px; }
.hero h1 { font-size: clamp(40px, 5.6vw, 68px); }
.hero .lede { font-size: clamp(18px, 2vw, 21px); color: var(--ink); max-width: 34ch; font-weight: 700; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; align-items: center; }
.cta-note { font-size: 14px; color: var(--muted); font-weight: 700; margin-top: 14px; }
.hero-cast { display: flex; align-items: flex-end; justify-content: center; gap: 0; }
.hero-cast img { filter: drop-shadow(0 18px 18px rgba(80, 40, 0, 0.25)); }
.hero-cast .k { width: min(300px, 42vw); margin-right: -40px; z-index: 1; animation: bob 4s ease-in-out infinite; }
.hero-cast .j { width: min(250px, 36vw); animation: bob 4s ease-in-out -2s infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .hero-cast img { animation: none; } html { scroll-behavior: auto; } .btn { transition: none; } }
@media (max-width: 860px) {
  .hero::before { background: linear-gradient(180deg, rgba(255, 246, 227, 0.96) 0%, rgba(255, 246, 227, 0.86) 55%, rgba(255, 246, 227, 0.2) 100%); }
  .hero .wrap { grid-template-columns: 1fr; min-height: 0; padding-top: 40px; }
  .hero-copy { padding-bottom: 8px; }
  .hero-cast .k { width: 46vw; } .hero-cast .j { width: 38vw; }
}

/* Sections */
section { padding: 88px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(30px, 3.8vw, 44px); }
.section-head p { font-size: 19px; color: var(--muted); font-weight: 700; }
.band { background: #fff; }
.band.warm { background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: var(--paper); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.band .card { background: var(--cream); box-shadow: none; }
.card h3 { font-size: 22px; }
.card p { color: var(--muted); font-weight: 600; margin: 0; }
.dot { width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 16px; color: #fff; }
.dot svg { width: 28px; height: 28px; }
@media (max-width: 860px) { .grid-3 { grid-template-columns: 1fr; } section { padding: 64px 0; } }

/* Activities */
.activities { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.tile { background: #fff; border-radius: 22px; overflow: hidden; box-shadow: 0 10px 20px -14px rgba(27, 34, 112, 0.5); text-align: center; }
.tile img { width: 100%; aspect-ratio: 220/172; object-fit: cover; }
.tile span { display: block; font-weight: 900; color: var(--navy); font-size: 14px; padding: 8px 6px 10px; }
@media (max-width: 960px) { .activities { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 560px) { .activities { grid-template-columns: repeat(3, 1fr); gap: 10px; } .tile span { font-size: 12px; } }

/* Screens */
.screens { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.screens figure { margin: 0; }
.screens img { border-radius: 22px; box-shadow: var(--shadow); }
@media (max-width: 860px) { .screens { grid-template-columns: 1fr; } }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split img.rounded { border-radius: var(--radius); box-shadow: var(--shadow); }
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; font-weight: 700; }
.checks li::before { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/18px no-repeat; margin-top: 1px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 28px; } }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.plan { background: #fff; border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; position: relative; border: 3px solid transparent; }
.plan.pick { border-color: var(--orange); }
.plan h3 { font-size: 20px; margin-bottom: 6px; }
.price { font-size: 34px; font-weight: 900; color: var(--navy); line-height: 1.1; }
.price small { font-size: 15px; color: var(--muted); font-weight: 800; }
.plan p { color: var(--muted); font-weight: 700; font-size: 15px; margin: 10px 0 0; }
.tag { position: absolute; top: -14px; left: 22px; background: var(--pink); color: #fff; font-weight: 900; font-size: 12px; padding: 4px 10px; border-radius: 999px; }
.tag.green { background: var(--green); }
.fine { text-align: center; color: var(--muted); font-size: 14px; font-weight: 700; margin-top: 22px; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .plans { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
details { background: #fff; border-radius: 20px; padding: 4px 22px; box-shadow: 0 8px 18px -14px rgba(27, 34, 112, 0.5); }
.band details { background: var(--cream); box-shadow: none; }
summary { cursor: pointer; font-weight: 900; color: var(--navy); padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; font-size: 18px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 26px; line-height: 1; color: var(--orange-deep); transition: transform .2s ease; }
details[open] summary::after { transform: rotate(45deg); }
details > div { padding: 0 0 18px; color: var(--ink); }
details > div p:last-child { margin-bottom: 0; }

/* CTA band */
.cta-band { text-align: center; background: linear-gradient(135deg, #ffcf8a, #ffb3d1); border-radius: 36px; padding: 56px 24px; position: relative; overflow: hidden; }
.cta-band h2 { font-size: clamp(28px, 3.6vw, 42px); }
.cta-band img { width: 120px; margin: 0 auto 10px; }

/* Documents (support, terms, privacy) */
.doc-hero { background: linear-gradient(180deg, var(--cream-2), var(--cream)); padding: 56px 0 28px; }
.doc-hero h1 { font-size: clamp(34px, 4.4vw, 52px); }
.doc-hero p { font-size: 19px; color: var(--muted); font-weight: 700; max-width: 60ch; }
.doc { padding: 24px 0 88px; }
.doc .wrap { display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: start; }
.toc { position: sticky; top: 92px; background: #fff; border-radius: 22px; padding: 18px 20px; box-shadow: 0 8px 18px -14px rgba(27, 34, 112, 0.5); }
.toc strong { display: block; color: var(--navy); font-weight: 900; margin-bottom: 8px; }
.toc ol { margin: 0; padding-left: 18px; font-size: 15px; }
.toc li { margin: 4px 0; }
.toc a { color: var(--ink); text-decoration: none; font-weight: 700; }
.toc a:hover { color: var(--orange-deep); }
.prose { background: #fff; border-radius: var(--radius); padding: clamp(24px, 4vw, 48px); box-shadow: var(--shadow); max-width: 820px; }
.prose h2 { font-size: 26px; margin-top: 1.6em; scroll-margin-top: 90px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 20px; margin-top: 1.3em; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 12px 0 20px; font-size: 15.5px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--navy); font-weight: 900; background: var(--cream); }
.table-scroll { overflow-x: auto; }
.summary-box { background: var(--cream); border-radius: 20px; padding: 20px 24px; margin-bottom: 28px; }
.summary-box h2 { margin-top: 0 !important; font-size: 22px; }
.summary-box ul { margin: 0; }
.meta { color: var(--muted); font-weight: 700; font-size: 15px; }
.doc .wrap > * { min-width: 0; }
@media (max-width: 900px) { .doc .wrap { grid-template-columns: 1fr; } .toc { position: static; } }

/* Support contact */
.contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 36px; }
.contact .card { box-shadow: 0 8px 18px -14px rgba(27, 34, 112, 0.5); }
.contact a { font-weight: 900; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--navy); color: #d9dcf5; padding: 48px 0 32px; font-size: 15px; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer img { height: 34px; width: auto; margin-bottom: 12px; }
.site-footer h4 { color: #fff; font-size: 16px; margin-bottom: 10px; }
.site-footer a { color: #d9dcf5; text-decoration: none; font-weight: 700; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer .legal { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, 0.15); padding-top: 20px; margin-top: 8px; color: #aeb3e0; font-size: 14px; }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr; } }

.waitlist { max-width: 720px; margin: 0 auto; text-align: center; background: #fff; border-radius: 32px; padding: 40px 24px; box-shadow: 0 14px 34px -22px rgba(27, 34, 112, 0.5); }
.waitlist h2 { margin-bottom: 10px; }
.waitlist label { display: block; font-weight: 800; margin: 18px 0 8px; text-align: left; }
.wl-row { display: flex; gap: 12px; flex-wrap: wrap; }
.wl-row input[type=email] { flex: 1 1 240px; min-width: 0; font: inherit; font-weight: 700; padding: 14px 18px; border: 2px solid #ffd9a8; border-radius: 999px; background: #fffaf2; color: var(--navy); }
.wl-row input[type=email]:focus-visible { outline: 3px solid var(--orange-deep); outline-offset: 2px; }
.wl-row .btn { border: 0; cursor: pointer; font: inherit; font-weight: 900; justify-content: center; }
.wl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.waitlist .fine { text-align: left; margin-top: 14px; }

/* Cookie consent banner */
#cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; max-width: 620px; margin: 0 auto; background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 18px 40px -12px rgba(27, 34, 112, 0.35); padding: 18px 20px; display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; font-size: 15px; line-height: 1.5; }
#cookie-banner[hidden] { display: none; }
#cookie-banner p { margin: 0; flex: 1 1 300px; }
#cookie-banner strong { display: block; color: var(--navy); font-weight: 900; font-size: 16px; margin-bottom: 2px; }
#cookie-banner .cc-actions { display: flex; gap: 10px; flex: 0 0 auto; margin-left: auto; }
.cc-btn { font: inherit; font-weight: 900; border: 0; border-radius: 999px; padding: 10px 20px; cursor: pointer; }
.cc-accept { background: linear-gradient(180deg, #ffab52, var(--orange-deep)); color: #fff; }
.cc-decline { background: var(--cream); color: var(--navy); box-shadow: inset 0 0 0 1px var(--line); }
.cc-btn:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.linklike { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 480px) { #cookie-banner .cc-actions { width: 100%; } .cc-btn { flex: 1; } }
.site-footer .linklike { color: #d9dcf5; font-weight: 700; text-decoration: none; }
.site-footer .linklike:hover { text-decoration: underline; }
