/* Belajar Bisnis — design system
   Font: Plus Jakarta Sans (SIL Open Font License), di-host sendiri.
   Prinsip: sedikit jenis kotak — teks biasa, sorotan "Intinya", kartu interaksi, catatan kecil. */
@font-face { font-family: 'Jakarta'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(fonts/jakarta-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Jakarta'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(fonts/jakarta-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  /* Putih + navy, aksen amber (kunyit). Amber hanya untuk isian/sorotan, tidak untuk teks di atas putih. */
  --paper: #FFFFFF; --paper-2: #F4F7FC; --surface: #FFFFFF;
  --ink: #0A1A3A; --ink-2: #2A3956; --muted: #56627A;
  --line: #E3E8F1; --line-2: #CBD5E4;
  --green: #10264F; --green-2: #1F4380; --green-ink: #0A1A3A;
  --soft: #E8EEF8; --soft-2: #F4F7FC;
  --amber: #F5A524; --amber-2: #FFC65C; --amber-soft: #FFF4DE;
  --gold: #8A5A00; --gold-soft: #FFF4DE;
  --pos: #0E8F62; --pos-soft: #E6F6EF; --neg: #D93F3F;
  --coral: #C2412D; --coral-soft: #FDEEEA; --blue-soft: #E8EEF8;
  --st-diri: #1F4380; --st-temukan: #1F4380; --st-rancang: #1F4380; --st-jual: #1F4380; --st-jaga: #1F4380;
  --c1: #10264F; --c2: #3D5E96; --c3: #F5A524; --c4: #8EA5CC; --c5: #C9D5EA;
  --stage-bg: radial-gradient(120% 120% at 0% 0%, #1E3F78 0%, #10264F 50%, #0A1A3A 100%);
  --r-sm: 10px; --r: 16px; --r-lg: 22px; --r-xl: 28px;
  --shadow-sm: 0 1px 2px rgba(10,26,58,.06);
  --shadow: 0 1px 2px rgba(10,26,58,.05), 0 12px 32px -14px rgba(10,26,58,.20);
  --shadow-lg: 0 2px 4px rgba(10,26,58,.05), 0 28px 56px -20px rgba(10,26,58,.30);
  --font: 'Jakarta', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --ease: cubic-bezier(.2,.7,.2,1);
  --wrap: 1180px; --narrow: 720px; --read: 680px; --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 20px); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
svg { max-width: 100%; }
a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-ink); text-decoration-thickness: 2px; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 .5em; color: var(--ink); font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3rem); letter-spacing: -0.035em; font-weight: 800; }
h2 { font-size: clamp(1.35rem, 1.15rem + .9vw, 1.8rem); }
h3 { font-size: 1.12rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: var(--narrow); }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.icon { width: 1.1em; height: 1.1em; flex: none; vertical-align: -0.18em; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip:focus { top: 12px; }
main { min-height: 60vh; outline: none; }
.js .no-js-only { display: none; }
/* Tanpa JavaScript: tampilkan semua umpan balik interaksi */
.no-js .ix [hidden], .no-js .step[hidden], .no-js .lesson-end[hidden] { display: block !important; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.9); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; letter-spacing: -0.03em; font-size: 1.1rem; margin-right: auto; }
.brand:hover { color: var(--ink); }
.brand-mark { color: var(--green); display: inline-flex; }
.brand-name span { color: var(--green-2); }

@media (max-width: 860px) {
  
  
  
  
  
  .no-js .header-inner { flex-wrap: wrap; padding-bottom: 8px; }
  
  
  
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 20px; border-radius: 999px; font: inherit; font-weight: 650; font-size: .97rem; line-height: 1.2; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: transform .15s var(--ease), background .15s, border-color .15s, color .15s; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .5; cursor: default; }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 6px 16px -8px rgba(10,26,58,.45); }
.btn-primary:hover { background: var(--green-ink); color: #fff; }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink-2); color: var(--ink); }
.btn-danger { background: var(--coral); color: #fff; }
.btn-danger-ghost { background: var(--surface); color: var(--coral); border-color: #EBC9BE; }

.btn-sm { min-height: 40px; padding: 8px 16px; font-size: .9rem; }
.btn-lg { min-height: 54px; padding: 14px 26px; font-size: 1.02rem; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; text-decoration: none; }
.chip { display: inline-flex; align-items: center; min-height: 36px; padding: 4px 14px; border-radius: 99px; border: 1px solid var(--line-2); background: var(--surface); font: inherit; font-size: .86rem; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.chip:hover { border-color: var(--green); color: var(--green); }

/* ---------- Umum ---------- */
.eyebrow { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--green-2); margin-bottom: 14px; }
.lead { font-size: clamp(1.06rem, 1rem + .35vw, 1.22rem); color: var(--ink-2); line-height: 1.6; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; }
.section { padding: clamp(56px, 8vw, 96px) 0; }

.section-head { max-width: 700px; margin-bottom: 32px; }
.page-head { padding: clamp(28px, 6vw, 64px) 0 clamp(20px, 4vw, 32px); }
.page-head h1 { max-width: 20ch; }
.page-cta { margin-top: 28px; display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.stage-diri { --st: var(--st-diri); } .stage-temukan { --st: var(--st-temukan); } .stage-rancang { --st: var(--st-rancang); } .stage-jual { --st: var(--st-jual); } .stage-jaga { --st: var(--st-jaga); }
.stage-chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 99px; font-size: .72rem; letter-spacing: .03em; font-weight: 700; text-transform: none; background: color-mix(in srgb, var(--st) 12%, white); color: color-mix(in srgb, var(--st) 80%, black); text-decoration: none; }
.stage-chip::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--st); }
.module-num { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.crumbs { padding-top: 16px; font-size: .84rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; color: var(--muted); }
.crumbs li:not(:last-child)::after { content: '/'; margin-left: 6px; color: var(--line-2); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--green); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink-2); font-weight: 600; }

.module-progress { font-size: .8rem; font-weight: 650; color: var(--green-2); }
.dot { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--line-2); flex: none; margin-top: 6px; }
[data-st="started"] .dot { border-color: var(--green-2); background: linear-gradient(90deg, var(--green-2) 50%, transparent 50%); }
[data-st="done"] .dot { background: var(--green); border-color: var(--green); }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Beranda ---------- */
.hero { position: relative; padding: clamp(24px, 6vw, 80px) 0 clamp(36px, 6vw, 72px); overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: -40% -20% auto auto; width: 70vw; max-width: 900px; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(31,67,128,.10), transparent 70%); pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center; }

@media (max-width: 1000px) { .hero-grid { grid-template-columns: 1fr; } }
.display { font-size: clamp(2.3rem, 1.3rem + 4vw, 4.2rem); line-height: 1.02; letter-spacing: -0.045em; max-width: 14ch; margin-bottom: 14px; }
.nowrap { white-space: nowrap; }
.display .hl { position: relative; color: var(--green-2); }
.display .hl::after { content: ''; position: absolute; left: -.04em; right: -.06em; bottom: .04em; height: .22em; background: var(--amber); border-radius: .1em; z-index: -1; opacity: .85; }
.display { position: relative; z-index: 0; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 650; color: var(--ink-2); background: var(--paper-2); border: 1px solid var(--line); padding: 6px 12px; border-radius: 99px; margin-bottom: 18px; }
.hero-badge span { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(245,165,36,.18); }
.hero-rotate { font-size: clamp(1.2rem, 1rem + 1vw, 1.65rem); font-weight: 700; letter-spacing: -0.02em; color: var(--ink-2); margin: 0 0 12px; line-height: 1.3; }
.rot { display: inline-block; position: relative; color: var(--ink); }
.rot::after { content: ''; position: absolute; left: 0; right: 0; bottom: -.12em; height: 3px; border-radius: 3px; background: var(--amber); }
.rot-word { display: inline-block; }
.rot-word.out { animation: rotOut .35s var(--ease) both; }
.rot-word.in { animation: rotIn .45s var(--ease) both; }
@keyframes rotOut { to { opacity: 0; transform: translateY(-.5em); } }
@keyframes rotIn { from { opacity: 0; transform: translateY(.5em); } to { opacity: 1; transform: none; } }

.hero-sub { font-size: clamp(1rem, .95rem + .3vw, 1.12rem); color: var(--muted); max-width: 48ch; margin-bottom: 26px; }

@media (max-width: 600px) {
  .hero { padding-top: 14px; }
  .display { font-size: clamp(2.1rem, 1.4rem + 5vw, 2.6rem); margin-bottom: 10px; }
  .hero-badge { font-size: .74rem; margin-bottom: 12px; }
  .hero-sub { font-size: .93rem; line-height: 1.5; margin-bottom: 14px; }
  .hero .eyebrow { margin-bottom: 8px; font-size: .68rem; }
  
  
  
  
  
  
  
}
.how { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

 

  

input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 32px; background: transparent; cursor: pointer; --rng: var(--green-2); --rng-bg: var(--line); }

