/* Saifullah — Pendidikan Kewangan Bisnes
   Layout: lejar bersih. Latar kertas kehijauan, kad seperti penyata akaun,
   sorotan "penanda kuning" hanya pada angka atau frasa yang paling penting. */
:root {
  --bg: #f4f7f6;
  --surface: #ffffff;
  --surface-2: #e9f0ee;
  --ink: #11201e;
  --muted: #55665f;
  --line: #d8e2df;
  --line-strong: #b9c9c4;
  --brand: #0d5a52;
  --brand-hover: #0a4842;
  --brand-ink: #ffffff;
  --brand-soft: #dcede9;
  --brand-deep: #0b3d38;
  --on-deep: #eaf5f2;
  --on-deep-muted: #a9c9c2;
  --accent: #e2a325;
  --accent-ink: #231802;
  --accent-soft: #fbefd2;
  --accent-text: #7a5300;
  --neg: #b4442f;
  --shadow: 0 1px 2px rgb(17 32 30 / .06), 0 10px 28px rgb(17 32 30 / .07);

  --f-display: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --f-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --f-num: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --radius: 16px;
  --maxw: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--f-body); font-size: 16px; line-height: 1.6;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 60; background: var(--surface);
}
h1, h2, h3, h4 { font-family: var(--f-display); line-height: 1.15; letter-spacing: -.02em; margin: 0; text-wrap: balance; color: inherit; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 750; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0; }
a { color: var(--brand); text-underline-offset: 3px; }
img { max-width: 100%; }
ul, ol { margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--brand); color: var(--brand-ink); padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: calc(env(safe-area-inset-top, 0px) + 12px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

.wrap {
  max-width: var(--maxw); margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.section { padding-block: clamp(56px, 8vw, 96px); }
.section-alt { background: var(--surface-2); }
.section-tight { padding-block: clamp(40px, 6vw, 64px); }
.section-head { display: grid; gap: 12px; max-width: 700px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head.split { max-width: none; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 16px 32px; }
@media (max-width: 700px) { .section-head.split { grid-template-columns: 1fr; } }
.eyebrow {
  font-family: var(--f-num); font-size: .76rem; font-weight: 500; letter-spacing: .1em;
  text-transform: uppercase; color: var(--brand);
}
.lead { font-size: 1.125rem; color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }
.num { font-family: var(--f-num); font-variant-numeric: tabular-nums; }
.mark {
  background: linear-gradient(transparent 60%, color-mix(in srgb, var(--accent) 48%, transparent) 60%, color-mix(in srgb, var(--accent) 48%, transparent) 92%, transparent 92%);
  padding-inline: .06em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 650 1rem/1.1 var(--f-display); padding: 14px 22px; border-radius: 999px;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: var(--brand-ink); }
.btn-primary:hover { background: var(--brand-hover); }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: color-mix(in srgb, var(--accent) 85%, var(--ink)); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-on-deep { background: transparent; color: var(--on-deep); border-color: color-mix(in srgb, var(--on-deep) 40%, transparent); }
.btn-on-deep:hover { border-color: var(--on-deep); }
.btn-sm { padding: 10px 16px; font-size: .92rem; }
.btn-block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: relative; z-index: 50;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 36px; height: 36px; flex: none; }
.bm-bg { fill: var(--brand); }
.bm-s { fill: none; stroke: var(--brand-ink); stroke-width: 5.2; stroke-linecap: round; stroke-linejoin: round; }
.bm-arrow { fill: none; stroke: var(--accent); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.brand-text { display: grid; line-height: 1.1; }
.brand-text strong { font-family: var(--f-display); font-size: 1.2rem; font-weight: 800; letter-spacing: -.01em; }
.brand-text small { font-size: .72rem; color: var(--muted); letter-spacing: .01em; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a:not(.btn) {
  padding: 8px 12px; border-radius: 8px; color: var(--ink); text-decoration: none;
  font-weight: 500; font-size: .95rem;
}
.site-nav a:not(.btn):hover { background: var(--surface-2); }
.site-nav a[aria-current="page"] { color: var(--brand); background: var(--brand-soft); }
.site-nav .btn { margin-left: 8px; }
.nav-toggle { display: none; }
@media (max-width: 1100px) {
  .nav-toggle {
    display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center;
    border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); cursor: pointer;
  }
  .nav-toggle svg { width: 22px; height: 22px; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding-block: 12px 18px;
    padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px));
    background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a:not(.btn) { padding: 12px; }
  .site-nav .btn { margin: 8px 0 0; }
}

/* ---------- Hero (home) ---------- */
.hero { padding-block: clamp(40px, 6vw, 80px) clamp(56px, 7vw, 96px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; } }
.hero-copy { display: grid; gap: 22px; justify-items: start; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ticks { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; padding: 0; color: var(--muted); font-size: .93rem; }
.ticks li { display: flex; align-items: center; gap: 8px; }
.ticks li::before, .checks li::before, .crosses li::before {
  content: ""; width: 18px; height: 18px; flex: none; background: var(--brand);
  -webkit-mask: var(--i-check) center / contain no-repeat; mask: var(--i-check) center / contain no-repeat;
}
:root {
  --i-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm-1.3 14.2-4.2-4.2 1.4-1.4 2.8 2.8 5.6-5.6 1.4 1.4-7 7Z'/%3E%3C/svg%3E");
  --i-cross: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm3.5 12.1-1.4 1.4L12 13.4l-2.1 2.1-1.4-1.4 2.1-2.1-2.1-2.1 1.4-1.4 2.1 2.1 2.1-2.1 1.4 1.4-2.1 2.1 2.1 2.1Z'/%3E%3C/svg%3E");
}

/* Ledger card — penyata ringkas */
.ledger {
  margin: 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: clamp(20px, 3vw, 28px); display: grid; gap: 16px;
  font-variant-numeric: tabular-nums; min-width: 0;
}
.ledger-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px 12px; flex-wrap: wrap; }
.ledger-head h2, .ledger-head h3 { font-size: 1.05rem; letter-spacing: -.01em; }
.tag {
  font-family: var(--f-num); font-size: .7rem; letter-spacing: .07em; text-transform: uppercase;
  padding: 4px 8px; border-radius: 6px; background: var(--surface-2); color: var(--muted); white-space: nowrap;
}
.ledger table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.ledger caption { text-align: left; font-size: .85rem; color: var(--muted); padding-bottom: 6px; }
.ledger th { text-align: left; font-weight: 400; }
.ledger td, .ledger th { padding: 7px 0; border-bottom: 1px dashed var(--line); vertical-align: baseline; }
.ledger td { text-align: right; font-family: var(--f-num); white-space: nowrap; padding-left: 12px; }
.ledger tr.sub th, .ledger tr.sub td { font-weight: 650; border-bottom: 1px solid var(--line-strong); }
.ledger tr.gap th, .ledger tr.gap td { padding-top: 14px; }
.ledger tr.total th, .ledger tr.total td { font-weight: 700; border-bottom: 3px double var(--ink); padding-top: 10px; }
.ledger .neg { color: var(--neg); }
.ledger-note { font-size: .9rem; background: var(--accent-soft); color: var(--ink); border-radius: 10px; padding: 12px 14px; }
.ledger-note strong { color: var(--accent-text); }
.table-scroll { overflow-x: auto; }

/* ---------- Audience ---------- */
.audience { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; list-style: none; padding: 0; }
@media (max-width: 900px) { .audience { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .audience { grid-template-columns: 1fr; } }
.audience li { display: grid; gap: 6px; padding-top: 16px; border-top: 2px solid var(--brand); align-content: start; }
.audience h3 { font-size: 1.05rem; }
.audience p { color: var(--muted); font-size: .94rem; }

/* ---------- Class schedule ---------- */
.schedule { display: grid; gap: 12px; list-style: none; padding: 0; }
.session {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px 22px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px;
}
.date {
  display: grid; justify-items: center; width: 76px; padding: 10px 0; border-radius: 12px;
  background: var(--brand-soft); color: var(--brand); text-align: center; line-height: 1.1;
}
.date b { font-family: var(--f-display); font-size: 1.7rem; font-weight: 800; }
.date span { font-family: var(--f-num); font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; }
.session-body { display: grid; gap: 8px; min-width: 0; }
.session-body h3 { font-size: 1.08rem; }
.session-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .88rem; color: var(--muted); align-items: center; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 500;
  padding: 3px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-text);
}
.chip-brand { background: var(--brand-soft); color: var(--brand); }
@media (max-width: 640px) {
  .session { grid-template-columns: auto minmax(0, 1fr); }
  .session .btn { grid-column: 1 / -1; }
}
.note-line { margin-top: 16px; font-size: .88rem; color: var(--muted); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; list-style: none; padding: 0; counter-reset: step; }
.steps li { display: grid; gap: 8px; align-content: start; padding-top: 16px; border-top: 2px solid var(--line-strong); }
.steps li::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: var(--f-num); font-size: .85rem; color: var(--brand); font-weight: 500; }
.steps h3 { font-size: 1.02rem; }
.steps p { font-size: .92rem; color: var(--muted); }
@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps li { grid-template-columns: 44px minmax(0, 1fr); column-gap: 12px; padding-block: 16px; border-top: 1px solid var(--line-strong); }
  .steps li::before { grid-row: span 2; }
}

