/* Halaman publik: Boo Freedom dan landing promo. Memakai token warna yang sama dengan aplikasi. */
body.pub { min-height: 100dvh; background: var(--bg); color: var(--text); font-family: var(--font); }
.pub-app, .pub-landing { max-width: 760px; margin: 0 auto; padding: 0 16px 120px; }
.pub .e { color: var(--accent); }
.pub-top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 12px; padding: 12px 0; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); }
.pub-top .pub-progress { flex: 1; }
.pub-brand { font-weight: 800; font-size: 20px; color: var(--text); text-decoration: none; margin-right: auto; }
.pub-brand small { font-size: 12px; font-weight: 600; color: var(--muted); margin-left: 4px; }
.pub-back { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-strong); font-size: 18px; flex: none; }
.pub-stats { display: flex; gap: 8px; }
.pub-stat { padding: 6px 10px; border-radius: 999px; background: var(--panel-2); font-weight: 700; font-size: 14px; white-space: nowrap; }
.pub-progress { height: 10px; border-radius: 99px; background: var(--panel-2); overflow: hidden; }
.pub-progress i { display: block; height: 100%; background: var(--accent); border-radius: inherit; transition: width .3s ease; }

/* Pembuka bergaya game */
.pub-intro { position: relative; min-height: 92dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 18px; overflow: hidden; }
.pub-intro-glow { position: absolute; inset: -30%; background: radial-gradient(circle at 50% 45%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 55%); animation: pub-pulse 3.2s ease-in-out infinite; pointer-events: none; }
.pub-mascot { animation: pub-pop .9s cubic-bezier(.3, 1.6, .5, 1) both, pub-float 3s ease-in-out .9s infinite; }
.pub-title { font-size: clamp(38px, 9vw, 64px); font-weight: 800; letter-spacing: -.03em; animation: pub-rise .7s .25s both; }
.pub-title span:last-child { display: block; font-size: .42em; color: var(--muted); letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
.pub-sub { max-width: 30ch; color: var(--muted); font-size: 17px; animation: pub-rise .7s .45s both; }
.pub-cta { min-height: 54px; padding: 14px 34px; font-size: 18px; animation: pub-rise .7s .6s both; box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 60%, transparent); }
.pub-intro .pub-cta { animation: pub-rise .7s .6s both, pub-ring 2.4s 1.4s infinite; }
.pub-cta.lg { width: 100%; max-width: 420px; }
@keyframes pub-pop { from { transform: scale(.2) rotate(-12deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes pub-float { 50% { transform: translateY(-8px); } }
@keyframes pub-rise { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes pub-pulse { 50% { opacity: .55; transform: scale(1.06); } }
@keyframes pub-ring { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 55%, transparent); } 70%, 100% { box-shadow: 0 0 0 18px transparent; } }
@media (prefers-reduced-motion: reduce) { .pub-intro *, .pub-intro-glow { animation: none !important; } }

.pub-section { padding: 10px 0 30px; display: flex; flex-direction: column; gap: 12px; }
.pub-section h1 { font-size: clamp(26px, 6vw, 34px); }
.pub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.pub-lang { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 14px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); text-align: left; }
.pub-lang img { width: 34px; height: 24px; object-fit: cover; border-radius: 4px; }
.pub-lang span { color: var(--muted); font-size: 14px; }
.pub-levels { display: flex; flex-direction: column; gap: 10px; }
.pub-level, .pub-module-head { display: flex; gap: 12px; align-items: center; width: 100%; padding: 14px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); text-align: left; }
.pub-level small, .pub-module-head small { display: block; color: var(--muted); font-size: 13px; }
.pub-level.locked, .pub-module.locked .pub-module-head { opacity: .6; }
.pub-level-no { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--accent); color: var(--on-accent); font-weight: 800; }
.locked .pub-level-no { background: var(--panel-2); color: var(--text); }
.pub-module { display: flex; flex-direction: column; gap: 8px; }
.pub-lessons { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; padding-left: 8px; }
.pub-lesson { padding: 12px 14px; border-radius: var(--radius-sm); background: var(--panel-2); border: 1px solid var(--line); text-align: left; font-weight: 600; }
.pub-lesson.done { border-color: color-mix(in srgb, var(--accent) 60%, transparent); }
.pub-lesson:disabled { opacity: .45; cursor: not-allowed; }
.pub-lesson { display: flex; flex-direction: column; gap: 6px; color: inherit; }
.pub-lesson-title { display: block; }
.pub-tahap { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.pub-tahap small { color: var(--muted); font-size: 12px; }
.pub-dots { display: inline-flex; gap: 4px; flex: none; }
.pub-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.pub-dots i.on { background: var(--accent); }
.pub-tahap-tag { margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.pub-detail { opacity: .85; }
.pub-next-tahap { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 6px 0 14px; }
.pub-next-tahap p { margin: 0; }
@media (hover: hover) { .pub-lang:hover, .pub-level:not(.locked):hover, .pub-lesson:not(:disabled):hover { border-color: var(--accent); } }
.pub-teaser { display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: var(--radius); background: color-mix(in srgb, var(--accent) 9%, var(--panel)); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); margin-top: 8px; }
.pub-teaser p { margin: 2px 0 0; }

/* Pelajaran */
.pub-card { display: flex; flex-direction: column; gap: 14px; padding: 20px 0 140px; }
.pub-card h1 { font-size: clamp(28px, 7vw, 40px); }
.pub-card h2 { font-size: 22px; }
.pub-mean { color: var(--accent); font-size: 20px; font-weight: 600; margin: 0; }
.pub-foot { position: fixed; left: 0; right: 0; bottom: 0; z-index: 6; display: flex; gap: 12px; align-items: center; justify-content: flex-end; padding: 14px max(16px, calc((100vw - 760px) / 2 + 16px)) calc(14px + env(safe-area-inset-bottom)); background: var(--panel); border-top: 1px solid var(--line); }
.pub-foot .grow { flex: 1; }
.pub-foot p { margin: 2px 0 0; }
.pub-foot.ok { background: color-mix(in srgb, var(--accent) 16%, var(--panel)); }
.pub-foot.bad { background: color-mix(in srgb, var(--bad) 16%, var(--panel)); }
.pub-foot .btn { min-width: 140px; }

/* Hasil, lead, penawaran */
.pub-result { align-items: center; text-align: center; padding-top: 30px; }
.pub-result .scores { justify-content: center; flex-wrap: wrap; }
.pub-lead, .pub-offer { width: 100%; max-width: 440px; display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line-strong); text-align: left; }
.pub-offer { background: color-mix(in srgb, var(--accent) 10%, var(--panel)); border-color: color-mix(in srgb, var(--accent) 45%, transparent); text-align: center; align-items: center; }
.pub-offer p, .pub-lead p { margin: 0; }
.share-btn { margin-top: 6px; }

