/* Mama Sing: friendly, trust-first shop page. Brand green from the whale logo is the single accent.
   Light by default, dark via prefers-color-scheme. One radius scale: 18px cards/images, pill buttons. */
:root {
  --bg: #f6f8f6;
  --surface: #ffffff;
  --ink: #18241f;
  --muted: #55645d;
  --line: #dde5e0;
  --green: #3f8c6e;
  --green-ink: #2d6b53;
  --on-green: #ffffff;
  --tint: #e7f1ec;
  --display: "Fredoka", "Nunito", system-ui, sans-serif;
  --body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 18px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1613; --surface: #17201c; --ink: #e6efea; --muted: #a2b2aa; --line: #26332d;
    --green: #5fb08f; --green-ink: #7cc6a7; --on-green: #0f1613; --tint: #1b2a23; color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--body); }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: 1160px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
h1, h2 { font-family: var(--display); font-weight: 600; line-height: 1.12; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
p { margin: 0; max-width: 60ch; color: var(--muted); }

.nav { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-row { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 600; font-size: 1.25rem; }
.brand img { border-radius: 10px; }
.nav nav { display: flex; gap: 22px; }
.nav nav a { text-decoration: none; font-weight: 600; color: var(--muted); }
.nav nav a:hover { color: var(--green-ink); }

.btn { display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; padding: 12px 22px; border-radius: 999px; font-weight: 700; text-decoration: none; transition: transform .2s cubic-bezier(.16,1,.3,1), background .2s; }
.btn.primary { background: var(--green); color: var(--on-green); }
.btn.primary:hover { background: var(--green-ink); }
.btn.ghost { border: 2px solid var(--green); color: var(--green-ink); }
.btn:active { transform: scale(.98); }
a:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 8px; }

.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding-top: 56px; padding-bottom: 64px; }
.hero-copy { display: flex; flex-direction: column; gap: 20px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-art { display: grid; grid-template-columns: 2fr 1fr; gap: 14px; align-items: start; }
.hero-art img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--r); box-shadow: 0 18px 40px color-mix(in srgb, var(--green) 18%, transparent); }
.hero-art .a { grid-row: 1 / 3; }

.best { padding-top: 40px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 12px; }
.lead { margin-bottom: 12px; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { background: var(--surface); border-radius: var(--r); overflow: hidden; text-decoration: none; display: flex; flex-direction: column; border: 1px solid var(--line); transition: transform .25s cubic-bezier(.16,1,.3,1), box-shadow .25s; }
.card img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; height: auto; }
.card .name { font-weight: 700; padding: 12px 14px 2px; line-height: 1.3; }
.card .meta { font-size: .9rem; color: var(--muted); padding: 0 14px 14px; font-variant-numeric: tabular-nums; }
.card.big { grid-column: span 2; }
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px color-mix(in srgb, var(--green) 16%, transparent); }

.safety { background: var(--tint); padding-block: 64px; }
.safety-row { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; }
.safety-row img { border-radius: var(--r); height: auto; }
.safety-row > div { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }

.shops { padding-top: 72px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 24px; }
.shop-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.shop-list a { display: flex; flex-direction: column; gap: 4px; padding: 20px 22px; border-radius: var(--r); background: var(--surface); border: 2px solid var(--line); text-decoration: none; transition: border-color .2s, transform .2s cubic-bezier(.16,1,.3,1); }
.shop-list a strong { font-family: var(--display); font-size: 1.3rem; font-weight: 600; color: var(--green-ink); }
.shop-list a span { color: var(--muted); font-size: .92rem; overflow-wrap: anywhere; }
.shop-list a:hover { border-color: var(--green); transform: translateY(-2px); }

.contact { display: flex; align-items: center; gap: 32px; padding-top: 40px; padding-bottom: 80px; }
.contact img { border-radius: 28px; flex: none; }
.contact > div { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }

