/* 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;
  --paper: #FFFFFF;
  --slate: #F8FAFC;
  --sunken: #F1F5F9;
  --line: #E2E8F0;
  --line-strong: #7C8BA1;
  --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;
  --hdr: 65px; /* tinggi header (dipakai hero agar pas satu layar) */
}

*, *::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: putih tembus pandang + blur, menu sebagai grup pil di tengah; di HP menu pindah ke baris kedua
   (tanpa JavaScript, tidak perlu tombol buka-tutup). ── */
.site-header { position: sticky; top: 0; z-index: 5; background: rgb(255 255 255 / 86%); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 16px 24px; min-height: 64px; }
.brand { display: inline-flex; text-decoration: none; }
.brand img { height: 28px; width: auto; }
.nav { display: flex; gap: 2px; margin: 0 auto; padding: 4px; background: var(--sunken); border-radius: 999px; }
.nav a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 16px; border-radius: 999px; text-decoration: none; color: var(--ink-muted); font-weight: 600; font-size: 15px; white-space: nowrap; }
.nav a:hover { background: var(--paper); color: var(--ink); }
.nav a[aria-current="page"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 2px rgb(15 23 42 / 8%); }
.site-header .btn { flex: none; }
/* Tablet: satu baris dengan menu tepat di tengah (grid 1fr auto 1fr), sasaran sentuh 44 px; bayangan tipis saat
   digulir sama dengan HP (lihat di bawah). */
@media (min-width: 721px) and (max-width: 1080px) {
  :root { --hdr: 69px; }
  .site-header .wrap { display: grid; grid-template-columns: 1fr auto 1fr; min-height: 68px; gap: 16px; }
  .brand { justify-self: start; }
  .nav { margin: 0; padding: 4px; border-radius: 14px; }
  .nav a { min-height: 40px; padding: 0 20px; font-size: 15.5px; border-radius: 10px; }
  .site-header .btn { justify-self: end; min-height: 44px; padding: 0 18px; border-radius: 12px; }
}
/* HP: baris 1 = logo + tombol kecil; baris 2 = menu sebagai kontrol bersegmen selebar layar (sama dengan tab legal).
   Bayangan tipis muncul begitu halaman digulir. --hdr harus sama dengan tinggi header ini (dipakai hero & daftar isi
   legal). */
@media (max-width: 720px) {
  :root { --hdr: 89px; }
  .site-header .wrap { flex-wrap: wrap; min-height: 0; padding-top: 6px; padding-bottom: 6px; row-gap: 6px; }
  .brand img { height: 24px; }
  .site-header .btn { margin-left: auto; min-height: 34px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
  .nav { order: 3; width: 100%; margin: 0; padding: 3px; gap: 2px; border-radius: 12px; }
  .nav a { flex: 1; justify-content: center; min-height: 30px; padding: 0 8px; font-size: 14px; border-radius: 9px; }
  .nav a:hover { background: none; color: var(--ink); }
  .nav a[aria-current="page"] { background: var(--paper); color: var(--ink); }
}
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: scroll()) {
    .site-header { animation: hdr-lift linear both; animation-timeline: scroll(root); animation-range: 0 48px; }
    @keyframes hdr-lift { to { background: rgb(255 255 255 / 94%); box-shadow: 0 8px 20px -14px rgb(15 23 42 / 45%); } }
  }
}
/* Tablet landscape: menu pindah ke samping logo sebagai tautan teks (tanpa lintasan pil); bagian aktif ditandai
   garis indigo di bawah, selaras dengan header setinggi 69 px. Tombol Download tetap di kanan. */
@media (min-width: 921px) and (max-width: 1080px) {
  .site-header .wrap { grid-template-columns: auto 1fr auto; gap: 8px; }
  .nav { justify-self: start; margin-left: 28px; padding: 0; gap: 4px; background: none; border-radius: 0; }
  .nav a { position: relative; min-height: 68px; padding: 0 14px; border-radius: 0; color: var(--ink-muted); }
  .nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 2px; border-radius: 2px; background: transparent; }
  .nav a:hover { background: none; color: var(--ink); }
  .nav a:hover::after { background: var(--line-strong); }
  .nav a[aria-current="page"] { background: none; box-shadow: none; color: var(--indigo); }
  .nav a[aria-current="page"]::after { background: var(--indigo); }
}
/* Desktop: sama dengan tablet landscape — menu sebagai tautan teks di samping logo, garis indigo di tepi bawah header
   untuk bagian aktif; tombol Download di ujung kanan. Tinggi header tetap 65 px (--hdr). */
@media (min-width: 1081px) {
  .nav { margin: 0 auto 0 32px; padding: 0; gap: 6px; background: none; border-radius: 0; }
  .nav a { position: relative; min-height: 64px; padding: 0 14px; border-radius: 0; color: var(--ink-muted); }
  .nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 2px; border-radius: 2px; background: transparent; }
  .nav a:hover { background: none; color: var(--ink); }
  .nav a:hover::after { background: var(--line-strong); }
  .nav a[aria-current="page"] { background: none; box-shadow: none; color: var(--indigo); }
  .nav a[aria-current="page"]::after { background: var(--indigo); }
}
/* Menu menandai bagian yang sedang dibaca, tanpa JavaScript, dengan cara yang sama di Chrome, Firefox & Safari: tiap
   section punya view-timeline yang dipersempit jadi satu garis baca di 35% tinggi layar, dan animasi tautan menu (tanpa
   fill) hanya berlaku selama garis itu ada di dalam section-nya. Section tanpa menu (dua perangkat, langkah mulai,
   penutup) ikut menu sebelumnya; selama hero tidak ada menu yang tertanda. */
.nav { --nav-on-bg: var(--paper); --nav-on-color: var(--ink); --nav-on-shadow-size: 0 1px 2px; }
@media (min-width: 921px) { .nav { --nav-on-bg: transparent; --nav-on-color: var(--indigo); --nav-on-shadow-size: 0 0 0; } }
/* Perpindahan terasa halus & sama di semua peramban: di sekitar batas dua section (pita 120 px) penanda --on naik atau
   turun mengikuti gulir, jadi warna menu lama memudar & garisnya menyusut sementara garis menu baru tumbuh dari tengah.
   (Transition berbasis waktu tidak dipakai: Firefox tidak menjalankannya untuk perubahan dari scroll-driven animation.) */
@property --on { syntax: "<number>"; inherits: true; initial-value: 0; }
@keyframes nav-in { from { --on: 0; } to { --on: 1; } }
@keyframes nav-out { from { --on: 1; } to { --on: 0; } }
@supports (animation-timeline: view()) and (timeline-scope: --a) {
  /* Satu deklarasi untuk semua halaman (menu, daftar isi legal): timeline-scope tidak bisa ditumpuk. */
  body { timeline-scope: --sec-fitur, --sec-perangkat, --sec-harga, --sec-mulai, --sec-tanya, --sec-closing, --legal-end, --part-1, --part-2, --part-3, --part-4, --part-5, --part-6, --part-7, --part-8, --part-9, --part-10, --part-11, --part-12, --part-13, --part-14, --part-15, --part-16, --part-17, --part-18, --part-19, --part-20, --part-21, --part-22, --part-23, --part-24; }
  #fitur, #perangkat, #harga-section, #mulai, #tanya, .closing { view-timeline-inset: calc(35% - 60px) calc(65% - 60px); }
  #fitur { view-timeline-name: --sec-fitur; }
  #perangkat { view-timeline-name: --sec-perangkat; }
  #harga-section { view-timeline-name: --sec-harga; }
  #mulai { view-timeline-name: --sec-mulai; }
  #tanya { view-timeline-name: --sec-tanya; }
  .closing { view-timeline-name: --sec-closing; }
  .nav a[href="#fitur"], .nav a[href="#harga"], .nav a[href="#tanya"] {
    animation: nav-in linear forwards, nav-out linear forwards;
    animation-range: cover 0px cover 120px, cover calc(100% - 120px) cover 100%;
    color: color-mix(in srgb, var(--nav-on-color) calc(var(--on) * 100%), var(--nav-off-color, var(--ink-muted)));
    background: color-mix(in srgb, var(--nav-on-bg) calc(var(--on) * 100%), var(--nav-off-bg, transparent));
    box-shadow: var(--nav-on-shadow-size) rgb(15 23 42 / calc(var(--on) * 10%));
  }
  .nav a[href="#fitur"] { animation-timeline: --sec-fitur, --sec-perangkat; }
  .nav a[href="#harga"] { animation-timeline: --sec-harga, --sec-mulai; }
  .nav a[href="#tanya"] { animation-timeline: --sec-tanya, --sec-closing; }
  .nav a[href^="#"]:hover { --nav-off-color: var(--ink); }
  @media (min-width: 721px) and (max-width: 920px) { .nav a[href^="#"]:hover { --nav-off-bg: var(--paper); } }
  @media (min-width: 921px) {
    .nav a[href="#fitur"]::after, .nav a[href="#harga"]::after, .nav a[href="#tanya"]::after {
      background: color-mix(in srgb, var(--indigo) calc(var(--on) * 100%), var(--nav-off-bar, transparent));
      transform: scaleX(max(var(--on), var(--nav-bar-min, 0)));
    }
    .nav a[href^="#"]:hover { --nav-off-bar: var(--line-strong); --nav-bar-min: 1; }
  }
}

/* ── Hero ── */
.hero { padding: 64px 0 72px; background: var(--slate); border-bottom: 1px solid var(--line); overflow: hidden;
  /* Selalu setinggi satu layar (dikurangi header), isi di tengah vertikal. svh = tinggi layar HP tanpa bilah browser. */
  display: flex; align-items: center; min-height: calc(100vh - var(--hdr)); min-height: calc(100svh - var(--hdr)); }
.hero > .wrap { width: 100%; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(36px, 5.2vw, 60px); font-weight: 800; }
.hero .lead { margin-top: 20px; font-size: 19px; color: var(--ink-muted); max-width: 30em; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero .fine { margin-top: 16px; font-size: 14px; color: var(--ink-muted); }

.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) 1s both;
}
.receipt pre { margin: 0; font: inherit; white-space: pre; }
.receipt .b { font-weight: 700; }
.receipt .c { text-align: center; display: block; }
/* Animasi pembuka hero: judul, paragraf, tombol, lalu tablet muncul berurutan, terakhir struk "tercetak". */
@keyframes print {
  from { transform: translateY(-28px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
@keyframes rise {
  from { transform: translateY(16px); opacity: 0; }
  to { transform: none; opacity: 1; }
}
@keyframes rise-device {
  from { transform: translateY(32px) scale(.97); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.hero h1 { animation: rise .7s cubic-bezier(.2, .7, .2, 1) .05s both; }
.hero .lead { animation: rise .7s cubic-bezier(.2, .7, .2, 1) .18s both; }
.hero .actions { animation: rise .7s cubic-bezier(.2, .7, .2, 1) .3s both; }
.hero .fine { animation: rise .7s cubic-bezier(.2, .7, .2, 1) .42s both; }
.hero .stage .device { animation: rise-device .9s cubic-bezier(.2, .7, .2, 1) .35s both; }
@media (prefers-reduced-motion: reduce) {
  .receipt, .hero h1, .hero .lead, .hero .actions, .hero .fine, .hero .stage .device { animation: none; }
}

@media (max-width: 920px) {
  .hero { padding: 32px 0 40px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 32px; }
  .stage { width: min(100%, 560px); margin: 0 auto; padding-bottom: 56px; }
  .hero .receipt { right: -8px; font-size: 9px; }
}
/* Tablet portrait: teks besar di atas, tablet + struk di bawah menempel ke dasar hero. Lebar gambar dibatasi oleh
   tinggi layar (sisa setelah header & teks, --hero-text) supaya hero tetap pas satu layar. */
@media (min-width: 481px) and (max-width: 920px) {
  .hero { --hero-text: 540px; padding: 40px 0 36px; align-items: stretch; }
  .hero .wrap { grid-template-rows: auto 1fr; gap: 36px; }
  .hero h1 { font-size: clamp(38px, 6.4vw, 56px); line-height: 1.08; max-width: 13em; }
  .hero .lead { margin-top: 18px; font-size: 18.5px; max-width: 34em; }
  .hero .actions { margin-top: 28px; gap: 12px; }
  .hero .actions .btn { min-height: 52px; padding: 0 26px; font-size: 16.5px; }
  .hero .fine { margin-top: 16px; font-size: 15px; }
  .stage { align-self: end; width: min(100%, 760px, (100svh - var(--hdr) - var(--hero-text)) * 1.45); margin: 0 auto; padding-bottom: 60px; }
  .hero .receipt { right: -6px; font-size: clamp(8.5px, 1.35vw, 11px); padding: 14px 14px 22px; }
}
@media (min-width: 481px) and (max-width: 720px) {
  .hero { --hero-text: 520px; padding-top: 28px; }
  .hero .wrap { gap: 28px; }
  .hero .lead { font-size: 17px; }
}
/* Tablet landscape: kolom teks & gambar sama lebar supaya judul tidak terpecah empat baris; tombol lebih tinggi. */
@media (min-width: 921px) and (max-width: 1080px) {
  .hero .wrap { grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 72px; }
  .hero h1 { font-size: clamp(38px, 4.3vw, 46px); line-height: 1.08; }
  .hero .lead { font-size: 17px; }
  .hero .actions .btn { min-height: 50px; padding: 0 24px; }
  /* Gambar tablet lebih besar dan "keluar" dari tepi kanan layar; struk pindah ke kiri bawah supaya tidak menutupi
     layar kasir. */
  .hero .wrap > .stage { max-width: none; width: auto; justify-self: stretch; margin-right: calc(-1 * var(--gutter) - 140px); padding-bottom: 130px; }
  .hero .stage .device { width: min(680px, calc((100svh - var(--hdr) - 220px) * 1.6), calc(100% - 40px)); }
  .hero .stage .receipt { left: -12px; right: auto; bottom: 0; font-size: 9px; padding: 12px 12px 20px; }
  .hero h1 { font-size: clamp(38px, 4.1vw, 44px); text-wrap: balance; }
  .hero .fine { max-width: 26em; }
}
/* Desktop: sama dengan tablet landscape — gambar tablet lebih besar dan "keluar" dari tepi kanan layar, struk pindah
   ke kiri bawah gambar supaya tidak menutupi layar kasir. Lebar gambar dibatasi tinggi layar agar hero tetap satu
   layar. */
@media (min-width: 1081px) {
  section.hero .wrap { grid-template-columns: minmax(0, 500px) minmax(0, 1fr); gap: 88px; }
  .hero .wrap > .stage { max-width: none; width: auto; justify-self: stretch; margin-right: calc(-1 * max(var(--gutter), (100vw - 1160px) / 2) - 120px); padding-bottom: 130px; }
  .hero .stage .device { width: min(900px, calc((100svh - var(--hdr) - 310px) * 1.6)); }
  .hero h1 { text-wrap: balance; }
  .hero .stage .receipt { left: -44px; right: auto; bottom: 0; font-size: 10.5px; padding: 14px 14px 22px; }
  .hero .actions .btn { min-height: 52px; padding: 0 26px; }
}
/* HP: hero muat satu layar — teks lebih rapat, tablet saja (tanpa struk) di bawah tombol. */
@media (max-width: 480px) {
  .hero { padding: 14px 0 14px; }
  .hero .wrap { gap: 16px; }
  .hero h1 { font-size: 28px; }
  .hero .lead { margin-top: 12px; font-size: 16px; }
  .hero .actions { margin-top: 20px; gap: 10px; }
  .hero .fine { margin-top: 12px; font-size: 13px; }
  .hero .receipt { display: none; }
  .stage { padding-bottom: 0; }
  .hero .device { padding: 6px; border-radius: 14px; }
  .hero .device img { border-radius: 9px; }
}

/* HP (lanjutan): teks di atas, lalu tablet yang lebih besar "keluar" dari tepi kanan & dasar layar, dengan struk kecil
   menumpang di kiri bawahnya (sama dengan desktop). Gambar diposisikan absolut di area sisa, jadi hero tetap pas satu
   layar berapa pun tinggi HP-nya. "Lihat harga" jadi tautan teks agar tombol utama tunggal. */
@media (max-width: 480px) {
  .hero { padding: 18px 0 0; align-items: stretch; }
  .hero .wrap { grid-template-rows: auto minmax(150px, 1fr); gap: 22px; }
  .hero h1 { font-size: 29px; line-height: 1.12; }
  .hero .lead { margin-top: 10px; font-size: 15.5px; line-height: 1.55; }
  .hero .actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; margin-top: 18px; }
  .hero .actions .btn-primary { min-height: 52px; font-size: 16.5px; }
  .hero .actions .btn-quiet { min-height: 36px; background: none; border: 0; color: var(--indigo); text-decoration: underline; text-underline-offset: 3px; }
  .hero .fine { margin-top: 8px; }
  .hero .wrap > .stage { position: relative; align-self: stretch; width: auto; margin: 0; padding: 0; overflow: visible; }
  .hero .stage .device { position: absolute; top: 0; left: 28px; width: calc(100% + var(--gutter) + 60px); padding: 7px; border-radius: 16px; }
  .hero .stage .device img { border-radius: 10px; }
  .hero .stage .receipt { display: block; left: -4px; right: auto; top: 46px; bottom: auto; font-size: 7.4px; padding: 9px 9px 14px; z-index: 1; }
}
/* Tablet portrait (481–920): pola sama dengan HP & desktop — teks di atas, tablet besar "keluar" dari tepi kanan &
   dasar layar, struk menumpang di kiri bawahnya (tidak menutupi layar kasir). Gambar diposisikan absolut di area sisa
   sehingga hero tetap pas satu layar. */
@media (min-width: 481px) and (max-width: 920px) {
  .hero { padding-bottom: 0; }
  .hero .wrap { grid-template-rows: auto minmax(240px, 1fr); }
  .hero .wrap > .stage { position: relative; align-self: stretch; justify-self: stretch; width: auto; max-width: none; margin: 0; padding: 0; }
  .hero .stage .device { position: absolute; top: 0; left: 64px; width: calc(100% + var(--gutter) + 120px); }
  .hero h1 { font-size: clamp(40px, 7.4vw, 64px); }
  .hero .wrap { gap: 40px; }
  .hero .stage .receipt { left: 0; right: auto; top: 64px; bottom: auto; z-index: 1; font-size: clamp(8.5px, 1.3vw, 11px); padding: 14px 14px 22px; }
}
/* Laptop layar pendek (tinggi area tampilan < 800 px): hero dirapatkan & gambar diperkecil supaya muat satu layar. */
@media (min-width: 921px) and (max-height: 799px) {
  .hero { padding: 28px 0 32px; }
  .hero .wrap { gap: 40px; }
  .hero h1 { font-size: clamp(34px, 4.2vw, 48px); }
  .hero .lead { margin-top: 14px; font-size: 17px; }
  .hero .actions { margin-top: 22px; }
  .hero .fine { margin-top: 12px; }
  .hero .stage { padding-bottom: 64px; max-width: 600px; justify-self: end; width: 100%; }
  .hero .receipt { font-size: 10px; padding: 12px 12px 20px; }
}
@media (min-width: 921px) and (max-height: 679px) {
  .hero .stage { max-width: 520px; padding-bottom: 48px; }
  .hero .receipt { font-size: 9px; }
  .hero h1 { font-size: clamp(32px, 3.8vw, 44px); }
}

/* ── Jenis usaha ── */
/* Jenis usaha: 5 kelompok sesuai pilihan saat daftar (BusinessGroup/BusinessSector di backend). */
.for { padding: 56px 0; border-bottom: 1px solid var(--line); }
.for-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 40px; }
.for-head h2 { font-size: clamp(24px, 3vw, 30px); font-weight: 800; }
.for-head p { color: var(--ink-muted); font-size: 16px; max-width: 36em; }
.for-head b { color: var(--ink); }
.biz { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.biz-group { padding: 18px; background: var(--c-soft); border: 1px solid var(--c-line); border-top: 4px solid var(--c-bar); border-radius: var(--radius-md); }
.biz-group h3 { font-size: 15px; font-weight: 800; color: var(--c); }
.biz-group ul { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.biz-group li { white-space: nowrap; font-size: 13px; color: var(--ink); background: var(--paper); border: 1px solid var(--c-line); border-radius: 999px; padding: 3px 10px; }
@media (max-width: 1040px) { .biz { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* HP: lima kartu kelompok digeser menyamping (±74% layar, berhenti per kartu), chip di dalamnya membungkus; tinggi
   kartu sama. Sama dengan pola geser di section lain. */
.biz-hint { display: none; }
@media (max-width: 640px) {
  .for { padding: 40px 0; }
  .for-head p { font-size: 15px; }
  .biz { display: flex; gap: 10px; margin: 20px calc(-1 * var(--gutter)) 0; padding: 0 var(--gutter) 4px; overflow-x: auto;
         scroll-snap-type: x mandatory; scroll-padding-left: var(--gutter); scrollbar-width: none; overscroll-behavior-x: contain; }
  .biz::-webkit-scrollbar { display: none; }
  .biz-group { flex: 0 0 74%; scroll-snap-align: start; padding: 16px; }
  .biz-group ul { margin-top: 12px; }
  .biz-hint { display: block; margin-top: 10px; text-align: center; font-size: 13px; color: var(--ink-muted); }
  .biz-hint::after { content: " \2192"; }
}

/* HP (≤520): tidak lagi digeser — lima kelompok bertumpuk dalam satu kartu putih, dipisah garis tipis; tiap kelompok
   diberi garis warna di kiri, lalu pil jenis usaha yang membungkus. Semua jenis usaha terlihat tanpa menggeser. */
@media (max-width: 520px) {
  .biz { display: block; margin: 20px 0 0; padding: 0; overflow: visible; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); }
  .biz-group { position: relative; padding: 14px 16px 14px 20px; background: none; border: 0; border-radius: 0; }
  .biz-group + .biz-group { border-top: 1px solid var(--line); }
  .biz-group::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 4px; border-radius: 0 3px 3px 0; background: var(--c-bar); }
  .biz-group h3 { font-size: 14.5px; }
  .biz-group ul { margin-top: 8px; gap: 5px; }
  .biz-group li { font-size: 12.5px; padding: 2px 9px; background: var(--c-soft); border-color: var(--c-line); }
  .biz-hint { display: none; }
}

/* Tablet & desktop (≥521): lima kelompok jadi baris dalam satu kartu putih — nama kelompok di kolom kiri (dengan garis
   warna), pil jenis usaha di kanan; tidak digeser dan tidak lagi kotak-kotak yang timpang. */
@media (min-width: 521px) {
  .for-head { align-items: flex-end; }
  .biz { display: block; margin: 24px 0 0; padding: 0; overflow: visible; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); }
  .biz-group { position: relative; display: grid; grid-template-columns: minmax(0, 190px) minmax(0, 1fr); column-gap: 20px; align-items: center; padding: 14px 20px 14px 24px; background: none; border: 0; border-radius: 0; }
  .biz-group + .biz-group { border-top: 1px solid var(--line); }
  .biz-group::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 4px; border-radius: 0 3px 3px 0; background: var(--c-bar); }
  .biz-group h3 { font-size: 15px; }
  .biz-group ul { margin: 0; gap: 6px; }
  .biz-group li { font-size: 13px; background: var(--c-soft); border-color: var(--c-line); }
  .biz-hint { display: none; }
}
@media (min-width: 521px) and (max-width: 640px) {
  .biz-group { grid-template-columns: minmax(0, 1fr); row-gap: 8px; }
}
@media (min-width: 1081px) {
  .for { padding: 64px 0; }
  .biz { margin-top: 28px; }
  .biz-group { grid-template-columns: minmax(0, 220px) minmax(0, 1fr); padding: 15px 24px 15px 28px; }
  .biz-group h3 { font-size: 15.5px; }
  .biz-group li { font-size: 13.5px; padding: 4px 12px; }
}

/* ── 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; }
/* Desktop: judul section di kiri, keterangannya di kanan sejajar dasar judul (pola yang sama di semua section: fitur,
   dua perangkat, harga, langkah mulai). Label pil (bila ada) tetap di atas judul. */
@media (min-width: 1081px) {
  .section > .wrap > .section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 25em); column-gap: 64px; align-items: end; max-width: none; margin-bottom: 40px; }
  .section > .wrap > .section-head > .pill { grid-column: 1; justify-self: start; margin-bottom: 14px; }
  .section > .wrap > .section-head h2 { grid-column: 1; max-width: 16em; text-wrap: balance; }
  .section > .wrap > .section-head p { grid-column: 2; grid-row: 1 / span 2; align-self: end; margin: 0 0 6px; font-size: 17px; text-wrap: pretty; }
}
@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: 600px) {
  /* 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: 40vh; } /* 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); } }
/* Laptop dengan layar pendek (mis. 1366×768 → ±650 px setelah bilah browser): kartu lebih rapat & menempel lebih tinggi
   supaya tetap muat utuh di bawah header. */
@media (min-width: 921px) and (min-height: 600px) and (max-height: 799px) {
  .stack-card { padding: 28px; top: 80px; min-height: calc(100vh - 120px); }
  .stack-card:nth-child(2) { top: 96px; }
  .stack-card:nth-child(3) { top: 112px; }
  .stack-card .flow, .stack-card.flow { gap: 40px; }
  .stack-card .flow h3, .stack-card h3 { font-size: 23px; }
  .stack-card ul { gap: 6px; margin-top: 16px; }
}
.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-tag { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--indigo); }
.flow-tag span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--indigo); color: #fff; font-size: 13px; letter-spacing: 0; }
.flow ul { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.flow li { position: relative; padding-left: 30px; font-size: 16px; color: var(--ink-muted); }
.flow li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 999px; background: var(--success-soft); }
.flow li::after { content: ""; position: absolute; left: 6px; top: 8px; width: 8px; height: 4px; border-left: 2px solid var(--success); border-bottom: 2px solid var(--success); transform: rotate(-45deg); }
.flow li strong { color: var(--ink); }
.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; }
}