/* ---------- Paths (A / B) ---------- */
.paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 820px) { .paths { grid-template-columns: 1fr; } }
.path {
  display: grid; gap: 18px; align-content: start; padding: clamp(22px, 3.4vw, 34px);
  border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface);
}
.path-deep { background: var(--brand-deep); color: var(--on-deep); border-color: transparent; }
.path-deep .muted, .path-deep .price small { color: var(--on-deep-muted); }
.path-deep .eyebrow { color: var(--accent); }
.path-deep .checks li::before { background: var(--accent); }
.path-label { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.price { font-family: var(--f-display); font-size: clamp(2rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.price small { font-size: 1rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.path .btn { justify-self: start; }

.checks, .crosses { list-style: none; padding: 0; display: grid; gap: 10px; }
.checks li, .crosses li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; align-items: start; }
.checks li::before, .crosses li::before { margin-top: 3px; }
.crosses li { color: var(--muted); }
.crosses li::before { background: var(--muted); -webkit-mask-image: var(--i-cross); mask-image: var(--i-cross); }

/* ---------- Cards (artikel) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } }
@media (max-width: 960px) { .cards-3 { grid-template-columns: 1fr; } }
.card {
  display: grid; grid-template-rows: auto 1fr; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit;
  transition: border-color .15s, transform .15s, box-shadow .15s; min-width: 0;
}
.card:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow); }
.card-body { padding: 20px; display: grid; gap: 10px; align-content: start; }
.card-body h3 { font-size: 1.12rem; }
.card-body p { color: var(--muted); font-size: .94rem; }
.card-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; font-size: .82rem; color: var(--muted); }
.card-link { font-size: .9rem; font-weight: 650; color: var(--brand); font-family: var(--f-display); }
@media (min-width: 961px) { .cards-3 .card-body { min-height: 230px; grid-template-rows: auto auto 1fr auto; } }

.thumb {
  aspect-ratio: 16 / 9; max-width: 100%; display: grid; place-items: center; text-align: center; padding: 16px;
  background-color: var(--brand-soft); color: var(--brand);
  background-image: repeating-linear-gradient(to bottom, transparent 0 27px, color-mix(in srgb, currentColor 16%, transparent) 27px 28px);
  font-family: var(--f-num); font-weight: 600; font-size: clamp(1.25rem, 2.4vw, 1.65rem); letter-spacing: -.02em; line-height: 1.25;
}
.thumb small { display: block; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; opacity: .8; }
.t-amber { background-color: var(--accent-soft); color: var(--accent-text); }
.t-ink { background-color: var(--surface-2); color: var(--ink); }

/* ---------- Trust / team ---------- */
.trust { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .trust { grid-template-columns: 1fr; } }
.trust-copy { display: grid; gap: 16px; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.facts div { background: var(--surface); padding: 20px; display: grid; gap: 4px; }
.facts b { font-family: var(--f-display); font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; color: var(--brand); }
.facts span { font-size: .9rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 840px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; }
.faq details[open] { border-color: var(--line-strong); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 0; font-weight: 650; font-family: var(--f-display);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--f-num); color: var(--brand); font-size: 1.3rem; line-height: 1; flex: none; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding-bottom: 18px; color: var(--muted); max-width: 70ch; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--brand-deep); color: var(--on-deep); }
.cta-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 40px; align-items: center; padding-block: clamp(40px, 6vw, 64px); }
@media (max-width: 760px) { .cta-inner { grid-template-columns: 1fr; } }
.cta-inner p { color: var(--on-deep-muted); margin-top: 10px; max-width: 58ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--surface); padding-block: 48px 28px; font-size: .92rem; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.25fr); gap: 40px; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; } .footer-grid > div:first-child { grid-column: 1 / -1; max-width: 480px; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; } .footer-grid > div:last-child { grid-column: 1 / -1; } }
.footer-grid > div { display: grid; gap: 12px; align-content: start; }
.footer-grid h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink); font-family: var(--f-num); font-weight: 500; }
.footer-grid ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.footer-grid a { color: var(--muted); text-decoration: none; }
.footer-grid a:hover { color: var(--ink); text-decoration: underline; }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; font-size: .82rem; }

/* ---------- Inner page hero ---------- */
.page-hero { background: var(--surface); border-bottom: 1px solid var(--line); padding-block: clamp(36px, 5vw, 64px); }
.page-hero-inner { display: grid; gap: 16px; max-width: 780px; }
.course-hero-inner > * { max-width: 780px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; font-size: .86rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-strong); }
.crumbs a { color: var(--muted); }
.fact-row { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin-top: 4px; }
.fact-row li { display: grid; gap: 2px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); min-width: 130px; }
.fact-row b { font-family: var(--f-display); font-size: 1.05rem; }
.fact-row span { font-size: .78rem; color: var(--muted); font-family: var(--f-num); text-transform: uppercase; letter-spacing: .06em; }

/* ---------- Class format bar ---------- */
.format { display: grid; gap: 14px; }
.format-bar { display: flex; height: 54px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.format-bar div { display: flex; align-items: center; padding-inline: 14px; font-size: .86rem; font-weight: 600; white-space: nowrap; overflow: hidden; min-width: 0; }
.fb-teach { flex: 45; background: var(--brand); color: var(--brand-ink); }
.fb-demo { flex: 15; background: var(--brand-soft); color: var(--brand); }
.fb-next { flex: 5; background: var(--accent); color: var(--accent-ink); justify-content: center; padding-inline: 4px !important; }
.format-legend { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; padding: 0; }
@media (max-width: 700px) { .format-legend { grid-template-columns: 1fr; } }
.format-legend li { display: grid; gap: 4px; }
.format-legend b { font-family: var(--f-num); font-size: .85rem; color: var(--brand); font-weight: 500; }
.format-legend p { font-size: .93rem; color: var(--muted); }

.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; } }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 28px); display: grid; gap: 14px; align-content: start; }

/* ---------- Forms ---------- */
.form-shell { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: clamp(28px, 4vw, 48px); align-items: start; }
@media (max-width: 920px) { .form-shell { grid-template-columns: 1fr; } }
.form-aside { display: grid; gap: 20px; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 24px); }
@media (max-width: 920px) { .form-aside { position: static; } }
.form {
  display: grid; gap: 26px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(20px, 4vw, 36px); box-shadow: var(--shadow); min-width: 0;
}
.form-section { display: grid; gap: 18px; }
.form-section + .form-section { padding-top: 26px; border-top: 1px solid var(--line); }
.form-section-title { font-family: var(--f-num); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > label, .field > legend { font-weight: 600; font-size: .95rem; padding: 0; }
.field legend { margin-bottom: 8px; }
.hint, .opt { font-size: .84rem; color: var(--muted); font-weight: 400; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 600px) { .grid-2 { grid-template-columns: 1fr; } }
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; border-radius: 10px;
  border: 1.5px solid var(--line-strong); background: var(--bg); color: var(--ink);
  transition: border-color .15s, background-color .15s;
}
textarea { min-height: 110px; resize: vertical; }
input:hover, select:hover, textarea:hover { border-color: var(--muted); }
input:focus, select:focus, textarea:focus { border-color: var(--brand); background: var(--surface); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 22%, transparent); }
.options { display: flex; flex-wrap: wrap; gap: 8px; }
.option {
  display: inline-flex; gap: 10px; align-items: center; padding: 10px 14px; border: 1.5px solid var(--line);
  border-radius: 10px; cursor: pointer; font-size: .94rem; background: var(--bg); transition: border-color .15s, background-color .15s;
}
.option:hover { border-color: var(--line-strong); }
.option:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.option input, .consent input { accent-color: var(--brand); width: 18px; height: 18px; flex: none; margin: 0; }
.option:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }
.options-stack { display: grid; gap: 8px; }
.options-stack .option { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; align-items: center; padding: 14px; }
.options-stack .option b { font-family: var(--f-display); font-weight: 650; display: block; }
.options-stack .option small { color: var(--muted); font-size: .84rem; }
.options-stack .option .num { font-size: .8rem; color: var(--brand); }
@media (max-width: 520px) { .options-stack .option { grid-template-columns: 18px minmax(0, 1fr); } .options-stack .option .num { grid-column: 2; } }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; padding: 14px; border-radius: 10px; background: var(--surface-2); cursor: pointer; }
.consent input { margin-top: 2px; }
.field-error { color: var(--neg); font-size: .86rem; font-weight: 500; }
.field-error:empty { display: none; }
.has-error input[type="text"], .has-error input[type="email"], .has-error input[type="tel"], .has-error select { border-color: var(--neg); }
.has-error .option, .has-error.consent, .has-error .consent { border-color: var(--neg); box-shadow: inset 0 0 0 1px var(--neg); }
.form-foot { display: grid; gap: 12px; }
.demo-note { font-size: .82rem; color: var(--muted); }
.form-alert { padding: 12px 14px; border-radius: 10px; background: color-mix(in srgb, var(--neg) 12%, var(--surface)); color: var(--neg); font-size: .92rem; font-weight: 500; }

.success {
  display: grid; gap: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); min-width: 0;
}
.success:focus { outline: none; }
.success-icon { width: 52px; height: 52px; border-radius: 50%; background: var(--brand-soft); display: grid; place-items: center; }
.success-icon::before { content: ""; width: 26px; height: 26px; background: var(--brand); -webkit-mask: var(--i-check) center / contain no-repeat; mask: var(--i-check) center / contain no-repeat; }
.next-steps { display: grid; gap: 14px; padding-left: 0; list-style: none; counter-reset: ns; }
.next-steps li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; align-items: start; }
.next-steps li::before { counter-increment: ns; content: counter(ns); width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); display: grid; place-items: center; font: 600 .85rem/1 var(--f-num); }
.next-steps b { display: block; }
.next-steps span { color: var(--muted); font-size: .93rem; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 760px) { .services { grid-template-columns: 1fr; } }
.service { display: grid; gap: 14px; align-content: start; padding: clamp(22px, 3vw, 28px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.service-top { display: flex; justify-content: space-between; align-items: start; gap: 12px; flex-wrap: wrap; }
.service .price { font-size: 1.7rem; }
.service .price small { font-size: .9rem; }
.service p { color: var(--muted); font-size: .95rem; }
.inline-note {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px;
  background: var(--accent-soft); font-size: .93rem;
}
.inline-note strong { color: var(--accent-text); }
.reveal-note { margin-top: 4px; padding: 14px 16px; border-radius: 12px; background: color-mix(in srgb, var(--on-deep) 10%, transparent); font-size: .93rem; }

.compare { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 620px; }
.compare th, .compare td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-family: var(--f-display); font-size: 1rem; background: var(--surface-2); }
.compare thead th:first-child { border-top-left-radius: 12px; }
.compare thead th:last-child { border-top-right-radius: 12px; }
.compare tbody th { font-weight: 600; width: 26%; }
.compare td { color: var(--muted); }
.compare-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }

/* ---------- Articles page ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filter {
  font: 550 .92rem/1 var(--f-body); padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line-strong);
  background: var(--surface); color: var(--ink); cursor: pointer;
}
.filter:hover { border-color: var(--brand); }
.filter[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.featured {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; transition: border-color .15s, box-shadow .15s;
}
.featured:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.featured .thumb { aspect-ratio: auto; min-height: 260px; font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
.featured-body { padding: clamp(22px, 4vw, 40px); display: grid; gap: 14px; align-content: center; }
.featured-body h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); }
@media (max-width: 820px) { .featured { grid-template-columns: 1fr; } .featured .thumb { min-height: 0; aspect-ratio: 16 / 9; } }
.count { font-size: .88rem; color: var(--muted); margin-bottom: 14px; }
.shorts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 760px) { .shorts { grid-template-columns: 1fr; } }
.short { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; }
.short-thumb {
  aspect-ratio: 9 / 16; max-width: 100%; border-radius: 10px; background: var(--brand-deep); color: var(--on-deep);
  display: grid; place-items: center; position: relative; font-family: var(--f-num); font-size: .72rem;
}
.short-thumb::before { content: ""; width: 34px; height: 34px; border-radius: 50%; background: color-mix(in srgb, var(--on-deep) 20%, transparent); }
.short-thumb::after { content: ""; position: absolute; border-style: solid; border-width: 7px 0 7px 11px; border-color: transparent transparent transparent var(--on-deep); margin-left: 3px; }
.short-thumb span { position: absolute; bottom: 8px; right: 8px; }
.short h3 { font-size: 1rem; }
.short p { font-size: .86rem; color: var(--muted); margin-top: 4px; }

/* ---------- Article detail ---------- */
.article-shell { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 960px) { .article-shell { grid-template-columns: 1fr; } }
.article-head { display: grid; gap: 16px; max-width: 760px; }
.byline { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .9rem; color: var(--muted); align-items: center; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); display: grid; place-items: center; font: 700 .85rem/1 var(--f-display); }
.prose { max-width: 68ch; font-size: 1.06rem; line-height: 1.75; display: grid; gap: 20px; }
.prose h2 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); margin-top: 20px; }
.prose ol, .prose ul { padding-left: 1.3em; display: grid; gap: 12px; }
.prose li::marker { color: var(--brand); font-weight: 700; }
.prose blockquote { margin: 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--accent); font-family: var(--f-display); font-size: 1.2rem; font-weight: 650; line-height: 1.45; }
.prose .ledger { font-size: 1rem; line-height: 1.5; }
.cta-box { display: grid; gap: 12px; padding: 22px 24px; border-radius: var(--radius); background: var(--brand-soft); line-height: 1.6; }
.cta-box h3 { font-size: 1.15rem; }
.cta-box .btn { justify-self: start; }
.lead-magnet { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 18px; align-items: center; padding: 20px; border: 1.5px dashed var(--line-strong); border-radius: var(--radius); line-height: 1.55; }
.lm-cover { aspect-ratio: 3 / 4; border-radius: 6px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: end start; padding: 8px; font: 700 .62rem/1.15 var(--f-display); box-shadow: 4px 4px 0 var(--brand); }
.disclaimer { font-size: .88rem; color: var(--muted); padding-top: 18px; border-top: 1px solid var(--line); line-height: 1.6; }
.sidebar { display: grid; gap: 16px; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 24px); }
@media (max-width: 960px) { .sidebar { position: static; } }
.side-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 12px; }
.side-card.deep { background: var(--brand-deep); color: var(--on-deep); border-color: transparent; }
.side-card.deep .muted { color: var(--on-deep-muted); }
.side-card.deep .eyebrow { color: var(--accent); }
.toc { list-style: none; padding: 0; display: grid; gap: 8px; font-size: .92rem; }
.toc a { color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--brand); }
.head-text { display: grid; gap: 12px; }
.prose .checks { padding-left: 0; }
.panel .btn { justify-self: start; }
.narrow { max-width: 840px; }
.panel h2.small { font-size: 1.35rem; }
[hidden] { display: none !important; }
.wrap.page-hero-inner { max-width: var(--maxw); }
.page-hero-inner > * { max-width: 780px; }
.field > label.consent { font-weight: 400; }
.footer-grid a.brand { color: var(--ink); text-decoration: none; }

.brand { margin-right: auto; }
.site-nav { order: 2; }
.nav-toggle { order: 4; }

/* ---------- Portrait (personal brand) ---------- */
.trust-side { display: grid; gap: 16px; }
.portrait { margin: 0; display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 18px; align-items: center; }
.portrait-img {
  aspect-ratio: 1; max-width: 100%; border-radius: 50%; background: var(--brand-soft); color: var(--brand);
  display: grid; place-items: center; align-content: center; gap: 2px; border: 3px solid var(--accent);
}
.portrait-img span { font: 800 2.4rem/1 var(--f-display); }
.portrait-img small { font: 500 .62rem/1.2 var(--f-num); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.portrait figcaption { display: grid; gap: 2px; }
.portrait figcaption b { font-family: var(--f-display); font-size: 1.25rem; }
.portrait figcaption span { color: var(--muted); font-size: .93rem; }

/* ---------- Hero photo ---------- */
.hero-photo {
  margin: 0; position: relative; width: 100%; max-width: 460px; justify-self: end;
  border-radius: 24px; overflow: hidden; background: var(--accent-soft); box-shadow: var(--shadow);
}
.hero-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.hero-tag {
  position: absolute; top: 16px; left: 16px; display: flex; align-items: center; gap: 8px;
  background: var(--brand); color: var(--brand-ink); font: 600 .82rem/1 var(--f-display);
  padding: 9px 13px; border-radius: 999px;
}
.hero-tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.hero-badge {
  position: absolute; left: 16px; right: 16px; bottom: 16px; display: grid; gap: 2px;
  background: var(--surface); border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow);
}
.hero-badge b { font-family: var(--f-display); font-size: 1.05rem; }
.hero-badge span { font-size: .86rem; color: var(--muted); }
@media (max-width: 920px) { .hero-photo { justify-self: start; max-width: 420px; } }
img.portrait-img { display: block; width: 100%; height: auto; object-fit: cover; }
img.avatar { object-fit: cover; }

/* ---------- Teaching photos ---------- */
.photo { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--surface-2); min-width: 0; }
.photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo figcaption {
  position: absolute; left: 12px; bottom: 12px; max-width: calc(100% - 24px);
  background: color-mix(in srgb, var(--surface) 92%, transparent); color: var(--ink);
  font-size: .84rem; font-weight: 500; padding: 6px 12px; border-radius: 999px;
}
.photo-strip { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); grid-auto-rows: clamp(220px, 30vw, 380px); gap: 16px; margin-bottom: 28px; }
@media (max-width: 700px) { .photo-strip { grid-template-columns: 1fr; grid-auto-rows: 240px; } }
.photo-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.photo-pair .photo { aspect-ratio: 16 / 10; max-width: 100%; }
@media (max-width: 700px) { .photo-pair { grid-template-columns: 1fr; } }
.page-hero-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (max-width: 920px) { .page-hero-split { grid-template-columns: 1fr; } }
.hero-class { aspect-ratio: 4 / 3; max-width: 100%; box-shadow: var(--shadow); }
.page-hero-split .fact-row li { min-width: 0; padding: 10px 14px; }