.foot { border-top: 1px solid var(--line); }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 22px; color: var(--muted); font-size: .92rem; }
.foot a { color: var(--muted); }

@media (prefers-reduced-motion: no-preference) {
  .hero-copy, .hero-art { animation: rise .7s cubic-bezier(.16,1,.3,1) both; }
  .hero-art { animation-delay: .08s; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .btn, .shop-list a { transition: none; }
}
@media (max-width: 900px) {
  .hero, .safety-row { grid-template-columns: 1fr; gap: 28px; }
  .hero { padding-top: 32px; padding-bottom: 24px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .card.big { grid-column: span 2; }
  .shop-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .nav nav { gap: 14px; font-size: .95rem; }
  .contact { flex-direction: column; align-items: flex-start; }
  .contact img { width: 110px; height: 110px; }
}

/* Trust strip, reviews, gift finder */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding-bottom: 8px; }
.trust > div { display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; border-radius: var(--r); background: var(--tint); }
.trust strong { font-family: var(--display); font-weight: 600; font-size: 1.25rem; color: var(--green-ink); }
.trust span { color: var(--muted); font-size: .92rem; }

.kado-teaser { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-block: 28px 64px; }
.kado-teaser > div:first-child { display: flex; flex-direction: column; gap: 8px; }
.ages { display: flex; flex-wrap: wrap; gap: 10px; }
.ages a, .ages button { font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; padding: 12px 18px; border-radius: 999px; border: 2px solid var(--green); background: var(--surface); color: var(--green-ink); transition: background .2s, color .2s, transform .2s cubic-bezier(.16,1,.3,1); }
.ages small { font-weight: 600; opacity: .75; }
.ages a:hover, .ages button:hover { background: var(--tint); }
.ages a:active, .ages button:active { transform: scale(.98); }
.ages button[aria-selected="true"] { background: var(--green); color: var(--on-green); }
.ages button:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }

.reviews { padding-top: 72px; display: flex; flex-direction: column; gap: 20px; }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.quotes figure { margin: 0; padding: 20px 22px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; gap: 14px; }
.quotes blockquote { margin: 0; font-size: 1.02rem; line-height: 1.5; }
.quotes figcaption { color: var(--muted); font-size: .88rem; }
.note { font-size: .88rem; }

.kado-head { padding-top: 48px; padding-bottom: 20px; display: flex; flex-direction: column; gap: 16px; }
.kado-list { padding-bottom: 56px; display: flex; flex-direction: column; gap: 14px; }
.count { font-weight: 700; color: var(--ink); }
.kado-grid .card { position: relative; }
.card .age { position: absolute; top: 10px; left: 10px; padding: 4px 10px; border-radius: 999px; background: var(--surface); color: var(--green-ink); font-size: .8rem; font-weight: 700; box-shadow: 0 2px 8px color-mix(in srgb, var(--ink) 12%, transparent); }
.kado-popular { padding-block: 24px 56px; display: flex; flex-direction: column; gap: 12px; }
.kado-popular .grid { margin-top: 8px; }
.kado-help { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 28px; margin-bottom: 64px; border-radius: var(--r); background: var(--tint); }
.kado-help > div { display: flex; flex-direction: column; gap: 6px; }

@media (max-width: 900px) {
  .trust, .quotes { grid-template-columns: 1fr; }
  .kado-grid { grid-template-columns: repeat(2, 1fr); }
}
.brand, .nav nav a { white-space: nowrap; }
.kado-teaser > div:first-child { flex: 1 1 300px; }
.kado-teaser .ages { flex: 1 1 440px; justify-content: flex-end; }
@media (max-width: 900px) { .kado-teaser .ages { justify-content: flex-start; } }
@media (max-width: 420px) { .nav nav { gap: 12px; font-size: .9rem; } .brand { font-size: 1.1rem; } .brand img { width: 34px; height: 34px; } }
.addr { font-size: .92rem; }
