/* Strukasir — situs pemasaran.
   Sumber token: docs/brand (README, ui-rules) & app/lib/core/theme/tokens.dart.
   Dasar slate/putih seperti app. Warna lain dipakai dengan makna yang sama seperti di app:
   indigo = aksi & pilihan (tombol, nomor langkah, "Semua di …, plus"), hijau = yang Anda dapat (centang fitur,
   gratis, hemat), amber = ajakan paket/referral (sama dengan CTA paket di app), merah = masalah saja.
   Satu elemen berani: struk yang "tercetak" di hero. */

@font-face { font-family: "Plus Jakarta Sans"; font-weight: 400; font-display: swap; src: url("../fonts/pjs-400.woff") format("woff"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 600; font-display: swap; src: url("../fonts/pjs-600.woff") format("woff"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 700; font-display: swap; src: url("../fonts/pjs-700.woff") format("woff"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 800; font-display: swap; src: url("../fonts/pjs-800.woff") format("woff"); }

:root {
  --ink: #0F172A;
  --ink-muted: #475569;
  --ink-soft: #64748B;
  --paper: #FFFFFF;
  --slate: #F8FAFC;
  --sunken: #F1F5F9;
  --line: #E2E8F0;
  --line-strong: #CBD5E1;
  --indigo: #3730A3;
  --indigo-strong: #312E81;
  --indigo-soft: #E0E7FF;
  --amber: #F59E0B;
  --amber-soft: #FEF3C7;
  --success: #15803D;
  --success-soft: #DCFCE7;
  --danger: #B91C1C;
  --danger-soft: #FEE2E2;

  --font: "Plus Jakarta Sans", "Segoe UI", Roboto, Arial, sans-serif;
  /* Struk thermal dicetak monospace — dipakai HANYA untuk isi struk. */
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", "Courier New", monospace;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --wrap: 1160px;
  --gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  font-feature-settings: "tnum" 1;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--indigo); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: var(--radius-sm); z-index: 10; }
.skip:focus { left: 8px; }

/* ── Tombol ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: var(--radius-md);
  font-weight: 700; font-size: 16px; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--indigo); color: #fff; }
.btn-primary:hover { background: var(--indigo-strong); }
.btn-quiet { background: var(--sunken); color: var(--ink); border-color: var(--line); }
.btn-quiet:hover { background: var(--line); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 15px; }

/* ── Header ── */
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); position: sticky; top: 0; z-index: 5; }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; text-decoration: none; }
.brand img { height: 28px; width: auto; }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--ink-muted); font-weight: 600; font-size: 15px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
@media (max-width: 720px) {
  .nav { display: none; }
  .site-header .btn { margin-left: auto; }
}

/* ── Hero: teks di tengah, produk besar di bawahnya (tablet + struk + notifikasi laporan) ── */
.hero {
  padding: 72px 0 0; border-bottom: 1px solid var(--line); overflow: hidden;
  /* Grid titik halus sebagai latar, memudar ke bawah. */
  background:
    radial-gradient(circle at 1px 1px, rgb(55 48 163 / 9%) 1px, transparent 0) 0 0 / 22px 22px,
    linear-gradient(var(--slate), var(--paper));
}
.hero .wrap { display: grid; justify-items: center; gap: 56px; }
.hero-text { text-align: center; max-width: 820px; }
.hero h1 { margin-top: 18px; font-size: clamp(36px, 5.6vw, 64px); font-weight: 800; letter-spacing: -0.025em; }
.hero h1 .hl { color: var(--indigo); }
.hero .lead { margin: 20px auto 0; font-size: 19px; color: var(--ink-muted); max-width: 36em; }
.hero .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.trust { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; font-size: 14.5px; color: var(--ink-muted); }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust li::before { content: ""; width: 9px; height: 5px; border-left: 2px solid var(--success); border-bottom: 2px solid var(--success); transform: rotate(-45deg) translateY(-2px); }
.trust b { color: var(--success); }
.hero .stage { width: min(100%, 900px); }
.hero .stage { padding-bottom: 0; }
.hero .receipt { top: 72px; bottom: auto; right: -44px; }
.hero .device { border-bottom-left-radius: 0; border-bottom-right-radius: 0; padding-bottom: 0; }
.hero .device img { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }

