/*
 * Landing page vectorsolution.co.id (PLAN-316).
 * Token di bawah adalah palet gelap vector_backoffice/src/theme/colors.ts dan skala di tokens.ts.
 * Kalau palet aplikasi berubah, ubah juga di sini supaya halaman produk dan aplikasinya tetap terasa
 * satu produk. Aturan aplikasi ikut berlaku: tanpa bayangan (pemisah hanya border), hanya bobot
 * 400/600/700, letter-spacing hanya pada label mikro huruf kapital.
 */
:root {
  --background: #0b0d10;
  --surface: #151a20;
  --surface-alt: #1c232b;
  --border: #2a323c;
  --gold: #f7b715;
  --gold-muted: rgba(247, 183, 21, 0.4);
  --on-gold: #1a1400;
  --text-primary: #f8fafc;
  --text-secondary: #9ca6b2;
  --danger: #ef4444;
  --success: #22c55e;
  --warning: #f97316;
  --info: #3b82f6;
  --purple: #a855f7;
  /* Alert Code di aplikasi: Hijau = success, Kuning = gold, Merah = danger. */
  --alert-hijau: var(--success);
  --alert-kuning: var(--gold);
  --alert-merah: var(--danger);

  --radius-badge: 6px;
  --radius-control: 10px;
  --radius-button: 12px;
  --radius-card: 14px;
  --container: 1180px;
  --gutter: 20px;
  --header-height: 68px;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text-primary);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--gold);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  font-weight: 700;
  line-height: 1.2;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

[id] {
  scroll-margin-top: calc(var(--header-height) + 16px);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--gold);
  color: var(--on-gold);
  border-radius: var(--radius-control);
  font-weight: 600;
}

.skip-link:focus {
  top: 12px;
}

/* ---------- Label mikro: ciri khas aplikasi ---------- */
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- Tombol ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: var(--radius-button);
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--gold);
  color: var(--on-gold);
}

.btn-primary:hover {
  background: #ffc633;
}

.btn-secondary {
  background: transparent;
  border-color: var(--border);
  color: var(--text-primary);
}

.btn-secondary:hover {
  border-color: var(--gold-muted);
  background: rgba(247, 183, 21, 0.08);
}

.btn-sm {
  min-height: 38px;
  padding: 0 16px;
  font-size: 14px;
  border-radius: var(--radius-control);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-height);
  background: rgba(11, 13, 16, 0.82);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
}

.brand img {
  height: 26px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
}

.site-nav a:hover {
  color: var(--text-primary);
  text-decoration: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

@media (max-width: 899px) {
  .site-nav {
    display: none;
  }
}

@media (max-width: 479px) {
  .header-demo {
    display: none;
  }
}

/* ---------- Sakelar bahasa ID | EN (PLAN-319) ---------- */
.lang-switch {
  display: inline-flex;
  align-items: stretch;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: var(--radius-control);
  overflow: hidden;
}

/* Berspesifisitas .site-header supaya tak kalah oleh aturan .mobile-nav-panel a di panel menu ponsel. */
.site-header .lang-switch a {
  display: inline-flex;
  align-items: center;
  border-top: 0;
  padding: 0 11px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.site-header .lang-switch a + a {
  border-left: 1px solid var(--border);
}

.site-header .lang-switch a:hover {
  color: var(--text-primary);
  text-decoration: none;
}

.site-header .lang-switch a[aria-current='page'] {
  color: var(--gold);
  background: rgba(247, 183, 21, 0.12);
}

/* Di halaman utama ponsel header sudah penuh (logo, Masuk, menu): sakelar pindah ke panel menu. */
.mobile-lang {
  display: none;
}

@media (max-width: 479px) {
  .header-lang {
    display: none;
  }

  .mobile-lang {
    display: inline-flex;
    margin-top: 14px;
    justify-self: start;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 60%;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 13, 16, 0.96) 0%, rgba(11, 13, 16, 0.86) 42%, rgba(11, 13, 16, 0.35) 100%),
    linear-gradient(0deg, rgba(11, 13, 16, 1) 0%, rgba(11, 13, 16, 0) 30%);
}

.hero .container {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 56px;
  padding-top: 96px;
  padding-bottom: 104px;
}

.hero h1 {
  margin-top: 18px;
  font-size: clamp(34px, 5vw, 56px);
  letter-spacing: -0.5px;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold);
}