/* Desktop: kartu dibelah dua — teks di sisi putih, gambar di sisi berwarna lembut (indigo / hijau / oranye sesuai
   urutan kartu) yang mengisi sampai tepi kartu; gambar diberi bayangan supaya "mengambang" di panelnya. */
@media (min-width: 1081px) {
  .stack-card.flow { --split: 41.667%; --tint: var(--indigo-soft); padding: 0; gap: 0; align-items: stretch; overflow: hidden;
    background: linear-gradient(90deg, var(--paper) var(--split), var(--tint) var(--split)); }
  .stack-card.flow.flip { --split: 58.333%; background: linear-gradient(90deg, var(--tint) var(--split), var(--paper) var(--split)); }
  .stack-card:nth-child(2) { --tint: #ECFDF5; }
  .stack-card:nth-child(3) { --tint: #FFF4EC; }
  .stack-card .flow-text { align-self: center; padding: 44px 48px; }
  .stack-card .shot, .stack-card .wa { align-self: center; margin: 44px 48px; box-shadow: 0 24px 48px -24px rgb(15 23 42 / 35%); }
  .stack-card .shot { border-color: rgb(15 23 42 / 8%); }
  .stack-card h3 { font-size: 28px; line-height: 1.2; }
}
@media (min-width: 1081px) and (max-height: 799px) {
  .stack-card .flow-text { padding: 28px 36px; }
  .stack-card .shot, .stack-card .wa { margin: 28px 36px; }
  .stack-card .wa { padding: 18px 16px; }
  .stack-card .wa-bubble { font-size: 13px; line-height: 1.45; }
  .stack-card h3 { font-size: 24px; }
}
/* Tablet landscape: kartu bertumpuk lebih ringkas (tinggi mengikuti isi, bukan hampir setinggi layar) dan menempel
   tepat di bawah header tablet; kolom teks sedikit lebih lebar supaya poin tidak terpecah banyak baris. */
@media (min-width: 921px) and (max-width: 1080px) and (min-height: 600px) {
  .stack-card { min-height: 540px; height: auto; padding: 32px 36px; align-content: center; }
  .stack-card.flow { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 36px; }
  .stack-card.flow.flip { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
  .stack-card { top: calc(var(--hdr) + 20px); }
  .stack-card:nth-child(2) { top: calc(var(--hdr) + 36px); }
  .stack-card:nth-child(3) { top: calc(var(--hdr) + 52px); }
  .stack-card + .stack-card { margin-top: 40vh; }
  .stack::after { height: 30vh; }
  .stack-card h3 { font-size: 24px; line-height: 1.2; }
  .stack-card .flow-text > p:not(.flow-tag) { font-size: 16px; }
  .stack-card ul { gap: 8px; margin-top: 16px; }
  .stack-card li { font-size: 15px; }
  .stack-card .wa { padding: 18px 16px; }
  .stack-card .wa-bubble { font-size: 12.5px; line-height: 1.45; }
}
/* Tablet portrait: kartu fitur dipadatkan — label, judul, dan paragraf selebar kartu; di bawahnya daftar poin (kiri)
   berdampingan dengan gambar (kanan). Kartu jadi ±setengah tinggi layar, sehingga bisa bertumpuk (sticky) seperti
   desktop bila layarnya cukup tinggi. */
@media (min-width: 601px) and (max-width: 920px) {
  .stack-card.flow, .stack-card.flow.flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); column-gap: 28px; row-gap: 0; align-items: center; padding: 28px; }
  .stack-card .flow-text { display: contents; }
  .stack-card .flow-tag, .stack-card h3, .stack-card .flow-text > p:not(.flow-tag) { grid-column: 1 / -1; }
  .stack-card .flow-tag { margin-bottom: 12px; }
  .stack-card h3 { font-size: 24px; line-height: 1.2; }
  .stack-card .flow-text > p:not(.flow-tag) { margin-top: 8px; font-size: 16px; max-width: 44em; }
  .stack-card ul { grid-column: 1; grid-row: 4; align-self: start; margin-top: 22px; gap: 10px; }
  .stack-card li { font-size: 15px; }
  .stack-card .shot, .stack-card .wa { grid-column: 2; grid-row: 4; margin-top: 22px; }
  .stack-card .wa { padding: 16px 14px; }
  .stack-card .wa-bubble { font-size: 12px; line-height: 1.45; padding: 10px 12px 6px; }
}
@media (min-width: 601px) and (max-width: 920px) and (min-height: 900px) {
  .stack::after { content: ""; display: block; height: 30vh; }
  .stack-card { min-height: 600px; align-content: center; position: sticky; top: calc(var(--hdr) + 20px); 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: calc(var(--hdr) + 40px); }
  .stack-card:nth-child(3) { top: calc(var(--hdr) + 60px); }
  .stack-card + .stack-card { margin-top: 36vh; }
  @supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {
      .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%; }
    }
  }
}

/* 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) ── */
/* Fitur lainnya: ubin kecil 3 kolom, tiap ubin diberi label kelompoknya (Jualan / Pemilik / Stok / Data). */
.all { margin-top: 72px; }
.all-title { font-size: 22px; font-weight: 800; }
.tiles { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tiles li { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px 18px 22px; background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--c-bar); border-radius: var(--radius-md); }
.tile-tag { align-self: flex-start; font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--c); background: var(--c-soft); padding: 2px 8px; border-radius: 999px; margin-bottom: 6px; }
.all-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.tile-legend { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tile-legend li { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 10px; border-radius: 999px; background: var(--c-soft); color: var(--c); font-size: 14px; font-weight: 700; }
.tile-legend li::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--c-bar); }
.tile-legend b { font-weight: 800; opacity: .7; }
.tiles b { font-weight: 700; }
.tile-desc { color: var(--ink-muted); font-size: 15px; }
@media (max-width: 920px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Tablet portrait lebar: ubin tetap 3 kolom, sedikit lebih rapat. */
@media (min-width: 761px) and (max-width: 920px) {
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .tiles li { padding: 14px 14px 14px 16px; }
  .tile-desc { font-size: 14px; }
}
/* Tablet landscape & desktop (≥921): "Fitur lainnya" disusun per kelompok — empat kolom (Jualan | Pemilik | Stok | Data); legenda jadi kepala
   kolom berwarna sejajar di atasnya, label kelompok di tiap ubin disembunyikan karena sudah diwakili kepala kolom. */
@media (min-width: 921px) {
  .all-head { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 14px; }
  .all-title { grid-column: 1 / -1; }
  .tile-legend { display: contents; }
  .tile-legend li { justify-content: space-between; padding: 10px 14px; border-radius: var(--radius-md); border-top: 3px solid var(--c-bar); font-size: 15px; }
  .tile-legend li::before { display: none; }
  .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-flow: row dense; gap: 10px 14px; margin-top: 10px; }
  .tiles li.t-indigo { grid-column: 1; }
  .tiles li.t-blue { grid-column: 2; }
  .tiles li.t-orange { grid-column: 3; }
  .tiles li.t-green { grid-column: 4; }
  .tiles li { padding: 14px 16px; border-left: 1px solid var(--line); }
  .tiles .tile-tag { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; margin: 0; padding: 0; }
  .tile-desc { font-size: 14px; }
}
/* Tablet (601–1080): kelompok jadi empat kartu dalam susunan 2×2 (Jualan | Pemilik, lalu Stok | Data) — kepala
   berwarna dengan jumlah fitur, lalu baris bergaris tipis: nama fitur di kiri, penjelasan di kanan (portrait: nama di
   atas penjelasan). Urutan ubin di HTML: Jualan 1–5, Pemilik 6–10, Stok 11–13, Data 14–15. */
@media (min-width: 601px) and (max-width: 1080px) {
  .all-head { display: block; }
  .all-head .tile-legend { display: none; }
  .all .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: row dense; gap: 0 20px; margin-top: 20px; }
  .all .tiles li.t-indigo, .all .tiles li.t-orange { grid-column: 1; }
  .all .tiles li.t-blue, .all .tiles li.t-green { grid-column: 2; }
  .all .tiles li { position: relative; display: grid; grid-template-columns: minmax(0, 40%) minmax(0, 1fr); column-gap: 16px; align-items: baseline;
    padding: 12px 16px; border: 1px solid var(--line); border-top: 0; border-radius: 0; }
  .all .tiles .tile-tag { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; margin: 0; padding: 0; }
  .all .tiles b { font-size: 15px; line-height: 1.35; }
  .all .tiles .tile-desc { font-size: 14px; line-height: 1.45; }
  .all .tiles li:nth-child(1), .all .tiles li:nth-child(6), .all .tiles li:nth-child(11), .all .tiles li:nth-child(14) { margin-top: 40px; border-top: 1px solid var(--line); }
  .all .tiles li:nth-child(11), .all .tiles li:nth-child(14) { margin-top: 64px; }
  .all .tiles li:nth-child(5), .all .tiles li:nth-child(10), .all .tiles li:nth-child(13), .all .tiles li:nth-child(15) { border-radius: 0 0 var(--radius-md) var(--radius-md); align-self: start; }
  .all .tiles li:nth-child(1)::before, .all .tiles li:nth-child(6)::before, .all .tiles li:nth-child(11)::before, .all .tiles li:nth-child(14)::before {
    position: absolute; left: -1px; right: -1px; bottom: 100%; display: block; padding: 7px 16px 6px;
    border: 1px solid var(--line); border-bottom: 0; border-top: 3px solid var(--c-bar); border-radius: var(--radius-md) var(--radius-md) 0 0;
    background: var(--c-soft); color: var(--c); font-size: 14px; font-weight: 700; }
  .all .tiles li:nth-child(1)::before { content: "Jualan · 5 fitur"; content: "Jualan · 5 fitur" / ""; }
  .all .tiles li:nth-child(6)::before { content: "Pemilik · 5 fitur"; content: "Pemilik · 5 fitur" / ""; }
  .all .tiles li:nth-child(11)::before { content: "Stok · 3 fitur"; content: "Stok · 3 fitur" / ""; }
  .all .tiles li:nth-child(14)::before { content: "Data · 2 fitur"; content: "Data · 2 fitur" / ""; }
}
/* Desktop: empat kartu kelompok berdampingan (Jualan | Pemilik | Stok | Data) dengan gaya yang sama seperti tablet —
   kepala berwarna & jumlah fitur, fitur sebagai baris bergaris tipis (nama di atas penjelasan). */
@media (min-width: 1081px) {
  .all-head { display: block; }
  .all-head .tile-legend { display: none; }
  .all .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-flow: row dense; gap: 0 16px; margin-top: 20px; }
  .all .tiles li { position: relative; gap: 3px; padding: 13px 16px; border: 1px solid var(--line); border-top: 0; border-radius: 0; }
  .all .tiles .tile-tag { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; margin: 0; padding: 0; }
  .all .tiles b { font-size: 15px; line-height: 1.35; }
  .all .tiles .tile-desc { font-size: 14px; line-height: 1.45; }
  .all .tiles li:nth-child(1), .all .tiles li:nth-child(6), .all .tiles li:nth-child(11), .all .tiles li:nth-child(14) { margin-top: 40px; border-top: 1px solid var(--line); }
  .all .tiles li:nth-child(5), .all .tiles li:nth-child(10), .all .tiles li:nth-child(13), .all .tiles li:nth-child(15) { border-radius: 0 0 var(--radius-md) var(--radius-md); align-self: start; }
  .all .tiles li:nth-child(1)::before, .all .tiles li:nth-child(6)::before, .all .tiles li:nth-child(11)::before, .all .tiles li:nth-child(14)::before {
    position: absolute; left: -1px; right: -1px; bottom: 100%; display: block; padding: 8px 16px 7px;
    border: 1px solid var(--line); border-bottom: 0; border-top: 3px solid var(--c-bar); border-radius: var(--radius-md) var(--radius-md) 0 0;
    background: var(--c-soft); color: var(--c); font-size: 14px; font-weight: 700; }
  .all .tiles li:nth-child(1)::before { content: "Jualan · 5 fitur"; content: "Jualan · 5 fitur" / ""; }
  .all .tiles li:nth-child(6)::before { content: "Pemilik · 5 fitur"; content: "Pemilik · 5 fitur" / ""; }
  .all .tiles li:nth-child(11)::before { content: "Stok · 3 fitur"; content: "Stok · 3 fitur" / ""; }
  .all .tiles li:nth-child(14)::before { content: "Data · 2 fitur"; content: "Data · 2 fitur" / ""; }
}
@media (min-width: 601px) and (max-width: 920px) {
  .all .tiles { gap: 0 14px; }
  .all .tiles li { grid-template-columns: minmax(0, 1fr); row-gap: 2px; padding: 11px 14px; }
}
/* HP: satu kolom, dikelompokkan — tiap kelompok satu kartu: kepala berwarna (Jualan, Pemilik, Stok, Data) lalu
   fitur sebagai baris ringkas bergaris tipis. Legenda di atas & label di tiap ubin disembunyikan (label tetap terbaca
   pembaca layar). Urutan ubin di HTML: Jualan 1–5, Pemilik 6–10, Stok 11–13, Data 14–15. */
@media (max-width: 600px) {
  .all-head .tile-legend { display: none; }
  .all .tiles { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .all .tiles li { position: relative; gap: 2px; padding: 11px 14px; border: 1px solid var(--line); border-top: 0; border-radius: 0; }
  .tiles .tile-tag { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; margin: 0; padding: 0; }
  .all .tiles li:nth-child(1), .all .tiles li:nth-child(6), .all .tiles li:nth-child(11), .all .tiles li:nth-child(14) { margin-top: 48px; border-top: 1px solid var(--line); }
  .all .tiles li:nth-child(1) { margin-top: 36px; }
  .all .tiles li:nth-child(5), .all .tiles li:nth-child(10), .all .tiles li:nth-child(13), .all .tiles li:nth-child(15) { border-radius: 0 0 var(--radius-md) var(--radius-md); }
  .tiles li:nth-child(1)::before, .tiles li:nth-child(6)::before, .tiles li:nth-child(11)::before, .tiles li:nth-child(14)::before {
    position: absolute; left: -1px; right: -1px; bottom: 100%; display: block; padding: 7px 14px 6px;
    border: 1px solid var(--line); border-bottom: 0; border-top: 3px solid var(--c-bar); border-radius: var(--radius-md) var(--radius-md) 0 0;
    background: var(--c-soft); color: var(--c); font-size: 13.5px; font-weight: 700; }
  .tiles li:nth-child(1)::before { content: "Jualan · 5 fitur"; content: "Jualan · 5 fitur" / ""; }
  .tiles li:nth-child(6)::before { content: "Pemilik · 5 fitur"; content: "Pemilik · 5 fitur" / ""; }
  .tiles li:nth-child(11)::before { content: "Stok · 3 fitur"; content: "Stok · 3 fitur" / ""; }
  .tiles li:nth-child(14)::before { content: "Data · 2 fitur"; content: "Data · 2 fitur" / ""; }
}
.stack-hint { display: none; }
/* HP: tiga kartu fitur digeser menyamping (gambar di atas), "Fitur lainnya" jadi ubin ringkas 2 kolom. */
@media (max-width: 600px) {
  .stack { display: flex; align-items: stretch; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--gutter);
           margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 4px; scrollbar-width: none; overscroll-behavior-x: contain; }
  .stack::-webkit-scrollbar { display: none; }
  /* Carousel menempel ke tepi layar: garis fokus digambar ke dalam supaya tidak terpotong. */
  .stack:focus-visible { outline-offset: -3px; }
  .stack-card, .stack-card.flow { flex: 0 0 88%; scroll-snap-align: start; padding: 16px 16px 20px; gap: 18px; align-content: start; }
  .stack-card + .stack-card { margin-top: 0; }
  .stack-card.flow .flow-text { order: 1; }
  .stack-card h3 { font-size: 20px; }
  .stack-card .flow-text > p:not(.flow-tag) { font-size: 15px; margin-top: 8px; }
  .stack-card ul { margin-top: 14px; gap: 8px; }
  .stack-card li { font-size: 14.5px; }
  .stack-card .shot, .stack-card .wa { border-radius: 12px; }
  .stack-card .wa { padding: 12px 10px; }
  .stack-card .wa-bubble { font-size: 11px; line-height: 1.45; padding: 9px 10px 6px; }
  /* Paragraf kartu diringkas 4 baris di HP; poin bercentang di bawahnya tetap lengkap. */
  .stack-card .flow-text > p:not(.flow-tag) { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden; }
  .stack-hint { display: block; margin-top: 10px; text-align: center; font-size: 13px; color: var(--ink-muted); }
  .stack-hint::after { content: " \2192"; }
  .all { margin-top: 48px; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .tiles li { padding: 12px 12px 12px 14px; border-left-width: 3px; }
  .tile-tag { font-size: 10px; padding: 1px 6px; margin-bottom: 4px; }
  .tiles b { font-size: 14.5px; line-height: 1.3; }
  .tile-desc { font-size: 13px; line-height: 1.45; }
}
/* HP (lanjutan): kartu fitur bergaya sama dengan tablet & desktop — gambar mengambang di panel berwarna lembut
   (indigo / hijau / oranye) di atas kartu, teks di bawahnya; titik penanda kartu menggantikan tulisan "Geser" di peramban
   yang mendukung scroll-driven animation; peramban lain tetap menampilkan tulisan itu. */
@media (max-width: 600px) {
  .stack-card, .stack-card.flow { --tint: var(--indigo-soft); padding: 0; gap: 0; overflow: hidden; }
  .stack-card:nth-child(2) { --tint: #ECFDF5; }
  .stack-card:nth-child(3) { --tint: #FFF4EC; }
  .stack-card .shot, .stack-card .wa { order: 0; margin: 0; border: 0; border-radius: 0; padding: 18px 16px 16px; background: var(--tint); }
  .stack-card .shot img { border-radius: 10px; border: 1px solid rgb(15 23 42 / 8%); box-shadow: 0 14px 28px -16px rgb(15 23 42 / 40%); }
  .stack-card .wa { background: var(--tint); }
  .stack-card .shot, .stack-card .wa { height: 210px; overflow: hidden; align-items: flex-start; }
  .stack-card .wa-bubble { -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
  .stack-card .wa-bubble { box-shadow: 0 14px 28px -16px rgb(15 23 42 / 40%); }
  .stack-card.flow .flow-text { padding: 16px 16px 20px; }
  .stack-card .flow-tag { margin-bottom: 10px; }
  /* Titik penanda: tiap kartu punya view-timeline mendatar; titiknya memanjang & jadi indigo saat kartunya di tengah. */
  @supports (animation-timeline: view()) and (timeline-scope: --a) {
    #fitur > .wrap { timeline-scope: --dot-1, --dot-2, --dot-3; }
    .stack-card { view-timeline-axis: inline; }
    .stack-card:nth-child(1) { view-timeline-name: --dot-1; }
    .stack-card:nth-child(2) { view-timeline-name: --dot-2; }
    .stack-card:nth-child(3) { view-timeline-name: --dot-3; }
    #fitur .stack-dots { display: flex; justify-content: center; margin-top: 6px; }
    .stack-dots span { display: grid; place-items: center; width: 32px; height: 28px; }
    .stack-dots span::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: var(--line-strong); animation: dot-on linear; }
    .stack-dots span:nth-child(1)::before { animation-timeline: --dot-1; }
    .stack-dots span:nth-child(2)::before { animation-timeline: --dot-2; }
    .stack-dots span:nth-child(3)::before { animation-timeline: --dot-3; }
    .stack-hint { display: none; }
  }
}
.stack-dots { display: none; }
@keyframes dot-on { 0%, 25% { width: 8px; background: var(--line-strong); } 42%, 58% { width: 22px; background: var(--indigo); } 75%, 100% { width: 8px; background: var(--line-strong); } }

/* ── Harga ── */
/* Pilihan periode tanpa JavaScript: dua radio tersembunyi + label sebagai tombol segmen; harga tahunan (.y)
   tampil bila "Tahunan" dipilih. Angka = PlanCatalog::price (12 bulan, diskon 20%, dibulatkan ke ratusan). */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.period { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 24px; }
.period-switch { display: inline-flex; padding: 4px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; }
.period-switch label { white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 18px; border-radius: 999px; font-weight: 700; font-size: 15px; color: var(--ink-muted); cursor: pointer; }
.period-switch .save { white-space: nowrap; font-size: 12px; font-weight: 700; color: var(--success); background: var(--success-soft); padding: 2px 8px; border-radius: 999px; }
#per-month:checked ~ .period label[for="per-month"], #per-year:checked ~ .period label[for="per-year"] { background: var(--indigo); color: #fff; }
#per-year:checked ~ .period label[for="per-year"] .save { background: rgb(255 255 255 / 18%); color: #fff; }
#per-month:focus-visible ~ .period label[for="per-month"], #per-year:focus-visible ~ .period label[for="per-year"] { outline: 2px solid var(--indigo); outline-offset: 2px; }
.period-note { font-size: 14px; color: var(--ink-muted); }
.pricing .y { display: none; }
#per-year:checked ~ .plans .y { display: inline; }
#per-year:checked ~ .plans .m { display: none; }

.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan { padding: 28px 24px 24px; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.plan.pick { border: 2px solid var(--indigo); padding: 27px 23px 23px; box-shadow: 0 18px 40px -20px rgb(55 48 163 / 45%); }
.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: 32px; font-weight: 800; letter-spacing: -0.02em; white-space: nowrap; }
.plan .price small { font-size: 15px; font-weight: 600; color: var(--ink-muted); letter-spacing: 0; }
.plan .per-day { font-size: 14px; font-weight: 600; color: var(--success); min-height: 1.5em; }
.plan .per-day.neutral { font-weight: 400; color: var(--ink-muted); }
.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-muted); }
.plan ul { flex: 1; }
.plan > .btn { margin-top: 24px; width: 100%; }
.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-muted); 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)); }
}
/* Tablet: paket rekomendasi (Tumbuh) tampil pertama sebagai kartu lebar — harga, kapasitas & tombol di kiri, daftar
   fitur di kanan; tiga paket lain di bawahnya sebagai kartu ringkas (3 kolom; 601–760 px: 2 kolom, Juragan melebar). */
