/* =====================================================================
   Little Mary Learns — site styles
   Colors come from Little Mary herself: red hat, yellow apron,
   periwinkle skirt, and the starry navy sky from the cover art.
   ===================================================================== */
/* Fonts are hosted on the site (no Google Fonts call). Licenses in /assets/fonts. */
@font-face { font-family: 'Fredoka'; src: url('/assets/fonts/fredoka.woff2') format('woff2'); font-weight: 500 700; font-display: swap; }
@font-face { font-family: 'Nunito'; src: url('/assets/fonts/nunito.woff2') format('woff2'); font-weight: 400 800; font-display: swap; }
:root {
  --navy: #17213A; --navy-2: #2A3658; --navy-deep: #0C1426;
  --cream: #FFF8E7; --white: #FFFFFF;
  --red: #B01E24; --red-dark: #7E1418;
  --yellow: #F7D95A; --yellow-dark: #C9A82A;
  --peri: #9DB4F0; --mist: #DCE3F7;
  --lav: #E9E1F7; --lav-ink: #4B2E83; --lav-dark: #2F1B57;
  --blue: #DCE6FB; --blue-ink: #23438C;
  --butter: #FDF0BE; --butter-ink: #6E5200;
  --pink: #FFE0DE; --pink-ink: #9A1B20;
  --mint: #E3F7EE; --mint-ink: #1F7A5C;
  --sand: #F1E3BD; --muted: #5A5F73;
  --display: 'Fredoka', 'Nunito', system-ui, sans-serif;
  --body: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@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.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); } a:hover { color: var(--red); }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--yellow); color: var(--navy); padding: 10px 18px; border-radius: 999px; font-weight: 800; }
.skip:focus { left: 12px; }
.hp { position: absolute; left: -9999px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.sec { padding: 80px 0; }
.sec-tight { padding: 24px 0 48px; }
.sec-top0 { padding-top: 0; }
.sec-white { background: var(--white); }
.wave { display: block; width: 100%; height: 60px; }
.sec-head { display: flex; flex-direction: column; gap: 12px; max-width: 700px; margin-bottom: 36px; }
.sec-head p { font-size: 19px; }
.h2 { font-weight: 700; font-size: clamp(32px, 4vw, 48px); }
.red { color: var(--red); } .yellow { color: var(--yellow); } .peri { color: var(--peri); } .lav { color: var(--lav-ink); }
.text-link { font-weight: 800; }

/* ---------- pills ---------- */
.pill { align-self: flex-start; display: inline-block; padding: 7px 16px; border-radius: 999px; font-weight: 800; font-size: 15px; line-height: 1.3; }
.pill-night { background: var(--navy-2); color: var(--yellow); }
.pill-yellow { background: var(--yellow); color: var(--navy); }
.pill-blue { background: var(--blue); color: var(--blue-ink); }
.pill-white { background: var(--white); color: var(--navy); }
.pill-white-lav { background: var(--white); color: var(--lav-ink); }
.pill-blue-dark { background: var(--white); color: var(--blue-ink); }
.pill-lav-dark { background: var(--white); color: var(--lav-ink); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 26px; border: 0; border-radius: 999px; font-family: var(--display); font-weight: 600; font-size: 19px; line-height: 1.2; text-decoration: none; cursor: pointer; transition: transform .12s ease, box-shadow .12s ease; text-align: center; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(3px); box-shadow: none !important; }
.btn-lg { padding: 16px 30px; font-size: 20px; }
.btn-sm { min-height: 44px; padding: 10px 22px; font-size: 17px; }
.btn-red { background: var(--red); color: var(--white); box-shadow: 0 6px 0 var(--red-dark); }
.btn-red:hover { color: var(--white); }
.btn-yellow { background: var(--yellow); color: var(--navy); box-shadow: 0 6px 0 var(--yellow-dark); }
.btn-yellow:hover { color: var(--navy); }
.btn-navy { background: var(--navy); color: var(--white); box-shadow: 0 6px 0 var(--navy-deep); }
.btn-navy:hover { color: var(--white); }
.btn-white { background: var(--white); color: var(--navy); box-shadow: 0 6px 0 #CFD6E8; }
.btn-lav { background: var(--lav-ink); color: var(--white); box-shadow: 0 5px 0 var(--lav-dark); }
.btn-lav:hover { color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- header ---------- */
.topbar { background: var(--navy); color: var(--white); position: relative; z-index: 20; }
.topbar-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 20px; padding-bottom: 8px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); }
.brand:hover { color: var(--white); }
.brand-badge { width: 54px; height: 54px; border-radius: 50%; background: var(--cream); overflow: hidden; box-shadow: 0 5px 0 var(--navy-deep); flex: none; }
.brand-badge img { width: 100%; height: 100%; object-fit: cover; }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 28px; color: var(--peri); }
.brand-name span { color: var(--white); }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.site-nav a { padding: 10px 15px; border-radius: 999px; font-weight: 800; text-decoration: none; color: var(--white); }
.site-nav a:hover { background: var(--navy-2); color: var(--white); }
.site-nav .nav-xmas { color: var(--yellow); }
.site-nav .nav-shop { background: var(--red); padding: 10px 22px; box-shadow: 0 5px 0 var(--red-dark); margin-left: 6px; }
.site-nav .nav-shop:hover { background: var(--red); }
.nav-toggle { display: none; align-items: center; gap: 8px; min-height: 48px; padding: 8px 18px; border: 0; border-radius: 999px; background: var(--navy-2); color: var(--white); font: 800 17px var(--body); cursor: pointer; }
@media (max-width: 940px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; width: 100%; flex-direction: column; align-items: stretch; padding: 8px 0 16px; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 14px 18px; font-size: 19px; }
  .site-nav .nav-shop { margin: 8px 0 0; text-align: center; }
}