.hero-lead {
  margin-top: 20px;
  max-width: 560px;
  font-size: 18px;
  color: #c4ccd6;
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-points {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}

.hero-points svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
  flex: none;
}

@media (max-width: 959px) {
  .hero .container {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
    padding-top: 64px;
    padding-bottom: 72px;
  }

  .hero-bg::after {
    background:
      linear-gradient(180deg, rgba(11, 13, 16, 0.9) 0%, rgba(11, 13, 16, 0.8) 55%, rgba(11, 13, 16, 1) 100%);
  }
}

/* ---------- Kartu laporan tiruan (meniru kartu insiden aplikasi) ---------- */
.feed {
  position: relative;
  display: grid;
  gap: 12px;
  max-width: 440px;
  width: 100%;
  justify-self: end;
}

@media (max-width: 959px) {
  .feed {
    justify-self: start;
  }
}

.feed-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.live-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--success);
}

.live-dot::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--success);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

@media (prefers-reduced-motion: reduce) {
  .live-dot::before {
    animation: none;
  }
}

.incident-card {
  position: relative;
  display: grid;
  gap: 8px;
  padding: 14px 14px 14px 18px;
  background: rgba(21, 26, 32, 0.94);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.incident-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--accent, var(--purple));
}

.incident-card.is-merah {
  --accent: var(--alert-merah);
}

.incident-card.is-kuning {
  --accent: var(--alert-kuning);
}

.incident-card.is-hijau {
  --accent: var(--alert-hijau);
}

.incident-card.is-potensi {
  --accent: var(--purple);
}

.incident-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.incident-code {
  font-size: 12px;
  color: var(--text-secondary);
  font-variant-numeric: tabular-nums;
}

.incident-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}

.incident-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  font-size: 12px;
  color: var(--text-secondary);
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: var(--radius-badge);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  line-height: 1.4;
  color: var(--badge, var(--text-secondary));
  background: color-mix(in srgb, var(--badge, var(--text-secondary)) 15%, transparent);
  border: 1px solid color-mix(in srgb, var(--badge, var(--text-secondary)) 30%, transparent);
  white-space: nowrap;
}

/* Bentuk berbeda per kode supaya warna tidak berdiri sendiri (palet gagal cek CVD). */
.badge-alert::before {
  content: '';
  width: 7px;
  height: 7px;
  background: currentColor;
}

.badge-hijau {
  --badge: var(--alert-hijau);
}

.badge-hijau::before {
  border-radius: 999px;
}

.badge-kuning {
  --badge: var(--alert-kuning);
}

.badge-kuning::before {
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.badge-merah {
  --badge: var(--alert-merah);
}

.badge-merah::before {
  border-radius: 1px;
}

.badge-type {
  --badge: var(--text-secondary);
}

.badge-potensi {
  --badge: var(--purple);
}

.badge-status {
  --badge: var(--info);
}

/* ---------- Section umum ---------- */
.section {
  padding: 96px 0;
  border-bottom: 1px solid var(--border);
}

.section-alt {
  background: #0e1115;
}

.section-head {
  max-width: 720px;
  margin-bottom: 48px;
}

.section-head h2 {
  margin-top: 12px;
  font-size: clamp(28px, 3.4vw, 40px);
  letter-spacing: -0.3px;
}

.section-head p {
  margin-top: 16px;
  font-size: 17px;
  color: var(--text-secondary);
}

@media (max-width: 767px) {
  .section {
    padding: 72px 0;
  }

  .section-head {
    margin-bottom: 36px;
  }
}

.card {
  position: relative;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}

.card h3 {
  font-size: 18px;
}

.card p {
  margin-top: 10px;
  font-size: 15px;
  color: var(--text-secondary);
}

.grid {
  display: grid;
  gap: 16px;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}

.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: var(--radius-button);
  background: rgba(247, 183, 21, 0.15);
  color: var(--gold);
}

.icon-box svg {
  width: 22px;
  height: 22px;
}