@media (min-width: 601px) and (max-width: 1040px) {
  .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .plan .tag-space { display: none; }
  .plan { padding: 22px 20px 20px; }
  .plan .for-whom { min-height: 2.9em; font-size: 14.5px; }
  .plan .price { margin-top: 14px; font-size: 26px; }
  .plan .price small { font-size: 13.5px; }
  .plan .caps { margin: 16px 0; }
  .plan ul { font-size: 14.5px; }
  .plan > .btn { margin-top: 18px; min-height: 46px; }
  .plan.pick { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 36px; align-content: start; }
  .plan.pick { order: -1; padding: 27px 27px 25px; }
  .plan.pick > * { grid-column: 1; }
  .plan.pick .tag { grid-row: 1; justify-self: start; margin-bottom: 10px; }
  .plan.pick h3 { grid-row: 2; font-size: 24px; }
  .plan.pick .for-whom { grid-row: 3; min-height: 0; }
  .plan.pick .price { grid-row: 4; font-size: 34px; }
  .plan.pick .per-day { grid-row: 5; }
  .plan.pick .caps { grid-row: 6; margin-bottom: 0; }
  .plan.pick > .btn { grid-row: 7; min-height: 52px; }
  .plan.pick .inherit { grid-column: 2; grid-row: 1; justify-self: start; align-self: start; margin-bottom: 4px; }
  .plan.pick ul { grid-column: 2; grid-row: 2 / span 6; align-self: start; font-size: 15px; }
  .plan.pick li { padding-top: 7px; padding-bottom: 7px; border-bottom: 1px solid var(--line); }
  .plan.pick li:last-child { border-bottom: 0; }
  .plan.pick li::before { top: 15px; }
}
/* Desktop: empat kolom dengan Tumbuh sedikit lebih lebar; label "Rekomendasi kami" menempel di bingkai atas kartunya
   (ruang kosong penyeimbang di kartu lain dihapus); fitur tiap paket jadi daftar bergaris tipis. */
@media (min-width: 1081px) {
  .plans { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.12fr) minmax(0, 1fr); gap: 16px; margin-top: 8px; }
  .plan .tag-space { display: none; }
  .plan { position: relative; padding: 26px 24px 24px; }
  .plan.pick { padding: 25px 25px 23px; background: linear-gradient(var(--paper), var(--paper)) padding-box, var(--indigo) border-box; }
  .plan.pick .tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); margin: 0; white-space: nowrap; box-shadow: 0 0 0 4px var(--slate); }
  .plan .for-whom { min-height: 3em; font-size: 14.5px; }
  .plan .price { margin-top: 16px; font-size: clamp(24px, 2.1vw, 30px); }
  .plan .price small { font-size: 14px; }
  .plan .caps { margin: 18px 0; }
  .plan ul { font-size: 14.5px; }
  .plan li { padding-top: 7px; padding-bottom: 7px; border-bottom: 1px solid var(--line); }
  .plan li:last-child { border-bottom: 0; }
  .plan li::before { top: 15px; }
  .plan > .btn { min-height: 48px; }
}
/* Tablet landscape & desktop (≥921): Tumbuh jadi kartu tinggi di kiri (lengkap dengan daftar fitur); Gratis, Mulai,
   Juragan jadi tiga kartu baris ringkas di kanan — nama & kapasitas di kiri, harga & tombol di kanan. Rincian fitur
   ketiganya ada di "Bandingkan semua fitur" tepat di bawah. Seluruh pilihan paket muat ±satu layar. */
@media (min-width: 921px) {
  .plans { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); grid-template-rows: repeat(3, auto); gap: 12px; margin-top: 0; }
  .plan.pick { display: flex; grid-column: 1; grid-row: 1 / span 3; padding: 22px 27px 20px; }
  .plan.pick > * { grid-column: auto; grid-row: auto; }
  .plan.pick .tag { align-self: flex-start; margin-bottom: 10px; }
  .plan.pick .for-whom { min-height: 0; }
  .plan.pick .price { margin-top: 12px; font-size: 32px; }
  .plan.pick .caps { margin: 14px 0; }
  .plan.pick .caps div { padding: 6px 0; }
  .plan.pick .inherit { align-self: flex-start; margin: 0 0 6px; }
  .plan.pick ul { flex: 1; }
  .plan.pick li { padding-top: 4px; padding-bottom: 4px; }
  .plan.pick li::before { top: 12px; }
  .plan.pick > .btn { margin-top: 14px; min-height: 44px; }
  .plan:not(.pick) { grid-column: 2; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 20px; align-items: center; align-content: center; padding: 14px 20px; }
  .plan:nth-child(1) { grid-row: 1; }
  .plan:nth-child(2) { grid-row: 2; }
  .plan:nth-child(4) { grid-row: 3; }
  .plan:not(.pick) .tag-space, .plan:not(.pick) .inherit, .plan:not(.pick) ul { display: none; }
  .plan:not(.pick) h3 { grid-column: 1; grid-row: 1; font-size: 19px; }
  .plan:not(.pick) .for-whom { grid-column: 1; grid-row: 2; min-height: 0; margin-top: 2px; font-size: 14px; }
  .plan:not(.pick) .caps { grid-column: 1; grid-row: 3; margin: 12px 0 0; border: 0; justify-self: start; display: flex; gap: 6px; }
  .plan:not(.pick) .caps div { display: flex; align-items: baseline; gap: 4px; padding: 3px 10px; border: 0; border-radius: 999px; background: var(--slate); }
  .plan:not(.pick) .caps div + div { border-left: 0; }
  .plan:not(.pick) .caps b { display: inline; font-size: 14px; }
  .plan:not(.pick) .caps span { font-size: 12.5px; }
  .plan:not(.pick) .price { grid-column: 2; grid-row: 1; margin: 0; justify-self: end; font-size: 24px; }
  .plan:not(.pick) .per-day { grid-column: 2; grid-row: 2; justify-self: end; text-align: right; font-size: 13px; }
  .plan:not(.pick) > .btn { grid-column: 2; grid-row: 3; margin-top: 8px; width: auto; min-height: 40px; padding: 0 18px; justify-self: end; }
}
@media (min-width: 601px) and (max-width: 760px) {
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 28px; align-content: start; }
  .plan:last-child > * { grid-column: 1; }
  .plan:last-child h3 { grid-row: 1; }
  .plan:last-child .for-whom { grid-row: 2; min-height: 0; }
  .plan:last-child .price { grid-row: 3; }
  .plan:last-child .per-day { grid-row: 4; }
  .plan:last-child .caps { grid-row: 5; margin-bottom: 0; }
  .plan:last-child > .btn { grid-row: 6; }
  .plan:last-child .inherit { grid-column: 2; grid-row: 1; justify-self: start; align-self: start; }
  .plan:last-child ul { grid-column: 2; grid-row: 2 / span 5; align-self: start; }
}
/* Tablet portrait (601–920): Tumbuh tetap kartu lebar di atas; Gratis, Mulai, Juragan jadi tiga kartu baris selebar
   penuh — nama, keterangan & kapasitas (pil) di kiri, harga di tengah, tombol di kanan. Daftar fiturnya ada di
   "Bandingkan semua fitur" tepat di bawah. */
@media (min-width: 601px) and (max-width: 920px) {
  .plans { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .plans .plan:last-child, .plans .plan:not(.pick) { grid-column: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; column-gap: 24px; align-items: center; padding: 18px 22px; }
  .plans .plan:not(.pick) > * { grid-column: auto; grid-row: auto; }
  .plans .plan:not(.pick) .tag-space, .plans .plan:not(.pick) .inherit, .plans .plan:not(.pick) ul { display: none; }
  .plans .plan:not(.pick) h3 { grid-column: 1; grid-row: 1; font-size: 19px; }
  .plans .plan:not(.pick) .for-whom { grid-column: 1; grid-row: 2; min-height: 0; margin-top: 2px; font-size: 14px; }
  .plans .plan:not(.pick) .caps { grid-column: 1; grid-row: 3; justify-self: start; display: flex; gap: 6px; margin: 10px 0 0; border: 0; }
  .plans .plan:not(.pick) .caps div { display: flex; align-items: baseline; gap: 4px; padding: 3px 10px; border: 0; border-radius: 999px; background: var(--slate); }
  .plans .plan:not(.pick) .caps div + div { border-left: 0; }
  .plans .plan:not(.pick) .caps b { display: inline; font-size: 13.5px; }
  .plans .plan:not(.pick) .caps span { font-size: 12px; }
  .plans .plan:not(.pick) .price { grid-column: 2; grid-row: 1 / span 2; align-self: end; margin: 0; justify-self: end; font-size: 26px; }
  .plans .plan:not(.pick) .per-day { grid-column: 2; grid-row: 3; align-self: start; justify-self: end; margin-top: 4px; font-size: 13px; }
  .plans .plan:not(.pick) > .btn { grid-column: 3; grid-row: 1 / span 3; align-self: center; width: auto; min-height: 46px; margin: 0; padding: 0 20px; }
}
.plans-hint { display: none; }
/* HP: kartu paket digeser menyamping (satu kartu ±85% layar, berhenti rapi per kartu), Tumbuh tampil pertama. */
@media (max-width: 600px) {
  .plans { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--gutter);
           margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 16px; scrollbar-width: none; overscroll-behavior-x: contain; }
  .plans::-webkit-scrollbar { display: none; }
  .plan { flex: 0 0 84%; scroll-snap-align: start; }
  .plan.pick { order: -1; }
  .plan .tag-space { display: none; }
  .plan .for-whom { min-height: 0; }
  .plans-hint { display: block; text-align: center; font-size: 13px; color: var(--ink-muted); }
  .plans-hint::after { content: " \2192"; }
  .period-switch { width: 100%; }
  .period-switch label { flex: 1; justify-content: center; padding: 0 8px; gap: 6px; }
  .period-switch .save { padding: 2px 6px; }
}

/* HP (lanjutan): tidak lagi digeser menyamping — Tumbuh tampil penuh paling atas (dengan daftar fiturnya), lalu Gratis,
   Mulai, Juragan sebagai kartu baris ringkas bertumpuk: nama & keterangan kiri, harga kanan, kapasitas sebagai pil,
   tombol selebar kartu. Rincian fitur ketiganya ada di "Bandingkan semua fitur" tepat di bawah. */
@media (max-width: 600px) {
  .pricing .plans { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin: 0; padding: 0; overflow: visible; scroll-snap-type: none; }
  .plans .plan { flex: none; }
  .plans-hint { display: none; }
  .plan.pick { padding: 22px 18px 18px; }
  .plan.pick .price { font-size: 30px; }
  .plan:not(.pick) { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; align-items: baseline; padding: 16px; }
  .plan:not(.pick) .tag-space, .plan:not(.pick) .inherit, .plan:not(.pick) ul { display: none; }
  .plan:not(.pick) h3 { grid-column: 1; grid-row: 1; font-size: 18px; }
  .plan:not(.pick) .for-whom { grid-column: 1 / -1; grid-row: 2; min-height: 0; margin-top: 2px; font-size: 14px; }
  .plan:not(.pick) .price { grid-column: 2; grid-row: 1; margin: 0; justify-self: end; font-size: 22px; }
  .plan:not(.pick) .price small { font-size: 12.5px; }
  .plan:not(.pick) .per-day { display: none; }
  .plan:not(.pick) .caps { grid-column: 1 / -1; grid-row: 3; display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; border: 0; }
  .plan:not(.pick) .caps div { display: flex; align-items: baseline; gap: 4px; padding: 3px 10px; border: 0; border-radius: 999px; background: var(--slate); }
  .plan:not(.pick) .caps div + div { border-left: 0; }
  .plan:not(.pick) .caps b { display: inline; font-size: 13.5px; }
  .plan:not(.pick) .caps span { font-size: 12px; }
  .plan:not(.pick) > .btn { grid-column: 1 / -1; grid-row: 4; margin-top: 12px; min-height: 44px; }
}

/* HP: kartu referral bergaya voucher — judul & ajakan di atas, garis sobek putus-putus dengan dua lekuk di tepi kartu,
   lalu dua keuntungan besar (14 hari | 25%) berdampingan di bawahnya. */