@media (max-width: 520px) {
  .brand-name { font-size: 22px; } .brand-badge { width: 46px; height: 46px; }
  .nav-toggle span { display: none; } .nav-toggle { padding: 8px 12px; }
}

/* ---------- stars ---------- */
.stars { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.stars i { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: var(--white); box-shadow: 0 0 12px 4px rgba(255,255,255,.55); }
.sparkle { position: absolute; }
@media (prefers-reduced-motion: no-preference) {
  .stars i, .stars .sparkle { animation: twinkle 3.2s ease-in-out infinite; }
  .stars i:nth-child(2n), .stars .sparkle:nth-of-type(2n) { animation-delay: 1.4s; }
  @keyframes twinkle { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
}

/* ---------- hero ---------- */
.hero { background: var(--navy); color: var(--white); position: relative; overflow: hidden; margin-top: -1px; }
.hero-in { display: flex; flex-wrap: wrap; align-items: center; gap: 40px; padding-top: 32px; padding-bottom: 20px; position: relative; }
.hero-text { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.hero-title { font-weight: 700; font-size: clamp(52px, 7vw, 92px); line-height: .98; color: var(--peri); }
.hero-title span { color: var(--white); }
.hero-lede { font-size: 20px; max-width: 540px; color: var(--white); }
.values-pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.values-pills li { padding: 9px 18px; border-radius: 999px; font-family: var(--display); font-weight: 600; font-size: 18px; }
.v-lav { background: var(--lav); color: var(--lav-ink); }
.v-blue { background: var(--blue); color: var(--blue-ink); }
.v-yellow { background: var(--butter); color: var(--butter-ink); }
.v-pink { background: var(--pink); color: var(--pink-ink); }
.hero-art { flex: 1 1 380px; min-width: 0; position: relative; height: 560px; display: flex; justify-content: center; align-items: flex-end; }
.hero-blob { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); width: 92%; max-width: 460px; height: 440px; background: var(--navy-2); border-radius: 56% 44% 50% 50% / 48% 52% 48% 52%; }
.hero-glow { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 70%; max-width: 340px; height: 46px; background: var(--yellow); opacity: .35; border-radius: 50%; }
.hero-art img { position: relative; height: 540px; width: auto; object-fit: contain; }
@media (prefers-reduced-motion: no-preference) {
  .hero-art img { animation: bob 4s ease-in-out infinite; transform-origin: bottom center; }
  @keyframes bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-8px) rotate(-1deg); } }
}
@media (max-width: 640px) {
  .hero-art { height: 400px; } .hero-art img { height: 390px; } .hero-blob { height: 320px; }
  .hero-lede { font-size: 18px; }
  .hero .stars .sparkle { display: none; }
}

