/* =========================================================
 *  Tiny Hands: the pillar pages (/learn/, /feel/, /move/).
 *  One look, taken from the app's Learn card: a big gradient card,
 *  one 3D character that bobs, a Fredoka title, one line, a salmon button.
 * ========================================================= */

.pl-body {
  --salmon: #F4845F;
  --g1: #6FC7F5; --g2: #4FA8E8; --g3: #3B86D4; --glow: 47, 111, 176;   /* Learn's sea blue */
}
.pl-feel  { --g1: #4FB3A9; --g2: #2E968F; --g3: #1F7A78; --glow: 20, 100, 95; }
.pl-move  { --g1: #FFC46B; --g2: #FF9F4A; --g3: #F27B3C; --glow: 190, 90, 30; --salmon: #6A5BC9; }
.pl-body h1, .pl-body h2 { font-family: 'Fredoka', 'Baloo 2', 'Nunito', sans-serif; font-weight: 600; color: #3B3470; }
.pl-body .pg { max-width: 860px; }

/* ---- Header: Play · Learn · Feel · Move ---- */
.pl-switch { display: flex; gap: 4px; background: rgba(124, 107, 191, 0.08); padding: 4px; border-radius: 999px; }
.pl-body .pl-switch a {
  padding: 7px 16px; border-radius: 999px; text-decoration: none;
  font-family: 'Fredoka', 'Nunito', sans-serif; font-weight: 600; font-size: 1rem; color: #5A4FA3;
}
.pl-body .pl-switch a:hover { background: rgba(255, 255, 255, 0.7); }
.pl-body .pl-switch a[aria-current="page"] { background: #fff; color: var(--c); box-shadow: 0 2px 8px rgba(60, 40, 90, 0.12); }
.pl-switch .sw-play  { --c: #E2653F; }
.pl-switch .sw-learn { --c: #2F75C0; }
.pl-switch .sw-feel  { --c: #1F8A80; }
.pl-switch .sw-move  { --c: #D9681F; }
@media (max-width: 560px) {
  .pl-body .pg-header { justify-content: center; padding-top: 10px; padding-bottom: 10px; }
  .pl-body .pg-logo { display: none; }
  .pl-switch { width: 100%; justify-content: space-between; }
  .pl-body .pl-switch a { flex: 1; text-align: center; padding: 8px 4px; }
}

/* ---- The card (the app's Learn card) ---- */
.pl-card {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: clamp(16px, 4vw, 36px);
  margin: clamp(12px, 3vw, 28px) 0 0; padding: clamp(22px, 4vw, 40px) clamp(20px, 4vw, 44px);
  border-radius: 28px; color: #fff;
  background: linear-gradient(135deg, var(--g1), var(--g2) 50%, var(--g3));
  box-shadow: 0 10px 28px rgba(var(--glow), 0.28);
}
.pl-card-art { flex: none; width: clamp(120px, 24vw, 200px); display: grid; place-items: center; }
.pl-card-art img { width: 100%; height: auto; filter: drop-shadow(0 8px 14px rgba(var(--glow), 0.35)); }
.pl-bob { animation: pl-bob 1.6s ease-in-out infinite alternate; }
@keyframes pl-bob { from { transform: translateY(4%) rotate(-4deg); } to { transform: translateY(-4%) rotate(4deg); } }
.pl-card-words { flex: 1; min-width: 0; }
.pl-body .pl-card h1, .pl-body .pl-card h2 { color: #fff; margin: 0; font-size: clamp(2rem, 5.5vw, 3rem); line-height: 1.05; }
.pl-body .pl-card p { margin: 10px 0 0; font-size: clamp(1.05rem, 2.4vw, 1.25rem); font-weight: 700; opacity: 0.95; max-width: 26em; }
.pl-body .pl-card .pl-small { font-size: 0.95rem; font-weight: 600; opacity: 0.85; }
.pl-btn {
  display: inline-block; margin-top: 18px; border: 0; cursor: pointer;
  font: 900 1.1rem 'Nunito', sans-serif; color: #fff; text-decoration: none;
  padding: 12px 30px; border-radius: 999px; background: var(--salmon);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); transition: transform .15s;
}
.pl-body a.pl-btn { color: #fff; }
.pl-btn:hover { transform: translateY(-2px); }
.pl-btn:active { transform: scale(0.97); }
.pl-btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.pl-btn.quiet { background: rgba(255, 255, 255, 0.22); box-shadow: none; margin-left: 6px; }
@media (max-width: 560px) {
  .pl-card { flex-direction: column; text-align: center; }
  .pl-body .pl-card p { margin-left: auto; margin-right: auto; }
}

/* ---- Feel: breathe with Bubba, inside the card ---- */
.br-whale { transition: transform var(--t, 4s) ease-in-out; }
.br-in .br-whale  { transform: translateY(-10%) scale(1.15); }
.br-out .br-whale { transform: translateY(6%) scale(0.95); }
.br-in .pl-bob, .br-out .pl-bob { animation: none; }
.br-dots { display: flex; gap: 8px; margin-top: 16px; }
.br-dots i { width: 12px; height: 12px; border-radius: 50%; background: rgba(255, 255, 255, 0.3); transition: background .4s; }
.br-dots i.on { background: #fff; }
.pl-card-words .br-dots { justify-content: flex-start; }
@media (max-width: 560px) { .pl-card-words .br-dots { justify-content: center; } }
.br-spout { position: absolute; width: var(--s); height: var(--s); border-radius: 50%; background: rgba(255, 255, 255, 0.85); pointer-events: none; animation: br-rise var(--d) ease-out forwards; }
@keyframes br-rise { from { transform: translate(0, 0) scale(.4); opacity: 0; } 15% { opacity: 1; } to { transform: translate(var(--dx), -140px) scale(1); opacity: 0; } }

/* ---- Below the card: a few plain lines ---- */
.pl-how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 36px 4px 0; padding: 0; list-style: none; }
.pl-how li { font-size: 1rem; color: #5A5A5A; }
.pl-how b { display: block; font-family: 'Fredoka', 'Nunito', sans-serif; font-weight: 600; font-size: 1.15rem; color: #3B3470; margin-bottom: 2px; }
@media (max-width: 640px) { .pl-how { grid-template-columns: 1fr; gap: 12px; } }

/* ---- Coming soon: a quiet white card ---- */
.pl-soon { margin-top: 36px; background: #fff; border-radius: 24px; padding: 22px 24px; box-shadow: 0 4px 18px rgba(60, 40, 90, 0.07); }
.pl-body .pl-soon h2 { margin: 0; font-size: 1.35rem; }
.pl-body .pl-soon p { margin: 6px 0 14px; color: #5A5A5A; font-size: 1rem; }
.pl-wait { display: flex; gap: 8px; flex-wrap: wrap; }
.pl-wait input { flex: 1 1 220px; min-width: 0; font: inherit; padding: 11px 18px; border-radius: 999px; border: 2px solid #E6DFF5; background: #FBFAFF; }
.pl-wait input:focus { outline: none; border-color: var(--g2); }
.pl-wait .pl-btn { margin-top: 0; background: var(--g3); }
.pl-body .pl-wait-note { margin: 8px 0 0; font-size: 0.9rem; color: #8B8580; }

/* ---- Programs (the Learn hub) and the other doors: small cards in the same style ---- */
.pl-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin-top: 14px; }
.pl-body .pl-mini {
  display: flex; align-items: center; gap: 12px; min-height: 92px;
  padding: 16px 18px; border-radius: 22px; text-decoration: none; color: #fff;
  background: linear-gradient(135deg, var(--a), var(--b));
  box-shadow: 0 6px 16px rgba(60, 40, 90, 0.12); transition: transform .15s;
}
.pl-body a.pl-mini:hover { transform: translateY(-3px); }
.pl-mini img { width: 56px; height: 56px; flex: none; }
.pl-mini b { display: block; font-family: 'Fredoka', 'Nunito', sans-serif; font-weight: 600; font-size: 1.25rem; line-height: 1.1; }
.pl-mini span { font-size: 0.92rem; font-weight: 700; opacity: 0.92; }
.pl-body .pl-mini.soon { background: #fff; color: #8B8580; box-shadow: inset 0 0 0 2px #EEE8FA; }
.pl-mini.soon b { color: #5A4FA3; }
.pl-body h2.pl-h { font-size: 1.35rem; margin: 40px 4px 0; }

.vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

@media (prefers-reduced-motion: reduce) {
  .pl-bob, .mv-jump { animation: none; }
  .br-whale { transition-duration: 0s !important; }
  .br-spout { display: none; }
}

/* Feel: Bubba is the start button for children */
.pl-feel #breathe .pl-card-art { cursor: pointer; }
.pl-feel #breathe.br-on .pl-card-art { cursor: default; }
.pl-btn[hidden] { display: none; }

/* ---- "Coming soon" on a card ---- */
.pl-pill { display: inline-block; margin-bottom: 10px; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.95); color: var(--g3); font: 900 0.8rem 'Nunito', sans-serif; letter-spacing: 0.08em; text-transform: uppercase; }

/* ---- Brand lockup: Tiny Hands Learn [READING] ---- */
.pl-lock { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; }
.pl-lock .pl-brand { font-family: 'Fredoka', 'Nunito', sans-serif; font-weight: 700; font-size: clamp(1.3rem, 3vw, 1.7rem); line-height: 1; color: var(--ink, #fff); }
.pl-lock .pl-ed { padding: 5px 12px 4px; border-radius: 10px; background: rgba(255, 255, 255, 0.95); color: var(--g3); font: 900 clamp(0.85rem, 2vw, 1rem) 'Nunito', sans-serif; letter-spacing: 0.12em; text-transform: uppercase; }
@media (max-width: 560px) { .pl-lock { justify-content: center; } }

/* ---- Learn: one banner per program ---- */
.pl-intro { text-align: center; margin: 22px auto 0; max-width: 36em; }
.pl-body .pl-intro h1 { margin: 0; font-size: clamp(2rem, 5vw, 2.8rem); }
.pl-body .pl-intro p { margin: 6px 0 0; color: #5A5A5A; font-size: 1.1rem; }
.pl-progs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.pl-progs .pl-card { margin: 0; flex-direction: column; text-align: center; padding: 22px 18px 24px; gap: 8px; }
.pl-progs .pl-card-art { width: clamp(96px, 16vw, 130px); }
.pl-progs .pl-lock { justify-content: center; }
.pl-body .pl-progs .pl-card p { font-size: 1rem; margin: 8px auto 0; }
.pl-body a.pl-card { text-decoration: none; color: #fff; transition: transform .15s; }
.pl-body a.pl-card:hover { transform: translateY(-3px); }
.pl-soon-tag { display: inline-block; margin-top: 14px; padding: 8px 18px; border-radius: 999px; background: rgba(255, 255, 255, 0.28); font: 900 0.95rem 'Nunito', sans-serif; color: var(--ink, #fff); }
.pl-reading { --g1: #6FC7F5; --g2: #4FA8E8; --g3: #3B86D4; --glow: 47, 111, 176; }
.pl-numbers { --g1: #A6E68A; --g2: #62C46E; --g3: #2E9A5A; --glow: 40, 120, 70; }
.pl-money   { --g1: #FFE68A; --g2: #FFCB45; --g3: #F2A51F; --glow: 190, 130, 20; --ink: #5A3B00; }
.pl-music   { --g1: #CFB3FF; --g2: #A283F2; --g3: #7656D6; --glow: 100, 70, 190; }
.pl-body .pl-money.pl-card, .pl-body .pl-money h2 { color: var(--ink); }
.pl-money .pl-ed { color: #B87500; }
@media (max-width: 760px) { .pl-progs { grid-template-columns: 1fr; } }

/* ---- Move: Momo, a flipbook of poses ---- */
.pl-move .pl-card-art { width: clamp(200px, 32vw, 320px); margin: -20px -10px; }
.momo { position: relative; width: 100%; aspect-ratio: 1; }
.momo img { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; filter: drop-shadow(0 8px 14px rgba(var(--glow), 0.35)); }
.momo img.on { opacity: 1; }
.momo.flip img { transform: scaleX(-1); }
.momo .hop { transform: translateY(-9%); transition: transform .18s ease-out; }
.momo.flip .hop { transform: scaleX(-1) translateY(-9%); }
.momo.idle { animation: pl-bob 1.6s ease-in-out infinite alternate; }
.momo.wobble { animation: momo-wobble 1.4s ease-in-out infinite alternate; }
@keyframes momo-wobble { from { transform: rotate(-4deg); } to { transform: rotate(4deg); } }
.pl-body .pl-card .mv-name { font-family: 'Fredoka', 'Nunito', sans-serif; font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 700; opacity: 1; margin-top: 12px; }
.mv-steps { display: flex; gap: 8px; margin-top: 14px; }
.mv-steps i { width: 12px; height: 12px; border-radius: 50%; background: rgba(255, 255, 255, 0.35); }
.mv-steps i.on { background: #fff; }
@media (max-width: 560px) { .mv-steps { justify-content: center; } }

/* ---- For parents: the article ---- */
.pl-article { max-width: 680px; margin: 44px auto 0; }
.pl-body .pl-article h2 { font-size: clamp(1.4rem, 3.4vw, 1.8rem); margin: 40px 0 10px; }
.pl-body .pl-article h3 { font-family: 'Fredoka', 'Nunito', sans-serif; font-weight: 700; color: #3B3470; font-size: 1.2rem; margin: 22px 0 6px; }
.pl-body .pl-article p, .pl-body .pl-article li { font-size: 1.06rem; line-height: 1.7; color: #3D3D3D; }
.pl-article ul { padding-left: 1.2em; }
.pl-article li { margin: 6px 0; }
.pl-faq details { background: #fff; border-radius: 16px; padding: 14px 18px; margin: 10px 0; box-shadow: 0 2px 10px rgba(60, 40, 90, 0.05); }
.pl-faq summary { cursor: pointer; font-weight: 800; color: #3B3470; font-size: 1.05rem; list-style: none; }
.pl-faq summary::-webkit-details-marker { display: none; }
.pl-faq summary::after { content: '+'; float: right; font-weight: 900; color: var(--g3); }
.pl-faq details[open] summary::after { content: '\2212'; }
.pl-body .pl-faq details p { margin: 8px 0 0; }

/* ---- Learn's logo on a banner: "Tiny Hands Learn" small, the program big ---- */
.pl-logo { display: flex; flex-direction: column; line-height: 1; color: var(--ink, #fff); }
.pl-logo-top { font: 900 clamp(0.8rem, 1.8vw, 0.95rem) 'Nunito', sans-serif; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.9; }
.pl-body .pl-logo-big { margin: 4px 0 0; font-family: 'Fredoka', 'Nunito', sans-serif; font-weight: 700; font-size: clamp(2.4rem, 7vw, 3.6rem); line-height: 1; color: var(--ink, #fff); }
@media (max-width: 560px) { .pl-logo { align-items: center; } }

/* ---- Learn: every program a full-width banner, one under the other ---- */
.pl-progs { display: flex; flex-direction: column; gap: 16px; margin-top: 16px; }
.pl-progs .pl-card { margin: 0; flex-direction: row; text-align: left; padding: clamp(20px, 3.5vw, 32px) clamp(20px, 4vw, 44px); gap: clamp(16px, 4vw, 36px); }
.pl-progs .pl-card-art { width: clamp(110px, 20vw, 170px); }
.pl-body .pl-progs .pl-card p { font-size: clamp(1rem, 2.2vw, 1.15rem); margin: 10px 0 0; }
.pl-progs .pl-card.soon { opacity: 0.72; box-shadow: none; }
.pl-progs .pl-card.soon .pl-card-art img { animation: none; }
@media (max-width: 560px) { .pl-progs .pl-card { flex-direction: column; text-align: center; } .pl-body .pl-progs .pl-card p { margin: 10px auto 0; } }

/* the character pictures carry empty space around them: show them bigger, letting the space overlap the card's padding */
.pl-card-art { width: clamp(150px, 26vw, 240px); margin: -24px -12px; }
.pl-progs .pl-card-art { width: clamp(140px, 22vw, 210px); }
.pl-mini img { width: 72px; height: 72px; margin: -10px -6px; }

/* ---- Trust: a strip of plain promises under the hero, and "Built on research" cards ---- */
.pl-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: 18px 0 0; padding: 0; list-style: none; }
.pl-body .pl-trust li { font-size: 0.95rem; font-weight: 800; color: #5A4FA3; display: flex; align-items: center; gap: 7px; }
.pl-trust li::before { content: ''; width: 16px; height: 16px; border-radius: 50%; flex: none; background: #2E9A5A url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.3l2.6 2.5L12 5.4' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }

/* ---- The Tiny Hands logo family: the hand, "Tiny Hands", the product in its colour ---- */
.th-logo { --th: #2F86D9; display: inline-flex; align-items: center; gap: 0.18em; font-family: 'Fredoka', 'Nunito', sans-serif; font-weight: 700; line-height: 1; text-decoration: none; }
.th-play  { --th: #E2653F; }
.th-learn { --th: #2F86D9; }
.th-feel  { --th: #1F8A80; }
.th-move  { --th: #E8761F; }
.th-logo img { width: 1.75em; height: 1.75em; transform: rotate(-10deg); filter: drop-shadow(0 3px 4px rgba(200, 120, 0, 0.25)); }
.th-logo-words { display: flex; flex-direction: column; align-items: flex-start; }
.th-logo-top { font-size: 0.5em; color: #3B3470; letter-spacing: 0.01em; }
.th-logo-name { font-size: 1.2em; color: var(--th); margin-top: -0.04em; letter-spacing: -0.01em; }
/* one line, for the header */
.th-logo.line { gap: 0.3em; }
.th-logo.line img { width: 1.35em; height: 1.35em; }
.th-logo.line .th-logo-words { flex-direction: row; align-items: baseline; gap: 0.28em; }
.th-logo.line .th-logo-top, .th-logo.line .th-logo-name { font-size: 1em; margin: 0; }
.th-logo.line .th-logo-top { color: #4B3F9E; }
.pl-body a.pg-logo.th-logo { font-size: 1.3rem; }
.pl-body .pl-intro h1.pl-h1-logo { font-size: clamp(2.4rem, 7vw, 3.6rem); margin: 0; }

/* ---- Trust: one row of three ---- */
.pl-trust { flex-wrap: nowrap; gap: 6px 18px; }
@media (max-width: 420px) { .pl-trust { gap: 10px; } .pl-body .pl-trust li { font-size: 0.8rem; gap: 5px; } .pl-trust li::before { width: 13px; height: 13px; } }

/* ---- Badges on a banner (our own trust marks, not other organisations' logos) ---- */
.pl-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; padding: 0; list-style: none; }
.pl-body .pl-badges li { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px 5px 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.2); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.45); font: 800 0.85rem 'Nunito', sans-serif; color: var(--ink, #fff); }
.pl-badges svg { width: 22px; height: 22px; flex: none; }
.pl-money .pl-badges li { background: rgba(255, 255, 255, 0.4); box-shadow: inset 0 0 0 1.5px rgba(138, 90, 0, 0.25); }
@media (max-width: 560px) { .pl-badges { justify-content: center; } }
.pl-body .pl-trust li { white-space: nowrap; }
@media (max-width: 420px) { .pl-trust { gap: 8px; } .pl-body .pl-trust li { font-size: 0.76rem; gap: 4px; } }

/* Feel: the breathing sphere behind Lulu (grows as you breathe in, shrinks as you breathe out) */
.pl-feel #breathe .pl-card-art { position: relative; }
.br-orb { position: absolute; inset: 6%; border-radius: 50%; z-index: 0; pointer-events: none;
  background: radial-gradient(circle at 38% 32%, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.35) 42%, rgba(255, 255, 255, 0.1) 68%, rgba(255, 255, 255, 0) 72%);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.55), 0 0 50px rgba(255, 255, 255, 0.45);
  transform: scale(0.72); transition: transform var(--t, 4s) ease-in-out; animation: br-idle 3.2s ease-in-out infinite alternate; }
@keyframes br-idle { from { transform: scale(0.7); } to { transform: scale(0.8); } }
.br-on .br-orb { animation: none; }
.br-in .br-orb { transform: scale(1.18); }
.br-out .br-orb { transform: scale(0.7); }
.br-whale { position: relative; z-index: 1; }
.pl-body .pl-card h2 { color: #fff; margin: 0; font-size: clamp(1.9rem, 5vw, 2.6rem); line-height: 1.05; }
@media (prefers-reduced-motion: reduce) { .br-orb { animation: none; transition-duration: 0s; } }

/* =========================================================
 *  Full-screen stages: Feel's calm-down and Move's break fill the screen
 * ========================================================= */
body.stage-open { overflow: hidden; }
.stage { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; overflow: hidden; color: #fff; text-align: center;
  padding: calc(16px + env(safe-area-inset-top, 0px)) 16px calc(16px + env(safe-area-inset-bottom, 0px)); }
.stage[hidden] { display: none; }
.stage-main { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 2vh; width: 100%; }
.stage-close { position: absolute; z-index: 3; top: calc(14px + env(safe-area-inset-top, 0px)); right: 14px; width: 52px; height: 52px; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, 0.18); color: #fff; font: 700 2rem/1 'Nunito', sans-serif; cursor: pointer; }
.stage-close:hover { background: rgba(255, 255, 255, 0.3); }
.stage-close:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

/* Feel: deep calm green, slow bubbles drifting up, Lulu in her aura */
.stage-feel { background: radial-gradient(ellipse at 50% 42%, #3F9C84 0%, #236F5F 52%, #12463F 100%); }
.stage-motes i { position: absolute; bottom: -40px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
  animation: mote var(--d) linear infinite; animation-delay: var(--delay); }
@keyframes mote { from { transform: translate(0, 0); opacity: 0; } 10% { opacity: 1; } 50% { transform: translate(var(--sway), -55vh); } 90% { opacity: 0.8; } to { transform: translate(0, -115vh); opacity: 0; } }
.stage-feel .br-art { position: relative; width: min(64vmin, 520px); aspect-ratio: 1; }
.stage-feel .br-orb { inset: 0; }
.stage-feel .br-whale { position: absolute; inset: 14%; }
.br-poses img { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .8s ease; filter: drop-shadow(0 10px 20px rgba(0, 40, 30, 0.35)); }
.br-poses img.on { opacity: 1; }
.stage-feel .br-say { margin: 0; min-height: 1.3em; font: 700 clamp(1.8rem, 6vmin, 3.2rem)/1.15 'Fredoka', 'Nunito', sans-serif; color: #fff; text-shadow: 0 2px 12px rgba(0, 40, 30, 0.35); }
.stage-feel .br-dots { gap: 14px; margin: 0; }
.stage-feel .br-dots i { width: 16px; height: 16px; }

/* Move: sunny and bright, Momo big in the middle */
.stage-move { background: radial-gradient(ellipse at 50% 40%, #FFD27A 0%, #FFA24D 55%, #EE7436 100%); }
.stage-move .mv-name { margin: 0; font: 700 clamp(2.2rem, 8vmin, 4.4rem)/1.05 'Fredoka', 'Nunito', sans-serif; color: #fff; text-shadow: 0 3px 14px rgba(150, 60, 0, 0.35); }
.stage-move .momo { width: min(66vmin, 600px); }
.stage-move .mv-steps { gap: 14px; margin: 0; }
.stage-move .mv-steps i { width: 16px; height: 16px; }
.stage-bar { position: absolute; left: 0; bottom: 0; height: 12px; width: 100%; background: rgba(255, 255, 255, 0.9); transform-origin: left; transform: scaleX(0); z-index: 2; }

/* the end: coming soon + sign up, over the stage */
.stage-end { position: absolute; z-index: 2; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 24px; animation: end-in .8s ease both; }
.stage-end[hidden] { display: none; }
@keyframes end-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.stage-feel .stage-end { background: rgba(18, 70, 63, 0.82); }
.stage-move .stage-end { background: rgba(200, 90, 30, 0.85); }
.pl-body .stage-end h2 { color: #fff; margin: 0; font-size: clamp(1.8rem, 6vmin, 2.8rem); }
.pl-body .stage-end p { color: rgba(255, 255, 255, 0.92); margin: 0; font-size: 1.1rem; max-width: 30em; }
.stage-end .pl-wait { width: min(520px, 100%); margin-top: 8px; }
.stage-end .pl-wait .pl-btn { background: #F4845F; }
.pl-body .stage-end .pl-wait-note { color: rgba(255, 255, 255, 0.85); font-size: 0.9rem; }
.stage-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.stage-actions .pl-btn { margin: 0; }
.stage-end.sent .pl-wait { display: none; }

@media (prefers-reduced-motion: reduce) { .stage-motes { display: none; } .br-poses img { transition: none; } }

/* ---- The research behind it: an evidence list, a row per study (logo, finding, source) ---- */
.pl-research { max-width: 860px; margin: 56px auto 0; }
.pl-body .pl-research h2 { text-align: center; margin: 0 0 6px; font-size: clamp(1.5rem, 3.6vw, 2rem); }
.pl-body .pl-research > p { text-align: center; color: #5A5A5A; margin: 0 auto 18px; max-width: 34em; }
.ev-list { background: #fff; border-radius: 26px; box-shadow: 0 6px 24px rgba(60, 40, 90, 0.07); overflow: hidden; }
.pl-body a.ev { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 28px; align-items: center; padding: 22px 28px; text-decoration: none; color: inherit; border-top: 1px solid #F0ECF8; transition: background .15s; }
.pl-body a.ev:first-child { border-top: 0; }
.pl-body a.ev:hover { background: #FBF9FF; }
.ev-logo { display: flex; align-items: center; justify-content: center; height: 56px; }
.ev-logo img { max-height: 52px; max-width: 160px; width: auto; height: auto; object-fit: contain; }
.ev-org { font: 800 0.9rem/1.25 'Nunito', sans-serif; color: #5A4FA3; text-align: center; }
.ev-body { display: flex; flex-direction: column; gap: 6px; }
.ev-find { font: 700 1.08rem/1.5 'Nunito', sans-serif; color: #2D2A45; }
.ev-src { font-size: 0.88rem; font-weight: 700; color: #8B8580; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.ev-read { color: #3B86D4; white-space: nowrap; }
.ev-read::after { content: ' \2192'; }
.ev-tag { align-self: flex-start; padding: 2px 10px; border-radius: 999px; font: 900 0.72rem/1.6 'Nunito', sans-serif; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; }
.ev-reading { background: #3B86D4; } .ev-numbers { background: #2E9A5A; } .ev-money { background: #E0961A; } .ev-music { background: #7656D6; }
.pl-body .pl-research .ev-note { font-size: 0.82rem; color: #8B8580; text-align: center; margin: 14px auto 0; max-width: 44em; }
@media (max-width: 600px) {
  .pl-body a.ev { grid-template-columns: 1fr; gap: 12px; padding: 20px; }
  .ev-logo { justify-content: flex-start; height: 44px; }
  .ev-logo img { max-height: 40px; }
}

/* ---- The switcher's sliding pill: glides to the item you hover, and from the page you came from ---- */
.pl-switch { position: relative; isolation: isolate; }
.sw-pill { position: absolute; z-index: -1; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 999px; background: #fff;
  box-shadow: 0 2px 8px rgba(60, 40, 90, 0.12); opacity: 0;
  transition: transform .42s cubic-bezier(.34, 1.45, .55, 1), width .42s cubic-bezier(.34, 1.45, .55, 1), opacity .2s; }
.pl-switch.has-pill .sw-pill { opacity: 1; }
.pl-body .pl-switch.has-pill a[aria-current="page"], .pl-body .pl-switch.has-pill a:hover { background: transparent; box-shadow: none; }
.pl-body .pl-switch a { transition: color .25s; }
.pl-body .pl-switch.has-pill a.sw-on { color: var(--c); }
.pl-switch.no-anim .sw-pill { transition: none; }
@media (prefers-reduced-motion: reduce) { .sw-pill { transition: none; } }

/* ---- The bar: ✌️ Tiny Hands (its product name slides in once the big logo is scrolled away),
 *      the switcher in the middle, Grown-ups on the right. It stays at the top. ---- */
.pl-body .pg-header { position: sticky; top: 0; z-index: 50; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
.pl-body .bar-logo { font-size: 1.25rem; justify-self: start; }
.bar-logo .th-logo-name { display: inline-block; max-width: 0; opacity: 0; overflow: hidden; white-space: nowrap; vertical-align: bottom; transition: max-width .45s ease, opacity .35s ease; }
.bar-logo.show-name .th-logo-name { max-width: 5em; opacity: 1; }
.pl-body .pl-switch { justify-self: center; }
.pl-body a.gu-btn { justify-self: end; display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px 8px 10px; border-radius: 999px; text-decoration: none;
  font: 800 0.95rem 'Nunito', sans-serif; color: #5A4FA3; background: rgba(124, 107, 191, 0.08); transition: background .2s; }
.pl-body a.gu-btn:hover { background: rgba(124, 107, 191, 0.16); }
.gu-btn svg { width: 22px; height: 22px; transition: transform .6s ease; }
.gu-btn:hover svg { transform: rotate(60deg); }
.pl-body .pl-acts { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 22px; margin-top: 18px; }
.pl-body .pl-acts .pl-btn { margin: 0; }
.pl-body a.pl-more { color: #fff; font-weight: 800; text-decoration: none; border-bottom: 2px solid rgba(255, 255, 255, 0.5); padding-bottom: 1px; }
.pl-body a.pl-more::after { content: ' \2192'; }
.pl-body a.pl-more:hover { border-color: #fff; }
@media (max-width: 760px) { .gu-btn span { display: none; } .pl-body a.gu-btn { padding: 9px; } }
@media (max-width: 560px) {
  .pl-body .pg-header { grid-template-columns: auto 1fr auto; padding: 8px 10px; gap: 8px; }
  .pl-body .bar-logo { display: inline-flex; font-size: 1.1rem; }
  .pl-body .bar-logo .th-logo-words { display: none; }   /* just the hand on a phone */
  .pl-switch { width: auto; }
  .pl-body .pl-acts { justify-content: center; }
}

/* base.css gives body height:100%, which stops the sticky bar after the first screen; let it grow here */
body.pl-body { height: auto; min-height: 100%; }

/* =========================================================
 *  The family footer: brand, Play, Learn, Feel & Move, Guides, About
 * ========================================================= */
.tf { margin-top: 64px; background: #fff; border-top: 1px solid #EEE8FA; padding: 44px clamp(16px, 4vw, 40px) 28px; }
.tf-in { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr repeat(5, 1fr); gap: 28px 24px; }
.tf-brand .th-logo { font-size: 1.35rem; }
.pl-body .tf-brand p { margin: 12px 0 0; font-size: 0.95rem; line-height: 1.55; color: #5A5A5A; max-width: 22em; }
.pl-body .tf-social { font-weight: 800; }
.pl-body .tf h2 { margin: 2px 0 12px; font: 700 1rem 'Fredoka', 'Nunito', sans-serif; color: #3B3470; }
.pl-body .tf h2 a { color: inherit; text-decoration: none; }
.pl-body .tf h2 a:hover { text-decoration: underline; }
.tf ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.pl-body .tf li { font-size: 0.93rem; line-height: 1.35; }
.pl-body .tf li a { color: #5A4FA3; text-decoration: none; }
.pl-body .tf li a:hover { text-decoration: underline; }
.tf-soon { color: #9A94AE; }
.tf-soon small { font-size: 0.72rem; font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; color: #B4AEC6; margin-left: 4px; }
.pl-body .tf .tf-more a { font-weight: 800; }
.pl-body .tf .tf-more a::after { content: ' \2192'; }
.pl-body .tf-note { max-width: 1120px; margin: 32px auto 0; padding-top: 18px; border-top: 1px solid #F0ECF8; font-size: 0.82rem; color: #9A94AE; text-align: center; }
.pl-body .tf-note a { color: inherit; }
@media (max-width: 980px) { .tf-in { grid-template-columns: repeat(3, 1fr); } .tf-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .tf-in { grid-template-columns: repeat(2, 1fr); } }
.tf li:has(> a[hidden]) { display: none; }   /* "Cookie settings" shows only in Europe */
.tf-in { grid-template-columns: 1.4fr repeat(6, 1fr); }
@media (max-width: 1100px) { .tf-in { grid-template-columns: repeat(3, 1fr); } .tf-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .tf-in { grid-template-columns: repeat(2, 1fr); } }
.pl-body .tf-dad { font-weight: 700; color: #5A4FA3; }
.pl-body .tf-dad a { color: #E2653F; font-weight: 800; }
.pl-body .tf-social { display: flex; gap: 10px; }
.pl-body .tf-social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(124, 107, 191, 0.1); color: #5A4FA3; transition: background .2s, color .2s; }
.pl-body .tf-social a:hover { background: #5A4FA3; color: #fff; }
.tf-social svg { width: 20px; height: 20px; }