@media (max-width: 600px) {
  .plan-extras { margin-top: 16px; }
  .extra-ref { position: relative; padding: 18px 18px 16px; border-radius: 16px; }
  .extra-ref h3 { font-size: 18px; color: #92400E; }
  .extra-ref p { font-size: 14.5px; }
  .ref-gain { position: relative; display: grid; grid-template-columns: 1fr 1fr; grid-auto-flow: row; gap: 0; margin-top: 16px; padding-top: 14px; border-top: 2px dashed #FCD34D; }
  .ref-gain::before, .ref-gain::after { content: ""; position: absolute; top: -11px; width: 20px; height: 20px; border-radius: 50%; background: var(--slate); border: 1px solid #FDE68A; }
  .ref-gain::before { left: -29px; }
  .ref-gain::after { right: -29px; }
  .ref-gain li { padding: 0 8px; background: none; border-radius: 0; text-align: center; }
  .ref-gain li + li { border-left: 1px solid #FDE68A; }
  .ref-gain b { font-size: 26px; line-height: 1.1; }
  .ref-gain span { display: block; margin-top: 2px; font-size: 13px; line-height: 1.35; color: #92400E; }
  .plans-note { text-align: center; }
}

/* Tablet & desktop (≥601): kartu referral jadi voucher mendatar selebar penuh — judul & ajakan di kiri, garis sobek
   tegak putus-putus dengan lekuk di tepi atas & bawah, dua keuntungan besar (14 hari | 25%) di kanan. */
@media (min-width: 601px) {
  .plan-extras { grid-template-columns: minmax(0, 1fr); margin-top: 16px; }
  .extra-ref { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 0; align-items: center; padding: 0; border-radius: 16px; overflow: visible; }
  .extra-ref h3 { grid-column: 1; grid-row: 1; align-self: end; padding: 20px 28px 0; font-size: 19px; color: #92400E; }
  .extra-ref p { grid-column: 1; grid-row: 2; align-self: start; margin-top: 4px; padding: 0 28px 20px; font-size: 15px; }
  .ref-gain { position: relative; grid-column: 2; grid-row: 1 / span 2; align-self: stretch; display: grid; grid-auto-flow: column; grid-auto-columns: 150px; gap: 0; margin: 0; padding: 18px 8px; border-left: 2px dashed #FCD34D; }
  .ref-gain::before, .ref-gain::after { content: ""; position: absolute; left: -12px; width: 22px; height: 22px; border-radius: 50%; background: var(--slate); border: 1px solid #FDE68A; }
  .ref-gain::before { top: -12px; }
  .ref-gain::after { bottom: -12px; }
  .ref-gain li { display: grid; align-content: center; padding: 0 14px; background: none; border-radius: 0; text-align: center; }
  .ref-gain li + li { border-left: 1px solid #FDE68A; }
  .ref-gain b { font-size: 28px; line-height: 1.1; }
  .ref-gain span { display: block; margin-top: 2px; font-size: 13px; line-height: 1.35; color: #92400E; }
  .plans-note { text-align: center; }
}

@media (min-width: 1081px) {
  .extra-ref h3 { padding: 24px 36px 0; font-size: 21px; }
  .extra-ref p { padding: 0 36px 24px; font-size: 16px; }
  .ref-gain { grid-auto-columns: 180px; padding: 20px 12px; }
  .ref-gain b { font-size: 32px; }
  .ref-gain span { font-size: 13.5px; }
}

/* Tabel perbandingan (terbuka lewat <details>, tanpa JavaScript); di layar sempit digulir ke samping di dalam kotaknya. */
.compare { margin-top: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.compare summary { cursor: pointer; list-style: none; padding: 18px 24px; font-weight: 700; display: flex; justify-content: space-between; align-items: center; }
.compare summary::-webkit-details-marker { display: none; }
.compare summary::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--ink-muted); }
.compare[open] summary::after { content: "\2212"; }
.compare-scroll { overflow-x: auto; border-top: 1px solid var(--line); }
.compare table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 11px 16px; text-align: center; border-bottom: 1px solid var(--line); }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare th[scope="row"] { text-align: left; font-weight: 600; }
.compare thead th { font-size: 15px; font-weight: 800; background: var(--slate); }
.compare thead th:first-child { text-align: left; }
.compare thead th.pick { color: var(--indigo); }
.compare .group-row th { text-align: left; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); background: var(--slate); padding: 8px 16px; }
.compare td:nth-child(4) { background: rgb(224 231 255 / 35%); }
.compare td.yes { color: var(--success); font-weight: 700; }
.compare td.no { color: var(--ink-muted); }
.compare th[scope="row"] { position: sticky; left: 0; background: var(--paper); }
/* Tablet & desktop (≥601): tabel tetap lima kolom tapi muat tanpa digeser (kolom fitur ±36%), baris nama paket menempel
   di bawah header saat digulir, nama Tumbuh diberi latar indigo lembut sejajar kolomnya. */
@media (min-width: 601px) {
  .compare-scroll { overflow: visible; }
  .compare table { min-width: 0; table-layout: fixed; font-size: 14.5px; }
  .compare thead th { position: sticky; top: var(--hdr); z-index: 2; box-shadow: 0 1px 0 var(--line); }
  .compare thead th:first-child { width: 36%; }
  .compare thead th.pick { background: #E6E9FB; }
  .compare th, .compare td { padding: 10px 12px; }
  .compare th[scope="row"] { position: static; }
  .compare td { font-size: 14px; }
}
/* Desktop: kolom fitur lebih ramping, sel lebih lega, baris fitur diberi latar saat disorot agar mudah diikuti. */
@media (min-width: 1081px) {
  .compare table { font-size: 15px; }
  .compare thead th:first-child { width: 32%; }
  .compare th, .compare td { padding: 12px 18px; }
  .compare td { font-size: 15px; }
  .compare tbody tr:not(.group-row):hover > * { background: var(--slate); }
  .compare tbody tr:not(.group-row):hover > td:nth-child(4) { background: #E6E9FB; }
}
/* HP: tabel tidak lagi digeser menyamping — tiap fitur jadi satu blok: nama fitur selebar penuh, lalu empat nilai
   (Gratis, Mulai, Tumbuh, Juragan) berjajar di bawahnya. Baris nama paket menempel di bawah header saat digulir,
   kolom Tumbuh tetap diberi warna lembut. */
@media (max-width: 600px) {
  .compare summary { padding: 16px; }
  .compare-scroll { overflow: visible; }
  .compare table { display: block; min-width: 0; font-size: 13.5px; }
  .compare thead, .compare tbody { display: block; }
  .compare thead { position: sticky; top: var(--hdr); z-index: 2; background: var(--slate); box-shadow: 0 1px 0 var(--line); }
  .compare tr { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .compare thead th { padding: 10px 4px; font-size: 13.5px; text-align: center; border-bottom: 0; }
  .compare thead th:first-child { display: none; }
  .compare th[scope="row"] { position: static; grid-column: 1 / -1; padding: 10px 16px 2px; border-bottom: 0; font-size: 14px; background: none; }
  .compare td { padding: 4px 4px 10px; font-size: 13px; line-height: 1.3; }
  .compare td:nth-child(4) { background: rgb(224 231 255 / 35%); }
  .compare .group-row th { grid-column: 1 / -1; padding: 8px 16px; }
}

/* ── Langkah mulai (urutan nyata → bernomor) ── */
/* Tiga kartu: atas = gambaran kecil yang terjadi di langkah itu (warna nada per langkah), bawah = teks.
   Nomor menempel di pojok gambaran; garis putus-putus menghubungkan kartu di 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(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.steps li::before { content: counter(s); position: absolute; top: 16px; left: 16px; z-index: 1; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 999px; font-size: 16px; font-weight: 800; color: #fff; background: var(--c); }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 100px; right: -25px; width: 24px; border-top: 2px dashed var(--line-strong); }
.step-visual { display: grid; place-items: center; height: 200px; padding: 24px; background: var(--c-soft); border-bottom: 1px solid var(--c-line); border-radius: calc(var(--radius-lg) - 1px) calc(var(--radius-lg) - 1px) 0 0; }
.step-body { display: flex; flex-direction: column; flex: 1; padding: 24px 28px 28px; }
.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-muted); }
.step-meta .pill { margin: 0; }
/* Gambaran mini (dekoratif, aria-hidden). */
.sv-card { width: 100%; max-width: 230px; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-md); padding: 14px 16px; box-shadow: 0 6px 16px -10px rgb(15 23 42 / 25%); font-size: 13px; }
.sv-card small { display: block; font-size: 11px; color: var(--ink-muted); }
.sv-app-row { display: flex; align-items: center; gap: 10px; }
.sv-app-row b { display: block; font-size: 14px; }
.sv-icon { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 9px; background: var(--indigo); color: #fff; font-weight: 800; }
.sv-bar { height: 6px; margin: 14px 0 6px; border-radius: 999px; background: var(--line); overflow: hidden; }
.sv-bar i { display: block; height: 100%; width: 100%; background: var(--c-bar); }
.sv-app .sv-done { color: var(--c); font-weight: 700; text-align: right; }
.sv-form small + .sv-field, .sv-form small + .sv-chips { margin-top: 4px; }
.sv-field { display: block; padding: 6px 10px; border: 1px solid var(--line-strong); border-radius: 8px; font-weight: 600; margin-bottom: 10px; }
.sv-chips { display: flex; gap: 6px; }
.sv-chips span { padding: 3px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; color: var(--ink-muted); }
.sv-chips .on { background: var(--c); border-color: var(--c); color: #fff; font-weight: 700; }
.sv-receipt { max-width: 210px; }
.sv-receipt pre { margin: 0; font-family: var(--mono); font-size: 11.5px; line-height: 1.5; white-space: pre; }
.sv-receipt .b { font-weight: 700; }
.sv-printer { margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--line-strong); color: var(--c) !important; font-weight: 700; }
/* Tablet: kartu sempit — gambaran turun di bawah nomor agar tidak tertimpa. */
@media (max-width: 1080px) {
  .step-visual { height: 232px; padding: 60px 14px 16px; place-items: start center; }
  .step-body { padding: 20px 22px 24px; }
}
/* Tablet portrait (521–920): tiap langkah satu kartu mendatar — gambaran berwarna di kiri, teks di kanan, nomor duduk
   di garis batas tegak di antaranya (pola nomor-di-garis-batas yang sama dengan HP, tablet landscape & desktop), tanpa
   kolom garis waktu terpisah. */
@media (min-width: 521px) and (max-width: 920px) {
  #mulai .steps { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  #mulai .steps li { display: grid; grid-template-columns: minmax(0, 42%) minmax(0, 1fr); column-gap: 0; position: relative; padding: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
  #mulai .steps li:last-child { padding-bottom: 0; }
  #mulai .steps li::before { position: absolute; top: 50%; left: 42%; margin: -20px 0 0 -20px; width: 40px; height: 40px; font-size: 17px; box-shadow: 0 0 0 5px var(--paper); z-index: 1; }
  #mulai .steps li:not(:last-child)::after { display: none; }
  #mulai .step-visual { grid-column: 1; grid-row: 1; height: auto; min-height: 190px; margin: 0; padding: 20px 32px 20px 18px; place-items: center; border: 0; border-right: 1px solid var(--c-line); border-radius: 0; }
  #mulai .step-body { grid-column: 2; grid-row: 1; justify-content: center; padding: 22px 24px 22px 40px; background: none; border: 0; border-radius: 0; }
  #mulai .sv-card { max-width: 240px; }
  #mulai .steps h3 { font-size: clamp(18px, 2.6vw, 21px); }
  #mulai .steps p { flex: none; margin-top: 6px; font-size: 15px; }
  #mulai .step-meta { align-self: flex-start; margin-top: 14px; padding-top: 0; border-top: 0; }
}
@media (min-width: 521px) and (max-width: 760px) {
  #mulai .steps li { grid-template-columns: minmax(0, 47%) minmax(0, 1fr); }
  #mulai .steps li::before { left: 47%; }
  #mulai .step-visual { padding: 18px 34px 18px 16px; }
  #mulai .sv-card { max-width: 100%; }
}
/* Tablet landscape: nomor langkah duduk di garis batas antara gambaran & teks (bukan menimpa gambaran), jadi gambaran
   tak perlu ruang kosong di atas; garis putus-putus antar-kartu ikut sejajar dengan nomor. Section lebih pendek. */
@media (min-width: 921px) and (max-width: 1080px) {
  #mulai { padding: 56px 0; }
  #mulai .section-head { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: end; column-gap: 32px; margin-bottom: 28px; }
  #mulai .section-head p { margin: 0 0 6px; justify-self: end; text-align: right; max-width: 22em; }
  .steps { gap: 20px; }
  .step-visual { height: 190px; padding: 14px 16px 30px; place-items: center; }
  .steps li::before { top: 170px; left: 22px; width: 40px; height: 40px; font-size: 17px; box-shadow: 0 0 0 4px var(--paper); }
  .steps li:not(:last-child)::after { top: 190px; right: -21px; width: 20px; }
  .step-body { padding: 32px 24px 22px; }
  .steps h3 { font-size: 19px; }
  .steps p { font-size: 15px; }
  .step-meta { margin-top: 16px; padding-top: 12px; font-size: 14.5px; }
}
/* Desktop: pola sama dengan tablet landscape (nomor di garis batas, garis putus-putus sejajar nomor), ukuran lebih lega. */
@media (min-width: 1081px) {
  #mulai { padding: 72px 0; }
  .steps { gap: 28px; }
  .step-visual { height: 216px; padding: 18px 20px 34px; place-items: center; }
  .sv-card { max-width: 250px; }
  .steps li::before { top: 194px; left: 26px; width: 44px; height: 44px; font-size: 18px; box-shadow: 0 0 0 5px var(--paper); }
  .steps li:not(:last-child)::after { top: 216px; right: -29px; width: 28px; }
  .step-body { padding: 38px 28px 26px; }
  .steps h3 { font-size: 21px; }
  .steps p { font-size: 16px; }
  .step-meta { margin-top: 18px; padding-top: 14px; }
}
/* Tablet portrait: garis waktu vertikal seperti HP, tapi tiap langkah satu kartu lebar — gambaran di kiri, teks di
   kanan; nomor besar berwarna di kolom kiri dihubungkan garis putus-putus. */
@media (min-width: 761px) and (max-width: 920px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps li { display: grid; grid-template-columns: 44px minmax(0, 300px) minmax(0, 1fr); column-gap: 0; padding: 0 0 24px; background: none; border: 0; border-radius: 0; }
  .steps li:last-child { padding-bottom: 0; }
  .steps li::before { position: relative; top: auto; left: auto; grid-column: 1; grid-row: 1; align-self: start; margin-top: 4px; width: 44px; height: 44px; font-size: 18px; }
  .steps li:not(:last-child)::after { display: block; top: 54px; bottom: 6px; left: 21px; right: auto; width: 0; border-top: 0; border-left: 2px dashed var(--line-strong); }
  .step-visual { grid-column: 2; grid-row: 1; height: auto; min-height: 200px; margin-left: 16px; padding: 24px 20px; place-items: center; border: 1px solid var(--c-line); border-right: 0; border-radius: var(--radius-lg) 0 0 var(--radius-lg); }
  .step-body { grid-column: 3; grid-row: 1; justify-content: center; padding: 24px 28px; background: var(--paper); border: 1px solid var(--line); border-radius: 0 var(--radius-lg) var(--radius-lg) 0; }
  .sv-card { max-width: 250px; }
  .steps h3 { font-size: 21px; }
  .steps p { flex: none; margin-top: 8px; font-size: 16px; }
  .step-meta { align-self: flex-start; margin-top: 16px; padding-top: 0; border-top: 0; }
}
/* HP: garis waktu vertikal — nomor berwarna di kiri dihubungkan garis putus-putus; di kanan kartu ringkas
   (gambaran mini di atas, teks di bawah) supaya tiap langkah tetap "terlihat" tanpa memanjang berlebihan. */
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps li { display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 12px; padding: 0 0 20px; background: none; border: 0; border-radius: 0; }
  .steps li:last-child { padding-bottom: 0; }
  .steps li::before { position: relative; top: auto; left: auto; grid-column: 1; grid-row: 1; width: 36px; height: 36px; font-size: 16px; }
  .steps li:not(:last-child)::after { display: block; top: 42px; bottom: 6px; left: 17px; right: auto; width: 0; border-top: 0; border-left: 2px dashed var(--line-strong); }
  .step-visual { grid-column: 2; grid-row: 1; height: auto; padding: 16px 14px; place-items: center; border: 1px solid var(--c-line); border-bottom: 0; border-radius: var(--radius-md) var(--radius-md) 0 0; }
  .step-body { grid-column: 2; grid-row: 2; padding: 14px 16px 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 0 0 var(--radius-md) var(--radius-md); }
  .sv-card { max-width: 240px; padding: 12px 14px; }
  .steps h3 { font-size: 17px; }
  .steps p { font-size: 14.5px; margin-top: 4px; }
  .step-meta { align-self: flex-start; margin-top: 10px; padding-top: 0; border-top: 0; font-size: 14px; }
}

/* HP (≤520): pola sama dengan tablet landscape & desktop — tiap langkah satu kartu selebar layar, gambaran berwarna di
   atas, nomor duduk di garis batas gambaran & teks (tanpa kolom garis waktu di kiri, jadi teks lebih lebar). */
@media (max-width: 520px) {
  .steps { gap: 14px; }
  .steps li { display: flex; flex-direction: column; position: relative; padding: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
  .steps li:last-child { padding-bottom: 0; }
  .steps li::before { position: absolute; top: 166px; left: 16px; width: 36px; height: 36px; font-size: 16px; box-shadow: 0 0 0 4px var(--paper); }
  .steps li:not(:last-child)::after { display: none; }
  .step-visual { height: 184px; padding: 10px 16px 32px; margin: 0; place-items: center; border: 0; border-bottom: 1px solid var(--c-line); border-radius: 0; }
  .step-body { padding: 30px 16px 16px; background: none; border: 0; border-radius: 0; }
  .sv-card { max-width: 250px; }
  .steps h3 { font-size: 18px; }
  .steps p { font-size: 15px; margin-top: 4px; }
  .step-meta { margin-top: 12px; }
}
/* HP lebar / tablet kecil: gambaran di kiri, teks di kanan dalam satu kartu. */
@media (min-width: 521px) and (max-width: 760px) {
  .steps li { grid-template-columns: 36px minmax(0, 272px) minmax(0, 1fr); column-gap: 0; }
  .steps p { flex: none; }
  .step-visual { grid-column: 2; grid-row: 1; margin-left: 12px; border-bottom: 1px solid var(--c-line); border-right: 0; border-radius: var(--radius-md) 0 0 var(--radius-md); }
  .step-body { grid-column: 3; grid-row: 1; justify-content: center; border-radius: 0 var(--radius-md) var(--radius-md) 0; }
}

/* ── FAQ ── */
.faq-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; margin-bottom: 40px; }
.faq-head .section-head { margin-bottom: 0; }
.faq-contact { display: grid; gap: 2px; padding: 14px 20px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md); text-decoration: none; }
.faq-contact span { font-size: 14px; color: var(--ink-muted); }
.faq-contact b { color: var(--indigo); }
.faq-contact:hover b { text-decoration: underline; }
/* 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: 12px 20px; align-items: start; }
.faq > div { display: grid; gap: 12px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md); }
.faq details[open] { border-color: var(--indigo); }
.faq summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 14px 18px 14px 22px; font-weight: 700; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
/* Ikon +/− digambar dengan dua garis gradien (selalu tepat di tengah, tak bergantung metrik huruf); saat dibuka garis
   tegak menyusut sehingga + berubah jadi −. */
.faq summary::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: 999px; background-color: var(--sunken);
  background-image: linear-gradient(var(--ink-muted), var(--ink-muted)), linear-gradient(var(--ink-muted), var(--ink-muted));
  background-repeat: no-repeat; background-position: center; background-size: 12px 2px, 2px 12px;
  transition: background-size .25s cubic-bezier(.2, .7, .2, 1), background-color .25s; }
.faq details[open] summary::after { background-color: var(--indigo-soft);
  background-image: linear-gradient(var(--indigo), var(--indigo)), linear-gradient(var(--indigo), var(--indigo)); background-size: 12px 2px, 2px 0; }
.faq summary:focus-visible { outline: 2px solid var(--indigo); outline-offset: 2px; border-radius: var(--radius-md); }
.faq details p { padding: 0 22px 20px; color: var(--ink-muted); }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }
.faq-more { display: none; }
/* Tablet portrait (761–920; aturan dasarnya juga dipakai ≥921): dua kolom — kiri judul + kartu kontak yang menempel saat digulir, kanan satu daftar pertanyaan dalam satu
   kotak (seperti HP, tapi sasaran sentuh lebih besar). */
@media (min-width: 761px) {
  #tanya .wrap { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 40px; align-items: start; }
  .faq-head { position: sticky; top: calc(var(--hdr) + 24px); flex-direction: column; align-items: stretch; gap: 24px; margin-bottom: 0; }
  .faq-head .section-head h2 { font-size: clamp(30px, 3.6vw, 36px); }
  .faq-head .section-head p { font-size: 16px; }
  .faq-contact { padding: 16px 18px; gap: 4px; }
  .faq-contact b { font-size: 15px; overflow-wrap: anywhere; }
  .faq { grid-template-columns: 1fr; gap: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
  .faq > div { gap: 0; }
  .faq details { border: 0; border-radius: 0; border-bottom: 1px solid var(--line); }
  .faq > div:last-child details:last-child { border-bottom: 0; }
  .faq details[open] { background: var(--slate); border-color: var(--line); }
  .faq details[open] summary { color: var(--indigo); }
  .faq summary { min-height: 64px; padding: 14px 18px 14px 22px; font-size: 17px; }
  .faq details p { padding: 0 22px 20px; font-size: 16px; }
}

/* Tablet & desktop (≥761): judul & kartu kontak sebaris di atas; pertanyaan dibagi dua kotak berdampingan sesuai kelompoknya
   (perangkat & pemasangan | paket, bayar & data), masing-masing berlabel. */
@media (min-width: 761px) {
  #tanya .wrap { display: block; }
  .faq-head { position: static; flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 20px 40px; margin-bottom: 28px; }
  .faq-head .section-head h2 { font-size: 36px; }
  .faq-contact { flex: none; }
  .faq { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; background: none; border: 0; border-radius: 0; overflow: visible; }
  .faq > div { align-self: start; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
  .faq > div::before { display: block; padding: 12px 22px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); background: var(--slate); border-bottom: 1px solid var(--line); }
  .faq > div:first-child::before { content: "Perangkat & pemasangan"; }
  .faq > div:last-child::before { content: "Paket, pembayaran & data"; }
  .faq > div details:last-child { border-bottom: 0; }
  .faq summary { min-height: 60px; font-size: 16.5px; }
  .faq details p { font-size: 15.5px; }
}

/* Desktop lebar: judul lebih besar, kotak pertanyaan lebih lega. */
@media (min-width: 1081px) {
  .faq-head .section-head h2 { font-size: 40px; }
  .faq { gap: 24px; }
  .faq summary { min-height: 64px; font-size: 17px; padding-left: 24px; }
  .faq > div::before { padding-left: 24px; }
  .faq details p { padding: 0 24px 22px; font-size: 16px; }
}

/* HP: satu daftar ringkas dalam satu kotak (bukan 8 kartu terpisah), kontak pindah ke bawah daftar. */
@media (max-width: 760px) {
  .faq-head { margin-bottom: 20px; }
  .faq-contact { display: none; }
  .faq { grid-template-columns: 1fr; gap: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
  .faq > div { gap: 0; }
  .faq details { border: 0; border-radius: 0; border-bottom: 1px solid var(--line); }
  .faq > div:last-child details:last-child { border-bottom: 0; }
  .faq details[open] { background: var(--slate); border-color: var(--line); }
  .faq details[open] summary { color: var(--indigo); }
  .faq summary { min-height: 56px; padding: 12px 14px 12px 16px; font-size: 16px; }
  .faq summary::after { width: 26px; height: 26px; }
  .faq details p { padding: 0 16px 16px; font-size: 15.5px; }
  .faq-more { display: block; margin-top: 16px; text-align: center; font-size: 15px; color: var(--ink-muted); }
  .faq-more a { color: var(--indigo); font-weight: 700; }
}

/* HP & tablet kecil (≤760): pertanyaan dibagi dua kotak berlabel (sama dengan tablet landscape & desktop) — Perangkat &
   pemasangan, lalu Paket, pembayaran & data; ajakan email di bawahnya jadi kartu yang mudah diketuk. */
@media (max-width: 760px) {
  .faq { gap: 14px; background: none; border: 0; border-radius: 0; overflow: visible; }
  .faq > div { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
  .faq > div::before { display: block; padding: 10px 16px; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); background: var(--slate); border-bottom: 1px solid var(--line); }
  .faq > div:first-child::before { content: "Perangkat & pemasangan"; content: "Perangkat & pemasangan" / ""; }
  .faq > div:last-child::before { content: "Paket, pembayaran & data"; content: "Paket, pembayaran & data" / ""; }
  .faq > div details:last-child { border-bottom: 0; }
  .faq-more { display: flex; flex-direction: column; gap: 2px; margin-top: 14px; padding: 14px 16px; text-align: left; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md); font-size: 14px; color: var(--ink-muted); }
  .faq-more a { font-size: 16px; overflow-wrap: anywhere; }
}

/* ── Penutup: panel gelap — kiri ajakan + garis 7 hari masa coba, kanan printer yang "mengeluarkan" struk masa coba ── */
.closing { padding: 88px 0 72px; }
.closing-panel { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; background: var(--ink); color: #fff; border-radius: 24px; padding: 0 64px; overflow: hidden; }
.closing-text { padding: 56px 0; }
.closing h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; max-width: 16em; }
.closing-text > p { color: #CBD5E1; margin-top: 14px; font-size: 18px; max-width: 34em; }
.closing-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--indigo-soft); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgb(255 255 255 / 35%); }
.btn-outline-light:hover { border-color: #fff; }
/* Garis 7 hari: hari 1 hijau penuh (mulai jualan), hari 2–6 hijau redup, hari 7 amber (waktunya memilih paket). */
.trial { margin-top: 36px; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / 12%); max-width: 480px; }
.trial-days { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.trial-days li { padding-top: 10px; border-top: 6px solid rgb(27 175 122 / 35%); border-radius: 3px 3px 0 0; font-size: 12px; font-weight: 700; color: #94A3B8; text-align: center; }
.trial-days li:first-child { border-top-color: #1BAF7A; color: #fff; }
.trial-days li:last-child { border-top-color: #F59E0B; color: #fff; }
.trial-legend { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 14px; }
.trial-legend p { margin: 0; font-size: 14.5px; line-height: 1.5; color: #CBD5E1; }
.trial-legend b { display: block; color: #fff; font-size: 13px; letter-spacing: .02em; }
.trial-legend p:first-child b { color: #6EE7B7; }
.trial-legend p:last-child b { color: #FCD34D; }
/* Printer di tepi atas panel; struk keluar dari celahnya (terpotong oleh .paper-out). */
.closing-print { display: flex; flex-direction: column; align-items: center; padding-top: 40px; }
.printer { position: relative; z-index: 1; width: 350px; height: 64px; background: #1E293B; border: 1px solid #334155; border-radius: 16px 16px 8px 8px; box-shadow: 0 12px 24px -12px rgb(0 0 0 / 60%); }
.printer::after { content: ""; position: absolute; left: 26px; right: 26px; bottom: 12px; height: 6px; border-radius: 3px; background: #020617; }
.printer span { position: absolute; top: 12px; right: 18px; width: 7px; height: 7px; border-radius: 50%; background: #1BAF7A; box-shadow: 0 0 0 3px rgb(27 175 122 / 25%); }
.paper-out { overflow: hidden; margin-top: -15px; padding: 0 24px 48px; }
.closing-receipt { position: relative; right: auto; bottom: auto; margin: 0; font-size: 13px; animation: none; }
/* Struk "tercetak" saat panel masuk layar (browser yang mendukung scroll-driven animation). */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .closing-receipt { animation: feed linear both; animation-timeline: view(); animation-range: entry 0% cover 40%; }
  }
}
@keyframes feed { from { transform: translateY(-82%); } to { transform: none; } }
@media (max-width: 1080px) {
  .closing-panel { grid-template-columns: minmax(0, 1fr) 310px; gap: 36px; padding: 0 44px; }
  .printer { width: 290px; }
  .closing-receipt { font-size: 11.5px; }
}
@media (max-width: 920px) {
  .closing-panel { grid-template-columns: 1fr; padding: 0 28px; gap: 0; }
  .closing-text { padding: 40px 0 8px; }
  .closing-print { padding-top: 24px; }
  .paper-out { padding-bottom: 0; margin-bottom: -40px; }
  .closing-receipt { font-size: 10.5px; }
}
/* Desktop: printer menempel di tepi atas kolom kanan (sama dengan tablet & HP), struk masa coba lebih besar memanjang
   ke dasar panel lalu memudar; tombol lebih tinggi. */
@media (min-width: 1081px) {
  .closing-panel { grid-template-columns: minmax(0, 1fr) 380px; gap: 64px; padding: 0 64px; }
  .closing-text { padding: 64px 0 60px; }
  .closing-actions .btn { min-height: 52px; padding: 0 24px; }
  .closing-print { padding-top: 0; align-self: stretch; overflow: hidden; }
  .printer { width: 100%; height: 56px; border-top: 0; border-radius: 0 0 18px 18px; }
  .printer::after { bottom: 12px; left: 28px; right: 28px; height: 6px; }
  .printer span { top: 14px; right: 20px; }
  .paper-out { margin: -14px 0 0; padding: 0 16px; max-height: 100%; -webkit-mask-image: linear-gradient(#000 65%, transparent); mask-image: linear-gradient(#000 65%, transparent); }
  .closing-receipt { font-size: 14.5px; }
}
/* Tablet landscape: printer menempel di tepi atas kolom kanan (sama dengan tablet portrait & HP), struk lebih besar
   dan memanjang sampai dasar panel lalu memudar; tombol lebih tinggi. */
@media (min-width: 921px) and (max-width: 1080px) {
  .closing-panel { grid-template-columns: minmax(0, 1fr) 330px; gap: 48px; padding: 0 52px; }
  .closing-text { padding: 56px 0 52px; }
  .closing-actions .btn { min-height: 50px; padding: 0 22px; }
  .closing-print { padding-top: 0; align-self: stretch; overflow: hidden; }
  .printer { width: 100%; height: 52px; border-top: 0; border-radius: 0 0 16px 16px; }
  .printer::after { bottom: 11px; left: 24px; right: 24px; height: 6px; }
  .printer span { top: 12px; right: 18px; }
  .paper-out { margin: -13px 0 0; padding: 0 14px; max-height: 100%; -webkit-mask-image: linear-gradient(#000 65%, transparent); mask-image: linear-gradient(#000 65%, transparent); }
  .closing-receipt { font-size: 13px; }
}
/* Tablet: printer menempel di tepi atas panel (seperti HP) dan struk keluar memanjang lalu memudar.
   621–920: teks & garis 7 hari di kiri, printer + struk di kanan. 481–620: printer + struk di atas, teks di bawah. */
@media (min-width: 481px) and (max-width: 920px) {
  .closing { padding: 64px 0 56px; }
  .printer { width: 100%; height: 46px; border-top: 0; border-radius: 0 0 14px 14px; }
  .printer::after { bottom: 10px; left: 22px; right: 22px; height: 5px; }
  .printer span { top: 11px; right: 16px; width: 6px; height: 6px; }
  .closing-print { padding-top: 0; }
  .paper-out { margin: -12px 0 0; padding: 0 12px; -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent); }
  .trial { max-width: none; }
  .closing-actions .btn { min-height: 50px; }
}
@media (min-width: 621px) and (max-width: 920px) {
  .closing-panel { grid-template-columns: minmax(0, 1fr) minmax(0, 280px); gap: 28px; padding: 0 36px; }
  .closing-actions { gap: 10px; }
  .closing-actions .btn { padding: 0 18px; }
  .closing-text { padding: 48px 0 44px; }
  .closing h2 { font-size: clamp(28px, 4vw, 34px); }
  .closing-text > p { font-size: 17px; }
  .closing-print { align-self: stretch; overflow: hidden; }
  .paper-out { margin-bottom: 0; max-height: 100%; padding: 0 10px; }
  .closing-receipt { font-size: 11.5px; }
}
/* Dua tombol butuh kolom teks ±364 px, baru muat sebaris mulai lebar 821; di bawahnya bertumpuk. */
@media (min-width: 821px) and (max-width: 920px) {
  .closing-actions { flex-wrap: nowrap; }
  .closing-actions .btn { white-space: nowrap; }
}
@media (min-width: 621px) and (max-width: 820px) {
  .closing-actions { flex-direction: column; align-items: stretch; }
}
@media (min-width: 621px) and (max-width: 760px) {
  .closing-panel { grid-template-columns: minmax(0, 1fr) minmax(0, 240px); }
  .closing-receipt { font-size: 10px; }
}
@media (min-width: 481px) and (max-width: 620px) {
  .closing-panel { display: flex; flex-direction: column; padding: 0 28px 32px; }
  .closing-print { order: -1; }
  .printer { max-width: 300px; }
  .paper-out { margin-bottom: 0; max-height: 150px; }
  .closing-receipt { font-size: 10px; }
  .closing-text { padding: 8px 0 0; }
  .closing h2 { font-size: 28px; }
}
/* Tablet & desktop (≥621, lanjutan): kolom kanan tidak lagi kosong di bawah struk — printer + struk di atas, garis 7
   hari masa coba dipindah ke bawahnya dalam kotak tipis; kolom kiri tinggal judul, paragraf, dan tombol. */
@media (min-width: 621px) {
  .closing-panel { grid-template-rows: auto auto auto auto; align-items: start; row-gap: 0; }
  .closing-text { display: contents; }
  .closing-text > h2 { grid-column: 1; grid-row: 1; align-self: end; padding-top: 52px; }
  .closing-text > p { grid-column: 1; grid-row: 2; }
  .closing-actions { grid-column: 1; grid-row: 3; padding-bottom: 52px; }
  .closing-print { grid-column: 2; grid-row: 1 / span 2; align-self: start; }
  .paper-out { max-height: 220px; }
  .trial { grid-column: 2; grid-row: 3 / span 2; align-self: end; margin: 20px 0 28px; padding: 14px; border: 1px solid rgb(255 255 255 / 12%); border-radius: 14px; background: rgb(255 255 255 / 4%); }
  .trial-days { gap: 4px; }
  .trial-days li { padding-top: 7px; border-top-width: 5px; font-size: 11.5px; }
  .trial-legend { gap: 12px; margin-top: 12px; }
  .trial-legend p { font-size: 13px; }
  .trial-legend b { font-size: 12px; }
}
@media (min-width: 1081px) {
  .closing-text > h2 { padding-top: 68px; }
  .closing-actions { padding-bottom: 68px; }
  .paper-out { max-height: 260px; }
  .trial { margin: 24px 0 36px; padding: 18px; }
  .trial-days li { font-size: 12.5px; }
  .trial-legend p { font-size: 14px; }
  .trial-legend b { font-size: 13px; }
}
/* HP: printer menempel di tepi atas panel dan struk masa coba "baru keluar" (dipotong & memudar) sebagai pembuka;
   lalu judul, garis 7 hari, dan tombol di paling bawah dekat jempol ("Lihat harga" jadi tautan teks). */
@media (max-width: 480px) {
  .closing { padding: 40px 0 40px; }
  .closing-panel { display: flex; flex-direction: column; padding: 0 20px 24px; border-radius: 20px; }
  .closing-print { order: -1; padding-top: 0; }
  .printer { width: 100%; max-width: 280px; height: 40px; border-top: 0; border-radius: 0 0 14px 14px; }
  .printer::after { bottom: 9px; left: 22px; right: 22px; height: 5px; }
  .printer span { top: 10px; right: 14px; width: 6px; height: 6px; }
  .paper-out { margin: -11px 0 0; padding: 0 12px; max-height: 128px;
    -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
  .closing-receipt { font-size: 9.5px; }
  .closing-text { display: flex; flex-direction: column; padding: 4px 0 0; }
  .closing h2 { font-size: 26px; }
  .closing-text > p { margin-top: 10px; font-size: 15.5px; }
  .trial { order: 2; margin-top: 20px; padding: 14px; border: 1px solid rgb(255 255 255 / 12%); border-radius: 14px; background: rgb(255 255 255 / 4%); }
  .trial-days { gap: 4px; }
  .trial-days li { padding-top: 6px; border-top-width: 5px; font-size: 11px; }
  .trial-legend { gap: 12px; margin-top: 12px; }
  .trial-legend p { font-size: 13px; }
  .trial-legend b { font-size: 12px; }
  .closing-actions { order: 3; margin-top: 20px; flex-direction: column; align-items: stretch; gap: 2px; }
  .closing-actions .btn-light { width: 100%; }
  .closing-actions .btn-outline-light { border: 0; min-height: 44px; text-decoration: underline; text-underline-offset: 3px; }
}
/* HP (lanjutan): panel gelap selebar layar (tepi ke tepi, tanpa sudut) supaya terasa sebagai penutup halaman; printer
   lebih lebar dan struk sedikit lebih besar; garis 7 hari tanpa kotak, dipisah garis tipis; tombol utama lebih tinggi. */
@media (max-width: 480px) {
  .closing { padding: 0; }
  .closing .wrap { padding: 0; }
  .closing-panel { padding: 0 var(--gutter) 32px; border-radius: 0; }
  .printer { max-width: 320px; height: 44px; }
  .paper-out { max-height: 150px; padding: 0 16px; }
  .closing-receipt { font-size: 10.5px; }
  .closing-text { padding-top: 12px; }
  .closing h2 { font-size: 28px; line-height: 1.15; }
  .trial { padding: 18px 0 0; border: 0; border-top: 1px solid rgb(255 255 255 / 12%); border-radius: 0; background: none; }
  .closing-actions { margin-top: 24px; }
  .closing-actions .btn-light { min-height: 54px; font-size: 17px; }
}
@media (max-width: 480px) and (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) { .closing-receipt { animation-range: entry 0% cover 30%; } }
}

/* ── Footer: merek + ajakan di kiri, tiga kolom tautan, baris hak cipta ── */
.site-footer { padding: 56px 0 32px; font-size: 15px; color: var(--ink-muted); border-top: 1px solid var(--line); background: var(--slate); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 32px 40px; }
.foot-brand img { height: 18px; width: auto; }
.foot-brand p { margin-top: 14px; max-width: 26em; }
.foot-col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.foot-col h2 { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); margin-bottom: 4px; }
.foot-col a { text-decoration: none; color: var(--ink-muted); }
.foot-col a:hover { color: var(--indigo); text-decoration: underline; }
.site-footer .copy { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-muted); }
/* Tablet: tautan jadi daftar bergaris tipis (tinggi sentuh 44 px) seperti di HP; kontak jadi kartu putih.
   761–1080: kolom kiri = merek + kartu kontak, dua kolom kanan = Produk & Legal.
   521–760: baris atas = merek | kartu kontak, baris bawah = Produk | Legal. */
@media (min-width: 521px) and (max-width: 1080px) {
  .site-footer { padding: 44px 0 24px; }
  .foot-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 24px 40px; align-items: start; }
  .foot-brand { grid-column: 1; grid-row: 1; }
  .foot-brand p { font-size: 15px; }
  .foot-col { gap: 0; align-items: stretch; }
  .foot-col h2 { font-size: 12px; margin-bottom: 4px; color: var(--ink-muted); }
  .foot-col a { display: flex; align-items: center; min-height: 44px; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--ink); }
  .foot-col a:last-child { border-bottom: 0; }
  .foot-col a:hover { text-decoration: none; color: var(--indigo); }
  .foot-grid > nav.foot-col { grid-row: 1 / span 2; }
  .foot-col:last-child { grid-column: 1; grid-row: 2; padding: 14px 16px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md); }
  .foot-col:last-child a { min-height: 36px; border: 0; color: var(--indigo); overflow-wrap: anywhere; }
  .foot-col:last-child p { font-size: 14px; color: var(--ink-muted); }
  .site-footer .copy { margin-top: 32px; padding-top: 18px; font-size: 13.5px; }
}
/* Desktop: sama dengan tablet landscape — merek | Produk | Legal | kartu kontak dalam satu baris; tautan berupa daftar
   bergaris tipis, kontak jadi kartu putih. */
@media (min-width: 1081px) {
  .site-footer { padding: 56px 0 28px; }
  .foot-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.1fr); gap: 24px 48px; align-items: start; }
  .foot-brand p { max-width: 24em; }
  .foot-col { gap: 0; align-items: stretch; }
  .foot-col h2 { font-size: 12px; margin-bottom: 4px; color: var(--ink-muted); }
  .foot-col a { display: flex; align-items: center; min-height: 40px; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--ink); }
  .foot-col a:last-child { border-bottom: 0; }
  .foot-col a:hover { text-decoration: none; color: var(--indigo); }
  .foot-col:last-child { padding: 16px 18px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md); }
  .foot-col:last-child a { min-height: 36px; border: 0; color: var(--indigo); overflow-wrap: anywhere; }
  .foot-col:last-child a:hover { text-decoration: underline; }
  .foot-col:last-child p { font-size: 14px; color: var(--ink-muted); }
  .site-footer .copy { margin-top: 36px; }
}
/* Tablet landscape: satu baris empat kolom — merek | Produk | Legal | kartu kontak — sejajar di atas; footer lebih
   pendek. */
@media (min-width: 921px) and (max-width: 1080px) {
  .foot-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr) minmax(0, 1fr) minmax(0, 1.15fr); gap: 24px 32px; }
  .foot-brand { grid-column: 1; grid-row: 1; padding-right: 8px; }
  .foot-grid > nav.foot-col { grid-row: 1; }
  .foot-col:last-child { grid-column: 4; grid-row: 1; }
  .site-footer .copy { margin-top: 28px; }
}
@media (min-width: 521px) and (max-width: 760px) {
  .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 32px; }
  .foot-grid > nav.foot-col { grid-row: 2; }
  .foot-col:last-child { grid-column: 2; grid-row: 1; align-self: center; }
  .foot-brand { padding-right: 8px; }
}
/* HP: Produk & Legal berdampingan sebagai daftar tautan bergaris tipis (tinggi sentuh 44 px), kontak jadi kartu
   tersendiri dengan email yang mudah diketuk, hak cipta rata kiri di paling bawah. */
@media (max-width: 520px) {
  .site-footer { padding: 32px 0 20px; }
  .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 20px; }
  .foot-brand { grid-column: 1 / -1; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
  .foot-brand p { margin-top: 10px; font-size: 14.5px; }
  .foot-col { gap: 0; align-items: stretch; }
  .foot-col h2 { font-size: 12px; margin-bottom: 2px; color: var(--ink-muted); }
  .foot-col a { display: flex; align-items: center; min-height: 44px; border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 600; color: var(--ink); }
  .foot-col a:last-child { border-bottom: 0; }
  .foot-col a:hover { text-decoration: none; color: var(--indigo); }
  .foot-col:last-child { grid-column: 1 / -1; padding: 14px 16px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md); }
  .foot-col:last-child a { min-height: 40px; border: 0; color: var(--indigo); overflow-wrap: anywhere; }
  .foot-col:last-child p { font-size: 14px; color: var(--ink-muted); }
  .site-footer .copy { margin-top: 24px; padding-top: 16px; font-size: 13px; }
}

/* ── 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); }
/* ── Halaman legal: kepala abu dengan tab Privasi/Syarat, daftar isi menempel di kiri, isi selebar baca ── */
.legal-head { background: var(--slate); border-bottom: 1px solid var(--line); padding: 40px 0 36px; }
.legal-tabs { display: inline-flex; padding: 4px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; margin-bottom: 24px; }
.legal-tabs a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border-radius: 999px; font-weight: 700; font-size: 15px; color: var(--ink-muted); text-decoration: none; white-space: nowrap; }
.legal-tabs a[aria-current="page"] { background: var(--indigo); color: #fff; }
.legal-head h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; max-width: 20em; }
.legal-meta { margin-top: 12px; color: var(--ink-muted); font-size: 15px; }
.legal-meta strong { color: var(--ink); }
.legal-body { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 56px; align-items: start; padding-top: 48px; padding-bottom: 88px; }
.toc { position: sticky; top: 92px; max-height: calc(100vh - 120px); overflow-y: auto; padding: 18px 18px 14px; background: var(--slate); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.toc p { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 8px; }
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc a { display: block; padding: 6px 0; font-size: 14.5px; line-height: 1.4; color: var(--ink-muted); text-decoration: none; }
.toc a:hover { color: var(--indigo); }
.legal .doc { max-width: 46em; }
.legal .doc > :first-child { margin-top: 0; }
.legal .doc hr { display: none; } /* tiap bagian sudah dibuka garis di atas judulnya */
.legal .doc h2 { scroll-margin-top: 92px; padding-top: 28px; border-top: 1px solid var(--line); }
@media (max-width: 920px) {
  .legal-body { grid-template-columns: 1fr; gap: 28px; padding-top: 28px; }
  .toc { position: static; max-height: none; }
  .toc ol { columns: 2; column-gap: 24px; }
}
/* Tablet & desktop (≥561 px): tab bersegmen tenang seperti HP, pasal bernomor dalam lingkaran, tabel dalam bingkai membulat.
   921–1080: daftar isi tetap di samping tapi lebih ramping. 561–920: daftar isi jadi bilah "Daftar isi" + chip yang
   menempel di bawah header (sama dengan HP, sasaran sentuh lebih besar). */
@media (min-width: 561px) {
  .legal-head { padding: 32px 0 30px; }
  .legal-tabs { background: var(--sunken); border: 0; }
  .legal-tabs a { min-height: 42px; padding: 0 20px; }
  .legal-tabs a[aria-current="page"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 2px rgb(15 23 42 / 10%), 0 0 0 1px var(--line); }
  .legal .doc { font-size: 16.5px; line-height: 1.7; }
  .legal .doc ol { list-style: none; padding: 0; counter-reset: pasal; }
  .legal .doc ol > li { position: relative; padding-left: 40px; counter-increment: pasal; }
  .legal .doc ol > li + li { margin-top: 14px; }
  .legal .doc ol > li::before { content: counter(pasal); position: absolute; left: 0; top: 2px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 999px; background: var(--sunken); color: var(--ink-muted); font-size: 13px; font-weight: 700; line-height: 1; }
  .legal .doc ul li::marker { color: var(--ink-muted); }
  .legal .doc .table-scroll { margin: 18px 0 22px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--paper); }
  .legal .doc table { margin: 0; font-size: 15px; }
  .legal .doc th { padding: 12px 16px; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-muted); }
  .legal .doc td { padding: 14px 16px; }
  .legal .doc tbody tr:last-child td { border-bottom: 0; }
  .legal .doc td:first-child { font-weight: 600; color: var(--ink); }
}
/* Tablet landscape & desktop (≥921 px): kepala ringkas satu baris (judul & tanggal di kiri, tab di kanan); daftar isi tanpa kotak, bergaris
   kiri, dan menandai bagian yang sedang dibaca (Chrome 140+); isi dibatasi ±70 karakter per baris. */
@media (min-width: 921px) {
  .legal-head { padding: 28px 0 26px; }
  .legal-head .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 32px; }
  .legal-tabs { grid-column: 2; grid-row: 1 / span 2; margin: 0; }
  .legal-head h1 { grid-column: 1; grid-row: 1; font-size: 36px; }
  .legal-meta { grid-column: 1; grid-row: 2; margin-top: 6px; }
  .legal-body { grid-template-columns: 240px minmax(0, 1fr); gap: 48px; padding-top: 36px; }
  .toc { top: calc(var(--hdr) + 24px); max-height: calc(100vh - var(--hdr) - 48px); padding: 0 0 0 0; background: none; border: 0; border-radius: 0; }
  .toc p { padding-left: 14px; }
  .toc ol { border-left: 2px solid var(--line); }
  .toc a { margin-left: -2px; padding: 6px 0 6px 14px; font-size: 14px; border-left: 2px solid transparent; }
  .toc a:hover { border-left-color: var(--line-strong); }
  .legal .doc { max-width: 40em; }
  .legal .doc h2 { scroll-margin-top: calc(var(--hdr) + 24px); }
}
/* Desktop lebar: judul sedikit lebih besar, kolom daftar isi & jarak lebih lega. */
@media (min-width: 1081px) {
  .legal-head { padding: 36px 0 32px; }
  .legal-head h1 { font-size: 42px; }
  .legal-body { grid-template-columns: 260px minmax(0, 1fr); gap: 72px; padding-top: 44px; }
}
/* Daftar isi menandai bagian yang sedang dibaca, sama di Chrome, Firefox & Safari: tiap bagian (.doc-part) punya
   view-timeline yang dipersempit jadi pita setinggi jarak antarbagian (44 px) tepat di bawah header, sehingga judul
   yang baru diklik langsung tertanda dan bagian yang berurutan tidak pernah menyala bersamaan. Bagian terakhir sering
   tak bisa naik sampai pita, jadi begitu footer masuk penuh (dasar halaman) tautan terakhirlah yang tertanda. */
@keyframes toc-on { from, to { color: var(--indigo); font-weight: 700; border-left-color: var(--indigo); } }
@keyframes toc-off { from, to { color: var(--ink-muted); font-weight: 400; border-left-color: transparent; } }
@media (min-width: 921px) {
  @supports (animation-timeline: view()) and (timeline-scope: --a) {
    .doc-part { view-timeline-inset: calc(var(--hdr) + 16px) calc(100% - var(--hdr) - 60px); }
    .site-footer { view-timeline-name: --legal-end; }
    .toc a { animation: toc-on linear, toc-off linear forwards; animation-range: normal, entry 99% entry 100%; }
    .toc li:last-child a { animation-name: toc-on, toc-on; }
    .doc-part:nth-of-type(1) { view-timeline-name: --part-1; } .toc li:nth-child(1) a { animation-timeline: --part-1, --legal-end; }
    .doc-part:nth-of-type(2) { view-timeline-name: --part-2; } .toc li:nth-child(2) a { animation-timeline: --part-2, --legal-end; }
    .doc-part:nth-of-type(3) { view-timeline-name: --part-3; } .toc li:nth-child(3) a { animation-timeline: --part-3, --legal-end; }
    .doc-part:nth-of-type(4) { view-timeline-name: --part-4; } .toc li:nth-child(4) a { animation-timeline: --part-4, --legal-end; }
    .doc-part:nth-of-type(5) { view-timeline-name: --part-5; } .toc li:nth-child(5) a { animation-timeline: --part-5, --legal-end; }
    .doc-part:nth-of-type(6) { view-timeline-name: --part-6; } .toc li:nth-child(6) a { animation-timeline: --part-6, --legal-end; }
    .doc-part:nth-of-type(7) { view-timeline-name: --part-7; } .toc li:nth-child(7) a { animation-timeline: --part-7, --legal-end; }
    .doc-part:nth-of-type(8) { view-timeline-name: --part-8; } .toc li:nth-child(8) a { animation-timeline: --part-8, --legal-end; }
    .doc-part:nth-of-type(9) { view-timeline-name: --part-9; } .toc li:nth-child(9) a { animation-timeline: --part-9, --legal-end; }
    .doc-part:nth-of-type(10) { view-timeline-name: --part-10; } .toc li:nth-child(10) a { animation-timeline: --part-10, --legal-end; }
    .doc-part:nth-of-type(11) { view-timeline-name: --part-11; } .toc li:nth-child(11) a { animation-timeline: --part-11, --legal-end; }
    .doc-part:nth-of-type(12) { view-timeline-name: --part-12; } .toc li:nth-child(12) a { animation-timeline: --part-12, --legal-end; }
    .doc-part:nth-of-type(13) { view-timeline-name: --part-13; } .toc li:nth-child(13) a { animation-timeline: --part-13, --legal-end; }
    .doc-part:nth-of-type(14) { view-timeline-name: --part-14; } .toc li:nth-child(14) a { animation-timeline: --part-14, --legal-end; }
    .doc-part:nth-of-type(15) { view-timeline-name: --part-15; } .toc li:nth-child(15) a { animation-timeline: --part-15, --legal-end; }
    .doc-part:nth-of-type(16) { view-timeline-name: --part-16; } .toc li:nth-child(16) a { animation-timeline: --part-16, --legal-end; }
    .doc-part:nth-of-type(17) { view-timeline-name: --part-17; } .toc li:nth-child(17) a { animation-timeline: --part-17, --legal-end; }
    .doc-part:nth-of-type(18) { view-timeline-name: --part-18; } .toc li:nth-child(18) a { animation-timeline: --part-18, --legal-end; }
    .doc-part:nth-of-type(19) { view-timeline-name: --part-19; } .toc li:nth-child(19) a { animation-timeline: --part-19, --legal-end; }
    .doc-part:nth-of-type(20) { view-timeline-name: --part-20; } .toc li:nth-child(20) a { animation-timeline: --part-20, --legal-end; }
    .doc-part:nth-of-type(21) { view-timeline-name: --part-21; } .toc li:nth-child(21) a { animation-timeline: --part-21, --legal-end; }
    .doc-part:nth-of-type(22) { view-timeline-name: --part-22; } .toc li:nth-child(22) a { animation-timeline: --part-22, --legal-end; }
    .doc-part:nth-of-type(23) { view-timeline-name: --part-23; } .toc li:nth-child(23) a { animation-timeline: --part-23, --legal-end; }
    .doc-part:nth-of-type(24) { view-timeline-name: --part-24; } .toc li:nth-child(24) a { animation-timeline: --part-24, --legal-end; }
  }
}
@media (min-width: 561px) and (max-width: 920px) {
  .legal-body { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 0; padding-bottom: 72px; }
  .legal-body > * { min-width: 0; }
  .toc { position: sticky; top: var(--hdr); z-index: 4; display: flex; align-items: center; margin: 0 calc(-1 * var(--gutter)); padding: 10px 0; border: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 0; background: rgb(255 255 255 / 94%); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); overflow: visible; max-height: none; }
  .toc p { flex: none; margin: 0; padding: 0 14px 0 var(--gutter); font-size: 11.5px; line-height: 36px; border-right: 1px solid var(--line); }
  .toc ol { flex: 1; min-width: 0; columns: auto; display: flex; gap: 8px; overflow-x: auto; padding: 0 var(--gutter) 0 14px; scrollbar-width: none; overscroll-behavior-x: contain; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
  .toc ol::-webkit-scrollbar { display: none; }
  .toc li { flex: none; }
  .toc a { display: flex; align-items: center; min-height: 36px; padding: 0 14px; font-size: 14px; white-space: nowrap; background: var(--slate); border: 1px solid var(--line); border-radius: 999px; color: var(--ink); }
  .legal .doc { max-width: 42em; padding-top: 28px; }
  .legal .doc h2 { margin-top: 44px; padding-top: 26px; scroll-margin-top: calc(var(--hdr) + 72px); }
}
/* HP: kepala ringkas dengan tab bersegmen; daftar isi jadi bilah "Isi" + chip yang digeser menyamping dan menempel
   di bawah header; pasal bernomor dalam lingkaran kecil; tabel berubah jadi tumpukan kartu dengan keterangan kolom
   di atasnya, jadi tidak perlu digeser menyamping. */
@media (max-width: 560px) {
  .legal-head { padding: 16px 0 22px; background: var(--paper); border-bottom: 0; }
  .legal-tabs { display: flex; margin-bottom: 20px; background: var(--sunken); border: 0; }
  .legal-tabs a { flex: 1; justify-content: center; min-height: 38px; padding: 0 8px; font-size: 14px; }
  .legal-tabs a[aria-current="page"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 2px rgb(15 23 42 / 10%), 0 0 0 1px var(--line); }
  .legal-head h1 { font-size: 25px; line-height: 1.2; }
  .legal-meta { font-size: 13.5px; margin-top: 8px; }
  .legal-body { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 0; padding-bottom: 56px; }
  .legal-body > * { min-width: 0; }
  .toc { position: sticky; top: var(--hdr); z-index: 4; display: flex; align-items: center; margin: 0 calc(-1 * var(--gutter)); padding: 8px 0; border: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 0; background: rgb(255 255 255 / 94%); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); overflow: visible; max-height: none; }
  .toc p { flex: none; margin: 0; padding: 0 10px 0 var(--gutter); font-size: 11px; line-height: 32px; border-right: 1px solid var(--line); }
  .toc ol { flex: 1; min-width: 0; columns: auto; display: flex; gap: 6px; overflow-x: auto; padding: 0 var(--gutter) 0 10px; scrollbar-width: none; overscroll-behavior-x: contain; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .toc ol::-webkit-scrollbar { display: none; }
  .toc li { flex: none; }
  .toc a { display: flex; align-items: center; min-height: 32px; padding: 0 12px; font-size: 13px; white-space: nowrap; background: var(--slate); border: 1px solid var(--line); border-radius: 999px; color: var(--ink); }
  .legal .doc { padding-top: 20px; font-size: 15.5px; line-height: 1.65; }
  .legal .doc h2 { font-size: 19px; line-height: 1.3; margin: 36px 0 12px; padding-top: 22px; scroll-margin-top: calc(var(--hdr) + 60px); }
  .legal .doc h3 { font-size: 16px; }
  .legal .doc ul { padding-left: 18px; }
  .legal .doc ul li::marker { color: var(--ink-muted); }
  .legal .doc ol { list-style: none; padding: 0; counter-reset: pasal; }
  .legal .doc ol > li { position: relative; padding-left: 34px; counter-increment: pasal; }
  .legal .doc ol > li + li { margin-top: 12px; }
  .legal .doc ol > li::before { content: counter(pasal); position: absolute; left: 0; top: 2px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 999px; background: var(--sunken); color: var(--ink-muted); font-size: 12px; font-weight: 700; line-height: 1; }
  .legal .doc .table-scroll { overflow: visible; margin: 14px 0 18px; }
  .legal .doc table, .legal .doc tbody, .legal .doc tr, .legal .doc td { display: block; }
  .legal .doc table { margin: 0; font-size: 14.5px; }
  .legal .doc thead tr { display: flex; flex-wrap: wrap; gap: 2px 0; margin-bottom: 8px; }
  .legal .doc th { padding: 0; background: none; border: 0; font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-muted); }
  .legal .doc th + th::before { content: "\00b7"; padding: 0 6px; }
  .legal .doc tbody tr { padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--paper); }
  .legal .doc tbody tr + tr { margin-top: 8px; }
  .legal .doc td { padding: 0; border: 0; }
  .legal .doc td:first-child { font-weight: 700; color: var(--ink); line-height: 1.45; }
  .legal .doc td + td { margin-top: 6px; color: var(--ink-muted); }
  .legal .doc td:nth-child(2):not(:last-child) { display: inline-block; margin-top: 8px; padding: 3px 10px; border-radius: 8px; background: var(--sunken); color: var(--ink); font-size: 13px; font-weight: 600; }
  .legal .doc td:nth-child(2):not(:last-child) strong { font-weight: 700; }
}
.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-muted); font-size: 15px; margin-top: 10px; }