/* Landing promo */
.lp-hero { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: 30px 0 34px; }
.lp-hero h1 { font-size: clamp(30px, 7vw, 46px); line-height: 1.12; letter-spacing: -.02em; max-width: 18ch; }
.lp-sub { color: var(--muted); font-size: 17px; max-width: 46ch; margin: 0; }
.lp-badge { margin: 0; padding: 8px 14px; border-radius: 999px; background: var(--panel-2); }
.chip.promo { background: var(--accent); color: var(--on-accent); font-weight: 700; }
.lp-price { display: flex; gap: 12px; align-items: baseline; justify-content: center; }
.lp-price s { color: var(--muted); font-size: 18px; }
.lp-price strong { font-size: clamp(32px, 8vw, 44px); color: var(--accent); }
.lp-timer { font-size: 14px; color: var(--muted); }
.lp-timer b { color: var(--text); }
.lp-section { padding: 26px 0; border-top: 1px solid var(--line); }
.lp-section h2 { font-size: 24px; margin-bottom: 14px; }
.lp-benefits { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 10px; }
.lp-benefit { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: var(--radius-sm); background: var(--panel); border: 1px solid var(--line); }
.lp-benefit span { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-weight: 800; }
.lp-benefit p { margin: 0; }
.lp-compare { width: 100%; }
.lp-compare th, .lp-compare td { text-align: center; padding: 10px 8px; }
.lp-compare td:first-child { text-align: left; }
.lp-compare .us { background: color-mix(in srgb, var(--accent) 9%, transparent); }
.cmp.yes { color: var(--accent); font-weight: 800; font-size: 18px; }
.cmp.no { color: var(--bad); font-weight: 800; }
.cmp.part { color: var(--muted); font-size: 13px; }
.lp-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 160px), 1fr)); gap: 10px; counter-reset: s; }
.lp-steps li { counter-increment: s; position: relative; display: flex; flex-direction: column; gap: 4px; padding: 16px 14px 14px; border-radius: var(--radius-sm); background: var(--panel); border: 1px solid var(--line); }
.lp-steps li::before { content: counter(s); font-weight: 800; color: var(--accent); font-size: 20px; }
.lp-steps span { color: var(--muted); font-size: 14px; }
.lp-faq { padding: 12px 0; border-bottom: 1px solid var(--line); }
.lp-faq summary { cursor: pointer; font-weight: 600; }
.lp-faq p { color: var(--muted); margin: 8px 0 0; }
.lp-final { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; padding: 34px 0; border-top: 1px solid var(--line); }
.lp-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 6; display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--panel); border-top: 1px solid var(--line); }
.lp-sticky s { color: var(--muted); }
.lp-sticky strong { color: var(--accent); }
@media (min-width: 900px) { .lp-sticky { display: none; } }

