/* ============================================================================
   AksesKerja — Deck presentasi fitur besar
   Memakai token dari _ds/ (sumber kebenaran yang sama dengan produknya), jadi
   warna dan tipografi slide identik dengan aplikasi yang dipresentasikan.

   Slide berukuran tetap 1280×720 lalu diskalakan dengan transform, sehingga
   tata letak tidak pernah berubah antar layar — yang berubah hanya ukurannya.
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  background: var(--ink-900);
  color: var(--ink-800);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

/* --------------------------------------------------------------- panggung */
#stage {
  position: fixed; inset: 0;
  display: grid; place-items: center;
}
.slide {
  position: relative;
  width: 1280px; height: 720px;
  background: var(--bg-app);
  display: none;
  flex-direction: column;
  padding: 64px 72px 72px;
  overflow: hidden;
}
.slide.on { display: flex; }

/* ------------------------------------------------------------- tipografi */
.eyebrow {
  font-size: 12px; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: var(--brand-blue);
  display: flex; align-items: center; gap: 10px;
}
.eyebrow::before {
  content: ''; width: 22px; height: 2px; background: currentColor; border-radius: 2px;
}
.slide h2 {
  margin: 14px 0 0;
  font-size: 40px; line-height: 1.12; font-weight: 800;
  letter-spacing: -.025em; color: var(--ink-900);
  max-width: 21ch;
}
.slide h2 em { font-style: normal; color: var(--brand-blue); }
.lede {
  margin: 14px 0 0; max-width: 78ch;
  font-size: 17px; line-height: 1.55; font-weight: 500; color: var(--ink-600);
}
.lede b { color: var(--ink-800); font-weight: 800; }
.body { margin-top: 30px; flex: 1; min-height: 0; }