/* ---------- page hero (inner pages) ---------- */
.page-hero { background: var(--navy); color: var(--white); position: relative; overflow: hidden; margin-top: -1px; }
.page-hero .wrap { position: relative; display: flex; flex-direction: column; gap: 16px; padding-top: 40px; padding-bottom: 24px; }
.page-title { font-weight: 700; font-size: clamp(40px, 5.6vw, 68px); max-width: 860px; }
.page-lede { font-size: 20px; color: var(--mist); max-width: 640px; }

/* ---------- Christmas ---------- */
.xmas { background: var(--red); color: var(--white); border-radius: 56px 40px 56px 40px; padding: 44px 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 36px; position: relative; overflow: hidden; box-shadow: 0 10px 0 var(--red-dark); }
.xmas-cover { flex: 0 1 340px; width: 340px; max-width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 44px; border: 6px solid var(--yellow); box-shadow: 0 10px 0 var(--red-dark); }
.xmas-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; position: relative; }
.xmas-text p { font-size: 19px; color: #FFE7E5; }
.xmas-buy { display: flex; flex-wrap: wrap; gap: 14px; padding-top: 4px; }
.buy-tile { display: flex; flex-direction: column; gap: 2px; padding: 14px 26px; border-radius: 28px; text-decoration: none; transition: transform .12s ease; }
.buy-tile:hover { transform: translateY(-2px); }
.buy-tile b { font-family: var(--display); font-weight: 600; font-size: 20px; }
.buy-tile span { font-weight: 800; font-size: 15px; }
.buy-white { background: var(--white); color: var(--navy); box-shadow: 0 6px 0 #E8C9C7; }
.buy-white span { color: var(--pink-ink); }
.buy-yellow { background: var(--yellow); color: var(--navy); box-shadow: 0 6px 0 var(--yellow-dark); }
.buy-yellow span { color: var(--butter-ink); }
.buy-white:hover, .buy-yellow:hover { color: var(--navy); }
.xmas-free { color: var(--white); font-weight: 800; align-self: flex-start; }
.xmas-free:hover { color: var(--yellow); }
@media (max-width: 640px) { .xmas { padding: 28px 22px; } .xmas-cover { flex-basis: 100%; width: 100%; } .buy-tile { flex: 1 1 100%; } }

/* ---------- listen strip ---------- */
.listen { background: var(--white); border-radius: 40px; padding: 26px 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; box-shadow: 0 8px 0 var(--sand); }
.listen-mt { margin-top: 56px; }
.listen-title { font-family: var(--display); font-weight: 600; font-size: 24px; }
.listen-links { display: flex; flex-wrap: wrap; gap: 12px; }
.listen-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: 999px; font-weight: 800; text-decoration: none; }
.l-green { background: var(--mint); color: var(--mint-ink); }
.l-pink { background: var(--pink); color: var(--pink-ink); }
.l-blue { background: var(--blue); color: var(--blue-ink); }
.listen-btn:hover { filter: brightness(.96); }

/* ---------- values ---------- */
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; }
.value { padding: 34px 28px; display: flex; flex-direction: column; gap: 8px; }
.value h3 { font-weight: 700; font-size: 30px; }
.value p { font-size: 17px; color: var(--navy); }
.value.v-lav h3 { color: var(--lav-ink); } .value.v-blue h3 { color: var(--blue-ink); } .value.v-yellow h3 { color: var(--butter-ink); } .value.v-pink h3 { color: var(--pink-ink); }
.b1 { border-radius: 44% 56% 40% 60% / 18% 18% 22% 22%; } .b2 { border-radius: 56% 44% 60% 40% / 20% 18% 22% 18%; }
.b3 { border-radius: 40% 60% 46% 54% / 18% 22% 18% 22%; } .b4 { border-radius: 60% 40% 54% 46% / 22% 18% 22% 18%; }

/* ---------- listen now ---------- */
.listen-now { display: flex; flex-wrap: wrap; align-items: center; gap: 40px; padding-top: 24px; padding-bottom: 72px; }
.listen-now-text { flex: 1 1 320px; display: flex; flex-direction: column; gap: 14px; }
.listen-now-text p { font-size: 19px; }
.player { flex: 2 1 480px; min-width: 0; background: var(--blue); padding: 14px; border-radius: 36px; }
.player iframe { display: block; border: 0; border-radius: 24px; }