/* ── Pembuka eBasa (Boo publik) ── */
.fx-intro { position: relative; isolation: isolate; min-height: 100dvh; margin: 0 -16px; padding: 0 20px 48px; display: flex; flex-direction: column; overflow: hidden; }
.fx-aurora { position: absolute; inset: -20% -30% auto; height: 90%; z-index: -2; pointer-events: none;
  background: radial-gradient(40% 50% at 30% 30%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%),
              radial-gradient(35% 45% at 75% 20%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 70%);
  filter: blur(10px); animation: fx-drift 14s ease-in-out infinite alternate; }
@keyframes fx-drift { to { transform: translate3d(4%, 3%, 0) scale(1.06); } }
.fx-greet { position: absolute; inset: auto 0 18%; z-index: -1; display: flex; flex-direction: column; gap: 14px; opacity: .13; pointer-events: none; mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }
.fx-greet-row { display: flex; gap: 34px; width: max-content; font-size: clamp(22px, 5vw, 34px); font-weight: 700; white-space: nowrap; animation: fx-slide 60s linear infinite; }
.fx-greet-row.rev { animation-direction: reverse; animation-duration: 75s; font-weight: 500; }
@keyframes fx-slide { to { transform: translateX(-50%); } }
.fx-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 0; }
.fx-top .pub-brand { margin: 0; }
.fx-top-note { font-size: 13px; color: var(--muted); letter-spacing: .02em; }
.fx-hero { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 16px; padding: 20px 0 30px; }
.fx-hero .pub-mascot { margin-bottom: 4px; }
.fx-eyebrow { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); animation: pub-rise .7s .1s both; }
.fx-head { margin: 0; max-width: 15ch; font-size: clamp(34px, 8.4vw, 60px); line-height: 1.06; letter-spacing: -.035em; font-weight: 800; animation: pub-rise .8s .2s both; }
.fx-head em { font-style: normal; color: var(--accent); }
.fx-lede { margin: 0; max-width: 40ch; color: var(--muted); font-size: clamp(15px, 3.8vw, 18px); line-height: 1.6; animation: pub-rise .8s .35s both; }
.fx-rotator { position: relative; margin: 2px 0 6px; height: 3.2em; width: 100%; max-width: 420px; font-size: 15px; line-height: 1.6; font-style: italic; color: var(--text); }
.fx-rotator span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: 0; animation: fx-line 16s infinite; animation-delay: calc(var(--i) * 4s); }
@keyframes fx-line { 0%, 25% { opacity: 0; transform: translateY(8px); } 3%, 22% { opacity: .85; transform: none; } }
.fx-cta { min-width: 220px; animation: pub-rise .7s .5s both, pub-ring 2.6s 1.6s infinite; }
.fx-meta { margin: 0; font-size: 13px; color: var(--muted); animation: pub-rise .7s .6s both; }
.fx-pillars { list-style: none; margin: 0 auto; padding: 0; width: 100%; max-width: 760px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; animation: pub-rise .8s .75s both; }
.fx-pillars li { display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: var(--radius); background: color-mix(in srgb, var(--panel) 82%, transparent); border: 1px solid var(--line); backdrop-filter: blur(6px); text-align: left; }
.fx-pillars b { font-size: 12px; letter-spacing: .14em; color: var(--accent); }
.fx-pillars strong { font-size: 15px; }
.fx-pillars span { font-size: 13px; color: var(--muted); line-height: 1.5; }
@media (max-width: 640px) {
  .fx-pillars { grid-template-columns: 1fr; }
  .fx-pillars li { flex-direction: row; flex-wrap: wrap; align-items: baseline; column-gap: 10px; padding: 12px 14px; }
  .fx-pillars span { flex-basis: 100%; }
  .fx-top-note { display: none; }
  .fx-cta { width: 100%; max-width: 360px; }
}
@media (prefers-reduced-motion: reduce) {
  .fx-aurora, .fx-greet-row, .fx-head, .fx-lede, .fx-eyebrow, .fx-cta, .fx-meta, .fx-pillars { animation: none !important; }
  .fx-rotator span { animation: none; }
  .fx-rotator span:first-child { opacity: .85; }
}

