/* SprintUp. Balapan di bawah lampu stadium: biru padang yang dalam, garis halus, emas sebagai aksen tunggal.
   Skrin anak di atas padang; ibu bapa dan halaman jualan di atas kertas cerah. Lapan topik = lapan Misi. */
@font-face { font-family: 'Red Hat Display'; font-weight: 700; font-display: swap; src: url(../fonts/red-hat-display-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Red Hat Display'; font-weight: 800; font-display: swap; src: url(../fonts/red-hat-display-latin-800-normal.woff2) format('woff2'); }
@font-face { font-family: 'Red Hat Display'; font-weight: 900; font-display: swap; src: url(../fonts/red-hat-display-latin-900-normal.woff2) format('woff2'); }
@font-face { font-family: 'Lexend'; font-weight: 400; font-display: swap; src: url(../fonts/lexend-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Lexend'; font-weight: 700; font-display: swap; src: url(../fonts/lexend-latin-700-normal.woff2) format('woff2'); }
:root {
  --field: #1B3DDB;
  --field-deep: #0E229A;
  --field-lit: #4A6DFF;
  --ink: #0A1433;
  --ink-soft: #4B5878;
  --gold: #FFB800;
  --gold-deep: #C98F00;
  --gold-soft: #FFF1C7;
  --red: #E8394B;
  --red-soft: #FFE8EA;
  --green: #0CA868;
  --green-deep: #087A4C;
  --green-soft: #DDF7EA;
  --paper: #F5F7FC;
  --tint: #EEF2FB;
  --card: #FFFFFF;
  --line: #DCE3F3;
  --r-lg: 20px;
  --r-md: 14px;
  --r-sm: 7px;
  --lift: 0 1px 2px rgba(10, 20, 51, .05), 0 16px 36px -16px rgba(10, 20, 51, .22);
  --float: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 24px 44px -22px rgba(3, 8, 48, .75);
  --display: 'Red Hat Display', 'Avenir Next', 'Segoe UI', sans-serif;
  --body: 'Lexend', Verdana, sans-serif;
  --bend: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 640' fill='none' stroke='%23fff' stroke-opacity='.16' stroke-width='1.5'%3E%3Ccircle cx='640' cy='0' r='150'/%3E%3Ccircle cx='640' cy='0' r='220' stroke='%23FFB800' stroke-opacity='.5' stroke-width='1.5'/%3E%3Ccircle cx='640' cy='0' r='290'/%3E%3Ccircle cx='640' cy='0' r='360'/%3E%3Ccircle cx='640' cy='0' r='430'/%3E%3Ccircle cx='640' cy='0' r='500'/%3E%3Ccircle cx='640' cy='0' r='570'/%3E%3C/svg%3E");
  --pitch: radial-gradient(760px 460px at 100% -6%, var(--field-lit) 0%, rgba(74, 109, 255, 0) 62%), linear-gradient(180deg, #1B3DDB 0%, #142FB6 100%);
  --tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --cross: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7.5 7.5l9 9M16.5 7.5l-9 9' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round'/%3E%3C/svg%3E");
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
body.play { color: #fff; background: var(--bend) no-repeat right top / 640px 640px, var(--pitch); background-color: var(--field); min-height: 100vh; }
h1, h2, h3 { font-family: var(--display); margin: 0 0 .45em; color: inherit; text-wrap: balance; word-spacing: .06em; }
h1 { font-size: clamp(2.5rem, 10.4vw, 4.5rem); font-weight: 900; line-height: 1.02; letter-spacing: -.03em; }
h2 { font-size: clamp(1.85rem, 6.6vw, 2.8rem); font-weight: 900; line-height: 1.06; letter-spacing: -.026em; }
h3 { font-size: 1.28rem; font-weight: 800; line-height: 1.18; letter-spacing: -.018em; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.2em; }
a { color: var(--field); text-underline-offset: 3px; }
.field a:not(.btn):not(.brand) { color: var(--gold); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.adult :focus-visible, .sheet :focus-visible { outline-color: var(--field); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 560px; margin: 0 auto; }
.muted { color: var(--ink-soft); }
body.play .muted { color: rgba(255, 255, 255, .82); }
body.play .sheet .muted, body.play .kid .muted { color: var(--ink-soft); }
.small { font-size: .9rem; }
.hidden { display: none !important; }
.ic { width: 1.25em; height: 1.25em; flex: none; vertical-align: -.22em; }
.num { font-family: var(--display); font-weight: 900; font-variant-numeric: tabular-nums; letter-spacing: -.03em; }

/* Butang */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; padding: 12px 24px;
  font: 800 1.02rem/1.15 var(--display); letter-spacing: -.01em; color: #fff; background: var(--field); border: 0; border-radius: var(--r-md);
  box-shadow: 0 2px 0 var(--field-deep), 0 12px 22px -10px rgba(27, 61, 219, .7); cursor: pointer; text-decoration: none; text-align: center;
  transition: transform .12s, box-shadow .12s, filter .12s;
}
.btn:hover { filter: brightness(1.05); }
.btn:active { transform: translateY(2px); box-shadow: 0 0 0 var(--field-deep), 0 6px 14px -10px rgba(27, 61, 219, .7); }
body.play .btn, .field .btn, .btn.yellow { color: var(--ink); background: var(--gold); box-shadow: 0 2px 0 var(--gold-deep), 0 14px 26px -12px rgba(255, 184, 0, .85); }
.btn.alt, body.play .sheet .btn.alt { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(10, 20, 51, .06); border: 1px solid var(--line); }
body.play .btn.alt, .field .btn.alt { background: rgba(255, 255, 255, .1); color: #fff; box-shadow: none; border: 1px solid rgba(255, 255, 255, .38); min-height: 44px; padding: 8px 16px; font-size: .95rem; }
body .btn.dark { background: var(--ink); color: #fff; box-shadow: 0 2px 0 #000, 0 14px 24px -12px rgba(10, 20, 51, .8); }
body .btn.green { background: var(--green); color: #fff; box-shadow: 0 2px 0 var(--green-deep), 0 12px 22px -10px rgba(12, 168, 104, .7); }
.btn.block { display: flex; width: 100%; }
.btn.sm { min-height: 44px; padding: 8px 18px; font-size: .95rem; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.link { background: none; border: 0; padding: 8px 4px; font: inherit; color: var(--field); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
body.play .link { color: var(--gold); }
body.play .sheet .link { color: var(--field); }

/* Kad */
.sheet { background: var(--card); color: var(--ink); border-radius: var(--r-lg); padding: 22px; position: relative; }
body.play .sheet { box-shadow: var(--float); }
.adult .sheet { border: 1px solid var(--line); box-shadow: var(--lift); }
.sheet + .sheet, .mission + .sheet, .sheet + .mission { margin-top: 18px; }
.sheet > h3 { margin-bottom: .4em; }

/* Bar atas dan jenama */
.top { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font: 900 1.42rem/1 var(--display); letter-spacing: -.04em; color: var(--ink); text-decoration: none; }
body.play .brand, .field .brand { color: #fff; }
.brand svg { width: 30px; height: 30px; flex: none; }
.cita { display: block; height: auto; flex: none; }

/* Cita bercakap */
.hello { display: flex; align-items: flex-end; gap: 6px; margin: 2px 0 22px; }
.hello .cita { margin-left: -8px; }
.bubble { position: relative; background: #fff; color: var(--ink); border-radius: 18px; padding: 14px 18px; margin-bottom: 44px; box-shadow: var(--float); }
.bubble::after { content: ''; position: absolute; left: -7px; bottom: 16px; width: 18px; height: 18px; background: #fff; border-radius: 3px; transform: rotate(45deg); }
.bubble h2 { margin: 0; font-size: clamp(1.35rem, 5.4vw, 1.8rem); position: relative; z-index: 1; }

/* Profil anak */
.kids { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.kid { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 20px 16px 16px; background: #fff; border: 0; border-radius: var(--r-lg); box-shadow: var(--float); font: 400 .95rem var(--body); color: var(--ink); cursor: pointer; overflow: hidden; text-align: left; transition: transform .12s; }
.kid::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--house, var(--gold)); }
.kid:active { transform: translateY(2px); }
.kid b { font: 900 1.3rem/1.15 var(--display); letter-spacing: -.03em; margin-top: 10px; overflow-wrap: anywhere; }
.kid.add { background: rgba(255, 255, 255, .08); color: #fff; box-shadow: none; border: 1px dashed rgba(255, 255, 255, .55); justify-content: center; align-items: center; font-weight: 700; gap: 8px; }
.kid.add::before { display: none; }
.av { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font: 900 1.6rem/1 var(--display); background: var(--house, var(--gold)); color: var(--on, var(--ink)); flex: none; }
.kid.add .av { background: #fff; color: var(--ink); width: 48px; height: 48px; font-weight: 700; }
.av.sm { width: 40px; height: 40px; font-size: 1.15rem; }
.av.lg { width: 68px; height: 68px; font-size: 2rem; box-shadow: 0 0 0 3px rgba(255, 255, 255, .9), 0 0 0 7px rgba(255, 255, 255, .16); }
.avpick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.avpick button { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 4px 8px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; font: 700 .82rem var(--body); color: var(--ink); min-height: 72px; }
.avpick button i { width: 30px; height: 30px; border-radius: 50%; background: var(--house); }
.avpick button[aria-pressed="true"] { border-color: var(--field); box-shadow: 0 0 0 2px var(--field); background: var(--tint); }

/* Laman anak */
.greet { display: flex; align-items: center; gap: 18px; margin: 8px 4px 18px; }
.greet h2 { margin: 0 0 2px; font-size: clamp(1.7rem, 6.6vw, 2.3rem); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 9px; border-radius: 99px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); color: #fff; font-weight: 700; font-size: .88rem; }
.chip .ic { color: var(--gold); }
.mission { position: relative; background: linear-gradient(140deg, #FFCB3D 0%, #FFB300 70%); color: var(--ink); border-radius: var(--r-lg); padding: 22px; box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 24px 44px -22px rgba(3, 8, 48, .75); margin-top: 38px; }
.mission .tag { display: inline-block; font: 800 .74rem var(--display); letter-spacing: .01em; background: var(--ink); color: #fff; padding: 4px 11px; border-radius: 99px; margin-bottom: 12px; }
.mission h3 { font-size: 2.05rem; font-weight: 900; letter-spacing: -.04em; line-height: 1; margin-bottom: .25em; max-width: 7.5em; }
.mission p { max-width: 19ch; margin-bottom: 18px; font-weight: 700; line-height: 1.45; }
.mission .cita { position: absolute; right: 4px; top: -46px; width: 132px; }
.mission.done { background: linear-gradient(140deg, #E6FAF0 0%, #CFF3E0 100%); }
.todo { list-style: none; padding: 0; margin: 0 0 18px; }
.todo li { display: flex; gap: 10px; align-items: flex-start; padding: 5px 0; }
.todo .ic { color: var(--field); margin-top: .18em; }
.withcita { padding-right: 104px; min-height: 96px; }
.withcita + .cita { position: absolute; right: 8px; top: -40px; width: 108px; }

/* Peta Misi */
.lanes { display: grid; gap: 6px; }
.lane { background: var(--tint); border-radius: 12px; padding: 9px 11px 10px; }
.lh { display: flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 700; color: var(--ink); margin-bottom: 7px; line-height: 1.2; }
.ln { width: 22px; height: 22px; border-radius: 6px; background: var(--ink); color: #fff; display: grid; place-items: center; font: 900 .8rem/1 var(--display); flex: none; font-variant-numeric: tabular-nums; }
.lc { margin-left: auto; color: var(--ink-soft); font: 800 .8rem var(--display); font-variant-numeric: tabular-nums; }
.lt { display: grid; grid-template-columns: repeat(9, minmax(0, 32px)); gap: 5px; }
.t { display: grid; place-items: center; width: 100%; aspect-ratio: 1; border-radius: var(--r-sm); border: 0; padding: 0; background: #fff center / 74% no-repeat; color: #6B7896; transition: transform .12s ease; }
.t b { font: 800 .9rem/1 var(--display); font-variant-numeric: tabular-nums; pointer-events: none; }
button.t { cursor: pointer; touch-action: manipulation; }
.t.untested { box-shadow: inset 0 0 0 1.5px #B9C5E2; }
.t.gap { background-color: var(--red); color: #fff; }
.t.learning { background-color: var(--gold); color: #5E4200; }
.t.mastered { background-color: var(--green); background-image: var(--tick); }
.t.sel { outline: 3px solid var(--ink); outline-offset: 2px; transform: scale(1.08); position: relative; z-index: 1; }
.lane.hasel { background: #E1E8FA; box-shadow: inset 4px 0 0 var(--ink); }
.legend { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; margin: 14px 0 0; font-size: .9rem; color: var(--ink-soft); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend b { color: var(--ink); font-family: var(--display); font-variant-numeric: tabular-nums; margin-right: -3px; }
.legend .t { width: 18px; border-radius: 5px; flex: none; }
.maphint { margin: 12px 0 12px; }

/* Lembaran butiran kemahiran (tetap di bawah skrin supaya tak perlu skrol) */
.skillsheet { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; margin: 0 auto; max-width: 560px; background: #fff; color: var(--ink); border-radius: 22px 22px 0 0; padding: 12px 18px calc(14px + env(safe-area-inset-bottom)); box-shadow: 0 -14px 44px rgba(10, 20, 51, .38); }
.skillsheet.in { animation: ssup .22s ease-out both; }
@keyframes ssup { from { transform: translateY(36px); opacity: 0; } }
.ss-head { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.ss-where { color: var(--ink-soft); font-size: .84rem; font-weight: 700; }
.ss-x { margin-left: auto; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--tint); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.ss-x .ic { width: 18px; height: 18px; }
.skillsheet h3 { margin: 2px 0 0; font: 800 1.3rem/1.25 var(--display); color: var(--ink); }
.ss-topic { margin: 2px 0 0; color: var(--ink-soft); font-size: .9rem; line-height: 1.35; }
.ss-lvl { display: flex; align-items: center; gap: 10px; margin: 12px 0 6px; font: 800 .9rem var(--display); }
.segs { display: flex; gap: 4px; }
.segs i { width: 28px; height: 8px; border-radius: 4px; background: var(--line); }
.segs i.gap { background: var(--red); } .segs i.learning { background: var(--gold); } .segs i.mastered { background: var(--green); }
.ss-facts { margin: 0; color: var(--ink-soft); line-height: 1.45; }
.ss-nav { display: flex; gap: 8px; margin-top: 12px; }
.ss-nav button { flex: 1; min-height: 48px; border-radius: 12px; border: 1px solid var(--line); background: var(--tint); color: var(--ink); font: 800 .95rem var(--display); cursor: pointer; }
body.ss-open { padding-bottom: 280px; }
@media (prefers-reduced-motion: reduce) { .skillsheet.in { animation: none; } .t { transition: none; } }

/* Pecahan bertingkat */
.frac { display: inline-flex; flex-direction: column; vertical-align: middle; text-align: center; font-size: .82em; line-height: 1.05; margin: 0 3px; }
.frac span:first-child { border-bottom: .09em solid currentColor; padding: 0 4px 2px; }
.frac span:last-child { padding: 2px 4px 0; }

/* Kuiz */
.qtop { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 0 2px; min-height: 60px; }
.qtop .x { min-height: 40px; padding: 6px 14px; border-radius: 99px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); color: #fff; font: 700 .88rem var(--body); cursor: pointer; }
.qtop .count { font: 900 1.15rem/1 var(--display); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.combo { display: inline-flex; align-items: center; gap: 4px; padding: 5px 11px 5px 8px; border-radius: 99px; background: var(--gold); color: var(--ink); font: 900 .92rem var(--display); min-width: 44px; }
.combo.off { visibility: hidden; }
.track { position: relative; height: 10px; border-radius: 99px; background: rgba(4, 10, 60, .45); margin: 24px 34px 28px 14px; }
.track > div { position: relative; height: 100%; min-width: 10px; border-radius: 99px; background: linear-gradient(90deg, #FFD45C, var(--gold)); transition: width .45s cubic-bezier(.3, 1.3, .5, 1); }
.track > div .cita { position: absolute; right: -20px; top: 50%; width: 40px; transform: translateY(-54%); filter: drop-shadow(0 3px 4px rgba(3, 8, 48, .45)); }
.track > svg { position: absolute; right: -30px; top: -17px; }
.qcard { background: #fff; color: var(--ink); border-radius: var(--r-lg); padding: 22px 20px; box-shadow: var(--float); margin-bottom: 14px; }
.q { font: 800 clamp(1.42rem, 5.9vw, 1.85rem)/1.22 var(--display); letter-spacing: -.015em; word-spacing: .14em; margin: 0; }
.visual { margin-top: 14px; background: var(--tint); border-radius: 12px; padding: 8px; }
.visual svg { display: block; width: 100%; height: auto; max-height: 290px; }
.choices { display: grid; gap: 10px; counter-reset: lane; }
.choice {
  counter-increment: lane; position: relative; min-height: 62px; padding: 12px 16px 12px 62px; text-align: left; font: 700 1.16rem var(--body); color: var(--ink);
  background: #fff; border: 2px solid transparent; border-radius: var(--r-md); box-shadow: 0 2px 0 rgba(3, 8, 48, .35), 0 14px 24px -18px rgba(3, 8, 48, .8); cursor: pointer; transition: transform .1s;
}
.choice::before {
  content: counter(lane); position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center; background: var(--tint); color: var(--ink); font: 900 1.02rem/1 var(--display);
}
.choice:active { transform: translateY(2px); }
.choice.right { background: var(--green-soft); border-color: var(--green); }
.choice.right::before { content: ''; background: var(--green) var(--tick) center / 66% no-repeat; }
.choice.wrong { background: var(--red-soft); border-color: var(--red); }
.choice.wrong::before { content: ''; background: var(--red) var(--cross) center / 66% no-repeat; }
.choice.dim { background: rgba(255, 255, 255, .86); box-shadow: none; }
.choice.dim::before { opacity: .6; }
.choice[disabled] { cursor: default; }
.fb { position: relative; display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; padding: 16px 18px 16px 14px; border-radius: 18px; background: #fff; color: var(--ink); box-shadow: var(--float); line-height: 1.5; }
.fb .cita { width: 58px; margin-top: 2px; }
.fb strong { display: block; font: 900 1.4rem/1.1 var(--display); letter-spacing: -.03em; margin-bottom: 4px; }
.fb.ok { background: linear-gradient(140deg, #12B874, #0A9A5E); color: #fff; }
.fb.no strong { color: #C41B30; }
.fb .ans { font-weight: 700; }

/* Keputusan */
.result { text-align: center; padding-top: 26px; }
.result .hero-row { display: flex; align-items: flex-end; justify-content: center; gap: 4px; margin-top: -72px; }
.result .hero-row .cita { width: 128px; }
.score { font: 900 5rem/.9 var(--display); letter-spacing: -.06em; color: var(--field); margin: 10px 0 6px; font-variant-numeric: tabular-nums; }
.score small { font-size: 1.5rem; letter-spacing: -.03em; color: var(--ink-soft); margin-left: 4px; }
.result .medal-name { display: inline-block; font: 800 .8rem var(--display); background: var(--gold-soft); padding: 4px 13px; border-radius: 99px; margin-bottom: 10px; }
.confetti { position: absolute; left: 50%; top: 34%; width: 0; height: 0; pointer-events: none; z-index: 5; }
.confetti i { position: absolute; width: 9px; height: 13px; border-radius: 2px; opacity: 0; }

label { display: block; font-weight: 700; margin: 16px 0 6px; font-size: .95rem; }
input[type=text], input[type=email], input[type=password], input[type=tel], select {
  width: 100%; min-height: 54px; padding: 10px 14px; font: 400 1.05rem var(--body); color: var(--ink);
  background: #fff; border: 1px solid #C3CDE6; border-radius: 12px; transition: box-shadow .12s, border-color .12s;
}
input:focus, select:focus { border-color: var(--field); box-shadow: 0 0 0 3px rgba(27, 61, 219, .18); outline: 0; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.check input { width: 22px; height: 22px; margin-top: 3px; flex: none; accent-color: var(--field); }
.err { color: #C41B30; font-weight: 700; margin-top: 10px; }
.note { background: var(--gold-soft); color: var(--ink); border-radius: 12px; padding: 12px 14px; }

.row { display: flex; align-items: center; gap: 12px; }
.row.between { justify-content: space-between; }
.stack > * + * { margin-top: 10px; }
.stat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; text-align: center; }
.stat div { background: var(--tint); border-radius: 12px; padding: 14px 4px 11px; font-size: .82rem; line-height: 1.25; color: var(--ink-soft); }
.stat b { display: block; font: 900 2rem/1 var(--display); letter-spacing: -.04em; color: var(--ink); margin-bottom: 4px; font-variant-numeric: tabular-nums; }
ul.plain { list-style: none; padding: 0; margin: 0; }
ul.plain li { padding: 10px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; line-height: 1.35; }
ul.plain li:last-child { border-bottom: 0; }
.pill { font: 800 .74rem/1.5 var(--display); letter-spacing: .005em; padding: 3px 10px; border-radius: 99px; white-space: nowrap; align-self: center; }
.pill.gap { background: var(--red-soft); color: #B3172B; } .pill.learning { background: var(--gold-soft); color: #7A5600; } .pill.mastered { background: var(--green-soft); color: #06693F; } .pill.untested { background: var(--tint); color: var(--ink-soft); }

/* Ruang ibu bapa */
.adult h2 { font-size: clamp(1.8rem, 6.4vw, 2.4rem); }
.prog { display: grid; gap: 14px; margin-top: 10px; }
.prog .pr { display: grid; grid-template-columns: 22px 1fr auto; gap: 6px 10px; align-items: center; font-size: .92rem; }
.prog .pr .name { font-weight: 700; line-height: 1.25; }
.bar { height: 6px; background: var(--tint); border-radius: 99px; overflow: hidden; grid-column: 2 / -1; }
.bar > div { height: 100%; background: var(--green); border-radius: 99px; min-width: 6px; }
.bar.low > div { background: var(--red); } .bar.mid > div { background: var(--gold); }
details.more { border-top: 1px solid var(--line); margin-top: 18px; padding: 12px 0 0; }
details.more summary { font: 700 .95rem var(--body); color: var(--field); cursor: pointer; }

/* ---------- Halaman jualan ---------- */
.field { background: var(--bend) no-repeat right top / 780px 780px, var(--pitch); background-color: var(--field); color: #fff; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 0; }
.nav .links { display: flex; align-items: center; gap: 8px; }
.nav .links a.t-link { display: none; color: #fff; text-decoration: none; font-weight: 700; font-size: .95rem; padding: 8px 12px; opacity: .9; }
@media (min-width: 900px) { .nav .links a.t-link { display: inline-block; } }
.hero { padding: 22px 0 60px; display: grid; gap: 44px; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px 6px 8px; border-radius: 99px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .24); font-weight: 700; font-size: .84rem; margin-bottom: 20px; }
.badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(255, 184, 0, .25); }
.hero h1 { max-width: 11.5em; margin-bottom: .42em; }
.hero p.lead { font-size: 1.12rem; line-height: 1.6; max-width: 33em; color: rgba(255, 255, 255, .92); margin-bottom: 1.5em; }
.hero .assure { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 18px 0 0; padding: 0; list-style: none; font-size: .9rem; color: rgba(255, 255, 255, .9); }
.hero .assure li { display: inline-flex; align-items: center; gap: 6px; }
.hero .assure .ic { color: var(--gold); }
.stage { position: relative; width: 322px; max-width: 100%; margin: 4px auto 0; padding: 0 0 26px 62px; }
.stage > .cita { position: absolute; left: -26px; bottom: -6px; width: 122px; z-index: 2; filter: drop-shadow(0 14px 14px rgba(3, 8, 48, .4)); }
.phone { position: relative; width: 260px; border: 8px solid #060D2B; border-radius: 40px; background: var(--bend) no-repeat right top / 300px 300px, var(--pitch); background-color: var(--field); padding: 22px 11px 14px; color: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, .22), 0 40px 60px -30px rgba(2, 6, 40, .9); transform: rotate(2deg); }
.phone::before { content: ''; position: absolute; top: 7px; left: 50%; width: 62px; height: 7px; margin-left: -31px; border-radius: 9px; background: #060D2B; }
.phone .pg { display: flex; align-items: center; gap: 9px; margin: 6px 2px 10px; font: 900 1.12rem/1 var(--display); letter-spacing: -.03em; }
.phone .pg .av { width: 34px; height: 34px; font-size: 1rem; box-shadow: 0 0 0 2px rgba(255, 255, 255, .9); }
.phone .pm { background: linear-gradient(140deg, #FFCB3D, #FFB300); color: var(--ink); border-radius: 13px; padding: 10px 12px; margin-bottom: 9px; }
.phone .pm b { display: block; font: 900 1.12rem/1.1 var(--display); letter-spacing: -.03em; }
.phone .pm span { font-size: .68rem; font-weight: 700; }
.pc { background: #fff; border-radius: 13px; padding: 8px; color: var(--ink); }
.phone .lanes { gap: 4px; }
.phone .lane { padding: 5px 7px 6px; border-radius: 8px; }
.phone .lh { font-size: .56rem; margin-bottom: 4px; gap: 5px; }
.phone .ln { width: 13px; height: 13px; font-size: .5rem; border-radius: 4px; }
.phone .lc { font-size: .56rem; }
.phone .lt { gap: 3px; grid-template-columns: repeat(9, minmax(0, 18px)); }
.phone .t { border-radius: 4px; }
@media (min-width: 900px) {
  .hero { grid-template-columns: 1.12fr .88fr; align-items: center; padding: 44px 0 92px; gap: 30px; }
  .stage { width: 400px; padding: 0 0 30px 110px; margin: 0 0 0 auto; }
  .stage > .cita { width: 186px; left: -74px; bottom: -8px; }
  .phone { width: 288px; }
}
.finish { height: 12px; background: conic-gradient(var(--ink) 25%, #fff 0 50%, var(--ink) 0 75%, #fff 0) 0 0 / 12px 12px; }
.band { padding: 72px 0; }
.band.white { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band h2 { max-width: 15em; }
.band .sub { max-width: 34em; color: var(--ink-soft); font-size: 1.05rem; margin: -.2em 0 0; }
.grid3 { display: grid; gap: 14px; margin-top: 30px; }
@media (min-width: 900px) { .grid3 { grid-template-columns: repeat(3, 1fr); gap: 18px; } .band { padding: 96px 0; } }
.pain { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px 22px; box-shadow: var(--lift); display: flex; flex-direction: column; }
.pain .ico, .fact .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--ink); color: var(--gold); display: grid; place-items: center; margin-bottom: 18px; }
.pain .ico .ic, .fact .ico .ic { width: 24px; height: 24px; }
.pain h3 { font-size: 1.42rem; font-weight: 900; letter-spacing: -.022em; line-height: 1.14; }
.pain p { color: var(--ink-soft); margin: 0; }
.pain p + p { margin-top: .8em; }
.pain .fix { margin-top: auto; padding-top: 18px; color: var(--ink); font-weight: 700; display: flex; gap: 8px; align-items: flex-start; line-height: 1.4; font-size: .95rem; }
.pain .fix .ic { color: var(--green); margin-top: .1em; }
.fact { padding: 4px 0; }
.fact .ico { background: var(--tint); color: var(--field); }
.fact h3 { margin-bottom: .3em; }
.fact p { margin: 0; color: var(--ink-soft); }
.steps { display: grid; gap: 14px; padding: 0; margin: 30px 0 0; list-style: none; counter-reset: s; }
.steps > li { counter-increment: s; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; display: flex; flex-direction: column; }
.steps > li::before { content: '0' counter(s); font: 900 .95rem/1 var(--display); color: var(--field); letter-spacing: .02em; margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.steps > li > h3 { font-size: 1.42rem; font-weight: 900; letter-spacing: -.022em; margin-bottom: .35em; }
.steps > li > p { color: var(--ink-soft); }
.shot { margin-top: auto; background: var(--bend) no-repeat right top / 320px 320px, var(--pitch); background-color: var(--field); border-radius: 14px; padding: 14px; color: #fff; }
.shot .qcard { padding: 14px 16px; border-radius: 12px; margin-bottom: 8px; box-shadow: none; }
.shot .q { font-size: 1.4rem; }
.shot .choice { min-height: 44px; font-size: 1rem; padding: 6px 12px 6px 50px; border-radius: 11px; box-shadow: none; pointer-events: none; display: block; line-height: 28px; }
.shot .choice::before { width: 28px; height: 28px; font-size: .86rem; left: 10px; border-radius: 8px; }
.shot .choices { gap: 7px; }
.shot .fb { margin-top: 10px; box-shadow: none; padding: 12px 14px 12px 10px; border-radius: 12px; font-size: .92rem; }
.shot .fb strong { font-size: 1.15rem; }
.shot .fb .cita { width: 46px; }
.shot .chips { margin: 0; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.two { display: grid; gap: 34px; }
@media (min-width: 900px) { .two { grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; } .two.start { align-items: start; } }
ul.ticks { list-style: none; padding: 0; margin: 1.2em 0 1em; }
ul.ticks li { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; }
ul.ticks .ic { color: var(--green); margin-top: .2em; }
.cmp { margin-top: 30px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--lift); }
.cmp .cr { display: grid; grid-template-columns: 1fr 1fr; }
.cmp .cr > div { padding: 14px 16px; display: flex; gap: 9px; align-items: flex-start; line-height: 1.4; font-size: .95rem; border-top: 1px solid var(--line); }
.cmp .cr > div:first-child { color: var(--ink-soft); }
.cmp .cr > div:last-child { background: #F3F6FF; font-weight: 700; border-left: 1px solid var(--line); }
.cmp .cr.hd > div { border-top: 0; font: 900 1rem var(--display); letter-spacing: -.02em; color: var(--ink); padding-top: 16px; padding-bottom: 16px; }
.cmp .cr.hd > div:last-child { background: var(--field); color: #fff; }
.cmp .ic { margin-top: .12em; }
.cmp .cr > div:first-child .ic { color: #B3BCD3; }
.cmp .cr > div:last-child .ic { color: var(--green); }
@media (min-width: 900px) { .cmp .cr > div { padding: 16px 24px; font-size: 1rem; } }
.chat { background: var(--tint); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px 16px 20px; max-width: 420px; }
.chat .who { display: flex; align-items: center; gap: 10px; font: 800 1rem var(--display); letter-spacing: -.01em; margin-bottom: 14px; }
.chat .who svg { width: 32px; height: 32px; }
.chat .who small { display: block; font: 400 .8rem var(--body); letter-spacing: 0; color: var(--ink-soft); line-height: 1.2; margin-top: 2px; }
.wa { background: #fff; border-radius: 4px 14px 14px 14px; padding: 12px 14px 8px; white-space: pre-line; font-size: .93rem; line-height: 1.5; box-shadow: 0 1px 2px rgba(10, 20, 51, .08); }
.wa time { display: block; text-align: right; font-size: .72rem; color: var(--ink-soft); margin-top: 2px; }
.lanelist { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 8px; }
.lanelist li { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px 12px 12px; font-weight: 700; line-height: 1.25; }
.lanelist .ln { width: 30px; height: 30px; font-size: 1rem; border-radius: 8px; }
.lanelist .lc { white-space: nowrap; }
@media (min-width: 700px) { .lanelist { grid-template-columns: 1fr 1fr; gap: 10px 14px; } }
.ticket { background: #fff; border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: var(--lift); padding: 26px 24px 24px; margin-top: 24px; }
.ticket .th { display: flex; justify-content: space-between; align-items: center; gap: 12px; font: 800 1.05rem var(--display); letter-spacing: -.01em; margin-bottom: 14px; }
.ticket .th span { font: 800 .74rem var(--display); background: var(--gold); color: var(--ink); padding: 4px 11px; border-radius: 99px; white-space: nowrap; }
.price { font: 900 4.2rem/.95 var(--display); letter-spacing: -.06em; color: var(--ink); margin-bottom: 6px; }
.price small { font: 700 1rem var(--body); letter-spacing: 0; color: var(--ink-soft); margin-left: 4px; }
.price + .per { color: var(--ink-soft); margin-bottom: 0; }
.faq details { border-bottom: 1px solid var(--line); padding: 2px 0; }
.faq summary { font: 800 1.08rem/1.3 var(--display); letter-spacing: -.015em; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 16px 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' stroke='%231B3DDB' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 60% no-repeat; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: -4px 0 18px; color: var(--ink-soft); max-width: 36em; }
.cta { padding: 76px 0 0; text-align: center; overflow: hidden; }
.cta h2 { font-size: clamp(2.2rem, 8.6vw, 3.9rem); max-width: 13em; margin: 0 auto .4em; }
.cta p { color: rgba(255, 255, 255, .9); max-width: 32em; margin: 0 auto 1.6em; font-size: 1.05rem; }
.cta .cita { margin: 34px auto 0; width: 180px; filter: drop-shadow(0 14px 14px rgba(3, 8, 48, .4)); }
footer.wrap { padding: 28px 20px 96px; font-size: .86rem; color: var(--ink-soft); }
footer.wrap p { margin: 0 0 .4em; max-width: 46em; }
.sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .25s; }
.sticky.on { transform: none; }
@media (min-width: 900px) { .sticky { display: none; } footer.wrap { padding-bottom: 44px; } }

@media (prefers-reduced-motion: no-preference) {
  .lanes.play .t { animation: mark .36s cubic-bezier(.3, 1.5, .5, 1) both; animation-delay: calc(var(--i) * 40ms + 250ms); }
  @keyframes mark { from { background-color: #fff; transform: scale(.4); opacity: .3; } }
  .pop { animation: pop .32s cubic-bezier(.3, 1.3, .5, 1) both; }
  @keyframes pop { from { transform: translateY(12px); opacity: 0; } }
  .fb { animation: rise .34s cubic-bezier(.3, 1.3, .5, 1) both; }
  @keyframes rise { from { transform: translateY(22px); opacity: 0; } }
  .fb.ok .cita, .result .hero-row .cita { animation: hop .7s ease-in-out .15s 2; }
  @keyframes hop { 50% { transform: translateY(-8px) rotate(-4deg); } }
  .choice.wrong { animation: shake .34s; }
  @keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
  .confetti i { animation: burst 1.25s cubic-bezier(.15, .7, .3, 1) var(--d) both; }
  @keyframes burst { 0% { transform: translate(0, 0) rotate(0); opacity: 1; } 70% { opacity: 1; } 100% { transform: translate(var(--x), calc(var(--y) + 150px)) rotate(var(--r)); opacity: 0; } }
  .stage > .cita { animation: dash .8s cubic-bezier(.2, .9, .3, 1) .15s both; }
  @keyframes dash { from { transform: translateX(-140px); opacity: 0; } }
  .mission .cita { animation: bob 2.6s ease-in-out infinite; }
  @keyframes bob { 50% { transform: translateY(-5px); } }
}
