:root {
  --cream: #FFF8EC;
  --navy: #17255E;
  --navy-deep: #0B1440;
  --ink-soft: #4A557F;
  --blue: #1F6FEB;
  --blue-deep: #154DA8;
  --link: #1B5FD1;
  --yellow: #FFC83D;
  --yellow-deep: #D99A12;
  --sun: #FFD84D;
  --butter: #FFE08A;
  --red: #E5302A;
  --red-deep: #A9201B;
  --red-text: #C2261F;
  --card-shadow: #F0DFC0;
  --line: #F3E6CC;
  --display: "Fredoka", "Arial Rounded MT Bold", system-ui, sans-serif;
  --body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); }
a:hover { color: var(--navy); }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.08; margin: 0; }
:focus-visible { outline: 4px solid var(--blue); outline-offset: 3px; border-radius: 8px; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 10px 16px; border-radius: 10px; z-index: 50; }
.skip:focus { left: 8px; }

/* Nav */
.nav-wrap { position: sticky; top: 0; z-index: 20; background: rgba(255,248,236,.94); backdrop-filter: blur(8px); border-bottom: 2px solid var(--line); }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; padding-top: 10px; padding-bottom: 10px; }
.nav-logo img { height: 56px; width: auto; }
.nav-links { display: flex; flex-wrap: wrap; gap: 0 24px; flex: 1 1 auto; font-family: var(--display); font-weight: 600; font-size: 18px; }
.nav-links a { color: var(--navy); text-decoration: none; padding: 10px 0; }
.nav-links a:hover { color: var(--blue); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 600; font-size: 20px;
  padding: 15px 26px; min-height: 52px; border-radius: 999px;
  text-decoration: none; border: 0; cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn svg { width: 22px; height: 22px; flex: none; fill: currentColor; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(3px); box-shadow: none !important; }
.btn-sm { font-size: 17px; padding: 11px 20px; min-height: 46px; }
.btn-sm svg { width: 18px; height: 18px; }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 4px 0 var(--red-deep); }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 5px 0 var(--blue-deep); }
.btn-yellow { background: var(--yellow); color: var(--navy); box-shadow: 0 5px 0 var(--yellow-deep); }
.btn-yellow svg { fill: none; }
.btn-navy { background: var(--navy); color: #fff; box-shadow: 0 5px 0 var(--navy-deep); }
.btn-white { background: #fff; color: var(--navy); box-shadow: 0 5px 0 #B9C3E8; }
.btn:hover.btn-red, .btn:hover.btn-blue, .btn:hover.btn-navy { color: #fff; }
.btn:hover.btn-yellow, .btn:hover.btn-white { color: var(--navy); }

/* Hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 40px; padding-top: 56px; padding-bottom: 40px; }
.hero-copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.pill { margin: 0; align-self: flex-start; background: var(--butter); font-weight: 800; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; padding: 8px 14px; border-radius: 999px; }
.hero h1 { font-size: clamp(40px, 5vw, 64px); line-height: 1.04; }
.lead { margin: 0; font-size: 20px; color: #3A4675; max-width: 520px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
.hero-art { flex: 1 1 520px; min-width: 0; }
.hero-art img { width: 100%; border-radius: 32px; border: 6px solid #fff; box-shadow: 0 18px 40px rgba(23,37,94,.18); }

/* Feature (latest episode) */
.feature { background: var(--navy); border-radius: 36px; padding: 32px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; margin: 32px 0; }
.feature-media { flex: 1 1 520px; min-width: 0; }
.feature-copy { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 14px; color: #fff; }
.feature-copy .kicker { color: var(--yellow); }
.feature-copy h2 { font-size: clamp(34px, 4vw, 44px); }
.feature-copy p { margin: 0; color: #D8DEF5; font-size: 19px; }
.feature-copy .btn { align-self: flex-start; margin-top: 6px; }

/* Video thumbnails */
.thumb { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #000; cursor: pointer; overflow: hidden; border-radius: 24px; }
.thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .25s ease; }
.thumb:hover img { transform: scale(1.04); }
.play-badge { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 72px; height: 72px; border-radius: 50%; background: var(--red); display: flex; align-items: center; justify-content: center; box-shadow: 0 5px 0 var(--red-deep); }
.play-badge svg { width: 32px; height: 32px; fill: #fff; margin-left: 4px; }
.feature .play-badge { width: 88px; height: 88px; }
.feature .play-badge svg { width: 40px; height: 40px; }

/* Sections */
.section { padding-top: 56px; padding-bottom: 16px; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(32px, 4vw, 44px); }
.section-head.sub { margin-top: 48px; }
.section-head.sub h2 { font-size: clamp(28px, 3.4vw, 36px); }
.section-head small { font-family: var(--body); font-weight: 700; font-size: 18px; color: var(--ink-soft); margin-left: 6px; white-space: nowrap; }
.kicker { margin: 0 0 6px; font-weight: 800; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: var(--red-text); }
.more { font-weight: 800; font-size: 18px; }

.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.card { background: #fff; border-radius: 24px; overflow: hidden; box-shadow: 0 6px 0 var(--card-shadow); display: flex; flex-direction: column; height: 100%; }
.card .thumb { border-radius: 0; }
.card-text { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 4px; }
.card-text small { font-weight: 800; color: var(--link); font-size: 14px; }
.card-text h3 { font-weight: 600; font-size: 21px; line-height: 1.2; }
.card-text .song { font-size: 15px; color: var(--ink-soft); }
.cards.xmas { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
.xmas .card-text small { color: var(--red-text); }
.xmas .card-text h3 { font-size: 19px; }

/* App card */
.app-card { background: var(--sun); border-radius: 36px; overflow: hidden; display: flex; flex-wrap: wrap; }
.app-art { flex: 1 1 480px; min-width: 0; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.app-body { flex: 1 1 380px; min-width: 0; padding: 40px; display: flex; flex-direction: column; gap: 16px; }
.app-id { display: flex; align-items: center; gap: 14px; }
.app-id img { width: 64px; height: 64px; border-radius: 16px; box-shadow: 0 4px 0 rgba(23,37,94,.2); }
.app-id p { margin: 0; font-weight: 800; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; }
.app-body h3 { font-size: clamp(32px, 3.6vw, 40px); line-height: 1.05; }
.app-body > p { margin: 0; font-size: 19px; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: #fff; border-radius: 999px; padding: 8px 14px; font-weight: 800; font-size: 15px; }
.app-body .btn { align-self: flex-start; margin-top: 4px; }
.soon { margin: 24px 0 0; border: 3px dashed #E6D2AC; border-radius: 28px; padding: 22px 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
.soon strong { font-family: var(--display); font-weight: 600; font-size: 24px; }
.soon span { color: var(--ink-soft); }

/* Family */
.family { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 28px 20px; }
.family li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.family img { width: 140px; height: 140px; border-radius: 50%; border: 6px solid var(--ring); background: #fff; transition: transform .2s ease; }
.family li:hover img { transform: rotate(-6deg) scale(1.05); }
.family strong { font-family: var(--display); font-size: 24px; }
.family span { font-size: 16px; line-height: 1.35; color: var(--ink-soft); }

/* Grown-ups */
.panel { background: #fff; border-radius: 36px; padding: 40px; box-shadow: 0 6px 0 var(--card-shadow); }
.panel h2 { font-size: clamp(30px, 3.6vw, 40px); }
.points { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; margin-top: 24px; }
.points h3 { font-weight: 600; font-size: 22px; margin-bottom: 8px; }
.points p { margin: 0; font-size: 17px; color: var(--ink-soft); }
.fine { margin: 24px 0 0; font-size: 15px; color: var(--ink-soft); }

/* Footer */
.footer { background: var(--navy); color: #D8DEF5; margin-top: 56px; }
.footer-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-top: 40px; padding-bottom: 40px; }
.footer-in img { height: 64px; width: auto; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; font-weight: 700; font-size: 17px; }
.footer-links a { color: #fff; }
.footer-links a:hover { color: var(--yellow); }
.footer p { margin: 0; font-size: 15px; }

/* Player */
.player { width: min(1100px, 94vw); padding: 0; border: 0; border-radius: 24px; background: #000; overflow: visible; }
.player::backdrop { background: rgba(11,20,64,.82); }
.player-frame { aspect-ratio: 16 / 9; border-radius: 24px; overflow: hidden; }
.player-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.player-close { position: absolute; top: -18px; right: -14px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; color: var(--navy); font-size: 22px; font-weight: 800; cursor: pointer; box-shadow: 0 4px 0 #B9C3E8; }

@media (max-width: 640px) {
  body { font-size: 17px; }
  .wrap { padding-left: 16px; padding-right: 16px; }
  .nav { gap: 4px 16px; }
  .nav-logo img { height: 46px; }
  .nav-links { order: 3; flex-basis: 100%; gap: 0 18px; font-size: 16px; }
  .nav-links a { padding: 6px 0; }
  .nav .btn { margin-left: auto; }
  .hide-sm { display: none; }
  .hero { padding-top: 28px; gap: 28px; }
  .feature, .panel { padding: 20px; border-radius: 28px; }
  .app-body { padding: 24px; }
  .btn { font-size: 18px; padding: 13px 22px; }
  .family { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .family img { width: 120px; height: 120px; }
  .player-close { top: -56px; right: 0; }
  .cards.xmas { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .xmas .card-text { padding: 10px 12px 14px; }
  .xmas .card-text small { font-size: 12px; }
  .xmas .card-text h3 { font-size: 16px; }
  .xmas .card-text .song { font-size: 13px; }
  .xmas .play-badge { width: 44px; height: 44px; }
  .xmas .play-badge svg { width: 20px; height: 20px; }
  .section-head small { display: block; margin: 6px 0 0; }
}