/* Langkah umur */
.fx-age { max-width: 520px; margin: 0 auto; text-align: center; align-items: center; padding-top: 24px; }
.fx-age h1 { margin: 0; }
.fx-age-card { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 18px; margin-top: 8px; text-align: left; }
.fx-age-card .age-slider { width: 100%; }
.pub .link-btn { background: none; border: 0; padding: 0; color: var(--accent); font: inherit; font-size: 14px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.pub-module-head .fit-chip { margin: 6px 0 0; }

/* HP: rapikan bagian publik lainnya */
@media (max-width: 640px) {
  .pub-top { gap: 8px; }
  .pub-stats { gap: 4px; }
  .pub-stat { padding: 5px 8px; font-size: 13px; }
  .pub-lessons { grid-template-columns: 1fr; padding-left: 0; }
  .pub-teaser { flex-wrap: wrap; }
  .pub-teaser .btn { width: 100%; }
  .pub-foot { padding-left: 16px; padding-right: 16px; }
  .pub-foot .btn { min-width: 0; flex: 0 0 auto; }
  .lp-compare th, .lp-compare td { padding: 8px 4px; font-size: 13px; }
  .lp-sticky { flex-wrap: wrap; }
}

/* Pembuka penuh selebar layar di PC (tidak terkurung kolom 760px) */
.pub-app.pub-full { max-width: none; padding: 0; }
.pub-full .fx-intro { margin: 0; padding-left: max(20px, calc((100% - 1120px) / 2)); padding-right: max(20px, calc((100% - 1120px) / 2)); }
.fx-aurora { inset: -25% -10% auto; }
.fx-greet { inset: auto 0 3%; opacity: .07; }
.fx-pillars { max-width: 1040px; }
@media (min-width: 900px) {
  .fx-intro { padding-bottom: 56px; }
  .fx-head { max-width: 18ch; font-size: clamp(48px, 5.4vw, 76px); }
  .fx-lede { max-width: 52ch; }
  .fx-hero { padding: 10px 0 40px; }
}

/* ── Landing pendaftaran tutor ── */
.tl-hero { min-height: 86dvh; }
.tl-body { max-width: 1040px; margin: 0 auto; padding: 0 20px 80px; }
.tl-body .lp-section h2 { margin-top: 0; }
.tl-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 12px; }
.tl-card { display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.tl-card h3 { margin: 0; font-size: 17px; }
.tl-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.tl-ico { font-size: 22px; line-height: 1; }
.tl-form-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 28px; align-items: start; }
.tl-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 22px; border-radius: var(--radius); background: var(--panel); border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--line)); }
.tl-form .btn, .tl-form p { grid-column: 1 / -1; margin: 0; }
.tl-form .btn { max-width: none; }
.tl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.tl-err { color: var(--bad); min-height: 1.2em; font-size: 14px; }
.tl-done { max-width: 520px; margin: 0 auto; }
.tl-cred { width: 100%; display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line-strong); text-align: left; }
.tl-cred .kv { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.tl-cred code { font-size: 17px; letter-spacing: .04em; color: var(--accent); }
.tl-cred .btn { align-self: flex-end; margin-top: 6px; }
@media (max-width: 760px) {
  .tl-form-wrap { grid-template-columns: 1fr; }
  .tl-form { grid-template-columns: 1fr; padding: 18px; }
}

/* ══ Landing page eBasa (Tutor, Promo): tata letak bersama ══ */
.ld { --ld-w: 1120px; width: 100%; color: var(--text); }
.ld-wrap { max-width: var(--ld-w); margin: 0 auto; padding: 0 20px; }
.ld a { color: inherit; }

/* Navigasi atas */
.ld-nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.ld-nav .ld-wrap { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.ld-brand { font-size: 22px; font-weight: 800; text-decoration: none; letter-spacing: -.02em; }
.ld-brand .e { color: var(--accent); }
.ld-brand small { margin-left: 8px; padding: 2px 8px; border-radius: 99px; border: 1px solid var(--line-strong); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); vertical-align: middle; }
.ld-links { display: flex; gap: 22px; margin-left: auto; font-size: 14px; }
.ld-links a { text-decoration: none; color: var(--muted); }
.ld-links a:hover { color: var(--text); }
.ld-nav .btn { min-height: 40px; padding: 8px 18px; }
.ld-nav .ld-login { font-size: 14px; color: var(--muted); text-decoration: none; }

/* Hero dua kolom */
.ld-hero { position: relative; isolation: isolate; overflow: hidden; padding: 72px 0 80px; }
.ld-hero::before { content: ""; position: absolute; inset: -30% -10% auto; height: 120%; z-index: -1; pointer-events: none;
  background: radial-gradient(40% 50% at 20% 30%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 70%),
              radial-gradient(35% 45% at 85% 20%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 70%); }
.ld-hero .ld-wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; }
.ld-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; padding: 6px 12px; border-radius: 99px; background: color-mix(in srgb, var(--accent) 12%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.ld-hero h1 { margin: 0 0 18px; font-size: clamp(36px, 5vw, 60px); line-height: 1.05; letter-spacing: -.035em; font-weight: 800; }
.ld-hero h1 em { font-style: normal; color: var(--accent); }
.ld-lede { margin: 0 0 28px; max-width: 52ch; font-size: clamp(16px, 1.6vw, 19px); line-height: 1.6; color: var(--muted); }
.ld-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.ld-actions .btn { min-height: 52px; padding: 14px 26px; font-size: 16px; }
.ld-trust { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 22px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.ld-trust li::before { content: "✓"; margin-right: 6px; color: var(--accent); font-weight: 800; }

/* Kartu peraga di sisi kanan hero */
.ld-mock { position: relative; padding: 22px; border-radius: 24px; background: linear-gradient(160deg, var(--panel), var(--panel-2)); border: 1px solid var(--line-strong); box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.ld-mock-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.ld-mock-head strong { font-size: 15px; }
.ld-mock-row { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); }
.ld-mock-row + .ld-mock-row { margin-top: 8px; }
.ld-mock-row .grow { display: flex; flex-direction: column; min-width: 0; }
.ld-mock-row .grow span { font-size: 12px; color: var(--muted); }
.ld-dot { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); font-weight: 800; }
.ld-mock-foot { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.ld-mock-stat { padding: 12px; border-radius: 14px; background: color-mix(in srgb, var(--accent) 10%, var(--bg)); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); }
.ld-mock-stat b { display: block; font-size: 20px; color: var(--accent); }
.ld-mock-stat span { font-size: 12px; color: var(--muted); }
.ld-float { position: absolute; padding: 8px 12px; border-radius: 12px; background: var(--accent); color: var(--on-accent); font-size: 13px; font-weight: 700; box-shadow: 0 12px 30px rgba(0, 0, 0, .35); }
.ld-float.a { top: -14px; right: 18px; }
.ld-float.b { bottom: -14px; left: 18px; background: var(--panel); color: var(--text); border: 1px solid var(--line-strong); }

/* Pita angka */
.ld-stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--panel); }
.ld-stats .ld-wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ld-stat { padding: 22px 16px; text-align: center; }
.ld-stat + .ld-stat { border-left: 1px solid var(--line); }
.ld-stat b { display: block; font-size: clamp(22px, 3vw, 30px); font-weight: 800; color: var(--accent); }
.ld-stat span { font-size: 13px; color: var(--muted); }

