/* ============ TKA SMP — Design System ============ */
:root {
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --brand: #4f46e5;
  --brand-dark: #4338ca;
  --brand-soft: #eef2ff;
  --green: #059669;
  --green-soft: #ecfdf5;
  --amber: #d97706;
  --amber-soft: #fffbeb;
  --red: #dc2626;
  --red-soft: #fef2f2;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 8px 24px -12px rgba(15, 23, 42, .18);
  --shadow-lg: 0 24px 60px -24px rgba(15, 23, 42, .35);
  --max: 1140px;
  --font: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
  line-height: 1.65; font-size: 16px; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.125rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.25rem; }
li { margin-bottom: .35rem; }

/* ---- Layout ---- */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section--soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--brand); margin-bottom: 12px;
}
.lead { font-size: 1.075rem; color: var(--ink-2); }

/* ---- Navbar ---- */
.nav {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 28px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.06rem; color: var(--ink); letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px; flex: 0 0 auto;
  background: linear-gradient(140deg, #6366f1, #4338ca); color: #fff;
  display: grid; place-items: center; font-size: .82rem; font-weight: 800; letter-spacing: -.03em;
  box-shadow: 0 4px 12px -4px rgba(79,70,229,.7);
}
.brand small { display: block; font-size: .68rem; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.nav-links { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav-links a {
  color: var(--ink-2); font-size: .92rem; font-weight: 600; padding: 8px 12px;
  border-radius: 8px; transition: .15s;
}
.nav-links a:hover { background: var(--bg-soft); color: var(--ink); text-decoration: none; }
.nav-links a.active { color: var(--brand); background: var(--brand-soft); }
.nav-toggle { display: none; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 11px; font-weight: 700; font-size: .94rem;
  border: 1px solid transparent; cursor: pointer; transition: .18s; white-space: nowrap;
  font-family: inherit; text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px -10px rgba(79,70,229,.9); }
.btn--primary:hover { background: var(--brand-dark); color: #fff; }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow); }
.btn--ghost:hover { border-color: #cbd5e1; color: var(--ink); }
.btn--sm { padding: 9px 16px; font-size: .86rem; border-radius: 9px; }
.btn--lg { padding: 15px 28px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }

/* ---- Hero ---- */
.hero { position: relative; overflow: hidden; padding: 64px 0 72px; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(700px 400px at 82% -8%, #e0e7ff 0%, transparent 62%),
    radial-gradient(560px 340px at 6% 8%, #ecfdf5 0%, transparent 60%);
  pointer-events: none;
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 18px; }
.hero h1 .hl {
  background: linear-gradient(180deg, transparent 62%, #c7d2fe 62%);
  padding: 0 2px;
}
.hero-sub { font-size: 1.075rem; color: var(--ink-2); max-width: 44ch; margin-bottom: 26px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }

.badge {
  display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700;
  padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  color: var(--ink-2); box-shadow: var(--shadow); margin-bottom: 20px;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex: 0 0 auto; }
.dot--amber { background: var(--amber); }
.dot--pulse { box-shadow: 0 0 0 0 rgba(5,150,105,.6); animation: pulse 2.2s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(5,150,105,.55); }
  70% { box-shadow: 0 0 0 9px rgba(5,150,105,0); }
  100% { box-shadow: 0 0 0 0 rgba(5,150,105,0); }
}

/* ---- Hero card (countdown) ---- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 24px;
}
.hero-card { box-shadow: var(--shadow-lg); }
.hero-card h3 { font-size: 1rem; margin-bottom: 4px; }
.hero-card .muted { font-size: .85rem; }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 18px 0 16px; }
.cd-cell {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 6px; text-align: center;
}
.cd-num { font-size: 1.5rem; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.cd-lbl { font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.hero-card-foot {
  display: flex; align-items: center; gap: 8px; font-size: .78rem; color: var(--muted);
  border-top: 1px solid var(--line); padding-top: 14px; margin-top: 4px;
}
.hero-card-link { margin-left: auto; font-weight: 700; font-size: .8rem; }

/* ---- Trust strip ---- */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-soft); padding: 18px 0; }
.trust-inner { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: center; }
.trust-label { font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.trust-items { display: flex; gap: 10px; flex-wrap: wrap; }
.trust-pill {
  font-size: .8rem; font-weight: 700; color: var(--ink-2); background: #fff;
  border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px;
}

/* ---- Grid & cards ---- */
.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.feature { padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: .2s; }
.feature:hover { border-color: #c7d2fe; box-shadow: var(--shadow); transform: translateY(-2px); }
.feature-icon {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  font-size: 1.15rem; margin-bottom: 16px; background: var(--brand-soft); color: var(--brand); font-weight: 800;
}
.feature h3 { font-size: 1rem; margin-bottom: 6px; }
.feature p { font-size: .9rem; color: var(--muted); margin: 0; }

/* ---- Steps ---- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.step { position: relative; padding: 26px 24px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.step::before {
  counter-increment: s; content: counter(s);
  position: absolute; top: -14px; left: 24px;
  width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: .9rem;
  box-shadow: 0 6px 16px -6px rgba(79,70,229,.9);
}
.step h3 { font-size: .98rem; margin: 6px 0 6px; }
.step p { font-size: .88rem; color: var(--muted); margin: 0; }

/* ---- Mapel cards ---- */
.mapel-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.mapel-card { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; }
.mapel-card:hover { box-shadow: var(--shadow); }
.mapel-top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.mapel-ico {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  font-size: 1.2rem; font-weight: 800; color: #fff; flex: 0 0 auto;
}
.mapel-card h3 { font-size: 1.1rem; margin: 0; }
.tag {
  font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em;
  padding: 3px 9px; border-radius: 6px; background: var(--brand-soft); color: var(--brand-dark);
}
.mapel-card p { font-size: .9rem; color: var(--ink-2); margin-bottom: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 18px; }
.chip { font-size: .78rem; font-weight: 600; background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink-2); padding: 4px 10px; border-radius: 7px; }
.mapel-card .btn { margin-top: auto; }

/* ---- Table ---- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 520px; }
th, td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--bg-soft); font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: #fafbff; }

/* ---- Callout ---- */
.callout {
  display: flex; gap: 14px; padding: 18px 20px; border-radius: var(--radius-sm);
  background: var(--amber-soft); border: 1px solid #fde68a; font-size: .9rem; color: #78350f;
}
.callout strong { display: block; margin-bottom: 2px; }
.callout--info { background: var(--brand-soft); border-color: #c7d2fe; color: #3730a3; }
.callout--green { background: var(--green-soft); border-color: #a7f3d0; color: #065f46; }
.callout-ico {
  flex: 0 0 auto; width: 20px; height: 20px; border-radius: 50%;
  display: inline-grid; place-items: center;
  font-size: .66rem; font-weight: 800; font-style: normal; letter-spacing: 0;
  line-height: 1; align-self: flex-start; margin-top: 2px;
  box-shadow: inset 0 0 0 1.5px currentColor;
  text-transform: uppercase;
}

/* ---- FAQ ---- */
.faq { max-width: 820px; margin: 0 auto; }
details.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; margin-bottom: 10px; overflow: hidden; }
details.faq-item[open] { border-color: #c7d2fe; box-shadow: var(--shadow); }
details.faq-item summary {
  cursor: pointer; padding: 16px 20px; font-weight: 700; font-size: .95rem;
  list-style: none; display: flex; align-items: center; gap: 12px;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
  content: "+"; margin-left: auto; font-size: 1.3rem; font-weight: 400; color: var(--muted); line-height: 1;
}
details.faq-item[open] summary::after { content: "−"; }
.faq-a { padding: 0 20px 18px; font-size: .9rem; color: var(--ink-2); }
.faq-a p:last-child { margin-bottom: 0; }

/* ---- Footer ---- */
.footer { background: var(--ink); color: #cbd5e1; padding: 52px 0 28px; font-size: .88rem; }
.footer a { color: #e2e8f0; }
.footer h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; font-weight: 800; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; margin-bottom: 36px; }
.footer .brand { color: #fff; margin-bottom: 12px; }
.footer .brand small { color: #94a3b8; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid #1e293b; padding-top: 22px; display: flex; gap: 16px; justify-content: space-between; flex-wrap: wrap; font-size: .8rem; color: #94a3b8; }
.disclaimer { font-size: .78rem; color: #94a3b8; background: #1e293b; border-radius: 10px; padding: 14px 16px; }

/* ============ Kisi-kisi page ============ */
.page-head { padding: 44px 0 36px; background: linear-gradient(180deg, #f8fafc, #fff); border-bottom: 1px solid var(--line); }
.breadcrumb { font-size: .82rem; color: var(--muted); margin-bottom: 14px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb span { margin: 0 6px; }

.tabs { display: inline-flex; gap: 4px; background: var(--bg-soft); border: 1px solid var(--line); padding: 4px; border-radius: 12px; flex-wrap: wrap; }
.tab {
  padding: 9px 18px; border-radius: 9px; font-size: .9rem; font-weight: 700; color: var(--muted);
  background: none; border: none; cursor: pointer; font-family: inherit; transition: .15s;
}
.tab:hover { color: var(--ink); }
.tab.active { background: #fff; color: var(--brand); box-shadow: var(--shadow); }

.panel { display: none; }
.panel.active { display: block; animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.accordion { display: flex; flex-direction: column; gap: 12px; }
.acc-item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.acc-item.open { border-color: #c7d2fe; box-shadow: var(--shadow); }
.acc-head {
  display: flex; align-items: center; gap: 14px; padding: 18px 22px; cursor: pointer;
  width: 100%; text-align: left; background: none; border: none; font-family: inherit;
}
.acc-num {
  width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
  font-size: .82rem; font-weight: 800; background: var(--brand-soft); color: var(--brand-dark); flex: 0 0 auto;
}
.acc-title { font-weight: 800; font-size: .98rem; flex: 1; }
.acc-count { font-size: .75rem; font-weight: 700; color: var(--muted); background: var(--bg-soft); border: 1px solid var(--line); padding: 3px 9px; border-radius: 6px; }
.acc-chev { color: var(--muted); transition: transform .2s; font-size: .8rem; }
.acc-item.open .acc-chev { transform: rotate(180deg); }
.acc-body { display: none; padding: 0 22px 20px 66px; }
.acc-item.open .acc-body { display: block; }
.acc-desc { font-size: .88rem; color: var(--muted); margin-bottom: 14px; }

.sub-list { display: flex; flex-direction: column; gap: 10px; }
.sub-item { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; background: var(--bg-soft); }
.sub-item-head { display: flex; gap: 10px; align-items: flex-start; }
.sub-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); margin-top: 9px; flex: 0 0 auto; }
.sub-name { font-weight: 700; font-size: .9rem; flex: 1; }
.sub-materi { margin: 8px 0 0 16px; }
.lvl { font-size: .66rem; font-weight: 800; padding: 2px 7px; border-radius: 5px; white-space: nowrap; }

/* ---- Soal / Tryout ---- */
.quiz-shell { max-width: 860px; margin: 0 auto; padding: 32px 20px 80px; }
.quiz-top { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.quiz-progress { flex: 1; min-width: 160px; }
.bar { height: 8px; background: var(--line); border-radius: 99px; overflow: hidden; }
.bar > i { display: block; height: 100%; background: linear-gradient(90deg, #6366f1, #4338ca); border-radius: 99px; transition: width .3s; }
.quiz-meta { font-size: .82rem; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.timer { font-size: .86rem; font-weight: 800; padding: 5px 12px; border-radius: 8px; background: var(--bg-soft); border: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.timer.warn { background: var(--red-soft); border-color: #fecaca; color: var(--red); }

.q-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; }
.q-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.q-tag { font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; padding: 3px 9px; border-radius: 5px; background: var(--bg-soft); border: 1px solid var(--line); color: var(--muted); }
.q-stimulus { font-size: .92rem; color: var(--ink-2); background: var(--bg-soft); border-left: 3px solid #c7d2fe; padding: 14px 16px; border-radius: 0 8px 8px 0; margin-bottom: 18px; font-style: italic; line-height: 1.7; }
.q-stem { font-size: 1.02rem; font-weight: 700; margin-bottom: 18px; line-height: 1.6; }

.opt {
  display: flex; gap: 12px; align-items: flex-start; padding: 13px 16px; border: 1.5px solid var(--line);
  border-radius: 11px; margin-bottom: 9px; cursor: pointer; transition: .15s; background: #fff; font-size: .94rem;
}
.opt:hover { border-color: #c7d2fe; background: #fafbff; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt-key {
  width: 25px; height: 25px; border-radius: 50%; border: 1.5px solid #cbd5e1; display: grid; place-items: center;
  font-size: .76rem; font-weight: 800; color: var(--muted); flex: 0 0 auto; transition: .15s; margin-top: 1px;
}
.opt.sel { border-color: var(--brand); background: var(--brand-soft); }
.opt.sel .opt-key { background: var(--brand); border-color: var(--brand); color: #fff; }
.opt.correct { border-color: var(--green); background: var(--green-soft); }
.opt.correct .opt-key { background: var(--green); border-color: var(--green); color: #fff; }
.opt.wrong { border-color: var(--red); background: var(--red-soft); }
.opt.wrong .opt-key { background: var(--red); border-color: var(--red); color: #fff; }
.opt.locked { cursor: default; }

.kategori-row { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: 11px; margin-bottom: 9px; background: #fff; }
.kategori-row .kt { flex: 1; font-size: .94rem; }
.seg { display: inline-flex; border: 1.5px solid var(--line); border-radius: 9px; overflow: hidden; }
.seg button {
  padding: 6px 16px; border: none; background: #fff; font-family: inherit; font-size: .82rem; font-weight: 700;
  color: var(--muted); cursor: pointer; transition: .15s;
}
.seg button + button { border-left: 1.5px solid var(--line); }
.seg button.on[data-v="B"] { background: var(--green); color: #fff; }
.seg button.on[data-v="S"] { background: var(--red); color: #fff; }
.kategori-row.ok { border-color: var(--green); }
.kategori-row.no { border-color: var(--red); }

.quiz-nav {
  display: flex; gap: 10px; margin-top: 22px; align-items: center;
  position: sticky; bottom: 0; z-index: 20;
  background: rgba(255,255,255,.94); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line); padding: 12px 0; margin-bottom: 0;
}
.quiz-nav .btn--primary { margin-left: auto; }
.hint { font-size: .78rem; color: var(--muted); }

/* ---- Pembahasan ---- */
.jawab { margin: 10px 0 0; }
.jawab-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; }
.jawab-list li {
  display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap;
  font-size: .85rem; color: var(--ink-2);
  padding: 5px 9px; border-radius: 7px; background: var(--bg-2, #f8fafc);
}
.jawab-list li.tepat { background: #f0fdf4; }
.jawab-list li.meleset { background: #fef2f2; }
.jawab-list li.kunci { background: transparent; border: 1px dashed var(--line); }
.jawab-list .jk {
  flex: 0 0 auto; width: 17px; height: 17px; border-radius: 5px;
  display: inline-grid; place-items: center; font-size: .66rem; font-weight: 800;
  background: rgba(15,23,42,.08); color: var(--ink-2);
}
.jawab-list .jt { font-weight: 600; color: var(--ink); }
.jawab-list .jv { margin-left: auto; font-variant-numeric: tabular-nums; }
.jawab-list .jkunci { font-size: .8rem; font-weight: 700; color: var(--green); }
.jawab-list .meleset .jkunci { color: var(--red); }

.pembahasan {
  margin-top: 12px; border-radius: 12px; background: #fbfcfe;
  border: 1px solid var(--line); overflow: hidden;
}
.pembahasan > summary {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 15px; cursor: pointer; user-select: none;
  font-size: .82rem; font-weight: 700; color: var(--ink);
  list-style: none;
}
.pembahasan > summary::-webkit-details-marker { display: none; }
.pm-chev {
  width: 0; height: 0; flex: 0 0 auto;
  border-left: 5px solid var(--muted); border-top: 4px solid transparent; border-bottom: 4px solid transparent;
  transition: transform .18s ease;
}
.pembahasan[open] .pm-chev { transform: rotate(90deg); }
.pembahasan > summary:hover { background: #f5f7fb; }

.langkah { margin: 0; padding: 2px 15px 14px 15px; list-style: none; counter-reset: l; }
.langkah > li {
  position: relative; counter-increment: l;
  padding: 9px 0 9px 30px; border-top: 1px solid var(--line);
}
.langkah > li:first-child { border-top: 0; }
.langkah > li::before {
  content: counter(l); position: absolute; left: 0; top: 11px;
  width: 19px; height: 19px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: .68rem; font-weight: 800;
  color: var(--indigo, #4338ca); background: #eef2ff;
}
.langkah > li > b { display: block; font-size: .86rem; font-weight: 700; margin-bottom: 2px; }
.langkah > li > p { font-size: .87rem; color: var(--ink-2); margin: 0; }
.pembahasan .padat { padding: 0 15px 14px; font-size: .87rem; color: var(--ink-2); }

.konsep {
  display: block; margin: 0; padding: 11px 15px;
  font-size: .84rem; color: var(--ink-2);
  background: #fff; border-top: 1px solid var(--line);
}
.konsep-label {
  display: inline-block; font-size: .66rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .06em;
  color: var(--indigo, #4338ca); background: #eef2ff;
  padding: 2px 7px; border-radius: 5px;
  margin: 0 8px 0 0; vertical-align: 1px;
}

/* ---- Hasil ---- */
.score-hero { text-align: center; padding: 36px 24px; border-radius: var(--radius); background: linear-gradient(150deg, #4f46e5, #4338ca); color: #fff; margin-bottom: 24px; }
.score-num { font-size: 3.4rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.score-lbl { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; opacity: .85; font-weight: 700; margin-top: 6px; }
.score-sub { margin-top: 14px; font-size: .92rem; opacity: .92; }

.bar-row { display: grid; grid-template-columns: 150px 1fr 56px; gap: 12px; align-items: center; margin-bottom: 12px; font-size: .86rem; }
.bar-row .bl { font-weight: 700; color: var(--ink-2); }
.bar-row .bv { text-align: right; font-weight: 800; font-variant-numeric: tabular-nums; font-size: .82rem; }

.review-item { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px; margin-bottom: 10px; background: #fff; }
.review-item.bad { border-left: 3px solid var(--red); }
.review-item.good { border-left: 3px solid var(--green); }
.review-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.review-status { font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: 2px 8px; border-radius: 5px; }
.review-status.good { background: var(--green-soft); color: var(--green); }
.review-status.bad { background: var(--red-soft); color: var(--red); }
.review-q { font-size: .9rem; font-weight: 600; }

/* ---- Responsive ---- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .section { padding: 52px 0; }
  .grid--3, .grid--2, .mapel-grid, .steps { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; position: absolute; top: 66px; left: 0; right: 0; flex-direction: column;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px; gap: 2px; align-items: stretch;
    box-shadow: var(--shadow);
  }
  .nav-toggle {
    display: grid; place-items: center; margin-left: auto; width: 40px; height: 40px;
    border: 1px solid var(--line); border-radius: 9px; background: #fff; cursor: pointer; font-size: 1.1rem;
  }
  .acc-body { padding-left: 22px; }
  .q-card { padding: 20px; }
  .bar-row { grid-template-columns: 96px 1fr 48px; font-size: .8rem; }
  .kategori-row { flex-direction: column; align-items: stretch; gap: 8px; }
  .seg { display: flex; }
  .seg button { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---- Print / utilities ---- */
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.muted { color: var(--muted); }
.small { font-size: .84rem; }
.text-c { text-align: center; }

/* ============ Form identitas peserta ============ */
.inp {
  display: block;
  background: #fff;
  color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.inp::placeholder { color: #94a3b8; }
.inp:focus {
  outline: none;
  border-color: var(--brand, #2563eb) !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .14);
}
.inp.is-error { border-color: #d33 !important; background: #fff7f7; }

.err-inline {
  font-size: .8rem;
  line-height: 1.4;
  color: #d33;
  font-weight: 600;
  margin-top: 5px;
  min-height: 0;
}
.err-inline:empty { display: none; }
