/* ustore digital — satu berkas gaya untuk web member & halaman depan (mockup disetujui Owner 10 Okt, biru #1E4FD1).
   Tanpa gaya sebaris (CSP). Tema: terang (bawaan), gelap, atau ikuti HP (data-theme pada <html>). */
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 400; font-display: swap; src: url("/fonts/plus-jakarta-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 500; font-display: swap; src: url("/fonts/plus-jakarta-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 600; font-display: swap; src: url("/fonts/plus-jakarta-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 700; font-display: swap; src: url("/fonts/plus-jakarta-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 800; font-display: swap; src: url("/fonts/plus-jakarta-sans-latin-800-normal.woff2") format("woff2"); }

:root {
  --brand: #1E4FD1;
  --brand-strong: #163C9E;
  --brand-soft: #E8EEFB;
  --brand-soft-2: #F3F6FD;
  --on-brand: #FFFFFF;
  --on-brand-2: #E6ECFB;
  --bg: #F5F7FA;
  --surface: #FFFFFF;
  --surface-2: #F9FAFB;
  --text: #101828;
  --text-2: #344054;
  --text-3: #475467;
  --muted: #667085;
  --line: #E4E7EC;
  --line-2: #F2F4F7;
  --field: #D0D5DD;
  --ok: #067647;
  --ok-soft: #ECFDF3;
  --warn: #B54708;
  --warn-ink: #93370D;
  --warn-soft: #FFFAEB;
  --warn-line: #FEDF89;
  --bad: #B42318;
  --bad-soft: #FEF3F2;
  --bad-line: #FECDCA;
  --dot: #D92D20;
  --shadow: 0 1px 2px rgba(16, 24, 40, .05);
  --shadow-lg: 0 16px 40px rgba(16, 24, 40, .22);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root[data-theme="system"] {
    --brand: #5B82EE; --brand-strong: #86A4F3; --brand-soft: #1C2A4D; --brand-soft-2: #172036; --on-brand-2: #DCE5FB;
    --bg: #0E1117; --surface: #161A23; --surface-2: #1B202B; --text: #ECEFF5; --text-2: #C9CFDB; --text-3: #A7AFBF; --muted: #8890A2;
    --line: #262C39; --line-2: #1F2530; --field: #3A4252; --ok: #4ADE80; --ok-soft: #0F2A1A; --warn: #F5B544; --warn-ink: #F8C877; --warn-soft: #2C2210;
    --warn-line: #5C4519; --bad: #F87171; --bad-soft: #2E1414; --bad-line: #5C2323; --shadow: 0 1px 2px rgba(0, 0, 0, .4); --shadow-lg: 0 16px 40px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --brand: #5B82EE; --brand-strong: #86A4F3; --brand-soft: #1C2A4D; --brand-soft-2: #172036; --on-brand-2: #DCE5FB;
  --bg: #0E1117; --surface: #161A23; --surface-2: #1B202B; --text: #ECEFF5; --text-2: #C9CFDB; --text-3: #A7AFBF; --muted: #8890A2;
  --line: #262C39; --line-2: #1F2530; --field: #3A4252; --ok: #4ADE80; --ok-soft: #0F2A1A; --warn: #F5B544; --warn-ink: #F8C877; --warn-soft: #2C2210;
  --warn-line: #5C4519; --bad: #F87171; --bad-soft: #2E1414; --bad-line: #5C2323; --shadow: 0 1px 2px rgba(0, 0, 0, .4); --shadow-lg: 0 16px 40px rgba(0, 0, 0, .6);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 15px; line-height: 1.5; overflow-x: hidden; }
a { color: var(--brand); }
a:hover { color: var(--brand-strong); }
button, input, select, textarea { font: inherit; color: inherit; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2.5px solid var(--brand); outline-offset: 2px; }
.icon { width: 22px; height: 22px; flex: none; }
.icon-sm { width: 18px; height: 18px; }
.icon-lg { width: 24px; height: 24px; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--text-3); }
.small { font-size: 13px; }
.tiny { font-size: 12px; }
.bold { font-weight: 700; }
.center { text-align: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.row { display: flex; align-items: center; gap: 10px; }
.row-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.between { justify-content: space-between; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.stack-sm { display: flex; flex-direction: column; gap: 8px; }
.stack-lg { display: flex; flex-direction: column; gap: 24px; }
.grow { flex: 1; min-width: 0; }

/* ---------- Tombol ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: 12px; border: 0;
  background: var(--brand); color: var(--on-brand); font-size: 15px; font-weight: 700; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn:hover { background: var(--brand-strong); color: var(--on-brand); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-block { width: 100%; min-height: 52px; font-size: 16px; }
.btn-line { background: var(--surface); color: var(--brand); border: 1.5px solid var(--field); }
.btn-line:hover { background: var(--brand-soft-2); color: var(--brand); }
.btn-ghost { background: transparent; color: var(--brand); padding: 8px 10px; min-height: 36px; }
.btn-ghost:hover { background: var(--brand-soft-2); color: var(--brand); }
.btn-soft { background: var(--brand-soft); color: var(--brand); }
.btn-soft:hover { background: var(--brand-soft); color: var(--brand-strong); }
.btn-danger { background: var(--bad); color: #FFFFFF; }
.btn-danger:hover { background: var(--bad); filter: brightness(.92); color: #FFFFFF; }
.btn-white { background: #FFFFFF; color: var(--brand); }
.btn-white:hover { background: #FFFFFF; color: var(--brand-strong); }
.btn-outline-white { background: transparent; color: #FFFFFF; border: 1.5px solid rgba(255, 255, 255, .6); }
.btn-outline-white:hover { background: rgba(255, 255, 255, .1); color: #FFFFFF; }
.btn-sm { min-height: 36px; padding: 7px 12px; font-size: 14px; border-radius: 10px; }
.link { background: none; border: 0; padding: 0; color: var(--brand); font-weight: 600; cursor: pointer; text-decoration: none; }
.link:hover { text-decoration: underline; }

/* ---------- Isian ---------- */
.field { display: flex; flex-direction: column; gap: 8px; }
.field > label, .label { font-size: 14px; font-weight: 600; color: var(--text-2); }
.input, .select, .textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--field); border-radius: 12px; background: var(--surface); outline: 0; font-size: 16px; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--brand); }
.textarea { min-height: 110px; resize: vertical; }
.input-big { font-size: 18px; font-weight: 600; letter-spacing: .02em; }
.input-wrap { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--field); border-radius: 12px; padding: 0 14px; min-height: 52px; background: var(--surface); }
.input-wrap:focus-within { border-color: var(--brand); }
.input-wrap .input { border: 0; padding: 12px 0; min-height: 48px; }
.hint { font-size: 13px; color: var(--text-3); }
.error-text { font-size: 13px; font-weight: 600; color: var(--bad); }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text-2); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--brand); flex: none; }
.tag { font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); white-space: nowrap; }
.otp-input { letter-spacing: .4em; text-align: center; font-size: 22px; font-weight: 700; }