/* Bagian */
.ld-section { padding: 88px 0; }
.ld-section.alt { background: color-mix(in srgb, var(--panel) 60%, var(--bg)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ld-head { max-width: 680px; margin: 0 auto 44px; text-align: center; }
.ld-head .ld-eyebrow { margin-bottom: 12px; }
.ld-head h2 { margin: 0 0 12px; font-size: clamp(28px, 3.6vw, 42px); line-height: 1.12; letter-spacing: -.025em; }
.ld-head p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.6; }

/* Kartu fitur */
.ld-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ld-card { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: 20px; background: var(--panel); border: 1px solid var(--line); transition: border-color .2s ease, transform .2s ease; }
@media (hover: hover) { .ld-card:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); transform: translateY(-2px); } }
.ld-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: color-mix(in srgb, var(--accent) 14%, transparent); font-size: 22px; }
.ld-card h3 { margin: 4px 0 0; font-size: 18px; line-height: 1.3; }
.ld-card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }

/* Daftar fitur dua kolom (ikon centang + judul + teks) */
.ld-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; margin: 0; padding: 0; list-style: none; }
.ld-list li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 4px 14px; align-items: start; padding: 18px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.ld-list .ld-num { grid-row: span 2; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--accent); color: var(--on-accent); font-weight: 800; font-size: 14px; }
.ld-list strong { font-size: 16px; line-height: 1.35; }
.ld-list .ld-desc { color: var(--muted); font-size: 14px; line-height: 1.55; }