/* ---------- v3: home sections, about, contact ---------- */
.site-nav a:not(.btn) { padding: 8px 10px; }
.section-foot { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.intro-copy .section-foot, .kb-copy .section-foot { margin-top: 8px; }

.hero-stats { display: flex; flex-wrap: wrap; gap: 12px 32px; margin: 4px 0 0; padding-top: 18px; border-top: 1px solid var(--line); width: 100%; }
.hero-stats div { display: flex; flex-direction: column-reverse; gap: 2px; }
.hero-stats dd { margin: 0; font: 800 1.7rem/1 var(--f-display); letter-spacing: -.02em; color: var(--brand); }
.hero-stats dt { font-size: .86rem; color: var(--muted); }

.intro { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (max-width: 860px) { .intro { grid-template-columns: 1fr; } }
.intro-photo { margin: 0; border-radius: 24px; overflow: hidden; max-width: 420px; box-shadow: var(--shadow); }
.intro-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.intro-copy { display: grid; gap: 18px; justify-items: start; }

.kelas-brief { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 860px) { .kelas-brief { grid-template-columns: 1fr; } }
.kb-copy { display: grid; gap: 16px; justify-items: start; }
.mini-list { list-style: none; padding: 0; display: grid; gap: 10px; }
.mini-list li { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 16px; align-items: center; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.mini-list li.is-next { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.mini-date { font-family: var(--f-num); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--brand); display: grid; justify-items: center; background: var(--brand-soft); border-radius: 10px; padding: 8px 0; }
.mini-date b { font: 800 1.45rem/1 var(--f-display); letter-spacing: -.02em; }
.mini-title { font-family: var(--f-display); font-weight: 650; line-height: 1.3; display: grid; gap: 4px; }
.mini-title small { font-family: var(--f-body); font-weight: 400; font-size: .84rem; color: var(--muted); }
.is-next .mini-title small { color: var(--brand); font-weight: 600; }

.svc-band { background: var(--brand-deep); color: var(--on-deep); }
.svc-band .eyebrow { color: var(--accent); }
.svc-band .lead { color: var(--on-deep-muted); }
.svc-mini { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 820px) { .svc-mini { grid-template-columns: 1fr; } }
.svc-mini > div { display: grid; gap: 10px; align-content: start; padding: 22px; border-radius: var(--radius); background: color-mix(in srgb, var(--on-deep) 7%, transparent); border: 1px solid color-mix(in srgb, var(--on-deep) 16%, transparent); }
.svc-mini p { color: var(--on-deep-muted); font-size: .94rem; }
.svc-mini b { font-family: var(--f-display); color: var(--accent); }

.socials { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.socials a { display: inline-block; padding: 6px 12px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: .86rem; color: var(--ink); text-decoration: none; }
.socials a:hover { border-color: var(--brand); color: var(--brand); }
.footer-grid .socials a { color: var(--ink); }
.footer-note { margin-top: 28px; font-size: .84rem; max-width: 80ch; }

.hero-portrait { aspect-ratio: 4 / 5; max-width: 400px; justify-self: end; box-shadow: var(--shadow); }
@media (max-width: 920px) { .hero-portrait { justify-self: start; max-width: 360px; } }
.story { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; } }
.story .prose h2 { margin-top: 0; }

.companies { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 860px) { .companies { grid-template-columns: 1fr; } }
.company { display: grid; gap: 12px; align-content: start; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.company-logo { height: 84px; display: flex; align-items: center; background: #ffffff; border-radius: 10px; padding: 10px 14px; border: 1px solid var(--line); }
.company-logo img { max-height: 64px; width: auto; }
.company p { color: var(--muted); font-size: .94rem; }

.built { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 20px; }
@media (max-width: 860px) { .built { grid-template-columns: 1fr; } }
.book { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 22px; align-items: center; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.book img { display: block; width: 100%; height: auto; border-radius: 12px; aspect-ratio: 1; object-fit: cover; }
.book > div { display: grid; gap: 10px; justify-items: start; }
@media (max-width: 520px) { .book { grid-template-columns: 1fr; } }
.platforms { display: grid; gap: 20px; }
.platform { display: grid; gap: 8px; justify-items: start; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: border-color .15s; }
.platform:hover { border-color: var(--brand); }
.beliefs { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 40px; }
@media (max-width: 700px) { .beliefs { grid-template-columns: 1fr; } }
.beliefs li { display: grid; gap: 6px; padding-top: 16px; border-top: 2px solid var(--brand); }
.beliefs p { color: var(--muted); }

.contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 860px) { .contact-cards { grid-template-columns: 1fr; } }
.contact-card { display: grid; gap: 10px; align-content: start; justify-items: start; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.contact-value { font: 700 1.25rem/1.3 var(--f-display); overflow-wrap: anywhere; }
.shortcut { list-style: none; padding: 0; display: grid; gap: 10px; }
.shortcut a { font-weight: 600; text-decoration: none; }
.shortcut a:hover { text-decoration: underline; }
.footer-grid ul.socials { display: flex; }
@media (max-width: 620px) { .cards .thumb { aspect-ratio: 16 / 7; } }

/* ---------- Article covers (ilustrasi SVG) ---------- */
.cover {
  display: block; aspect-ratio: 16 / 9; max-width: 100%; position: relative; overflow: hidden;
  background-color: var(--cv-bg);
  background-image: radial-gradient(color-mix(in srgb, var(--cv-fg) 14%, transparent) 1px, transparent 1.3px);
  background-size: 14px 14px;
}
.cover {
  display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 6px;
  container-type: inline-size; padding: 4.5% 5.5% 3.5%;
}
.cover .cover-art { display: block; width: 100%; height: 100%; min-height: 0; }
.cover-top { display: flex; align-items: center; gap: 1.8cqi; font: 700 4.2cqi/1 var(--f-display); letter-spacing: -.01em; color: var(--cv-fg); }
.cover .cover-logo { display: block; width: 6.4cqi; height: 6.4cqi; flex: none; }
.cover .cl-bg { fill: var(--cv-fg); }
.cover .cl-s { fill: none; stroke: var(--cv-bg); stroke-width: 5.2; stroke-linecap: round; stroke-linejoin: round; }
.cover .cl-arrow { fill: none; stroke: var(--cv-acc); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.cover-foot {
  font: 500 3.1cqi/1 var(--f-num); letter-spacing: .1em; color: var(--cv-fg);
  padding-top: 2.4cqi; border-top: 1px solid color-mix(in srgb, var(--cv-fg) 22%, transparent);
}
.cover .f { fill: var(--cv-fg); }
.cover .a { fill: var(--cv-acc); }
.cover .k { fill: var(--cv-card); }
.cover .m { fill: var(--cv-mute); }
.cover .sf { stroke: var(--cv-fg); }
.cover .sa { stroke: var(--cv-acc); }
.cover .sm { stroke: var(--cv-mute); }
.cover .sk { stroke: var(--cv-card); }
.cover text { font-family: var(--f-num); }
.cover .tb, .cover .tb text { font-family: var(--f-display); font-weight: 800; letter-spacing: -.01em; }
.t-teal { --cv-bg: var(--brand-soft); --cv-fg: var(--brand); --cv-acc: var(--accent); --cv-card: var(--surface); --cv-mute: color-mix(in srgb, var(--brand) 28%, var(--brand-soft)); }
.t-amber { --cv-bg: var(--accent-soft); --cv-fg: var(--accent-text); --cv-acc: var(--brand); --cv-card: var(--surface); --cv-mute: color-mix(in srgb, var(--accent) 45%, var(--accent-soft)); }
.t-deep { --cv-bg: var(--brand-deep); --cv-fg: var(--on-deep); --cv-acc: var(--accent); --cv-card: color-mix(in srgb, var(--on-deep) 13%, transparent); --cv-mute: color-mix(in srgb, var(--on-deep) 35%, transparent); }
.card .cover { transition: transform .3s ease; }
.card:hover .cover .cover-art { transform: scale(1.04); transition: transform .3s ease; }
.featured .cover { aspect-ratio: auto; min-height: 300px; height: 100%; padding: 28px 32px 22px; gap: 10px; }
.featured .cover-top { font-size: 1.05rem; gap: 10px; }
.featured .cover .cover-logo { width: 28px; height: 28px; }
.featured .cover-foot { font-size: .8rem; padding-top: 12px; }
@media (max-width: 820px) { .featured .cover { aspect-ratio: 16 / 9; min-height: 0; } }
@media (max-width: 620px) { .cards .cover { aspect-ratio: 16 / 10; } }
.toc-box { display: grid; gap: 10px; padding: 18px 22px; border: 1px solid var(--line); border-left: 3px solid var(--brand); border-radius: 12px; background: var(--surface); line-height: 1.5; }
.prose .toc-box ol.toc { list-style: decimal; padding-left: 1.2em; gap: 6px; font-size: .98rem; }
.toc-box .toc a { color: var(--ink); text-decoration: none; }
.toc-box .toc a:hover { color: var(--brand); text-decoration: underline; }
.class-cta {
  display: grid; gap: 14px; justify-items: start; margin-top: 12px;
  padding: clamp(22px, 4vw, 32px); border-radius: var(--radius);
  background: var(--brand-deep); color: var(--on-deep); line-height: 1.6;
}
.class-cta .eyebrow { color: var(--accent); }
.prose .class-cta h2 { margin: 0; font-size: clamp(1.3rem, 2.4vw, 1.6rem); }
.class-cta p { color: var(--on-deep-muted); }
.prose .class-cta .checks { padding-left: 0; gap: 8px; font-size: 1rem; }
.class-cta .checks li::before { background: var(--accent); }
.side-title { font-size: 1.05rem; }
.side-articles { list-style: none; padding: 0; display: grid; }
.side-articles li + li { border-top: 1px solid var(--line); }
.side-articles a { display: grid; gap: 3px; padding: 11px 0; text-decoration: none; color: var(--ink); }
.side-articles small { font-family: var(--f-num); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.side-articles span { font-family: var(--f-display); font-weight: 650; font-size: .95rem; line-height: 1.35; }
.side-articles a:hover span { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.article-shell .sidebar { position: static; align-self: stretch; align-content: start; }
.side-sticky { display: grid; gap: 16px; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 24px); }
@media (max-width: 960px) { .side-sticky { position: static; } }

/* ---------- Cover dengan bingkai ---------- */
.card .cover { margin: 12px 12px 0; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--cv-fg) 22%, transparent); }
.featured .cover { margin: 14px 0 14px 14px; height: auto; align-self: stretch; border-radius: 14px; border: 1px solid color-mix(in srgb, var(--cv-fg) 22%, transparent); }
@media (max-width: 820px) {
  .featured .cover { margin: 12px 12px 0; padding: 4.5% 5.5% 3.5%; gap: 6px; aspect-ratio: 16 / 10; }
  .featured .cover-top { font-size: 4.2cqi; gap: 1.8cqi; }
  .featured .cover .cover-logo { width: 6.4cqi; height: 6.4cqi; }
  .featured .cover-foot { font-size: 3.1cqi; padding-top: 2.4cqi; }
}
.chip-kos { background: color-mix(in srgb, var(--accent) 22%, var(--surface)); color: var(--accent-text); }
.prose .ledger h3 { font-size: 1.05rem; }

/* ---------- Ruang "apa nak selesaikan hari ini" ---------- */
.ask { display: grid; gap: 12px; margin-top: 8px; padding: clamp(18px, 3vw, 26px); background: var(--brand-soft); border-radius: var(--radius); max-width: 780px; }
.ask-label { font: 750 clamp(1.1rem, 2vw, 1.3rem)/1.3 var(--f-display); color: var(--ink); }
.ask-field { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: 12px; padding: 0 14px; transition: border-color .15s, box-shadow .15s; }
.ask-field:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 22%, transparent); }
.ask-field svg { width: 20px; height: 20px; color: var(--muted); flex: none; }
.ask-field input { border: 0; background: transparent; padding: 14px 0; font-size: 1.02rem; box-shadow: none; }
.ask-field input:focus { outline: none; box-shadow: none; background: transparent; }
.ask-hint { font-size: .88rem; color: var(--muted); }
.ask-chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ask-chips a { display: inline-flex; gap: 6px; align-items: center; padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: .92rem; font-weight: 550; transition: border-color .15s, color .15s; }
.ask-chips a:hover { border-color: var(--brand); color: var(--brand); }
.ask-chips a span { color: var(--brand); }
.empty { display: grid; gap: 6px; padding: 24px; border: 1.5px dashed var(--line-strong); border-radius: var(--radius); background: var(--surface); color: var(--muted); }
.empty b { color: var(--ink); }
.ask-field input { flex: 1; min-width: 0; width: 100%; font: inherit; font-size: 1.02rem; color: var(--ink); -webkit-appearance: none; appearance: none; }

/* ---------- Squeeze page / thank you / notis privasi ---------- */
.btn-lg { padding: 17px 28px; font-size: 1.06rem; }
.lp-header .header-inner { min-height: 66px; }
.lp-hero { padding-block: clamp(36px, 6vw, 72px) clamp(32px, 5vw, 56px); background: var(--surface); border-bottom: 1px solid var(--line); }
.lp-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 920px) { .lp-hero-grid { grid-template-columns: 1fr; } }
.lp-hero-copy { display: grid; gap: 20px; justify-items: start; }
.lp-hero-copy h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
.lp-points { list-style: none; padding: 0; display: grid; gap: 10px; }
.lp-points li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 1.02rem; }
.lp-points li::before { content: ""; width: 20px; height: 20px; margin-top: 2px; background: var(--brand); -webkit-mask: var(--i-check) center / contain no-repeat; mask: var(--i-check) center / contain no-repeat; }
.lp-note { font-size: .9rem; color: var(--muted); align-self: center; }
.lp-photo { justify-self: end; max-width: 520px; width: 100%; }
@media (max-width: 920px) { .lp-photo { justify-self: start; } }
.lp-proof { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: clamp(28px, 4vw, 44px) 0 0; padding-top: 24px; border-top: 1px solid var(--line); }
@media (max-width: 640px) { .lp-proof { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.lp-proof div { display: flex; flex-direction: column-reverse; gap: 2px; }
.lp-proof dd { margin: 0; font: 800 1.8rem/1 var(--f-display); letter-spacing: -.02em; color: var(--brand); }
.lp-proof dt { font-size: .88rem; color: var(--muted); }
.lp-two { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
@media (max-width: 820px) { .lp-two { grid-template-columns: 1fr; } }
.lp-fit { font-size: 1.05rem; gap: 14px; }
.lp-form-section { background: var(--brand-soft); }
.lp-form-wrap { max-width: 860px; }
.lp-form-head { margin-inline: auto; text-align: center; justify-items: center; }
.lp-footer { border-top: 1px solid var(--line); background: var(--surface); padding-block: 24px; font-size: .88rem; color: var(--muted); }
.lp-footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
.lp-footer nav { display: flex; gap: 20px; }
.lp-footer a { color: var(--muted); }
.lp-thanks-wrap { max-width: 760px; display: grid; gap: 18px; justify-items: start; }
.lp-thanks-wrap h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.lp-steps { margin-top: 6px; }
.lp-steps li { padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.lp-reads { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 760px) { .lp-reads { grid-template-columns: 1fr; } }
.lp-reads a { display: grid; gap: 6px; height: 100%; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: border-color .15s; }
.lp-reads a:hover { border-color: var(--brand); }
.lp-reads small { font-family: var(--f-num); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.lp-reads span { font: 700 1.05rem/1.35 var(--f-display); }
.draft-note { font-size: .88rem; padding: 10px 14px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-text); max-width: 70ch; }
.legal h2 { font-size: clamp(1.2rem, 2vw, 1.4rem); }
.lp-header .btn { white-space: nowrap; }

/* ---------- Membership sales page ---------- */
.mem-hero .lp-hero-copy h1 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
.mem-price-inline { display: flex; align-items: baseline; gap: 6px 16px; flex-wrap: wrap; }
.mem-price-inline span { font-size: .92rem; color: var(--muted); }
.mem-note { font-size: .8rem; color: var(--muted); margin-top: 16px; text-align: right; }
@media (max-width: 920px) { .mem-note { text-align: left; } }

.portal { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; min-width: 0; }
.portal-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--surface-2); border-bottom: 1px solid var(--line); font-size: .78rem; color: var(--muted); }
.portal-bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.portal-bar b { margin-left: 8px; font-family: var(--f-num); font-weight: 500; letter-spacing: .06em; }
.portal-body { display: grid; grid-template-columns: 132px minmax(0, 1fr); min-height: 320px; }
.portal-nav { background: var(--brand-deep); color: var(--on-deep-muted); padding: 16px 12px; display: grid; gap: 4px; align-content: start; font-size: .8rem; }
.portal-nav p { padding: 7px 10px; border-radius: 8px; }
.portal-nav .pn-title { color: var(--on-deep); font: 800 .95rem/1 var(--f-display); padding: 4px 10px 12px; }
.portal-nav .is-on { background: color-mix(in srgb, var(--on-deep) 14%, transparent); color: var(--on-deep); font-weight: 600; }
.portal-main { padding: 14px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.portal-video { position: relative; aspect-ratio: 16 / 8; max-width: 100%; border-radius: 12px; background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%); display: grid; place-items: center; overflow: hidden; }
.pv-play { width: 46px; height: 46px; border-radius: 50%; background: var(--accent); position: relative; }
.pv-play::after { content: ""; position: absolute; left: 18px; top: 14px; border-style: solid; border-width: 9px 0 9px 14px; border-color: transparent transparent transparent var(--accent-ink); }
.pv-meta { position: absolute; left: 12px; right: 12px; bottom: 10px; display: grid; color: var(--on-deep); font-size: .74rem; }
.pv-meta b { font: 700 .86rem/1.3 var(--f-display); }
.pv-meta span { opacity: .8; }
.portal-list { list-style: none; padding: 0; display: grid; gap: 6px; font-size: .8rem; }
.portal-list li { display: grid; grid-template-columns: 16px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; }
.portal-list li span { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--line-strong); }
.portal-list li.done span { background: var(--brand); border-color: var(--brand); }
.portal-list em { font-style: normal; font-size: .7rem; color: var(--muted); font-family: var(--f-num); }
.portal-list li:not(.done) em { color: var(--accent-text); }
.portal-ask { display: grid; gap: 3px; padding: 10px 12px; border-radius: 10px; background: var(--accent-soft); font-size: .78rem; }
.portal-ask b { font-family: var(--f-display); }
.portal-ask em { font-style: normal; font-size: .7rem; color: var(--brand); font-weight: 600; }
@media (max-width: 520px) { .portal-body { grid-template-columns: 1fr; } .portal-nav { display: none; } }

.mem-problems { display: grid; gap: 16px; }
.mem-problems .crosses li { font-size: 1.02rem; color: var(--ink); }
.mem-benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 900px) { .mem-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .mem-benefits { grid-template-columns: 1fr; } }
.mem-benefits article { display: grid; gap: 10px; align-content: start; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.mem-benefits p { color: var(--muted); font-size: .95rem; }
.mb-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); position: relative; }
.mb-ico::after { content: ""; position: absolute; inset: 11px; background: var(--brand); -webkit-mask: var(--mi) center / contain no-repeat; mask: var(--mi) center / contain no-repeat; }
.mb-ico[data-i="play"] { --mi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 4.5v15l13-7.5z'/%3E%3C/svg%3E"); }
.mb-ico[data-i="file"] { --mi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 2h8l6 6v14H6zm8 1.5V9h5.5zM9 13h8v2H9zm0 4h8v2H9z'/%3E%3C/svg%3E"); }
.mb-ico[data-i="ask"] { --mi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 3h16a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H9l-5 4V4a1 1 0 0 1 1-1zm7 10v2h2v-2zm1-8a3.5 3.5 0 0 0-3.5 3.5h2A1.5 1.5 0 1 1 12 10c-.6 0-1 .4-1 1v1h2v-.3A3.5 3.5 0 0 0 12 5z'/%3E%3C/svg%3E"); }
.mb-ico[data-i="level"] { --mi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 20h4v-6H3zm7 0h4V9h-4zm7 0h4V4h-4z'/%3E%3C/svg%3E"); }
.mb-ico[data-i="new"] { --mi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M11 4h2v7h7v2h-7v7h-2v-7H4v-2h7z'/%3E%3C/svg%3E"); }
.mb-ico[data-i="tag"] { --mi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 3h9l9 9-9 9-9-9zm4 2.5A1.5 1.5 0 1 0 7 8.5a1.5 1.5 0 0 0 0-3z'/%3E%3C/svg%3E"); }

.mem-steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: ms; }
@media (max-width: 760px) { .mem-steps { grid-template-columns: 1fr; } }
.mem-steps li { display: grid; gap: 8px; align-content: start; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.mem-steps li::before { counter-increment: ms; content: counter(ms); width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); display: grid; place-items: center; font: 700 1rem/1 var(--f-display); }
.mem-steps p { color: var(--muted); }
.mem-value { display: grid; gap: 16px; }
.mem-value blockquote { margin: 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--accent); font: 650 1.12rem/1.5 var(--f-display); }
.mem-compare { min-width: 520px; }
.mem-compare td.yes { color: var(--brand); font-weight: 600; }
.mem-proof { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 8px; width: 100%; }
.mem-pricing { background: var(--brand-soft); }
.mem-card { max-width: 480px; margin-inline: auto; display: grid; gap: 20px; padding: clamp(24px, 4vw, 36px); background: var(--brand-deep); color: var(--on-deep); border-radius: 22px; box-shadow: var(--shadow); }
.mem-card-top { display: grid; gap: 6px; justify-items: center; text-align: center; padding-bottom: 18px; border-bottom: 1px solid color-mix(in srgb, var(--on-deep) 18%, transparent); }
.mem-card .eyebrow { color: var(--accent); }
.mem-card .price { font-size: clamp(2.6rem, 6vw, 3.4rem); }
.mem-card .price small { color: var(--on-deep-muted); }
.mem-card-sub, .mem-pay { color: var(--on-deep-muted); font-size: .9rem; text-align: center; }
.mem-card .checks li::before { background: var(--accent); }
.mem-benefits.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 600px) { .mem-benefits.four { grid-template-columns: 1fr; } }
.mb-star { border-color: var(--accent) !important; box-shadow: 0 0 0 1px var(--accent); position: relative; }
.mb-star .chip { position: absolute; top: 24px; right: 24px; }
.mb-ico[data-i="book"] { --mi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 4.5A2.5 2.5 0 0 1 6.5 2H20v16H6.5a1.5 1.5 0 0 0 0 3H20v1H6.5A2.5 2.5 0 0 1 4 19.5zM8 6v2h8V6z'/%3E%3C/svg%3E"); }

/* ---------- Servis terperinci ---------- */
.svc-details { display: grid; gap: 20px; }
.svc-detail { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 28px 40px; padding: clamp(22px, 3.4vw, 34px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); scroll-margin-top: 16px; }
@media (max-width: 860px) { .svc-detail { grid-template-columns: 1fr; } }
.svc-detail-main { display: grid; gap: 12px; align-content: start; justify-items: start; min-width: 0; }
.svc-detail-main h3 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); }
.svc-intro { color: var(--muted); font-size: 1.04rem; max-width: 64ch; }
.svc-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; width: 100%; margin-top: 8px; padding-top: 18px; border-top: 1px solid var(--line); }
@media (max-width: 640px) { .svc-cols { grid-template-columns: 1fr; } }
.svc-col { display: grid; gap: 10px; align-content: start; }
.svc-col h4 { font-family: var(--f-num); font-size: .74rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.svc-col .checks { font-size: .96rem; gap: 8px; }
.svc-note { font-size: .88rem; color: var(--muted); }
.svc-detail-side { display: grid; gap: 8px; align-content: start; padding: 20px; border-radius: 14px; background: var(--brand-soft); }
@media (min-width: 861px) { .svc-detail-side { position: sticky; top: 24px; align-self: start; } }
.svc-price { font-size: .86rem; color: var(--ink); font-weight: 600; margin-top: 4px; }
.svc-price-sub { font-size: .8rem; color: var(--muted); }
.svc-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .svc-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .svc-steps { grid-template-columns: 1fr; } }
.svc-mini.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 820px) { .svc-mini.two { grid-template-columns: 1fr; } }
.faq-center .section-head { margin-inline: auto; text-align: center; justify-items: center; }
.faq-center .faq { margin-inline: auto; }

/* ---------- Mod gelap (hanya bila pelawat pilih; default sentiasa cerah) ---------- */
:root[data-theme="dark"] {
  --bg: #0c1514; --surface: #13201e; --surface-2: #1a2b28; --ink: #e4edeb; --muted: #9baeaa;
  --line: #263935; --line-strong: #37504b; --brand: #5cc4b2; --brand-hover: #7bd3c4; --brand-ink: #062a26;
  --brand-soft: #173a35; --brand-deep: #0f3631; --on-deep: #e9f4f1; --on-deep-muted: #9fc4bc;
  --accent: #f0ba45; --accent-ink: #231802; --accent-soft: #3a2f15; --accent-text: #f3c766; --neg: #f08a72;
  --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 10px 28px rgb(0 0 0 / .35);
  color-scheme: dark;
}
.theme-toggle { order: 3; display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; flex: none;
  border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); cursor: pointer; transition: border-color .15s, color .15s; }