/* ── Halaman download ── */
.page.dl .wrap { max-width: var(--wrap); }
.dl-top { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 56px; align-items: center; }
.dl-top h1 { margin-top: 16px; }
.get { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 24px; align-items: center; margin-top: 28px; padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); box-shadow: 0 12px 32px -16px rgb(15 23 42 / 18%); }
.get .ver { font-size: 15px; color: var(--ink-muted); }
.get .ver b { color: var(--ink); font-size: 17px; }
.apk-id { grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; margin: 0; padding-top: 14px; border-top: 1px solid var(--line); 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); }
.needs { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 15px; color: var(--ink-muted); }
.needs li { position: relative; padding-left: 20px; }
.needs li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 9px; height: 5px; border-left: 2px solid var(--success); border-bottom: 2px solid var(--success); transform: rotate(-45deg); }
.needs b { color: var(--ink); font-weight: 700; }
.dl-visual .device-tablet { box-shadow: 0 24px 48px -20px rgb(15 23 42 / 40%); }
.dl-h2 { margin-top: 72px; font-size: clamp(24px, 3vw, 32px); font-weight: 800; }
.install { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; counter-reset: i; }
.install li { counter-increment: i; background: var(--slate); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px 24px; }
.install li::before { content: counter(i); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 999px; background: var(--indigo); color: #fff; font-weight: 800; margin-bottom: 14px; }
.install h3 { font-size: 18px; font-weight: 800; }
.install p { margin-top: 6px; color: var(--ink-muted); font-size: 16px; }
.dl-notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.dl-note { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px 24px; }
.dl-note h2 { font-size: 17px; font-weight: 800; }
.dl-note p { margin-top: 6px; color: var(--ink-muted); font-size: 15.5px; }
.dl-warn { background: var(--amber-soft); border-color: #FDE68A; }
.dl-warn h2, .dl-warn p { color: #92400E; }
.dl-warn a { color: #92400E; font-weight: 700; }
@media (max-width: 920px) {
  .dl-top { grid-template-columns: 1fr; gap: 36px; }
  .dl-visual { max-width: 560px; }
}

/* ── 404 ── */
/* Struk "batal" sebagai visual — motif struk yang sama dengan hero & penutup. */
.lost { padding: 88px 0 104px; background: var(--slate); border-bottom: 1px solid var(--line); }
.lost .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 56px; align-items: center; max-width: 960px; }
.lost h1 { margin-top: 16px; font-size: clamp(34px, 5vw, 52px); font-weight: 800; }
.lost-text > p { margin-top: 14px; font-size: 18px; color: var(--ink-muted); max-width: 30em; }
.lost-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.lost-links { list-style: none; margin: 28px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 24px; }
.lost-links a { color: var(--indigo); font-weight: 600; text-decoration: none; }
.lost-links a:hover { text-decoration: underline; }
.lost-receipt { position: relative; right: auto; bottom: auto; transform: rotate(-3deg); }
/* HP: pas satu layar — struk batal kecil di atas, teks & tombol di bawahnya, tautan cepat jadi chip. */
@media (max-width: 760px) {
  .lost { padding: 24px 0 28px; display: flex; align-items: center; min-height: calc(100vh - var(--hdr)); min-height: calc(100svh - var(--hdr)); }
  .lost .wrap { grid-template-columns: 1fr; gap: 24px; }
  .lost-receipt { order: -1; justify-self: center; font-size: 9px; padding: 12px 12px 18px; }
  .lost h1 { margin-top: 12px; font-size: 30px; }
  .lost-text > p { font-size: 16px; margin-top: 10px; }
  .lost-actions { margin-top: 20px; gap: 10px; }
  .lost-actions .btn { flex: 1 1 auto; }
  .lost-links { margin-top: 20px; padding-top: 16px; gap: 6px; }
  .lost-links a { display: inline-flex; align-items: center; min-height: 34px; padding: 0 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; font-size: 14px; }
}

/* Tablet: setinggi satu layar. Struk batal bercap "BATAL" tergantung dari bawah header seperti di HP; tautan cepat
   jadi kotak bersekat, tombol berdampingan. Landscape 761–1080: struk di kiri, teks di kanan (tengah vertikal).
   521–760 & tablet portrait: struk di tengah atas, teks di tengah ruang sisanya dalam kolom selebar baca. */
@media (min-width: 521px) and (max-width: 1080px) {
  .lost { padding: 0; display: flex; align-items: stretch; min-height: calc(100vh - var(--hdr)); min-height: calc(100svh - var(--hdr)); overflow: hidden; }
  .lost .wrap { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 56px; align-items: start; width: 100%; }
  .lost-receipt { order: -1; position: relative; transform: none; font-size: 14px; padding: 20px 20px 28px; animation: none; }
  .lost-receipt::after { content: "BATAL"; position: absolute; right: 18px; top: 46%; padding: 2px 12px; border: 2px solid #B8481C; border-radius: 6px; color: #B8481C; font: 800 21px/1.2 var(--mono); letter-spacing: .18em; transform: rotate(-12deg); opacity: .85; }
  .lost-text { align-self: center; padding: 48px 0; }
  .lost h1 { margin-top: 14px; font-size: clamp(34px, 4.4vw, 44px); line-height: 1.12; }
  .lost-text > p { font-size: 17px; }
  .lost-actions { gap: 12px; margin-top: 24px; }
  .lost-actions .btn { flex: 1 1 0; min-height: 48px; }
  .lost-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 24px; padding: 0; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--paper); overflow: hidden; }
  .lost-links li + li { border-left: 1px solid var(--line); }
  .lost-links a { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 6px; text-align: center; font-size: 14.5px; background: none; border: 0; border-radius: 0; }
}
@media (min-width: 521px) and (max-width: 760px), (min-width: 761px) and (max-width: 1080px) and (orientation: portrait) {
  .lost .wrap { grid-template-columns: minmax(0, 1fr); gap: 0; justify-items: center; align-content: start; }
  .lost-text { width: 100%; max-width: 520px; padding: 44px 0 56px; text-align: center; }
  .lost-text > p { margin-left: auto; margin-right: auto; }
  .lost-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lost-links li + li { border-left: 0; }
  .lost-links li:nth-child(even) { border-left: 1px solid var(--line); }
  .lost-links li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (min-width: 761px) and (max-width: 1080px) and (orientation: portrait) {
  .lost-receipt { font-size: 14.5px; padding: 22px 22px 30px; }
  .lost-receipt::after { font-size: 24px; }
  .lost-text { padding-top: 56px; }
}
@media (min-width: 521px) and (max-width: 1080px) and (prefers-reduced-motion: no-preference) {
  .lost-receipt { animation: feed-in-t .9s cubic-bezier(.2, .7, .2, 1) .2s both; }
  @keyframes feed-in-t { from { transform: translateY(-100%); } }
}
/* Tablet landscape: komposisi seimbang di tengah layar — struk batal besar dan sedikit miring di kiri (tidak lagi
   menggantung pendek di pojok atas), teks & tombol di kanan; keduanya di tengah vertikal. */
@media (min-width: 761px) and (max-width: 1080px) and (orientation: landscape) {
  .lost { align-items: center; }
  .lost .wrap { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 64px; max-width: 960px; }
  .lost-receipt { font-size: 15px; padding: 22px 22px 30px; transform: rotate(-3deg); animation: none; }
  .lost-receipt::after { font-size: 26px; }
  .lost-text { padding: 40px 0; }
}
@media (min-width: 761px) and (max-width: 1080px) and (orientation: landscape) and (prefers-reduced-motion: no-preference) {
  .lost-receipt { animation: print-tilt 1s cubic-bezier(.2, .7, .2, 1) .2s both; }
}
/* Desktop: setinggi satu layar, sama dengan tablet landscape — struk batal besar & sedikit miring bercap "BATAL" di
   kiri, teks di kanan; tautan cepat jadi kotak 4 kolom bersekat, tombol berdampingan sama lebar. */
@media (min-width: 1081px) {
  .lost { padding: 0; display: flex; align-items: center; min-height: calc(100vh - var(--hdr)); min-height: calc(100svh - var(--hdr)); overflow: hidden; }
  .lost .wrap { grid-template-columns: auto minmax(0, 1fr); gap: 88px; width: 100%; max-width: 1040px; }
  .lost-receipt { order: -1; font-size: 16px; padding: 24px 24px 32px; transform: rotate(-3deg); animation: none; }
  .lost-receipt::after { content: "BATAL"; position: absolute; right: 22px; top: 46%; padding: 2px 14px; border: 2px solid #B8481C; border-radius: 6px; color: #B8481C; font: 800 28px/1.2 var(--mono); letter-spacing: .18em; transform: rotate(-12deg); opacity: .85; }
  .lost h1 { font-size: 52px; line-height: 1.08; }
  .lost-actions .btn { flex: 1 1 0; min-height: 52px; }
  .lost-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 24px; padding: 0; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--paper); overflow: hidden; }
  .lost-links li + li { border-left: 1px solid var(--line); }
  .lost-links a { display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 8px; text-align: center; font-size: 15px; }
  .lost-links a:hover { background: var(--slate); text-decoration: none; }
}
/* Struk 404 "tercetak" dengan tetap miring (dipakai tablet landscape & desktop). */
@keyframes print-tilt { from { transform: translateY(-24px) rotate(-3deg); opacity: 0; } to { transform: rotate(-3deg); opacity: 1; } }
@media (min-width: 1081px) and (prefers-reduced-motion: no-preference) {
  .lost-receipt { animation: print-tilt 1s cubic-bezier(.2, .7, .2, 1) .2s both; }
}
/* HP kecil: struk batal tergantung dari tepi atas (keluar dari bawah header) dengan cap "BATAL"; tautan cepat jadi
   kotak 2×2; tombol menumpuk di dasar layar dekat jempol. */
@media (max-width: 520px) {
  .lost { padding: 0 0 24px; align-items: stretch; overflow: hidden; }
  .lost .wrap { display: flex; flex-direction: column; gap: 22px; }
  .lost-receipt { position: relative; align-self: center; transform: none; font-size: 10px; padding: 14px 14px 20px; animation: none; }
  .lost-receipt::after { content: "BATAL"; position: absolute; right: 14px; top: 46%; padding: 2px 10px; border: 2px solid #B8481C; border-radius: 6px; color: #B8481C; font: 800 17px/1.2 var(--mono); letter-spacing: .18em; transform: rotate(-12deg); opacity: .85; }
  .lost-text { flex: 1; display: flex; flex-direction: column; }
  .lost-text .pill { display: none; }
  .lost h1 { margin-top: 0; font-size: 28px; line-height: 1.15; }
  .lost-text > p { font-size: 15.5px; }
  .lost-links { order: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 20px; padding: 0; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--paper); overflow: hidden; }
  .lost-links li:nth-child(even) { border-left: 1px solid var(--line); }
  .lost-links li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .lost-links a { display: flex; justify-content: center; min-height: 48px; padding: 0 8px; border: 0; border-radius: 0; background: none; font-size: 14.5px; }
  .lost-actions { order: 3; flex-direction: column; margin-top: auto; padding-top: 20px; gap: 10px; }
  .lost-actions .btn { flex: none; width: 100%; min-height: 50px; }
}
/* HP pendek (≤700 px): rapatkan supaya tombol tetap terlihat tanpa menggulir. */
@media (max-width: 520px) and (max-height: 700px) {
  .lost { padding-bottom: 16px; }
  .lost .wrap { gap: 16px; }
  .lost-receipt { font-size: 8.5px; padding: 10px 12px 16px; }
  .lost-receipt::after { font-size: 14px; }
  .lost h1 { font-size: 26px; }
  .lost-text > p { margin-top: 8px; font-size: 15px; }
  .lost-links { margin-top: 16px; }
  .lost-links a { min-height: 44px; }
  .lost-actions { padding-top: 16px; }
  .lost-actions .btn { min-height: 48px; }
}
@media (max-width: 520px) and (prefers-reduced-motion: no-preference) {
  .lost-receipt { animation: feed-in .9s cubic-bezier(.2, .7, .2, 1) .2s both; }
  @keyframes feed-in { from { transform: translateY(-100%); } }
}

.section-tint { background: var(--slate); }
@media (max-width: 480px) { .hero .actions .btn { flex: 1 1 auto; padding: 0 16px; } }
.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: dua kartu (tablet kasir & HP pemilik) dengan tangkapan layar asli yang "keluar" dari bawah kartu,
   lalu satu baris "satu data di server" + tombol. ── */
.pair { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px; }
.pair-card { display: flex; flex-direction: column; background: var(--slate); border: 1px solid var(--line); border-radius: 24px; padding: 32px 32px 0; overflow: hidden; }
.pair-who { align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--indigo); }
.pair-card h3 { margin-top: 8px; font-size: 24px; font-weight: 800; }
.pair-card > p:not(.pair-who) { margin-top: 8px; color: var(--ink-muted); font-size: 16px; max-width: 30em; }
.pair-shot { margin-top: auto; padding-top: 32px; }
.pair-shot .device { border-bottom-left-radius: 0; border-bottom-right-radius: 0; padding-bottom: 0; }
.pair-shot .device img { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.device-hp { width: min(62%, 240px); margin: 0 auto; border-radius: 30px; padding: 8px; }
.device-hp img { border-radius: 22px; aspect-ratio: 9 / 13; object-fit: cover; object-position: top; }
.pair-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin-top: 20px; padding: 20px 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.pair-foot p { color: var(--ink-muted); max-width: 40em; }
.pair-foot b { color: var(--ink); }
@media (max-width: 920px) {
  .pair { grid-template-columns: 1fr; }
  .pair-card { padding: 24px 24px 0; }
}
.pair-hint { display: none; }
/* HP: dua kartu digeser menyamping (tablet kasir lalu HP pemilik), tinggi sama, teks lebih ringkas. */
@media (max-width: 600px) {
  .pair { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--gutter);
          margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 4px; scrollbar-width: none; overscroll-behavior-x: contain; }
  .pair::-webkit-scrollbar { display: none; }
  .pair-card { flex: 0 0 86%; scroll-snap-align: start; padding: 20px 20px 0; border-radius: 20px; }
  .pair-card h3 { font-size: 20px; }
  .pair-card > p:not(.pair-who) { font-size: 15px; }
  .pair-shot { padding-top: 20px; }
  .device-hp { width: 58%; }
  .device-hp img { aspect-ratio: 9 / 10; }
  .pair-hint { display: block; margin-top: 10px; text-align: center; font-size: 13px; color: var(--ink-muted); }
  .pair-hint::after { content: " \2192"; }
  .pair-foot { margin-top: 16px; }
}
/* HP & tablet portrait (≤920): bukan lagi dua kartu (digeser / bertumpuk) — satu panel: tablet kasir di belakang dan
   HP pemilik di depan kanan (keduanya terlihat sekaligus, "satu data"), lalu penjelasan masing-masing berdampingan di
   bawahnya, dipisah garis. */
@media (max-width: 920px) {
  .pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 0; margin: 0; padding: 22px 16px 18px; overflow: visible;
          background: var(--slate); border: 1px solid var(--line); border-radius: 20px; scroll-snap-type: none; }
  .pair-card { display: contents; }
  .pair-shot { grid-row: 1; grid-column: 1 / -1; margin: 0 0 22px; padding: 0; }
  .pair-card:first-child .pair-shot { justify-self: start; width: 86%; padding-top: 6px; }
  .pair-card:last-child .pair-shot { justify-self: end; align-self: end; width: 31%; margin-bottom: 10px; position: relative; z-index: 1; }
  .pair-shot .device, .pair-shot .device img { border-bottom-left-radius: inherit; border-bottom-right-radius: inherit; }
  .pair-shot .device-tablet { padding: 6px; border-radius: 14px; }
  .pair-shot .device-tablet img { border-radius: 9px; }
  .pair-card:last-child .device-hp { width: 100%; padding: 5px; border-radius: 18px; box-shadow: 0 18px 32px -12px rgb(15 23 42 / 45%); }
  .pair-card:last-child .device-hp img { aspect-ratio: 9 / 16; border-radius: 13px; }
  .pair-who, .pair-card h3, .pair-card > p:not(.pair-who) { padding: 0 12px; }
  .pair-card:first-child > * { grid-column: 1; }
  .pair-card:last-child > * { grid-column: 2; border-left: 1px solid var(--line); }
  .pair-card:first-child .pair-who, .pair-card:last-child .pair-who { grid-row: 2; align-self: start; font-size: 11px; }
  .pair-card h3 { grid-row: 3; margin-top: 4px; font-size: 16px; line-height: 1.25; }
  .pair-card > p:not(.pair-who) { grid-row: 4; margin-top: 4px; font-size: 13.5px; line-height: 1.5; }
  .pair-card:first-child > .pair-shot, .pair-card:last-child > .pair-shot { grid-column: 1 / -1; border-left: 0; }
  .pair-card:last-child .pair-who { color: var(--success); }
  .pair-hint { display: none; }
}
/* HP (≤600): jarak label-judul-teks dirapatkan (row-gap grid bawaan dinolkan); kotak "Satu data di server" lebih ringkas:
   tombol Download penuh, label Google Play diredam jadi pil bergaris putus-putus di bawahnya. */