/* Alur langkah */
.ld-steps { display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: ld; position: relative; }
.ld-steps li { counter-increment: ld; position: relative; display: flex; flex-direction: column; gap: 6px; padding: 56px 18px 20px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); }
.ld-steps li::before { content: counter(ld); position: absolute; top: 16px; left: 18px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-weight: 800; font-size: 14px; }
.ld-steps strong { font-size: 16px; }
.ld-steps span { color: var(--muted); font-size: 14px; line-height: 1.5; }

/* Formulir + ringkasan */
.ld-split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: start; }
.ld-split h2 { margin: 0 0 12px; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.12; letter-spacing: -.025em; }
.ld-split > div > p { color: var(--muted); font-size: 16px; line-height: 1.6; }
.ld-checks { margin: 20px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.ld-checks li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.5; }
.ld-checks li::before { content: "✓"; flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--accent); font-weight: 800; font-size: 12px; }
.ld-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: 28px; border-radius: 24px; background: var(--panel); border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--line)); box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
.ld-form h3 { grid-column: 1 / -1; margin: 0; font-size: 20px; }
.ld-form .field-inline { margin: 0; }
.ld-form .text-input { min-height: 48px; }
.ld-form .btn { grid-column: 1 / -1; min-height: 52px; font-size: 16px; }
.ld-form > p { grid-column: 1 / -1; margin: 0; }

/* Pertanyaan */
.ld-faq { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.ld-faq details { padding: 0 20px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.ld-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 0; cursor: pointer; list-style: none; font-weight: 600; }
.ld-faq summary::-webkit-details-marker { display: none; }
.ld-faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-strong); color: var(--accent); font-size: 18px; transition: transform .2s ease; }
.ld-faq details[open] summary::after { transform: rotate(45deg); }
.ld-faq details p { margin: 0 0 18px; color: var(--muted); line-height: 1.6; }

/* Ajakan akhir dan footer */
.ld-cta { padding: 72px 0; }
.ld-cta-box { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 44px; border-radius: 28px;
  background: radial-gradient(60% 120% at 0% 0%, color-mix(in srgb, var(--accent) 28%, var(--panel)), var(--panel) 70%); border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); }