/* ---------- Pilihan (nominal, metode) ---------- */
.choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.choices-3 { grid-template-columns: repeat(3, 1fr); }
.choice { display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface); text-align: left; cursor: pointer; }
.choice:hover { border-color: var(--field); }
.choice[aria-pressed="true"], .choice[aria-checked="true"] { border-color: var(--brand); background: var(--brand-soft-2); }
.choice .t { font-size: 16px; font-weight: 700; }
.choice .p { font-size: 14px; font-weight: 600; color: var(--text-3); }
.choice[aria-pressed="true"] .p { color: var(--brand); }
.choice:disabled { opacity: .5; cursor: not-allowed; }
.choices > .hint, .choices > .error-text, .choices > p { grid-column: 1 / -1; }
.choice .note { font-size: 12px; color: var(--bad); font-weight: 600; }
.method { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 14px; border: 1.5px solid var(--field); background: var(--surface); cursor: pointer; text-align: left; width: 100%; }
.method[aria-checked="true"] { border-color: var(--brand); }
.method .dot { width: 20px; height: 20px; border-radius: 999px; border: 2px solid var(--field); display: grid; place-items: center; flex: none; }
.method[aria-checked="true"] .dot { border-color: var(--brand); }
.method[aria-checked="true"] .dot::after { content: ""; width: 10px; height: 10px; border-radius: 999px; background: var(--brand); }
.method .fee { font-size: 14px; font-weight: 700; color: var(--text-2); white-space: nowrap; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.tab { padding: 9px 14px; border-radius: 999px; border: 0; background: transparent; color: var(--text-3); font-size: 14px; font-weight: 600; cursor: pointer; }
.tab[aria-selected="true"] { background: var(--brand-soft); color: var(--brand); font-weight: 700; }
.seg { display: inline-flex; padding: 4px; border-radius: 12px; background: var(--line-2); gap: 4px; }
.seg button { border: 0; background: transparent; padding: 8px 14px; border-radius: 9px; font-size: 14px; font-weight: 600; color: var(--text-3); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: flex; flex-direction: column; gap: 2px; padding: 9px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: var(--text); cursor: pointer; text-align: left; }
.chip b { font-size: 14px; }
.chip span { font-size: 12px; color: var(--text-3); }

/* ---------- Kartu & daftar ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 20px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.card-tight { padding: 16px; gap: 10px; border-radius: 16px; }
.card h2 { font-size: 18px; font-weight: 700; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.card-head a, .card-head .link { font-size: 14px; font-weight: 600; }
.list { display: flex; flex-direction: column; }
.item { display: flex; align-items: center; gap: 14px; padding: 12px 4px; border-top: 1px solid var(--line-2); text-decoration: none; color: var(--text); background: none; border-left: 0; border-right: 0; border-bottom: 0; width: 100%; text-align: left; cursor: pointer; }
.item:first-child { border-top: 0; }
.item .main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.item .title { font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
.item .sub { font-size: 13px; color: var(--text-3); overflow-wrap: anywhere; }
.item .side { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; text-align: right; }
.item .price { font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.item .chev { color: var(--muted); }
.badge { font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; white-space: nowrap; background: var(--line-2); color: var(--text-2); }
.badge-ok { background: var(--ok-soft); color: var(--ok); }
.badge-wait { background: var(--warn-soft); color: var(--warn); }
.badge-bad { background: var(--bad-soft); color: var(--bad); }
.badge-brand { background: var(--brand-soft); color: var(--brand); }
.kv { display: flex; flex-direction: column; gap: 10px; }
.kv > div { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; }
.kv > div > span:first-child { color: var(--text-3); }
.kv > div > span:last-child { font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.kv .total { padding-top: 10px; border-top: 1px solid var(--line); font-size: 17px; }
.kv .total > span { font-weight: 800; color: var(--text); }
.note { border-radius: 14px; padding: 14px; font-size: 14px; display: flex; gap: 10px; align-items: flex-start; }
.note-info { background: var(--brand-soft-2); color: var(--text-2); }
.note-warn { background: var(--warn-soft); color: var(--warn-ink); border: 1px solid var(--warn-line); }
.note-bad { background: var(--bad-soft); color: var(--bad); border: 1px solid var(--bad-line); }
.note-ok { background: var(--ok-soft); color: var(--ok); }
.empty { padding: 28px 12px; text-align: center; color: var(--text-3); font-size: 14px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.menu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.menu-grid a, .menu-grid button { padding: 12px 4px; border-radius: 14px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none; color: var(--text);
  font-size: 13px; font-weight: 600; text-align: center; background: none; border: 0; cursor: pointer; }
.menu-grid a:hover, .menu-grid button:hover { background: var(--brand-soft-2); color: var(--text); }
.tile-ic { width: 48px; height: 48px; border-radius: 14px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }
.menu-grid .lock { font-size: 11px; color: var(--muted); font-weight: 600; margin-top: -4px; }
.avatar { width: 36px; height: 36px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-weight: 800; font-size: 14px; flex: none; }
.avatar-lg { width: 56px; height: 56px; font-size: 20px; }
.brand-mark { width: 36px; height: 36px; border-radius: 10px; background: var(--brand); color: #FFFFFF; display: grid; place-items: center; font-weight: 800; font-size: 19px; flex: none; }
.brand-name { font-weight: 800; font-size: 18px; letter-spacing: -0.01em; }
.qr { width: 240px; max-width: 100%; margin: 0 auto; background: #FFFFFF; padding: 12px; border-radius: 14px; border: 1px solid var(--line); }
.mono { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; letter-spacing: .04em; }
.big-code { font-size: 26px; font-weight: 800; letter-spacing: .08em; text-align: center; padding: 14px; border-radius: 14px; background: var(--brand-soft-2); color: var(--brand); overflow-wrap: anywhere; }
.progress { height: 8px; border-radius: 999px; background: var(--line-2); overflow: hidden; }
.progress > span { display: block; height: 100%; background: var(--brand); border-radius: 999px; width: 0; transition: width .3s; }
.w-0 { width: 0; } .w-10 { width: 10%; } .w-20 { width: 20%; } .w-30 { width: 30%; } .w-40 { width: 40%; } .w-50 { width: 50%; }
.w-60 { width: 60%; } .w-70 { width: 70%; } .w-80 { width: 80%; } .w-90 { width: 90%; } .w-100 { width: 100%; }

/* ---------- Kerangka member ---------- */
.topbar { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.topbar-in { max-width: 1240px; margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand-link { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand-link:hover { color: var(--text); }
.icon-btn { position: relative; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--text-2); display: grid; place-items: center; cursor: pointer; text-decoration: none; flex: none; }
.icon-btn:hover { color: var(--brand); }
.icon-btn .dot { position: absolute; top: 8px; right: 9px; width: 9px; height: 9px; border-radius: 999px; background: var(--dot); border: 2px solid var(--surface); }
.me-pill { display: flex; align-items: center; gap: 10px; padding: 4px 12px 4px 4px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--text); max-width: 220px; }
.me-pill span:last-child { font-size: 14px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.me-pill:hover { color: var(--text); border-color: var(--field); }
.shell { max-width: 1240px; margin: 0 auto; padding: 24px; display: flex; align-items: flex-start; gap: 24px; }
.sidenav { flex: 0 0 220px; position: sticky; top: 92px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 10px; display: flex; flex-direction: column; gap: 2px; }
.sidenav a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 10px; color: var(--text-2); font-size: 15px; font-weight: 600; text-decoration: none; }
.sidenav a:hover { background: var(--brand-soft-2); color: var(--text); }
.sidenav a[aria-current="page"] { background: var(--brand-soft); color: var(--brand); font-weight: 700; }
.sidenav hr { border: 0; border-top: 1px solid var(--line-2); margin: 6px 4px; }
.view { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.view-narrow { max-width: 640px; }
.page-head { display: flex; align-items: center; gap: 12px; }
.page-head h1 { font-size: 24px; font-weight: 800; }
.back { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; color: var(--text-2); cursor: pointer; flex: none; }
.cols { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.cols > .main-col { flex: 2 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.cols > .side-col { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.tabbar { display: none; }
.balance { background: var(--brand); color: #FFFFFF; border-radius: 20px; padding: 24px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.balance .lbl { font-size: 14px; font-weight: 600; color: var(--on-brand-2); }
.balance .amt { font-size: 34px; font-weight: 800; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.balance .acts { display: flex; flex-wrap: wrap; gap: 10px; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.stat .v { font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; }
.stat .k { font-size: 13px; color: var(--text-3); font-weight: 600; }
.toggle { width: 46px; height: 28px; border-radius: 999px; border: 0; background: var(--field); position: relative; cursor: pointer; flex: none; padding: 0; }
.toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 999px; background: #FFFFFF; transition: left .15s; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); }
.toggle[aria-checked="true"] { background: var(--brand); }
.toggle[aria-checked="true"]::after { left: 21px; }

/* ---------- Halaman depan ---------- */
.site-head { background: var(--surface); border-bottom: 1px solid var(--line); }
.site-head-in { max-width: 1160px; margin: 0 auto; padding: 14px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.site-nav a.plain { padding: 10px 12px; font-size: 15px; font-weight: 600; color: var(--text-2); text-decoration: none; }
.site-nav a.plain:hover { color: var(--brand); }
.hero { background: var(--brand); color: #FFFFFF; }
.hero-in { max-width: 1160px; margin: 0 auto; padding: 56px 24px 64px; display: flex; flex-wrap: wrap; align-items: center; gap: 40px; }
.hero-copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.hero h1 { font-size: 44px; line-height: 1.12; font-weight: 800; letter-spacing: -0.02em; }
.hero-copy p { font-size: 18px; line-height: 1.55; color: var(--on-brand-2); max-width: 30em; }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 16px; font-weight: 500; }
.ticks li { display: flex; align-items: center; gap: 10px; }
.buybox { flex: 1 1 420px; min-width: 0; max-width: 520px; background: var(--surface); color: var(--text); border-radius: 20px; padding: 24px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: 18px; }
.section { max-width: 1160px; margin: 0 auto; padding: 48px 24px; display: flex; flex-direction: column; gap: 22px; }
.section h2 { font-size: 26px; font-weight: 800; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.step .n { width: 32px; height: 32px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-weight: 800; }
.promo { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.promo .card { justify-content: space-between; }
.site-foot { border-top: 1px solid var(--line); background: var(--surface); }
.site-foot-in { max-width: 1160px; margin: 0 auto; padding: 28px 24px; display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; font-size: 14px; color: var(--text-3); }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.site-foot a { color: var(--text-3); text-decoration: none; font-weight: 600; }
.site-foot a:hover { color: var(--brand); }
.doc { line-height: 1.7; display: flex; flex-direction: column; gap: 10px; }
.doc h2 { font-size: 18px; margin-top: 14px; }
.doc ol, .doc ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }

/* ---------- Halaman masuk/daftar ---------- */
.auth { min-height: 100vh; display: flex; flex-direction: column; }
.auth-main { flex: 1; display: flex; align-items: flex-start; justify-content: center; padding: 32px 16px 48px; }
.auth-card { width: 100%; max-width: 440px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.auth-card h1 { font-size: 24px; font-weight: 800; }
.verify-box { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.spinner { width: 22px; height: 22px; border-radius: 999px; border: 3px solid var(--brand-soft); border-top-color: var(--brand); animation: spin .8s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Lembar bawah, dialog, PIN, kabar ---------- */
.scrim { position: fixed; inset: 0; background: rgba(16, 24, 40, .45); z-index: 50; display: flex; align-items: flex-end; justify-content: center; }
.sheet { width: 100%; max-width: 520px; max-height: 92vh; overflow: auto; background: var(--surface); border-radius: 22px 22px 0 0; padding: 22px 20px 28px; display: flex; flex-direction: column; gap: 16px; }
.sheet h2 { font-size: 19px; font-weight: 800; }
.sheet .grab { width: 40px; height: 4px; border-radius: 999px; background: var(--line); margin: -8px auto 2px; }
@media (min-width: 720px) {
  .scrim { align-items: center; }
  .sheet { border-radius: 22px; }
}
.pin-dots { display: flex; justify-content: center; gap: 14px; padding: 6px 0; }
.pin-dots span { width: 14px; height: 14px; border-radius: 999px; border: 2px solid var(--field); }
.pin-dots span.on { background: var(--brand); border-color: var(--brand); }
.pinpad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pinpad button { min-height: 58px; border-radius: 14px; border: 0; background: var(--surface-2); font-size: 22px; font-weight: 700; cursor: pointer; color: var(--text); }
.pinpad button:hover { background: var(--brand-soft-2); }
.pinpad button.fn { font-size: 14px; font-weight: 700; color: var(--brand); background: transparent; }
.toasts { position: fixed; left: 0; right: 0; bottom: 84px; display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 60; pointer-events: none; padding: 0 16px; }
.toast { max-width: 520px; background: #101828; color: #FFFFFF; padding: 12px 16px; border-radius: 12px; font-size: 14px; font-weight: 600; box-shadow: var(--shadow-lg); pointer-events: auto; }
.toast-bad { background: #B42318; }
.loading { display: flex; justify-content: center; padding: 40px; }

/* ---------- Ponsel ---------- */
@media (max-width: 899px) {
  .shell { padding: 16px 16px 96px; gap: 16px; display: block; }
  .sidenav { display: none; }
  .view { gap: 16px; }
  .topbar-in { padding: 10px 16px; }
  .me-pill span:last-child { display: none; }
  .me-pill { padding: 4px; }
  .tabbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--surface); border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  .tabbar a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 2px; color: var(--muted); font-size: 11px; font-weight: 700; text-decoration: none; }
  .tabbar a[aria-current="page"] { color: var(--brand); }
  .balance { padding: 20px; }
  .balance .amt { font-size: 30px; }
  .card { padding: 16px; border-radius: 18px; }
  .page-head h1 { font-size: 21px; }
  .hero-in { padding: 32px 16px 40px; gap: 28px; }
  .hero h1 { font-size: 32px; }
  .hero-copy p { font-size: 16px; }
  .buybox { padding: 18px; }
  .site-head-in, .section, .site-foot-in { padding-left: 16px; padding-right: 16px; }
  .section { padding-top: 32px; padding-bottom: 32px; }
  .choices { grid-template-columns: repeat(2, 1fr); }
  .choices.choices-3 { grid-template-columns: repeat(3, 1fr); }
  .choices-3 .choice { padding: 12px 10px; }
  .auth-card { padding: 22px 18px; }
  .site-nav a.plain { display: none; }
  .cols { gap: 16px; }
  .cols > .main-col, .cols > .side-col { gap: 16px; }
  .menu-grid { grid-template-columns: repeat(4, 1fr); gap: 4px; }
  .menu-grid a, .menu-grid button { padding: 10px 2px; font-size: 12px; gap: 6px; }
  .tile-ic { width: 46px; height: 46px; }
}
@media print {
  .topbar, .sidenav, .tabbar, .no-print { display: none !important; }
  body { background: #FFFFFF; }
  .shell { padding: 0; }
}