input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--rng) var(--fill, 33%), var(--rng-bg) var(--fill, 33%)); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 99px; background: var(--rng-bg); }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 99px; background: var(--rng); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: #fff; margin-top: -11px; box-shadow: 0 1px 2px rgba(0,0,0,.2), 0 3px 10px rgba(0,0,0,.2); border: 0; }
input[type="range"]::-moz-range-thumb { width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 1px 2px rgba(0,0,0,.2), 0 3px 10px rgba(0,0,0,.2); }
input[type="range"]:disabled { cursor: default; opacity: .7; }

/* ---------- Prosa ---------- */
.prose { max-width: 64ch; color: var(--ink-2); }
.prose p, .prose li { font-size: 1.0625rem; line-height: 1.75; }
.prose-lg p, .prose-lg li { font-size: clamp(1.05rem, 1rem + .25vw, 1.14rem); }
.prose h2 { margin-top: 1.8em; }
.prose strong { color: var(--ink); font-weight: 700; }
.prose ul, .prose ol { padding-left: 1.25em; margin: 0 0 1.1em; }
.prose li { margin-bottom: .5em; padding-left: .2em; }
.prose ul li::marker { color: var(--green-2); }
.prose ol li::marker { color: var(--green-2); font-weight: 700; }
.prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--line-2); }
.table-wrap { overflow-x: auto; margin: 1.4em 0; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.prose table { border-collapse: collapse; width: 100%; font-size: .94rem; min-width: 420px; }
.prose th, .prose td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.5; }
.prose thead th { background: var(--soft-2); font-weight: 700; color: var(--ink); font-size: .85rem; }
.prose tbody tr:last-child td { border-bottom: 0; }
/* Callout: hanya dua gaya utama — sorotan (intinya/ingat) dan catatan kecil */
.callout { margin: 1.4em 0; }
.callout p:last-child { margin-bottom: 0; }
.callout-label { font-size: .72rem !important; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 4px !important; }
.callout-intinya, .callout-ingat { padding: 16px 20px; border-radius: var(--r); background: var(--amber-soft); border-left: 4px solid var(--amber); }
.callout-intinya .callout-label, .callout-ingat .callout-label { color: var(--gold); }
.callout-intinya p, .callout-ingat p { color: var(--ink); font-weight: 600; font-size: 1.08rem !important; line-height: 1.55 !important; }
.callout-ilustrasi, .callout-catatan, .callout-tips, .callout-perhatian { font-size: .9rem; color: var(--muted); }
.callout-ilustrasi .callout-label, .callout-catatan .callout-label, .callout-tips .callout-label { display: inline; color: var(--muted); margin-right: 6px; }
.callout-ilustrasi p, .callout-catatan p, .callout-tips p { display: inline; font-size: .9rem !important; color: var(--muted); }
.callout-perhatian { padding: 14px 18px; border-radius: var(--r); background: var(--coral-soft); color: #6E2B1A; }
.callout-coba { padding: 16px 20px; border-radius: var(--r); background: var(--surface); border: 1px dashed var(--line-2); }
.callout-coba .callout-label { color: var(--gold); }
.callout-coba p { color: var(--ink-2); }

/* ---------- Katalog & modul ---------- */

input[type="search"], input[type="text"] { font: inherit; font-size: 1rem; color: var(--ink); background: var(--surface); border: 1px solid var(--line-2); border-radius: 14px; padding: 12px 16px; min-height: 48px; width: 100%; }
input[type="search"]:focus, input[type="text"]:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(31,67,128,.14); }

 

 .jr-lessons a { display: flex; gap: 10px; align-items: flex-start; padding: 7px 12px; border-radius: 10px; text-decoration: none; color: var(--ink-2); font-size: .9rem; line-height: 1.4; }
 .jr-lessons a:hover { background: var(--paper-2); color: var(--ink); }
