/* VOKANUSA landing page — isolated from the main app (all rules scoped to this page). */
:root {
  --green: #007c59;
  --green-600: #006a4c;
  --green-900: #173e32;
  --accent: #139a66; /* lighter green accent; >= 3.2:1 on the hero background (large text) */
  --green-100: #dcefe5;
  --tint: #eef7f1;
  --warm: #fbf5e8;
  --ink: #1b2a24;
  --muted: #4f625a;
  --line: #dbe7e0;
  --paper: #ffffff;
  --header-h: 60px;
  --radius: 18px;
  --shadow: 0 10px 28px rgba(23, 62, 50, 0.14);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.has-sticky { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }

img, video { max-width: 100%; display: block; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--green-600); text-underline-offset: 3px; }

:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 14px; background: var(--green-900); color: #fff; border-radius: 8px; text-decoration: none;
}
.skip-link:focus { top: 10px; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.wrap-narrow { max-width: 760px; }

.anchor-block { scroll-margin-top: calc(var(--header-h) + 8px); }
section[id], .anchor-block { scroll-margin-top: calc(var(--header-h) + 8px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  min-height: 48px; padding: 12px 22px; border-radius: 12px; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: 16px; line-height: 1.3; text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-600); }
.btn-ghost { background: transparent; color: var(--green-900); border-color: var(--line); }
.btn-ghost:hover { background: var(--tint); }
.btn-outline { color: var(--green-900); border-color: var(--green); background: #fff; }
.btn-outline:hover { background: var(--tint); }
.btn-light { background: #fff; color: var(--green-900); }
.btn-light:hover { background: var(--tint); }
.btn-sm { min-height: 40px; padding: 8px 14px; font-size: 14px; border-radius: 10px; white-space: nowrap; flex: none; }
.btn-lg { min-height: 52px; padding: 14px 26px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(255, 255, 255, 0.96); border-bottom: 1px solid transparent;
  -webkit-backdrop-filter: saturate(1.4) blur(8px); backdrop-filter: saturate(1.4) blur(8px);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-row { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-width: 0; }
.brand-mark { width: 36px; height: 36px; border-radius: 10px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand-name { font-weight: 800; font-size: 18px; letter-spacing: -0.01em; color: var(--ink); }
.brand-sub { font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--green); white-space: nowrap; }
.site-nav { display: none; gap: 4px; }
.site-nav a { padding: 8px 12px; border-radius: 8px; color: var(--muted); font-weight: 600; font-size: 15px; text-decoration: none; }
.site-nav a:hover { color: var(--green-900); background: var(--tint); }

/* ---------- Typography ---------- */
.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--green); margin-bottom: 10px; }
h1 { font-size: clamp(30px, 8vw, 52px); line-height: 1.12; letter-spacing: -0.025em; font-weight: 800; color: var(--green-900); text-wrap: balance; }
h2 { font-size: clamp(25px, 6vw, 38px); line-height: 1.2; letter-spacing: -0.02em; font-weight: 800; color: var(--green-900); text-wrap: balance; }
h3 { font-size: 19px; line-height: 1.3; font-weight: 700; color: var(--green-900); margin-bottom: 8px; }
.lead { font-size: 17px; color: var(--muted); margin-top: 16px; max-width: 34em; }
.section-lead { font-size: 17px; color: var(--muted); margin-top: 12px; max-width: 40em; }
.section-head { margin-bottom: 28px; }
.fine { font-size: 14px; color: var(--muted); margin-top: 16px; line-height: 1.6; }
.fine-center { text-align: center; max-width: 40em; margin: 18px auto 0; }
.caption { font-size: 14px; color: var(--muted); text-align: center; margin-top: 12px; }
.note-line { margin-top: 22px; color: var(--muted); font-size: 15px; }
.split-text p + p, .split-text p + ul { margin-top: 12px; }
.split-text h2 + p { margin-top: 14px; }

/* ---------- Sections ---------- */
.section { padding: 44px 0; }
/* Tinted sections blend into the white ones: the tint fades in over 48 px at the top, so no edge line shows between sections. */
.section-tint { background: linear-gradient(180deg, #ffffff 0, var(--tint) 48px); }
/* the fade back to white happens at the top of the next (white) section, so a tinted section stays solid right down to
   its last cards and nothing inside it has to guess the colour behind it */
.section-tint + .section:not(.section-tint):not(.section-warm) { background: linear-gradient(180deg, var(--tint) 0, #ffffff 44px); }
.section-warm { background: linear-gradient(180deg, #ffffff 0, var(--warm) 48px); }
.section-warm + .section:not(.section-tint):not(.section-warm) { background: linear-gradient(180deg, var(--warm) 0, #ffffff 44px); }
/* tinted next to warm: one colour flows straight into the other, with no white band between them */
.section-tint + .section-warm { background: linear-gradient(180deg, var(--tint) 0, var(--warm) 64px); }
.section-warm + .section-tint { background: linear-gradient(180deg, var(--warm) 0, var(--tint) 64px); }
/* the same hand-over across the #detail wrapper (its first and last sections touch the sections outside it) */
.section-tint + .anchor-block > .section:first-child:not(.section-tint):not(.section-warm),
.anchor-block:has(> .section-tint:last-child) + .section:not(.section-tint):not(.section-warm) { background: linear-gradient(180deg, var(--tint) 0, #ffffff 44px); }

.split { display: grid; gap: 18px; align-items: center; }
.split-text { min-width: 0; }
.split-media { min-width: 0; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; padding: 12px 0 8px;
  /* One smooth gradient (no boxes): deep green at the top for the light headline, easing through the screens' glow back to white below the CTA. */
  background:
    radial-gradient(100% 42% at 50% 42%, rgba(88, 190, 146, .5) 0%, rgba(88, 190, 146, 0) 72%),
    linear-gradient(180deg, #15483a 0%, #1c5c46 30%, #58a888 56%, #cde8da 77%, #ffffff 100%);
}
.hero h1 { color: #ffffff; text-shadow: 0 2px 14px rgba(6, 30, 22, .28); }
.hero .accent { color: #52e59b; } /* light green on the deep green hero */
.hero-grid { display: grid; gap: 6px; justify-items: center; text-align: center; }
/* Gradient waves behind the lower hero (perbaikan-36): a small WebGL shader (script.js, initHeroWaves) draws light satin
   waves rolling in from a hazy horizon, in the hero's mint, fading into the gradient above and the white below. Up to
   1.5x pixel density, paused off screen, one still frame for reduced motion; without WebGL nothing shows. */
.hero-waves { position: absolute; left: 0; right: 0; top: 60%; height: 40%; z-index: 0; pointer-events: none; }   /* behind the screen label, dots and CTA */
@media (min-width: 960px) { .hero-waves { top: 52%; height: 48%; } }
.hero-waves canvas { display: block; width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s ease; }
.hero-waves canvas.is-on { opacity: 1; }
.hero-grid { position: relative; z-index: 1; }
.hero-top { display: grid; gap: 10px; justify-items: center; }
.hero-brand { font-size: 13px; font-weight: 800; letter-spacing: .32em; text-indent: .32em; color: #a8ecc9; }
.hero h1 { font-size: clamp(24.5px, 6.7vw, 36px); line-height: 1.16; max-width: 13em; }
.accent { color: var(--accent); }
.hero-cta { display: grid; gap: 10px; justify-items: center; width: 100%; max-width: 360px; margin-top: 8px; }
.hero-cta .btn { width: 100%; }
#hero-cta { position: relative; overflow: hidden; isolation: isolate; }
#hero-cta::after {
  content: ""; position: absolute; top: -20%; bottom: -20%; left: 0; width: 38%; z-index: -1; pointer-events: none;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .5) 50%, rgba(255, 255, 255, 0) 100%);
  transform: translateX(-160%) skewX(-18deg); animation: cta-shine 3.2s ease-in-out 1.4s infinite;
}
@media (prefers-reduced-motion: reduce) { #hero-cta::after { display: none; animation: none; } }
.micro { font-size: 14.5px; color: var(--green-900); font-weight: 800; line-height: 1.4; }
/* Colour sweep that highlights the hero microcopy. Both stops keep >= 3:1 contrast on the hero background. */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .micro {
    background: linear-gradient(90deg, #173e32 0%, #139a66 50%, #173e32 100%) 0 0 / 200% 100% repeat-x;
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
    animation: micro-sweep 3.6s linear infinite;
  }
}
/* With a 200%-wide gradient, a falling background-position moves the highlight left to right. */
@keyframes micro-sweep { from { background-position: 200% 0; } to { background-position: 0 0; } }
@media (prefers-reduced-motion: reduce) { .micro { animation: none; } }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Carousel controller styles ----------
   Structure:  .sc-stage (clips)  >  .sc-slide (layout only: position + size)  >  .sc-pose (the only
   element that is transformed)  >  .sc-media (fixed-ratio box)  >  img (object-fit: contain).
   Layout and animation live on different elements, every pose uses the same transform function
   list (so the browser interpolates smoothly), and scale is always uniform: a screenshot can only
   move, tilt or shrink, never stretch.
   Looks, selected by data-variant: 3d (hero) · flat · cards (games) · stack · slide · fade */
.showcase { --sw: clamp(150px, 50vw, 210px); --sl: var(--sw); --cap: 0px; --ease: cubic-bezier(.22, .72, .2, 1); width: 100%; display: grid; justify-items: center; gap: 0; min-width: 0; position: relative; }
.showcase--bleed { width: calc(100% + 32px); margin-inline: -16px; max-width: 560px; }
.sc-stage {
  position: relative; width: 100%; height: calc(var(--sw) * 2796 / 1290 + 26px + var(--cap));
  overflow: hidden; touch-action: pan-y pinch-zoom; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
  cursor: grab; border-radius: 12px; isolation: isolate;
}
.sc-stage:active { cursor: grabbing; }
.sc-stage:focus-visible { outline: 3px solid var(--green); outline-offset: -3px; }
.sc-slide {
  position: absolute; left: 50%; top: 10px; width: var(--sl); margin-left: calc(var(--sl) / -2);
  visibility: hidden; pointer-events: none;
  transition: visibility 0s linear .6s;
}
.sc-slide[data-pos="0"], .sc-slide[data-pos="1"], .sc-slide[data-pos="-1"] { visibility: visible; transition-delay: 0s; }
.sc-slide[data-pos="0"] { z-index: 3; } .sc-slide[data-pos="1"], .sc-slide[data-pos="-1"] { z-index: 2; } .sc-slide[data-pos="2"], .sc-slide[data-pos="-2"] { z-index: 1; }
.sc-pose {
  opacity: 0; transform-origin: 50% 50%;
  transform: perspective(1000px) translate3d(0, 0, 0) rotateY(0deg) scale(1);
  transition: transform .6s var(--ease), opacity .6s ease;
}
/* Only the 3D hero needs a hidden back face. Every other slide stays an ordinary layer: forcing a GPU
   layer per screenshot (will-change on ~130 slides) ran iPhones out of memory and Safari reloaded the
   page, throwing visitors back to the top. */
.showcase[data-variant="3d"] .sc-pose { -webkit-backface-visibility: hidden; backface-visibility: hidden; }
/* Carousels far from the viewport draw nothing, so their screens hold no memory until they come near. */
.showcase.is-far .sc-slide { visibility: hidden !important; }
.sc-slide[data-pos="0"] .sc-pose { opacity: 1; }
.sc-slide img { -webkit-user-drag: none; user-select: none; pointer-events: none; }

/* 3D (hero): upright centre, neighbours turned toward it and pushed back. Always solid (opacity 1). */
.showcase[data-variant="3d"] .sc-slide[data-pos="1"]  .sc-pose { opacity: 1; transform: perspective(1000px) translate3d(calc(var(--sw) * .8), 0, -90px) rotateY(-36deg) scale(.9); }
.showcase[data-variant="3d"] .sc-slide[data-pos="-1"] .sc-pose { opacity: 1; transform: perspective(1000px) translate3d(calc(var(--sw) * -.8), 0, -90px) rotateY(36deg) scale(.9); }
.showcase[data-variant="3d"] .sc-slide[data-pos="2"]  .sc-pose { transform: perspective(1000px) translate3d(calc(var(--sw) * 1.05), 0, -200px) rotateY(-45deg) scale(.8); }
.showcase[data-variant="3d"] .sc-slide[data-pos="-2"] .sc-pose { transform: perspective(1000px) translate3d(calc(var(--sw) * -1.05), 0, -200px) rotateY(45deg) scale(.8); }

/* Flat coverflow: neighbours peek in at the sides and the outer edges fade out. */
.showcase[data-variant="flat"] .sc-stage, .showcase[data-variant="cards"] .sc-stage { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%); }
.showcase[data-variant="flat"] .sc-slide[data-pos="1"]  .sc-pose { opacity: .9; transform: perspective(1000px) translate3d(calc(var(--sw) * .9), 0, 0) rotateY(0deg) scale(.84); }
.showcase[data-variant="flat"] .sc-slide[data-pos="-1"] .sc-pose { opacity: .9; transform: perspective(1000px) translate3d(calc(var(--sw) * -.9), 0, 0) rotateY(0deg) scale(.84); }
.showcase[data-variant="flat"] .sc-slide[data-pos="2"]  .sc-pose { transform: perspective(1000px) translate3d(calc(var(--sw) * 1.55), 0, 0) rotateY(0deg) scale(.7); }
.showcase[data-variant="flat"] .sc-slide[data-pos="-2"] .sc-pose { transform: perspective(1000px) translate3d(calc(var(--sw) * -1.55), 0, 0) rotateY(0deg) scale(.7); }

/* Stack: light fan of cards, the front one upright. */
.showcase[data-variant="stack"] .sc-slide[data-pos="1"]  .sc-pose { opacity: 1; transform: perspective(1000px) translate3d(calc(var(--sw) * .32), 0, 0) rotateY(0deg) rotate(6deg) scale(.92); }
.showcase[data-variant="stack"] .sc-slide[data-pos="-1"] .sc-pose { opacity: 1; transform: perspective(1000px) translate3d(calc(var(--sw) * -.32), 0, 0) rotateY(0deg) rotate(-6deg) scale(.92); }
.showcase[data-variant="stack"] .sc-slide[data-pos="2"]  .sc-pose { transform: perspective(1000px) translate3d(calc(var(--sw) * .4), 0, 0) rotateY(0deg) rotate(8deg) scale(.85); }
.showcase[data-variant="stack"] .sc-slide[data-pos="-2"] .sc-pose { transform: perspective(1000px) translate3d(calc(var(--sw) * -.4), 0, 0) rotateY(0deg) rotate(-8deg) scale(.85); }
.showcase[data-variant="stack"] .sc-pose, .showcase[data-variant="slide"] .sc-pose, .showcase[data-variant="fade"] .sc-pose { transform: perspective(1000px) translate3d(0, 0, 0) rotateY(0deg) rotate(0deg) scale(1); }
.showcase[data-variant="stack"] .sc-slide[data-pos="1"] .sc-pose  { transform: perspective(1000px) translate3d(calc(var(--sw) * .32), 0, 0) rotateY(0deg) rotate(6deg) scale(.92); }
.showcase[data-variant="stack"] .sc-slide[data-pos="-1"] .sc-pose { transform: perspective(1000px) translate3d(calc(var(--sw) * -.32), 0, 0) rotateY(0deg) rotate(-6deg) scale(.92); }

/* Slide and fade: one screen inside a single frame. */
.showcase[data-variant="slide"] .sc-stage, .showcase[data-variant="fade"] .sc-stage { width: calc(var(--sw) + 28px); justify-self: center; }
.showcase[data-variant="slide"] .sc-slide[data-pos="1"] .sc-pose, .showcase[data-variant="slide"] .sc-slide[data-pos="2"] .sc-pose { transform: perspective(1000px) translate3d(calc(var(--sw) * 1.1), 0, 0) rotateY(0deg) rotate(0deg) scale(1); }
.showcase[data-variant="slide"] .sc-slide[data-pos="-1"] .sc-pose, .showcase[data-variant="slide"] .sc-slide[data-pos="-2"] .sc-pose { transform: perspective(1000px) translate3d(calc(var(--sw) * -1.1), 0, 0) rotateY(0deg) rotate(0deg) scale(1); }
.showcase[data-variant="fade"] .sc-slide:not([data-pos="0"]) .sc-pose { transform: perspective(1000px) translate3d(0, 0, 0) rotateY(0deg) rotate(0deg) scale(.97); }
/* Trio carousels: three screens in view, each section with its own motion.
   arc (Daily English)     neighbours fan out on a curve, like cards held in a hand
   lift (Writing Mastery)  the centre screen rises with a deeper shadow, neighbours wash out
   focus (IELTS Mock Test) neighbours blur and dim like a camera's shallow focus
   bounce (Target)         a springy settle: neighbours drop down and pop back up */
.showcase--trio { --cap: 0px; width: min(540px, calc(100vw - 32px)); }
.showcase[data-variant="arc"] { --cap: 14px; }
.showcase--trio .sc-slide { top: 14px; }
.showcase[data-variant="arc"] .sc-pose { transform-origin: 50% 100%; transition: transform .75s cubic-bezier(.22, .72, .2, 1), opacity .5s ease; }
.showcase[data-variant="arc"] .sc-slide[data-pos="1"] .sc-pose  { opacity: 1; transform: translate3d(calc(var(--sw) * .74), 16px, 0) rotate(8deg) scale(.82); }
.showcase[data-variant="arc"] .sc-slide[data-pos="-1"] .sc-pose { opacity: 1; transform: translate3d(calc(var(--sw) * -.74), 16px, 0) rotate(-8deg) scale(.82); }
.showcase[data-variant="arc"] .sc-slide[data-pos="2"] .sc-pose  { transform: translate3d(calc(var(--sw) * 1.3), 46px, 0) rotate(16deg) scale(.7); }
.showcase[data-variant="arc"] .sc-slide[data-pos="-2"] .sc-pose { transform: translate3d(calc(var(--sw) * -1.3), 46px, 0) rotate(-16deg) scale(.7); }
.showcase[data-variant="lift"] .sc-pose { transition: transform .7s cubic-bezier(.22, .72, .2, 1), opacity .6s ease; }
.showcase[data-variant="lift"] .sc-slide[data-pos="0"] .sc-pose { transform: translate3d(0, -6px, 0) scale(1); }
.showcase[data-variant="lift"] .sc-slide[data-pos="0"] .sc-media { box-shadow: 0 30px 44px -16px rgba(16, 61, 45, .5), 0 10px 18px rgba(16, 61, 45, .18); }
.showcase[data-variant="lift"] .sc-slide[data-pos="1"] .sc-pose  { opacity: .7; transform: translate3d(calc(var(--sw) * .78), 18px, 0) scale(.82); }
.showcase[data-variant="lift"] .sc-slide[data-pos="-1"] .sc-pose { opacity: .7; transform: translate3d(calc(var(--sw) * -.78), 18px, 0) scale(.82); }
.showcase[data-variant="lift"] .sc-slide[data-pos="2"] .sc-pose  { transform: translate3d(calc(var(--sw) * 1.4), 24px, 0) scale(.72); }
.showcase[data-variant="lift"] .sc-slide[data-pos="-2"] .sc-pose { transform: translate3d(calc(var(--sw) * -1.4), 24px, 0) scale(.72); }
.showcase[data-variant="focus"] .sc-pose { filter: blur(0) brightness(1); transition: transform .7s cubic-bezier(.22, .72, .2, 1), opacity .6s ease, filter .7s ease; }
.showcase[data-variant="focus"] .sc-slide[data-pos="1"] .sc-pose  { opacity: 1; filter: blur(2.5px) brightness(.82); transform: translate3d(calc(var(--sw) * .76), 0, 0) scale(.86); }
.showcase[data-variant="focus"] .sc-slide[data-pos="-1"] .sc-pose { opacity: 1; filter: blur(2.5px) brightness(.82); transform: translate3d(calc(var(--sw) * -.76), 0, 0) scale(.86); }
.showcase[data-variant="focus"] .sc-slide[data-pos="2"] .sc-pose  { filter: blur(6px); transform: translate3d(calc(var(--sw) * 1.35), 0, 0) scale(.74); }
.showcase[data-variant="focus"] .sc-slide[data-pos="-2"] .sc-pose { filter: blur(6px); transform: translate3d(calc(var(--sw) * -1.35), 0, 0) scale(.74); }
.showcase[data-variant="bounce"] .sc-pose { transition: transform .8s cubic-bezier(.34, 1.56, .64, 1), opacity .5s ease; }
.showcase[data-variant="bounce"] .sc-slide[data-pos="1"] .sc-pose  { opacity: .92; transform: translate3d(calc(var(--sw) * .76), 26px, 0) scale(.8); }
.showcase[data-variant="bounce"] .sc-slide[data-pos="-1"] .sc-pose { opacity: .92; transform: translate3d(calc(var(--sw) * -.76), 26px, 0) scale(.8); }
.showcase[data-variant="bounce"] .sc-slide[data-pos="2"] .sc-pose  { transform: translate3d(calc(var(--sw) * 1.3), 60px, 0) scale(.66); }
.showcase[data-variant="bounce"] .sc-slide[data-pos="-2"] .sc-pose { transform: translate3d(calc(var(--sw) * -1.3), 60px, 0) scale(.66); }
@media (prefers-reduced-motion: reduce) { .showcase--trio .sc-pose { transition: none; } }

/* Push (Grammar): the iPhone frame stays put and the screens inside it push in from the right, like
   opening a page in an iOS app. The leaving screen drifts a little to the left and dims underneath. */
.showcase[data-variant="push"] .sc-stage {
  width: calc(var(--sw) + 12px); height: calc(var(--sw) * 1688 / 780 + 12px); justify-self: center; margin-top: 10px;
  border-radius: 40px; background: linear-gradient(145deg, #3a4541 0%, #121816 38%, #1d2522 70%, #3b4642 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22), inset 0 0 0 2.5px #0b0f0e, 0 28px 40px -18px rgba(16, 61, 45, .55), 0 10px 18px -8px rgba(16, 61, 45, .25);
}
.showcase[data-variant="push"] .sc-slide { top: 6px; left: 6px; margin-left: 0; width: var(--sw); overflow: hidden; border-radius: 34px; isolation: isolate; }
.showcase[data-variant="push"] .sc-slide[data-pos="0"] { z-index: 3; }
.showcase[data-variant="push"] .sc-pose { opacity: 1; transform: translate3d(0, 0, 0) scale(1); filter: brightness(1); transition: transform .8s cubic-bezier(.32, .72, 0, 1), filter .8s ease; }
.showcase[data-variant="push"] .sc-slide[data-pos="1"] .sc-pose, .showcase[data-variant="push"] .sc-slide[data-pos="2"] .sc-pose { transform: translate3d(calc(100% + 8px), 0, 0) scale(1); }
.showcase[data-variant="push"] .sc-slide[data-pos="-1"] .sc-pose, .showcase[data-variant="push"] .sc-slide[data-pos="-2"] .sc-pose { transform: translate3d(-32%, 0, 0) scale(.96); filter: brightness(.55); }
.showcase[data-variant="push"] .sc-media { border-radius: 34px; box-shadow: -10px 0 24px rgba(0, 0, 0, .28); }
@media (prefers-reduced-motion: reduce) { .showcase[data-variant="push"] .sc-pose { transition: none; } }

/* Strip (IELTS): phones stand side by side in a row and the whole row scrolls left like an iOS carousel.
   Everything on screen stays at full opacity and size; only the two screens beyond the neighbours fade out. */
.showcase[data-variant="strip"] { --gap: 18px; width: min(520px, calc(100vw - 32px)); }
.showcase[data-variant="strip"] .sc-pose { transition: transform .7s cubic-bezier(.32, .72, .25, 1), opacity .45s ease; }
.showcase[data-variant="strip"] .sc-slide[data-pos="1"]  .sc-pose { opacity: 1; transform: perspective(1000px) translate3d(calc((var(--sl) + var(--gap)) * 1), 0, 0) rotateY(0deg) scale(1); }
.showcase[data-variant="strip"] .sc-slide[data-pos="-1"] .sc-pose { opacity: 1; transform: perspective(1000px) translate3d(calc((var(--sl) + var(--gap)) * -1), 0, 0) rotateY(0deg) scale(1); }
.showcase[data-variant="strip"] .sc-slide[data-pos="2"]  .sc-pose { transform: perspective(1000px) translate3d(calc((var(--sl) + var(--gap)) * 2), 0, 0) rotateY(0deg) scale(1); }
.showcase[data-variant="strip"] .sc-slide[data-pos="-2"] .sc-pose { transform: perspective(1000px) translate3d(calc((var(--sl) + var(--gap)) * -2), 0, 0) rotateY(0deg) scale(1); }

/* Cards (games): pastel frame with the screenshot on top and the caption underneath. */
.showcase[data-variant="cards"] { --sw: clamp(176px, 52vw, 220px); --sl: calc(var(--sw) + 28px); --cap: 124px; }
.showcase[data-variant="cards"] .sc-slide[data-pos="1"]  .sc-pose { opacity: .85; transform: perspective(1000px) translate3d(calc(var(--sl) * .98), 0, 0) rotateY(0deg) scale(.86); }
.showcase[data-variant="cards"] .sc-slide[data-pos="-1"] .sc-pose { opacity: .85; transform: perspective(1000px) translate3d(calc(var(--sl) * -.98), 0, 0) rotateY(0deg) scale(.86); }
.showcase[data-variant="cards"] .sc-slide[data-pos="2"]  .sc-pose { transform: perspective(1000px) translate3d(calc(var(--sl) * 1.7), 0, 0) rotateY(0deg) scale(.72); }
.showcase[data-variant="cards"] .sc-slide[data-pos="-2"] .sc-pose { transform: perspective(1000px) translate3d(calc(var(--sl) * -1.7), 0, 0) rotateY(0deg) scale(.72); }
.sc-card { padding: 14px; border-radius: 30px; display: grid; gap: 10px; box-shadow: 0 14px 28px -14px rgba(23, 62, 50, .35); border: 1px solid rgba(255, 255, 255, .8); }
.sc-card .sc-media { box-shadow: 0 8px 18px -8px rgba(23, 62, 50, .35); }
.sc-cap { display: grid; gap: 3px; text-align: center; min-height: calc(var(--cap) - 28px); align-content: start; }
.sc-cap strong { color: var(--green-900); font-size: 17px; line-height: 1.25; }
.sc-cap span { color: #3d5249; font-size: 14px; line-height: 1.45; }

/* Fixed-ratio screenshot box. Ratio comes from padding (no aspect-ratio support needed) and the
   image fills it absolutely with object-fit: contain, so it can never stretch. */
.sc-media {
  position: relative; display: block; width: 100%; height: 0; padding-bottom: var(--arp, 216.7442%); aspect-ratio: auto;
  overflow: hidden; border: 0; border-radius: 28px; background: #e6efe9; isolation: isolate;
  box-shadow: 0 22px 40px -14px rgba(16, 61, 45, .42), 0 6px 14px rgba(16, 61, 45, .16);
}
.sc-media img, .sc-media video { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: contain; object-position: center; background: #fff; border-radius: 0; }
.sc-media.is-failed { height: 0; display: block; }
.sc-media.is-failed::after { position: absolute; inset: 0; display: grid; place-items: center; }
.showcase[data-variant="fade"] .sc-media, .showcase[data-variant="slide"] .sc-media { border-radius: 26px; }

.sc-label { min-height: 1.5em; margin-top: 2px; font-weight: 700; color: var(--green-900); font-size: 16px; line-height: 1.5; text-align: center; }
.sc-dots { display: flex; align-items: center; justify-content: center; }
.sc-dots[hidden] { display: none; }
.sc-dot { width: 22px; height: 28px; padding: 0; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; -webkit-tap-highlight-color: transparent; }
.sc-dot span { width: 8px; height: 8px; border-radius: 50%; background: #b5cfc2; transition: width .25s ease, background-color .25s ease; }
.sc-dot[aria-current="true"] span { width: 22px; border-radius: 6px; background: var(--green); }
.sc-dot:focus-visible { outline: 3px solid var(--green); outline-offset: -2px; border-radius: 8px; }
.sc-count { font-variant-numeric: tabular-nums; font-weight: 700; font-size: 14px; color: var(--green-900); margin-right: 8px; letter-spacing: .02em; }
/* Pause/resume is invisible until it receives keyboard focus; screen readers always reach it. */
.sc-play { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sc-play:focus {
  position: static; width: auto; height: auto; margin: 6px 0 0; padding: 8px 16px; overflow: visible; clip: auto;
  background: #fff; color: var(--green-900); border: 2px solid var(--green); border-radius: 999px; font-family: inherit; font-weight: 700; font-size: 14px; line-height: 1.2; cursor: pointer;
}
.sc-play[hidden] { display: none; }
.panel-dark .sc-label { color: #fff; }
.panel-dark .sc-dot span { background: rgba(255, 255, 255, .35); }
.panel-dark .sc-dot[aria-current="true"] span { background: #9fd9bd; }

/* ---------- Media component ---------- */
.media {
  position: relative; width: 100%; aspect-ratio: var(--ar, 1290 / 2796);
  background: #e6efe9; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow);
}
.media-zoom { display: block; width: 100%; height: 100%; cursor: zoom-in; -webkit-tap-highlight-color: transparent; }
.media img, .media video { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.media video { background: #0f1f19; }
.media.is-failed { display: grid; place-items: center; }
.media.is-failed img, .media.is-failed video { display: none; }
.media.is-failed::after { content: "Gambar tidak dapat dimuat"; padding: 12px; text-align: center; font-size: 12px; color: var(--muted); }

.shots { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.shots .media { flex: 1 1 100%; }
.shots-1 .media { max-width: 260px; }
.shots-2 .media { flex-basis: calc(50% - 7px); max-width: 240px; }
.shots-3 .media { flex-basis: calc(50% - 7px); max-width: 220px; }
.split-media > .media { max-width: 280px; margin: 0 auto; }

/* ---------- Choice list (C) ---------- */
.paths { display: grid; gap: 12px; }
.path {
  display: flex; align-items: flex-start; gap: 16px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; text-decoration: none; color: var(--ink); transition: border-color .15s ease, box-shadow .15s ease;
}
.path:hover { border-color: var(--green); box-shadow: 0 6px 18px rgba(0, 124, 89, .12); }
.path-no { font-weight: 800; font-size: 26px; line-height: 1; color: var(--green); min-width: 36px; }
.path-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; }
.path-body strong { font-size: 18px; color: var(--green-900); line-height: 1.3; }
.path-body span { color: var(--muted); font-size: 15px; }
.path-go { font-size: 22px; color: var(--green); align-self: center; }

/* ---------- Steps (D) ---------- */
.steps { display: grid; gap: 18px; margin-top: 22px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; }
.step-no { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 800; display: grid; place-items: center; }
.steps strong { display: block; color: var(--green-900); }
.steps p { color: var(--muted); font-size: 15px; margin-top: 2px; }

/* ---------- Lists and chips ---------- */
.ticks { display: grid; gap: 10px; margin-top: 16px; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 16px; height: 16px; border-radius: 50%; background: var(--green);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  background: var(--green);
}
.chips-label { margin-top: 20px !important; font-size: 13px; font-weight: 700; color: var(--green); text-transform: uppercase; letter-spacing: .06em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chips li { font-size: 14px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--green-900); }
.section-tint .chips li { border-color: #cfe3d7; }

.rows { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.rows li { display: grid; gap: 2px; padding: 14px 16px; border-top: 1px solid var(--line); }
.rows li:first-child { border-top: 0; }
.rows strong { color: var(--green-900); }
.rows span { color: var(--muted); font-size: 15px; }
.split-text .rows + .fine + .btn, .split-text .fine + .btn { margin-top: 18px; }

.sub-title { margin: 36px 0 14px; }

/* ---------- Dark panel (quiz) ---------- */
.panel { margin-top: 44px; border-radius: 24px; padding: 28px 18px; }
.panel-dark { background: var(--green-900); color: #e6f2ec; }
.panel-dark h3 { color: #fff; font-size: 24px; }
.panel-dark .chips li { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .25); }
.panel-dark .chips-label { color: #9fd9bd; }
.panel-dark .caption { color: #c4ddd0; }
.panel-dark :focus-visible { outline-color: #9fd9bd; }
.panel-note { font-size: 15px; }

/* ---------- Kids ---------- */
.kid-show { display: grid; gap: 22px; align-items: center; padding: 28px 0; border-top: 1px solid rgba(23, 62, 50, .12); }
.kid-show:first-of-type { border-top: 0; }
.kid-text p { color: var(--ink); }
.kid-text p + p { margin-top: 10px; }
.kid-line { font-size: 15px; color: var(--muted) !important; }
.kid-line strong { color: var(--green-900); }
.parent-tip { font-size: 14px; background: #fff; border: 1px dashed #d8c58f; border-radius: 12px; padding: 10px 12px; color: #5a4a1d !important; }
.kid-media { min-width: 0; }

/* ---------- Games ---------- */
.game-feature { display: grid; gap: 14px; }
.game-card { display: grid; grid-template-columns: 104px 1fr; gap: 16px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.game-card figcaption { display: grid; gap: 4px; min-width: 0; }
.game-card figcaption strong { color: var(--green-900); font-size: 18px; }
.game-card figcaption span { color: var(--muted); font-size: 15px; }
.game-card .media { box-shadow: none; border-radius: 12px; }
.game-list { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.game-list li { display: flex; gap: 14px; align-items: center; padding: 12px 14px; border-top: 1px solid var(--line); }
.game-list li:first-child { border-top: 0; }
.game-list .media-thumb { flex: none; width: 76px; border-radius: 10px; box-shadow: none; }
.game-list strong { display: block; color: var(--green-900); line-height: 1.3; }
.game-list span { display: block; font-size: 14px; color: var(--muted); line-height: 1.5; }
.game-list li > div { min-width: 0; }

/* ---------- Offer ---------- */
.facts { display: grid; gap: 12px; margin-bottom: 20px; }
.facts div { display: grid; gap: 2px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.facts dt { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--green); }
.facts dd { font-size: 15px; color: var(--ink); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.faq summary {
  list-style: none; cursor: pointer; padding: 16px 48px 16px 16px; font-weight: 700; color: var(--green-900); position: relative; min-height: 52px; border-radius: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 18px; top: 50%; width: 9px; height: 9px; margin-top: -7px;
  border-right: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .ans { padding: 0 16px 16px; color: var(--muted); font-size: 15.5px; }

/* ---------- Closing and footer ---------- */
.closing { background: var(--green-900); color: #e6f2ec; padding: 56px 0 40px; text-align: center; }
.closing h2 { color: #fff; max-width: 20em; margin: 0 auto; }
.closing p { max-width: 36em; margin: 16px auto 24px; color: #cfe5da; }
.closing :focus-visible { outline-color: #9fd9bd; }
.site-footer { background: var(--green-900); color: #cfe5da; padding: 0 0 30px; }
.footer-inner { display: grid; justify-items: center; gap: 14px; text-align: center; padding-top: 30px; border-top: 1px solid rgba(255, 255, 255, .14); }
.footer-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; border-radius: 12px; }
.footer-brand img { width: 44px; height: 44px; border-radius: 12px; }
.footer-brand-text { display: grid; text-align: left; line-height: 1.15; }
.footer-brand-text strong { font-size: 21px; letter-spacing: -.01em; }
.footer-brand-text span { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #9fd9bd; }
.footer-tag { max-width: 30em; font-size: 15px; line-height: 1.55; color: #cfe5da; text-wrap: balance; }
.footer-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: 100%; max-width: 560px; margin-top: 4px; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; font-size: 14px; }
.footer-legal a { color: rgba(255, 255, 255, .82); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .35); }
.footer-legal a:hover { color: #fff; }
.footer-legal a:focus-visible { outline: 3px solid #fff; outline-offset: 3px; border-radius: 4px; }
.fbtn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 12px 12px; border-radius: 999px; font-weight: 700; font-size: 15.5px; line-height: 1.2; text-decoration: none; border: 2px solid transparent; transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease; }
.fbtn svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fbtn:hover { transform: translateY(-1px); }
.fbtn:active { transform: none; }
.fbtn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.fbtn-ghost { color: #fff; background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .32); }
.fbtn-ghost:hover { background: rgba(255, 255, 255, .18); }
.fbtn-wa { color: #0c3324; background: #86e3ae; box-shadow: 0 8px 18px -8px rgba(134, 227, 174, .7); }
.fbtn-wa:hover { background: #9aeabb; }
.fbtn-app { grid-column: 1 / -1; color: var(--green-900); background: #fff; box-shadow: 0 8px 18px -8px rgba(0, 0, 0, .45); }
.fbtn-app:hover { background: #eef8f2; }
.footer-copy { margin-top: 6px; font-size: 13px; color: #9db7aa; }
@media (max-width: 379px) { .footer-actions { grid-template-columns: 1fr; } .fbtn-app { grid-column: auto; } }
@media (min-width: 640px) {
  .footer-actions { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fbtn-app { grid-column: auto; }
}

/* ---------- Sticky CTA (mobile) ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(23, 62, 50, .1);
  transform: translateY(110%); visibility: hidden; transition: transform .25s ease, visibility 0s linear .25s;
}
.sticky-cta[hidden] { display: none; }
.sticky-cta.is-visible { transform: none; visibility: visible; transition: transform .25s ease, visibility 0s; }
.sticky-cta .btn { min-height: 48px; }

/* ---------- Lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 56px 12px 24px; background: rgba(8, 22, 17, .9); }
.lb.is-open { display: flex; }
.lb img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 12px; background: #fff; }
.lb-close {
  position: absolute; top: calc(8px + env(safe-area-inset-top)); right: 12px; width: 46px; height: 46px; border-radius: 50%;
  border: 0; background: #fff; color: var(--green-900); font-size: 26px; line-height: 1; cursor: pointer;
}
.lb-close:focus-visible { outline: 3px solid #9fd9bd; outline-offset: 2px; }
.lb-caption { position: absolute; left: 16px; right: 70px; top: calc(14px + env(safe-area-inset-top)); color: #e6f2ec; font-size: 14px; line-height: 1.4; }
body.lb-lock { overflow: hidden; }

/* ---------- Larger screens ---------- */
@media (min-width: 560px) {
  .shots-3 .media { flex-basis: calc(33.333% - 10px); }
}

@media (min-width: 760px) {
  .section { padding: 80px 0; }
  .paths { grid-template-columns: 1fr 1fr; gap: 16px; }
  .game-feature { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .game-card { grid-template-columns: 1fr; text-align: center; padding: 18px; }
  .game-card .media { max-width: 200px; margin: 0 auto; }
  .game-list { grid-template-columns: 1fr 1fr; }
  .game-list li:nth-child(2) { border-top: 0; }
  .game-list li:nth-child(even) { border-left: 1px solid var(--line); }
  .panel { padding: 40px 36px; }
}

@media (min-width: 900px) {
  :root { --header-h: 68px; }
  .wrap { padding: 0 28px; }
  .site-nav { display: flex; }
  .brand-name { font-size: 20px; }
  .split { grid-template-columns: 1fr 1fr; gap: 56px; }
  .split-reverse .split-text { order: 2; }
  .split-reverse .split-media { order: 1; }
  .kid-show { grid-template-columns: 1fr 1fr; gap: 56px; padding: 40px 0; }
  .kid-show-flip .kid-text { order: 2; }
  .kid-show-flip .kid-media { order: 1; }
  .shots-3 .media { max-width: 200px; }
  .sticky-cta { display: none !important; }
  body.has-sticky { padding-bottom: 0; }
}

@media (max-width: 359px) {
  .brand-sub { display: none; }
  .wrap { padding: 0 14px; }
  .brand-name { font-size: 16px; }
  .btn-sm { padding: 8px 10px; font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *:not(.sc-slide), *::before, *::after { transition: none !important; animation: none !important; }
}

/* Callout under a screenshot (e.g. features that are not available yet) */
.callout { margin: 14px auto 0; max-width: 480px; padding: 12px 14px; border-left: 4px solid #b7791f; border-radius: 10px; background: #fff7e6; color: #5a3d0a; font-size: 14.5px; line-height: 1.55; }

/* Zoom hint on screenshots (decorative) */
.media-zoom::after {
  content: "+"; position: absolute; right: 6px; bottom: 6px; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(23, 62, 50, .7); color: #fff; font: 700 16px/22px system-ui, sans-serif; text-align: center; pointer-events: none;
}
.media-thumb .media-zoom::after { display: none; }
.media.is-video .media-zoom::after { display: none; }

/* Hero and carousels: tablet and desktop */
@media (min-width: 640px) {
  .showcase { --sw: 230px; }
  .hero { padding-top: 24px; }
}
@media (min-width: 960px) {
  .section { padding: 56px 0; }
  .hero { padding: 36px 0 56px; }
  .hero-grid {
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    grid-template-areas: "top showcase" "cta showcase";
    align-content: center; column-gap: 40px; row-gap: 20px; justify-items: start; text-align: left;
  }
  .hero-top { grid-area: top; justify-items: start; align-self: end; gap: 14px; }
  .hero .showcase { grid-area: showcase; width: 100%; margin-inline: 0; --sw: min(280px, calc((100vh - 235px) * 1290 / 2796)); max-width: 680px; justify-self: center; }
  .hero-cta { grid-area: cta; justify-items: start; align-self: start; max-width: 340px; margin-top: 8px; }
  .hero-brand { font-size: 15px; text-indent: 0; }
  .hero h1 { font-size: clamp(34px, 3.6vw, 47px); max-width: 10em; }
  .section-explore .showcase { --sw: 280px; max-width: 980px; width: 100%; margin-inline: auto; }
  .showcase[data-variant="cards"] { --sw: 240px; max-width: 980px; width: 100%; margin-inline: auto; }
}
@media (min-width: 960px) and (max-height: 640px) { .hero .showcase { --sw: 210px; } }
@media (max-width: 359px) { .showcase { --sw: 46vw; } }

@media (prefers-reduced-motion: reduce) {
  /* No 3D and no autoplay: only the active screen shows, with a plain fade. Manual navigation still works. */
  .showcase[data-variant] .sc-slide[data-pos] .sc-pose { transform: none; transition: opacity .2s ease; }
  .showcase[data-variant] .sc-slide[data-pos]:not([data-pos="0"]) .sc-pose { opacity: 0; }
  .showcase[data-variant] .sc-slide[data-pos]:not([data-pos="0"]) { visibility: hidden; transition-delay: .2s; }
  .showcase[data-variant] .sc-stage { -webkit-mask-image: none; mask-image: none; }
  .phone-float { animation: none !important; }
}

/* ---------- Feature summary ---------- */
.section-first { padding: 28px 0 40px; }
.feat-panel { background: linear-gradient(180deg, #f1f9f4 0%, #e9f5ee 100%); border: 1px solid #d3e8dc; border-radius: 26px; padding: 22px 14px 14px; }
.feat-panel h2 { font-size: clamp(24px, 6vw, 32px); margin: 0 4px 18px; }
.feat-list { display: grid; gap: 10px; }
.feat {
  display: flex; align-items: center; gap: 14px; padding: 14px; background: #fff; border: 1px solid #e0ece5; border-radius: 18px;
  text-decoration: none; color: var(--ink); min-height: 76px; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.feat:hover { border-color: var(--green); box-shadow: 0 8px 20px rgba(0, 124, 89, .12); transform: translateY(-1px); }
.feat:active { transform: none; }
.feat:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; border-radius: 18px; }
.feat-body { display: grid; gap: 2px; min-width: 0; }
.feat-body strong { color: var(--green-900); font-size: 17px; line-height: 1.3; }
.feat-body span { color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.section-explore { padding: 40px 0 36px; }
.section-explore .showcase { --sw: clamp(170px, 56vw, 230px); }
.center-title { text-align: center; margin-bottom: 8px; }

/* ---------- Angka (stats) ---------- */
.section-stats { padding: 40px 0 8px; }
.section-stats h2 { font-size: clamp(25px, 6.4vw, 36px); line-height: 1.2; max-width: 16em; margin: 0 auto 18px; }
.stats { margin-top: 6px; }
.stats-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
/* White card with the app's soft bento shadow; icon sits to the left of the number. */
.stat {
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; align-content: start; column-gap: 9px; row-gap: 8px;
  padding: 14px 12px; min-width: 0; background: #fff; border: 1px solid rgba(226, 232, 240, .8); border-radius: 18px;
  box-shadow: 0 2px 4px rgba(15, 23, 42, .04), 0 10px 28px rgba(15, 23, 42, .08);
}
.stat .ico { width: 34px; height: 34px; border-radius: 10px; }
.stat .ico svg { width: 18px; height: 18px; }
.stat-num { display: block; font-size: clamp(21px, 6.6vw, 34px); line-height: 1; font-weight: 800; letter-spacing: -.02em; color: var(--green); font-variant-numeric: tabular-nums; }
.stat-label { grid-column: 1 / -1; color: var(--muted); font-size: 14px; line-height: 1.4; }
@media (min-width: 640px) {
  .stat { padding: 16px 18px; column-gap: 12px; }
  .stat .ico { width: 40px; height: 40px; border-radius: 12px; }
  .stat .ico svg { width: 21px; height: 21px; }
}
@media (max-width: 359px) {
  .stat { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 413px) {
  .stat-label { font-size: 13px; }
}
@media (max-width: 374px) {
  .stats-grid { gap: 10px; }
  .stat { padding: 13px 10px; }
  .stat-label { font-size: 12.5px; }
}
@media (min-width: 960px) {
  .section-stats { padding: 64px 0 16px; }
  .stats-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
  .stat-num { font-size: clamp(22px, 2.4vw, 32px); }
}
@media (min-width: 640px) {
  .feat-panel { padding: 28px 22px 22px; }
  .feat-list { grid-template-columns: 1fr 1fr; gap: 12px; }
}
@media (min-width: 1000px) {
  .feat-list { grid-template-columns: repeat(3, 1fr); }
  .section-first { padding: 44px 0 56px; }
}

/* ---------- Detail sections ---------- */
.usage { font-size: 15px; color: var(--muted); margin-top: 14px; line-height: 1.6; }
.usage strong { color: var(--green-900); }
.usage-center { text-align: center; max-width: 40em; margin: 20px auto 0; }
.panel-title { font-size: clamp(22px, 5.5vw, 28px); color: #fff; margin-bottom: 8px; }
.panel-dark .usage { color: #cfe5da; }
.panel-dark .usage strong { color: #fff; }
.panel { margin-top: 12px; }
.cta-inline { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 18px; }
.link-plain { font-weight: 700; }
.panel-note { margin-top: 12px; }

/* ---------- Icons (soft palette) ---------- */
.ico { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--ti-bg, #dff3e8); color: var(--ti-fg, var(--green-600)); }
.ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.tone-green  { --ti-bg: #d9f2e4; --ti-fg: #0a7a52; }
.tone-mint   { --ti-bg: #d3f4e8; --ti-fg: #0b7d62; }
.tone-blue   { --ti-bg: #dde8ff; --ti-fg: #2c4fc4; }
.tone-sky    { --ti-bg: #d9efff; --ti-fg: #146aa8; }
.tone-lav    { --ti-bg: #e9e2ff; --ti-fg: #6140c9; }
.tone-pink   { --ti-bg: #ffe0ec; --ti-fg: #c0275f; }
.tone-peach  { --ti-bg: #ffe6d3; --ti-fg: #b9560f; }
.tone-yellow { --ti-bg: #fff0bf; --ti-fg: #8e6400; }
.tone-teal   { --ti-bg: #d1f2f0; --ti-fg: #0b7a82; }
.tone-lime   { --ti-bg: #e6f6c8; --ti-fg: #4d7c0f; }
.tone-cyan   { --ti-bg: #cff4fb; --ti-fg: #0e7490; }
.tone-red    { --ti-bg: #fee2e2; --ti-fg: #c81e1e; }
.tone-orange { --ti-bg: #ffe8d1; --ti-fg: #c2410c; }
.tone-slate  { --ti-bg: #e3e8ef; --ti-fg: #334155; }
.tone-multi  { --ti-bg: linear-gradient(135deg, #ffe0ec 0%, #e1e8ff 50%, #d3f4e8 100%); --ti-fg: #6140c9; }
.tone-bg-mint { background: linear-gradient(160deg, #e3f7ee, #f4fcf8); }
.tone-bg-blue { background: linear-gradient(160deg, #e3ecff, #f6f9ff); }
.tone-bg-sky  { background: linear-gradient(160deg, #def1ff, #f5fbff); }
.tone-bg-lav  { background: linear-gradient(160deg, #ece6ff, #f8f5ff); }
.tone-bg-pink { background: linear-gradient(160deg, #ffe4ef, #fff6fa); }
.tone-bg-peach { background: linear-gradient(160deg, #ffe9d9, #fff8f2); }
.tone-bg-yellow { background: linear-gradient(160deg, #fff3c9, #fffbea); }
.tone-bg-teal { background: linear-gradient(160deg, #d6f4f1, #f1fcfb); }
.feat-ico { display: none; }

/* ---------- Info grids (non-clickable, symmetric) ---------- */
.info-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.info-grid li { display: flex; align-items: center; gap: 10px; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 16px; min-height: 74px; }
.info-grid .ico { width: 40px; height: 40px; border-radius: 12px; }
.info-grid .ico svg { width: 21px; height: 21px; }
.info-t { display: grid; gap: 1px; min-width: 0; }
.info-t strong { font-size: 14.5px; line-height: 1.3; color: var(--green-900); overflow-wrap: anywhere; }
.info-t span { font-size: 13px; line-height: 1.4; color: var(--muted); }
.split-text .info-grid { margin-top: 20px; }
.info-grid--paths, .info-grid--cats { margin-top: 14px; }
/* Looping card row ([data-loop], script.js initCardLoops): one row that slides a card every 1.8 s and can be swiped.
   Cards drop the grey outline for a soft shadow, and the row fades out at both ends so no edge shows. */
.info-grid.is-loop { display: block; position: relative; overflow: hidden; overflow: clip visible; /* clip only sideways: the shadow fades out freely above and below */ margin: -4px -16px -18px; padding: 0; touch-action: pan-y;
  user-select: none; -webkit-user-select: none; cursor: grab; }
.info-grid.is-loop.is-drag { cursor: grabbing; }
/* Grammar learning paths beside the phone (perbaikan-15): the phone and a column of path cards sit side by side, even on
   phones. With JS the cards drift upward in a seamless loop (the list is doubled and slides by half its height); the
   column fades softly at its top and bottom. Paused off screen; reduced motion shows a still, scrollable column. */
.split-paths { --gsw: clamp(140px, 46vw, 250px); display: grid; grid-template-columns: calc(var(--gsw) + 12px) minmax(0, 1fr); gap: 18px; align-items: center; }
/* The phone column is exactly the phone's width, so the phone starts at the same page margin where the cards end. */
.split-paths .showcase { --sw: var(--gsw) !important; }
.split-paths .split-media { position: relative; z-index: 3; }   /* the phone always sits above the cards and their shadows */
.split-paths .split-text { position: relative; align-self: stretch; min-height: 300px; }
.split-paths .sub-title { font-size: 15px; margin: 6px 0 0; text-align: center; }
/* Grammar Quiz: the same layout mirrored, cards on the left of a single phone, drifting downward (perbaikan-25). */
.split-paths--left { grid-template-columns: minmax(0, 1fr) calc(var(--gsw) + 12px); }
.split-paths--left .split-text { order: -1; }
.split-paths .phone { --pw: calc(var(--gsw) + 12px); }
.marquee--full { top: 0; }
.marquee.is-down.is-running .info-grid--paths { animation-direction: reverse; }
.marquee .info-t > span { font-size: 12.5px; line-height: 1.35; }
.marquee { position: absolute; left: 0; right: 0; top: 34px; bottom: 0; overflow: hidden; overflow: visible clip; }   /* clip only top and bottom, so the card shadows fade out freely at the sides */   /* fills the column beside the phone; never sets its height */
.marquee::before, .marquee::after { content: ""; position: absolute; left: 0; right: -12px; height: 40px; z-index: 2; pointer-events: none; }
.marquee::before { top: 0; background: linear-gradient(180deg, var(--loop-bg, #ffffff), transparent); }   /* fades into the section colour */
.marquee::after { bottom: 0; background: linear-gradient(0deg, var(--loop-bg, #ffffff), transparent); }
.marquee .info-grid--paths { display: block; margin: 0; padding: 0; }
.marquee .info-grid--paths li { margin-bottom: 10px; min-height: 0; padding: 8px; gap: 8px; border-color: transparent;   /* same inset on all four sides */
  box-shadow: 0 0 0 1px rgba(11, 51, 38, .03), 0 0 14px rgba(11, 51, 38, .08), 0 8px 18px -8px rgba(11, 51, 38, .22); }
.marquee .info-grid--paths .ico { width: 32px; height: 32px; border-radius: 10px; }
.marquee .info-grid--paths .ico svg { width: 18px; height: 18px; }
.marquee .info-grid--paths strong { font-size: 13.5px; line-height: 1.25; }
.marquee.is-running .info-grid--paths { animation: marquee-up var(--marquee-dur, 30s) linear infinite; }
.marquee.is-paused .info-grid--paths { animation-play-state: paused; }
@keyframes marquee-up { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(0, -50%, 0); } }
@media (prefers-reduced-motion: reduce) { .marquee { overflow-y: auto; } .marquee.is-running .info-grid--paths { animation: none; } }
@media (min-width: 960px) {
  .split-paths, .split-paths--left { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; max-width: 860px; margin-inline: auto; }
  .split-paths .phone { --pw: 250px; }
  .marquee .info-t > span { font-size: 14px; }
  .split-paths .split-text .sub-title { font-size: 20px; text-align: center; }
  .marquee { top: 46px; }
  .marquee .info-grid--paths { max-width: 320px; margin-inline: auto; }
  .marquee .info-grid--paths li { padding: 12px; gap: 12px; margin-bottom: 14px; }
  .marquee .info-grid--paths .ico { width: 42px; height: 42px; }
  .marquee .info-grid--paths strong { font-size: 16px; }
}

.info-grid.is-loop::before, .info-grid.is-loop::after { content: ""; position: absolute; top: 0; bottom: 0; width: 22px; z-index: 2; pointer-events: none; }
.info-grid.is-loop::before { left: 0; background: linear-gradient(90deg, var(--loop-bg, #ffffff), transparent); }
.info-grid.is-loop::after { right: 0; background: linear-gradient(270deg, var(--loop-bg, #ffffff), transparent); }
/* the row's end fades take the colour of whatever it sits on */
.section-tint { --loop-bg: var(--tint); }
.panel-dark { --loop-bg: var(--green-900); }
.info-grid.is-loop li { position: absolute; left: 0; top: 20px; width: var(--cw, 268px); border-color: transparent;
  /* layered shadow on every side so the card floats: a soft halo all round plus a deeper drop below */
  box-shadow: 0 0 0 1px rgba(11, 51, 38, .03), 0 0 18px rgba(11, 51, 38, .10), 0 14px 28px -8px rgba(11, 51, 38, .26); }
.panel-dark .info-grid li { background: rgba(255, 255, 255, .96); }
.panel-dark .info-t span { color: #4a5f56; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tags li { font-size: 13.5px; font-weight: 700; padding: 6px 12px; border-radius: 999px; }
.t-mint { background: #d3f4e8; color: #0b6b54; } .t-blue { background: #dde8ff; color: #2744a8; } .t-lav { background: #e9e2ff; color: #5236ae; }
.t-peach { background: #ffe6d3; color: #9a470b; } .t-pink { background: #ffe0ec; color: #a8204f; }
.center-title { text-align: center; }
.section-head--center { text-align: center; }
.section-head--center .section-lead { margin-inline: auto; }
.solo { max-width: 260px; margin-inline: auto; }
.solo .media { max-width: 260px; }
@media (min-width: 640px) {
  .info-grid--cats, .info-grid--modes { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .info-grid--paths { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .info-grid.is-loop { margin: 0 0 -18px; }
  .info-grid.is-loop li { --cw: 300px; }
  .split-text .info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .info-grid--paths { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .panel-split .info-grid--modes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.panel-dark .eyebrow { color: #9fd9bd; }
.panel-dark > p { color: #d7eadf; margin-top: 8px; }
.panel-split { margin-top: 8px; }

/* Without JavaScript only the first screen of each carousel is shown (the hero keeps its neighbours). */
html:not(.js) .showcase:not([data-carousel="hero"]) .sc-slide:not([data-pos="0"]) { display: none; }

/* ---------- Centered section intros ---------- */
.sec-intro { text-align: center; max-width: 42rem; margin: 0 auto 22px; }
.sec-intro .eyebrow { margin-bottom: 8px; }
.sec-intro h2 { text-wrap: balance; }
.sec-lead { color: var(--muted); font-size: 17px; line-height: 1.6; margin: 12px auto 0; max-width: 36em; text-wrap: pretty; }
.sec-intro--sub { margin-bottom: 18px; }
.sec-intro--sub h3 { font-size: clamp(21px, 5vw, 26px); line-height: 1.25; margin-bottom: 0; }
.sec-intro--sub .sec-lead { font-size: 16px; }
.tags--center { justify-content: center; }
.center-media { display: grid; justify-items: center; }
.sub-light { text-align: center; color: var(--muted); font-size: 16px; font-weight: 500; margin: 2px 0 14px; }
.split-body { align-items: center; margin-top: 4px; }
.kid-show { display: block; padding: 22px 0; }
.kid-show:last-of-type { padding-bottom: 0; }
.split-text > .info-grid:first-child { margin-top: 0; }
.section > .wrap > .panel:first-child { margin-top: 0; }
.kid-media { display: grid; justify-items: center; }
.note-soft { margin: 22px auto 0; max-width: 34rem; text-align: center; font-size: 14.5px; line-height: 1.55; color: #6a4a12; background: #fff6e0; border: 1px solid #f2dfa8; border-radius: 14px; padding: 10px 16px; }
.info-grid--duo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.info-grid--list { grid-template-columns: minmax(0, 1fr); gap: 8px; }
.info-grid--list li { min-height: 0; padding: 12px 14px; }
@media (min-width: 640px) { .info-grid--list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
.ielts-strip { margin-top: 36px; }
.ielts-strip .showcase { margin-inline: auto; }
.sub-title--left { text-align: left; }
.panel-dark .sec-intro h2, .panel-dark .sec-intro .sec-lead { color: #fff; }
.panel-dark .sec-intro .sec-lead { color: #d7eadf; }
.cta-inline--center { justify-content: center; margin-top: 16px; }
.section-explore .center-title { margin-bottom: 0; }
@media (min-width: 960px) {
  .split-body { grid-template-columns: 1fr 1fr; gap: 48px; }
  .split-body .split-media { justify-self: center; }
  .split-body .info-grid--paths, .split-body .info-grid--cats, .split-body .info-grid--modes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split-body .info-grid--paths { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .split-body .sub-title { text-align: left; }
}
.split-body .sub-title { margin: 0 0 4px; font-size: 18px; text-align: center; }
@media (min-width: 960px) { .split-body .sub-title { text-align: left; } }

/* ---------- iPhone frame for single screenshots ---------- */
.phone { --pw: clamp(200px, 56vw, 250px); width: var(--pw); margin-inline: auto; position: relative; }
.phone-float { animation: phone-float 7s ease-in-out infinite; animation-play-state: paused; will-change: transform; }
.phone.is-running .phone-float { animation-play-state: running; }
html.is-tab-hidden .phone-float { animation-play-state: paused; }
@keyframes phone-float { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, -7px, 0); } }
@media (max-width: 639px) { @keyframes phone-float { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, -3px, 0); } } }
.phone-body {
  position: relative; padding: 6px; border-radius: 40px;
  background: linear-gradient(145deg, #3a4541 0%, #121816 38%, #1d2522 70%, #3b4642 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .22), inset 0 0 0 2.5px #0b0f0e,
    0 28px 40px -18px rgba(16, 61, 45, .55), 0 10px 18px -8px rgba(16, 61, 45, .25);
}
.phone-screen.media {
  position: relative; display: block; width: 100%; border: 0; border-radius: 34px; box-shadow: none; background: #fff;
  aspect-ratio: auto; height: 0; padding-bottom: var(--arp, 216.7442%); overflow: hidden; isolation: isolate;
}
.phone-screen .media-zoom { position: absolute; inset: 0; }
.phone-screen video, .phone-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #fff; }
.phone-screen video { background: #fff; }
.phone-screen.media.is-failed { display: block; }
.phone-btn { position: absolute; width: 3px; border-radius: 2px; background: linear-gradient(90deg, #2a322f, #4a5651); }
.pb-a { left: -2px; top: 17%; height: 5%; }
.pb-b { left: -2px; top: 25%; height: 9%; }
.pb-c { left: -2px; top: 36%; height: 9%; }
.pb-pw { right: -2px; top: 29%; height: 14%; }

/* ---------- Offer: value breakdown and package price ---------- */
.offer-box { max-width: 640px; margin: 0 auto; background: #fff; border: 2px solid var(--green); border-radius: 26px; padding: 18px 14px 20px; box-shadow: var(--shadow); }
.pr-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; column-gap: 10px; }
.pr-head-title { text-align: center; margin: 0 0 8px; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--green-900); }
.pr-vals { display: grid; justify-items: end; font-variant-numeric: tabular-nums; line-height: 1.25; }
.pr-list { display: grid; }
.pr-row { padding: 10px 6px; border-top: 1px solid #e3ede7; }
.pr-row:first-child { border-top: 0; }
.pr-row .ico { width: 38px; height: 38px; border-radius: 12px; }
.pr-row .ico svg { width: 20px; height: 20px; }
.pr-name { font-weight: 700; color: var(--green-900); font-size: 15.5px; line-height: 1.3; min-width: 0; }
.pr-old { color: #c62828; text-decoration: line-through; text-decoration-thickness: 1.5px; font-size: 13.5px; font-weight: 600; }
.pr-new { color: #111; font-size: 17px; font-weight: 800; }
.pr-total { margin-top: 10px; padding: 16px 8px 4px; border-top: 2px dashed #cfe0d6; text-align: center; display: grid; justify-items: center; }
.pr-total-line { display: flex; justify-content: center; align-items: baseline; gap: 10px; flex-wrap: wrap; font-size: 15px; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.pr-total-line s { position: relative; color: #c62828; font-size: 20px; font-weight: 700; text-decoration: none; }
/* The strike is drawn by a line that sweeps across, rests, then retracts. (Static, fully drawn without motion.) */
.pr-total-line s::after {
  content: ""; position: absolute; left: -3px; right: -3px; top: 52%; height: 2.5px; border-radius: 2px; background: #c62828;
  transform: rotate(-3deg); clip-path: inset(0 0 0 0); animation: strike-draw 3.6s ease-in-out infinite;
}
@keyframes strike-draw { 0% { clip-path: inset(0 100% 0 0); } 28% { clip-path: inset(0 0 0 0); } 72% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 0 0 100%); } }
@media (prefers-reduced-motion: reduce) { .pr-total-line s::after { animation: none; clip-path: inset(0 0 0 0); } }
.pr-pack-label { margin-top: 14px; font-weight: 800; color: var(--green-900); font-size: 17px; }
.pr-pack-price { font-size: clamp(42px, 12vw, 56px); line-height: 1.05; font-weight: 800; color: #111; letter-spacing: -.02em; font-variant-numeric: tabular-nums; margin-top: 2px; }
.pr-terms { margin: 8px 0 16px; font-size: 14.5px; font-weight: 600; color: var(--muted); text-wrap: balance; }
.pr-total .btn { max-width: 420px; }
.facts--compact { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid #e3ede7; gap: 10px; }
.facts--compact div { border-bottom: 0; padding-bottom: 0; }
@media (min-width: 480px) {
  .offer-box { padding: 22px 22px 24px; }
  .pr-vals { grid-template-columns: 110px 96px; justify-items: end; column-gap: 8px; }
}
@media (min-width: 760px) { .offer-box { padding: 28px 32px 28px; } .pr-name { font-size: 16.5px; } .pr-old { font-size: 15px; } .pr-new { font-size: 18px; } .facts--compact { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }

/* ---------- Daily promo panel (countdown + batch quota) ---------- */
.promo { width: 100%; max-width: 440px; margin: 4px auto 16px; padding: 16px 14px 14px; border-radius: 20px; background: linear-gradient(180deg, #f6fcf8 0%, #e9f6ef 100%); border: 1px solid #cfe5d8; text-align: center; }
.promo-head { display: grid; justify-items: center; }
.promo-title { margin: 0; font-size: 19px; line-height: 1.2; color: var(--green-900); }
.promo-timer { display: flex; align-items: flex-start; justify-content: center; gap: 6px; margin-top: 12px; font-variant-numeric: tabular-nums; }
.pt-box { min-width: 64px; padding: 8px 8px 6px; border-radius: 12px; background: var(--green-900); color: #fff; display: grid; justify-items: center; line-height: 1; }
.pt-box b { font-size: 30px; font-weight: 800; letter-spacing: .02em; }
.pt-box small { margin-top: 5px; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #b9dfc9; }
.pt-sep { font-size: 26px; font-weight: 800; color: var(--green-900); line-height: 44px; }
.promo-quota { margin-top: 12px; padding-top: 12px; border-top: 1px solid #d3e8dc; }
.promo-buyers { font-size: 15px; color: var(--ink); }
.promo-buyers strong { font-size: 19px; color: var(--green-900); }
.promo-bar { height: 12px; margin-top: 8px; border-radius: 999px; background: #d8eadf; overflow: hidden; }
.promo-bar span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #0b8a5f, var(--green)); }
.promo-nums { display: flex; justify-content: space-between; margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--green-900); font-variant-numeric: tabular-nums; }
.promo-left { margin-top: 8px; font-size: 15px; color: var(--ink); }
.promo-left strong { color: var(--green-900); font-size: 17px; }
@media (max-width: 359px) { .pt-box { min-width: 56px; } .pt-box b { font-size: 26px; } }

/* Light-green accent on dark backgrounds (the standard accent is for light backgrounds). */
.closing .accent, .panel-dark .accent { color: #7be0a8; }

/* iPhone body around carousel slides (IELTS). Same body as the single-screenshot frame. */
.phone-body--slide { padding: 6px; }
.phone-body--slide .sc-media { border-radius: 34px; box-shadow: none; background: #fff; }
.showcase--phone .sc-stage { height: calc(var(--sw) * 2.1695 + 30px); }

/* iPhone status bar and home area around every framed screenshot (single phones, IELTS slides, Grammar
   push frame): the screen sits between a 9.41 / signal / battery bar and a home indicator, like a real
   iPhone, instead of filling the glass edge to edge. Sizes follow the phone width (container units).
   The glass itself (rounded, overflow hidden) clips the screenshot, so no square corner can poke out. */
.phone-body, .showcase[data-variant="push"] .sc-stage { container-type: inline-size; }
.phone-body::after, .showcase[data-variant="push"] .sc-stage::after {
  content: "9.41"; position: absolute; top: 6px; left: 6px; right: 6px; height: 11cqw; z-index: 4; pointer-events: none;
  padding-left: 9cqw; font: 600 4.6cqw/11.6cqw -apple-system, system-ui, "Segoe UI", sans-serif; letter-spacing: -.01em; color: #111;
  border-radius: 34px 34px 0 0; background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 66 12" fill="%23111"%3E%3Crect x="0" y="7.5" width="3" height="3.5" rx="1"/%3E%3Crect x="4.5" y="5.5" width="3" height="5.5" rx="1"/%3E%3Crect x="9" y="3" width="3" height="8" rx="1"/%3E%3Crect x="13.5" y="0.5" width="3" height="10.5" rx="1"/%3E%3Cg fill="none" stroke="%23111" stroke-width="1.7" stroke-linecap="round"%3E%3Cpath d="M21.2 4.4a8 8 0 0 1 10.6 0"/%3E%3Cpath d="M23.3 6.8a4.8 4.8 0 0 1 6.4 0"/%3E%3C/g%3E%3Ccircle cx="26.5" cy="9.6" r="1.4"/%3E%3Crect x="36.5" y="1" width="24" height="10" rx="3" fill="none" stroke="%23111" stroke-opacity=".38"/%3E%3Crect x="38.5" y="3" width="17" height="6" rx="1.6"/%3E%3Crect x="61.6" y="4.3" width="1.6" height="3.4" rx=".8" fill-opacity=".45"/%3E%3C/svg%3E') right 7cqw center / auto 3.4cqw no-repeat, #fff;
}
/* The rim is the top layer: an even 6px border drawn over the glass, so every edge and corner has the same
   thickness and nothing inside can show past it. */
.phone-body::before, .showcase[data-variant="push"] .sc-stage::before {
  content: ""; position: absolute; inset: 0; z-index: 6; pointer-events: none; border-radius: 40px;
  border: 6px solid #182120; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06), 0 0 0 1px rgba(255, 255, 255, .16);
}
/* Single phones and IELTS slides: the figure is the whole glass; the picture fills the band between the bars. */
.phone-body > .phone-screen.media, .phone-body--slide > .sc-media {
  margin: 0; border: 0; border-radius: 34px; overflow: hidden; box-shadow: none;
  padding-bottom: calc(var(--arp, 216.4103%) + 18cqw);
  background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 4"%3E%3Crect width="100" height="4" rx="2" fill="%23111"/%3E%3C/svg%3E') 50% calc(100% - 2.6cqw) / 34% 1.5cqw no-repeat, #fff;
}
.phone-body > .phone-screen.media > .media-zoom, .phone-body > .phone-screen.media > video, .phone-body > .phone-screen.media > img,
.phone-body--slide > .sc-media > img, .phone-body--slide > .sc-media > video { top: calc(11cqw - 1px); bottom: calc(7cqw - 1px); left: 0; right: 0; height: auto; }
.phone-body > .phone-screen.media video { background: #fff; }
.phone-body > .phone-screen.media img, .phone-body > .phone-screen.media > video, .phone-body--slide > .sc-media > img, .phone-body--slide > .sc-media > video { object-fit: cover; object-position: top center; }
.phone-body > .phone-screen.media > .media-zoom > img { inset: 0; height: 100%; }
.showcase--phone .sc-stage { height: calc(var(--sw) * 2.1695 + 30px + (var(--sl) + 12px) * .18); }
/* Grammar push frame: the stage is the phone. Its glass (::before) holds the home indicator; each slide is the
   full glass shape, clipping the screen that slides inside it. */
.showcase[data-variant="push"] .sc-stage { height: calc(var(--sw) * 1688 / 780 + 12px + (var(--sw) + 12px) * .18); background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 4"%3E%3Crect width="100" height="4" rx="2" fill="%23111"/%3E%3C/svg%3E') 50% calc(100% - 6px - 2.6cqw) / 34% 1.5cqw no-repeat, #fff; }
.showcase[data-variant="push"] .sc-slide { top: 6px; height: calc(100% - 12px); border-radius: 34px; overflow: hidden; }
.showcase[data-variant="push"] .sc-media { margin-top: 11cqw; border: 0; border-radius: 0; box-shadow: none; background: #fff; }

/* Rainbow sweep on the big package price, moving left to right. Every stop keeps >= 3:1 on white (large text). */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .pr-pack-price {
    background: linear-gradient(90deg, #d32f2f 0%, #ef6c00 17%, #b7791f 34%, #2e7d32 50%, #1565c0 67%, #6a1b9a 84%, #d32f2f 100%) 0 0 / 200% 100% repeat-x;
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
    animation: price-rainbow 5s linear infinite;
  }
}
/* A falling background-position moves the colours left to right (200%-wide gradient). */
@keyframes price-rainbow { from { background-position: 200% 0; } to { background-position: 0 0; } }
@media (prefers-reduced-motion: reduce) { .pr-pack-price { animation: none; } }

/* Light effect on the main purchase button: a soft pulsing glow plus a shine that sweeps across. */
#offer-cta { position: relative; overflow: hidden; isolation: isolate; box-shadow: 0 0 0 0 rgba(0, 124, 89, .45), 0 10px 24px -8px rgba(0, 124, 89, .55); animation: cta-glow 2.4s ease-in-out infinite; }
#offer-cta::after {
  content: ""; position: absolute; top: -20%; bottom: -20%; left: 0; width: 38%; z-index: -1; pointer-events: none;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .55) 50%, rgba(255, 255, 255, 0) 100%);
  transform: translateX(-160%) skewX(-18deg); animation: cta-shine 3.2s ease-in-out infinite;
}
#offer-cta > span, #offer-cta { z-index: 0; }
@keyframes cta-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(0, 124, 89, .40), 0 10px 24px -8px rgba(0, 124, 89, .55); } 50% { box-shadow: 0 0 0 10px rgba(0, 124, 89, 0), 0 14px 30px -6px rgba(31, 169, 116, .75); } }
@keyframes cta-shine { 0%, 45% { transform: translateX(-160%) skewX(-18deg); } 100% { transform: translateX(380%) skewX(-18deg); } }
@media (prefers-reduced-motion: reduce) { #offer-cta, #offer-cta::after { animation: none; } #offer-cta::after { display: none; } }

/* Hero focus: the two side screens are shaded so the centre screen stands out, and the centre screen
   gets a light that glides along its edges. The side screens stay fully opaque (shade, not transparency). */
.showcase[data-variant="3d"] .sc-media::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .6s ease;
  background: linear-gradient(90deg, rgba(4, 20, 14, .8) 0%, rgba(4, 20, 14, .36) 45%, rgba(4, 20, 14, 0) 100%);
}
/* Shade grows toward the centre and fades to nothing at the outer edge (right screen: dark on its left side; left screen: mirrored). */
.showcase[data-variant="3d"] .sc-slide[data-pos="-1"] .sc-media::after, .showcase[data-variant="3d"] .sc-slide[data-pos="-2"] .sc-media::after {
  background: linear-gradient(270deg, rgba(4, 20, 14, .8) 0%, rgba(4, 20, 14, .36) 45%, rgba(4, 20, 14, 0) 100%);
}
.showcase[data-variant="3d"] .sc-slide:not([data-pos="0"]) .sc-media::after { opacity: 1; }
.showcase[data-variant="3d"] .sc-pose { position: relative; }
.showcase[data-variant="3d"] .sc-pose::before {
  /* A pure soft glow: an element exactly the size of the screen sits behind it and only its layered shadows show, so
     the light fades out smoothly in every direction (no ring, no bands, no visible edge line). */
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 28px; pointer-events: none; opacity: 0;
  box-shadow:
    0 0 14px 2px rgba(150, 245, 201, .55),
    0 0 36px 8px rgba(120, 232, 180, .40),
    0 0 72px 20px rgba(96, 220, 164, .26),
    0 0 130px 44px rgba(80, 205, 150, .14);
  transition: opacity .6s ease;
}
.showcase[data-variant="3d"] .sc-slide[data-pos="0"] .sc-pose::before { opacity: 1; animation: glow-breathe 4.2s ease-in-out infinite; }
@keyframes glow-breathe { 0%, 100% { opacity: .72; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .showcase[data-variant="3d"] .sc-slide[data-pos="0"] .sc-pose::before { animation: none; } }

/* Glint on "Bahasa Inggris": the letters stay one fixed light green (no halo, no neon). A narrow reflection, like light bouncing off a mirror,
   sweeps over them left to right and the next sweep begins at once from the left: the loop restarts while the glint is off both ends. */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero h1 .accent {
    background-color: #52e59b; /* shows wherever the glint image does not cover */
    background-image: linear-gradient(105deg, rgba(160, 255, 210, 0) 0%, rgba(160, 255, 210, 0) 41%, rgba(176, 255, 217, .7) 46%, #c2ffe0 50%, rgba(176, 255, 217, .7) 54%, rgba(160, 255, 210, 0) 59%, rgba(160, 255, 210, 0) 100%);
    background-repeat: no-repeat; background-size: 200% 100%; background-position: 115% 0;
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
    animation: headline-glint 4s linear infinite;
    text-shadow: none; /* the headline's soft shadow would otherwise show through the transparent letters */
  }
}
/* Positions beyond 0-100% push the glint fully off the word at both ends; falling values move it left to right. */
@keyframes headline-glint { from { background-position: 115% 0; } to { background-position: -15% 0; } }
@media (prefers-reduced-motion: reduce) { .hero h1 .accent { animation: none; } }

/* The hero glow must fade out freely above and below the screens. The stage still clips the sliding screens at its left and
   right edges, but no longer cuts the light at its top and bottom edge (that cut showed as a hard horizontal line). */
.showcase[data-variant="3d"] .sc-stage { overflow: visible; clip-path: inset(-320px 0 -320px 0); }
/* Same for every other screen carousel: the phones' shadows fade out freely above and below instead of stopping at the
   stage's rounded box (that cut showed as a grey band with a hard edge). Only the left and right edges still clip. */
.showcase:not([data-variant="3d"]):not([data-variant="push"]) .sc-stage { overflow: hidden; overflow: clip visible; border-radius: 0; }
/* On phones the screen strip runs edge to edge, so the side screens and their shadows leave at the screen edge, with
   no cut line inside the page. */
@media (max-width: 767px) {
  .showcase--phone:not([data-variant="push"]):not([data-variant="vertical"]) .sc-stage { width: 100vw; margin-left: calc(50% - 50vw); }
}
/* Wider screens: the phone strip is exactly three phones wide, so the centre and both neighbours show whole and the
   stage edge falls in the gap before the next phone (no half-cut phone at a hard edge). */
@media (min-width: 768px) {
  .showcase--phone[data-variant="strip"] { width: calc(var(--sl) * 3 + var(--gap) * 2 + 32px); }
}

/* The glow can reach up over the headline, so the brand + headline sit on their own top layer, above the carousel and its light. */
.hero-top { position: relative; z-index: 5; }

/* Slow rainbow on the hero wordmark. Bright pastel stops so every colour reads on the deep green; one full cycle takes 16 s. */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero-brand {
    background: linear-gradient(90deg, #ff9a9a 0%, #ffc983 14%, #fff29a 28%, #98f2b8 42%, #8fd8ff 57%, #c4acff 71%, #ff9bdc 85%, #ff9a9a 100%) 0 0 / 300% 100% repeat-x;
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
    animation: brand-rainbow 16s linear infinite;
  }
}
/* A falling background-position moves the colours left to right (300%-wide gradient, seamless loop). */
@keyframes brand-rainbow { from { background-position: 300% 0; } to { background-position: 0 0; } }
@media (prefers-reduced-motion: reduce) { .hero-brand { animation: none; } }

/* The slide title and the dots under the hero carousel also sit above the glow. */
.hero .showcase .sc-label, .hero .showcase .sc-dots, .hero .showcase .sc-play { position: relative; z-index: 5; }
.hero .showcase .sc-play:not(:focus) { position: absolute; }

/* Vocabulary Quiz carousel: neighbours are fully opaque (no fade-out at the edges); a grey shade gets darker toward the centre
   screen and fades to nothing at the outer edge, so the centre screen stands out. */
.showcase[data-carousel="quiz"] .sc-stage { -webkit-mask-image: none; mask-image: none; }
.showcase[data-carousel="quiz"] .sc-slide[data-pos="1"] .sc-pose, .showcase[data-carousel="quiz"] .sc-slide[data-pos="-1"] .sc-pose { opacity: 1; }
.showcase[data-carousel="quiz"] .sc-media::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .6s ease;
  background: linear-gradient(90deg, rgba(52, 58, 64, .72) 0%, rgba(52, 58, 64, .32) 45%, rgba(52, 58, 64, 0) 100%);
}
.showcase[data-carousel="quiz"] .sc-slide[data-pos="-1"] .sc-media::after, .showcase[data-carousel="quiz"] .sc-slide[data-pos="-2"] .sc-media::after {
  background: linear-gradient(270deg, rgba(52, 58, 64, .72) 0%, rgba(52, 58, 64, .32) 45%, rgba(52, 58, 64, 0) 100%);
}
.showcase[data-carousel="quiz"] .sc-slide:not([data-pos="0"]) .sc-media::after { opacity: 1; }

/* Help Center buttons: one pair of dark green buttons joined like the two pages of an open book, with a shaded gutter in the middle. */
.book-cta { position: relative; display: grid; grid-template-columns: 1fr 1fr; width: min(100%, 440px); margin: 18px auto 0; border-radius: 16px; overflow: hidden; box-shadow: 0 14px 26px -12px rgba(10, 52, 38, .6); }
.bk { display: flex; align-items: center; justify-content: center; min-height: 56px; padding: 12px 14px; color: #fff; font-weight: 700; font-size: 16px; line-height: 1.25; text-align: center; text-decoration: none; transition: filter .15s ease; }
.bk-l { background: linear-gradient(90deg, #1d6b50 0%, #17583f 58%, #0b3829 100%); }
.bk-r { background: linear-gradient(270deg, #2f9a73 0%, #26825f 58%, #14573f 100%); }
.bk:hover { filter: brightness(1.12); }
.bk:focus-visible { outline: 3px solid #0b3829; outline-offset: -5px; }
.book-cta::after { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; transform: translateX(-.5px); pointer-events: none; background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .32), rgba(255, 255, 255, 0)); }
@media (max-width: 359px) { .book-cta { grid-template-columns: 1fr; } .book-cta::after { display: none; } .bk-l { background: linear-gradient(180deg, #1d6b50, #0b3829); } .bk-r { background: linear-gradient(0deg, #2f9a73, #14573f); } }

/* Help Center: the button pair now sits under the phone, so it needs a little more room above it. */
#help .center-media + .book-cta { margin-top: 26px; }

/* ---------- Motion ---------- */
/* Hero entrance: plain CSS, plays once on load (the hero is on screen at once, so it does not wait for scroll). */
@keyframes hero-rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes hero-zoom { from { opacity: 0; transform: translateY(30px) scale(.93); } to { opacity: 1; transform: none; } }
@keyframes hero-pop  { from { opacity: 0; transform: translateY(14px) scale(.9); } 60% { transform: translateY(-2px) scale(1.02); } to { opacity: 1; transform: none; } }
.hero-top { animation: hero-rise .8s cubic-bezier(.22, .72, .2, 1) both; }
.hero .showcase { animation: hero-zoom 1s cubic-bezier(.22, .72, .2, 1) .15s both; }
.hero-cta { animation: hero-pop .8s cubic-bezier(.34, 1.4, .64, 1) .55s both; }

/* Scroll reveal. Hidden only while html.rv-ready is set (script.js sets it just before it starts observing). */
html.rv-ready [data-rv]:not(.is-in) { opacity: 0; }
html.rv-ready [data-rv] {
  transition: opacity .55s ease, transform .65s cubic-bezier(.22, .72, .2, 1), filter .55s ease;
  transition-delay: var(--rv-d, 0ms);
}
html.rv-ready [data-rv="rise"]:not(.is-in)    { transform: translateY(14px); }
html.rv-ready [data-rv="fade-up"]:not(.is-in) { transform: translateY(28px); }
html.rv-ready [data-rv="blur"]:not(.is-in)    { transform: translateY(20px); filter: blur(9px); }
html.rv-ready [data-rv="zoom"]:not(.is-in)    { transform: translateY(30px) scale(.92); }
html.rv-ready [data-rv="left"]:not(.is-in)    { transform: translateX(-30px); }
html.rv-ready [data-rv="right"]:not(.is-in)   { transform: translateX(30px); }
/* tall panels swing down from their top edge: the top stays where it is, so the panel is seen entering the screen at once
   (a bottom pivot pushed the projected top of a 1,900 px panel ~700 px down and the reveal never fired) */
html.rv-ready [data-rv="flip"]:not(.is-in)    { transform: perspective(1400px) rotateX(-9deg) translateY(18px); transform-origin: 50% 0%; }
html.rv-ready [data-rv="pop"]:not(.is-in)     { transform: translateY(12px) scale(.8); }
/* ---------- Section signatures: from IELTS Mastery down, every section enters with its own motion ----------
   Each kind is a keyframe animation started when its element comes into view (script: REVEAL), with the
   element's own transform handed back when it ends. The end state of every animation is the element's
   normal look, so nothing jumps when the bookkeeping is removed. */
html.rv-ready [data-rv="curtain"].is-in { animation: rv-curtain 1.1s cubic-bezier(.65,0,.25,1) var(--rv-d, 0ms) both; }
@keyframes rv-curtain {
  0% { opacity: 1; clip-path: inset(-60px 50% -60px 50%); transform: scale(.97); }
  100% { opacity: 1; clip-path: inset(-60px -60px -60px -60px); transform: none; }
}
html.rv-ready [data-rv="unroll"].is-in { animation: rv-unroll 1s cubic-bezier(.7,0,.2,1) var(--rv-d, 0ms) both; }
@keyframes rv-unroll {
  0% { opacity: 1; clip-path: inset(-40px 100% -40px 0); }
  100% { opacity: 1; clip-path: inset(-40px -40px -40px 0); }
}
html.rv-ready [data-rv="slide-in"].is-in { animation: rv-slide-in 1.1s cubic-bezier(.16, .84, .3, 1) var(--rv-d, 0ms) both; }
@keyframes rv-slide-in {   /* straight in from the left, no tilt or bounce, easing to rest */
  0%   { opacity: 0; transform: translate3d(-60vw, 0, 0); }
  45%  { opacity: 1; }
  100% { opacity: 1; transform: none; }
}
html.rv-ready [data-rv="unfurl"].is-in { animation: rv-unfurl 1.2s cubic-bezier(.6,0,.25,1) var(--rv-d, 0ms) both; }
@keyframes rv-unfurl {
  0% { opacity: 1; clip-path: inset(0 -40px 100% -40px); }
  100% { opacity: 1; clip-path: inset(0 -40px 0 -40px); }
}
html.rv-ready [data-rv="slide-in-r"].is-in { animation: rv-slide-in-r 1.1s cubic-bezier(.16, .84, .3, 1) var(--rv-d, 0ms) both; }
@keyframes rv-slide-in-r {   /* straight in from the right, no tilt or bounce, easing to rest */
  0%   { opacity: 0; transform: translate3d(60vw, 0, 0); }
  45%  { opacity: 1; }
  100% { opacity: 1; transform: none; }
}
html.rv-ready [data-rv="flap"].is-in { animation: rv-flap .9s cubic-bezier(.3,.7,.3,1) var(--rv-d, 0ms) both; transform-origin: 50% 0%; }
@keyframes rv-flap {
  0% { opacity: 0; transform: perspective(600px) rotateX(-95deg); }
  50% { opacity: 1; transform: perspective(600px) rotateX(18deg); }
  72% { transform: perspective(600px) rotateX(-8deg); }
  88% { transform: perspective(600px) rotateX(3deg); }
  100% { opacity: 1; transform: perspective(600px) rotateX(0deg); }
}
html.rv-ready [data-rv="soar"].is-in { animation: rv-soar 1.5s cubic-bezier(.16, .84, .3, 1) var(--rv-d, 0ms) both; }
@keyframes rv-soar {   /* glides in from the right on a gentle rising arc, no bounce */
  0%   { opacity: 0; transform: translate3d(70vw, 46px, 0) rotate(5deg); }
  35%  { opacity: 1; }
  70%  { transform: translate3d(2vw, -6px, 0) rotate(.4deg); }
  100% { opacity: 1; transform: none; }
}
html.rv-ready [data-rv="drift"].is-in { animation: rv-drift 1.5s cubic-bezier(.16, .84, .3, 1) calc(var(--rv-d, 0ms) + 250ms) both; }
#daily .split-media { position: relative; z-index: 2; }   /* on desktop the cards fly in from behind the screens, not across them */
@keyframes rv-drift {  /* the mirror: floats in from the left a beat after the screens */
  0%   { opacity: 0; transform: translate3d(-70vw, 40px, 0) rotate(-4deg); }
  35%  { opacity: 1; }
  70%  { transform: translate3d(-2vw, -5px, 0) rotate(-.3deg); }
  100% { opacity: 1; transform: none; }
}
html.rv-ready [data-rv="iris"].is-in { animation: rv-iris 1.1s cubic-bezier(.6,0,.2,1) var(--rv-d, 0ms) both; }
@keyframes rv-iris {
  0% { opacity: 1; clip-path: circle(0% at 50% 30%); }
  100% { opacity: 1; clip-path: circle(150% at 50% 30%); }
}
/* Writing Mastery and Vocabulary Quiz: the three visible screens arrive straight, each from its own direction, and
   the card row below follows from one side. Only the screens move (the separate translate property on .sc-pose, so the
   carousel's own transforms stay); the frame element runs a still "hold" animation of the same length so the
   entrance is handed back only when the screens have landed. No tilt, no bounce. */
html.rv-ready [data-rv="spread"].is-in, html.rv-ready [data-rv="cross"].is-in { animation: rv-hold 1.4s linear var(--rv-d, 0ms) both; }
@keyframes rv-hold { from { opacity: 1; } to { opacity: 1; } }
html.rv-ready [data-rv="spread"].is-in .sc-slide[data-pos="-1"] .sc-pose,
html.rv-ready [data-rv="cross"].is-in .sc-slide[data-pos="1"] .sc-pose  { animation: rv-screen-from-left 1.2s cubic-bezier(.16, .84, .3, 1) calc(var(--rv-d, 0ms) + 120ms) both; }
html.rv-ready [data-rv="spread"].is-in .sc-slide[data-pos="1"] .sc-pose,
html.rv-ready [data-rv="cross"].is-in .sc-slide[data-pos="-1"] .sc-pose { animation: rv-screen-from-right 1.2s cubic-bezier(.16, .84, .3, 1) calc(var(--rv-d, 0ms) + 120ms) both; }
html.rv-ready [data-rv="spread"].is-in .sc-slide[data-pos="0"] .sc-pose,
html.rv-ready [data-rv="cross"].is-in .sc-slide[data-pos="0"] .sc-pose  { animation: rv-screen-from-below 1.1s cubic-bezier(.16, .84, .3, 1) var(--rv-d, 0ms) both; }
@keyframes rv-screen-from-left  { 0% { opacity: 0; translate: -60vw 0; } 45% { opacity: 1; } 100% { translate: 0 0; } }
@keyframes rv-screen-from-right { 0% { opacity: 0; translate: 60vw 0; }  45% { opacity: 1; } 100% { translate: 0 0; } }
@keyframes rv-screen-from-below { 0% { opacity: 0; translate: 0 140px; } 45% { opacity: 1; } 100% { translate: 0 0; } }
/* IELTS Mock Test laptop: it arrives closed (the lid flat on the base) and opens smoothly, then the screen lights up */
html.rv-ready [data-rv="laptop-open"].is-in { animation: rv-hold 1.8s linear var(--rv-d, 0ms) both; }
html.rv-ready [data-rv="laptop-open"].is-in .laptop-screen { transform-origin: 50% 100%; animation: rv-lid-open 1.4s cubic-bezier(.3, .6, .3, 1) calc(var(--rv-d, 0ms) + 150ms) both; }
html.rv-ready [data-rv="laptop-open"].is-in .laptop-glass { animation: rv-screen-on .6s ease calc(var(--rv-d, 0ms) + 1.1s) both; }
@keyframes rv-lid-open { 0% { transform: perspective(1600px) rotateX(-86deg); } 100% { transform: perspective(1600px) rotateX(0deg); } }
@keyframes rv-screen-on { 0% { filter: brightness(.15); } 100% { filter: brightness(1); } }
/* straight up from below (Cara Mulai phone, the three timer boxes) */
html.rv-ready [data-rv="slide-up"].is-in { animation: rv-slide-up 1s cubic-bezier(.16, .84, .3, 1) var(--rv-d, 0ms) both; }
@keyframes rv-slide-up { 0% { opacity: 0; transform: translate3d(0, 120px, 0); } 45% { opacity: 1; } 100% { opacity: 1; transform: none; } }
html.rv-ready [data-rv="row-from-left"].is-in  { animation: rv-row-from-left 1.1s cubic-bezier(.16, .84, .3, 1) calc(var(--rv-d, 0ms) + 200ms) both; }
html.rv-ready [data-rv="row-from-right"].is-in { animation: rv-row-from-right 1.1s cubic-bezier(.16, .84, .3, 1) calc(var(--rv-d, 0ms) + 200ms) both; }
@keyframes rv-row-from-left  { 0% { opacity: 0; transform: translate3d(-60vw, 0, 0); } 45% { opacity: 1; } 100% { opacity: 1; transform: none; } }
@keyframes rv-row-from-right { 0% { opacity: 0; transform: translate3d(60vw, 0, 0); }  45% { opacity: 1; } 100% { opacity: 1; transform: none; } }
html.rv-ready [data-rv="corkscrew"].is-in { animation: rv-corkscrew 1.1s cubic-bezier(.3,.7,.3,1) var(--rv-d, 0ms) both; }
@keyframes rv-corkscrew {
  0% { opacity: 0; transform: perspective(900px) translateY(-60px) rotateY(-70deg) rotateZ(-10deg); }
  60% { opacity: 1; transform: perspective(900px) translateY(6px) rotateY(10deg) rotateZ(2deg); }
  100% { opacity: 1; transform: perspective(900px) translateY(0) rotateY(0deg) rotateZ(0deg); }
}
html.rv-ready [data-rv="echo"].is-in { animation: rv-echo 1.3s ease-in-out var(--rv-d, 0ms) both; }
@keyframes rv-echo {
  0% { opacity: 0; transform: scale(.94); }
  20% { opacity: .9; }
  32% { opacity: .25; }
  50% { opacity: 1; transform: scale(1.02); }
  62% { opacity: .55; }
  80% { opacity: 1; transform: none; }
  100% { opacity: 1; transform: none; }
}
html.rv-ready [data-rv="vibrate"].is-in { animation: rv-vibrate .9s linear var(--rv-d, 0ms) both; }
@keyframes rv-vibrate {
  0% { opacity: 0; transform: none; }
  10% { opacity: .4; transform: translateX(-10px); }
  20% { transform: translateX(9px); }
  30% { opacity: .8; transform: translateX(-7px); }
  40% { transform: translateX(6px); }
  50% { transform: translateX(-4px); }
  60% { opacity: 1; transform: translateX(3px); }
  70% { transform: translateX(-2px); }
  80% { transform: translateX(1px); }
  100% { opacity: 1; transform: none; }
}
html.rv-ready [data-rv="tick"].is-in { animation: rv-tick .9s steps(6, end) var(--rv-d, 0ms) both; }
@keyframes rv-tick {
  0% { opacity: 0; transform: translateY(72px); }
  100% { opacity: 1; transform: none; }
}
html.rv-ready [data-rv="hop"].is-in { animation: rv-hop .8s ease-out var(--rv-d, 0ms) both; transform-origin: 50% 100%; }
@keyframes rv-hop {
  0% { opacity: 0; transform: translate(-40px, 0); }
  40% { opacity: 1; transform: translate(-14px, -28px); }
  70% { transform: translate(0, 0) scale(1.04, .94); }
  85% { transform: translateY(-6px); }
  100% { opacity: 1; transform: none; }
}
html.rv-ready [data-rv="colorize"].is-in { animation: rv-colorize 1.2s ease-out var(--rv-d, 0ms) both; }
@keyframes rv-colorize {
  0% { opacity: 0; transform: translateY(-20px) scale(.9); filter: grayscale(1) brightness(1.25); }
  40% { opacity: 1; transform: none; filter: grayscale(1) brightness(1.1); }
  100% { opacity: 1; transform: none; filter: grayscale(0) brightness(1); }
}
html.rv-ready [data-rv="tvon"].is-in { animation: rv-tvon .9s cubic-bezier(.6,0,.2,1) var(--rv-d, 0ms) both; }
@keyframes rv-tvon {
  0% { opacity: 1; transform: scale(.02, .02); filter: brightness(3); }
  35% { transform: scale(1, .03); filter: brightness(3); }
  45% { transform: scale(1, .03); }
  100% { opacity: 1; transform: none; filter: brightness(1); }
}
html.rv-ready [data-rv="zigzag"].is-in { animation: rv-zigzag .9s cubic-bezier(.16, .84, .3, 1) var(--rv-d, 0ms) both; }
#cara-mulai .steps li:nth-child(odd) { --zx: -60vw; } #cara-mulai .steps li:nth-child(even) { --zx: 60vw; }
@keyframes rv-zigzag {   /* straight in from alternating sides, no tilt, easing to rest */
  0%   { opacity: 0; transform: translate3d(var(--zx, -60vw), 0, 0); }
  40%  { opacity: 1; }
  100% { opacity: 1; transform: none; }
}
html.rv-ready [data-rv="shine"].is-in { animation: rv-shine 1.4s ease-out var(--rv-d, 0ms) both; background-image: linear-gradient(110deg, transparent 38%, rgba(46, 190, 130, .2) 50%, transparent 62%); background-size: 250% 100%; background-repeat: no-repeat; }
@keyframes rv-shine {
  0% { opacity: 0; transform: translateY(30px) scale(.97); background-position: 130% 0; }
  40% { opacity: 1; transform: none; background-position: 130% 0; }
  100% { opacity: 1; transform: none; background-position: -30% 0; }
}
html.rv-ready [data-rv="type"].is-in { animation: rv-type .5s steps(10, end) var(--rv-d, 0ms) both; }
@keyframes rv-type {
  0% { opacity: 1; clip-path: inset(0 100% 0 0); }
  100% { opacity: 1; clip-path: inset(0 0 0 0); }
}
html.rv-ready [data-rv="glint"].is-in { animation: rv-glint .9s ease-out var(--rv-d, 0ms) both; }
@keyframes rv-glint {
  0% { opacity: 0; transform: scale(.9); filter: brightness(2.2) saturate(0); }
  40% { opacity: 1; filter: brightness(1.6) saturate(.5); }
  100% { opacity: 1; transform: none; filter: brightness(1) saturate(1); }
}
html.rv-ready [data-rv="wobble"].is-in { animation: rv-wobble 1s ease-in-out var(--rv-d, 0ms) both; }
@keyframes rv-wobble {
  0% { opacity: 0; transform: scale(.8); }
  25% { opacity: 1; transform: rotate(-5deg) scale(1.03); }
  40% { transform: rotate(4deg); }
  55% { transform: rotate(-3deg); }
  70% { transform: rotate(2deg); }
  85% { transform: rotate(-1deg); }
  100% { opacity: 1; transform: none; }
}
html.rv-ready [data-rv="accordion"].is-in { animation: rv-accordion .7s cubic-bezier(.3,.7,.3,1) var(--rv-d, 0ms) both; transform-origin: 50% 0%; }
@keyframes rv-accordion {
  0% { opacity: 0; transform: scale(1, .15); }
  55% { opacity: 1; transform: scale(1, 1.06); }
  75% { transform: scale(1, .98); }
  100% { opacity: 1; transform: none; }
}
html.rv-ready [data-rv="glow"].is-in { animation: rv-glow 1.4s ease-out var(--rv-d, 0ms) both; }
@keyframes rv-glow {
  0% { opacity: 0; transform: scale(.94); text-shadow: 0 0 40px rgba(170, 255, 210, .9); }
  50% { opacity: 1; text-shadow: 0 0 24px rgba(170, 255, 210, .7); }
  100% { opacity: 1; transform: none; text-shadow: 0 0 0 rgba(170, 255, 210, 0); }
}
html.rv-ready [data-rv="sweep"].is-in { animation: rv-sweep 1.2s ease-out var(--rv-d, 0ms) both; -webkit-mask-image: linear-gradient(90deg, #000 40%, transparent 60%); mask-image: linear-gradient(90deg, #000 40%, transparent 60%); -webkit-mask-size: 300% 100%; mask-size: 300% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
@keyframes rv-sweep {
  0% { opacity: 1; -webkit-mask-position: 100% 0; mask-position: 100% 0; }
  100% { opacity: 1; -webkit-mask-position: 0 0; mask-position: 0 0; }
}
html.rv-ready [data-rv="heartbeat"].is-in { animation: rv-heartbeat 1s ease-out var(--rv-d, 0ms) both; }
@keyframes rv-heartbeat {
  0% { opacity: 0; transform: scale(.6); }
  30% { opacity: 1; transform: scale(1.12); }
  42% { transform: scale(.96); }
  56% { transform: scale(1.08); }
  70% { transform: scale(.99); }
  100% { opacity: 1; transform: none; }
}
html.rv-ready [data-rv="flicker"].is-in { animation: rv-flicker 1s linear var(--rv-d, 0ms) both; }
@keyframes rv-flicker {
  0% { opacity: 0; }
  10% { opacity: .8; } 14% { opacity: .1; } 24% { opacity: .9; } 28% { opacity: .2; }
  40% { opacity: 1; } 44% { opacity: .5; } 56% { opacity: 1; }
  100% { opacity: 1; }
}
html.rv-ready [data-rv="magnet"].is-in { animation: rv-magnet .8s cubic-bezier(.3,.7,.3,1.3) var(--rv-d, 0ms) both; }
@keyframes rv-magnet {
  0% { opacity: 0; transform: translate(var(--mx, 0px), var(--my, 0px)); }
  50% { opacity: 1; }
  100% { opacity: 1; transform: none; }
}
/* footer buttons start pulled apart and snap together */
.footer-actions .fbtn:nth-child(1) { --mx: -70px; } .footer-actions .fbtn:nth-child(2) { --my: 40px; } .footer-actions .fbtn:nth-child(3) { --mx: 70px; }

/* "Fitur Super Lengkap" phones are dealt like cards: the whole deck rises from below as one stack, then the side
   phones fan out from behind the centre one to their places. The frame itself stays visible; only the screens move.
   Uses the separate translate/rotate/scale properties, so the carousel's own transform on each screen is untouched. */
html.rv-ready .showcase[data-rv="deal"]:not(.is-in) { opacity: 1; }
html.rv-ready .showcase[data-rv="deal"]:not(.is-in) .sc-slide .sc-pose { opacity: 0; translate: 0 90px; scale: .8; }
html.rv-ready .showcase[data-rv="deal"].is-in .sc-slide[data-pos="0"] .sc-pose { animation: deal-top 1.15s cubic-bezier(.2, .8, .25, 1) both; }
html.rv-ready .showcase[data-rv="deal"].is-in .sc-slide[data-pos="-1"] .sc-pose { --dx: calc(var(--sw) * .9);  --dr: -7deg;  animation: deal-fan 1.5s cubic-bezier(.2, .8, .25, 1) both; }
html.rv-ready .showcase[data-rv="deal"].is-in .sc-slide[data-pos="1"] .sc-pose  { --dx: calc(var(--sw) * -.9); --dr: 7deg;   animation: deal-fan 1.5s cubic-bezier(.2, .8, .25, 1) both; }
html.rv-ready .showcase[data-rv="deal"].is-in .sc-slide[data-pos="-2"] .sc-pose { --dx: calc(var(--sw) * 1.55);  --dr: -12deg; animation: deal-fan 1.7s cubic-bezier(.2, .8, .25, 1) both; }
html.rv-ready .showcase[data-rv="deal"].is-in .sc-slide[data-pos="2"] .sc-pose  { --dx: calc(var(--sw) * -1.55); --dr: 12deg;  animation: deal-fan 1.7s cubic-bezier(.2, .8, .25, 1) both; }
@keyframes deal-top {
  0%   { opacity: 0; translate: 0 90px; scale: .8; }
  35%  { opacity: 1; }
  60%  { translate: 0 -10px; scale: 1.02; }
  100% { opacity: 1; translate: 0 0; scale: 1; }
}
/* side screens: rise hidden behind the centre phone (tilted a little, like a held deck), then slide out to their place */
@keyframes deal-fan {
  0%   { opacity: 0; translate: var(--dx) 90px; rotate: var(--dr); scale: .8; }
  30%  { opacity: 0; translate: var(--dx) 10px; rotate: var(--dr); scale: .92; }
  42%  { opacity: 1; translate: var(--dx) 0; rotate: var(--dr); scale: .95; }
  82%  { translate: calc(var(--dx) * -.04) 0; rotate: calc(var(--dr) * -.25); scale: 1; }
  100% { translate: 0 0; rotate: 0deg; scale: 1; }
}
/* feature cards: a wave rolls down the panel; each card drops in from above, swells past its place, rocks and settles,
   its icon bobbing as the crest passes */
html.rv-ready [data-rv="wave"]:not(.is-in) { transform: translateY(-56px) rotate(-4deg) scale(.92); }
html.rv-ready [data-rv="wave"].is-in { animation: feat-wave 1.3s cubic-bezier(.3, .7, .35, 1) var(--rv-d, 0ms) both; }
html.rv-ready [data-rv="wave"].is-in .ico { animation: feat-bob .7s cubic-bezier(.3, .7, .35, 1) calc(var(--rv-d, 0ms) + .3s) both; }
@keyframes feat-wave {
  0%   { opacity: 0; transform: translateY(-56px) rotate(-4deg) scale(.92); }
  38%  { opacity: 1; transform: translateY(14px) rotate(2deg) scale(1.02); box-shadow: 0 14px 30px rgba(0, 124, 89, .14); }
  62%  { transform: translateY(-6px) rotate(-.9deg) scale(1); }
  82%  { transform: translateY(2px) rotate(.3deg); }
  100% { opacity: 1; transform: none; }
}
@keyframes feat-bob {
  0%   { transform: scale(.6) rotate(-14deg); }
  45%  { transform: scale(1.18) rotate(6deg); }
  75%  { transform: scale(.96) rotate(-2deg); }
  100% { transform: none; }
}
/* stat cards: thrown in from a random side with a tumble, then they settle into the grid with a small overshoot */
html.rv-ready [data-rv="fly"]:not(.is-in)     { transform: translate3d(var(--fx, 40vw), var(--fy, 0px), 0) rotate(var(--fr, 12deg)) scale(.82); }
html.rv-ready [data-rv="fly"] { transition: opacity .35s ease, transform 1.3s cubic-bezier(.22, .78, .3, 1.06); transition-delay: var(--fd, 0ms); }
main { overflow-x: clip; }   /* cards that fly or glide in start beyond the page edge; the page itself never scrolls sideways (iOS ignores body overflow-x) */
html.rv-ready [data-rv="glide"]:not(.is-in)   { transform: translateX(48px); }                 /* card rows glide in from the side */
html.rv-ready [data-rv="rise-far"]:not(.is-in) { transform: translateY(48px); }                /* card columns rise into place */
html.rv-ready [data-rv="tilt"]:not(.is-in)    { transform: perspective(1200px) rotateX(18deg) translateY(40px) scale(.94); transform-origin: 50% 100%; } /* the laptop opens up */
html.rv-ready [data-rv="pop"] { transition-timing-function: ease, cubic-bezier(.34, 1.56, .64, 1), ease; } /* springy overshoot */
html.rv-ready [data-rv="grow"]:not(.is-in)    { opacity: 1; clip-path: inset(0 100% 0 0); } /* the bar is drawn from left to right */
html.rv-ready [data-rv="grow"] { transition: clip-path 1s cubic-bezier(.22, .72, .2, 1); transition-delay: var(--rv-d, 0ms); }
html.rv-ready [data-rv="grow"].is-in { clip-path: inset(0); }
@media (prefers-reduced-motion: reduce) { .hero-top, .hero .showcase, .hero-cta { animation: none; } }

/* Elements that slide in sideways must never create horizontal scroll while they wait off to the side. */
main > section, .site-footer { overflow-x: clip; }

/* One rhythm between sections (perbaikan-20): every section ends shortly after its last element, so the space from one
   section's content to the next section's heading is the same everywhere (the IELTS to Grammar distance). */
.section { padding-bottom: 12px; }
@media (min-width: 760px) { .section { padding-bottom: 16px; } }
/* The closing banner is a dark block, not a heading on the page colour, so the FAQ keeps a little more room before it. */
#faq { padding-bottom: 36px; }
/* Card rows under a screen carousel sit close to its dots (perbaikan-23). */
.split-text .info-grid.is-loop { margin-top: -14px; }
/* Inside the dark Vocabulary Quiz panel the row stays within the panel: no bleed into the rounded edge and no overhang
   below it, so neither the cards nor the row's end fades show outside the panel. */
.panel-dark .info-grid.is-loop, .panel-dark .split-text .info-grid.is-loop { margin: -14px -8px -16px; }
/* Fix (old bug): on wide screens the Vocabulary Quiz carousel shrank to its content (92 px) because its column was centred
   and the flat carousel has no intrinsic width. The column now fills its half of the panel. */
@media (min-width: 960px) { .panel-split .split-media { justify-self: stretch; } }

/* IELTS Mock Test (perbaikan-29): the phone frame stays still and only the screen slides, upward: the next screen rises
   from below inside the glass while the current one drifts up and dims (the Grammar push frame, turned vertical). */
.showcase--vpush .sc-slide[data-pos="1"] .sc-pose, .showcase--vpush .sc-slide[data-pos="2"] .sc-pose { transform: translate3d(0, calc(100% + 8px), 0) scale(1); }
.showcase--vpush .sc-slide[data-pos="-1"] .sc-pose, .showcase--vpush .sc-slide[data-pos="-2"] .sc-pose { transform: translate3d(0, -32%, 0) scale(.96); }
.showcase--vpush .sc-media { box-shadow: 0 -10px 24px rgba(0, 0, 0, .28); }

/* Laptop mockup under the Mock Test section: a dark bezel with the desktop screens sliding up inside, on a soft
   aluminium base. The shadow fades into the page; no outlines. */
.laptop { width: min(100%, 760px); margin: 28px auto 0; text-align: center; }
.laptop-screen { position: relative; margin: 0 6%; padding: 2.2% 2.2% 2.6%; border-radius: 18px 18px 6px 6px;
  background: linear-gradient(160deg, #2d3632 0%, #121816 45%, #1c2421 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 24px 40px -22px rgba(11, 51, 38, .45); }
.laptop-screen::before { content: ""; position: absolute; top: .9%; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: #3a4642; }
.laptop-glass { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 6px; background: #f6f8f7; }
.laptop-glass img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; transform: translate3d(0, 100%, 0); }
/* only the screen moves: the next shot rises from below inside the glass while the current one slides up and out */
.laptop-glass img.is-on, .laptop-glass img.is-out { transition: transform .9s cubic-bezier(.22, .72, .2, 1); }
.laptop-glass img.is-on { transform: none; }
.laptop-glass img.is-out { transform: translate3d(0, -100%, 0); }
.laptop-base { position: relative; height: 0; padding-bottom: 3.2%; border-radius: 0 0 22px 22px / 0 0 60% 60%;
  background: linear-gradient(180deg, #e9eeec 0%, #cfd8d4 55%, #b9c4bf 100%);
  box-shadow: 0 18px 30px -14px rgba(11, 51, 38, .35); }
.laptop-base::before { content: ""; position: absolute; top: 0; left: 50%; width: 16%; height: 38%; transform: translateX(-50%); border-radius: 0 0 10px 10px; background: linear-gradient(180deg, #c2ccc8, #d9e0dd); }
.laptop figcaption { margin-top: 14px; font-size: 15px; font-weight: 700; color: var(--green-900); }
@media (prefers-reduced-motion: reduce) { .laptop-glass img.is-on, .laptop-glass img.is-out { transition: none; } }

/* Side-by-side layouts: on wide screens the phone column fills its half (a carousel has no width of its own). */
@media (min-width: 960px) { .split-paths .split-media { justify-self: stretch; } }

/* English for Kids (perbaikan-30): the six parts are cards in one row that slides from right to left every 3.5 s and
   can be swiped (initCardLoops). Each card holds its heading, text and phone; soft shadow, no outline. */
.section-warm { --loop-bg: var(--warm); }
.kid-slider.is-loop { position: relative; overflow: hidden; overflow: clip visible; margin: 10px -16px -18px; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab; }
.kid-slider.is-loop.is-drag { cursor: grabbing; }
.kid-slider.is-loop::before, .kid-slider.is-loop::after { content: ""; position: absolute; top: 0; bottom: 0; width: 22px; z-index: 5; pointer-events: none; }
.kid-slider.is-loop::before { left: 0; background: linear-gradient(90deg, var(--loop-bg, #fff), transparent); }
.kid-slider.is-loop::after { right: 0; background: linear-gradient(270deg, var(--loop-bg, #fff), transparent); }
.kid-slider.is-loop > .kid-show { position: absolute; left: 0; top: 20px; width: var(--cw, min(330px, 86vw)); display: flex; flex-direction: column; justify-content: flex-start; gap: 14px;
  margin: 0; padding: 20px 16px 22px; border: 0; border-radius: 24px; overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #fffaf2 100%);
  box-shadow: 0 0 0 1px rgba(11, 51, 38, .03), 0 0 18px rgba(11, 51, 38, .08), 0 14px 28px -10px rgba(11, 51, 38, .24); }
.kid-slider.is-loop > .kid-show .sec-intro--sub { margin: 0; }
/* titles stay within 2 lines and texts within 3, and phones match the carousels, so the cards end up close in height
   with only a little space left under the shorter ones */
.kid-slider.is-loop > .kid-show .sec-intro--sub h3 { font-size: 20px; line-height: 1.25;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.kid-slider.is-loop > .kid-show .sec-intro--sub .sec-lead { font-size: 14.5px; line-height: 1.55; margin-top: 6px;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.kid-slider.is-loop > .kid-show .phone { --pw: clamp(186px, 53vw, 234px); }
@media (min-width: 760px) {
  .kid-slider.is-loop { margin: 16px 0 -18px; }
  .kid-slider.is-loop > .kid-show { --cw: 380px; }
  .kid-slider.is-loop > .kid-show .phone { --pw: 226px; }
}

/* Highlighter stroke (perbaikan-37/38): a soft pastel-yellow marker band behind the words that draws across as the heading
   scrolls up the screen (script.js sets --hl from 0 to 1). Rounded, slightly tilted ends; full for reduced motion. */
.hl { --hl: 0; padding: 0 .12em; margin: 0 -.06em; border-radius: .35em .2em .4em .25em;
  background-image: linear-gradient(100deg, rgba(255, 233, 150, 0) 0%, rgba(255, 233, 150, .8) 4%, rgba(255, 240, 175, .88) 50%, rgba(255, 233, 150, .8) 96%, rgba(255, 233, 150, 0) 100%);
  background-repeat: no-repeat; background-position: 0 88%; background-size: calc(var(--hl) * 100%) 58%;
  -webkit-box-decoration-break: clone; box-decoration-break: clone; }
@media (prefers-reduced-motion: reduce) { .hl { --hl: 1; } }
/* on the dark Vocabulary Quiz panel the marker is a dimmer, warmer yellow so the white words stay readable */
.panel-dark .hl { background-image: linear-gradient(100deg, rgba(255, 214, 90, 0) 0%, rgba(255, 214, 90, .34) 4%, rgba(255, 222, 120, .4) 50%, rgba(255, 214, 90, .34) 96%, rgba(255, 214, 90, 0) 100%); }