.ld-cta-box h2 { margin: 0 0 8px; font-size: clamp(26px, 3.2vw, 38px); letter-spacing: -.02em; }
.ld-cta-box p { margin: 0; color: var(--muted); }
.ld-cta-box .btn { min-height: 54px; padding: 14px 28px; font-size: 16px; }
.ld-foot { padding: 28px 0 40px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.ld-foot .ld-wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.ld-foot nav { display: flex; flex-wrap: wrap; gap: 18px; }
.ld-foot a { color: var(--muted); text-decoration: none; }
.ld-foot a:hover { color: var(--text); }

/* Promo: harga dan tabel banding */
.ld-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 0 0 8px; }
.ld-price s { color: var(--muted); font-size: 18px; }
.ld-price strong { font-size: clamp(34px, 4.4vw, 48px); color: var(--accent); letter-spacing: -.02em; }
.ld-timer { display: flex; gap: 8px; margin: 14px 0 0; }
.ld-timer div { min-width: 64px; padding: 10px 8px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); text-align: center; }
.ld-timer b { display: block; font-size: 22px; font-variant-numeric: tabular-nums; }
.ld-timer span { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.ld-table { max-width: 900px; margin: 0 auto; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: var(--panel); }
.ld-table table { width: 100%; border-collapse: collapse; }
.ld-table th, .ld-table td { padding: 14px 12px; text-align: center; border-bottom: 1px solid var(--line); font-size: 15px; }
.ld-table td:first-child, .ld-table th:first-child { text-align: left; }
.ld-table tr:last-child td { border-bottom: 0; }
.ld-table .us { background: color-mix(in srgb, var(--accent) 10%, transparent); }
.ld-table thead .us { color: var(--accent); }
.ld-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--panel); border-top: 1px solid var(--line-strong); }
.ld-sticky s { color: var(--muted); font-size: 13px; }
.ld-sticky strong { color: var(--accent); font-size: 18px; }

/* Tablet */
@media (max-width: 1024px) {
  .ld-hero .ld-wrap { grid-template-columns: 1fr; gap: 40px; }
  .ld-mock { max-width: 560px; }
  .ld-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ld-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ld-split { grid-template-columns: 1fr; gap: 28px; }
  .ld-links { display: none; }
  .ld-nav .ld-login { margin-left: auto; }
}
/* HP */
@media (max-width: 640px) {
  .ld-wrap { padding: 0 16px; }
  .ld-nav .ld-wrap { gap: 12px; min-height: 58px; }
  .ld-nav .btn { padding: 8px 14px; font-size: 14px; }
  .ld-nav .ld-login { display: none; }
  .ld-nav .btn { margin-left: auto; }
  .ld-hero { padding: 44px 0 56px; }
  .ld-actions .btn { width: 100%; }
  .ld-mock { padding: 16px; border-radius: 20px; }
  .ld-stats .ld-wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ld-stat:nth-child(3) { border-left: 0; }
  .ld-stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .ld-section { padding: 60px 0; }
  .ld-head { margin-bottom: 28px; }
  .ld-grid, .ld-list, .ld-steps { grid-template-columns: 1fr; }
  .ld-steps li { padding: 18px 18px 18px 64px; }
  .ld-steps li::before { top: 18px; left: 18px; }
  .ld-form { grid-template-columns: 1fr; padding: 20px; }
  .ld-cta-box { padding: 28px 22px; }
  .ld-cta-box .btn { width: 100%; }
  .ld-table th, .ld-table td { padding: 10px 6px; font-size: 13px; }
  .ld-sticky { display: flex; }
  .ld.has-sticky { padding-bottom: 76px; }
}
.tl-done { padding: 48px 16px 80px; }
.ld-float.a { right: auto; left: 18px; }
.ld-float.b { left: auto; right: 18px; }

/* Logo Macaboo × Anu Basa: klik untuk ganti Mode Macaboo (gelap) / Mode Anu Basa (terang) */
.fx-brand-wrap { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 3px; }
/* Proporsi sama dengan logo di halaman member: eBasa 29px, logo Macaboo × Anu Basa setinggi ±16px. */
.fx-brand-wrap .pub-brand { font-size: 29px; font-weight: 600; line-height: 1; letter-spacing: -.01em; }
.partner-lockup { font-size: 11px; }
@media (max-width: 760px) {
  .fx-brand-wrap .pub-brand { font-size: 23px; }
  .fx-brand-wrap .partner-lockup .lockup-sub-logo { height: 13px; }
  .fx-brand-wrap .partner-lockup .lockup-sub-logo.is-anubasa { height: 14px; }
}
.ld-foot-brand { display: inline-flex; align-items: center; gap: .45em; }
.ld-foot-brand .partner-lockup { font-size: 13px; }