.module-goal { padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 20px 0 24px; color: var(--ink-2); }
.lesson-list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
.lesson-row a { display: flex; align-items: center; gap: 16px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: inherit; transition: box-shadow .2s; }
.lesson-row a:hover { box-shadow: var(--shadow); color: inherit; }
.lesson-idx { width: 36px; height: 36px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--paper-2); font-weight: 800; color: var(--ink-2); flex: none; }
.lesson-row[data-st="done"] .lesson-idx { background: var(--green); color: #fff; }
.lesson-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lesson-text strong { font-size: 1.03rem; }
.lesson-text span { color: var(--muted); font-size: .92rem; }
.lesson-meta { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; font-size: .8rem; flex: none; }
.lesson-status { font-weight: 650; color: var(--green-2); }

/* ---------- Pilih jalur & halaman jalur ---------- */

.path-body > * + * { margin-top: 28px; }
.next-card { position: relative; background: var(--stage-bg); color: #fff; border-radius: var(--r-xl); padding: clamp(22px, 4vw, 32px); box-shadow: var(--shadow-lg); overflow: hidden; }
.next-card::after { content: ''; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,255,.06); pointer-events: none; }
.next-kicker { font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--amber-2); margin-bottom: 8px; }
.next-module { color: #C9D5EA; font-size: .92rem; margin-bottom: 2px; }
.next-lesson { font-size: clamp(1.3rem, 1.1rem + 1vw, 1.7rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; margin-bottom: 18px; color: #fff; }
.next-progress { height: 6px; background: rgba(255,255,255,.18); border-radius: 99px; overflow: hidden; }
.next-progress span { display: block; height: 100%; width: 0; background: var(--amber); border-radius: inherit; transition: width .6s var(--ease); }
.next-meta { font-size: .86rem; color: #C9D5EA; margin: 8px 0 20px; }
.next-card .btn-primary { background: var(--amber); color: var(--ink); box-shadow: none; }
.next-card .btn-primary:hover { background: var(--amber-2); color: var(--ink); }

.journey-list h2 { font-size: 1.25rem; margin-bottom: 2px; }
.jr { list-style: none; margin: 16px 0 0; padding: 0; }
.jr-module { display: flex; gap: 14px; position: relative; padding-bottom: 12px; }
.jr-module:not(:last-child)::before { content: ''; position: absolute; left: 17px; top: 40px; bottom: 0; width: 2px; background: var(--line); }
.jr-num { width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: .9rem; background: var(--surface); border: 2px solid var(--line-2); color: var(--muted); flex: none; position: relative; z-index: 1; }
.jr-module.done .jr-num { background: var(--green); border-color: var(--green); color: var(--amber-2); }
.jr-module.current .jr-num { border-color: var(--amber); background: var(--amber); color: var(--ink); box-shadow: 0 0 0 5px rgba(31,67,128,.14); }
.jr-body { flex: 1; min-width: 0; padding: 4px 0 8px; }
.jr-title { text-decoration: none; color: var(--ink); font-weight: 700; font-size: 1.04rem; display: block; }
.jr-title:hover { color: var(--green); }
.jr-meta { display: flex; gap: 12px; font-size: .8rem; color: var(--muted); margin: 2px 0 0; }
.jr-lessons { list-style: none; margin: 8px 0 0 -12px; padding: 0; display: none; }
.jr-module.current .jr-lessons { display: block; }
.no-js .jr-lessons { display: block; }
.jr-module.current .jr-body { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px 10px; }

/* ---------- Pelajaran ---------- */
.stepbar { position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 60; pointer-events: none; background: transparent; }
.stepbar-fill { height: 100%; width: 100%; background: var(--amber); transform-origin: 0 50%; transform: scaleX(0); transition: transform .5s var(--ease); }
.lesson-wrap { max-width: calc(var(--read) + 40px); }
.lesson-head { padding: 14px 0 4px; }

.meta-note { color: var(--gold); text-transform: none; letter-spacing: 0; font-weight: 650; }
.page-lesson .crumbs ol { flex-wrap: nowrap; overflow: hidden; white-space: nowrap; }
.page-lesson .crumbs li { flex: none; }
.page-lesson .crumbs li:last-child { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.page-lesson .crumbs li:last-child span { display: inline; }
.lesson-head .eyebrow { color: var(--muted); gap: 6px 10px; font-size: .72rem; }
.lesson-head .eyebrow .icon { width: 14px; height: 14px; }
.lesson-meta-line { gap: 4px 14px; }
.lesson-meta-line span { display: inline-flex; align-items: center; gap: 5px; }
.lesson-head h1 { font-size: clamp(1.85rem, 1.3rem + 2.3vw, 2.7rem); }
.lesson-question { font-size: clamp(1.08rem, 1rem + .4vw, 1.25rem); color: var(--muted); margin: 0; }

.show-all { margin-top: 4px; font: inherit; font-size: .85rem; font-weight: 600; color: var(--muted); background: none; border: 0; padding: 6px 0; min-height: 36px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.show-all:hover { color: var(--green); }
.steps { padding-top: 8px; }
.step { padding: 30px 0 10px; animation: rise .45s var(--ease) both; }
.step + .step { border-top: 1px solid var(--line); }
.step-kicker { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--st, var(--green)); margin-bottom: 6px; }
.step h2 { font-size: clamp(1.35rem, 1.15rem + .9vw, 1.75rem); outline: none; }
.step .prose { max-width: none; }
.btn-step { margin: 18px 0 8px; min-width: 160px; min-height: 52px; font-size: 1rem; }
.btn-step::after { content: '↓'; margin-left: 2px; }
/* Akhir pelajaran */
.lesson-end { margin: 24px 0 0; padding: clamp(22px, 4vw, 32px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow); animation: rise .5s var(--ease) both; outline: none; }
.end-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--green-2); margin-bottom: 10px; outline: none; }
.end-takeaway { font-size: clamp(1.15rem, 1.05rem + .5vw, 1.35rem); font-weight: 700; color: var(--ink); line-height: 1.45; letter-spacing: -0.01em; }
.end-prose { max-width: none; }
.end-prose ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.end-prose ul li { position: relative; padding-left: 28px; margin: 0; }
.end-prose ul li::before { content: ''; position: absolute; left: 0; top: 7px; width: 18px; height: 18px; border-radius: 50%; background: var(--amber) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A1A3A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center/12px no-repeat; }
.module-recap { margin: 20px 0 4px; padding: 18px 20px; border-radius: var(--r); background: var(--soft-2); }
.recap-title { font-weight: 800; color: var(--green-ink); margin-bottom: 10px; }
.module-recap ol { margin: 0; padding-left: 1.2em; display: grid; gap: 10px; }
.module-recap li strong { display: block; font-size: .95rem; }
.module-recap li span { display: block; font-size: .9rem; color: var(--muted); line-height: 1.5; }
.end-nav { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 10px; }
.end-nav .btn-primary { max-width: 100%; white-space: normal; text-align: left; }
.end-foot a { text-decoration: none; }

/* ---------- Interaksi mikro ---------- */
.ix { margin: 1.6em 0; padding: clamp(18px, 3.5vw, 26px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow); }
.ix-label { display: inline-block; font-size: .7rem !important; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink) !important; background: var(--amber); padding: 3px 10px; border-radius: 99px; margin-bottom: 12px !important; line-height: 1.6 !important; }
.ix-context { color: var(--ink-2); margin-bottom: 8px !important; }
.ix-q { font-size: 1.12rem !important; font-weight: 700; color: var(--ink); line-height: 1.45 !important; margin-bottom: 16px !important; }
.ix-options { display: grid; gap: 10px; }
.ix-opt { display: flex; gap: 12px; align-items: flex-start; text-align: left; padding: 14px 16px; min-height: 48px; background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--r); font: inherit; font-size: 1rem; font-weight: 550; color: var(--ink); cursor: pointer; line-height: 1.45; transition: border-color .2s, background .2s; }
.ix-opt:hover:not(:disabled) { border-color: var(--line-2); background: var(--surface); }
.ix-opt:disabled { cursor: default; }
.opt-key { width: 26px; height: 26px; border-radius: 8px; background: var(--surface); border: 1.5px solid var(--line-2); display: inline-flex; align-items: center; justify-content: center; font-size: .78rem; font-weight: 800; color: var(--muted); flex: none; }
.ix-opt[aria-pressed="true"], .ix-opt[aria-pressed="true"]:hover:not(:disabled) { border-color: var(--green); background: var(--soft-2); }
.ix-opt[aria-pressed="true"] .opt-key { background: var(--green); border-color: var(--green); color: #fff; }
.ix-fbs { margin-top: 14px; }
.ix-fb { padding: 14px 16px; border-radius: var(--r); background: var(--paper); border-left: 4px solid var(--line-2); animation: rise .3s var(--ease) both; }
.ix-fb.is-ok { background: var(--pos-soft); border-left-color: var(--pos); }
.ix-fb.is-alt { background: var(--amber-soft); border-left-color: var(--amber); }
.ix-fb p { margin: 0; font-size: 1rem !important; }
.ix-fb-title { display: flex; gap: 8px; align-items: center; font-weight: 800; font-size: .82rem !important; letter-spacing: .02em; color: var(--ink); margin-bottom: 4px !important; }
.ix-fb-title .opt-key { width: 22px; height: 22px; font-size: .7rem; }
.no-js .ix-fb + .ix-fb { margin-top: 8px; }
.ix-lesson { margin-top: 10px; padding: 12px 16px; border-radius: var(--r); background: var(--green); border-left: 4px solid var(--amber); animation: rise .35s .05s var(--ease) both; }
.ix-lesson p { margin: 0; color: #fff !important; font-size: .98rem !important; }
.tebak-control { padding: 8px 0 4px; }
.tebak-value { display: block; font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1.2; margin-bottom: 6px; }
.tebak-scale { display: flex; justify-content: space-between; font-size: .78rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.tebak-lock { margin-top: 12px; }
.ix-reveal { margin-top: 14px; padding: 14px 16px; border-radius: var(--r); background: var(--soft-2); border-left: 4px solid var(--green-2); animation: rise .3s var(--ease) both; }
.ix-reveal p { margin: 0 0 .4em; }
.ix-reveal p:last-child { margin: 0; }
.tebak-result strong { color: var(--green-ink); }
.pilah-list { list-style: none; padding: 0 !important; margin: 0 !important; display: grid; gap: 10px; }
.pilah-item { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; align-items: center; padding: 12px 14px !important; margin: 0 !important; border: 1.5px solid var(--line); border-radius: var(--r); background: var(--paper); transition: border-color .2s, background .2s; }
.pilah-item.is-ok { border-color: #9CD8BF; background: var(--pos-soft); }
.pilah-item.is-no { border-color: #EBC0B2; background: #FFF8F5; }
.pilah-text { font-weight: 650; color: var(--ink); margin: 0 !important; line-height: 1.4 !important; }
.pilah-why { grid-column: 1 / -1; }
@media (max-width: 480px) { .pilah-item { grid-template-columns: 1fr; } }
.pilah-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.pilah-btns button { font: inherit; font-size: .86rem; font-weight: 650; padding: 8px 12px; white-space: nowrap; min-height: 40px; border-radius: 99px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink-2); cursor: pointer; }
.pilah-btns button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.pilah-item.is-ok button[aria-pressed="true"] { background: var(--green); border-color: var(--green); }
.pilah-item.is-no button[aria-pressed="true"] { background: var(--coral); border-color: var(--coral); }
.pilah-why { margin: 8px 0 0 !important; font-size: .93rem !important; color: var(--ink-2); }
.pilah-done { margin: 12px 0 0 !important; font-weight: 650; color: var(--green-ink); }
.buka-btn { margin-top: 2px; }

/* ---------- Visual ---------- */
.vis { margin: 1.6em 0; }
.vis-title { font-size: .95rem; font-weight: 700; color: var(--ink); margin-bottom: 12px; }
.vis-note { font-size: .86rem !important; color: var(--muted); margin: 10px 0 0 !important; }
.batang-svg { display: block; width: 100%; height: 44px; border-radius: 10px; }
.c1 { fill: var(--c1); background: var(--c1); } .c2 { fill: var(--c2); background: var(--c2); } .c3 { fill: var(--c3); background: var(--c3); } .c4 { fill: var(--c4); background: var(--c4); } .c5 { fill: var(--c5); background: var(--c5); }
.c-rest { fill: var(--amber); background: var(--amber); }

.vis-legend { list-style: none; padding: 0 !important; margin: 12px 0 0 !important; display: grid; gap: 2px; }
.vis-legend li { display: flex; align-items: center; gap: 10px; padding: 6px 0 !important; margin: 0 !important; border-bottom: 1px dashed var(--line); font-size: .95rem !important; line-height: 1.4 !important; }
.vis-legend .sw { width: 12px; height: 12px; border-radius: 3px; flex: none; }
.vis-legend .lg-val { margin-left: auto; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ink); }
.vis-legend .is-rest { border-bottom: 0; font-weight: 700; color: var(--green-ink); }

.rentang-rows { list-style: none; padding: 0 !important; margin: 0 !important; display: grid; gap: 4px; }
.rentang-rows li { display: grid; grid-template-columns: 1fr auto; gap: 0 12px; margin: 0 !important; padding: 6px 0 !important; font-size: .93rem !important; line-height: 1.35 !important; }
.rg-label { color: var(--ink-2); }
.rg-val { font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ink); text-align: right; }
.rg-track { grid-column: 1 / -1; width: 100%; height: auto; display: block; margin-top: 4px; }
.rg-track .track { fill: var(--line); }
.rg-track .band { fill: #DCE5F3; }
.rg-track circle { fill: var(--muted); }
.rentang-rows .is-anda .rg-label, .rentang-rows .is-anda .rg-val { color: var(--green-ink); font-weight: 800; }
.rentang-rows .is-anda circle { fill: var(--amber); stroke: var(--ink); stroke-width: 1.5; }
.rentang-rows .is-redup { opacity: .55; }
.rentang-rows .is-redup circle { fill: #fff; stroke: var(--muted); stroke-width: 1.2; }
.banding-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.banding-col { padding: 18px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); text-align: center; }
.banding-col p { margin: 0 !important; }
.bd-title { font-weight: 800; font-size: 1.1rem !important; color: var(--ink); }
.bd-sub { font-size: .82rem !important; color: var(--muted); margin-bottom: 10px !important; }
.bd-row { font-variant-numeric: tabular-nums; color: var(--ink-2); font-size: .95rem !important; }
.bd-result { margin-top: 8px !important; font-size: 2rem !important; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); line-height: 1.2 !important; }
@media (max-width: 420px) { .banding-col { padding: 14px 10px; } .bd-result { font-size: 1.6rem !important; } }

/* alur, corong, kotak */
.alur-steps { list-style: none; padding: 0 !important; margin: 0 !important; display: grid; gap: 0; }
.alur-steps li { display: flex; gap: 14px; margin: 0 !important; padding: 0 0 14px !important; position: relative; }
.alur-steps li:not(:last-child)::before { content: ''; position: absolute; left: 15px; top: 34px; bottom: 2px; width: 2px; background: var(--line); }
.alur-num { width: 32px; height: 32px; border-radius: 50%; flex: none; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: .85rem; background: var(--green); color: #fff; position: relative; z-index: 1; }
.alur-text { display: flex; flex-direction: column; padding-top: 4px; }
.alur-text strong { color: var(--ink); line-height: 1.35; }
.alur-text span { font-size: .93rem; color: var(--muted); line-height: 1.5; }
.corong-rows { list-style: none; padding: 0 !important; margin: 0 !important; }
.corong-rows li { margin: 0 !important; padding: 0 !important; }
.corong-row { display: flex; justify-content: space-between; gap: 12px; font-size: .95rem; }
.corong-label { color: var(--ink-2); }
.corong-val { font-weight: 800; font-variant-numeric: tabular-nums; color: var(--ink); }
.corong-bar { display: block; width: 100%; height: auto; margin: 4px 0 2px; }
.corong-bar rect { fill: var(--green-2); }
.corong-rows li:nth-child(2) rect { fill: #2F548F; } .corong-rows li:nth-child(3) rect { fill: #5F7FB4; } .corong-rows li:nth-child(n+4) rect { fill: #8EA5CC; }
.corong-rate { font-size: .78rem !important; color: var(--muted); margin: 6px 0 2px !important; text-align: center; }
.corong-rate::before { content: '↓ '; }
.kotak-grid { list-style: none; padding: 0 !important; margin: 0 !important; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.kotak-grid.one { grid-template-columns: 1fr; }
.kotak-grid li { margin: 0 !important; padding: 12px 14px !important; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); }
.kotak-grid li.tag-asumsi { border-style: dashed; }
.kotak-grid li.tag-cek { border-style: dashed; background: #FFFBF3; }
.kotak-title { font-weight: 700; color: var(--ink); font-size: .92rem !important; margin: 0 0 2px !important; line-height: 1.35 !important; display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; }
.kotak-tag { font-size: .66rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: var(--paper-2); padding: 1px 7px; border-radius: 99px; }
.tag-fakta .kotak-tag { color: var(--pos); background: var(--pos-soft); }
.tag-cek .kotak-tag { color: var(--gold); background: var(--gold-soft); }
.kotak-body { font-size: .88rem !important; color: var(--ink-2); margin: 0 !important; line-height: 1.5 !important; }
@media (max-width: 420px) { .kotak-grid { grid-template-columns: 1fr; } }

/* ---------- Motion (animasi penjelas) ---------- */
.motion { margin: 1.8em 0; }
.mo-label { display: flex; align-items: center; gap: 8px; font-size: .95rem !important; font-weight: 700; color: var(--ink); margin: 0 0 10px !important; line-height: 1.35 !important; }
.mo-label > span { display: inline-flex; align-items: center; gap: 6px; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); background: var(--amber); padding: 3px 10px; border-radius: 99px; flex: none; }
.mo-label > span::before { content: ''; width: 0; height: 0; border-left: 6px solid currentColor; border-top: 4px solid transparent; border-bottom: 4px solid transparent; }
.no-js .mo-stage { display: none; }
.mo-fallback { margin: 0 !important; padding-left: 1.3em !important; }
.mo-stage { position: relative; container-type: inline-size; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; background: var(--stage-bg); color: #fff; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; padding: 4.2cqi 4.6cqi 3.6cqi; isolation: isolate; }
.mo-stage::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 6cqi 6cqi; mask-image: radial-gradient(120% 90% at 100% 0%, #000 0%, transparent 75%); -webkit-mask-image: radial-gradient(120% 90% at 100% 0%, #000 0%, transparent 75%); }
@media (max-width: 640px) { .mo-stage { aspect-ratio: 4 / 5; padding: 6cqi 6cqi 5cqi; } }
.mo-scene { flex: 1; min-height: 0; position: relative; }
.mo-cap { margin: 0 !important; padding-top: 2.4cqi; border-top: 1px solid rgba(255,255,255,.14); font-size: clamp(14px, 2.6cqi, 26px) !important; line-height: 1.35 !important; font-weight: 600; color: #fff !important; min-height: 2.8em; text-wrap: balance; }
@media (max-width: 640px) { .mo-cap { font-size: clamp(14px, 4.6cqi, 22px) !important; } }
.mo-cap.show { animation: moCap .5s var(--ease) both; }
@keyframes moCap { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.mo-controls { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.mo-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 14px 6px 10px; border-radius: 99px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); font: inherit; font-size: .86rem; font-weight: 700; cursor: pointer; flex: none; }
.mo-btn:hover { border-color: var(--ink); }
.mo-btn .icon { width: 18px; height: 18px; }
.mo-segs { flex: 1; display: flex; gap: 4px; }
.mo-seg { flex: 1; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; display: flex; align-items: center; }
.mo-seg span { display: block; width: 100%; height: 4px; border-radius: 99px; background: var(--line); position: relative; overflow: hidden; }
.mo-seg span::after { content: ''; position: absolute; inset: 0; background: var(--green); transform-origin: left; transform: scaleX(0); }
.mo-seg.done span::after, .mo-seg.now span::after { transform: scaleX(1); }
.mo-seg.now.run span::after { animation: moSeg 2.8s linear both; }
@keyframes moSeg { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.mo-seg:focus-visible span { outline: 2px solid var(--amber); outline-offset: 3px; }
/* adegan: potong */
.mo-potong { display: flex; flex-direction: column; justify-content: center; gap: 3cqi; }
.mp-head { display: flex; flex-direction: column; }
.mp-label { font-size: clamp(11px, 1.7cqi, 15px); letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: #A9BBDD; }
.mp-value { font-size: clamp(30px, 8.5cqi, 84px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; transition: color .4s; }
.mo-potong.done .mp-value { color: var(--amber); }
.mp-bar { display: flex; gap: .5cqi; height: clamp(26px, 6cqi, 56px); }
.mp-seg { flex-basis: 0; border-radius: 1.2cqi; transition: transform .6s var(--ease), opacity .6s, background .4s, box-shadow .4s; }
.mp-seg.s0 { background: #8EA5CC; } .mp-seg.s1 { background: #6F88B8; } .mp-seg.s2 { background: #A9BBDD; } .mp-seg.s3 { background: #5A74A6; }
.mp-seg.out { opacity: .16; transform: translateY(1.6cqi) scaleY(.7); }
.mp-rest { background: transparent; box-shadow: inset 0 0 0 2px rgba(245,165,36,.7); }
.mp-rest.lit { background: var(--amber); box-shadow: inset 0 0 0 2px var(--amber), 0 0 0 .5cqi rgba(245,165,36,.25), 0 0 4cqi rgba(245,165,36,.45); }
.mp-list { list-style: none; margin: 0 !important; padding: 0 !important; display: grid; grid-template-columns: 1fr 1fr; gap: .6cqi 3cqi; }
.mp-list li { display: flex; justify-content: space-between; gap: 2cqi; margin: 0 !important; padding: .6cqi 0 !important; border-bottom: 1px solid rgba(255,255,255,.1); font-size: clamp(11px, 1.8cqi, 16px) !important; color: #C9D5EA !important; line-height: 1.3 !important; opacity: 0; transform: translateX(-1cqi); transition: opacity .45s, transform .45s var(--ease); }
.mp-list li.in { opacity: 1; transform: none; }
.mp-list strong { color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 640px) { .mp-list { grid-template-columns: 1fr; } .mp-list li { font-size: clamp(11px, 3.3cqi, 15px) !important; } .mp-label { font-size: 3cqi; } .mp-value { font-size: 13cqi; } .mp-bar { height: 10cqi; } }
/* adegan: impas */
.mo-impas { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4cqi; align-items: stretch; }
.mi-left { display: flex; flex-direction: column; justify-content: center; }
.mi-g { display: flex; flex-direction: column; }
.mi-left p { margin: 0 !important; }
.mi-k { font-size: clamp(11px, 1.6cqi, 14px) !important; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: #A9BBDD !important; margin-top: 2cqi !important; }
.mi-num { font-size: clamp(32px, 9cqi, 88px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.mi-unit { font-size: clamp(14px, 2.4cqi, 22px); color: #C9D5EA; font-weight: 600; }
.mi-sum { font-size: clamp(18px, 3.6cqi, 34px) !important; font-weight: 800; font-variant-numeric: tabular-nums; color: #fff !important; line-height: 1.2 !important; }
.mo-impas.hit .mi-num { color: var(--amber); }
.mi-chart { position: relative; border-radius: 1.4cqi; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); overflow: hidden; }
.mi-fill, .mi-over { position: absolute; left: 12%; right: 12%; bottom: 0; height: 0; transition: height .8s var(--ease); }
.mi-fill { background: linear-gradient(180deg, #6F88B8, #3D5E96); border-radius: .8cqi .8cqi 0 0; }
.mi-over { background: linear-gradient(180deg, #5FE0A8, #1FB37A); border-radius: .8cqi .8cqi 0 0; }
.mi-line { position: absolute; left: 0; right: 0; height: 0; border-top: 2px dashed rgba(255,255,255,.7); transition: border-color .4s; }
.mi-line span { position: absolute; right: 2cqi; bottom: .8cqi; font-size: clamp(10px, 1.6cqi, 14px); font-weight: 700; color: #fff; background: rgba(10,26,58,.75); padding: .3cqi 1cqi; border-radius: 99px; white-space: nowrap; }
.mo-impas.hit .mi-line { border-top-color: var(--amber); }
.mi-chip { position: absolute; left: 50%; top: 6%; transform: translate(-50%, -6px) scale(.9); opacity: 0; background: var(--amber); color: var(--ink); font-weight: 800; font-size: clamp(11px, 1.8cqi, 16px); padding: .5cqi 1.8cqi; border-radius: 99px; transition: opacity .4s, transform .5s var(--ease); }
.mo-impas.hit .mi-chip { opacity: 1; transform: translate(-50%, 0) scale(1); }
@media (max-width: 640px) { .mo-impas { grid-template-columns: 1fr; grid-template-rows: auto 1fr; gap: 3cqi; } .mi-left { display: grid; grid-template-columns: 1fr 1fr; gap: 0 4cqi; } .mi-k { font-size: 3cqi !important; margin-top: 0 !important; } .mi-num { font-size: 12cqi; } .mi-unit { font-size: 4cqi; } .mi-sum { font-size: 6cqi !important; } .mi-line span { font-size: 3cqi; } }
/* adegan: bagi */
.mo-bagi { display: flex; flex-direction: column; justify-content: center; gap: 3cqi; }
.mb-rows { display: grid; gap: 2cqi; }
.mb-row { display: grid; grid-template-columns: 26% 1fr; align-items: center; gap: 2cqi; padding: 1cqi; border-radius: 1.4cqi; border: 1px solid transparent; transition: border-color .4s, background .4s; }
.mb-row.focus { border-color: rgba(245,165,36,.8); background: rgba(245,165,36,.08); }
.mb-k { font-size: clamp(11px, 1.8cqi, 16px); color: #C9D5EA; line-height: 1.3; }
.mb-k strong { display: block; color: #fff; font-size: clamp(14px, 2.8cqi, 26px); font-variant-numeric: tabular-nums; }
.mb-track { height: clamp(22px, 5cqi, 46px); }
.mb-bar { height: 100%; border-radius: 1cqi; display: flex; overflow: hidden; }
.mb-biaya { background: #6F88B8; }
.mb-harga { width: 100%; }
.mb-base { flex-basis: 0; background: #6F88B8; }
.mb-sel { flex-basis: 0; background: rgba(245,165,36,.4); color: var(--ink); font-weight: 800; font-size: clamp(10px, 1.7cqi, 15px); display: flex; align-items: center; justify-content: center; transition: background .4s, box-shadow .4s; }
.mo-bagi:not([data-hl="none"]) .mb-sel { background: var(--amber); }
.mo-bagi[data-hl="sel"] .mb-sel { box-shadow: 0 0 3cqi rgba(245,165,36,.6); }
.mb-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 2cqi; }
.mb-card { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 2cqi; padding: 1.6cqi 2cqi; border-radius: 1.4cqi; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); opacity: .18; transform: translateY(1cqi); transition: opacity .5s, transform .5s var(--ease); }
.mb-card.in { opacity: 1; transform: none; }
.mb-card span { font-weight: 800; font-size: clamp(12px, 2cqi, 18px); }
.mb-card small { grid-column: 1; font-size: clamp(11px, 1.6cqi, 14px); color: #C9D5EA; font-variant-numeric: tabular-nums; }
.mb-card strong { grid-column: 2; grid-row: 1 / span 2; font-size: clamp(22px, 5cqi, 46px); font-weight: 800; color: var(--amber); letter-spacing: -0.03em; }
@media (max-width: 640px) { .mb-row { grid-template-columns: 1fr; gap: 1cqi; } .mb-k { font-size: 3.2cqi; } .mb-k strong { display: inline; font-size: 4.4cqi; margin-left: 1cqi; } .mb-track { height: 8cqi; } .mb-cards { grid-template-columns: 1fr; } .mb-card span { font-size: 4cqi; } .mb-card small { font-size: 3.2cqi; } .mb-card strong { font-size: 9cqi; } }
/* adegan: diskon */
.mo-diskon { display: grid; grid-template-columns: 1fr 1fr; gap: 3cqi; align-items: center; padding-top: 4cqi; }
.md-col { padding: 2cqi 2.4cqi; border-radius: 1.6cqi; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); transition: opacity .5s; }
.md-col.dim { opacity: .3; }
.md-col p { margin: 0 !important; }
.md-title { font-size: clamp(10px, 1.6cqi, 14px) !important; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; color: #A9BBDD !important; margin-bottom: 1.2cqi !important; }
.md-b .md-title { color: var(--amber) !important; }
.md-row { display: flex; justify-content: space-between; align-items: baseline; gap: 2cqi; font-size: clamp(11px, 1.8cqi, 16px) !important; color: #C9D5EA !important; padding: .5cqi 0 !important; line-height: 1.3 !important; }
.md-row strong { color: #fff; font-size: clamp(13px, 2.4cqi, 22px); font-variant-numeric: tabular-nums; }
.md-track { height: clamp(8px, 1.6cqi, 14px); border-radius: 99px; background: rgba(255,255,255,.1); margin: .4cqi 0 1cqi; }
.md-sisa { display: block; height: 100%; width: 100%; border-radius: inherit; background: #5FE0A8; transition: width .8s var(--ease); }
.md-dots { display: flex; flex-wrap: wrap; gap: .8cqi; margin-top: 1cqi; min-height: 3cqi; }
.md-dots i { width: clamp(8px, 1.9cqi, 16px); height: clamp(8px, 1.9cqi, 16px); border-radius: 50%; background: #8EA5CC; opacity: 0; transform: scale(.4); transition: opacity .4s, transform .4s var(--ease); }
.md-dots i.on { opacity: 1; transform: none; }
.md-dots i.extra { background: var(--amber); }
.md-legend { position: absolute; left: 0; top: 0; font-size: clamp(10px, 1.5cqi, 13px); color: #A9BBDD; display: inline-flex; align-items: center; gap: .8cqi; }
.md-legend i { width: clamp(8px, 1.6cqi, 13px); height: clamp(8px, 1.6cqi, 13px); border-radius: 50%; background: #8EA5CC; display: inline-block; }
@media (max-width: 640px) { .md-legend { font-size: 3cqi; } .md-legend i { width: 2.8cqi; height: 2.8cqi; } }
.md-badge { position: absolute; right: 0; top: 0; background: var(--amber); color: var(--ink); font-weight: 800; font-size: clamp(12px, 2.2cqi, 20px); padding: .6cqi 2cqi; border-radius: 99px; opacity: 0; transform: scale(.8); transition: opacity .4s, transform .5s var(--ease); }
.mo-diskon.peak .md-badge { opacity: 1; transform: none; }
@media (max-width: 640px) { .mo-diskon { grid-template-columns: 1fr; gap: 2.6cqi; align-content: center; } .md-title { font-size: 3cqi !important; } .md-row { font-size: 3.4cqi !important; } .md-row strong { font-size: 4.4cqi; } .md-dots i { width: 3.4cqi; height: 3.4cqi; } .md-badge { font-size: 3.6cqi; } }

/* adegan: kas */
.mo-kas { display: flex; flex-direction: column; gap: 2cqi; }
.mk-head { display: flex; align-items: baseline; gap: 2.4cqi; }
.mk-k { font-size: clamp(11px, 1.6cqi, 14px); letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: #A9BBDD; }
.mk-num { font-size: clamp(26px, 6.4cqi, 60px); font-weight: 800; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; line-height: 1; transition: color .4s; }
.mo-kas.neg .mk-num { color: #FF8F8F; }
.mk-chart { flex: 1; position: relative; display: flex; gap: 2cqi; padding: 0 1cqi 3.4cqi; }
.mk-zero { position: absolute; left: 0; right: 0; border-top: 1px dashed rgba(255,255,255,.35); margin-bottom: 3.4cqi; }
.mk-col { flex: 1; position: relative; opacity: .18; transition: opacity .5s; }
.mk-col.on { opacity: 1; }
.mk-bar { position: absolute; left: 12%; right: 12%; border-radius: 1cqi 1cqi 0 0; background: linear-gradient(180deg, #8EA5CC, #3D5E96); transform-origin: bottom; transition: transform .6s var(--ease); }
.mk-col:not(.on) .mk-bar { transform: scaleY(.15); }
.mk-bar.neg { background: linear-gradient(0deg, #FF8F8F, #D93F3F); border-radius: 0 0 1cqi 1cqi; transform-origin: top; }
.mk-col.now .mk-bar:not(.neg) { background: linear-gradient(180deg, var(--amber-2), var(--amber)); }
.mk-lab { position: absolute; bottom: -3.4cqi; left: 0; right: 0; text-align: center; font-size: clamp(10px, 1.5cqi, 13px); color: #A9BBDD; }
.mk-col.now .mk-lab { color: #fff; font-weight: 700; }
@media (max-width: 640px) { .mk-k { font-size: 3cqi; } .mk-num { font-size: 10cqi; } .mk-lab { font-size: 3cqi; bottom: -5cqi; } .mk-chart { padding-bottom: 5cqi; } .mk-zero { margin-bottom: 5cqi; } }
/* adegan: corong */
.mo-corong { display: flex; flex-direction: column; justify-content: center; gap: 1.2cqi; }
.mc-row { opacity: .12; transition: opacity .5s; }
.mc-row.on { opacity: 1; }
.mc-rate { display: block; text-align: center; font-size: clamp(10px, 1.6cqi, 14px); font-weight: 700; color: var(--amber-2); margin-bottom: .6cqi; }
.mc-line { display: grid; grid-template-columns: 26% 1fr 14%; align-items: center; gap: 2cqi; }
.mc-label { font-size: clamp(11px, 1.8cqi, 16px); color: #C9D5EA; }
.mc-bar { justify-self: center; height: clamp(18px, 4.6cqi, 42px); border-radius: 99px; background: linear-gradient(90deg, #3D5E96, #8EA5CC, #3D5E96); transform: scaleX(.05); transition: transform .8s var(--ease), background .4s; }
.mc-row.on .mc-bar { transform: scaleX(1); }
.mc-row.now .mc-bar, .mo-corong.end .mc-row:last-child .mc-bar { background: linear-gradient(90deg, #E0901A, var(--amber-2), #E0901A); }
.mc-n { text-align: right; font-size: clamp(14px, 3cqi, 28px); font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .mc-line { grid-template-columns: 1fr auto; } .mc-label { grid-column: 1; font-size: 3.4cqi; } .mc-n { grid-column: 2; font-size: 5cqi; } .mc-bar { grid-column: 1 / -1; grid-row: 2; height: 6cqi; } .mc-rate { font-size: 3cqi; } }
/* adegan: alur */
.mo-alur { display: grid; grid-template-columns: 40% 1fr; gap: 3.5cqi; align-items: center; }
.ma-list { list-style: none; margin: 0 !important; padding: 0 !important; display: grid; gap: 1cqi; }
.ma-list li { display: flex; align-items: center; gap: 1.4cqi; margin: 0 !important; padding: .9cqi 1.2cqi !important; border-radius: 1.2cqi; font-size: clamp(11px, 1.8cqi, 16px) !important; color: #A9BBDD !important; line-height: 1.3 !important; transition: background .4s, color .4s; }
.ma-n { width: clamp(20px, 3.4cqi, 30px); height: clamp(20px, 3.4cqi, 30px); border-radius: 50%; flex: none; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: .85em; border: 1.5px solid rgba(255,255,255,.3); transition: all .4s; }
.ma-list li.done { color: #fff !important; }
.ma-list li.done .ma-n { background: #3D5E96; border-color: #3D5E96; }
.ma-list li.now { background: rgba(245,165,36,.14); color: #fff !important; font-weight: 700; }
.ma-list li.now .ma-n { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.ma-now { padding: 2.6cqi 3cqi; border-radius: 1.8cqi; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); }
.ma-now.pop { animation: rise .5s var(--ease) both; }
.ma-step { display: block; font-size: clamp(10px, 1.5cqi, 13px); letter-spacing: .12em; text-transform: uppercase; font-weight: 800; color: var(--amber-2); margin-bottom: 1cqi; }
.ma-big { font-size: clamp(18px, 3.6cqi, 34px) !important; font-weight: 800; letter-spacing: -0.02em; color: #fff !important; line-height: 1.15 !important; margin: 0 0 1cqi !important; }
.ma-desc { font-size: clamp(12px, 2cqi, 18px) !important; color: #C9D5EA !important; margin: 0 !important; line-height: 1.45 !important; }
.mo-alur.end .ma-desc { display: none; }
@media (max-width: 640px) { .mo-alur { grid-template-columns: 1fr; grid-template-rows: auto 1fr; gap: 3cqi; align-content: start; } .ma-list { display: flex; gap: 1.6cqi; } .ma-list li { padding: 0 !important; } .ma-list .ma-t { display: none; } .ma-n { width: 8cqi; height: 8cqi; font-size: 3.4cqi; } .ma-step { font-size: 3cqi; } .ma-big { font-size: 7cqi !important; } .ma-desc { font-size: 4.2cqi !important; } .ma-now { padding: 5cqi; } }
/* adegan: banding */
.mo-banding { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4cqi; align-content: center; }
.mv-col { padding: 2.2cqi 2.6cqi; border-radius: 1.8cqi; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); transition: border-color .4s, background .4s, box-shadow .4s; }
.mv-col.win { border-color: var(--amber); background: rgba(245,165,36,.1); box-shadow: 0 0 4cqi rgba(245,165,36,.25); }
.mv-title { font-size: clamp(13px, 2.4cqi, 22px) !important; font-weight: 800; color: #fff !important; margin: 0 0 1.4cqi !important; line-height: 1.25 !important; }
.mv-cell { display: flex; justify-content: space-between; gap: 2cqi; align-items: baseline; margin: 0 !important; padding: 1cqi 0 !important; border-top: 1px solid rgba(255,255,255,.1); font-size: clamp(11px, 1.8cqi, 16px) !important; color: #A9BBDD !important; line-height: 1.35 !important; opacity: .15; transition: opacity .45s; }
.mv-cell.on { opacity: 1; }
.mv-cell.now strong { color: var(--amber-2); }
.mv-cell strong { color: #fff; text-align: right; font-size: 1.1em; }
@media (max-width: 640px) { .mo-banding { gap: 2cqi; } .mv-col { padding: 3cqi; } .mv-title { font-size: 4cqi !important; } .mv-cell { flex-direction: column; gap: .4cqi; font-size: 3.2cqi !important; } .mv-cell strong { text-align: left; font-size: 3.8cqi; } }
/* adegan: skala */
.mo-skala { display: flex; flex-direction: column; justify-content: center; padding: 0 3cqi; }
.ms-track { position: relative; height: 26cqi; border-bottom: 3px solid rgba(255,255,255,.25); background: linear-gradient(90deg, rgba(255,143,143,.0), rgba(255,143,143,.06) 0%, rgba(95,224,168,.08) 100%); border-radius: 1cqi 1cqi 0 0; }
.ms-axis { display: flex; justify-content: space-between; margin-top: 1.4cqi; font-size: clamp(11px, 1.7cqi, 15px); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.ms-end { color: #FF8F8F; } .ms-end.r { color: #5FE0A8; }
.ms-pin { position: absolute; bottom: -1.4cqi; transform: translateX(-50%) translateY(-3cqi); opacity: 0; display: flex; flex-direction: column-reverse; align-items: center; gap: .8cqi; transition: opacity .45s, transform .55s var(--ease); width: 18cqi; }
.ms-pin.low { bottom: -1.4cqi; }
.ms-pin.low .ms-txt { margin-bottom: 7cqi; }
.ms-pin.on { opacity: .55; transform: translateX(-50%); }
.ms-pin.now, .ms-pin.on:last-child { opacity: 1; }
.ms-dot { width: clamp(12px, 2.4cqi, 22px); height: clamp(12px, 2.4cqi, 22px); border-radius: 50%; background: #8EA5CC; border: 2px solid #fff; }
.ms-pin.now .ms-dot { background: var(--amber); }
.ms-txt { font-size: clamp(10px, 1.6cqi, 14px); text-align: center; line-height: 1.25; color: #fff; font-weight: 650; }
.ms-pin.now .ms-txt { color: var(--amber-2); }
@media (max-width: 640px) { .ms-track { height: 44cqi; } .ms-pin { width: 26cqi; } .ms-txt { font-size: 3cqi; } .ms-pin.low .ms-txt { margin-bottom: 14cqi; } .ms-axis { font-size: 3cqi; } .ms-dot { width: 4cqi; height: 4cqi; } }

/* visual statis: muncul bertahap */
.vis.anim-ready li, .vis.anim-ready .banding-col { opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.vis.anim-ready.in li, .vis.anim-ready.in .banding-col { opacity: 1; transform: none; }
.vis.anim-ready rect:not(.track):not(.band) { transform-box: fill-box; transform-origin: left center; transform: scaleX(0); transition: transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 120ms); }
.vis.anim-ready .corong-bar rect { transform-origin: center; }
.vis.anim-ready.in rect { transform: none; }

/* ---------- Kalkulator ---------- */
.ix-calc { padding: 0; overflow: hidden; }
.ix-calc > .ix-label { margin: 18px 22px 0 !important; }
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; }
.calc-inputs { padding: 18px 22px 22px; }
.calc-outputs { padding: 22px; background: var(--soft-2); }
@media (max-width: 680px) { .calc-grid { grid-template-columns: 1fr; } }
.calc-field + .calc-field { margin-top: 14px; }
.calc-field label { display: block; font-weight: 700; font-size: .95rem; margin-bottom: 2px; color: var(--ink); }
.calc-field .hint { display: block; font-size: .82rem; color: var(--muted); margin-bottom: 8px; }
.calc-err { color: var(--coral); font-size: .84rem; font-weight: 600; margin: 6px 0 0; }
.calc-err:empty { display: none; }
.calc-presets { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; align-items: center; }
.calc-presets .lbl { font-size: .8rem; color: var(--muted); font-weight: 600; margin-right: 4px; }
.money { position: relative; }
.money::before { content: 'Rp'; position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 600; pointer-events: none; }
.money input { padding-left: 46px; font-variant-numeric: tabular-nums; font-weight: 600; }
.calc-out { display: grid; gap: 2px; margin: 0; }
.calc-out div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.calc-out dt { font-size: .9rem; color: var(--ink-2); }
.calc-out dt small { display: block; color: var(--muted); font-size: .76rem; }
.calc-out dd { margin: 0; font-weight: 800; font-size: 1.1rem; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.calc-out .big dd { font-size: 1.5rem; color: var(--green); }
.calc-out .bad dd { color: var(--coral); }
.calc-bar { margin: 16px 0 6px; }
.calc-bar-track { display: flex; height: 32px; border-radius: 10px; overflow: hidden; background: var(--line); }
.calc-bar-track span { display: flex; align-items: center; justify-content: center; font-size: .74rem; font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; transition: flex-basis .45s var(--ease); flex: 0 0 0; }
.calc-bar-track .b-var { background: #7C8783; } .calc-bar-track .b-con { background: var(--green-2); }
.calc-bar-cap { font-size: .82rem; color: var(--muted); margin: 6px 0 0; }
.calc-msg { margin: 14px 0 0; padding: 12px 14px; border-radius: var(--r-sm); font-size: .92rem; background: var(--surface); border: 1px solid var(--line); }
.calc-msg.warn { background: var(--coral-soft); border-color: #F0CFC4; color: #6E2B1A; }
.calc-foot { margin: 0 !important; padding: 12px 22px 16px; border-top: 1px solid var(--line); }
.cash-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.cash-table th, .cash-table td { padding: 8px 6px; border-bottom: 1px solid var(--line); text-align: right; font-size: .9rem; }
.cash-table th:first-child, .cash-table td:first-child { text-align: left; font-weight: 700; white-space: nowrap; }
.cash-table thead th { font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.cash-table input { min-height: 40px; padding: 6px 10px; text-align: right; font-size: .9rem; min-width: 0; }
.cash-table .neg { color: var(--coral); font-weight: 800; } .cash-table .pos { color: var(--green); font-weight: 700; }
.cash-scroll { overflow-x: auto; padding: 0 22px 8px; }
.cash-chart { display: flex; gap: 10px; align-items: flex-end; height: 130px; margin: 12px 22px 30px; position: relative; }
.cash-chart .zero { position: absolute; left: 0; right: 0; border-top: 1px dashed var(--line-2); }
.cash-col { flex: 1; display: flex; justify-content: center; height: 100%; position: relative; }
.cash-col span.bar { width: 100%; max-width: 64px; border-radius: 8px 8px 0 0; background: var(--green-2); transition: height .45s var(--ease); position: absolute; }
.cash-col span.bar.neg { background: var(--coral); border-radius: 0 0 8px 8px; }
.cash-col em { position: absolute; bottom: -22px; font-style: normal; font-size: .75rem; color: var(--muted); }
@media (max-width: 600px) { .cash-table th, .cash-table td { padding: 8px 3px; font-size: .82rem; } .cash-scroll { padding: 0 14px 8px; } }

/* ---------- Cari, teks, footer ---------- */

.reset-card { margin-top: 32px; }
.reset-card h2 { font-size: 1.15rem; }
.confirm-dialog { border: 0; border-radius: var(--r-xl); padding: 28px; max-width: 440px; width: calc(100% - 32px); box-shadow: var(--shadow-lg); color: var(--ink); }
.confirm-dialog::backdrop { background: rgba(28,35,33,.45); }
.confirm-dialog h2 { font-size: 1.25rem; }
.dialog-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; margin-top: 20px; }
.site-footer { margin-top: 80px; border-top: 1px solid var(--line); background: var(--paper-2); padding: 44px 0 52px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; }
.footer-title { font-weight: 800; letter-spacing: -0.02em; font-size: 1.1rem; margin-bottom: 6px; }
.site-footer nav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.site-footer nav a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .95rem; display: inline-block; padding: 6px 0; }
.site-footer nav a:hover { color: var(--green); }
@media (max-width: 720px) { .footer-inner { grid-template-columns: 1fr; } }
.storage-warning { background: var(--gold-soft); color: #5B4417; padding: 10px 20px; font-size: .9rem; text-align: center; border-bottom: 1px solid #FBE3B4; }
.notfound { min-height: 50vh; }
.page-text .prose h2 { font-size: 1.3rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .site-footer, .stepbar, .btn-step, .show-all, .end-nav, .skip { display: none !important; }
  .step[hidden], .lesson-end[hidden] { display: block !important; }
  body { background: #fff; }
}
/* Teks tebal di panggung animasi selalu putih (menimpa gaya prosa) */
.prose .mo-stage strong, .mo-stage strong { color: #fff; }
.prose .mo-stage .mv-cell.now strong { color: var(--amber-2); }
/* Alur berurutan: kunci, gerbang, CTA beranda, mode tinjau */
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 4px; }

[data-st="locked"] { color: var(--muted) !important; opacity: .62; }
[data-st="locked"] .dot { border: 0; width: 12px; height: 12px; margin-top: 5px; background: no-repeat center/12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2356627A' stroke-width='2.4' stroke-linecap='round'%3E%3Crect x='5' y='10.5' width='14' height='10' rx='2.5'/%3E%3Cpath d='M8.5 10.5V8a3.5 3.5 0 0 1 7 0v2.5'/%3E%3C/svg%3E"); }
.lesson-row[data-st="locked"] a { background: var(--paper-2); }
.lesson-row[data-st="locked"] .lesson-status { color: var(--muted); }
.lesson-gate { margin: 28px 0; text-align: center; padding: 36px 24px; }
.lesson-gate .gate-icon { display: inline-flex; width: 56px; height: 56px; border-radius: 18px; align-items: center; justify-content: center; background: var(--amber-soft); color: var(--gold); margin-bottom: 12px; }
.lesson-gate .gate-icon .icon { width: 28px; height: 28px; }
.lesson-gate h2 { font-size: 1.3rem; }
.lesson-gate p { color: var(--ink-2); max-width: 46ch; margin-left: auto; margin-right: auto; }
.stage-n { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 2px; }
.page-materi .jr-module .jr-num { background: var(--surface); }
.page-materi .journey-list { margin-top: 36px; }
.review-banner { margin: 0; padding: 8px 20px; text-align: center; font-size: .86rem; font-weight: 650; background: var(--amber); color: var(--ink); }
.review-banner a { color: var(--ink); margin-left: 6px; }

/* Tabel perbandingan yang padat: lebih rapat agar muat di panggung 16:9 */
.mo-banding.dense { gap: 1.8cqi; }
.mo-banding.dense .mv-col { padding: 1.6cqi 2cqi; }
.mo-banding.dense .mv-title { font-size: clamp(12px, 2cqi, 19px) !important; margin-bottom: .8cqi !important; }
.mo-banding.dense .mv-cell { padding: .6cqi 0 !important; font-size: clamp(10px, 1.5cqi, 14px) !important; gap: 1.4cqi; }
.mo-banding.dense .mv-cell strong { font-size: 1.05em; }
@media (min-width: 641px) { .mo-banding.dense .mv-cell { display: grid; grid-template-columns: 30% 1fr; align-items: baseline; } .mo-banding.dense .mv-cell strong { text-align: left; } }

/* Beranda: deret angka "Kenapa belajar di sini" */
.stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stats li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 24px 24px; position: relative; overflow: hidden; }
.stats li::before { content: ''; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: var(--amber); transform: scaleX(.18); transform-origin: left; transition: transform .5s var(--ease); }
.stats li:hover::before { transform: scaleX(1); }
.stat-num { font-size: clamp(2.4rem, 1.8rem + 2vw, 3.4rem); font-weight: 800; letter-spacing: -0.045em; line-height: 1; color: var(--ink); margin: 0 0 16px; font-variant-numeric: tabular-nums; }
.stat-num span { font-size: .38em; font-weight: 700; letter-spacing: -0.01em; color: var(--green-2); margin-left: 2px; }
.stats h3 { font-size: 1.05rem; margin: 0 0 6px; }
.stats li > p:last-child { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.55; }
@media (max-width: 960px) { .stats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
  .stats { grid-template-columns: 1fr; gap: 10px; }
  .stats li { display: grid; grid-template-columns: 6.2rem 1fr; column-gap: 14px; align-items: start; padding: 18px 18px 18px 16px; }
  .stat-num { grid-row: 1 / span 2; margin: 0; font-size: 2.3rem; display: flex; flex-direction: column; }
  .stat-num span { margin: 4px 0 0; font-size: .8rem; letter-spacing: 0; }
  .stats h3 { margin-top: 2px; }
}

/* Footer ringkas */
.site-footer { padding: 36px 0 40px; margin-top: 64px; }
.footer-inner { grid-template-columns: 1fr auto; align-items: start; gap: 12px 32px; }
.footer-brand p { margin: 0 0 4px; }
.site-footer nav { display: block; }
.site-footer nav ul { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.footer-note { grid-column: 1 / -1; margin: 12px 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--muted); }
@media (max-width: 720px) { .footer-inner { grid-template-columns: 1fr; } }
/* Beranda berakhir dengan seksi berlatar abu-biru: sambungkan langsung ke footer tanpa celah putih */
.page-home .site-footer { margin-top: 0; }
.page-home .how { border-bottom: 0; }

/* Footer: pembuat & media sosial */

/* Beranda: kartu percakapan (hook) */
.chat-card { position: relative; overflow: hidden; background: var(--stage-bg); border-radius: var(--r-xl); padding: clamp(22px, 2.8vw, 34px); box-shadow: var(--shadow-lg); }
.chat-card::before { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 28px 28px; mask-image: radial-gradient(120% 90% at 100% 0%, #000 0%, transparent 75%); -webkit-mask-image: radial-gradient(120% 90% at 100% 0%, #000 0%, transparent 75%); }
.chat-card > * { position: relative; }
.chat-head { display: flex; align-items: center; gap: 8px; margin: 0 0 18px; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #A9BBDD; }
.chat-dot { width: 8px; height: 8px; border-radius: 50%; background: #5FE0A8; box-shadow: 0 0 0 4px rgba(95,224,168,.18); }
.chat-thread { display: flex; flex-direction: column; gap: 10px; }
.bubble { margin: 0; max-width: 88%; text-wrap: pretty; padding: 12px 16px; font-size: clamp(1rem, .95rem + .3vw, 1.12rem); font-weight: 600; line-height: 1.4; border-radius: 18px; }
.bubble.in { align-self: flex-start; background: rgba(255,255,255,.1); color: #fff; border-bottom-left-radius: 6px; }
.bubble.out { align-self: flex-end; background: var(--amber); color: var(--ink); border-bottom-right-radius: 6px; margin-top: 6px; }
@media (prefers-reduced-motion: no-preference) {
  .js .bubble { opacity: 0; transform: translateY(8px); animation: bubbleIn .45s var(--ease) forwards; }
  .js .bubble:nth-child(1) { animation-delay: .3s; } .js .bubble:nth-child(2) { animation-delay: 1.1s; }
  .js .bubble:nth-child(3) { animation-delay: 1.9s; } .js .bubble:nth-child(4) { animation-delay: 2.9s; }
}
@keyframes bubbleIn { to { opacity: 1; transform: none; } }

/* Beranda: pembuka mengisi layar pertama di laptop */
@media (min-width: 1001px) {
  .hero { display: flex; align-items: center; min-height: min(calc(100svh - var(--header-h) - 40px), 920px); padding: 40px 0 64px; }
  .hero > .wrap { width: 100%; }
  .hero-grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: clamp(40px, 5vw, 80px); }
  .display { font-size: clamp(3.6rem, .9rem + 5.2vw, 5.6rem); margin-bottom: 20px; }
  .hero-badge { font-size: .92rem; padding: 8px 15px; margin-bottom: 26px; }
  .hero-rotate { font-size: clamp(1.5rem, .9rem + 1.1vw, 2.1rem); margin-bottom: 16px; }
  .hero-sub { font-size: clamp(1.1rem, .9rem + .45vw, 1.32rem); margin-bottom: 34px; }
  .hero-cta { gap: 16px 28px; }
  .hero-cta .btn-lg { min-height: 60px; padding: 16px 32px; font-size: 1.1rem; }
  .hero-cta .link-arrow { font-size: 1.08rem; }
  .chat-card { padding: clamp(30px, 3.2vw, 46px); }
  .chat-head { font-size: .86rem; margin-bottom: 24px; }
  .chat-thread { gap: 14px; }
  .bubble { padding: 15px 20px; font-size: clamp(1.08rem, .8rem + .55vw, 1.34rem); border-radius: 22px; }
  .bubble.out { margin-top: 10px; }
}

/* Beranda: ajakan salin tautan di bawah tombol */
.hero-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 26px 0 0; padding-top: 20px; border-top: 1px solid var(--line); max-width: 520px; font-size: .95rem; color: var(--muted); }
.share-copy { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); font: inherit; font-weight: 700; font-size: .9rem; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.share-copy:hover { border-color: var(--green-2); }
.share-copy .icon { width: 17px; height: 17px; }
.share-copy.is-done { background: var(--soft); border-color: var(--green-2); color: var(--green-2); }
@media (min-width: 1001px) { .hero-share { margin-top: 34px; font-size: 1.02rem; } .share-copy { font-size: .97rem; min-height: 42px; padding: 8px 16px; } }
@media (max-width: 600px) { .hero-share { margin-top: 18px; padding-top: 16px; font-size: .92rem; } }

/* Header: penulis + tautan sosial (pengganti menu) */
.header-author { display: flex; align-items: center; gap: 12px; }
.ha-text { margin: 0; font-size: .9rem; color: var(--muted); white-space: nowrap; }
.ha-text strong { color: var(--ink); font-weight: 700; }
.ha-social { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; }
.ha-social a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--ink); background: var(--surface); transition: border-color .2s, color .2s, background .2s; }
.ha-social a:hover { border-color: var(--green-2); color: var(--green-2); background: var(--soft); }
.ha-social .icon { width: 18px; height: 18px; }
@media (max-width: 560px) { .ha-text { display: none; } }