/* ---------- Masalah ---------- */
.problem {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.problem .section-head {
  margin-bottom: 0;
}

.issue-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.issue-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  font-weight: 600;
  font-size: 15px;
}

.issue-list svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
  flex: none;
}

.problem-note {
  grid-column: 1 / -1;
  padding: 20px 24px;
  border: 1px solid var(--gold-muted);
  border-radius: var(--radius-card);
  background: rgba(247, 183, 21, 0.06);
  font-size: 17px;
}

.problem-note strong {
  color: var(--gold);
}

@media (max-width: 899px) {
  .problem {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
}

@media (max-width: 419px) {
  .issue-list {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Jenis Kejadian ---------- */
.escalation {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1fr);
  gap: 16px;
}

.type-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px 22px 22px 26px;
  overflow: hidden;
}

.type-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--accent);
}

.type-card .level {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.type-card h3 {
  font-size: 22px;
}

.type-card p {
  margin-top: 0;
  flex: 1;
}

.type-card .alert-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.type-tuntutan {
  --accent: linear-gradient(180deg, var(--alert-hijau), var(--alert-kuning));
}

.type-ancaman {
  --accent: linear-gradient(180deg, var(--alert-kuning), var(--alert-merah));
}

.type-aksi {
  --accent: var(--alert-merah);
}

.type-potensi {
  --accent: var(--purple);
  border-style: dashed;
}

.escalation-note {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-size: 14px;
  color: var(--text-secondary);
}

.escalation-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.escalation-arrow svg {
  width: 16px;
  height: 16px;
  color: var(--gold);
}

@media (max-width: 1079px) {
  .escalation {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 599px) {
  .escalation {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Cara kerja ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  counter-reset: step;
}

.step {
  padding-top: 20px;
  border-top: 2px solid var(--border);
}

.step:first-child {
  border-top-color: var(--gold);
}

.step .eyebrow {
  color: var(--text-secondary);
}

.step:first-child .eyebrow {
  color: var(--gold);
}

.step h3 {
  margin-top: 10px;
  font-size: 19px;
}

.step p {
  margin-top: 10px;
  font-size: 15px;
  color: var(--text-secondary);
}

@media (max-width: 1023px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 36px;
  }
}

@media (max-width: 559px) {
  .steps {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 28px;
  }
}

/* ---------- Dua aplikasi ---------- */
.app-card {
  display: flex;
  flex-direction: column;
  padding: 32px;
}

.app-card .eyebrow {
  margin-bottom: 10px;
}

.app-card h3 {
  font-size: 24px;
}

.app-card > p {
  margin-top: 12px;
}

.check-list {
  margin-top: 22px;
  display: grid;
  gap: 12px;
  flex: 1;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  font-size: 15px;
  color: #c4ccd6;
}

.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(247, 183, 21, 0.15)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F7B715' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E")
    center / 12px no-repeat;
}

.app-card-foot {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.store-pending {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 16px;
  border: 1px dashed var(--border);
  border-radius: var(--radius-button);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}

.store-pending svg {
  width: 20px;
  height: 20px;
  color: var(--success);
}

.app-card-note {
  font-size: 13px;
  color: var(--text-secondary);
}

/* ---------- Fondasi ---------- */
.foundation .card h3 {
  font-size: 17px;
}

/* ---------- Keamanan ---------- */
.security {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: start;
}

.security .section-head {
  margin-bottom: 0;
}

.security-list {
  display: grid;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--surface);
  overflow: hidden;
}

.security-list li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 16px;
  padding: 20px 22px;
  border-top: 1px solid var(--border);
}

.security-list li:first-child {
  border-top: 0;
}

.security-list svg {
  width: 22px;
  height: 22px;
  color: var(--gold);
  margin-top: 2px;
}

.security-list strong {
  display: block;
  font-size: 16px;
}

.security-list span {
  display: block;
  margin-top: 4px;
  font-size: 15px;
  color: var(--text-secondary);
}

