/* Nunoland — nunoland.com */

:root {
  --night: #1c1438;
  --indigo: #342058;
  --violet: #5a3c9e;
  --gold: #ffc94d;
  --gold-soft: #ffe7a6;
  --cream: #fff8ec;
  --paper: #fffdf8;
  --ink: #2a2440;
  --ink-soft: #5d5775;
  --line: #eee3cf;
  --coral: #ff7a6b;
  --leaf: #4db26e;
  --sky: #5aa9e6;
  --grape: #9b6bd6;
  --radius: 24px;
  --shadow: 0 1px 0 rgba(42, 36, 64, .05), 0 18px 40px -22px rgba(42, 36, 64, .35);
  --display: "Baloo 2", "Nunito", ui-rounded, system-ui, sans-serif;
  --body: "Nunito", ui-rounded, system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; margin: 0; }
p { margin: 0; }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: 20px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(28, 20, 56, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.nav { display: flex; align-items: center; gap: 18px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-family: var(--display); font-weight: 800; font-size: 1.45rem; }
.brand img { width: 40px; height: 40px; border-radius: 12px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { color: #d9d2f2; text-decoration: none; font-weight: 700; font-size: .95rem; }
.nav-links a:hover { color: #fff; }
.play-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 999px;
  background: var(--gold); color: var(--night);
  font-weight: 800; font-size: .92rem; text-decoration: none; white-space: nowrap;
}
@media (max-width: 860px) { .nav-links { display: none; } .play-pill { margin-left: auto; } }

/* Hero */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(120% 90% at 78% 35%, #6a4ab3 0%, var(--indigo) 38%, var(--night) 100%);
  padding-block: 72px 110px;
}
.hero::before, .hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(2px 2px at 8% 20%, #ffe7a6 60%, transparent 61%),
    radial-gradient(2px 2px at 22% 70%, #fff 60%, transparent 61%),
    radial-gradient(3px 3px at 40% 12%, #ffe7a6 60%, transparent 61%),
    radial-gradient(2px 2px at 55% 85%, #fff 60%, transparent 61%),
    radial-gradient(2px 2px at 68% 18%, #fff 60%, transparent 61%),
    radial-gradient(3px 3px at 88% 60%, #ffe7a6 60%, transparent 61%),
    radial-gradient(2px 2px at 95% 12%, #fff 60%, transparent 61%);
  opacity: .8;
}
.hero::after { transform: translate(3%, 4%); opacity: .4; }
.hero-grid { position: relative; display: grid; gap: 40px; align-items: center; grid-template-columns: 1.1fr .9fr; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; text-align: center; } }
.eyebrow { display: inline-block; font-weight: 800; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 14px; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.3rem); font-weight: 800; letter-spacing: -.01em; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lede { margin-top: 18px; font-size: 1.2rem; color: #e4ddfa; max-width: 34em; }
@media (max-width: 860px) { .hero .lede { margin-inline: auto; } }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
@media (max-width: 860px) { .cta-row { justify-content: center; } }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 16px; font-weight: 800; text-decoration: none; font-size: 1rem;
  border: 2px solid transparent; transition: transform .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--night); }
.btn-ghost { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-play { background: #fff; color: var(--night); }
.btn-play small { display: block; font-size: .72rem; font-weight: 700; color: var(--ink-soft); line-height: 1.1; }
.btn-play span { display: block; line-height: 1.15; }
.chips { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 26px; color: #cfc6ee; font-weight: 700; font-size: .92rem; }
@media (max-width: 860px) { .chips { justify-content: center; } }
.chips span::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); margin-right: 8px; vertical-align: middle; }

.hero-art { position: relative; min-height: 420px; }
.hero-art .glow { position: absolute; inset: 12% 10%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 201, 77, .45), transparent 65%); filter: blur(10px); }
.hero-art .nuno { position: relative; width: min(360px, 78%); margin-inline: auto; animation: float 5s ease-in-out infinite; }
.hero-art .card {
  position: absolute; width: 150px; border-radius: 18px; overflow: hidden;
  border: 4px solid #fff; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .6);
}
.hero-art .card.one { left: 0; top: 30px; transform: rotate(-8deg); }
.hero-art .card.two { right: 0; top: 70px; transform: rotate(7deg); }
.hero-art .card.three { right: 12%; bottom: 0; transform: rotate(-4deg); width: 130px; }
@media (max-width: 520px) { .hero-art .card { width: 110px; } .hero-art .card.three { width: 100px; } .hero-art { min-height: 360px; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@media (prefers-reduced-motion: reduce) { .hero-art .nuno { animation: none; } html { scroll-behavior: auto; } }

.wave { display: block; width: 100%; height: 70px; margin-top: -69px; position: relative; }

/* Sections */
section { padding-block: 84px; }
.section-head { max-width: 42em; margin-bottom: 44px; }
.section-head.center { text-align: center; margin-inline: auto; }
.kicker { display: block; font-weight: 800; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--violet); margin-bottom: 10px; }
.section-head h2 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; }
.section-head p { margin-top: 14px; color: var(--ink-soft); font-size: 1.1rem; }

.steps { display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); counter-reset: step; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); counter-increment: step; }
.step::before {
  content: counter(step); display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px;
  font-family: var(--display); font-weight: 800; font-size: 1.3rem; color: var(--night); background: var(--gold); margin-bottom: 18px;
}
.step h3 { font-size: 1.35rem; margin-bottom: 8px; }
.step p { color: var(--ink-soft); }

.split { display: grid; gap: 48px; align-items: center; grid-template-columns: 1fr 1fr; }
.split.reverse .split-art { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.reverse .split-art { order: 0; } }
.split-art { position: relative; }
.split-art .frame { border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); border: 6px solid #fff; }
.split-art .nuno-badge { position: absolute; width: 150px; right: -14px; bottom: -30px; }
@media (max-width: 520px) { .split-art .nuno-badge { width: 110px; right: -6px; } }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 36px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 7px; background: var(--leaf);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 0h18a3 3 0 0 1 3 3v18a3 3 0 0 1-3 3H3a3 3 0 0 1-3-3V3a3 3 0 0 1 3-3zm6.6 16.2L18.4 7.4 17 6l-7.4 7.4L6.7 10.5l-1.4 1.4z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 0h18a3 3 0 0 1 3 3v18a3 3 0 0 1-3 3H3a3 3 0 0 1-3-3V3a3 3 0 0 1 3-3zm6.6 16.2L18.4 7.4 17 6l-7.4 7.4L6.7 10.5l-1.4 1.4z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.ticks strong { display: block; font-size: 1.05rem; }
.ticks span { color: var(--ink-soft); }

.band { background: var(--paper); border-block: 1px solid var(--line); }

.tracks { display: grid; gap: 16px; grid-template-columns: repeat(5, 1fr); }
@media (max-width: 960px) { .tracks { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .tracks { grid-template-columns: 1fr; } }
.track { border-radius: 20px; padding: 22px; color: #fff; min-height: 170px; }
.track h3 { font-size: 1.25rem; margin-bottom: 8px; }
.track p { font-size: .95rem; opacity: .92; }
.t-words { background: #3f8fe0; } .t-numbers { background: #e79b1f; } .t-feelings { background: #e0605a; } .t-world { background: #3d9b61; } .t-make { background: #8a5cc9; }
.ages { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.ages span { background: var(--cream); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-weight: 800; }

.library { display: grid; gap: 16px; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 860px) { .library { grid-template-columns: repeat(2, 1fr); } }
.tale { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.tale img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.tale p { padding: 12px 14px 14px; font-weight: 800; font-size: .98rem; }

.night { background: linear-gradient(180deg, var(--indigo), var(--night)); color: #fff; }
.night .kicker { color: var(--gold-soft); }
.night .section-head p { color: #d9d2f2; }
.parent-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .parent-grid { grid-template-columns: 1fr; } }
.parent-card { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); padding: 26px; }
.parent-card h3 { font-size: 1.25rem; color: var(--gold-soft); margin-bottom: 8px; }
.parent-card p { color: #e4ddfa; }

.safety { display: grid; gap: 18px; grid-template-columns: repeat(2, 1fr); }
@media (max-width: 760px) { .safety { grid-template-columns: 1fr; } }
.safe { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; }
.safe h3 { font-size: 1.2rem; margin-bottom: 6px; }
.safe p { color: var(--ink-soft); }

.plans { display: grid; gap: 22px; grid-template-columns: 1fr 1fr; max-width: 900px; margin-inline: auto; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }
.plan { background: var(--paper); border: 1px solid var(--line); border-radius: 28px; padding: 32px; }
.plan.featured { border: 3px solid var(--gold); box-shadow: var(--shadow); position: relative; }
.plan h3 { font-size: 1.5rem; }
.price { margin-top: 12px; font-family: var(--display); font-weight: 800; font-size: 2.6rem; line-height: 1; }
.price small { font-family: var(--body); font-size: 1rem; font-weight: 700; color: var(--ink-soft); }
.price-note { margin-top: 6px; color: var(--ink-soft); font-weight: 700; }
.plan ul { margin: 22px 0 0; padding-left: 20px; display: grid; gap: 8px; }
.plan .fine { margin-top: 18px; font-size: .9rem; color: var(--ink-soft); }
.tag { position: absolute; top: -14px; left: 28px; background: var(--gold); color: var(--night); font-weight: 800; font-size: .8rem; padding: 4px 12px; border-radius: 999px; }

.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 18px 22px; }
.faq summary { cursor: pointer; font-weight: 800; font-size: 1.08rem; list-style: none; position: relative; padding-right: 28px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: -2px; font-size: 1.4rem; color: var(--violet); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 10px; color: var(--ink-soft); }

.closing { text-align: center; }
.closing img { width: 180px; margin: 0 auto 10px; }
.closing h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
.closing p { color: var(--ink-soft); margin-top: 12px; font-size: 1.1rem; }
.closing .cta-row { justify-content: center; }

footer { background: var(--night); color: #cfc6ee; padding-block: 44px; font-size: .95rem; }
.foot { display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; align-items: flex-start; }
.foot .brand { font-size: 1.25rem; }
.foot nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.foot nav a { color: #e4ddfa; text-decoration: none; font-weight: 700; }
.foot nav a:hover { color: #fff; text-decoration: underline; }
.foot .copy { width: 100%; opacity: .7; font-size: .85rem; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