.theme-toggle:hover { border-color: var(--brand); color: var(--brand); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
.lp-header .theme-toggle { margin-left: 12px; }
.lp-header .header-inner > .btn { order: 4; }

/* tagline logo: sembunyi hanya pada skrin sangat kecil */
@media (max-width: 350px) { .site-header .brand-text small { display: none; } }
.brand-text small { white-space: nowrap; }

/* ---------- Baca juga (pautan silang selepas senarai) ---------- */
.prose .read-also { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 14px 18px; margin: 4px 0; border-left: 3px solid var(--accent); border-radius: 0 12px 12px 0; background: var(--surface-2); font-size: 1rem; line-height: 1.5; }
.read-also span { font-family: var(--f-num); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.read-also a { font-family: var(--f-display); font-weight: 700; color: var(--brand); text-decoration: none; }
.read-also a:hover { text-decoration: underline; text-underline-offset: 3px; }
.read-also b { font-weight: 700; }

/* =====================================================================
   LMS: Webinar, Course, halaman course, pemain pelajaran, dashboard
   Semua guna token sedia ada supaya mod gelap ikut sekali.
   ===================================================================== */
:root {
  --i-play: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm-2 6.2 6 3.8-6 3.8V8.2Z'/%3E%3C/svg%3E");
  --i-lock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10V7a5 5 0 0 1 10 0v3h1a1 1 0 0 1 1 1v9a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1v-9a1 1 0 0 1 1-1h1Zm2 0h6V7a3 3 0 0 0-6 0v3Z'/%3E%3C/svg%3E");
  --i-quiz: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 3h14a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1Zm3 5v2h8V8H8Zm0 4v2h8v-2H8Zm0 4v2h5v-2H8Z'/%3E%3C/svg%3E");
}

/* Header: pautan log masuk & akaun */
.acct { display: inline-flex; align-items: center; gap: 8px; margin-left: 8px; padding: 5px 14px 5px 5px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .92rem; transition: border-color .15s; }
.acct:hover { border-color: var(--brand); }
.acct-avatar { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: var(--brand-ink); font: 750 .78rem/1 var(--f-display); }
@media (max-width: 1100px) { .acct { margin: 8px 0 0; justify-content: flex-start; } }

/* Chip harga */
.chip-free { background: var(--brand-soft); color: var(--brand); }
.chip-all { background: var(--brand-deep); color: var(--on-deep); }
.chip-lock { background: var(--surface-2); color: var(--muted); }
.chip-lock::before { content: ""; width: 11px; height: 11px; background: currentColor; -webkit-mask: var(--i-lock) center / contain no-repeat; mask: var(--i-lock) center / contain no-repeat; }
.chip-solid { background: var(--accent); color: var(--accent-ink); font-weight: 650; }

/* Kad course */
.course-card .card-body { grid-template-rows: auto auto 1fr auto; }
.course-stats { display: flex; flex-wrap: wrap; gap: 4px 14px; font: 500 .78rem/1.4 var(--f-num); letter-spacing: .02em; color: var(--muted); }
.card-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 14px; margin-top: 4px; border-top: 1px solid var(--line); }
.card-price { font: 800 1.2rem/1 var(--f-display); letter-spacing: -.02em; }
.card-price small { font: 500 .78rem/1 var(--f-body); color: var(--muted); letter-spacing: 0; }
.card-price s { font: 500 .85rem/1 var(--f-body); color: var(--muted); margin-right: 4px; }

/* Bar kemajuan */
.progress { height: 8px; border-radius: 999px; background: var(--surface-2); overflow: hidden; width: 100%; }
.progress > span { display: block; height: 100%; width: var(--p, 0%); background: var(--brand); border-radius: inherit; transition: width .35s ease; }
.progress-label { display: flex; justify-content: space-between; gap: 12px; font: 500 .8rem/1.3 var(--f-num); color: var(--muted); }
.progress-label b { color: var(--ink); font-weight: 600; }

/* Laluan pembelajaran */
.path-steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: ps; }
@media (max-width: 860px) { .path-steps { grid-template-columns: 1fr; } }
.path-steps li { display: grid; gap: 10px; align-content: start; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); position: relative; }
.path-steps li::before { counter-increment: ps; content: "0" counter(ps); font: 500 .76rem/1 var(--f-num); letter-spacing: .1em; color: var(--brand); }
.path-steps p { color: var(--muted); font-size: .95rem; }
.path-steps a { font: 650 .92rem/1.3 var(--f-display); text-decoration: none; }
.path-steps a:hover { text-decoration: underline; }

