/* ===== Maymi landing — Artis B (b57) ===== */
@font-face { font-family: "Baloo 2"; src: url("../assets/fonts/Baloo2.ttf") format("truetype"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("../assets/fonts/Nunito.ttf") format("truetype"); font-weight: 200 1000; font-display: swap; }

:root {
  --ink: #4A4F5A;          /* outline Maymi */
  --text: #3E4350;
  --muted: #6B7180;
  --cream: #FBF6EE;
  --paper: #FFFFFF;
  --sky: #CFE3F5;
  --sky-2: #E6F0FA;
  --blue: #8FB3DA;
  --blue-d: #6F97C4;
  --peach: #F4B9A0;
  --peach-d: #E9967A;
  --yellow: #F6D88A;
  --green: #A8C8A0;
  --green-d: #7FA877;
  --pink: #EFA8B4;
  --r: 22px;
  --r-lg: 32px;
  --shadow: 0 4px 0 rgba(74,79,90,.12), 0 14px 30px -12px rgba(74,79,90,.22);
  --font-h: "Baloo 2", "Nunito", system-ui, sans-serif;
  --font-b: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22,.8,.3,1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--font-b); color: var(--text); background: var(--cream); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.is-loading main, body.is-loading .nav, body.is-loading .footer { opacity: 0; }
main, .nav, .footer { transition: opacity .35s ease; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-h); color: var(--ink); line-height: 1.15; margin: 0 0 .4em; font-weight: 700; }
h2 { font-size: clamp(28px, 3.2vw, 42px); }
h3 { font-size: 22px; }
p { margin: 0 0 1em; }
.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
.wrap--narrow { width: min(820px, 100% - 48px); }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; border-radius: 10px; z-index: 99; }
.skip:focus { left: 12px; }
.noscript { text-align: center; padding: 12px; background: var(--yellow); margin: 0; }
:focus-visible { outline: 3px solid var(--blue-d); outline-offset: 3px; border-radius: 8px; }

/* ----- Buttons ----- */
.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-h); font-weight: 700; text-decoration: none;
  border: 3px solid var(--ink); border-radius: 999px; padding: 10px 22px; font-size: 17px; cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s; box-shadow: 0 4px 0 var(--ink); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--ink); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.btn--primary { background: var(--green); color: var(--ink); }