/* ---------- Yoto night card ---------- */
.night-card { background: var(--navy); color: var(--white); border-radius: 48px; padding: 48px 40px; display: flex; flex-direction: column; gap: 32px; position: relative; overflow: hidden; }
.night-card .sec-head { margin: 0; position: relative; }
.night-card .sec-head p { color: var(--mist); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; position: relative; }
.steps li { background: var(--navy-2); border-radius: 32px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.steps h3 { font-weight: 600; font-size: 22px; }
.steps p { font-size: 17px; color: var(--mist); }
.step-num { width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 700; font-size: 26px; color: var(--navy); flex: none; }
.n-yellow { background: var(--yellow); } .n-peri { background: var(--peri); } .n-pink { background: #FFB3AE; } .n-red { background: var(--red); color: var(--white); }
.night-card .btn { align-self: flex-start; position: relative; }
@media (max-width: 640px) { .night-card { padding: 32px 22px; border-radius: 36px; } }

/* ---------- shop ---------- */
.vol-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.vol { background: var(--white); border-radius: 40px; padding: 20px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 8px 0 var(--shadow, var(--sand)); }
.vol img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 28px; }
.vol h3 { font-weight: 700; font-size: 26px; }
.vol ol, .story-vol ol { margin: 0; padding-left: 24px; font-size: 17px; line-height: 1.7; }
.vol-buy { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 6px; }
.price { font-family: var(--display); font-weight: 700; font-size: 30px; color: var(--red); }
.cd-banner { margin-top: 44px; background: var(--yellow); border-radius: 44px; padding: 32px 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 24px; box-shadow: 0 8px 0 var(--yellow-dark); position: relative; overflow: hidden; }
.cd-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.cd-text h3 { font-weight: 700; font-size: 32px; }
.cd-text p { max-width: 560px; }
.cd-mary { height: 200px; width: auto; margin-bottom: -72px; }
@media (max-width: 640px) { .cd-banner { padding: 28px 22px; } .cd-mary { display: none; } }

/* ---------- kids corner ---------- */
.kids { background: var(--lav); }
.kids > .wave:first-child { background: var(--cream); }
.kids .sec { padding-top: 32px; padding-bottom: 72px; }
.free-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.free { background: var(--white); border-radius: 36px; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.free img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; border-radius: 22px; border: 3px solid var(--lav); }
.free h3 { font-weight: 600; font-size: 22px; }
.free .ref { font-size: 15px; font-weight: 700; color: var(--muted); }
.free .btn { align-self: flex-start; margin-top: auto; }
.tag { align-self: flex-start; padding: 4px 12px; border-radius: 999px; font-weight: 800; font-size: 13px; }
.t-lav { background: var(--lav); color: var(--lav-ink); } .t-pink { background: var(--pink); color: var(--pink-ink); }
.t-blue { background: var(--blue); color: var(--blue-ink); } .t-yellow { background: var(--butter); color: var(--butter-ink); }

/* ---------- stories page ---------- */
.story-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr)); gap: 28px; }
.story-vol { background: var(--white); border-radius: 40px; padding: 20px; display: flex; flex-wrap: wrap; gap: 22px; align-items: center; box-shadow: 0 8px 0 var(--shadow, var(--sand)); }
.story-vol img { flex: 0 0 200px; width: 200px; aspect-ratio: 1; object-fit: cover; border-radius: 28px; }
.story-vol-text { flex: 1 1 240px; display: flex; flex-direction: column; gap: 10px; }
.story-vol h2 { font-weight: 700; font-size: 30px; }
.story-vol .vol-buy { justify-content: flex-start; }
@media (max-width: 560px) { .story-vol img { flex-basis: 100%; width: 100%; } }