/* Popup promo setelah nilai satu babak (Boo Freedom) */
.pub-promo-pop { border: 0; padding: 0; border-radius: 22px; max-width: min(420px, calc(100vw - 32px)); background: var(--panel, #131315); color: var(--text, #f5f5f2); box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.pub-promo-pop::backdrop { background: rgba(0, 0, 0, .55); backdrop-filter: blur(3px); }
.pub-promo-in { display: grid; gap: 12px; padding: 28px 24px 20px; text-align: center; justify-items: center; }
.pub-promo-in h2 { margin: 4px 0 0; font-size: 22px; }
.pub-promo-in p { margin: 0; color: var(--muted, #a3a3a0); font-size: 15px; }
.pub-promo-in .btn { width: 100%; justify-content: center; }
.pub-promo-pop[open] { animation: promo-in .28s ease-out; }
@keyframes promo-in { from { transform: translateY(16px) scale(.97); opacity: 0; } to { transform: none; opacity: 1; } }

/* Pilihan umur: Anak-anak atau Dewasa (Boo Freedom) */
.age-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
.age-choice > p { grid-column: 1 / -1; margin: 2px 0 0; }
.age-opt { display: grid; justify-items: center; gap: 4px; padding: 16px 10px; border: 2px solid var(--line); border-radius: 16px; cursor: pointer; text-align: center; transition: border-color .2s, background .2s; }
.age-opt input { position: absolute; opacity: 0; pointer-events: none; }
.age-opt .age-ic { font-size: 30px; line-height: 1; }
.age-opt small { color: var(--muted); font-size: 12px; }
.age-opt.on { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); }

/* Nilai huruf A+ sampai D dan perayaan */
.grade-wrap { display: grid; justify-items: center; gap: 6px; margin: 4px auto 10px; }
.grade-badge { position: relative; display: grid; place-items: center; width: 132px; height: 132px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--g, #dcff00) 40%, #fff 0%), var(--g, #dcff00) 70%); color: #0a0a0b; box-shadow: 0 0 0 6px color-mix(in srgb, var(--g, #dcff00) 25%, transparent), 0 18px 50px color-mix(in srgb, var(--g, #dcff00) 35%, transparent); animation: grade-pop .7s cubic-bezier(.2, 1.6, .4, 1) both; }
.grade-badge strong { font-size: 54px; line-height: 1; font-weight: 900; letter-spacing: -.02em; margin-top: 8px; }
.grade-badge small { font-size: 13px; font-weight: 700; opacity: .7; margin-top: -18px; }
.grade-ring { position: absolute; inset: -14px; border-radius: 50%; border: 3px dashed color-mix(in srgb, var(--g, #dcff00) 60%, transparent); animation: grade-spin 12s linear infinite; }
.grade-badge.t-top { --g: #dcff00; }
.grade-badge.t-good { --g: #5aaeff; }
.grade-badge.t-ok { --g: #ffc94d; }
.grade-badge.t-low { --g: #ff7a7a; }
.grade-badge.t-low .grade-ring { animation: none; }
.grade-label { margin: 6px 0 0; font-weight: 800; font-size: 20px; animation: grade-rise .6s .25s both; }
.grade-legend { font-size: 13px; color: var(--muted); }
.grade-legend summary { cursor: pointer; text-align: center; }
.grade-legend ul { list-style: none; padding: 0; margin: 8px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); gap: 6px; }
.grade-legend li { display: flex; justify-content: space-between; gap: 8px; padding: 4px 10px; border: 1px solid var(--line); border-radius: 8px; }
.grade-legend li.on { border-color: var(--accent, #dcff00); color: var(--text); }
.confetti-layer { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 9999; }
@keyframes grade-pop { 0% { transform: scale(.2) rotate(-25deg); opacity: 0; } 70% { transform: scale(1.12) rotate(4deg); opacity: 1; } 100% { transform: none; } }
@keyframes grade-spin { to { transform: rotate(360deg); } }
@keyframes grade-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .grade-badge, .grade-ring, .grade-label { animation: none !important; } }

/* Panduan baca IPA */
.ipa { display: inline-flex; align-items: baseline; gap: 6px; font-family: "Noto Sans", "Segoe UI", "Lucida Sans Unicode", system-ui, sans-serif; font-size: 15px; letter-spacing: .01em; }
.ipa b { font-family: inherit; font-size: 10px; font-weight: 800; letter-spacing: .08em; padding: 2px 6px; border-radius: 6px; background: color-mix(in srgb, var(--accent, #dcff00) 18%, transparent); color: var(--accent, #dcff00); }
.ipa-text { font-family: "Noto Sans", "Segoe UI", "Lucida Sans Unicode", system-ui, sans-serif; }