/* --------------------------------------------------------------- sampul */
.slide.cover {
  background: linear-gradient(145deg, #1E3A8A 0%, var(--brand-blue) 55%, #1D4ED8 100%);
  color: #fff; justify-content: center; padding: 0 84px;
}
.slide.cover::after {
  content: ''; position: absolute; right: -180px; bottom: -260px;
  width: 620px; height: 620px; border-radius: 50%;
  background: rgba(255,255,255,.05);
}
/* Lockup resmi punya wordmark gelap, jadi di latar biru ia diletakkan di atas
   keping putih. Wordmark tidak pernah diketik ulang — hanya alasnya yang diubah. */
.cover .brand {
  display: inline-flex; align-items: center; align-self: flex-start;
  background: #fff; border-radius: 12px; padding: 14px 20px;
  margin-bottom: 38px; position: relative; z-index: 1;
  box-shadow: 0 8px 24px rgba(15,23,42,.18);
}
.cover img.lockup { height: 34px; width: auto; display: block; }
.cover h1 {
  /* DS typography.css menetapkan h1 { color: var(--ink-900) } — di atas biru itu
     tidak terbaca, jadi warnanya ditegaskan di sini, bukan dibiarkan mewarisi. */
  margin: 0; color: #fff;
  font-size: 60px; line-height: 1.06; font-weight: 800;
  letter-spacing: -.03em; max-width: 17ch; position: relative; z-index: 1;
}
.cover p {
  margin: 22px 0 0; font-size: 19px; font-weight: 600; color: #BFDBFE;
  max-width: 56ch; line-height: 1.5; position: relative; z-index: 1;
}
.cover .meta {
  margin-top: 46px; display: flex; gap: 40px; position: relative; z-index: 1;
}
.cover .meta div { border-left: 2px solid rgba(255,255,255,.28); padding-left: 16px; }
.cover .meta dt {
  font-size: 11px; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: #93C5FD;
}
.cover .meta dd { margin: 5px 0 0; font-size: 17px; font-weight: 800; }

/* ------------------------------------------------------------- pembatas */
.slide.divider {
  background: var(--brand-navy); color: #fff; justify-content: center;
}
.slide.divider .eyebrow { color: #93C5FD; }
.slide.divider h2 {
  color: #fff; font-size: 50px; max-width: 24ch; margin-top: 18px;
}
.slide.divider .lede { color: #C7D2FE; font-size: 18px; max-width: 86ch; }
/* .lede b memakai --ink-800 yang hilang di latar navy — ditegaskan putih di sini */
.slide.divider .lede b { color: #fff; }
/* badan dibiarkan setinggi isinya, supaya justify-content:center benar-benar memusatkan */
.slide.divider .body { flex: 0 0 auto; }
.divider .num {
  position: absolute; right: 72px; bottom: 56px;
  font-size: 150px; font-weight: 800; letter-spacing: -.05em;
  color: rgba(255,255,255,.07); line-height: 1;
}

/* --------------------------------------------------------------- kartu */
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
/* grid yang mengisi tinggi badan slide, supaya tidak menyisakan ruang mati */
.grid.fill { height: 100%; grid-auto-rows: 1fr; }

.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 20px 22px;
  display: flex; flex-direction: column; gap: 8px;
}
.card .ic {
  width: 38px; height: 38px; border-radius: 10px;
  display: grid; place-items: center; margin-bottom: 4px;
  background: var(--brand-blue-light); color: var(--brand-blue);
}
.card .ic .material-symbols-outlined { font-size: 21px; }
.card h3 {
  margin: 0; font-size: 16px; font-weight: 800; color: var(--ink-900);
  letter-spacing: -.01em; line-height: 1.3;
}
.card p { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--ink-600); font-weight: 500; }
.card p b { color: var(--ink-800); font-weight: 800; }
.card.accent { border-color: #BFDBFE; background: #F7FBFF; }

/* tone helper untuk ikon kartu */
.t-teal  .ic { background: #E6F2F2; color: var(--brand-teal); }
.t-green .ic { background: var(--success-soft); color: var(--success-ink); }
.t-amber .ic { background: var(--warning-soft); color: var(--warning-ink); }
.t-navy  .ic { background: var(--brand-navy-soft); color: var(--brand-navy); }
.t-red   .ic { background: var(--danger-soft); color: var(--danger); }

/* ------------------------------------------------------------ dua kolom */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 34px; height: 100%; }
.split.wide-left { grid-template-columns: 1.35fr .65fr; }

/* --------------------------------------------------------------- tangga */
.ladder { display: flex; flex-direction: column; gap: 4px; }
.rung {
  display: grid; grid-template-columns: 48px 1fr auto; align-items: center;
  gap: 14px; padding: 6px 14px; border-radius: 9px;
  background: var(--surface); border: 1px solid var(--border);
}
.rung .k {
  font-size: 13px; font-weight: 800; color: var(--brand-blue);
  font-variant-numeric: tabular-nums;
}
.rung .t { font-size: 13px; font-weight: 700; color: var(--ink-800); line-height: 1.35; }
.rung .s { font-size: 11.5px; font-weight: 600; color: var(--ink-500); line-height: 1.4; }
.rung.hot { border-color: #FECACA; background: var(--danger-soft); }
.rung.hot .k { color: var(--danger); }
.rung.calm { background: var(--surface-muted); }
.rung.calm .k { color: var(--ink-400); }

/* --------------------------------------------------------------- tabel */
table.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.tbl th {
  text-align: left; padding: 9px 14px;
  font-size: 10.5px; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-400);
  border-bottom: 1px solid var(--border);
}
table.tbl td {
  padding: 10px 14px; border-bottom: 1px solid var(--border-soft);
  color: var(--ink-600); font-weight: 500; vertical-align: top;
}
table.tbl td b { color: var(--ink-900); font-weight: 800; }
table.tbl tr:last-child td { border-bottom: 0; }
.tbl-wrap {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden;
}

/* --------------------------------------------------------------- angka */
.stats { display: flex; gap: 12px; }
.stat {
  flex: 1; background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 16px 18px;
}
.stat .n {
  font-size: 30px; font-weight: 800; letter-spacing: -.03em;
  color: var(--brand-blue); line-height: 1;
}
.stat .l {
  margin-top: 7px; font-size: 12px; font-weight: 700; color: var(--ink-500);
  line-height: 1.35;
}

/* --------------------------------------------------------------- kutipan */
.pull {
  background: var(--brand-navy); color: #fff; border-radius: 16px;
  padding: 26px 28px; display: flex; flex-direction: column; gap: 10px;
}
.pull .q { font-size: 20px; font-weight: 800; line-height: 1.35; letter-spacing: -.015em; }
.pull .a { font-size: 13.5px; font-weight: 600; color: #C7D2FE; line-height: 1.5; }

.note {
  display: flex; gap: 11px; align-items: flex-start;
  background: var(--brand-blue-light); border: 1px solid #DBEAFE;
  border-radius: 12px; padding: 14px 16px;
  font-size: 13px; line-height: 1.5; color: var(--brand-navy); font-weight: 600;
}
.note .material-symbols-outlined { font-size: 19px; color: var(--brand-blue); flex-shrink: 0; }
.note b { font-weight: 800; }

/* ---------------------------------------------------------------- daftar */
ul.ticks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
ul.ticks li {
  display: grid; grid-template-columns: 20px 1fr; gap: 11px;
  font-size: 14px; line-height: 1.5; color: var(--ink-600); font-weight: 500;
}
ul.ticks li b { color: var(--ink-900); font-weight: 800; }
ul.ticks .material-symbols-outlined { font-size: 18px; color: var(--success-ink); margin-top: 1px; }

/* pil kecil */
.pills { display: flex; flex-wrap: wrap; gap: 7px; }
.pill {
  font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 9999px;
  background: var(--surface); border: 1px solid var(--border); color: var(--ink-600);
}
.pill.on { background: var(--brand-blue-light); border-color: #BFDBFE; color: var(--brand-navy); }

/* ------------------------------------------------------------- kaki slide */
.foot {
  position: absolute; left: 72px; right: 72px; bottom: 26px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 11px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--ink-400);
}
.slide.cover .foot, .slide.divider .foot { display: none; }
.foot img { height: 15px; width: auto; opacity: .5; }

/* -------------------------------------------------------------- navigasi */
#bar {
  position: fixed; left: 0; right: 0; bottom: 0; height: 3px;
  background: rgba(255,255,255,.12); z-index: 20;
}
#bar i { display: block; height: 100%; background: var(--brand-blue); transition: width .25s ease; }
#hud {
  position: fixed; right: 18px; bottom: 16px; z-index: 20;
  display: flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 700; color: rgba(255,255,255,.55);
  font-variant-numeric: tabular-nums;
}
#hud kbd {
  font-family: inherit; font-size: 10.5px; font-weight: 700;
  background: rgba(255,255,255,.12); border-radius: 5px; padding: 3px 7px;
  color: rgba(255,255,255,.7);
}
@media (prefers-reduced-motion: reduce) { #bar i { transition: none; } }

/* ----------------------------------------------------------------- cetak */
@page { size: 1280px 720px; margin: 0; }
@media print {
  body { background: #fff; overflow: visible; }
  #stage { position: static; display: block; }
  #bar, #hud { display: none; }
  .slide {
    display: flex !important;
    page-break-after: always; break-after: page;
    transform: none !important;
  }
}

/* ============================================================================
   Tangkapan layar produk
   Deck ini tentang antarmuka, jadi tiap slide fitur memasangkan penjelasan
   dengan tangkapan layar ASLI dari prototipe yang berjalan — bukan ilustrasi.
   ========================================================================== */
.shotgrid {
  display: grid; grid-template-columns: .74fr 1.26fr; gap: 26px;
  height: 100%; min-height: 0;
}
.shotgrid.flip { grid-template-columns: 1.15fr .85fr; }
.shotgrid > div { min-width: 0; }
.shotgrid .lede { font-size: 15px; line-height: 1.5; }
.shotgrid ul.ticks li { font-size: 13px; line-height: 1.45; }
.shotgrid .note { font-size: 12.5px; }
.shotgrid .card p { font-size: 12.5px; }
.shotgrid table.tbl { font-size: 12.5px; }
.shotgrid table.tbl td { padding: 7px 12px; }
.shotgrid table.tbl th { padding: 7px 12px; }

figure.shot {
  margin: 0; display: flex; flex-direction: column; gap: 8px;
  min-height: 0; min-width: 0;
}
figure.shot img {
  width: 100%; flex: 1; min-height: 0;
  object-fit: contain; object-position: top center;
  border: 1px solid var(--border); border-radius: 12px;
  background: #fff; box-shadow: 0 12px 34px rgba(15,23,42,.13);
}
/* potongan modul yang tingginya sudah pas — jangan dipaksa mengisi */
figure.shot.fit img { flex: none; height: auto; max-height: 100%; }
figure.shot figcaption {
  flex: none; display: flex; align-items: center; gap: 7px;
  font-size: 10.5px; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink-400);
}
figure.shot figcaption::before {
  content: ''; width: 14px; height: 2px; background: var(--brand-blue);
  border-radius: 2px; flex: none;
}

/* dua tangkapan berdampingan dalam satu kolom */
.shotpair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; min-height: 0; height: 100%; }
/* satu tangkapan lebar di bawah teks pengantar */
.shotfull { display: flex; flex-direction: column; gap: 10px; height: 100%; min-height: 0; }

/* dua tangkapan ditumpuk vertikal — dipakai saat berdampingan membuatnya
   terlalu kecil untuk dibaca dari kursi belakang */
.shotstack { display: grid; grid-template-rows: 1fr 1fr; gap: 14px; min-height: 0; height: 100%; }

/* ============================================================================
   Tata letak visual-dominan (revisi)
   Gambar mengambil ruang terbesar; teks dipangkas jadi satu kalimat pengantar
   plus beberapa keping fakta pendek.
   ========================================================================== */
.slide h2 { font-size: 34px; max-width: 26ch; }
.slide .body { margin-top: 18px; }
.lede { font-size: 15.5px; margin-top: 10px; }
.shotgrid { grid-template-columns: .58fr 1.42fr; gap: 24px; }
.shotgrid.flip { grid-template-columns: 1.42fr .58fr; }

/* satu gambar besar di bawah judul + keping fakta */
.visual { display: flex; flex-direction: column; gap: 12px; height: 100%; min-height: 0; }
.visual > figure.shot { flex: 1; min-height: 0; }

.facts { display: flex; flex-wrap: wrap; gap: 8px; flex: none; }
.fact {
  font-size: 12.5px; font-weight: 700; color: var(--ink-700);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 9999px; padding: 6px 14px; white-space: nowrap;
}
.fact b { color: var(--brand-blue); font-weight: 800; }
.fact.hot { background: var(--danger-soft); border-color: #FECACA; color: var(--danger); }
.fact.hot b { color: var(--danger); }

/* daftar pendek di kolom teks */
.shotgrid ul.ticks { gap: 9px; }
.shotgrid ul.ticks li { font-size: 12.5px; line-height: 1.4; }
.shotgrid .lede { font-size: 14px; line-height: 1.5; }
figure.shot figcaption { font-size: 10px; }

/* Gambar tunggal lebar: isi bingkai penuh dan potong dari bawah, bukan
   dikecilkan sampai muncul pita kosong di kiri-kanan. Bagian atas layar
   adalah yang penting, jadi pemotongan dari bawah aman. */
.visual > figure.shot img { object-fit: cover; object-position: top center; }
.shotpair figure.shot img { object-fit: cover; object-position: top center; }
/* kolom sempit di samping teks tetap utuh supaya tidak terpotong aneh */
.shotgrid > figure.shot img { object-fit: contain; }

/* Pengecualian: gambar yang rasionya jauh lebih lebar daripada bingkainya akan
   terpotong berlebihan bila dipaksa mengisi penuh — dibiarkan utuh. */
figure.shot.wide img { object-fit: contain !important; object-position: center; }
.shotpair.utuh figure.shot img { object-fit: contain !important; }

/* ============================================================================
   KOREKSI BINGKAI GAMBAR
   Aturan sebelumnya memaksa gambar mengisi kotak berukuran tetap: hasilnya
   isi terpotong (cover) atau muncul pita kosong di dalam garis tepi (contain).
   Sekarang dibalik — <img> diberi batas maksimum lalu dibiarkan berukuran
   alami, sehingga garis tepi dan bayangan selalu menempel persis pada gambar.
   ========================================================================== */
figure.shot { align-items: center; justify-content: flex-start; }
figure.shot figcaption { align-self: flex-start; }
figure.shot img,
.visual > figure.shot img,
.shotpair figure.shot img,
.shotpair.utuh figure.shot img,
.shotgrid > figure.shot img,
figure.shot.wide img,
figure.shot.fit img {
  flex: 0 1 auto;
  width: auto !important;
  height: auto !important;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain !important;
  display: block;
}

/* galeri penutup — beberapa layar sekaligus */
.gallery { display: grid; grid-template-columns: repeat(3,1fr); grid-template-rows: repeat(2,1fr); gap: 14px; height: 100%; min-height: 0; }
.gallery figure.shot img { object-fit: cover !important; object-position: top center; width: 100% !important; height: 100% !important; max-height: none; }
/* pemisah bagian: angka besar diganti label yang lebih berguna */
.slide.divider .facts { margin-top: 26px; }
.slide.divider .fact { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.25); color: #E0E7FF; }
.slide.divider .fact b { color: #fff; }