@media (max-width: 600px) {
  .pair { row-gap: 0; }
  .pair-card h3 { margin-top: 5px; }
  .pair-card > p:not(.pair-who) { margin-top: 6px; }
  .pair-foot { gap: 14px; padding: 16px; }
  .pair-foot p { font-size: 14.5px; }
  .pair-foot .pair-cta { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 10px; width: 100%; }
  .pair-foot .pair-cta .btn { width: 100%; min-height: 50px; }
  .pair-foot .pair-cta .stores { width: auto; }
  .pair-foot .pair-cta .store { flex: none; flex-direction: row; align-items: baseline; gap: 5px; min-height: 34px; padding: 5px 14px; background: none; border: 1px dashed var(--line-strong); border-radius: 999px; }
  .pair-foot .pair-cta .store small { font-size: 13px; letter-spacing: 0; text-transform: none; font-weight: 500; color: var(--ink-muted); }
  .pair-foot .pair-cta .store b { font-size: 13px; font-weight: 700; color: var(--ink); }
}
@media (min-width: 601px) and (max-width: 920px) {
  .pair { row-gap: 0; padding: 36px 32px 32px; border-radius: 24px; }
  .pair-shot { margin-bottom: 36px; }
  .pair-card > p:not(.pair-who) { margin-top: 8px; }
  .pair-foot { padding: 18px 22px; gap: 14px 20px; }
  .pair-foot p { font-size: 14.5px; }
  .pair-card:first-child .pair-shot { width: 80%; }
  .pair-card:last-child .pair-shot { width: 27%; margin-bottom: 0; }
  .pair-shot { margin-bottom: 32px; }
  .pair-shot .device-tablet { padding: 10px; border-radius: 20px; }
  .pair-shot .device-tablet img { border-radius: 11px; }
  .pair-card:last-child .device-hp { padding: 8px; border-radius: 28px; }
  .pair-card:last-child .device-hp img { border-radius: 20px; }
  .pair-who, .pair-card h3, .pair-card > p:not(.pair-who) { padding: 0 24px; }
  .pair-card:first-child .pair-who, .pair-card:last-child .pair-who { font-size: 12px; }
  .pair-card h3 { margin-top: 6px; font-size: 21px; }
  .pair-card > p:not(.pair-who) { margin-top: 6px; font-size: 15.5px; }
}
/* Tablet landscape & desktop (≥921): satu panel juga — tablet kasir & HP pemilik bertumpuk di kiri, penjelasan keduanya
   bertumpuk di kanan dipisah garis, di tengah vertikal. */