.btn--primary:hover { background: #b6d3ae; }
.btn--ghost { background: #fff; color: var(--ink); }
.btn--sm { padding: 6px 16px; font-size: 15px; border-width: 2.5px; box-shadow: 0 3px 0 var(--ink); }
.btn--lg { padding: 13px 28px; font-size: 19px; }
.ico-play { width: 18px; height: 18px; fill: var(--ink); }

/* ----- Nav ----- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(230,240,250,.86); backdrop-filter: blur(10px); transition: box-shadow .3s, background .3s; }
.nav.is-scrolled { box-shadow: 0 2px 0 rgba(74,79,90,.08), 0 10px 24px -16px rgba(74,79,90,.4); background: rgba(251,246,238,.92); }
.nav__in { display: flex; align-items: center; gap: 20px; height: 76px; width: min(1360px, 100% - 48px); }
.nav__logo { flex: none; }
.nav__logo img { width: 150px; height: auto; }
.nav__links { display: flex; gap: 15px; margin-left: 0; }
.nav__links a { text-decoration: none; font-weight: 700; color: var(--muted); font-size: 15.5px; padding: 4px 2px; border-bottom: 3px solid transparent; white-space: nowrap; transition: color .2s, border-color .2s; }
.nav__links a:hover { color: var(--ink); border-color: var(--yellow); }
.nav__right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.lang { display: inline-flex; background: #fff; border: 2.5px solid var(--ink); border-radius: 999px; padding: 3px; }
.lang button { font: 800 13px var(--font-b); border: 0; background: transparent; color: var(--muted); padding: 5px 10px; border-radius: 999px; cursor: pointer; letter-spacing: .04em; }
.lang button[aria-pressed="true"] { background: var(--yellow); color: var(--ink); }
.nav__burger { display: none; width: 44px; height: 44px; border: 2.5px solid var(--ink); background: #fff; border-radius: 14px; padding: 9px; cursor: pointer; flex-direction: column; justify-content: space-between; }
.nav__burger span { display: block; height: 3px; border-radius: 3px; background: var(--ink); }

/* ----- Hero ----- */
.hero { position: relative; background: linear-gradient(180deg, var(--sky-2) 0%, var(--sky) 100%); overflow: hidden; padding: 40px 0 70px; }
.hero__in { display: grid; grid-template-columns: 1.02fr 1fr; gap: 40px; align-items: center; min-height: 600px; }
.eyebrow { display: inline-block; background: #fff; border: 2.5px solid var(--ink); border-radius: 999px; padding: 4px 14px; font-weight: 800; font-size: 15px; color: var(--ink); margin-bottom: 18px; }
.hero__title { font-size: clamp(46px, 6.4vw, 88px); line-height: 1.02; margin-bottom: 18px; letter-spacing: -.01em; }
.hero__title span { display: inline-block; }
.hero__title .dot { display: none; }
.hero__title span:not(.dot) { display: block; }
.t-blue { color: var(--blue-d); }
.t-peach { color: var(--peach-d); }
.hero__lead { font-size: clamp(18px, 1.5vw, 21px); max-width: 540px; color: var(--text); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 22px; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.75); border-radius: 999px; padding: 6px 14px 6px 8px; font-weight: 700; font-size: 15px; }
.chk { width: 22px; height: 22px; border-radius: 50%; background: var(--green); border: 2px solid var(--ink); position: relative; flex: none; }
.chk::after { content: ""; position: absolute; left: 6px; top: 3px; width: 5px; height: 9px; border: solid var(--ink); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }

.scene { position: relative; aspect-ratio: 1 / .92; border-radius: 48% 52% 44% 56% / 52% 46% 54% 48%; overflow: hidden; background: linear-gradient(180deg, #BFD8F0, #E4EFFA 70%); border: 3.5px solid var(--ink); box-shadow: var(--shadow); }
.scene__sky { position: absolute; inset: 0; }
.sun { position: absolute; top: 11%; right: 15%; width: 64px; height: 64px; border-radius: 50%; background: var(--yellow); border: 3px solid var(--ink); box-shadow: 0 0 0 14px rgba(246,216,138,.28); animation: sun 8s ease-in-out infinite; }
@keyframes sun { 50% { box-shadow: 0 0 0 22px rgba(246,216,138,.18); } }
.cloud { position: absolute; background: #fff; border-radius: 999px; border: 3px solid var(--ink); height: 34px; }
.cloud::before, .cloud::after { content: ""; position: absolute; background: #fff; border: 3px solid var(--ink); border-bottom: 0; border-radius: 50% 50% 0 0; bottom: 10px; }
.cloud::before { width: 42%; height: 120%; left: 16%; border-radius: 999px 999px 0 0; }
.cloud::after { width: 30%; height: 90%; left: 50%; }
.c1 { width: 120px; top: 16%; left: -130px; animation: drift 48s linear infinite -14s; }
.c2 { width: 86px; top: 30%; left: -100px; animation: drift 64s linear infinite -24s; transform: scale(.8); }
.c3 { width: 104px; top: 8%; left: -120px; animation: drift 56s linear infinite -40s; opacity: .9; }
@keyframes drift { to { left: 110%; } }
.spark { position: absolute; width: 14px; height: 14px; background: var(--yellow); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); animation: twinkle 5s ease-in-out infinite; opacity: .2; }
.s1 { top: 22%; left: 20%; } .s2 { top: 40%; right: 10%; animation-delay: -1.7s; } .s3 { top: 12%; left: 52%; animation-delay: -3.3s; }
@keyframes twinkle { 50% { opacity: .9; transform: scale(1.15); } }
.scene__hills { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 40%; }
.may { position: absolute; left: 50%; top: 18%; width: 46%; transform: translateX(-50%); }
.may__img { width: 100%; animation: float 6s ease-in-out infinite; transform-origin: 50% 90%; cursor: pointer; filter: drop-shadow(0 6px 0 rgba(74,79,90,.08)); }
.may__img.boop { animation: boop .7s var(--ease), float 6s ease-in-out infinite .7s; }
@keyframes float { 0%,100% { transform: translateY(0) scale(1,1); } 50% { transform: translateY(-14px) scale(1.015,.985); } }
@keyframes boop { 30% { transform: translateY(4px) scale(1.06,.92); } 65% { transform: translateY(-10px) scale(.97,1.04); } }
.may__shadow { position: absolute; left: 18%; right: 18%; bottom: -26px; height: 16px; border-radius: 50%; background: rgba(74,79,90,.14); animation: shadow 6s ease-in-out infinite; }
@keyframes shadow { 50% { transform: scaleX(.86); opacity: .7; } }
.bubble { position: absolute; top: -6%; right: -24%; display: flex; align-items: center; gap: 8px; background: #fff; border: 3px solid var(--ink); border-radius: 22px; padding: 8px 16px 8px 10px; font-family: var(--font-h); font-weight: 700; font-size: 19px; color: var(--ink); white-space: nowrap; box-shadow: 0 4px 0 rgba(74,79,90,.12); animation: bubble 6s ease-in-out infinite; transform-origin: 0 100%; }
.bubble::after { content: ""; position: absolute; left: 18px; bottom: -12px; width: 18px; height: 18px; background: #fff; border: solid var(--ink); border-width: 0 3px 3px 0; transform: rotate(45deg) skew(10deg,10deg); }
.bubble__apple { width: 30px; height: 30px; }
@keyframes bubble { 0%, 8% { opacity: 0; transform: scale(.85); } 16%, 70% { opacity: 1; transform: scale(1); } 80%, 100% { opacity: 0; transform: scale(.92); } }
.kid { position: absolute; bottom: 4%; height: 25%; width: auto; animation: bob 4.5s ease-in-out infinite; transform-origin: 50% 100%; }
.k1 { left: 10%; bottom: 9%; } .k2 { left: 27%; bottom: 3%; height: 22%; animation-delay: -1.1s; }
.k3 { right: 25%; bottom: 3%; animation-delay: -2.2s; } .k4 { right: 9%; bottom: 10%; animation-delay: -3.1s; }
@keyframes bob { 50% { transform: translateY(-5px) rotate(-1.5deg); } }
.wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: 70px; }

/* ----- Sections ----- */
.section { padding: 96px 0; }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.sec-head p { color: var(--muted); font-size: 18px; }
.kicker { font-weight: 800; text-transform: uppercase; letter-spacing: .09em; font-size: 14px; color: var(--peach-d) !important; margin-bottom: 10px; }

/* Benefits */
.cards4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.bcard { background: var(--paper); border: 3px solid var(--ink); border-radius: var(--r-lg); padding: 28px 24px 22px; box-shadow: var(--shadow); position: relative; overflow: hidden; transition: transform .3s var(--ease); }
.bcard::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 92px; background: var(--c); border-bottom: 3px dashed rgba(74,79,90,.15); }
.bcard:hover { transform: translateY(-4px); }
.bcard__ico { position: relative; width: 84px; height: 84px; border-radius: 26px; background: #fff; border: 3px solid var(--ink); display: grid; place-items: center; margin: 8px 0 22px; }
.bcard__ico svg { width: 54px; height: 54px; }
.bcard:hover .bcard__ico { animation: wiggle .8s var(--ease); }
@keyframes wiggle { 30% { transform: rotate(-6deg); } 60% { transform: rotate(4deg); } }
.bcard p { color: var(--muted); font-size: 16px; margin: 0; }

/* Features */
.features { background: linear-gradient(180deg, var(--cream), #F4EEE4); }
.feat { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; margin-bottom: 110px; }
.feat--rev .feat__media { order: 2; }
.feat__media { position: relative; }
.device { background: #fff; border: 3.5px solid var(--ink); border-radius: 30px; padding: 12px; box-shadow: var(--shadow); transform: rotate(-1.2deg); transition: transform .5s var(--ease); }
.feat--rev .device { transform: rotate(1.2deg); }
.feat:hover .device { transform: rotate(0); }
.device img { border-radius: 20px; width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.device--banner img { aspect-ratio: 1200/630; }
.peek { position: absolute; height: 46%; width: auto; bottom: -10%; animation: bob 5s ease-in-out infinite; filter: drop-shadow(0 6px 0 rgba(74,79,90,.1)); }
.peek--l { left: -6%; } .peek--r { right: -5%; animation-delay: -2.5s; }
.feat__copy h3 { font-size: clamp(26px, 2.4vw, 34px); }
.feat__copy > p { color: var(--muted); }
.badge { display: inline-block; font-weight: 800; font-size: 13px; letter-spacing: .04em; border: 2px solid var(--ink); border-radius: 999px; padding: 2px 12px; margin-bottom: 14px; }
.badge--free { background: var(--green); }
.badge--pack { background: var(--yellow); }
.benefit { background: #fff; border-left: 6px solid var(--green); border-radius: 0 16px 16px 0; padding: 12px 16px; font-weight: 700; color: var(--text) !important; font-size: 16px; }
.zones { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.zones li { background: #fff; border: 2px solid rgba(74,79,90,.25); border-radius: 999px; padding: 3px 12px; font-size: 14px; font-weight: 700; color: var(--ink); }
.zones li:nth-child(5n+1) { background: #E6F0FA; } .zones li:nth-child(5n+2) { background: #FBE0D3; } .zones li:nth-child(5n+3) { background: #FBEFC8; }
.zones li:nth-child(5n+4) { background: #DCEBD5; } .zones li:nth-child(5n) { background: #F8DCE2; }

.filmstrip { position: absolute; left: 8%; right: 8%; bottom: -34px; height: 46px; background: var(--ink); border-radius: 12px; display: flex; gap: 10px; padding: 8px 12px; overflow: hidden; }
.filmstrip i { flex: 1; border-radius: 6px; background: linear-gradient(135deg, var(--sky), var(--peach)); opacity: .9; animation: film 6s ease-in-out infinite; }
.filmstrip i:nth-child(2) { animation-delay: -1.2s; background: linear-gradient(135deg, var(--yellow), var(--green)); }
.filmstrip i:nth-child(3) { animation-delay: -2.4s; background: linear-gradient(135deg, var(--pink), var(--sky)); }
.filmstrip i:nth-child(4) { animation-delay: -3.6s; background: linear-gradient(135deg, var(--green), var(--blue)); }
.filmstrip i:nth-child(5) { animation-delay: -4.8s; }
@keyframes film { 50% { opacity: .55; } }

.music { position: relative; display: grid; grid-template-columns: 120px 1fr; gap: 18px; background: #FDF1E7; border: 3.5px solid var(--ink); border-radius: 30px; padding: 22px; box-shadow: var(--shadow); }
.music__inst { display: flex; flex-direction: column; gap: 14px; }
.music__inst svg { background: #fff; border: 3px solid var(--ink); border-radius: 18px; padding: 10px; width: 100%; height: auto; }
.music__inst svg:first-child { border-color: #E8B04A; box-shadow: 0 0 0 4px #F6D88A; }
.music__grid { display: grid; grid-template-columns: repeat(8, 1fr); grid-template-rows: repeat(3, 1fr); gap: 8px; background: #fff; border: 3px solid var(--ink); border-radius: 20px; padding: 12px; }
.cell { aspect-ratio: 1; border-radius: 10px; border: 2px solid #EADFD3; background: #FBF6EE; position: relative; transition: transform .25s var(--ease), background .25s; }
.cell::after { content: ""; position: absolute; inset: 0; margin: auto; width: 30%; height: 30%; opacity: .35; }
.cell.tri::after { background: #8FB3DA; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.cell.heart::after { background: #EF8E8E; clip-path: path("M5 9 C-3 3 2 -2 5 2 C8 -2 13 3 5 9Z"); width: 10px; height: 10px; transform: scale(1.6); }
.cell.dot::after { background: #EF8E8E; border-radius: 50%; width: 22%; height: 22%; }
.cell.on { border-color: var(--ink); }
.cell.on::after { opacity: 1; background: #fff; }
.cell.tri.on { background: #8FB3DA; } .cell.heart.on { background: #F6D88A; } .cell.heart.on::after { background: #EF6F6F; } .cell.dot.on { background: #EF8E8E; }
.cell.play { box-shadow: 0 0 0 3px rgba(246,216,138,.9); }
.cell.on.play { transform: scale(1.12); }
.music__notes i { position: absolute; font-style: normal; font-size: 30px; color: var(--ink); opacity: 0; animation: note 6s ease-in-out infinite; right: 12%; top: 0; }
.music__notes i:nth-child(2) { right: 30%; animation-delay: -2s; color: var(--peach-d); }
.music__notes i:nth-child(3) { right: 50%; animation-delay: -4s; color: var(--blue-d); }
@keyframes note { 0% { opacity: 0; transform: translateY(10px); } 30% { opacity: .9; } 70% { opacity: 0; transform: translateY(-46px) rotate(10deg); } 100% { opacity: 0; } }

.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.pcard { background: #fff; border: 3px solid var(--ink); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow); }
.pcard > p { color: var(--muted); }
.ui-card { background: var(--sky-2); border: 3px solid var(--ink); border-radius: 24px; padding: 16px 18px; margin-bottom: 24px; }
.ui-card__head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-family: var(--font-h); color: var(--ink); font-size: 18px; }
.ui-card__head img { width: 40px; height: 40px; object-fit: contain; background: #fff; border: 2px solid var(--ink); border-radius: 50%; padding: 2px; }
.toggles { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.toggles li { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 14px; padding: 8px 12px; font-weight: 700; font-size: 15px; }
.toggles li span { flex: 1; }
.sw { width: 44px; height: 26px; border-radius: 999px; background: #D9DCE2; border: 2px solid var(--ink); position: relative; flex: none; transition: background .4s; }
.sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); transition: transform .4s var(--ease); }
.pcard.in .sw.on { background: var(--green); }
.pcard.in .sw.on::after { transform: translateX(18px); }
.toggles li:nth-child(2) .sw, .toggles li:nth-child(2) .sw::after { transition-delay: .15s; }
.toggles li:nth-child(3) .sw, .toggles li:nth-child(3) .sw::after { transition-delay: .3s; }
.toggles li:nth-child(4) .sw, .toggles li:nth-child(4) .sw::after { transition-delay: .45s; }
.tg-ico { width: 26px; height: 26px; border-radius: 8px; flex: none; border: 2px solid var(--ink); }
.ico-calm { background: var(--sky); } .ico-sched { background: var(--yellow); } .ico-aac { background: var(--peach); } .ico-wait { background: var(--green); } .ico-slow { background: var(--pink); }
.ui-card--gate { background: #EEF0F3; border-color: #9AA0AB; }
.gate__q { font-weight: 700; color: var(--muted); font-size: 15px; margin: 0 0 10px; }
.gate__ans { display: flex; gap: 8px; margin-bottom: 12px; }
.gate__ans span { width: 42px; height: 48px; background: #fff; border: 2px solid #9AA0AB; border-radius: 10px; display: grid; place-items: center; font-weight: 800; font-size: 22px; color: var(--ink); }
.caret { animation: caret 2.4s steps(1) infinite; }
@keyframes caret { 50% { color: transparent; } }
.gate__pad { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.gate__pad i { font-style: normal; text-align: center; background: #fff; border: 2px solid #C5CAD2; border-radius: 10px; padding: 4px 0; font-weight: 700; color: var(--muted); }

/* Friends marquee */
.friends { padding: 90px 0 70px; background: var(--sky-2); overflow: hidden; }
.friends .sec-head { margin-bottom: 30px; }
.marquee { mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 34px; width: max-content; animation: marquee 70s linear infinite; padding: 10px 0 20px; }
.marquee__track img { height: 170px; width: auto; transition: transform .3s var(--ease); }
.marquee__track img:nth-child(odd) { transform: translateY(10px); }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Together */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; left: 10%; right: 10%; top: 34px; border-top: 4px dashed rgba(74,79,90,.2); }
.step { position: relative; text-align: center; padding: 0 8px; }
.step__n { display: grid; place-items: center; width: 70px; height: 70px; margin: 0 auto 18px; border-radius: 50%; border: 3px solid var(--ink); font-family: var(--font-h); font-weight: 800; font-size: 30px; color: var(--ink); background: var(--yellow); box-shadow: 0 4px 0 var(--ink); position: relative; }
.step:nth-child(2) .step__n { background: var(--peach); } .step:nth-child(3) .step__n { background: var(--green); } .step:nth-child(4) .step__n { background: var(--blue); }
.step p { color: var(--muted); font-size: 16px; }

/* Trust */
.trust { padding-top: 40px; }
.trust__in { display: grid; grid-template-columns: 1fr 1.3fr; gap: 24px 48px; background: #fff; border: 3px solid var(--ink); border-radius: 40px; padding: 48px; box-shadow: var(--shadow); align-items: center; }
.trust__head h2 { font-size: clamp(26px, 2.6vw, 36px); }
.link { font-weight: 800; color: var(--blue-d); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.trust__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.trust__list li { display: flex; gap: 12px; align-items: flex-start; background: var(--cream); border-radius: 18px; padding: 14px 16px; font-weight: 700; font-size: 15px; line-height: 1.45; }
.ti { width: 38px; height: 38px; flex: none; border-radius: 12px; border: 2.5px solid var(--ink); background-repeat: no-repeat; background-position: center; background-size: 22px; }
.ti-device { background-color: var(--sky); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234A4F5A' stroke-width='2.4'%3E%3Crect x='6' y='2' width='12' height='20' rx='3'/%3E%3Cpath d='M10 18h4'/%3E%3C/svg%3E"); }
.ti-voice { background-color: var(--peach); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234A4F5A' stroke-width='2.4' stroke-linecap='round'%3E%3Crect x='9' y='3' width='6' height='11' rx='3'/%3E%3Cpath d='M6 11a6 6 0 0012 0M12 17v4M4 4l16 16'/%3E%3C/svg%3E"); }
.ti-ads { background-color: var(--yellow); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234A4F5A' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M6 6l12 12'/%3E%3C/svg%3E"); }
.ti-lock { background-color: var(--green); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234A4F5A' stroke-width='2.4'%3E%3Crect x='5' y='10' width='14' height='11' rx='3'/%3E%3Cpath d='M8 10V7a4 4 0 018 0v3'/%3E%3C/svg%3E"); }
.trust__note { grid-column: 1 / -1; margin: 6px 0 0; color: var(--muted); font-size: 14px; border-top: 2px dashed rgba(74,79,90,.15); padding-top: 18px; }

/* FAQ */
.faq { padding-top: 40px; }
details { background: #fff; border: 3px solid var(--ink); border-radius: 22px; margin-bottom: 14px; padding: 0 22px; box-shadow: 0 3px 0 rgba(74,79,90,.12); }
summary { cursor: pointer; list-style: none; font-family: var(--font-h); font-weight: 700; color: var(--ink); font-size: 19px; padding: 16px 36px 16px 0; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 2px; top: 50%; width: 12px; height: 12px; border: solid var(--ink); border-width: 0 3px 3px 0; transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease); }
details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
details p { color: var(--muted); padding-bottom: 6px; }

/* Final CTA */
.final { padding: 40px 0 100px; }
.final__card { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: center; background: linear-gradient(135deg, #DCEBF8, #FBE0D3); border: 3.5px solid var(--ink); border-radius: 44px; padding: 44px 56px; box-shadow: var(--shadow); }
.final__may { width: 100%; animation: float 6s ease-in-out infinite; }
.final__card h2 { margin-bottom: 8px; }
.final__card .hero__cta { margin-bottom: 0; }

/* Footer */
.footer { background: var(--ink); color: #E8EAEE; padding: 40px 0; }
.footer__in { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 48px; }
.footer__brand { display: flex; align-items: center; gap: 16px; }
.footer__brand img { background: #fff; border-radius: 14px; padding: 6px 10px; width: 140px; height: auto; }
.footer__brand p { margin: 0; font-family: var(--font-h); font-weight: 700; }
.footer__links { display: flex; gap: 22px; margin-left: auto; }
.footer__links a { text-decoration: none; font-weight: 700; }
.footer__links a:hover { text-decoration: underline; }
.footer__copy { width: 100%; margin: 0; font-size: 13px; color: #B6BBC5; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease) var(--d, 0ms), transform .8s var(--ease) var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }

/* ----- Responsive ----- */
@media (max-width: 1100px) {
  .nav__links { gap: 16px; }
  .cards4 { grid-template-columns: repeat(2, 1fr); }
  .feat { gap: 40px; }
}
@media (max-width: 960px) {
  .nav__links { display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--cream); border-bottom: 3px solid var(--ink); padding: 8px 24px 16px; margin: 0; }
  .nav__links.open { display: flex; }
  .nav__links a { padding: 12px 0; border-bottom: 1px solid rgba(74,79,90,.1); }
  .nav__burger { display: flex; }
  .hide-sm { display: none; }
  .hero__in { grid-template-columns: 1fr; min-height: 0; text-align: center; }
  .hero__lead { margin-inline: auto; }
  .hero__cta, .chips { justify-content: center; }
  .scene { max-width: 560px; width: 100%; margin: 10px auto 0; }
  .feat, .feat--rev { grid-template-columns: 1fr; gap: 48px; margin-bottom: 80px; }
  .feat--rev .feat__media { order: 0; }
  .pair { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 36px 22px; }
  .steps::before { display: none; }
  .trust__in { grid-template-columns: 1fr; padding: 32px; }
  .final__card { grid-template-columns: 1fr; text-align: center; padding: 36px 28px; }
  .final__may { width: 170px; margin: 0 auto; }
  .final__card .hero__cta { justify-content: center; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .nav__in { height: 64px; gap: 10px; }
  .nav__links { top: 64px; }
  .nav__logo img { width: 112px; }
  .nav .btn--primary span { display: none; }
  .nav .btn--primary { padding: 8px 12px; }
  .section { padding: 64px 0; }
  .cards4 { grid-template-columns: 1fr; }
  .trust__list { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .bubble { font-size: 15px; right: -30%; }
  .music { grid-template-columns: 1fr; padding: 16px; }
  .music__inst { flex-direction: row; }
  .music__inst svg { width: 50%; }
  .marquee__track img { height: 120px; }
  .btn--lg { padding: 12px 20px; font-size: 17px; }
}

/* ----- Calm mode: tôn trọng prefers-reduced-motion ----- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .bubble { opacity: 1; }
  .cloud.c1 { left: 8%; } .cloud.c2 { left: 60%; } .cloud.c3 { left: 34%; }
  .marquee__track { flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee__track img:nth-child(n+17) { display: none; }
}

/* ?shot=1 — khung tĩnh cho mockup sheet */
.shot .reveal { opacity: 1; transform: none; transition: none; }
.shot .bubble { animation: none; opacity: 1; }
.shot .c1 { animation: none; left: 6%; } .shot .c2 { animation: none; left: 64%; top: 34%; } .shot .c3 { animation: none; left: 30%; }
.shot .pcard .sw.on { background: var(--green); } .shot .pcard .sw.on::after { transform: translateX(18px); }
main { overflow-x: clip; }

/* ===================== v2 (26/10): Help · World · School ===================== */
/* Help grid */
.help { padding-top: 40px; }
.help__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.hcard { background: #fff; border: 3px solid var(--ink); border-radius: 28px; padding: 24px 24px 18px; box-shadow: var(--shadow); position: relative; }
.hcard h3 { font-size: 21px; margin-top: 4px; }
.hcard p { color: var(--muted); font-size: 16px; margin: 0; }
.hcard__ico { display: block; width: 58px; height: 58px; border-radius: 18px; border: 3px solid var(--ink); background-color: var(--c); background-repeat: no-repeat; background-position: center; background-size: 32px; margin-bottom: 14px; }
.hi-calm { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%234A4F5A' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M4 13c4-4 8-4 12 0s8 4 12 0M4 21c4-4 8-4 12 0s8 4 12 0'/%3E%3C/svg%3E"); }
.hi-naming { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%234A4F5A' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12v8h5l7 6V6l-7 6z'/%3E%3Cpath d='M22 11c2 3 2 7 0 10M25 8c4 5 4 11 0 16'/%3E%3C/svg%3E"); }
.hi-routine { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%234A4F5A' stroke-width='2.6' stroke-linecap='round'%3E%3Ccircle cx='16' cy='16' r='11'/%3E%3Cpath d='M16 9v7l5 3'/%3E%3C/svg%3E"); }
.hi-social { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%234A4F5A' stroke-width='2.6' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='4'/%3E%3Ccircle cx='22' cy='12' r='3.4'/%3E%3Cpath d='M4 26c0-5 3-8 7-8s7 3 7 8M18 25c0-4 2-7 5-7s5 3 5 7'/%3E%3C/svg%3E"); }
.hi-create { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%234A4F5A' stroke-width='2.6' stroke-linejoin='round'%3E%3Crect x='4' y='11' width='24' height='16' rx='3'/%3E%3Cpath d='M4 11l3-6 22 2-1 4'/%3E%3Cpath d='M13 15v8l7-4z' fill='%234A4F5A'/%3E%3C/svg%3E"); }
.hi-support { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%234A4F5A' stroke-width='2.6' stroke-linejoin='round'%3E%3Cpath d='M16 27s-11-6-11-14a6 6 0 0111-3 6 6 0 0111 3c0 8-11 14-11 14z'/%3E%3C/svg%3E"); }

/* World / planet */
.world { background: linear-gradient(180deg, #F4EEE4 0%, var(--sky-2) 22%, var(--sky-2) 100%); padding-bottom: 80px; }
.world .sec-head { margin-bottom: 24px; }
.planet-view { --D: clamp(1100px, 125vw, 1900px); position: relative; height: calc(40px + var(--D) * .225); overflow: hidden; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; background: linear-gradient(180deg, #CDE2EC 0%, #E3EEF5 70%); border-block: 3px solid var(--ink); outline: none; }
.planet-view:focus-visible { box-shadow: inset 0 0 0 4px var(--blue-d); }
.planet-view.dragging { cursor: grabbing; }
.pv-sky { position: absolute; inset: 0; pointer-events: none; }
.planet, .planet__over { position: absolute; left: 50%; top: calc(36px - var(--D) * .025); width: calc(var(--D) * 4 / 3); height: calc(var(--D) * 4 / 3); }
.planet { transform: translateX(-50%); transform-origin: 50% 50%; will-change: transform; }
.planet.anim { transition: transform .9s cubic-bezier(.25,.9,.3,1); }
.planet__img { width: 100%; height: 100%; pointer-events: none; }
.planet__over { transform: translateX(-50%); pointer-events: none; max-width: none; }
.planet__img { max-width: none; }
.planet__spots { position: absolute; inset: 0; }
.spot { position: absolute; left: 44.06%; top: 0; width: 11.88%; height: 50%; transform-origin: 50% 100%; background: none; border: 0; padding: 0; cursor: pointer; pointer-events: none; }
.spot i { position: absolute; left: 0; right: 0; top: 3.6%; height: 25%; border-radius: 30px; pointer-events: auto; transition: background .3s; }
.spot:hover i, .spot:focus-visible i { background: rgba(255,255,255,.18); }
.spot:focus-visible { outline: none; }
.spot:focus-visible i { outline: 3px solid var(--blue-d); }
.pv-pin { position: absolute; left: 50%; top: 8px; width: 26px; height: 26px; margin-left: -13px; background: var(--yellow); border: 3px solid var(--ink); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); animation: pin 2.6s ease-in-out infinite; pointer-events: none; z-index: 3; }
@keyframes pin { 50% { transform: rotate(-45deg) translate(3px, -3px); } }
.pv-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 4; width: 52px; height: 52px; border-radius: 50%; border: 3px solid var(--ink); background: #fff; box-shadow: 0 4px 0 var(--ink); cursor: pointer; display: grid; place-items: center; transition: transform .2s; }
.pv-arrow:active { transform: translateY(-46%); box-shadow: 0 1px 0 var(--ink); }
.pv-arrow svg { width: 24px; height: 24px; fill: none; stroke: var(--ink); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.pv-arrow--l { left: max(16px, calc(50% - 640px)); } .pv-arrow--r { right: max(16px, calc(50% - 640px)); }
.pv-hint { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 3; display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.92); border: 2.5px solid var(--ink); border-radius: 999px; padding: 4px 14px 4px 8px; font-weight: 800; font-size: 14px; color: var(--ink); pointer-events: none; transition: opacity .5s; }
.pv-hint i { width: 22px; height: 22px; border-radius: 50%; background: var(--peach); border: 2px solid var(--ink); animation: hintx 2.4s ease-in-out infinite; }
@keyframes hintx { 0%,100% { transform: translateX(-5px); } 50% { transform: translateX(5px); } }
.planet-view.used .pv-hint { opacity: 0; }

.zone-chips { display: flex; gap: 10px; overflow-x: auto; padding: 22px 4px 12px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.zchip { flex: none; display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 2.5px solid rgba(74,79,90,.3); border-radius: 999px; padding: 4px 14px 4px 4px; font: 800 14px var(--font-b); color: var(--ink); cursor: pointer; scroll-snap-align: center; transition: border-color .2s, background .2s, transform .2s; }
.zchip img { width: 40px; height: 28px; object-fit: cover; border-radius: 999px; }
.zchip:hover { transform: translateY(-2px); }
.zchip.on { border-color: var(--ink); background: var(--yellow); }
.zone-panel { background: #fff; border: 3px solid var(--ink); border-radius: 32px; padding: 26px; box-shadow: var(--shadow); margin-top: 8px; }
.zone-panel.swap { animation: swap .6s var(--ease); }
@keyframes swap { from { opacity: .4; transform: translateY(8px); } }
.zone-panel__head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 12px 32px; align-items: end; margin-bottom: 18px; }
.zone-panel__head h3 { font-size: clamp(26px, 2.4vw, 34px); margin-bottom: 6px; }
.zone-panel__head p { color: var(--muted); margin: 0; }
.zone-learn { background: var(--cream); border-left: 6px solid var(--green); border-radius: 0 16px 16px 0; padding: 12px 16px; color: var(--text) !important; font-weight: 700; font-size: 16px; }
.zone-learn b { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--green-d); margin-bottom: 2px; }
.room-view { position: relative; border: 3px solid var(--ink); border-radius: 22px; overflow: hidden; background: var(--cream); }
.room-view__scroll { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; cursor: grab; }
.room-view__scroll::-webkit-scrollbar { display: none; }
.room-view__scroll.dragging { cursor: grabbing; }
.room-view__scroll img { height: clamp(200px, 26vw, 340px); width: auto; max-width: none; aspect-ratio: 32 / 9; transition: opacity .35s; user-select: none; }
.room-view__scroll img.fade { opacity: .25; }
.room-view__hint { position: absolute; right: 12px; bottom: 10px; display: none; align-items: center; gap: 8px; background: rgba(255,255,255,.92); border: 2px solid var(--ink); border-radius: 999px; padding: 3px 12px 3px 6px; font-weight: 800; font-size: 13px; color: var(--ink); pointer-events: none; }
.room-view__hint i { width: 18px; height: 18px; border-radius: 50%; background: var(--yellow); border: 2px solid var(--ink); animation: hintx 2.4s ease-in-out infinite; }
.rooms-label { font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 18px 0 10px; }
.room-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.rtab { background: #fff; border: 2.5px solid rgba(74,79,90,.25); border-radius: 18px; padding: 6px 6px 8px; cursor: pointer; font: 800 15px var(--font-b); color: var(--ink); text-align: left; transition: border-color .2s, transform .2s; }
.rtab img { width: 100%; aspect-ratio: 32 / 9; object-fit: cover; border-radius: 12px; margin-bottom: 6px; }
.rtab span { padding: 0 6px; }
.rtab:hover { transform: translateY(-2px); }
.rtab.on { border-color: var(--ink); background: #FFF8E6; box-shadow: 0 3px 0 var(--ink); }

/* School / languages */
.school { background: var(--cream); }
.school__in { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; }
.school__lead { color: var(--muted); font-size: 18px; }
.school__list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 16px; }
.school__list li { display: flex; gap: 16px; align-items: flex-start; }
.school__list h3 { font-size: 20px; margin-bottom: 2px; }
.school__list p { color: var(--muted); font-size: 16px; margin: 0; }
.sl { flex: none; width: 44px; height: 44px; border-radius: 14px; border: 3px solid var(--ink); }
.sl-1 { background: var(--sky); } .sl-2 { background: var(--peach); } .sl-3 { background: var(--yellow); } .sl-4 { background: var(--green); }
.lang-card { position: relative; background: linear-gradient(160deg, #E6F0FA, #FBEFE6); border: 3.5px solid var(--ink); border-radius: 40px; padding: 34px 30px 26px; box-shadow: var(--shadow); text-align: center; min-height: 460px; overflow: hidden; }
.lang-card__title { font-weight: 800; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 14px; }
.lang-card__obj { position: relative; width: 150px; height: 150px; margin: 0 auto 6px; background: #fff; border: 3.5px solid var(--ink); border-radius: 40px; display: grid; place-items: center; }
.lang-card__obj svg { width: 96px; height: 96px; animation: float 6s ease-in-out infinite; }
.wave-ring { position: absolute; inset: -3px; border-radius: 40px; border: 3px solid var(--blue); animation: ring 2.2s ease-out infinite; }
@keyframes ring { from { transform: scale(1); opacity: .7; } to { transform: scale(1.25); opacity: 0; } }
.lang-card__word { font-family: var(--font-h), "Noto Sans Thai", sans-serif; font-weight: 800; font-size: clamp(40px, 4.4vw, 58px); color: var(--ink); min-height: 1.4em; line-height: 1.4; }
.lang-card__word.pop { animation: pop .5s var(--ease); }
.lang-card__word.all { font-size: 20px; max-width: 56%; margin: 0 auto; line-height: 1.5; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.96); } }
.lang-card__dots { display: flex; justify-content: center; gap: 6px; margin-bottom: 14px; }
.lang-card__dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(74,79,90,.2); transition: background .3s; }
.lang-card__dots i.on { background: var(--peach-d); }
.lang-card__kid { position: absolute; left: 6%; bottom: 66px; height: 150px; width: auto; animation: bob 4.5s ease-in-out infinite; }
.lang-card__may { position: absolute; right: 5%; bottom: 74px; width: 120px; animation: float 6s ease-in-out infinite -2s; }
.lang-card__note { position: absolute; left: 24px; right: 24px; bottom: 16px; margin: 0; font-size: 13px; color: var(--muted); }

@media (max-width: 1100px) { .help__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 960px) {
  .zone-panel__head { grid-template-columns: 1fr; }
  .school__in { grid-template-columns: 1fr; gap: 40px; }
  .room-view__hint { display: inline-flex; }
}
@media (max-width: 600px) {
  .help__grid { grid-template-columns: 1fr; }
  .zone-panel { padding: 16px; border-radius: 24px; }
  .room-tabs { gap: 8px; } .rtab { font-size: 13px; padding: 4px 4px 6px; }
  .pv-arrow { width: 42px; height: 42px; }
  .lang-card__kid { height: 110px; } .lang-card__may { width: 90px; }
}
@media (prefers-reduced-motion: reduce) {
  .pv-hint i, .room-view__hint i, .pv-pin { animation: none !important; }
}
.shot .planet-view .pv-hint { opacity: 1; }
@media (max-width: 600px) {
  .hcard { display: grid; grid-template-columns: 48px 1fr; gap: 0 14px; padding: 16px; border-radius: 22px; }
  .hcard__ico { width: 48px; height: 48px; background-size: 26px; border-radius: 14px; grid-row: span 2; margin: 0; }
  .hcard h3 { font-size: 18px; margin: 0 0 4px; }
  .hcard p { font-size: 15px; }
}

/* ===================== v3 (26/10): Special support · Cartoons ===================== */
.special { background: linear-gradient(180deg, var(--cream), #F6F1FA 40%, var(--cream)); }
.special__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.scard { background: #fff; border: 3px solid var(--ink); border-radius: 30px; padding: 26px 24px 20px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.scard::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 84px; background: var(--c); }
.scard__ico { position: relative; display: block; width: 64px; height: 64px; border-radius: 22px; border: 3px solid var(--ink); background-color: #fff; background-repeat: no-repeat; background-position: center; background-size: 36px; margin: 6px 0 18px; }
.si-autism { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36' fill='none' stroke='%234A4F5A' stroke-width='2.6' stroke-linejoin='round'%3E%3Cpath d='M6 10h10v6a3 3 0 0 1 0 6v6H6v-6a3 3 0 0 0 0-6z' fill='%23B0CDEA'/%3E%3Cpath d='M16 10h14v18H16v-6a3 3 0 0 0 0-6z' fill='%23F6D88A'/%3E%3C/svg%3E"); }
.si-speech { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36' fill='none' stroke='%234A4F5A' stroke-width='2.6' stroke-linejoin='round'%3E%3Cpath d='M6 8h24a3 3 0 0 1 3 3v12a3 3 0 0 1-3 3H16l-7 6v-6H6a3 3 0 0 1-3-3V11a3 3 0 0 1 3-3z' fill='%23F4B9A0'/%3E%3Cpath d='M11 17h2M17 15v4M23 13v8' stroke-linecap='round'/%3E%3C/svg%3E"); }
.si-adhd { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36' fill='none' stroke='%234A4F5A' stroke-width='2.6' stroke-linecap='round'%3E%3Ccircle cx='18' cy='18' r='13' fill='%23A8C8A0'/%3E%3Ccircle cx='18' cy='18' r='7.5' fill='%23fff'/%3E%3Ccircle cx='18' cy='18' r='2.5' fill='%234A4F5A'/%3E%3C/svg%3E"); }
.scard h3 { font-size: 22px; }
.scard ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.scard li { position: relative; padding-left: 28px; color: var(--muted); font-size: 16px; line-height: 1.5; }
.scard li::before { content: ""; position: absolute; left: 2px; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: var(--c); border: 2px solid var(--ink); }
.experts { margin-top: 28px; display: grid; grid-template-columns: 140px 1fr; gap: 28px; align-items: center; background: linear-gradient(120deg, #E6F0FA, #F1EAF8); border: 3px solid var(--ink); border-radius: 32px; padding: 26px 34px; box-shadow: var(--shadow); }
.experts__ico { width: 130px; height: 130px; border-radius: 50%; background: #fff; border: 3px solid var(--ink); display: grid; place-items: center; position: relative; }
.experts__ico::after { content: ""; position: absolute; right: -4px; bottom: 6px; width: 40px; height: 40px; border-radius: 50%; border: 3px solid var(--ink); background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234A4F5A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-9'/%3E%3C/svg%3E") center/22px no-repeat; }
.experts__ico img { width: 96px; animation: float 6s ease-in-out infinite; }
.experts__copy h3 { font-size: clamp(22px, 2vw, 28px); margin-bottom: 6px; }
.experts__copy p { color: var(--text); margin-bottom: 14px; }
.special__note { text-align: center; color: var(--muted); font-size: 14px; max-width: 760px; margin: 22px auto 0; }

.cartoons { background: linear-gradient(180deg, var(--cream), #FFF6EC); }
.vgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.vcard h3 { font-size: 19px; margin: 14px 0 4px; }
.vcard p { color: var(--muted); font-size: 15px; margin: 0; }
.vcard__thumb { position: relative; display: block; border: 3px solid var(--ink); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); cursor: pointer; transition: transform .3s var(--ease); }
.vcard__thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.vcard__thumb:hover { transform: translateY(-4px) rotate(-.6deg); }
.vcard__thumb.is-soon { cursor: default; }
.vcard__play { position: absolute; right: 10px; bottom: 10px; width: 50px; height: 50px; border-radius: 50%; background: rgba(255,255,255,.92); border: 3px solid var(--ink); display: grid; place-items: center; transition: transform .3s var(--ease); }
.vcard__play svg { width: 26px; height: 26px; fill: var(--peach-d); margin-left: 3px; }
.vcard__thumb:hover .vcard__play { transform: scale(1.08); }
.vcard__soon { position: absolute; left: 10px; top: 10px; background: var(--yellow); border: 2px solid var(--ink); border-radius: 999px; padding: 1px 10px; font-weight: 800; font-size: 12px; color: var(--ink); }
.cartoons__cta { text-align: center; margin-top: 36px; }
.btn--yt { background: #fff; color: var(--ink); }
.btn--yt svg { width: 30px; height: 22px; }
.btn.is-soon { opacity: .6; cursor: default; box-shadow: 0 4px 0 rgba(74,79,90,.4); }
.btn.is-soon:hover { transform: none; }
.cartoons__soon { color: var(--muted); font-size: 14px; margin: 12px 0 0; }

@media (max-width: 1100px) { .vgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 960px) { .special__grid { grid-template-columns: 1fr; } .experts { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 24px; } }
@media (max-width: 600px) { .vgrid { gap: 16px; } .vcard h3 { font-size: 17px; } .experts__ico { width: 104px; height: 104px; } .experts__ico img { width: 76px; } }

/* ----- v4: Mini-games system (#minigames) ----- */
.minigames { background: linear-gradient(180deg, var(--sky-2) 0%, #F3F8EF 30%, var(--cream) 100%); }
.mg-sub { text-align: center; font-size: clamp(22px, 2vw, 27px); margin: 64px 0 26px; }
.mg-flow { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: mg; max-width: 1040px; }
.mg-flow li { position: relative; display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 3px solid var(--ink); border-radius: var(--r); padding: 18px 18px 16px; box-shadow: var(--shadow); counter-increment: mg; }
.mg-flow li::before { content: counter(mg); position: absolute; top: -14px; left: -10px; width: 30px; height: 30px; border-radius: 50%; background: var(--yellow); border: 2.5px solid var(--ink); font: 800 15px/25px var(--font-h); text-align: center; color: var(--ink); }
.mg-flow li:not(:last-child)::after { content: ""; position: absolute; right: -19px; top: 50%; width: 16px; height: 16px; border: solid var(--ink); border-width: 3px 3px 0 0; transform: translateY(-50%) rotate(45deg); opacity: .35; }
.mg-flow__n { flex: none; width: 58px; height: 58px; border-radius: 18px; background: var(--sky-2); border: 2.5px solid var(--ink); display: grid; place-items: center; }
.mg-flow__n svg { width: 38px; height: 38px; }
.mg-flow h3 { font-size: 18px; margin: 2px 0 2px; }
.mg-flow p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.45; }
.mg-rules { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.mgrule { background: #fff; border: 3px solid var(--ink); border-radius: var(--r-lg); padding: 22px 20px 20px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.mgrule::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 62px; background: var(--c); border-bottom: 3px dashed rgba(74,79,90,.15); }
.mgrule__ico { position: relative; display: grid; place-items: center; width: 68px; height: 68px; border-radius: 22px; background: #fff; border: 3px solid var(--ink); margin: 0 0 14px; }
.mgrule__ico svg { width: 44px; height: 44px; }
.mgrule h4 { font-family: var(--font-h); color: var(--ink); font-size: 20px; line-height: 1.2; margin: 0 0 6px; }
.mgrule p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.5; }
.mg-calm { text-align: center; color: var(--muted); font-size: 15.5px; max-width: 760px; margin: 22px auto 0; }
.mg-table-wrap { max-width: 860px; margin: 0 auto; background: #fff; border: 3px solid var(--ink); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; }
.mg-table { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.4; }
.mg-table thead th { background: var(--sky-2); text-align: left; font: 800 13px var(--font-b); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 10px 16px; border-bottom: 2.5px solid var(--ink); }
.mg-table td, .mg-table tbody th { padding: 9px 16px; border-bottom: 1px solid rgba(74,79,90,.12); text-align: left; vertical-align: middle; color: var(--muted); }
.mg-table tbody tr:last-child > * { border-bottom: 0; }
.mg-table tbody th { font-family: var(--font-h); font-weight: 700; color: var(--ink); font-size: 17px; white-space: nowrap; }
.mg-table td:first-child { width: 1%; white-space: nowrap; }
.mg-tag { display: inline-block; border: 2px solid var(--ink); border-radius: 999px; padding: 0 10px; font-weight: 800; font-size: 12.5px; color: var(--ink); background: #DCEBD5; }
.mg-tag--dentist { background: #CFE3F5; } .mg-tag--salon { background: #F8DCE2; }
.mg-more { text-align: center; color: var(--muted); font-weight: 700; margin: 18px auto 0; max-width: 680px; font-size: 15.5px; }
@media (max-width: 600px) {
  .mg-table thead { display: none; }
  .mg-table tr { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; padding: 10px 14px; border-bottom: 1px solid rgba(74,79,90,.12); }
  .mg-table tbody tr:last-child { border-bottom: 0; }
  .mg-table td, .mg-table tbody th { padding: 0; border: 0; }
  .mg-table tbody th { font-size: 16px; }
  .mg-table td:last-child { grid-column: 1 / -1; margin-top: 3px; font-size: 14.5px; }
}
@media (max-width: 1100px) { .mg-rules { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .mg-flow { grid-template-columns: 1fr; max-width: 520px; } .mg-flow li:not(:last-child)::after { right: auto; left: 50%; top: auto; bottom: -19px; transform: translateX(-50%) rotate(135deg); } }
@media (max-width: 600px) { .mg-rules { grid-template-columns: 1fr; gap: 16px; } .mgrule { display: flex; gap: 14px; padding: 16px; } .mgrule::before { width: 92px; height: auto; inset: 0 auto 0 0; border-bottom: 0; border-right: 3px dashed rgba(74,79,90,.15); } .mgrule__ico { flex: none; width: 60px; height: 60px; margin: 0; } .mgrule h4 { font-size: 18px; } .mg-sub { margin-top: 48px; } }

/* v4: 8 mục nav — chuyển sang menu burger sớm hơn để chữ không xuống dòng */
@media (max-width: 1350px) {
  .nav__links { display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--cream); border-bottom: 3px solid var(--ink); padding: 8px 24px 16px; margin: 0; }
  .nav__links.open { display: flex; }
  .nav__links a { padding: 12px 0; border-bottom: 1px solid rgba(74,79,90,.1); }
  .nav__burger { display: flex; }
}
.mg-hundreds { display: inline-flex; align-items: center; gap: 10px; margin: 6px auto 0; background: #FFF8E1; border: 2.5px solid var(--ink); border-radius: 18px; padding: 10px 18px; font-weight: 700; color: var(--ink) !important; font-size: 17px !important; line-height: 1.45; text-align: left; box-shadow: 0 3px 0 rgba(74,79,90,.12); }
.mg-hundreds__star { flex: none; width: 26px; height: 26px; background: var(--yellow); border: 2px solid var(--ink); clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
@media (max-width: 600px) { .mg-hundreds { font-size: 15.5px !important; padding: 10px 14px; } }
