/* PondokIlmu shared styles */
:root {
  --bg: #f7f5f0;
  --surface: #ffffff;
  --ink: #1c2421;
  --muted: #5f6b66;
  --line: #e4e0d6;
  --brand: #0f5a4a;
  --brand-ink: #ffffff;
  --accent: #c99a3e;
  --ph-1: #d9e7e1;
  --ph-2: #c3d8cf;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(20,30,25,.06), 0 6px 20px rgba(20,30,25,.06);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #111614; --surface: #19201d; --ink: #e9eeeb; --muted: #9aa8a2; --line: #2a3430;
    --brand: #3fae90; --brand-ink: #0b1210; --accent: #e0b45c; --ph-1: #1f2a26; --ph-2: #263430;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 6px 20px rgba(0,0,0,.25);
  }
}
:root[data-theme="dark"] {
  --bg: #111614; --surface: #19201d; --ink: #e9eeeb; --muted: #9aa8a2; --line: #2a3430;
  --brand: #3fae90; --brand-ink: #0b1210; --accent: #e0b45c; --ph-1: #1f2a26; --ph-2: #263430;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 6px 20px rgba(0,0,0,.25);
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg); color: var(--ink);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wrap { padding: 0 32px; } }

/* Nav */
.nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 19px; letter-spacing: -.02em; color: var(--brand); }
.logo-mark { width: 34px; height: 34px; flex: none; }
.logo-mark .house { fill: var(--brand); }
.logo-mark .roof { stroke: var(--brand); }
.logo-mark .alif { fill: #e0b45c; }
.logo em { font-style: normal; color: var(--logo-accent, #b8862c); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo { --logo-accent: #e0b45c; color: var(--ink); } }
:root[data-theme="dark"] .logo { --logo-accent: #e0b45c; color: var(--ink); }
.nav-links { display: none; gap: 22px; color: var(--muted); font-weight: 500; font-size: 15px; }
.nav-links a[aria-current] { color: var(--ink); }
@media (min-width: 860px) { .nav-links { display: flex; } }
.nav-cta { margin-left: auto; display: flex; gap: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px;
  border-radius: 10px; border: 1px solid var(--line); background: var(--surface); font-weight: 600; font-size: 14px; cursor: pointer; }
.btn-primary { background: var(--brand); color: var(--brand-ink); border-color: transparent; }
.btn-ghost { display: none; }
@media (min-width: 560px) { .btn-ghost { display: inline-flex; } }

/* Hero */
.hero { padding: 48px 0 32px; }
.hero-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.1fr .9fr; } .hero { padding: 72px 0 48px; } }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; color: var(--brand);
  background: color-mix(in srgb, var(--brand) 12%, transparent); padding: 4px 10px; border-radius: 99px; }
h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.08; letter-spacing: -.025em; margin: 16px 0 14px; font-weight: 800; text-wrap: balance; }
.lead { color: var(--muted); font-size: 18px; max-width: 52ch; margin: 0 0 24px; }
.search { display: flex; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  padding: 6px; max-width: 520px; box-shadow: var(--shadow); }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 0 10px; font: inherit; color: var(--ink); }
.stats { display: flex; gap: 28px; margin-top: 28px; flex-wrap: wrap; }
.stats b { display: block; font-size: 22px; font-variant-numeric: tabular-nums; }
.stats span { color: var(--muted); font-size: 14px; }

html { scroll-behavior: smooth; scroll-padding-top: 72px; }
h1 .hl { color: var(--brand); }
h1 { font-size: clamp(44px, 7.5vw, 76px); line-height: 1; margin: 18px 0 18px; }
.welcome { font-size: 19px; font-weight: 700; margin: 0 0 8px; }
.lead { margin-bottom: 28px; }
.btn-lg { height: 50px; padding: 0 22px; font-size: 15.5px; border-radius: 12px; }
.cta-row { display: flex; gap: 10px; flex-wrap: wrap; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: flex; gap: 8px 20px; flex-wrap: wrap; color: var(--muted); font-size: 14px; font-weight: 500; }
.ticks li::before { content: "✓"; color: var(--brand); font-weight: 800; margin-right: 6px; }