@media (min-width: 921px) {
  .pair { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); grid-template-rows: repeat(6, auto); align-content: center; column-gap: 40px; row-gap: 0; padding: 36px; background: var(--slate); border: 1px solid var(--line); border-radius: 24px; }
  .pair-card { display: contents; }
  .pair-card > .pair-shot { grid-column: 1; grid-row: 1 / -1; align-self: center; margin: 0; padding: 0; }
  .pair-card:first-child > .pair-shot { justify-self: start; width: 86%; }
  .pair-card:last-child > .pair-shot { justify-self: end; align-self: end; width: 30%; position: relative; z-index: 1; margin-bottom: -8px; }
  .pair-shot .device, .pair-shot .device img { border-bottom-left-radius: inherit; border-bottom-right-radius: inherit; }
  .pair-shot .device-tablet { padding: 10px; border-radius: 20px; }
  .pair-shot .device-tablet img { border-radius: 11px; }
  .pair-card:last-child .device-hp { width: 100%; padding: 7px; border-radius: 26px; box-shadow: 0 18px 32px -12px rgb(15 23 42 / 45%); }
  .pair-card:last-child .device-hp img { aspect-ratio: 9 / 16; border-radius: 19px; }
  .pair-card > :not(.pair-shot) { grid-column: 2; }
  .pair-card:first-child .pair-who { grid-row: 1; }
  .pair-card:first-child h3 { grid-row: 2; }
  .pair-card:first-child > p:not(.pair-who) { grid-row: 3; align-self: start; padding-bottom: 22px; }
  .pair-card:last-child .pair-who { grid-row: 4; padding-top: 22px; border-top: 1px solid var(--line); color: var(--success); }
  .pair-card:last-child h3 { grid-row: 5; }
  .pair-card:last-child > p:not(.pair-who) { grid-row: 6; align-self: start; }
  .pair-card h3 { font-size: 21px; }
  .pair-card > p:not(.pair-who) { font-size: 15.5px; }
}
@media (min-width: 1081px) {
  .pair { column-gap: 64px; padding: 48px 56px; border-radius: 28px; }
  .pair-shot .device-tablet { padding: 12px; border-radius: 22px; }
  .pair-shot .device-tablet img { border-radius: 12px; }
  .pair-card:last-child .device-hp { padding: 8px; border-radius: 30px; }
  .pair-card:last-child .device-hp img { border-radius: 22px; }
  .pair-card h3 { font-size: 24px; }
  .pair-card > p:not(.pair-who) { font-size: 16.5px; }
  .pair-card:first-child > p:not(.pair-who) { padding-bottom: 28px; }
  .pair-card:last-child .pair-who { padding-top: 28px; }
}
/* Tablet landscape & desktop: kotak "Satu data di server" satu baris — teks di kiri, tombol & label Google Play di
   kanan (tidak terlipat dua). */
@media (min-width: 921px) {
  .pair-foot { flex-wrap: nowrap; padding: 18px 24px; }
  .pair-foot p { flex: 1 1 auto; max-width: none; font-size: 15px; }
  .pair-cta { flex: none; flex-wrap: nowrap; }
}
@media (min-width: 761px) and (max-width: 920px) {
  .pair-foot { flex-wrap: nowrap; }
  .pair-foot p { flex: 1 1 auto; }
  .pair-cta { flex: none; flex-wrap: nowrap; }
}
/* Tablet landscape & desktop (≥921): panel & kotak "Satu data di server" menyatu jadi satu kartu (kotak jadi pita putih
   di dasar panel); gambar perangkat sedikit lebih lebar; label Google Play diredam jadi pil bergaris putus-putus. */
@media (min-width: 921px) {
  .pair { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); border-bottom: 0; border-radius: 28px 28px 0 0; }
  .pair-foot { margin-top: 0; padding: 20px 56px; border-radius: 0 0 28px 28px; background: var(--paper); }
  .pair-foot p { font-size: 15.5px; }
  .pair-foot .store { flex-direction: row; align-items: baseline; gap: 6px; min-height: 40px; padding: 6px 16px; background: none; border: 1px dashed var(--line-strong); border-radius: 999px; }
  .pair-foot .store small { font-size: 13.5px; letter-spacing: 0; text-transform: none; font-weight: 500; color: var(--ink-muted); }
  .pair-foot .stores .store b { font-size: 13.5px; font-weight: 700; color: var(--ink); }
  .pair-foot .btn { min-height: 48px; }
}
@media (min-width: 921px) and (max-width: 1080px) {
  .pair { border-radius: 24px 24px 0 0; }
  .pair-foot { padding: 18px 36px; border-radius: 0 0 24px 24px; }
  .pair-foot p { font-size: 14.5px; }
}
/* Tablet portrait: panel & kotak "Satu data di server" menyatu jadi satu kartu (pita putih di dasar), label Google Play
   diredam jadi pil bergaris putus-putus — sama dengan tablet landscape & desktop. */
@media (min-width: 601px) and (max-width: 920px) {
  .pair { border-bottom: 0; border-radius: 24px 24px 0 0; }
  .pair-foot { margin-top: 0; padding: 18px 32px; border-radius: 0 0 24px 24px; background: var(--paper); }
  .pair-foot .store { flex-direction: row; align-items: baseline; gap: 6px; min-height: 40px; padding: 6px 16px; background: none; border: 1px dashed var(--line-strong); border-radius: 999px; }
  .pair-foot .store small { font-size: 13.5px; letter-spacing: 0; text-transform: none; font-weight: 500; color: var(--ink-muted); }
  .pair-foot .stores .store b { font-size: 13.5px; font-weight: 700; color: var(--ink); }
  .pair-foot .btn { min-height: 48px; }
}
@media (max-width: 480px) {
  .pair-shot .device-tablet { padding: 6px 6px 0; border-radius: 14px 14px 0 0; }
  .pair-foot { padding: 18px; }
  .pair-foot .btn { width: 100%; }
}
.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; }
@media (max-width: 480px) {
  .device-tablet { border-radius: 14px; padding: 6px; }
  .device-tablet img { border-radius: 9px; }
}