/* Pelan harga */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
@media (max-width: 920px) { .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }
.plan { position: relative; display: grid; grid-template-rows: auto auto 1fr auto; gap: 18px; padding: clamp(22px, 3vw, 30px); background: var(--surface); border: 1px solid var(--line); border-radius: 20px; }
.plan-top { display: grid; gap: 8px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.plan .price { font-size: clamp(2rem, 4vw, 2.5rem); }
.plan .checks { font-size: .95rem; gap: 9px; align-content: start; }
.plan-note { font-size: .86rem; color: var(--muted); }
.plan-star { background: var(--brand-deep); color: var(--on-deep); border-color: transparent; box-shadow: var(--shadow); }
.plan-star .eyebrow { color: var(--accent); }
.plan-star .plan-top { border-color: color-mix(in srgb, var(--on-deep) 18%, transparent); }
.plan-star .price small, .plan-star .plan-note { color: var(--on-deep-muted); }
.plan-star .checks li::before { background: var(--accent); }
.plan-badge { position: absolute; top: -13px; left: clamp(22px, 3vw, 30px); }

/* Halaman course: hero gelap */
.course-hero { background: var(--brand-deep); color: var(--on-deep); padding-block: clamp(36px, 5vw, 64px); }
.course-hero-inner { display: grid; gap: 18px; }
.course-hero .crumbs, .course-hero .crumbs a { color: var(--on-deep-muted); }
.course-hero .crumbs li + li::before { color: color-mix(in srgb, var(--on-deep) 35%, transparent); }
.course-hero .eyebrow { color: var(--accent); }
.course-hero .lead { color: var(--on-deep-muted); }
.course-hero .fact-row li { background: color-mix(in srgb, var(--on-deep) 7%, transparent); border-color: color-mix(in srgb, var(--on-deep) 16%, transparent); }
.course-hero .fact-row span { color: var(--on-deep-muted); }
.by-line { display: flex; align-items: center; gap: 12px; font-size: .95rem; color: var(--on-deep-muted); }
.by-line img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: top; border: 2px solid color-mix(in srgb, var(--on-deep) 30%, transparent); }
.by-line b { color: var(--on-deep); }