/* Today's lesson card */
.today { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 14px; box-shadow: var(--shadow); }
.today-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 4px 4px 12px; }
.today-label { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.today-date { font-size: 13px; color: var(--muted); }
.today .ph { border-radius: 12px; }
.today .ph .rank, .today .ph .dur { display: none; }
.today .ph .play { opacity: 1; transform: none; }
.today-body { padding: 14px 4px 4px; }
.today-body .tag { font-size: 12px; font-weight: 600; color: var(--brand); }
.today-body h3 { margin: 4px 0 12px; font-size: 19px; line-height: 1.3; }
.today-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pill { font-size: 12.5px; font-weight: 700; color: #7a5a14; background: #f6ead0; padding: 5px 10px; border-radius: 99px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pill { color: #f1d391; background: #3a3020; } }
:root[data-theme="dark"] .pill { color: #f1d391; background: #3a3020; }

.proof { margin-top: 44px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
@media (min-width: 720px) { .proof { grid-template-columns: repeat(4, 1fr); } }
.proof > div { background: var(--surface); padding: 18px 20px; }
.proof b { display: block; font-size: 26px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.proof span { color: var(--muted); font-size: 14px; }

/* Why */
.center-head { text-align: center; max-width: 640px; margin: 0 auto 36px; }
.center-head h2 { font-size: clamp(26px, 3.6vw, 38px); line-height: 1.15; letter-spacing: -.02em; margin: 14px 0 10px; text-wrap: balance; }
.center-head p { color: var(--muted); font-size: 17px; margin: 0; }
.features { display: grid; gap: 18px; }
@media (min-width: 820px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 26px; }
.feature h3 { margin: 18px 0 8px; font-size: 19px; }
.feature p { margin: 0; color: var(--muted); }
.f-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--brand) 12%, transparent); }
.f-icon svg { width: 24px; height: 24px; fill: var(--brand); }

/* 1% band */
.band { background: #0f3d33; color: #eef4f1; padding: 72px 0; margin: 24px 0 40px; }
.band-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .band-grid { grid-template-columns: 1fr 1fr; gap: 56px; } }
.band h2 { font-size: clamp(30px, 4.4vw, 46px); line-height: 1.08; letter-spacing: -.025em; margin: 16px 0 16px; }
.band p { color: rgba(238,244,241,.78); font-size: 17px; margin: 0 0 24px; max-width: 52ch; }
.eyebrow-inv { color: #f1d391; background: rgba(224,180,92,.14); }
blockquote { margin: 0; padding: 4px 0 4px 18px; border-left: 3px solid #e0b45c; font-size: 18px; font-weight: 600; line-height: 1.45; }
blockquote cite { display: block; margin-top: 8px; font-size: 13px; font-style: normal; font-weight: 500; color: rgba(238,244,241,.6); }
.growth { margin: 0; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 20px; padding: 22px; }
.growth figcaption span { display: block; font-size: 14px; color: rgba(238,244,241,.7); }
.growth figcaption b { display: block; font-size: 40px; letter-spacing: -.03em; color: #e0b45c; line-height: 1.1; margin-top: 4px; }
.growth figcaption small { font-size: 15px; font-weight: 600; color: rgba(238,244,241,.8); letter-spacing: 0; }
.growth svg { display: block; width: 100%; height: auto; margin: 14px 0 6px; overflow: visible; }
.milestones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.milestones div { background: rgba(255,255,255,.06); border-radius: 12px; padding: 10px 12px; }
.milestones b { display: block; font-size: 18px; font-variant-numeric: tabular-nums; }
.milestones span { font-size: 12.5px; color: rgba(238,244,241,.65); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; counter-reset: s; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: s; position: relative; padding: 26px 24px 24px; border-radius: 18px; border: 1px dashed color-mix(in srgb, var(--brand) 35%, var(--line)); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--brand); color: var(--brand-ink); font-weight: 800; margin-bottom: 14px; }
.steps b { font-size: 18px; }
.steps p { margin: 6px 0 0; color: var(--muted); }

/* Library head search */
.section-head .search { flex: 1 1 280px; max-width: 380px; box-shadow: none; }

/* Closing CTA */
.closing { background: linear-gradient(135deg, #0f5a4a, #0f3d33); color: #fff; border-radius: 24px; padding: 48px 24px; text-align: center; }
.closing h2 { font-size: clamp(26px, 3.8vw, 40px); letter-spacing: -.02em; line-height: 1.15; margin: 0 0 12px; text-wrap: balance; }
.closing p { color: rgba(255,255,255,.8); font-size: 17px; margin: 0 auto 26px; max-width: 48ch; }
.closing .cta-row { justify-content: center; }
.btn-inv { background: #fff; color: #0f5a4a; border-color: transparent; }
.btn-inv-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.logo-text { font-weight: 700; color: var(--ink); }
.logo-text em { font-style: normal; color: var(--logo-accent, #b8862c); }

/* Section */
.section { padding: 24px 0 64px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.section-head h2 { margin: 0; font-size: 26px; letter-spacing: -.015em; }
.section-head p { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 22px; scrollbar-width: none; }
.chip { flex: none; height: 36px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--line);
  background: var(--surface); font-size: 14px; font-weight: 500; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* Grid + cards */
.grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1140px) { .grid { grid-template-columns: repeat(4, 1fr); } }

.card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; cursor: pointer; text-align: left; padding: 0;
  transition: transform .15s ease, box-shadow .15s ease; }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.card:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* Video placeholder */
.ph { position: relative; aspect-ratio: 16/9; width: 100%;
  background: linear-gradient(135deg, var(--ph-1), var(--ph-2)); display: grid; place-items: center; overflow: hidden; }
.ph::before { content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, transparent 0 14px, color-mix(in srgb, var(--ink) 4%, transparent) 14px 15px); }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph .play { position: relative; width: 52px; height: 52px; border-radius: 50%; background: color-mix(in srgb, var(--surface) 92%, transparent);
  display: grid; place-items: center; box-shadow: 0 2px 10px rgba(0,0,0,.12); }
.ph:has(img) .play { opacity: 0; transform: scale(.9); transition: opacity .15s ease, transform .15s ease; }
.card:hover .ph .play, .card:focus-visible .ph .play { opacity: 1; transform: none; }
@media (hover: none) { .ph:has(img) .play { opacity: 1; width: 40px; height: 40px; } }
.ph .play svg { width: 20px; height: 20px; margin-left: 3px; fill: var(--brand); }
.ph .ph-label { position: absolute; left: 12px; bottom: 10px; font-size: 11px; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: var(--muted); }
.ph .rank { position: absolute; top: 10px; left: 10px; background: var(--accent); color: #1c1608; font-weight: 800;
  font-size: 12px; padding: 3px 8px; border-radius: 6px; font-variant-numeric: tabular-nums; }
.ph .dur { position: absolute; right: 10px; bottom: 10px; background: rgba(10,14,12,.82); color: #fff;
  font-size: 12px; font-weight: 600; padding: 2px 7px; border-radius: 5px; font-variant-numeric: tabular-nums; }

.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.tag { align-self: flex-start; font-size: 12px; font-weight: 600; color: var(--brand); }
.card h3 { margin: 0; font-size: 15.5px; line-height: 1.35; font-weight: 700;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-transform: none; }
.meta { margin-top: auto; display: flex; gap: 12px; color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.more { display: flex; justify-content: center; margin-top: 32px; }
.more[hidden] { display: none; }
.more .btn { height: 46px; padding: 0 22px; }
.chip-n { font-size: 12px; opacity: .6; margin-left: 2px; font-variant-numeric: tabular-nums; }
.empty { color: var(--muted); padding: 40px 0; text-align: center; grid-column: 1 / -1; }

/* Modal */
dialog { border: 0; padding: 0; width: min(960px, calc(100vw - 32px)); background: var(--surface); color: var(--ink);
  border-radius: 16px; overflow: hidden; }
dialog::backdrop { background: rgba(5,10,8,.7); }
.modal-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; flex-wrap: wrap; }
.modal-foot h3 { margin: 0; font-size: 16px; }
.modal-foot p { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.modal-actions { display: flex; gap: 8px; }

/* Custom player: the embedded frame never receives clicks, so viewers cannot leave the page. */
.player { position: relative; aspect-ratio: 16/9; background: #000; overflow: hidden; color: #fff; user-select: none; }
.player:fullscreen { aspect-ratio: auto; width: 100%; height: 100%; }
.pl-stage, .pl-stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; pointer-events: none; }
.pl-shield { position: absolute; inset: 0; cursor: pointer; }
.pl-poster, .pl-end { position: absolute; inset: 0; display: grid; place-items: center; background: #000; }
.pl-poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.pl-poster[hidden], .pl-end[hidden], .pl-bigplay[hidden] { display: none; }
.pl-bigplay { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 72px; height: 72px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.95); display: grid; place-items: center; cursor: pointer; box-shadow: 0 4px 24px rgba(0,0,0,.35); }
.pl-bigplay svg { width: 28px; height: 28px; margin-left: 4px; fill: var(--brand); }
.pl-spinner { position: relative; width: 44px; height: 44px; border-radius: 50%; border: 3px solid rgba(255,255,255,.25);
  border-top-color: #fff; animation: spin .8s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }
.pl-end { background: radial-gradient(circle at 50% 40%, #1d3a32, #070b0a); text-align: center; padding: 24px; }
.pl-end h4 { margin: 0 0 6px; font-size: 20px; }
.pl-end p { margin: 0 0 18px; color: rgba(255,255,255,.75); font-size: 14px; max-width: 46ch; }
.pl-end .row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.pl-end .btn { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.2); }
.pl-end .btn-primary { background: #fff; color: #0f5a4a; }

.pl-controls { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 10px;
  padding: 28px 12px 10px; background: linear-gradient(transparent, rgba(0,0,0,.75)); transition: opacity .2s ease; }
.player.idle .pl-controls { opacity: 0; }
.player.idle { cursor: none; }
.pl-btn { flex: none; width: 36px; height: 36px; border: 0; border-radius: 8px; background: transparent; color: #fff;
  display: grid; place-items: center; cursor: pointer; }
.pl-btn:hover { background: rgba(255,255,255,.14); }
.pl-btn svg { width: 20px; height: 20px; fill: currentColor; }
.pl-time { flex: none; font-size: 12.5px; font-variant-numeric: tabular-nums; opacity: .9; }
.pl-seek { flex: 1; min-width: 60px; }
.pl-vol { width: 70px; }
.pl-seek, .pl-vol { accent-color: var(--accent); height: 4px; cursor: pointer; }
.pl-rate { flex: none; background: rgba(255,255,255,.12); color: #fff; border: 0; border-radius: 6px; height: 28px; font-size: 12.5px; padding: 0 4px; cursor: pointer; }
.pl-rate option { color: #000; }
@media (max-width: 560px) { .pl-vol, .pl-rate { display: none; } .pl-controls { gap: 4px; } }

footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 14px; }

[hidden] { display: none !important; }

/* Locked "today" teaser on the public page */
.locked { position: relative; aspect-ratio: 16/9; border-radius: 12px; overflow: hidden; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 35%, #1f7a64, #0f3d33 72%); }
.locked::before { content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, transparent 0 16px, rgba(255,255,255,.04) 16px 17px); }
.locked-mark { position: relative; width: 30%; height: auto; }
.lock-badge { position: absolute; top: 12px; right: 12px; display: inline-flex; align-items: center; gap: 6px; font-size: 12px;
  font-weight: 700; color: #0f3d33; background: #fff; padding: 5px 10px 5px 8px; border-radius: 99px; }
.lock-badge svg { width: 14px; height: 14px; fill: currentColor; }
.today-note { margin: -6px 0 14px; color: var(--muted); font-size: 14.5px; }
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-bottom: 16px; }
.day { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 11.5px; color: var(--muted); font-weight: 600; }
.day i { font-style: normal; width: 100%; height: 30px; border-radius: 8px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--brand) 14%, transparent); font-size: 11px; font-weight: 800; color: #1c1608; }
.day.is-today { color: var(--ink); }
.day.is-today i { background: #e0b45c; }
.day.is-future i { background: transparent; border: 1px dashed var(--line); }

/* Login / sign-up */
.auth { min-height: 100vh; display: grid; }
@media (min-width: 900px) { .auth { grid-template-columns: 1fr 1fr; } }
.auth-side { display: none; flex-direction: column; justify-content: space-between; gap: 32px; padding: 40px;
  background: linear-gradient(160deg, #0f5a4a, #0f3d33); color: #eef4f1; }
@media (min-width: 900px) { .auth-side { display: flex; } }
.auth-side .logo { color: #fff; }
.auth-side .logo .house { fill: #fff; }
.auth-side .logo .roof { stroke: #fff; }
.auth-side .logo em { color: #e0b45c; }
.auth-side h2 { font-size: clamp(34px, 4vw, 52px); line-height: 1.05; letter-spacing: -.025em; margin: 0 0 14px; }
.auth-side h2 span { color: #e0b45c; }
.auth-side p { color: rgba(238,244,241,.8); font-size: 17px; max-width: 44ch; margin: 0; }
.auth-main { display: grid; place-items: center; padding: 32px 16px; }
.auth-card { width: 100%; max-width: 400px; }
.auth-card .logo { margin-bottom: 28px; }
@media (min-width: 900px) { .auth-card .logo { display: none; } }
.auth-card h1 { font-size: 30px; line-height: 1.15; margin: 0 0 6px; letter-spacing: -.02em; }
.auth-card .sub { color: var(--muted); margin: 0; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 12px; margin: 24px 0;
  background: color-mix(in srgb, var(--ink) 6%, transparent); }
.tab { height: 40px; border: 0; border-radius: 9px; background: transparent; font-weight: 600; cursor: pointer; color: var(--muted); }
.tab[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 14px; font-weight: 600; }
.field input { height: 46px; border: 1px solid var(--line); border-radius: 10px; padding: 0 14px; font: inherit;
  background: var(--surface); color: var(--ink); }
.field input:focus { outline: 2px solid color-mix(in srgb, var(--brand) 35%, transparent); border-color: var(--brand); }
.btn-block { width: 100%; }
.form-error { color: #c0362c; font-size: 14px; min-height: 20px; margin: 0 0 8px; }
.demo-note { font-size: 12.5px; color: var(--muted); background: color-mix(in srgb, var(--accent) 12%, transparent);
  padding: 10px 12px; border-radius: 10px; margin-top: 18px; }
.back-link { display: inline-block; margin-top: 18px; color: var(--muted); font-size: 14px; }

/* Members page */
.member-hero { padding: 36px 0 16px; }
.member-grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .member-grid { grid-template-columns: 1fr 1.05fr; gap: 48px; } }
.greet h1 { font-size: clamp(30px, 4.5vw, 46px); line-height: 1.1; margin: 14px 0 12px; }
.greet p { color: var(--muted); font-size: 17px; margin: 0; max-width: 46ch; }
.user-chip { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
.user-chip .name { display: none; }
@media (min-width: 560px) { .user-chip .name { display: inline; } }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: var(--brand-ink);
  display: grid; place-items: center; font-weight: 800; font-size: 14px; }

/* Auth extras */
.auth-pending body { visibility: hidden; }
.form-ok { color: var(--brand); background: color-mix(in srgb, var(--brand) 10%, transparent); font-size: 14px;
  padding: 10px 12px; border-radius: 10px; margin: 0 0 12px; }
.auth-links { display: flex; justify-content: space-between; margin-top: 14px; }
.link-btn { border: 0; background: none; padding: 0; color: var(--brand); font-weight: 600; font-size: 14px; cursor: pointer; }
.link-btn:hover { text-decoration: underline; }
.demo-note code { font-size: 12px; }
.btn:disabled { opacity: .7; cursor: progress; }
.load-error { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 40px 16px; }

/* Sign-up: phone with country code, marketing consent */
.phone-row { display: grid; grid-template-columns: 112px 1fr; gap: 8px; }
.phone-row select { height: 46px; border: 1px solid var(--line); border-radius: 10px; padding: 0 10px; font: inherit;
  background: var(--surface); color: var(--ink); }
.phone-row select:focus { outline: 2px solid color-mix(in srgb, var(--brand) 35%, transparent); border-color: var(--brand); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.5; color: var(--muted);
  margin: 4px 0 14px; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: var(--brand); }

/* Admin panel */
.admin { padding: 36px 0 64px; }
.admin-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.admin-head h1 { font-size: clamp(28px, 4vw, 38px); line-height: 1.1; margin: 12px 0 6px; }
.admin-head p { color: var(--muted); margin: 0; max-width: 60ch; }
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line);
  border-radius: 16px; overflow: hidden; margin-bottom: 24px; }
@media (min-width: 900px) { .kpis { grid-template-columns: repeat(5, 1fr); } }
.kpis > div { background: var(--surface); padding: 16px 18px; }
.kpis b { display: block; font-size: 26px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.kpis span { color: var(--muted); font-size: 13.5px; }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 12px; }
.toolbar input[type=search] { flex: 1 1 240px; height: 40px; border: 1px solid var(--line); border-radius: 10px; padding: 0 12px;
  font: inherit; background: var(--surface); color: var(--ink); }
.seg { display: inline-flex; padding: 3px; border-radius: 10px; background: color-mix(in srgb, var(--ink) 6%, transparent); }
.seg button { border: 0; background: transparent; height: 34px; padding: 0 12px; border-radius: 8px; font-size: 13.5px; font-weight: 600;
  color: var(--muted); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.export { display: flex; gap: 8px; margin-left: auto; }
.list-count { color: var(--muted); font-size: 13.5px; margin: 0 0 8px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
table.members { width: 100%; border-collapse: collapse; font-size: 14px; }
.members th { text-align: left; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted);
  padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; background: color-mix(in srgb, var(--ink) 3%, var(--surface)); }
.members td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.members tbody tr:last-child td { border-bottom: 0; }
.members tbody tr[data-id] { cursor: pointer; }
.members tbody tr[data-id]:hover, .members tbody tr[data-id]:focus-visible { background: color-mix(in srgb, var(--brand) 6%, transparent); outline: none; }
.members .nowrap { white-space: nowrap; font-variant-numeric: tabular-nums; }
.members .muted, .muted-cell { color: var(--muted); }
.muted-cell { text-align: center; padding: 32px 14px !important; }
.who { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; white-space: nowrap; }
.avatar-sm { width: 28px; height: 28px; font-size: 12px; }
.avatar-lg { width: 48px; height: 48px; font-size: 19px; flex: none; }
.badge { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 99px; white-space: nowrap; }
.badge-yes { color: #0b5a3f; background: #d8f0e4; }
.badge-no { color: var(--muted); background: color-mix(in srgb, var(--ink) 7%, transparent); }
.badge-admin { color: #7a5a14; background: #f6ead0; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .badge-yes { color: #9be3c0; background: #183a2e; }
  :root:not([data-theme="light"]) .badge-admin { color: #f1d391; background: #3a3020; } }
:root[data-theme="dark"] .badge-yes { color: #9be3c0; background: #183a2e; }
:root[data-theme="dark"] .badge-admin { color: #f1d391; background: #3a3020; }
.member-dialog { width: min(560px, calc(100vw - 32px)); padding: 24px; border-radius: 18px; }
.md-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.md-head > div { flex: 1; min-width: 0; }
.md-head h2 { margin: 0; font-size: 21px; overflow-wrap: anywhere; }
.md-head p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.md-list { display: grid; grid-template-columns: 150px 1fr; gap: 10px 16px; margin: 0; font-size: 14.5px; }
.md-list dt { color: var(--muted); }
.md-list dd { margin: 0; overflow-wrap: anywhere; }
.md-list a { color: var(--brand); font-weight: 600; }
.md-list .wa { margin-left: 8px; font-size: 13px; }
@media (max-width: 520px) { .md-list { grid-template-columns: 1fr; gap: 2px; } .md-list dd { margin-bottom: 10px; } }
@media (max-width: 899px) { .kpis > div:last-child:nth-child(odd) { grid-column: span 2; } }

/* Homepage photos of Dr. Oki */
.locked.has-photo { background: #0f3d33; }
.locked.has-photo::before { z-index: 1; background: linear-gradient(180deg, rgba(10,30,25,.05) 40%, rgba(10,30,25,.55)); }
.locked-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 30%; }
.locked-play { position: relative; z-index: 2; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.94); box-shadow: 0 4px 24px rgba(0,0,0,.3); }
.locked-play svg { width: 26px; height: 26px; margin-left: 4px; fill: #0f5a4a; }
.locked .lock-badge { z-index: 2; }

.teacher { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .teacher { grid-template-columns: 1fr 1fr; gap: 64px; } }
.teacher-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.teacher-photos img { display: block; width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; object-position: center 20%;
  border-radius: 20px; box-shadow: var(--shadow); }
.teacher-photos img:last-child { margin-top: 48px; }
.teacher-text h2 { font-size: clamp(30px, 4.2vw, 46px); line-height: 1.08; letter-spacing: -.025em; margin: 14px 0 16px; }
.teacher-text p { color: var(--muted); font-size: 17px; margin: 0 0 14px; max-width: 52ch; }
.teacher-text .cta-row { margin-top: 26px; }

.feature { overflow: hidden; }
.feature-photo { display: block; width: calc(100% + 52px); max-width: none; margin: -26px -26px 0; height: auto; aspect-ratio: 4/3;
  object-fit: cover; object-position: center 22%; }
.feature .f-icon { position: relative; margin-top: -23px; background: color-mix(in srgb, var(--brand) 12%, var(--surface));
  box-shadow: 0 0 0 4px var(--surface); }

.closing.has-photo { display: grid; gap: 0; padding: 0; overflow: hidden; text-align: left; }
.closing-text { padding: 40px 24px 32px; }
.closing.has-photo .cta-row { justify-content: flex-start; }
.closing.has-photo p { margin-left: 0; }
.closing-photo { display: block; width: 100%; height: 280px; object-fit: cover; object-position: center 25%; order: -1; }
@media (min-width: 820px) {
  .closing.has-photo { grid-template-columns: 1.25fr .75fr; align-items: stretch; }
  .closing-text { padding: 56px 48px; align-self: center; }
  .closing-photo { order: 0; height: 100%; min-height: 340px; }
}
.locked.has-photo { place-items: end start; padding: 14px; }
.locked.has-photo .locked-play { width: 52px; height: 52px; }
.locked.has-photo .locked-play svg { width: 22px; height: 22px; }

/* Premium */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.eyebrow-gold { color: #7a5a14; background: #f6ead0; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .eyebrow-gold { color: #f1d391; background: #3a3020; } }
:root[data-theme="dark"] .eyebrow-gold { color: #f1d391; background: #3a3020; }
.crown { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #e0b45c; }
.crown svg { width: 22px; height: 22px; fill: #1c1608; }

.prem-photo { position: relative; margin: 0; max-width: 460px; justify-self: center; width: 100%; }
.prem-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; object-position: center 20%;
  border-radius: 24px; box-shadow: var(--shadow); }
.prem-float { position: absolute; left: -12px; bottom: 24px; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.prem-float b { display: block; font-size: 16px; }
.prem-float small { display: block; font-size: 13px; color: var(--muted); }
@media (max-width: 899px) { .prem-float { left: 12px; } }

@media (min-width: 820px) { .features-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .features-4 { grid-template-columns: repeat(4, 1fr); } }

.compare-wrap { max-width: 760px; margin: 0 auto; overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
table.compare { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 14px 18px; border-bottom: 1px solid var(--line); }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare thead th { font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.compare tbody th { text-align: left; font-weight: 600; }
.compare td, .compare thead th:not(:first-child) { text-align: center; width: 120px; }
.compare .is-prem { background: color-mix(in srgb, var(--brand) 8%, transparent); }
.compare thead .is-prem { color: var(--brand); }
.compare .yes { color: var(--brand); font-weight: 800; font-size: 18px; }
.compare .no { color: var(--muted); }

.plans { display: grid; gap: 20px; max-width: 820px; margin: 0 auto; }
@media (min-width: 720px) { .plans { grid-template-columns: 1fr 1fr; align-items: stretch; } }
.plan { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line);
  border-radius: 20px; padding: 28px 26px 26px; }
.plan-best { border: 2px solid var(--brand); box-shadow: var(--shadow); }
.plan-tag { position: absolute; top: -13px; left: 24px; font-size: 12.5px; font-weight: 800; color: #1c1608; background: #e0b45c;
  padding: 4px 10px; border-radius: 99px; }
.plan h3 { margin: 0; font-size: 20px; }
.plan-sub { margin: 4px 0 18px; color: var(--muted); font-size: 14.5px; }
.price { display: flex; align-items: baseline; gap: 6px; }
.price b { font-size: 48px; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.price span { color: var(--muted); font-weight: 600; }
.price-note { margin: 10px 0 0; font-size: 14px; color: var(--brand); font-weight: 600; }
.plan-list { list-style: none; padding: 0; margin: 20px 0 24px; display: grid; gap: 8px; font-size: 15px; }
.plan-list li::before { content: "✓"; color: var(--brand); font-weight: 800; margin-right: 8px; }
.plan .btn-block { margin-top: auto; cursor: pointer; }
.checkout-note { max-width: 820px; margin: 18px auto 0; padding: 12px 16px; border-radius: 12px; font-size: 14.5px;
  background: color-mix(in srgb, var(--accent) 14%, transparent); }
.prem-status { max-width: 820px; margin: 0 auto; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 18px 20px;
  background: var(--surface); border: 2px solid var(--brand); border-radius: 18px; }
.prem-status > div { flex: 1 1 220px; }
.prem-status b { display: block; font-size: 17px; }
.prem-status span:not(.crown) { color: var(--muted); font-size: 14.5px; }

/* Ruang Premium (/kelas) */
.prem-hero { display: grid; gap: 24px; align-items: end; }
@media (min-width: 900px) { .prem-hero { grid-template-columns: 1fr auto; } }
.lib-link { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 16px; box-shadow: var(--shadow); min-width: 300px; }
.lib-link b { display: block; }
.lib-link small { display: block; color: var(--muted); font-size: 13.5px; }
.lib-arrow { margin-left: auto; font-size: 20px; color: var(--brand); }
.lib-link:hover { border-color: var(--brand); }
.prem-section { padding-top: 32px; padding-bottom: 32px; }
.prem-empty { grid-column: 1 / -1; display: grid; justify-items: center; text-align: center; gap: 4px; padding: 40px 20px;
  border: 1px dashed color-mix(in srgb, var(--brand) 35%, var(--line)); border-radius: 18px; }
.prem-empty-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 8px;
  background: color-mix(in srgb, var(--brand) 12%, transparent); }
.prem-empty-icon svg { width: 24px; height: 24px; fill: var(--brand); }
.prem-empty b { font-size: 17px; }
.prem-empty p { margin: 0; color: var(--muted); max-width: 44ch; }
.card-desc { margin: 0; color: var(--muted); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rows { display: grid; gap: 12px; }
.row-item { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 16px 18px; background: var(--surface);
  border: 1px solid var(--line); border-radius: 16px; }
.row-main { flex: 1 1 240px; min-width: 0; }
.row-main h3 { margin: 0; font-size: 16.5px; }
.row-main p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.row-date { flex: none; width: 56px; text-align: center; padding: 6px 0; border-radius: 12px; background: color-mix(in srgb, var(--brand) 12%, transparent); }
.row-date b { display: block; font-size: 22px; line-height: 1.1; color: var(--brand); }
.row-date span { font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--muted); }
.row-icon { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--brand) 12%, transparent); }
.row-icon svg { width: 22px; height: 22px; fill: var(--brand); }
.class-frame { aspect-ratio: 16/9; background: #000; }
.class-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Free members: locked lessons in /kuliah */
.free-banner { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 14px 18px; margin-bottom: 18px;
  border-radius: 16px; background: color-mix(in srgb, var(--accent) 14%, var(--surface)); border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--line)); }
.free-banner > div { flex: 1 1 260px; }
.free-banner b { display: block; }
.free-banner span:not(.crown) { color: var(--muted); font-size: 14.5px; }
.ph.is-locked { background: linear-gradient(135deg, #1f7a64, #0f3d33); }
.ph.is-locked::before { background: repeating-linear-gradient(45deg, transparent 0 14px, rgba(255,255,255,.05) 14px 15px); }
.ph .lock { position: relative; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 800; color: #1c1608;
  background: #e0b45c; padding: 6px 12px 6px 10px; border-radius: 99px; }
.ph .lock svg { width: 14px; height: 14px; fill: currentColor; }
.card.is-locked h3 { color: var(--muted); }
.btn-gold { background: #e0b45c; color: #1c1608; border-color: transparent; }
.btn-prem svg { width: 16px; height: 16px; fill: currentColor; flex: none; }
.btn-prem:not(.btn-gold) svg { fill: #c99a3e; }
@media (max-width: 559px) { .btn-prem { width: 40px; padding: 0; } .btn-prem .lbl { display: none; } .nav-cta .user-chip { display: none; } }
.class-frame video { width: 100%; height: 100%; display: block; background: #000; }

/* Testimonials ("Apa kata orang") */
.testi-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.testi-head .center-head { text-align: left; margin: 0; max-width: 620px; }
.testi-nav { display: none; gap: 8px; }
@media (min-width: 720px) { .testi-nav { display: flex; } }
.testi-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); cursor: pointer;
  display: grid; place-items: center; font-size: 18px; }
.testi-nav button:disabled { opacity: .4; cursor: default; }
.testi-track { display: grid; grid-auto-flow: column; grid-auto-columns: min(250px, 72vw); gap: 14px; overflow-x: auto;
  scroll-snap-type: x mandatory; padding: 4px 2px 14px; scrollbar-width: thin; }
.testi { position: relative; scroll-snap-align: start; aspect-ratio: 4/5; border: 0; padding: 0; border-radius: 18px; overflow: hidden;
  background: #0f3d33; cursor: pointer; text-align: left; color: #fff; box-shadow: var(--shadow); }
.testi img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.testi:hover img { transform: scale(1.03); }
.testi::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.82)); }
.testi:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.testi .t-play { position: absolute; z-index: 1; top: 12px; left: 12px; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.92); display: grid; place-items: center; }
.testi .t-play svg { width: 16px; height: 16px; margin-left: 2px; fill: #0f5a4a; }
.testi .t-dur { position: absolute; z-index: 1; top: 18px; right: 12px; font-size: 12px; font-weight: 700; background: rgba(0,0,0,.55);
  padding: 2px 7px; border-radius: 6px; font-variant-numeric: tabular-nums; }
.testi blockquote { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; margin: 0; padding: 14px 14px 16px; border: 0;
  font-size: 14.5px; font-weight: 600; line-height: 1.4; }
.testi blockquote::before { content: "“"; display: block; font-size: 34px; line-height: .6; color: #e0b45c; margin-bottom: 4px; }
.testi-dialog { width: min-content; max-width: calc(100vw - 32px); background: #000; }
.testi-dialog .modal-foot h3 { font-size: 15px; }
.testi-dialog video { display: block; max-width: calc(100vw - 32px); max-height: calc(100vh - 210px); width: auto; height: auto; background: #000; }
.testi-dialog.is-land video { width: min(960px, calc(100vw - 32px)); }
.testi-dialog .modal-foot { background: var(--surface); }
.testi-dialog .btn { white-space: nowrap; }

/* December classes (/disember) */
.next-class { margin: 18px 0 0; padding: 10px 14px; display: inline-block; border-radius: 12px; font-size: 14.5px;
  background: color-mix(in srgb, var(--brand) 10%, transparent); border: 1px solid color-mix(in srgb, var(--brand) 25%, transparent); }
.next-class span { color: var(--brand); font-weight: 700; }
.crown.cal svg { width: 20px; height: 20px; }
.class-list { list-style: none; padding: 0; margin: 0 auto; max-width: 880px; display: grid; gap: 16px; }
.class-card { display: flex; gap: 20px; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; }
.class-card.is-next { border: 2px solid var(--brand); box-shadow: var(--shadow); }
.class-card.is-past { opacity: .6; }
.class-body { flex: 1; min-width: 0; }
.class-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.class-no { font-size: 13px; font-weight: 700; color: var(--brand); }
.class-badge { font-size: 12px; font-weight: 800; color: #1c1608; background: #e0b45c; padding: 3px 9px; border-radius: 99px; }
.class-badge.is-past { color: var(--muted); background: color-mix(in srgb, var(--ink) 8%, transparent); }
.class-body h3 { margin: 6px 0 4px; font-size: 21px; letter-spacing: -.01em; }
.class-body p { margin: 0 0 12px; color: var(--muted); }
.class-body ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: 15px; }
.class-body li::before { content: "✓"; color: var(--brand); font-weight: 800; margin-right: 8px; }
@media (max-width: 559px) { .class-card { flex-direction: column; gap: 14px; padding: 18px; } }
.fit-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.fit-list li { padding: 16px 18px 16px 48px; position: relative; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px; font-size: 16px; line-height: 1.45; }
.fit-list li::before { content: "✓"; position: absolute; left: 18px; top: 15px; color: #e0b45c; font-weight: 800; }
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 0 18px; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand); font-weight: 800; font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; color: var(--muted); }
/* Tighter nav on mid-size screens, where the homepage has seven links */
@media (min-width: 860px) and (max-width: 1139px) { .nav .wrap { gap: 16px; } .nav-links { gap: 14px; font-size: 14px; } }

/* /disember: class pass vs Premium, and "Kelas anda" for members with access */
.plans-note { max-width: 820px; margin: 16px auto 0; text-align: center; color: var(--muted); font-size: 14.5px; }
.my-classes { max-width: 820px; margin: 0 auto 24px; padding: 20px; background: var(--surface); border: 2px solid var(--brand); border-radius: 20px; }
.my-classes-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.my-classes-head b { display: block; font-size: 17px; }
.my-classes-head span:not(.crown) { color: var(--muted); font-size: 14.5px; }
.my-class-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.my-class-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 14px; }
.my-class-list li b { display: block; }
.my-class-list li span:not(.pill) { color: var(--muted); font-size: 14px; }
.inline-link { color: var(--brand); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
@media (min-width: 720px) { .plans:has(> [hidden]) { grid-template-columns: minmax(0, 420px); justify-content: center; } }

/* December class posters in the schedule */
.class-poster { flex: none; width: 190px; align-self: flex-start; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); line-height: 0; }
.class-poster img { display: block; width: 100%; height: auto; transition: transform .2s ease; }
.class-poster:hover img { transform: scale(1.02); }
.class-when { font-size: 13px; font-weight: 800; color: #1c1608; background: #e0b45c; padding: 3px 9px; border-radius: 99px; }
.class-share { display: inline-block; margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 559px) { .class-poster { width: 100%; max-width: 360px; } }