/* Warna kelompok (palet app: indigo aksi, biru/oranye/hijau grafik metode bayar, amber aksen) — dipakai jenis usaha & fitur. */
.t-indigo { --c: #3730A3; --c-soft: #EEF0FF; --c-line: #C7CCF5; --c-bar: #3730A3; }
.t-blue   { --c: #1D5FB0; --c-soft: #EAF3FD; --c-line: #BFD8F4; --c-bar: #2A78D6; }
.t-orange { --c: #B8481C; --c-soft: #FEF0E8; --c-line: #F8CDB7; --c-bar: #EB6834; }
.t-green  { --c: #137A55; --c-soft: #E8F7F0; --c-line: #B5E5D1; --c-bar: #1BAF7A; }
.t-amber  { --c: #92400E; --c-soft: #FEF6E0; --c-line: #F6DFA0; --c-bar: #F59E0B; }

/* "Segera di Google Play": label status (bukan tautan, belum bisa diklik), gaya tombol toko gelap. */
.stores { display: flex; flex-wrap: wrap; gap: 8px; }
.store { display: inline-flex; flex-direction: column; justify-content: center; min-height: 44px; padding: 4px 16px; border-radius: 10px; background: var(--ink); color: #fff; line-height: 1.15; cursor: default; }
.store small { font-size: 10.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #CBD5E1; }
.stores .store b { font-size: 15px; font-weight: 800; color: #fff; }
.pair-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.dl-top .stores { margin-top: 16px; }
@media (max-width: 480px) {
  .pair-cta { width: 100%; }
  .stores { width: 100%; }
  .store { flex: 1; align-items: center; }
}
/* Desktop: kartu unduh bergaya toko aplikasi (sama dengan tablet & HP) — ikon, versi, tombol penuh, tiga syarat
   perangkat bersekat di dasar kartu; label Google Play diredam. Gambar tablet tetap di kanan. Cara memasang = garis
   waktu mendatar empat kolom dalam satu kartu. */
@media (min-width: 1081px) {
  .dl-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; }
  .dl-top .intro { font-size: 18px; color: var(--ink-muted); margin-top: 14px; max-width: 30em; }
  .get { max-width: 460px; grid-template-columns: 1fr; gap: 16px; margin-top: 28px; padding: 20px; border-color: var(--indigo); border-bottom: 0; border-radius: var(--radius-lg) var(--radius-lg) 0 0; box-shadow: none; }
  .get .ver { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 14px; align-items: center; font-size: 14px; line-height: 1.4; }
  .get .ver::before { content: "S"; grid-row: 1 / span 2; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 15px; background: var(--indigo); color: #fff; font-size: 26px; font-weight: 800; }
  .get .ver b { font-size: 18px; }
  .get .btn { width: 100%; min-height: 52px; font-size: 17px; }
  .needs { max-width: 460px; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1.35fr); gap: 0; margin: 0; padding: 14px 6px; border: 1px solid var(--indigo); border-top: 1px solid var(--line); border-radius: 0 0 var(--radius-lg) var(--radius-lg); background: var(--slate); }
  .needs li { padding: 0 6px; text-align: center; font-size: 12.5px; line-height: 1.35; color: var(--ink-muted); }
  .needs li + li { border-left: 1px solid var(--line); }
  .needs li::before { display: none; }
  .needs b { display: block; font-size: 13.5px; }
  .dl-top .stores { margin-top: 20px; }
  .dl-top .store { flex-direction: row; align-items: baseline; gap: 6px; min-height: 38px; padding: 6px 16px; background: none; border: 1px dashed var(--line-strong); border-radius: 999px; }
  .dl-top .store small { font-size: 13.5px; letter-spacing: 0; text-transform: none; font-weight: 500; color: var(--ink-muted); }
  .dl-top .stores .store b { font-size: 13.5px; font-weight: 700; color: var(--ink); }
  .install { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 36px; padding: 32px; background: var(--slate); border: 1px solid var(--line); border-radius: var(--radius-lg); }
  .install li { position: relative; padding: 0; background: none; border: 0; border-radius: 0; }
  .install li::before { margin: 0 0 16px; }
  .install li:not(:last-child)::after { content: ""; position: absolute; left: 50px; right: -22px; top: 17px; border-top: 2px dashed var(--line-strong); }
  .install h3 { font-size: 17.5px; }
  .install p { font-size: 15px; line-height: 1.55; }
}
/* Tablet: halaman ini dibuka dari tablet kasir itu sendiri, jadi gambar tablet disembunyikan. Kiri = judul, pengantar,
   label Google Play; kanan = kartu unduh bergaya toko aplikasi (ikon, versi, tombol penuh) dengan tiga syarat
   perangkat bersekat di dasarnya. Cara memasang = satu kartu berisi empat langkah bernomor 2×2. */
@media (min-width: 641px) and (max-width: 1080px) {
  .page.dl { padding-top: 48px; }
  .dl-top { grid-template-columns: minmax(0, 1fr) minmax(0, 360px); grid-template-rows: auto auto auto 1fr; column-gap: 40px; row-gap: 0; align-items: start; }
  .dl-top > div:first-child { display: contents; }
  .dl-visual { display: none; }
  .dl-top .pill { grid-column: 1; grid-row: 1; justify-self: start; }
  .dl-top h1 { grid-column: 1; grid-row: 2; font-size: clamp(34px, 4.6vw, 44px); }
  .dl-top .intro { grid-column: 1; grid-row: 3; margin-top: 12px; font-size: 17px; color: var(--ink-muted); }
  .dl-top .stores { grid-column: 1; grid-row: 4; align-self: start; margin-top: 20px; }
  .dl-top .store { flex-direction: row; align-items: baseline; gap: 6px; min-height: 38px; padding: 6px 16px; background: none; border: 1px dashed var(--line-strong); border-radius: 999px; }
  .dl-top .store small { font-size: 13.5px; letter-spacing: 0; text-transform: none; font-weight: 500; color: var(--ink-muted); }
  .dl-top .stores .store b { font-size: 13.5px; font-weight: 700; color: var(--ink); }
  .get { grid-column: 2; grid-row: 1 / span 3; align-self: end; grid-template-columns: 1fr; gap: 16px; margin-top: 0; padding: 20px; border-color: var(--indigo); border-bottom: 0; border-radius: var(--radius-lg) var(--radius-lg) 0 0; box-shadow: none; }
  .get .ver { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 14px; align-items: center; font-size: 14px; line-height: 1.4; }
  .get .ver::before { content: "S"; grid-row: 1 / span 2; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 15px; background: var(--indigo); color: #fff; font-size: 26px; font-weight: 800; }
  .get .ver b { font-size: 18px; }
  .get .btn { width: 100%; min-height: 52px; font-size: 17px; }
  .needs { grid-column: 2; grid-row: 4; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr) minmax(0, 1.15fr); gap: 0; margin: 0; padding: 14px 6px; border: 1px solid var(--indigo); border-top: 1px solid var(--line); border-radius: 0 0 var(--radius-lg) var(--radius-lg); background: var(--slate); }
  .needs li { padding: 0 6px; text-align: center; font-size: 12px; line-height: 1.35; color: var(--ink-muted); }
  .needs li + li { border-left: 1px solid var(--line); }
  .needs li::before { display: none; }
  .needs b { display: block; font-size: 13px; }
  .dl-h2 { margin-top: 56px; font-size: 26px; }
  .install { gap: 0; margin-top: 20px; padding: 28px; background: var(--slate); border: 1px solid var(--line); border-radius: var(--radius-lg); column-gap: 40px; row-gap: 28px; }
  .install li { display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 14px; align-content: start; padding: 0; background: none; border: 0; border-radius: 0; }
  .install li::before { grid-row: 1 / span 2; margin: 0; }
  .install h3 { grid-column: 2; font-size: 17px; padding-top: 6px; }
  .install p { grid-column: 2; font-size: 15px; }
  .dl-notes { gap: 12px; }
  .dl-note { padding: 18px 20px; }
}
/* Tablet landscape: kartu unduh sedikit lebih lebar (syarat perangkat tak terpecah tiga baris); cara memasang jadi
   garis waktu mendatar empat kolom — nomor di atas disambung garis putus-putus, teks di bawahnya. */
@media (min-width: 921px) and (max-width: 1080px) {
  .page.dl { padding-top: 40px; }
  .dl-top { grid-template-columns: minmax(0, 1fr) minmax(0, 400px); column-gap: 56px; }
  .needs { grid-template-columns: minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1.35fr); }
  .dl-h2 { margin-top: 48px; }
  .install { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 28px; row-gap: 0; padding: 28px 28px 30px; }
  .install li { display: block; position: relative; }
  .install li::before { margin: 0 0 14px; }
  .install li:not(:last-child)::after { content: ""; position: absolute; left: 48px; right: -16px; top: 17px; border-top: 2px dashed var(--line-strong); }
  .install h3 { padding-top: 0; font-size: 17px; }
  .install p { margin-top: 6px; font-size: 14.5px; line-height: 1.55; }
}
/* HP: kepala ringkas lalu satu kartu unduh bergaya halaman toko aplikasi — ikon + nama + versi, tombol penuh,
   lalu tiga syarat perangkat sebagai baris kolom bersekat di dasar kartu. "Segera di Google Play" diredam jadi label
   garis putus-putus supaya tidak bersaing dengan tombol Download. Cara memasang = garis waktu bernomor dalam kartu. */
@media (max-width: 640px) {
  .page.dl { padding: 24px 0 56px; }
  .dl-top { gap: 0; }
  .dl-top .pill { font-size: 12.5px; }
  .dl-top h1 { font-size: 30px; margin-top: 10px; }
  .dl-top .intro { font-size: 15.5px; margin-top: 8px; }
  .dl-visual { display: none; }
  .get { grid-template-columns: 1fr; gap: 14px; margin-top: 20px; padding: 16px; border-color: var(--indigo); border-bottom: 0; border-radius: var(--radius-lg) var(--radius-lg) 0 0; box-shadow: none; }
  .get .ver { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 12px; align-items: center; font-size: 13.5px; line-height: 1.4; }
  .get .ver::before { content: "S"; grid-row: 1 / span 2; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--indigo); color: #fff; font-size: 24px; font-weight: 800; }
  .get .ver b { font-size: 17px; }
  .get .btn { width: 100%; min-height: 52px; font-size: 17px; }
  .needs { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr) minmax(0, 1.15fr); gap: 0; margin: 0; padding: 12px 4px; border: 1px solid var(--indigo); border-top: 1px solid var(--line); border-radius: 0 0 var(--radius-lg) var(--radius-lg); background: var(--slate); }
  .needs li { padding: 0 4px; text-align: center; font-size: 11.5px; line-height: 1.35; color: var(--ink-muted); }
  .needs li + li { border-left: 1px solid var(--line); }
  .needs li::before { display: none; }
  .needs b { display: block; font-size: 12.5px; }
  .dl-top .stores { justify-content: center; margin-top: 14px; width: 100%; }
  .dl-top .store { flex: none; flex-direction: row; align-items: baseline; gap: 5px; min-height: 36px; padding: 6px 14px; background: none; border: 1px dashed var(--line-strong); border-radius: 999px; color: var(--ink-muted); align-items: center; }
  .dl-top .store small { font-size: 13px; letter-spacing: 0; text-transform: none; font-weight: 500; color: var(--ink-muted); }
  .dl-top .stores .store b { font-size: 13px; font-weight: 700; color: var(--ink); }
  .dl-h2 { margin-top: 40px; font-size: 22px; }
  .install { grid-template-columns: 1fr; gap: 0; margin-top: 16px; padding: 20px 16px; background: var(--slate); border: 1px solid var(--line); border-radius: var(--radius-lg); }
  .install li { display: grid; grid-template-columns: 32px minmax(0, 1fr); column-gap: 12px; position: relative; padding: 0 0 20px; background: none; border: 0; border-radius: 0; }
  .install li:last-child { padding-bottom: 0; }
  .install li::before { grid-row: 1 / span 2; width: 32px; height: 32px; font-size: 15px; margin: 0; }
  .install li:not(:last-child)::after { content: ""; position: absolute; left: 15px; top: 36px; bottom: 4px; border-left: 2px dashed var(--line-strong); }
  .install h3 { grid-column: 2; font-size: 16.5px; padding-top: 5px; }
  .install p { grid-column: 2; font-size: 14.5px; margin-top: 4px; }
  .dl-notes { grid-template-columns: 1fr; gap: 10px; margin-top: 12px; }
  .dl-note { padding: 14px 16px; }
  .dl-note h2 { font-size: 15.5px; }
  .dl-note p { font-size: 14px; }
}

/* ── Muncul saat digulir (tanpa JavaScript): elemen memudar masuk sambil naik dari bawah mengikuti gulir
   (animation-timeline: view()). Isi kisi diberi jeda bertahap. Hanya bila peramban mendukung & pengguna tidak meminta
   gerak dikurangi; selain itu konten tampil biasa. Hero, kartu fitur bertumpuk, dan struk yang sudah punya animasi
   sendiri tidak disentuh. ── */
@keyframes reveal { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .section-head, .for-head, .faq-head, .all-head, .dl-h2, .period, .plan-extras, .legal .doc h2,
    .biz, .pair, .pair-foot, .compare, .install, .stores, .closing-panel,
    .tiles li, .steps li, .plans .plan, .faq > div, .dl-notes > * {
      animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 160px;
    }
    /* Jeda bertahap: anak berikutnya dalam satu baris mulai sedikit lebih lambat. */
    .tiles li:nth-child(4n+2), .steps li:nth-child(2), .faq > div:nth-child(2) { animation-range: entry 0% entry 200px; }
    .tiles li:nth-child(4n+3), .steps li:nth-child(3) { animation-range: entry 0% entry 240px; }
    .tiles li:nth-child(4n+4) { animation-range: entry 0% entry 280px; }
  }
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* ── Animasi pembuka halaman download & 404 (berbasis waktu, sekali saat halaman dibuka) + langkah memasang yang
   muncul bergantian saat digulir. Hanya bila pengguna tidak meminta gerak dikurangi. ── */
@media (prefers-reduced-motion: no-preference) {
  /* Download: label, judul, pengantar, lalu kartu unduh "naik", syarat perangkat, label Google Play, gambar tablet. */
  .dl-top .pill { animation: rise .7s cubic-bezier(.2, .7, .2, 1) .05s both; }
  .dl-top h1 { animation: rise .7s cubic-bezier(.2, .7, .2, 1) .12s both; }
  .dl-top .intro { animation: rise .7s cubic-bezier(.2, .7, .2, 1) .2s both; }
  .dl-top .get { animation: rise-device .8s cubic-bezier(.2, .7, .2, 1) .3s both; }
  .dl-top .needs { animation: rise .7s cubic-bezier(.2, .7, .2, 1) .42s both; }
  .dl-top .stores { animation: rise .7s cubic-bezier(.2, .7, .2, 1) .52s both; }
  .dl-visual .device { animation: rise-device .9s cubic-bezier(.2, .7, .2, 1) .35s both; }
  /* 404: label, judul, paragraf, tombol, lalu kotak tautan cepat satu per satu. */
  .lost-text > .pill { animation: rise .7s cubic-bezier(.2, .7, .2, 1) .05s both; }
  .lost-text > h1 { animation: rise .7s cubic-bezier(.2, .7, .2, 1) .12s both; }
  .lost-text > p { animation: rise .7s cubic-bezier(.2, .7, .2, 1) .2s both; }
  .lost-actions { animation: rise .7s cubic-bezier(.2, .7, .2, 1) .3s both; }
  .lost-links li { animation: rise .6s cubic-bezier(.2, .7, .2, 1) .4s both; }
  .lost-links li:nth-child(2) { animation-delay: .47s; }
  .lost-links li:nth-child(3) { animation-delay: .54s; }
  .lost-links li:nth-child(4) { animation-delay: .61s; }
  @supports (animation-timeline: view()) {
    /* Cara memasang: kartunya diam, tiap langkah muncul bergantian saat digulir. */
    .install { animation: none; }
    .install li { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 160px; }
    .install li:nth-child(2) { animation-range: entry 0% entry 200px; }
    .install li:nth-child(3) { animation-range: entry 0% entry 240px; }
    .install li:nth-child(4) { animation-range: entry 0% entry 280px; }
  }
}

/* ── Animasi halaman privasi & syarat: kepala halaman muncul berurutan saat dibuka (tab, judul, tanggal berlaku), daftar
   isi menyusul dari samping; tiap blok isi dokumen (judul bagian, paragraf, daftar, tabel) memudar masuk saat digulir.
   Hanya bila pengguna tidak meminta gerak dikurangi. ── */
@keyframes reveal-doc { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes slide-in { from { opacity: 0; transform: translateX(-16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .legal-tabs { animation: rise .7s cubic-bezier(.2, .7, .2, 1) .05s both; }
  .legal-head h1 { animation: rise .7s cubic-bezier(.2, .7, .2, 1) .12s both; }
  .legal-meta { animation: rise .7s cubic-bezier(.2, .7, .2, 1) .2s both; }
  .legal-body > .toc { animation: slide-in .7s cubic-bezier(.2, .7, .2, 1) .3s both; }
  @supports (animation-timeline: view()) {
    .legal .doc > :not(.doc-part), .legal .doc-part > * { animation: reveal-doc linear both; animation-timeline: view(); animation-range: entry 0% entry 120px; }
  }
}
/* Di HP & tablet portrait daftar isi berupa bilah yang menempel di bawah header: cukup memudar, tanpa geser. */
@media (max-width: 920px) and (prefers-reduced-motion: no-preference) {
  .legal-body > .toc { animation-name: fade-in; }
}

/* ── Header & footer: header turun & memudar masuk saat halaman dibuka (logo, menu, tombol berurutan); footer: merek,
   kolom tautan, dan baris hak cipta muncul bergantian saat digulir. ── */
@keyframes drop-in { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .site-header .brand { animation: drop-in .6s cubic-bezier(.2, .7, .2, 1) 0s both; }
  .site-header .nav { animation: drop-in .6s cubic-bezier(.2, .7, .2, 1) .08s both; }
  .site-header .btn { animation: drop-in .6s cubic-bezier(.2, .7, .2, 1) .16s both; }
  @supports (animation-timeline: view()) {
    /* Footer ada di dasar halaman (tak bisa digulir lebih jauh), jadi rentangnya mengikuti tinggi elemen sendiri. */
    .site-footer .foot-grid > * { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 100%; }
    .site-footer .copy { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 100%; }
    .site-footer .foot-grid > :nth-child(2) { animation-range: entry 10% entry 100%; }
    .site-footer .foot-grid > :nth-child(3) { animation-range: entry 20% entry 100%; }
    .site-footer .foot-grid > :nth-child(4) { animation-range: entry 30% entry 100%; }
  }
}

/* ── Teks berjalan: jenis usaha bergulir pelan di bawah hero (daftar ditulis dua kali agar putarannya mulus). ── */
.ticker { position: relative; border-bottom: 1px solid var(--line); background: var(--paper); }
.ticker-view { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
/* Tombol jeda (tanpa JavaScript): teks yang terus bergerak harus bisa dihentikan lewat sentuh & keyboard, bukan hanya hover. */
/* Gerak dikurangi = tidak ada yang dijeda: label & checkbox-nya disembunyikan, supaya Tab tidak mendarat di fokus tak terlihat. */
.ticker-btn, .ticker-pause { display: none; }
.ticker-track { list-style: none; margin: 0; padding: 14px 0; display: flex; width: max-content; }
.ticker-track li { display: flex; align-items: center; white-space: nowrap; font-size: 15px; font-weight: 700; color: var(--ink-muted); }
.ticker-track li::after { content: ""; width: 6px; height: 6px; margin: 0 22px; border-radius: 50%; background: var(--indigo); opacity: .55; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: no-preference) {
  .ticker-track { animation: ticker 42s linear infinite; }
  .ticker-pause { display: block; }
  .ticker-view:hover .ticker-track, .ticker-pause:checked ~ .ticker-view .ticker-track { animation-play-state: paused; }
  .ticker-btn { position: absolute; z-index: 1; right: var(--gutter); top: 50%; transform: translateY(-50%); display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; font-size: 13px; font-weight: 700; color: var(--ink-muted); background: var(--paper); border: 1px solid var(--line); border-radius: 999px; cursor: pointer; }
  .ticker-pause:checked ~ .ticker-btn { color: var(--indigo-strong); background: var(--indigo-soft); border-color: var(--indigo); }
  .ticker-pause:focus-visible ~ .ticker-btn { outline: 3px solid var(--indigo); outline-offset: 2px; }
}
@media (max-width: 600px) { .ticker-track { padding: 11px 0; } .ticker-track li { font-size: 13.5px; } .ticker-track li::after { margin: 0 16px; } }

/* ── Section "Satu shift": panel menempel di layar selama section setinggi ±3 layar digulir; langkah-langkah shift
   tercentang satu per satu, label berganti "Shift berjalan" → "Shift ditutup", angka transaksi menghitung naik. Tanpa dukungan scroll-driven animation (atau gerak dikurangi), section tampil biasa
   dalam keadaan akhir. ── */
@property --trx { syntax: "<integer>"; inherits: false; initial-value: 96; }
.shift { background: var(--ink); color: #fff; }
.shift-pin { padding: 80px 0; }
.shift-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.shift-kicker { font-family: var(--mono); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: #A5B4FC; }
.shift h2 { margin-top: 12px; font-size: clamp(30px, 3.8vw, 46px); font-weight: 800; line-height: 1.1; text-wrap: balance; }
.shift-lead { margin-top: 16px; font-size: 18px; color: #CBD5E1; max-width: 30em; }
.shift-stats { display: flex; gap: 40px; margin: 36px 0 0; }
.shift-stats div { display: flex; flex-direction: column-reverse; gap: 6px; }
.shift-stats dt { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #94A3B8; }
.shift-stats dd { margin: 0; font-size: clamp(44px, 5vw, 64px); font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.stat-trx { counter-reset: trx var(--trx); }
.stat-trx::before { content: counter(trx); }
.shift-card { padding: 22px; background: #111A2E; border: 1px solid #1E293B; border-radius: var(--radius-lg); box-shadow: 0 30px 60px -30px rgb(0 0 0 / 60%); }
.shift-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid #1E293B; }
.shift-file { font-family: var(--mono); font-size: 12.5px; color: #94A3B8; }
.shift-badge { display: grid; font-family: var(--mono); font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.shift-badge > span { grid-area: 1 / 1; padding: 4px 10px; border-radius: 999px; text-align: center; white-space: nowrap; }
.b-open { color: #FCD34D; background: rgb(245 158 11 / 14%); opacity: 0; }
.b-done { color: #6EE7B7; background: rgb(27 175 122 / 16%); }
.shift-steps { list-style: none; margin: 8px 0 0; padding: 0; }
.shift-steps li { position: relative; padding: 13px 0 13px 38px; font-size: 16px; color: #94A3B8; text-decoration: line-through; text-decoration-color: #475569; }
.shift-steps li + li { border-top: 1px solid #172033; }
.shift-steps li::before { content: ""; position: absolute; left: 0; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: #1BAF7A; }
.shift-steps li::after { content: ""; position: absolute; left: 7px; top: 50%; width: 8px; height: 4px; margin-top: -4px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }

@keyframes step-check { from { color: #F1F5F9; text-decoration-color: transparent; } to { color: #94A3B8; text-decoration-color: #475569; } }
@keyframes step-dot { from { background: transparent; box-shadow: inset 0 0 0 2px #334155; } to { background: #1BAF7A; box-shadow: none; } }
@keyframes step-tick { from { opacity: 0; } to { opacity: 1; } }
@keyframes count-trx { from { --trx: 0; } to { --trx: 96; } }
@keyframes badge-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes badge-in { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .shift { height: 300vh; view-timeline: --shift block; }
    .shift-pin { position: sticky; top: var(--hdr); display: flex; align-items: center; min-height: calc(100vh - var(--hdr)); min-height: calc(100svh - var(--hdr)); padding: 40px 0; }
    .shift-pin > .wrap { width: 100%; }
    .shift-steps li, .shift-steps li::before, .shift-steps li::after { animation-timeline: --shift; animation-fill-mode: both; animation-timing-function: linear; animation-duration: auto; }
    .shift-steps li { animation-name: step-check; }
    .shift-steps li::before { animation-name: step-dot; }
    .shift-steps li::after { animation-name: step-tick; }
    .shift-steps li:nth-child(1), .shift-steps li:nth-child(1)::before, .shift-steps li:nth-child(1)::after { animation-range: contain 6% contain 12%; }
    .shift-steps li:nth-child(2), .shift-steps li:nth-child(2)::before, .shift-steps li:nth-child(2)::after { animation-range: contain 24% contain 30%; }
    .shift-steps li:nth-child(3), .shift-steps li:nth-child(3)::before, .shift-steps li:nth-child(3)::after { animation-range: contain 42% contain 48%; }
    .shift-steps li:nth-child(4), .shift-steps li:nth-child(4)::before, .shift-steps li:nth-child(4)::after { animation-range: contain 60% contain 66%; }
    .shift-steps li:nth-child(5), .shift-steps li:nth-child(5)::before, .shift-steps li:nth-child(5)::after { animation-range: contain 78% contain 84%; }
    .stat-trx { animation: count-trx linear both; animation-timeline: --shift; animation-range: contain 6% contain 70%; }
    .b-open { opacity: 1; animation: badge-out linear both; animation-timeline: --shift; animation-range: contain 84% contain 88%; }
    .b-done { animation: badge-in linear both; animation-timeline: --shift; animation-range: contain 84% contain 88%; }
  }
}
@media (max-width: 920px) {
  .shift-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .shift-lead { font-size: 16.5px; }
}
@media (max-width: 600px) {
  .shift-pin { padding: 48px 0; }
  .shift h2 { font-size: 27px; }
  .shift-lead { margin-top: 10px; font-size: 15px; }
  .shift-stats { gap: 28px; margin-top: 20px; }
  .shift-stats dd { font-size: 38px; }
  .shift-card { padding: 16px; }
  .shift-steps li { padding: 10px 0 10px 34px; font-size: 14.5px; }
}
@media (max-width: 600px) and (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) { .shift-pin { padding: 20px 0; } }
}
/* HP pendek: panel "Satu shift" dirapatkan supaya muat satu layar saat menempel. */
@media (max-width: 600px) and (max-height: 720px) {
  .shift h2 { font-size: 23px; }
  .shift-lead { display: none; }
  .shift-stats { margin-top: 14px; }
  .shift-stats dd { font-size: 32px; }
  .shift-grid { gap: 18px; }
  .shift-card-head { padding-bottom: 10px; }
  .shift-steps li { padding: 8px 0 8px 32px; font-size: 13.5px; }
}

/* ── Ritme jarak isi section (skala 8px: 8 · 12 · 16 · 24 · 32 · 48). Padding atas-bawah section tidak diubah; yang
   dirapatkan jarak antar-blok di dalamnya: judul → isi 32px (HP 24px), blok susulan 48px (HP 40px), paragraf
   pengantar sedikit lebih rapat agar mudah dibaca. ── */
.section-head { margin-bottom: 32px; }
.section-head p { margin-top: 12px; line-height: 1.5; }
.for-head p, .flow-text > p, .closing-text > p { line-height: 1.5; }
.all { margin-top: 48px; }
.flow + .flow { margin-top: 56px; }
.trial { margin-top: 24px; }
.site-footer .copy { margin-top: 32px; }
@media (min-width: 1081px) {
  .section > .wrap > .section-head { margin-bottom: 32px; }
}
@media (min-width: 761px) {
  .faq-head { margin-bottom: 32px; }
}
@media (max-width: 720px) {
  .section-head { margin-bottom: 24px; }
  .section-head p { margin-top: 10px; font-size: 16.5px; }
  .all { margin-top: 40px; }
  .site-footer .copy { margin-top: 24px; }
}

/* Tautan #harga: biasanya mendarat di awal section; di layar pendek (tinggi sampai 940) langsung di pilihan periode,
   supaya semua kartu paket terlihat utuh sekaligus. Judul section tetap ada tepat di atasnya. */
#harga-section { position: relative; }
.harga-anchor { position: absolute; top: 0; left: 0; scroll-margin-top: 80px; }
@media (min-width: 921px) and (max-height: 940px) {
  .pricing { position: relative; }
  .harga-anchor { scroll-margin-top: calc(var(--hdr) + 8px); }
}

/* Hero di layar pendek. HP kecil: teks dirapatkan dan gambar mengisi sisa. Tablet yang pendek: teks & gambar berdampingan
   karena tumpukan atas-bawah tidak muat. HP landscape tetap boleh digulir: tingginya tak cukup untuk seluruh isi. */
@media (max-width: 480px) and (max-height: 640px) {
  .hero { padding-top: 10px; }
  .hero .wrap { grid-template-rows: auto minmax(64px, 1fr); gap: 12px; }
  .hero h1 { font-size: 24px; }
  .hero .lead { margin-top: 6px; font-size: 14px; line-height: 1.45; }
  .hero .actions { margin-top: 10px; gap: 2px; }
  .hero .actions .btn-primary { min-height: 48px; font-size: 15.5px; }
  .hero .actions .btn-quiet { min-height: 32px; font-size: 14px; }
  .hero .fine { margin-top: 2px; font-size: 12.5px; }
  .hero .stage .receipt { display: none; }
}
@media (min-width: 621px) and (max-width: 920px) and (max-height: 760px) {
  .hero { padding: 20px 0; align-items: center; }
  .hero .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto; gap: 28px; align-items: center; }
  .hero h1 { font-size: clamp(28px, 4.4vw, 38px); }
  .hero .lead { margin-top: 12px; font-size: 15.5px; line-height: 1.5; }
  .hero .actions { margin-top: 16px; gap: 8px; }
  .hero .actions .btn { min-height: 48px; padding: 0 18px; font-size: 15px; }
  .hero .fine { margin-top: 10px; font-size: 13px; }
  .hero .wrap > .stage { width: 100%; margin: 0; padding-bottom: 0; align-self: center; }
  .hero .wrap > .stage .device { position: relative; top: auto; left: auto; width: 100%; }
  .hero .wrap > .stage .receipt { display: none; }
}

/* Cetak: semua animasi dimatikan supaya isi (terutama dokumen legal) tidak tercetak transparan, dan elemen yang menempel
   kembali ke alur dokumen biasa. */
@media print {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .site-header, .toc, .stack-card, .shift-pin, thead { position: static !important; }
  .toc { max-height: none; overflow: visible; }
  .shift { height: auto !important; }
  .shift-pin { min-height: 0 !important; }
  .ticker-btn, .ticker-pause, .toc, .site-header .nav, .site-header .btn { display: none !important; }
  h2, h3 { break-after: avoid; }
  tr, li { break-inside: avoid; }
}