/* Notifikasi laporan shift (gaya kartu notifikasi HP), menempel di kiri atas tablet. */
.notif {
  position: absolute; left: -36px; top: 56px; z-index: 2; width: 270px;
  display: grid; gap: 2px; padding: 14px 16px; border-radius: var(--radius-md);
  background: var(--paper); border: 1px solid var(--line);
  box-shadow: 0 18px 40px -12px rgb(15 23 42 / 28%);
  font-size: 13.5px; color: var(--ink-muted);
  animation: pop .6s cubic-bezier(.2, .7, .2, 1) 1.2s both;
}
.notif b { color: var(--ink); font-size: 14.5px; }
.notif-app { font-size: 12px; font-weight: 700; color: #128C7E; }
.notif-ok { justify-self: start; margin-top: 6px; font-size: 12px; font-weight: 700; color: var(--success); background: var(--success-soft); padding: 2px 8px; border-radius: 999px; }
@keyframes pop {
  from { transform: translateY(10px) scale(.96); opacity: 0; }
  to { transform: none; opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .notif { animation: none; } }

.stage { position: relative; padding-bottom: 88px; }
.device {
  background: var(--ink); padding: 12px; border-radius: 22px;
  box-shadow: 0 30px 60px -30px rgba(15, 23, 42, .45);
}
.device img { border-radius: 12px; }

/* Struk thermal 58 mm: kertas putih, tepi bawah bergerigi, isi monospace 32 kolom. */
.receipt {
  position: absolute; right: -12px; bottom: 0; width: calc(32ch + 32px);
  color: var(--ink);
  font-family: var(--mono); font-size: 11.5px; line-height: 1.5;
  padding: 16px 16px 24px;
  /* Kertas putih + tepi bawah bergerigi (gigi 12×6 px), semuanya latar elemen supaya bayangan ikut bentuknya. */
  background:
    linear-gradient(#fff, #fff) top / 100% calc(100% - 6px) no-repeat,
    linear-gradient(135deg, #fff 50%, transparent 0) left bottom / 12px 6px repeat-x,
    linear-gradient(-135deg, #fff 50%, transparent 0) left bottom / 12px 6px repeat-x;
  filter: drop-shadow(0 16px 22px rgba(15, 23, 42, .22)) drop-shadow(0 0 1px rgba(15, 23, 42, .25));
  animation: print 1.1s cubic-bezier(.2, .7, .2, 1) .3s both;
}
.receipt pre { margin: 0; font: inherit; white-space: pre; }
.receipt .b { font-weight: 700; }
.receipt .c { text-align: center; display: block; }
/* Satu-satunya animasi halaman: struk keluar dari printer saat halaman dibuka. */
@keyframes print {
  from { transform: translateY(-28px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .receipt { animation: none; } }

@media (max-width: 920px) {
  .hero { padding: 48px 0 0; }
  .hero .wrap { gap: 40px; }
  .receipt { right: 8px; font-size: 10px; }
  .notif { left: 8px; top: -28px; width: 236px; }
}
@media (max-width: 480px) {
  .receipt { position: relative; right: auto; bottom: auto; margin: -64px 16px 0 auto; }
  .stage { padding-bottom: 0; }
  /* HP: notifikasi di atas tablet (sedikit menumpuk), struk kecil menumpuk di kanan bawah tablet. */
  .hero { padding-bottom: 40px; }
  .hero .stage { padding-bottom: 150px; }
  .hero .device, .hero .device img { border-radius: 14px; }
  .hero .device { padding: 6px; }
  .notif { position: relative; left: auto; top: auto; width: auto; margin: 0 16px -18px; font-size: 12.5px; padding: 10px 12px; }
  .notif b { font-size: 13.5px; }
  .hero .receipt { position: absolute; top: auto; bottom: 0; right: -4px; margin: 0; font-size: 7.5px; padding: 10px 10px 16px; }
}

/* ── Jenis usaha ── */
.for { padding: 28px 0; border-bottom: 1px solid var(--line); }
.for p { color: var(--ink-muted); font-size: 16px; }
.for strong { color: var(--ink); }

/* ── Bagian umum ── */
section { scroll-margin-top: 80px; }
.section { padding: 88px 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { max-width: 42em; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; }
.section-head p { margin-top: 14px; color: var(--ink-muted); font-size: 18px; }
@media (max-width: 720px) { .section { padding: 64px 0; } }

/* ── Alur kerja: teks + tangkapan layar berselang-seling ── */
.flow { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.flow + .flow { margin-top: 88px; }

/* Kartu bertumpuk ("stacking cards"): tiap kartu menempel (sticky) di bawah header, kartu berikutnya naik
   menutupinya. Murni CSS (situs tanpa JavaScript). Mengecil sedikit lewat scroll-driven animation bila browser
   mendukung; tanpa dukungan tetap bertumpuk. Hanya di layar lebar & cukup tinggi agar kartu muat utuh. */
.stack-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; }
.stack-card + .stack-card { margin-top: 32px; }
@media (min-width: 921px) and (min-height: 760px) {
  /* Semua kartu setinggi sama (tepi tumpukan rata), dan ruang di bawah kartu terakhir supaya kartu ke-3 sempat
     menempel penuh di atas kartu ke-2 sebelum seluruh tumpukan ikut tergulir. */
  .stack::after { content: ""; display: block; height: 30vh; } /* padding tidak dihitung batas sticky, elemen ini dihitung */
  .stack-card { min-height: min(600px, calc(100vh - 180px)); align-content: center; }
  .stack-card { position: sticky; top: 96px; transform-origin: 50% 0; box-shadow: 0 1px 2px rgb(15 23 42 / 4%), 0 12px 32px rgb(15 23 42 / 8%); }
  .stack-card:nth-child(2) { top: 120px; }
  .stack-card:nth-child(3) { top: 144px; }
  .stack-card + .stack-card { margin-top: 48vh; }
  @supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {
      /* Kartu ke-n mengecil selama kartu ke-(n+1) naik masuk layar. */
      .stack { timeline-scope: --card-2, --card-3; }
      .stack-card:nth-child(2) { view-timeline: --card-2 block; }
      .stack-card:nth-child(3) { view-timeline: --card-3 block; }
      .stack-card:nth-child(1) { animation: stack-sink linear both; animation-timeline: --card-2; animation-range: entry 10% entry 100%; }
      .stack-card:nth-child(2) { animation: stack-sink linear both; animation-timeline: --card-3; animation-range: entry 10% entry 100%; }
    }
  }
}
@keyframes stack-sink { to { transform: scale(.94); filter: brightness(.96); } }
.flow.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.flow.flip .flow-text { order: 2; }
.flow h3 { font-size: 26px; font-weight: 800; }
.flow p { margin-top: 12px; color: var(--ink-muted); }
.flow ul { margin: 20px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.flow li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.flow li strong { font-weight: 700; }
.shot { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--slate); }
.shot.phone { max-width: 300px; margin: 0 auto; border-radius: 28px; border: 10px solid var(--ink); }
@media (max-width: 920px) {
  .flow, .flow.flip { grid-template-columns: 1fr; gap: 28px; }
  .flow.flip .flow-text { order: 0; }
  .flow + .flow { margin-top: 24px; }
  .stack-card { padding: 24px; }
}

/* Pesan WhatsApp laporan tutup shift (isi asli dari ShiftReportService). */
.wa {
  background: #E5DDD5; border-radius: var(--radius-lg); padding: 28px 20px;
  display: flex; justify-content: flex-start;
}
.wa-bubble {
  background: #fff; border-radius: 0 12px 12px 12px; padding: 12px 14px 8px;
  max-width: 420px; font-size: 14.5px; line-height: 1.5; color: #111B21;
  box-shadow: 0 1px .5px rgba(11, 20, 26, .13);
  white-space: pre-line;
}
.wa-bubble time { display: block; text-align: right; font-size: 11px; color: #667781; margin-top: 4px; }

/* ── Daftar fitur lengkap (definisi, bukan kartu) ── */
.all { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 72px; }
.group { background: var(--slate); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px 28px 12px; }
.group h3 { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--indigo); background: var(--indigo-soft); padding: 4px 12px; border-radius: 999px; margin-bottom: 8px; }
.group dl { margin: 0; }
.group dt { font-weight: 700; padding-top: 14px; border-top: 1px solid var(--line); margin-top: 14px; }
.group dt:first-child { border-top: 0; margin-top: 0; }
.group dd { margin: 2px 0 0; color: var(--ink-muted); font-size: 16px; }
@media (max-width: 720px) { .all { grid-template-columns: 1fr; } .group { padding: 20px 20px 8px; } }

/* ── Harga ── */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--paper); }
.plan { padding: 28px 24px 32px; border-left: 1px solid var(--line); display: flex; flex-direction: column; }
.plan:first-child { border-left: 0; }
.plan.pick { box-shadow: inset 0 0 0 2px var(--indigo); background: #FCFCFF; }
.plan .tag { align-self: flex-start; font-size: 12px; font-weight: 700; line-height: 19px; height: 25px; color: #fff; background: var(--indigo); padding: 3px 10px; border-radius: 999px; margin-bottom: 12px; }
.plan .tag-space { height: 37px; }
.plan h3 { font-size: 20px; font-weight: 800; }
.plan .for-whom { color: var(--ink-muted); font-size: 15px; margin-top: 6px; min-height: 3.2em; }
.plan .price { margin-top: 20px; font-size: 34px; font-weight: 800; letter-spacing: -0.02em; }
.plan .price small { font-size: 15px; font-weight: 600; color: var(--ink-soft); letter-spacing: 0; }
.plan .per-day { font-size: 14px; font-weight: 600; color: var(--success); }
.plan .per-day.neutral { font-weight: 400; color: var(--ink-soft); }
.plan .caps { display: grid; grid-template-columns: repeat(3, 1fr); margin: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.plan .caps div { padding: 10px 0; text-align: center; }
.plan .caps div + div { border-left: 1px solid var(--line); }
.plan .caps b { display: block; font-size: 20px; font-weight: 800; }
.plan .caps span { font-size: 12.5px; color: var(--ink-soft); }
.plan ul { margin: 0; padding: 0; list-style: none; font-size: 15px; }
.plan li { padding: 5px 0 5px 22px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 9px; height: 5px; border-left: 2px solid var(--success); border-bottom: 2px solid var(--success); transform: rotate(-45deg); }
.plan .inherit { align-self: flex-start; font-size: 13px; font-weight: 700; color: var(--indigo); background: var(--indigo-soft); padding: 3px 10px; border-radius: 999px; margin-bottom: 8px; }
.plans-note { margin-top: 16px; color: var(--ink-soft); font-size: 14px; }
.plan-extras { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.extra { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px 24px; }
.extra h3 { font-size: 17px; font-weight: 800; }
.extra p { margin-top: 4px; color: var(--ink-muted); font-size: 15px; }
.periods, .ref-gain { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 10px; }
.periods li, .ref-gain li { border-radius: var(--radius-md); padding: 10px 12px; }
.periods li { background: var(--success-soft); }
.periods b, .ref-gain b { display: block; font-size: 16px; font-weight: 800; color: var(--ink); }
.periods span { font-size: 14px; font-weight: 700; color: var(--success); }
.extra-ref { background: var(--amber-soft); border-color: #FDE68A; }
.extra-ref p { color: #92400E; }
.ref-gain { margin-top: 10px; }
.ref-gain li { background: var(--paper); }
.ref-gain b { color: #92400E; font-size: 20px; }
.ref-gain span { font-size: 13.5px; color: var(--ink-muted); }
@media (max-width: 720px) { .plan-extras { grid-template-columns: 1fr; } }
@media (max-width: 480px) {
  .extra { padding: 16px; }
  .periods, .ref-gain { gap: 8px; }
  .periods li, .ref-gain li { padding: 8px 10px; }
  .periods b { font-size: 15px; white-space: nowrap; }
  .periods span { font-size: 13px; white-space: nowrap; }
  .ref-gain span { line-height: 1.35; display: block; }
}
@media (max-width: 1040px) {
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan:nth-child(3) { border-left: 0; }
  .plan:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .plans { grid-template-columns: 1fr; }
  .plan { border-left: 0; }
  .plan + .plan { border-top: 1px solid var(--line); }
  .plan .tag-space, .plan .for-whom { min-height: 0; height: auto; }
}

/* ── Langkah mulai (urutan nyata → bernomor) ── */
/* Tiga kartu langkah dengan garis putus-putus penghubung antar nomor (layar lebar). */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: s; }
.steps li { counter-increment: s; position: relative; display: flex; flex-direction: column; background: var(--slate); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; font-size: 18px; font-weight: 800; color: #fff; background: var(--indigo); margin-bottom: 20px; position: relative; z-index: 1; }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 49px; left: 84px; right: -25px; border-top: 2px dashed var(--line-strong); }
.steps h3 { font-size: 20px; font-weight: 800; }
.steps p { margin-top: 8px; color: var(--ink-muted); font-size: 16px; flex: 1; }
.step-meta { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 15px; font-weight: 600; }
.step-meta.link { color: var(--indigo); text-decoration: none; }
.step-meta.link::after { content: " \2192"; }
.step-meta.link:hover { text-decoration: underline; }
.step-meta.muted { color: var(--ink-soft); }
.step-meta .pill { margin: 0; }
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: 16px; }
  .steps li { padding: 22px; }
  .steps li:not(:last-child)::after { display: none; }
}

/* ── FAQ ── */
/* Dua kolom terpisah (bukan grid baris): membuka satu jawaban tidak menggeser kolom sebelahnya. */
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; align-items: start; }
.faq > div { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
@media (max-width: 760px) {
  .faq { grid-template-columns: 1fr; }
  .faq > div + div { border-top: 0; }
}
.faq summary { cursor: pointer; list-style: none; padding: 20px 36px 20px 0; font-weight: 700; font-size: 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 24px; font-weight: 400; color: var(--ink-soft); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 22px; color: var(--ink-muted); max-width: 40em; }

/* ── Penutup ── */
.closing { background: var(--ink); color: #fff; padding: 72px 0; }
.closing .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.closing h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 800; max-width: 18em; }
.closing p { color: #CBD5E1; margin-top: 8px; }

/* ── Footer ── */
.site-footer { padding: 40px 0 48px; font-size: 15px; color: var(--ink-muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: center; }
.site-footer img { height: 18px; width: auto; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }
.site-footer .copy { margin-left: auto; color: var(--ink-soft); }
@media (max-width: 720px) { .site-footer .copy { margin-left: 0; width: 100%; } }

/* ── Halaman dokumen (download, privasi, syarat) ── */
.page { padding: 56px 0 88px; }
.page .wrap { max-width: 820px; }
.page h1 { font-size: clamp(32px, 4.4vw, 46px); font-weight: 800; }
.page .intro { margin-top: 14px; font-size: 19px; color: var(--ink-muted); }
.doc h1 { font-size: clamp(30px, 4vw, 40px); }
.doc h2 { font-size: 22px; font-weight: 800; margin: 44px 0 12px; }
.doc h3 { font-size: 18px; font-weight: 700; margin: 28px 0 8px; }
.doc p, .doc li { color: #1E293B; }
.doc p + p { margin-top: 12px; }
.doc ul, .doc ol { padding-left: 22px; margin: 10px 0; }
.doc li + li { margin-top: 6px; }
.doc hr { border: 0; border-top: 1px solid var(--line); margin: 36px 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.doc th { background: var(--sunken); font-weight: 700; }
.doc .table-scroll { overflow-x: auto; }
.doc-meta { color: var(--ink-soft); font-size: 15px; margin-top: 10px; }

.get { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; margin-top: 36px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--slate); }
.get .ver { font-size: 15px; color: var(--ink-muted); }
.get .ver b { color: var(--ink); }
.apk-id { grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; margin: 0; font-size: 13px; color: var(--ink-muted); }
.apk-id:empty { display: none; }
.apk-id dd { margin: 0; font-family: ui-monospace, monospace; overflow-wrap: anywhere; color: var(--ink); }
@media (max-width: 600px) { .get { grid-template-columns: 1fr; } .get .btn { width: 100%; } }
.install { list-style: none; padding: 0; margin: 32px 0 0; counter-reset: i; }
.install li { counter-increment: i; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 4px 12px; padding: 18px 0; border-top: 1px solid var(--line); }
.install li::before { content: counter(i); font-weight: 800; color: var(--ink-soft); font-size: 18px; }
.install h2 { font-size: 18px; font-weight: 700; margin: 0; }
.install p { grid-column: 2; color: var(--ink-muted); font-size: 16px; }
.note { margin-top: 28px; padding: 16px 18px; background: var(--sunken); border-radius: var(--radius-md); font-size: 15px; color: #1E293B; }

/* ── 404 ── */
.lost { padding: 120px 0; text-align: center; }
.lost h1 { font-size: 40px; font-weight: 800; }
.lost p { margin: 12px 0 28px; color: var(--ink-muted); }

.section-tint { background: var(--slate); }
@media (max-width: 480px) { .hero .lead { font-size: 17px; } .hero .actions .btn { flex: 1 1 100%; } }
.doc h1 + p { margin-top: 12px; color: var(--ink-muted); font-size: 15px; }

/* ── Penanda warna (makna sama dengan app) ── */
.pill { display: inline-block; font-size: 13px; font-weight: 700; line-height: 1.5; padding: 2px 10px; border-radius: 999px; margin-right: 6px; }
.pill-success { color: var(--success); background: var(--success-soft); }

.pill-indigo { color: var(--indigo); background: var(--indigo-soft); }

/* ── Dua perangkat: kasir di tablet, omzet di HP (tangkapan layar asli dalam bingkai perangkat) ── */
.duo { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; background: var(--slate); border: 1px solid var(--line); border-radius: 24px; padding: 56px; overflow: hidden; }
.duo-text h2 { margin-top: 16px; font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; }
.duo-text > p { margin-top: 14px; color: var(--ink-muted); font-size: 18px; }
.duo-points { list-style: none; margin: 24px 0 28px; padding: 0; display: grid; gap: 14px; }
.duo-points li { position: relative; padding-left: 26px; }
.duo-points li::before { content: ""; position: absolute; left: 0; top: 7px; width: 12px; height: 12px; border-radius: 4px; background: var(--indigo); }
.duo-points b { display: block; font-weight: 700; }
.duo-points span { color: var(--ink-muted); font-size: 15.5px; }
.duo-visual { position: relative; padding: 0 64px 48px 0; }
.device { background: var(--ink); box-shadow: 0 24px 48px rgb(15 23 42 / 18%); }
.device img { display: block; width: 100%; height: auto; }
.device-tablet { border-radius: 22px; padding: 12px; }
.device-tablet img { border-radius: 12px; }
.device-phone { position: absolute; right: 0; bottom: 0; width: 38%; border-radius: 30px; padding: 7px; }
.device-phone img { border-radius: 24px; aspect-ratio: 9 / 17; object-fit: cover; object-position: top; }
@media (max-width: 920px) {
  .duo { grid-template-columns: 1fr; padding: 32px 24px; gap: 40px; }
}
@media (max-width: 480px) {
  .duo-visual { padding: 0 36px 40px 0; }
  .device-tablet { border-radius: 14px; padding: 6px; }
  .device-tablet img { border-radius: 9px; }
  .device-phone { width: 42%; border-radius: 20px; padding: 4px; }
  .device-phone img { border-radius: 16px; }
  .duo .btn { width: 100%; }
}