.course-shell { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(28px, 4vw, 52px); align-items: start; padding-block: clamp(36px, 5vw, 64px); }
@media (max-width: 980px) { .course-shell { grid-template-columns: 1fr; } .course-aside { order: -1; } }
.course-main { display: grid; gap: clamp(36px, 5vw, 56px); min-width: 0; }
.course-block { display: grid; gap: 16px; }
.course-block > h2 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); }
.learn-box { padding: clamp(20px, 3vw, 28px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.learn-box .checks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
@media (max-width: 640px) { .learn-box .checks { grid-template-columns: 1fr; } }
.curriculum-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px 16px; }
.curriculum-head p { font: 500 .82rem/1.4 var(--f-num); color: var(--muted); }

.buy-card { display: grid; gap: 16px; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
@media (min-width: 981px) { .buy-card { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 24px); } }
.buy-card .cover { border-radius: 12px; border: 1px solid color-mix(in srgb, var(--cv-fg) 22%, transparent); }
.buy-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; }
.buy-price .price { font-size: 2.3rem; }
.buy-price span { font-size: .88rem; color: var(--muted); }
.buy-alt { display: grid; gap: 4px; padding: 12px 14px; border-radius: 12px; background: var(--brand-soft); font-size: .9rem; }
.buy-alt a { font-weight: 650; }
.buy-includes { list-style: none; padding: 0; display: grid; gap: 8px; font-size: .92rem; color: var(--muted); }
.buy-includes b { color: var(--ink); font-weight: 600; }
.buy-actions { display: grid; gap: 10px; }

/* Kurikulum */
.curriculum { display: grid; gap: 10px; }
.module { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.module[open] { border-color: var(--line-strong); }
.module summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 16px; align-items: center; padding: 16px 20px; }
.module summary::-webkit-details-marker { display: none; }
.module summary::after { content: "+"; grid-row: 1 / span 2; grid-column: 2; font: 400 1.3rem/1 var(--f-num); color: var(--brand); }
.module[open] summary::after { content: "−"; }
.mod-no { font: 500 .72rem/1.3 var(--f-num); letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.mod-title { font: 700 1.02rem/1.35 var(--f-display); }
.mod-meta { font: 500 .78rem/1.3 var(--f-num); color: var(--muted); }
.lessons { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.lesson { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 20px; font-size: .95rem; }
.lesson + .lesson { border-top: 1px solid var(--line); }
.lesson a { color: inherit; text-decoration: none; }
.lesson a:hover { color: var(--brand); text-decoration: underline; }
.lesson .l-meta { display: flex; align-items: center; gap: 8px; font: 500 .78rem/1 var(--f-num); color: var(--muted); white-space: nowrap; }
.lesson::before { content: ""; width: 18px; height: 18px; background: var(--muted); -webkit-mask: var(--i-play) center / contain no-repeat; mask: var(--i-play) center / contain no-repeat; }
.lesson.is-lock::before { -webkit-mask-image: var(--i-lock); mask-image: var(--i-lock); width: 15px; height: 15px; justify-self: center; opacity: .7; }
.lesson.is-quiz::before { -webkit-mask-image: var(--i-quiz); mask-image: var(--i-quiz); }
.lesson.is-free::before { background: var(--brand); }
.lesson.is-done::before { background: var(--brand); -webkit-mask-image: var(--i-check); mask-image: var(--i-check); }
.lesson.is-current { background: var(--brand-soft); }
.lesson.is-current a { color: var(--brand); font-weight: 650; }
.lesson.is-lock { color: var(--muted); }

/* Pengajar */
.instructor { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 20px; align-items: start; padding: clamp(20px, 3vw, 28px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
@media (max-width: 520px) { .instructor { grid-template-columns: 1fr; } }
.instructor img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; object-position: top; }
.instructor div { display: grid; gap: 8px; }
.instructor p { color: var(--muted); }

/* Pemain pelajaran */
.player-top { background: var(--surface); border-bottom: 1px solid var(--line); padding-block: 14px; }
.player-top-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; }
.player-top .crumbs { font-size: .84rem; }
.player-top .progress-wrap { display: grid; gap: 6px; min-width: 220px; flex: 0 1 300px; }
.player-shell { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(20px, 3vw, 32px); align-items: start; padding-block: 24px 72px; }
@media (max-width: 1020px) { .player-shell { grid-template-columns: 1fr; } }
.player { display: grid; gap: 22px; min-width: 0; }
.player-video { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; display: grid; place-items: center; color: var(--on-deep); background: radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--brand) 85%, white) 0%, var(--brand) 35%, var(--brand-deep) 100%); }
.player-video::before { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(to bottom, transparent 0 31px, color-mix(in srgb, var(--on-deep) 8%, transparent) 31px 32px); }
.pv-label { position: absolute; top: 16px; left: 18px; display: grid; gap: 4px; max-width: 70%; }
.pv-label small { font: 500 .72rem/1 var(--f-num); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.pv-label b { font: 750 clamp(1rem, 2.4vw, 1.4rem)/1.25 var(--f-display); }
.play-btn { position: relative; width: clamp(60px, 9vw, 80px); aspect-ratio: 1; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); cursor: pointer; box-shadow: 0 0 0 10px color-mix(in srgb, var(--accent) 25%, transparent); transition: transform .15s; }
.play-btn:hover { transform: scale(1.05); }
.play-btn svg { width: 40%; height: 40%; margin-left: 6%; }
.pv-bar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 12px; padding: 14px 18px; font: 500 .78rem/1 var(--f-num); background: linear-gradient(transparent, rgb(0 0 0 / .4)); color: #fff; }
.pv-bar .progress { flex: 1; height: 5px; background: rgb(255 255 255 / .28); }
.pv-bar .progress > span { background: var(--accent); }
.pv-note { position: absolute; inset: auto 18px 52px auto; max-width: 260px; padding: 10px 12px; border-radius: 10px; background: var(--surface); color: var(--ink); font-size: .84rem; box-shadow: var(--shadow); }
.lesson-head { display: flex; justify-content: space-between; align-items: start; flex-wrap: wrap; gap: 14px 24px; }
.lesson-head-copy { display: grid; gap: 6px; }
.lesson-head h1 { font-size: clamp(1.45rem, 3vw, 2rem); }
.lesson-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-done[aria-pressed="true"] { background: var(--brand-soft); color: var(--brand); border-color: transparent; }
.btn-done[aria-pressed="true"]::before { content: ""; width: 18px; height: 18px; background: currentColor; -webkit-mask: var(--i-check) center / contain no-repeat; mask: var(--i-check) center / contain no-repeat; }
.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tab { flex: none; background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; padding: 12px 14px; font: 650 .95rem/1 var(--f-display); color: var(--muted); cursor: pointer; }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { color: var(--ink); border-color: var(--brand); }
.tab-panel { display: grid; gap: 14px; padding-top: 4px; }
.tab-panel[hidden] { display: none; }
.tab-panel .prose-sm { display: grid; gap: 12px; max-width: 70ch; color: var(--ink); }
.tab-panel .prose-sm ul { padding-left: 1.2em; display: grid; gap: 6px; }
.res-list { list-style: none; padding: 0; display: grid; gap: 10px; }
.res-list li { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.res-ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; font: 600 .66rem/1 var(--f-num); letter-spacing: .06em; background: var(--brand-soft); color: var(--brand); }
.res-ico.xls { background: var(--accent-soft); color: var(--accent-text); }
.res-list b { display: block; font-family: var(--f-display); font-size: .96rem; }
.res-list span { font-size: .82rem; color: var(--muted); }
.qa-list { display: grid; gap: 12px; }
.qa { display: grid; gap: 8px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.qa-q { font-weight: 600; }
.qa-who { font: 500 .76rem/1 var(--f-num); color: var(--muted); }
.qa-a { padding-left: 14px; border-left: 3px solid var(--accent); color: var(--muted); font-size: .95rem; }
.qa-a b { color: var(--ink); }
.ask-box { display: grid; gap: 10px; }
.lesson-nav { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 20px; border-top: 1px solid var(--line); }
.player-side { display: grid; gap: 14px; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; }
@media (min-width: 1021px) { .player-side { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 24px); max-height: calc(100vh - 48px); overflow: auto; } }
.player-side h2 { font-size: 1.05rem; }
.player-side .module { border-radius: 12px; }
.player-side .module summary { padding: 12px 14px; }
.player-side .mod-title { font-size: .94rem; }
.player-side .lesson { padding: 10px 14px; font-size: .9rem; }

/* Dashboard pelajar */
.dash-hero { background: var(--surface); border-bottom: 1px solid var(--line); padding-block: clamp(28px, 4vw, 44px); }
.dash-hero-inner { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 20px 32px; }
.dash-hero h1 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.dash-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.dash-stats div { display: grid; gap: 2px; padding: 12px 18px; background: var(--surface); min-width: 112px; }
.dash-stats b { font: 800 1.5rem/1.1 var(--f-display); color: var(--brand); letter-spacing: -.02em; }
.dash-stats span { font-size: .8rem; color: var(--muted); }
@media (max-width: 520px) { .dash-stats { width: 100%; } .dash-stats div { min-width: 0; padding: 12px; } }
.continue { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 24px; align-items: center; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
@media (max-width: 760px) { .continue { grid-template-columns: 1fr; } }
.continue .cover { border-radius: 12px; border: 1px solid color-mix(in srgb, var(--cv-fg) 22%, transparent); }
.continue-body { display: grid; gap: 12px; justify-items: start; padding-right: 8px; }
.continue-body h2 { font-size: clamp(1.2rem, 2.4vw, 1.5rem); }
.continue-body .progress-block { width: 100%; display: grid; gap: 6px; max-width: 460px; }
.dash-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(24px, 3vw, 36px); align-items: start; }
@media (max-width: 980px) { .dash-grid { grid-template-columns: 1fr; } }
.dash-main { display: grid; gap: 36px; min-width: 0; }
.dash-section { display: grid; gap: 16px; }
.dash-section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.dash-section-head h2 { font-size: 1.3rem; }
.dash-section-head a { font: 650 .9rem/1 var(--f-display); text-decoration: none; }
.my-courses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 620px) { .my-courses { grid-template-columns: 1fr; } }
.my-course { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; text-decoration: none; color: inherit; transition: border-color .15s; }
.my-course:hover { border-color: var(--brand); }
.my-course .cover { aspect-ratio: 1; padding: 10px; border-radius: 10px; }
.my-course .cover-top, .my-course .cover-foot { display: none; }
.my-course > div { display: grid; gap: 8px; align-content: center; min-width: 0; }
.my-course h3 { font-size: 1rem; line-height: 1.3; }
.dash-aside { display: grid; gap: 16px; }
.side-card { display: grid; gap: 14px; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.side-card h2 { font-size: 1.05rem; }
.side-card.deep { background: var(--brand-deep); color: var(--on-deep); border-color: transparent; }
.side-card.deep p { color: var(--on-deep-muted); font-size: .92rem; }
.side-card.deep .eyebrow { color: var(--accent); }
.mini-sessions { list-style: none; padding: 0; display: grid; gap: 12px; }
.mini-sessions li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: center; }
.mini-sessions .date { width: 58px; padding: 7px 0; }
.mini-sessions .date b { font-size: 1.25rem; }
.mini-sessions .date span { font-size: .6rem; }
.mini-sessions p { font: 650 .92rem/1.35 var(--f-display); }
.mini-sessions small { display: block; font: 500 .74rem/1.3 var(--f-num); color: var(--muted); margin-top: 2px; }
.cert { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: center; padding: 12px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-text); text-decoration: none; }
.cert-ico { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font: 800 .8rem/1 var(--f-display); }
.cert b { display: block; font-family: var(--f-display); color: var(--ink); font-size: .92rem; }
.cert span { font-size: .8rem; }