/* ---------- guide page ---------- */
.guide { display: flex; flex-direction: column; gap: 28px; }
.guide-2col { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 28px; }
.guide-card { border-radius: 40px; padding: 36px; display: flex; flex-direction: column; gap: 14px; }
.guide-card h2 { font-weight: 700; font-size: 30px; }
.guide-card.g-yellow { background: var(--butter); flex-direction: row; flex-wrap: wrap; gap: 22px; }
.guide-card.g-yellow > div { flex: 1 1 400px; display: flex; flex-direction: column; gap: 10px; }
.guide-card ul { margin: 0; padding-left: 22px; }
.g-blue { background: var(--blue); } .g-lav { background: var(--lav); } .g-white { background: var(--white); box-shadow: 0 8px 0 var(--sand); }
.guide-steps { margin: 0; padding-left: 26px; display: flex; flex-direction: column; gap: 10px; }
.guide-steps li::marker { font-family: var(--display); font-weight: 700; color: var(--red); }
.guide-note { font-size: 16px; font-weight: 700; color: var(--muted); }
.guide-help { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 24px; overflow: hidden; }
.guide-help img { width: 110px; height: auto; flex: none; }
.guide-help > div { flex: 1 1 360px; display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 640px) { .guide-card { padding: 26px 22px; border-radius: 32px; } }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 36px; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } .contact-aside { order: 2; } }
.contact-aside { display: flex; flex-direction: column; gap: 20px; }
.aside-card { background: var(--white); border-radius: 32px; padding: 28px; box-shadow: 0 8px 0 var(--sand); display: flex; flex-direction: column; gap: 10px; }
.aside-card h2 { font-size: 24px; font-weight: 700; }
.aside-card ol { margin: 0; padding-left: 22px; }
.aside-yellow { background: var(--yellow); box-shadow: 0 8px 0 var(--yellow-dark); }
.aside-yellow a { font-weight: 800; word-break: break-word; }
.aside-mary { width: 130px; align-self: center; }
.form-card { background: var(--white); border-radius: 40px; padding: 36px; box-shadow: 0 8px 0 var(--sand); display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.form-card .big { font-size: 20px; }
.form-grid { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } .form-card { padding: 26px 20px; } }
.field { display: flex; flex-direction: column; gap: 6px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field[hidden] { display: none; }
.field label, .field legend { font-weight: 800; font-size: 16px; padding: 0; }
.opt { font-weight: 600; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 12px 20px; border-radius: 26px; border: 3px solid var(--blue); background: var(--white); font: 17px var(--body); color: var(--navy); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--peri); outline: none; }
.field textarea { resize: vertical; }
.checks { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.check { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; min-height: 48px; border-radius: 999px; background: var(--blue); font-weight: 800; cursor: pointer; }
.check input { width: 20px; height: 20px; min-height: 0; accent-color: var(--red); }
.form-error { background: var(--pink); color: var(--pink-ink); font-weight: 800; padding: 12px 18px; border-radius: 18px; }

/* ---------- prose (privacy) ---------- */
.prose { max-width: 760px; display: flex; flex-direction: column; gap: 14px; }
.prose h2 { font-size: 28px; font-weight: 700; margin-top: 18px; }
.prose ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }

/* ---------- signup ---------- */
.signup-sec { padding: 72px 0 88px; }
.signup { background: var(--blue); border-radius: 60px 40px 60px 40px; padding: 44px 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 28px; }
.signup-text { flex: 1 1 380px; display: flex; flex-direction: column; gap: 10px; }
.signup-form { flex: 1 1 380px; display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.signup-form .grow { flex: 1 1 220px; }
.signup-form input { border-color: var(--white); }
.signup-note { flex-basis: 100%; font-size: 15px; color: var(--muted); }
@media (max-width: 640px) { .signup { padding: 30px 22px; border-radius: 40px; } .signup-form .btn { width: 100%; } }

/* ---------- footer ---------- */
.footer { background: var(--navy); color: var(--white); }
.footer .wave { background: var(--cream); }
.footer-in { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; padding-top: 20px; padding-bottom: 44px; }
.footer-brand { display: flex; flex-direction: column; gap: 8px; }
.footer-brand p { color: #C9D1F5; font-size: 16px; }
.footer-nav, .footer-listen { display: flex; flex-direction: column; gap: 6px; }
.footer a { color: var(--white); font-weight: 700; text-decoration: none; }
.footer a:hover { color: var(--yellow); text-decoration: underline; }
.copy { grid-column: 1 / -1; font-size: 15px; color: #C9D1F5; border-top: 1px solid var(--navy-2); padding-top: 20px; }