@media (max-width: 899px) {
  .security {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
}

/* ---------- Cara memulai ---------- */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.timeline .card {
  padding: 22px;
}

.timeline .phase {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.timeline .num {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

.timeline .dur {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}

.timeline h3 {
  margin-top: 14px;
  font-size: 19px;
}

@media (max-width: 1023px) {
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 559px) {
  .timeline {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- CTA ---------- */
.cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 104px 0;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 60% 70% at 50% 100%, rgba(247, 183, 21, 0.16), transparent 70%),
    var(--background);
}

.cta h2 {
  max-width: 760px;
  margin: 12px auto 0;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.3px;
}

.cta p {
  max-width: 620px;
  margin: 18px auto 0;
  font-size: 17px;
  color: var(--text-secondary);
}

.cta .hero-actions {
  justify-content: center;
}

.contact-line {
  margin-top: 28px;
  font-size: 15px;
  color: var(--text-secondary);
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 40px 0 48px;
  font-size: 14px;
  color: var(--text-secondary);
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-brand img {
  height: 20px;
  width: auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.footer-links a {
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--text-primary);
}

/* ---------- Halaman dokumen (Kebijakan Privasi) ---------- */
.doc {
  padding: 72px 0 96px;
}

.doc .container {
  max-width: 820px;
}

.doc h1 {
  margin-top: 12px;
  font-size: clamp(30px, 4vw, 42px);
}

.doc-meta {
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-secondary);
}

.doc-summary {
  margin-top: 32px;
  padding: 20px 24px;
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-card);
  background: var(--surface);
}

.doc-summary p + p {
  margin-top: 10px;
}

.doc-toc {
  margin-top: 32px;
  padding: 20px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}

.doc-toc ol {
  margin: 12px 0 0;
  padding-left: 20px;
  columns: 2;
  column-gap: 32px;
  font-size: 15px;
}

.doc-toc li {
  break-inside: avoid;
  padding: 2px 0;
}

@media (max-width: 599px) {
  .doc-toc ol {
    columns: 1;
  }
}

.doc section {
  margin-top: 48px;
}

.doc h2 {
  font-size: 24px;
}

.doc h3 {
  margin-top: 24px;
  font-size: 18px;
}

.doc section p,
.doc section li {
  color: #c4ccd6;
}

.doc section p {
  margin-top: 14px;
}

.doc section ul,
.doc section ol {
  margin-top: 14px;
  padding-left: 22px;
  list-style: disc;
}

.doc section ol {
  list-style: decimal;
}

.doc section li + li {
  margin-top: 8px;
}

.doc strong {
  color: var(--text-primary);
}

.table-wrap {
  margin-top: 16px;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}

.doc table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 15px;
}

.doc th,
.doc td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
  border-top: 1px solid var(--border);
}

.doc thead th {
  border-top: 0;
  background: var(--surface);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.doc td {
  color: #c4ccd6;
}

/* ---------- 404 ---------- */
.not-found {
  min-height: calc(100vh - var(--header-height));
  display: grid;
  place-items: center;
  padding: 64px 0;
  text-align: center;
}

.not-found .code {
  font-size: clamp(72px, 14vw, 128px);
  font-weight: 700;
  line-height: 1;
  color: var(--gold);
}

.not-found h1 {
  margin-top: 16px;
  font-size: clamp(24px, 4vw, 32px);
}

.not-found p {
  max-width: 480px;
  margin: 14px auto 0;
  color: var(--text-secondary);
}

.not-found .hero-actions {
  justify-content: center;
}

/* ---------- Menu ponsel (pengganti .site-nav di bawah 900px) ---------- */
.mobile-nav {
  display: none;
}

@media (max-width: 899px) {
  .mobile-nav {
    display: block;
  }
}

.mobile-nav summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: var(--radius-control);
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
}

.mobile-nav summary::-webkit-details-marker {
  display: none;
}

.mobile-nav summary svg {
  width: 20px;
  height: 20px;
}

.mobile-nav[open] summary {
  border-color: var(--gold-muted);
  color: var(--gold);
}

.mobile-nav-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: var(--header-height);
  display: grid;
  padding: 8px var(--gutter) 16px;
  background: var(--background);
  border-bottom: 1px solid var(--border);
}

.mobile-nav-panel a {
  padding: 12px 0;
  border-top: 1px solid var(--border);
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 600;
}

.mobile-nav-panel a:first-child {
  border-top: 0;
}

.mobile-nav-panel a:hover {
  color: var(--gold);
  text-decoration: none;
}