/* Webinar */
.live-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 40px; align-items: center; padding: clamp(22px, 4vw, 36px); background: var(--brand-deep); color: var(--on-deep); border-radius: 22px; box-shadow: var(--shadow); }
@media (max-width: 760px) { .live-card { grid-template-columns: 1fr; } }
.live-card-copy { display: grid; gap: 12px; }
.live-card .eyebrow { color: var(--accent); display: inline-flex; align-items: center; gap: 10px; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 30%, transparent); }
.live-card h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
.live-card p { color: var(--on-deep-muted); }
.live-when { display: flex; flex-wrap: wrap; gap: 8px 18px; font: 500 .85rem/1.4 var(--f-num); color: var(--on-deep); }
.live-actions { display: grid; gap: 10px; justify-items: stretch; min-width: 220px; }
.live-actions small { color: var(--on-deep-muted); text-align: center; font-size: .82rem; }
.replay-lock { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 24px; padding: 16px 20px; border-radius: 14px; background: var(--accent-soft); color: var(--accent-text); font-size: .95rem; }
.replay-lock b { color: var(--ink); }

/* Log masuk */
.auth-wrap { display: grid; place-items: center; padding-block: clamp(40px, 8vw, 88px); }
.auth-card { width: min(440px, 100%); display: grid; gap: 20px; padding: clamp(24px, 4vw, 36px); background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
.auth-card h1 { font-size: clamp(1.6rem, 3vw, 2rem); }
.auth-sep { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .84rem; }
.auth-sep::before, .auth-sep::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-foot { font-size: .9rem; color: var(--muted); text-align: center; }
.proto-note { font-size: .82rem; color: var(--muted); padding: 10px 12px; border-radius: 10px; background: var(--surface-2); }
.cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 620px) { .cards-2 { grid-template-columns: 1fr; } }
button.cert { width: 100%; border: 0; font: inherit; text-align: left; cursor: pointer; }
.buy-alt-note { font-size: .86rem; color: var(--muted); text-align: center; }
.buy-alt-note b { color: var(--ink); }
.buy-inc { display: grid; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line); }
.buy-inc-title { font: 500 .74rem/1 var(--f-num); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.buy-includes.checks { gap: 9px; color: var(--ink); }
.mem-card-sub b { color: var(--on-deep); }
.btn-block { text-align: center; }
.pay-options { display: grid; gap: 14px; }
.pay-opt { display: grid; gap: 8px; }
.pay-how { display: grid; gap: 2px; text-align: center; font-size: .86rem; color: var(--on-deep-muted); }
.pay-how b { color: var(--on-deep); font-weight: 600; }
.pay-opt + .pay-opt { padding-top: 14px; border-top: 1px solid color-mix(in srgb, var(--on-deep) 16%, transparent); }
.live-card .checks { color: var(--on-deep); font-size: .95rem; gap: 8px; }
.live-card .checks li::before { background: var(--accent); }
.footer-cta { padding: 20px; border-radius: 14px; background: var(--brand-soft); justify-items: start; }
.footer-cta h4 { color: var(--brand); }
.footer-cta p { color: var(--ink); }
.footer-cta .footer-cta-title { font: 700 1.05rem/1.3 var(--f-display); }
.footer-grid a.btn, .footer-grid a.btn:hover { color: var(--brand-ink); text-decoration: none; }
/* Artikel: minta topik */
.topik-empty { gap: 10px; }
.topik-box { margin-top: 20px; max-width: 860px; scroll-margin-top: 16px; }
.topik-head { display: grid; gap: 8px; }
.topik-head h2 { font-size: clamp(1.3rem, 2.6vw, 1.7rem); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 760px) { .grid-3 { grid-template-columns: 1fr; } }
.btn-wa { background: #1fa855; color: #fff; }
.btn-wa:hover { background: #178a45; }
/* Terima kasih: langkah melintang + tawaran rakaman */
.ty-wrap { max-width: 900px; display: grid; gap: 24px; }
.ty-head { display: grid; gap: 14px; justify-items: start; }
.ty-head h1 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); }
.ty-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; counter-reset: ty; }
@media (max-width: 680px) { .ty-steps { grid-template-columns: 1fr; } }
.ty-steps li { display: grid; gap: 8px; align-content: start; justify-items: start; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.ty-steps li::before { counter-increment: ty; content: counter(ty); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: var(--brand-ink); font: 600 .85rem/1 var(--f-num); }
.ty-steps b { font: 700 1.08rem/1.3 var(--f-display); }
.ty-steps span { color: var(--muted); font-size: .94rem; }
.ty-steps .btn { margin-top: 6px; }
.ty-offer { display: grid; gap: 16px; justify-items: start; margin-top: 8px; padding: clamp(24px, 4vw, 36px); border-radius: 22px; background: var(--brand-deep); color: var(--on-deep); box-shadow: var(--shadow); }
.ty-offer .eyebrow { color: var(--accent); }
.ty-offer h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
.ty-offer .checks { color: var(--on-deep); gap: 9px; }
.ty-offer .checks li::before { background: var(--accent); }
.ty-price { font-size: 1rem; color: var(--on-deep-muted); }
.ty-price b { font: 800 1.35rem/1 var(--f-display); color: var(--on-deep); }
.ty-price span { font-size: .88rem; }
/* About: dua platform dengan logo */
.platforms.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 700px) { .platforms.two { grid-template-columns: 1fr; } }
.platforms.two .company-logo { width: 100%; height: 110px; justify-content: center; }
.platforms.two .company-logo img { max-height: 84px; }
.logo-text { font: 800 1.6rem/1 var(--f-display); letter-spacing: -.02em; color: #1a3d8f; }
.logo-text span { color: #f28c28; }
/* Contact: ikon */
.cc-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.cc-ico svg { width: 22px; height: 22px; }
.cc-ico.cc-wa { background: color-mix(in srgb, #1fa855 16%, var(--surface)); color: #1a9a4c; }
.contact-value a { color: inherit; text-decoration: none; }
.contact-value a:hover { color: var(--brand); text-decoration: underline; }
.socials-ico a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; }
.socials-ico svg { width: 16px; height: 16px; flex: none; }
/* Pemain: kurikulum di kiri (desktop); di telefon kekal di bawah video */
@media (min-width: 1021px) {
  .player-shell { grid-template-columns: 340px minmax(0, 1fr); }
  .player-side { order: -1; }
}
/* Halaman course: kurikulum hanya tajuk + durasi */
.lesson.lesson-plain { grid-template-columns: minmax(0, 1fr) auto; color: var(--ink); }
.lesson.lesson-plain::before { content: none; }

/* Footer alignment and account navigation */
.footer-grid > div { min-width: 0; }
.footer-grid h4 { margin: 0 0 4px; }
.footer-grid ul { margin: 0; }
.footer-grid > div:last-child a { overflow-wrap: anywhere; }
.footer-account { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.footer-account a { color: inherit; text-decoration: none; }
.footer-account a:hover { text-decoration: underline; }
.footer-note { max-width: 76ch; margin-top: 32px; line-height: 1.7; font-size: .8rem; }

/* Individual course landing page */
.course-landing [id] { scroll-margin-top: 100px; }
.course-hero-note { color: var(--on-deep-muted); font-size: .88rem; }
.course-pain-list { display: grid; gap: 12px; margin-block: 20px; }
.course-pain-list p { padding: 16px 20px; border-left: 3px solid var(--accent); background: var(--surface); border-radius: 0 10px 10px 0; }
.course-deliverables { display: grid; gap: 14px; margin-top: 20px; }
.course-deliverables > div { padding: 20px; border: 1px solid var(--line); border-radius: 12px; }
.course-deliverables p { margin-top: 8px; color: var(--muted); }
.course-choice { background: var(--surface); padding: clamp(20px, 3vw, 28px); border: 1px solid var(--line); border-radius: 20px; }
.course-choice-grid { display: grid; gap: 20px; margin-top: 24px; }
.course-choice-grid article { display: grid; gap: 16px; padding: 24px; border: 1px solid var(--line); border-radius: 14px; }
.course-choice-grid .price { font-size: 2.5rem; }
.course-choice-grid .price small { font: 400 .85rem/1.5 var(--f-body, sans-serif); color: var(--muted); }
.course-choice-member { background: var(--brand-soft); border-color: var(--brand) !important; }
.course-small-note { font-size: .8rem; line-height: 1.6; color: var(--muted); margin-top: 12px; }
@media(min-width: 981px) { .course-landing .course-aside { position: sticky; top: 100px; } }
@media(max-width: 980px) { .course-landing .course-aside { order: initial; } }

/* Article hero with its catalog thumbnail */
.article-hero-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.article-hero-layout .article-head { max-width: none; min-width: 0; }
.article-hero-thumbnail { margin: 0; min-width: 0; }
.article-hero-thumbnail .cover { border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
@media (max-width: 760px) { .article-hero-layout { grid-template-columns: 1fr; } .article-hero-thumbnail { width: 100%; max-width: 560px; } }
