/* Hallmark · genre: modern-minimal · macrostructure: Narrative Workflow · F4 stages=jam kerja (07:30→tgl 30) · nav: N5 · footer: Ft1
 * theme: custom · vibe: "jam kerja, kertas hangat, tinta hitam, tepat" · paper: oklch(97.5% 0.008 80) · accent: oklch(64% 0.17 45)
 * display: Sora · body: Figtree · mono: JetBrains Mono · axes: light / geometric-sans / warm
 * enrichment: Tier A — panel UI Tepatin dibangun HTML/CSS (tanpa bingkai perangkat) · studied: no · context: inferred
 * pre-emit critique: P5 H4 E4 S5 R5 V4
 */
@import url("tokens.css");

/* ── Dasar ───────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body {
  margin: 0; background: var(--color-paper); color: var(--color-ink);
  font: 400 var(--text-md)/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { text-wrap: balance; font-family: var(--font-display); font-style: normal; margin: 0; letter-spacing: -0.025em; line-height: 1.08; overflow-wrap: anywhere; min-width: 0; }
p { margin: 0; }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.redup { color: var(--color-muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lebar { width: min(100% - 2 * clamp(1rem, 4vw, 2.5rem), var(--page)); margin-inline: auto; }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: 1ms !important; animation: none !important; } }

/* ── Tombol ──────────────────────────────────────────────────────── */
.tombol {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2xs);
  min-height: 2.875rem; padding: 0 1.25rem; border-radius: var(--radius-pill);
  font: 600 var(--text-sm)/1 var(--font-body); text-decoration: none; white-space: nowrap;
  border: var(--rule-hair) solid transparent; cursor: pointer;
  transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out);
}
.tombol:active { transform: translateY(1px); }
.tombol--utama { background: var(--color-ink); color: var(--color-paper); }
.tombol--utama:hover { background: var(--color-ink-2); }
.tombol--garis { background: transparent; color: var(--color-ink); border-color: var(--color-rule); }
.tombol--garis:hover { border-color: var(--color-ink); }
.tombol--kecil { min-height: 2.25rem; padding: 0 0.95rem; font-size: var(--text-xs); }
.tombol .panah { transition: transform var(--dur-short) var(--ease-out); }
.tombol:hover .panah { transform: translateX(2px); }

/* ── Merek ───────────────────────────────────────────────────────── */
.merek { display: inline-flex; align-items: center; gap: 0.5rem; text-decoration: none; font: 700 1.125rem/1 var(--font-display); letter-spacing: -0.03em; color: var(--color-ink); }
.merek__tanda { width: 1.75rem; height: 1.75rem; border-radius: 7px; background: var(--color-ink); display: grid; place-items: center; }
.merek__tanda svg { width: 60%; height: 60%; }

/* ── N5 · navigasi pil mengambang ────────────────────────────────── */
.nav {
  position: fixed; top: var(--space-sm); left: 50%; transform: translateX(-50%); z-index: 20;
  display: flex; align-items: center; gap: var(--space-sm);
  width: max-content; max-width: calc(100% - 1.5rem);
  padding: 0.4rem 0.4rem 0.4rem 0.9rem;
  background: color-mix(in oklch, var(--color-surface) 82%, transparent);
  backdrop-filter: blur(14px) saturate(120%); -webkit-backdrop-filter: blur(14px) saturate(120%);
  border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-pill);
  box-shadow: var(--shadow-nav);
}
.nav__tautan { display: none; list-style: none; margin: 0; padding: 0; gap: var(--space-2xs); }
.nav__tautan a { display: block; padding: 0.45rem 0.7rem; border-radius: var(--radius-pill); font-size: var(--text-xs); font-weight: 500; text-decoration: none; color: var(--color-ink-2); white-space: nowrap; transition: background-color var(--dur-short) var(--ease-out); }
.nav__tautan a:hover { background: var(--color-paper-2); color: var(--color-ink); }
.nav__aksi { display: flex; align-items: center; gap: var(--space-3xs); }
.nav { gap: var(--space-xs); padding-left: 0.75rem; }
@media (max-width: 22.5rem) { .nav .merek { font-size: 1rem; } .nav .tombol--kecil { padding: 0 0.75rem; } }
@media (min-width: 52rem) { .nav__tautan { display: flex; } .nav { gap: var(--space-md); } }

/* ── Hero ────────────────────────────────────────────────────────── */
.hero { padding: clamp(7rem, 14vw, 10rem) 0 var(--space-2xl); }
.hero__kisi { display: grid; gap: var(--space-xl); }
.hero h1 { font-size: var(--text-display); font-weight: 700; max-width: 13ch; }
.hero h1 .titik { color: var(--color-accent); }
.hero__lede { margin-top: var(--space-md); max-width: 46ch; font-size: var(--text-lg); line-height: 1.5; color: var(--color-ink-2); }
.hero__aksi { display: flex; flex-wrap: wrap; gap: var(--space-2xs); margin-top: var(--space-lg); }
.hero__fakta { display: flex; flex-wrap: wrap; gap: var(--space-2xs) var(--space-md); margin-top: var(--space-md); padding: 0; list-style: none; font-size: var(--text-xs); color: var(--color-muted); }
.hero__fakta li { display: inline-flex; align-items: center; gap: 0.4rem; }
.hero__fakta li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--color-accent); }

/* Pita hari: jam kerja sebagai penggaris */
.pita { margin-top: var(--space-2xl); border-top: var(--rule-hair) solid var(--color-ink); padding-top: var(--space-sm); }
/* HP: satu baris yang bisa digeser; layar lebar: tujuh kolom sejajar. */
.pita ol { list-style: none; margin: 0; padding: 0 0 var(--space-2xs); display: flex; gap: var(--space-md); overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
.pita ol::-webkit-scrollbar { display: none; }
.pita li { flex: none; scroll-snap-align: start; }
.pita a { display: block; text-decoration: none; white-space: nowrap; }
.pita .jam { font: 500 var(--text-sm)/1 var(--font-mono); color: var(--color-ink); }
.pita .apa { display: block; margin-top: 0.35rem; font-size: var(--text-2xs); color: var(--color-muted); }
.pita a:hover .jam { color: var(--color-accent-text); }
@media (min-width: 48rem) { .pita ol { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: var(--space-xs); overflow: visible; } .pita li { min-width: 0; } }

/* ── Satu hari kerja (F4 · tahap berupa jam) ─────────────────────── */
.hari { padding: var(--space-2xl) 0 var(--space-xl); }
.hari__kepala { max-width: 36rem; margin-bottom: var(--space-xl); }
.hari__kepala h2 { font-size: var(--text-2xl); font-weight: 700; }
.hari__kepala p { margin-top: var(--space-sm); color: var(--color-ink-2); }
.tahap { list-style: none; margin: 0; padding: 0; }
.tahap > li { display: grid; gap: var(--space-md); padding: var(--space-xl) 0; border-top: 2px solid var(--color-ink); scroll-margin-top: 5.5rem; }
.tahap__jam { font: 500 var(--text-clock)/1 var(--font-mono); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tahap__jam small { display: block; margin-top: var(--space-2xs); font: 500 var(--text-2xs)/1.3 var(--font-body); letter-spacing: 0.04em; text-transform: uppercase; color: var(--color-muted); }
.tahap h3 { font-size: var(--text-xl); font-weight: 600; }
.tahap__teks p { margin-top: var(--space-xs); max-width: var(--measure); color: var(--color-ink-2); }
.tahap__teks ul { margin: var(--space-sm) 0 0; padding: 0; list-style: none; display: grid; gap: 0.4rem; font-size: var(--text-sm); color: var(--color-ink-2); }
.tahap__teks li { display: grid; grid-template-columns: 1rem minmax(0, 1fr); gap: 0.4rem; }
.tahap__teks li::before { content: "—"; color: var(--color-muted); }
@media (min-width: 60rem) {
  .tahap > li { grid-template-columns: 11rem minmax(0, 1fr) minmax(0, 22rem); gap: var(--space-xl); align-items: start; }
}

/* ── Panel UI (Tier A — elemen asli aplikasi, tanpa bingkai perangkat) ─ */
.panel { background: var(--color-surface); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-lg); box-shadow: var(--shadow-panel); overflow: hidden; font-size: var(--text-xs); }
.panel__kepala { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2xs); padding: 0.7rem 0.9rem; border-bottom: var(--rule-hair) solid var(--color-rule-2); font-weight: 600; font-size: var(--text-xs); }
.panel__isi { padding: 0.8rem 0.9rem; display: grid; gap: 0.55rem; }
.baris { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2xs); min-width: 0; }
.baris > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.inisial { flex: none; display: inline-grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--color-paper-3); font: 600 0.625rem/1 var(--font-body); color: var(--color-ink-2); }
.orang { display: inline-flex; align-items: center; gap: 0.5rem; min-width: 0; }
.orang b { font-weight: 600; }
.label { display: inline-flex; align-items: center; height: 1.35rem; padding: 0 0.5rem; border-radius: var(--radius-pill); font-size: 0.6875rem; font-weight: 600; white-space: nowrap; background: var(--color-paper-2); color: var(--color-ink-2); }
.label--ok { background: var(--color-ok-soft); color: var(--color-ok); }
.label--telat { background: var(--color-warn-soft); color: var(--color-warn); }
.label--aksen { background: var(--color-accent-soft); color: var(--color-accent-text); }
.opsi { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2xs); padding: 0.6rem 0.7rem; border: var(--rule-hair) solid var(--color-rule-2); border-radius: var(--radius-md); }
.opsi--pilih { border-color: var(--color-ink); }
.opsi--mati { color: var(--color-muted); }
.jadwal { display: grid; grid-template-columns: 4.5rem repeat(5, minmax(0, 1fr)); gap: 3px; font-size: 0.6875rem; }
.jadwal span { padding: 0.35rem 0.25rem; border-radius: 5px; text-align: center; white-space: nowrap; overflow: hidden; }
.jadwal .hari-k { color: var(--color-muted); background: none; }
.jadwal .nm { text-align: left; font-weight: 600; background: none; }
.jadwal .p { background: var(--color-paper-3); }
.jadwal .s { background: var(--color-accent-soft); color: var(--color-accent-text); }
.besar { font: 600 1.5rem/1 var(--font-mono); letter-spacing: -0.03em; }
.tabel { width: 100%; border-collapse: collapse; font-size: 0.6875rem; font-variant-numeric: tabular-nums; }
.tabel th, .tabel td { padding: 0.45rem 0.5rem; text-align: left; border-bottom: var(--rule-hair) solid var(--color-rule-2); white-space: nowrap; }
.tabel th { font-weight: 600; color: var(--color-muted); }
.tabel td.angka, .tabel th.angka { text-align: right; }
.tabel tr:last-child td { border-bottom: 0; }

/* ── Yang juga ada ───────────────────────────────────────────────── */
.juga { padding: var(--space-2xl) 0; border-top: 2px solid var(--color-ink); }
.juga h2 { font-size: var(--text-2xl); font-weight: 700; max-width: 20ch; }
.juga__daftar { margin: var(--space-xl) 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); border-top: var(--rule-hair) solid var(--color-rule); }
.juga__daftar li { padding: var(--space-md) 0; border-bottom: var(--rule-hair) solid var(--color-rule); display: grid; gap: 0.35rem; }
.juga__daftar b { font-family: var(--font-display); font-weight: 600; font-size: var(--text-md); letter-spacing: -0.015em; }
.juga__daftar span { color: var(--color-ink-2); font-size: var(--text-sm); }
@media (min-width: 48rem) {
  .juga__daftar { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-xl); }
}
@media (min-width: 72rem) { .juga__daftar { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ── Harga ───────────────────────────────────────────────────────── */
.harga { padding: var(--space-2xl) 0; border-top: 2px solid var(--color-ink); }
.harga__kisi { display: grid; gap: var(--space-xl); }
.harga h2 { font-size: var(--text-2xl); font-weight: 700; }
.harga__lede { margin-top: var(--space-sm); color: var(--color-ink-2); max-width: 40ch; }
.harga__angka { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.25rem var(--space-xs); margin-top: var(--space-lg); }
.harga__angka .rp { font: 700 clamp(3rem, 7vw + 1rem, 5.5rem)/0.95 var(--font-display); letter-spacing: -0.045em; }
.harga__angka .per { font-size: var(--text-sm); color: var(--color-muted); }
.hitung { background: var(--color-surface); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-lg); padding: var(--space-md); }
.hitung h3 { font-size: var(--text-md); font-weight: 600; }
.hitung__baris { display: flex; justify-content: space-between; gap: var(--space-sm); padding: 0.6rem 0; border-bottom: var(--rule-hair) solid var(--color-rule-2); font-size: var(--text-sm); }
.hitung__baris:last-of-type { border-bottom: 0; }
.hitung__catatan { margin-top: var(--space-sm); font-size: var(--text-xs); color: var(--color-muted); }
.hitung__baris .mono { white-space: nowrap; }
.aturan { margin: var(--space-md) 0 0; padding: 0; list-style: none; display: grid; gap: 0.55rem; font-size: var(--text-sm); color: var(--color-ink-2); }
.aturan li { display: grid; grid-template-columns: 1rem minmax(0, 1fr); gap: 0.4rem; }
.aturan li::before { content: "—"; color: var(--color-muted); }
@media (min-width: 60rem) { .harga__kisi { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: start; } }

/* ── Tanya jawab ─────────────────────────────────────────────────── */
.tanya { padding: var(--space-2xl) 0; border-top: 2px solid var(--color-ink); }
.tanya__kisi { display: grid; gap: var(--space-lg); }
.tanya h2 { font-size: var(--text-2xl); font-weight: 700; }
.tanya details { border-bottom: var(--rule-hair) solid var(--color-rule); }
.tanya details:first-of-type { border-top: var(--rule-hair) solid var(--color-rule); }
.tanya summary {
  display: flex; justify-content: space-between; align-items: center; gap: var(--space-sm);
  padding: var(--space-md) 0; cursor: pointer; list-style: none;
  font: 600 var(--text-md)/1.35 var(--font-display); letter-spacing: -0.01em;
}
.tanya summary::-webkit-details-marker { display: none; }
.tanya summary::after { content: ""; flex: none; width: 0.65rem; height: 0.65rem; border-right: 2px solid var(--color-ink); border-bottom: 2px solid var(--color-ink); transform: rotate(45deg) translate(-2px, -2px); transition: transform var(--dur-medium) var(--ease-out); }
.tanya details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.tanya summary:hover { color: var(--color-ink-2); }
.tanya details p { padding: 0 0 var(--space-md); max-width: var(--measure); color: var(--color-ink-2); }
.tanya details a { color: var(--color-accent-text); }
@media (min-width: 60rem) { .tanya__kisi { grid-template-columns: minmax(0, 18rem) minmax(0, 1fr); gap: var(--space-2xl); } }

/* ── Penutup (gelap) ─────────────────────────────────────────────── */
.penutup { background: var(--color-night); color: var(--color-on-night); padding: var(--space-3xl) 0; }
.penutup h2 { font-size: var(--text-display); font-weight: 700; max-width: 14ch; }
.penutup h2 .titik { color: var(--color-accent); }
.penutup p { margin-top: var(--space-md); max-width: 44ch; color: var(--color-on-night-2); font-size: var(--text-lg); }
.penutup .tombol--utama { background: var(--color-paper); color: var(--color-ink); margin-top: var(--space-lg); }
.penutup .tombol--utama:hover { background: var(--color-paper-3); }
.penutup small { display: block; margin-top: var(--space-sm); color: var(--color-on-night-2); font-size: var(--text-xs); }

/* ── Ft1 · footer satu baris bermerek ────────────────────────────── */
.kaki { padding: var(--space-xl) 0; }
.kaki__kisi { display: grid; gap: var(--space-md); align-items: center; }
.kaki__tag { font-size: var(--text-sm); color: var(--color-muted); max-width: 40ch; }
.kaki__tautan { display: flex; flex-wrap: wrap; gap: var(--space-2xs) var(--space-md); margin: 0; padding: 0; list-style: none; font-size: var(--text-xs); }
.kaki__tautan a { color: var(--color-ink-2); text-decoration: none; white-space: nowrap; }
.kaki__tautan a:hover { color: var(--color-ink); text-decoration: underline; text-underline-offset: 3px; }
.kaki__grup { margin-top: var(--space-md); padding-top: var(--space-md); border-top: var(--rule-hair) solid var(--color-rule); font-size: var(--text-2xs); color: var(--color-muted); }
.kaki__grup a { color: var(--color-ink-2); }
@media (min-width: 60rem) { .kaki__kisi { grid-template-columns: auto minmax(0, 1fr) auto; gap: var(--space-xl); } }

/* ── Halaman legal (privasi, syarat) ─────────────────────────────── */
.legal { padding: clamp(7rem, 12vw, 9rem) 0 var(--space-2xl); }
.legal h1 { font-size: var(--text-2xl); font-weight: 700; }
.legal .diperbarui { margin-top: var(--space-2xs); font-size: var(--text-xs); color: var(--color-muted); }
.legal__isi { margin-top: var(--space-xl); max-width: var(--measure); }
.legal__isi h2 { margin-top: var(--space-xl); font-size: var(--text-lg); font-weight: 600; }
.legal__isi p, .legal__isi li { margin-top: var(--space-xs); color: var(--color-ink-2); }
.legal__isi ul, .legal__isi ol { padding-left: 1.2rem; }
.legal__isi a { color: var(--color-accent-text); }
.legal__ringkas { padding: var(--space-md); background: var(--color-surface); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-md); }
.legal__ringkas p { margin: 0; }
.legal__isi h3 { margin-top: var(--space-lg); font-size: var(--text-md); font-weight: 600; }
.legal__isi strong { color: var(--color-ink); font-weight: 600; }

/* ── Foto (disediakan pemilik) ───────────────────────────────────── */
figure { margin: 0; }
.hero__foto img, .dua__kolom img, .cocok__daftar img { width: 100%; height: auto; object-fit: cover; border-radius: var(--radius-lg); background: var(--color-paper-3); }
.hero__foto img { aspect-ratio: 4 / 5; }
@media (min-width: 40rem) and (max-width: 59.99rem) { .hero__foto img { aspect-ratio: 16 / 10; } }
@media (min-width: 60rem) {
  .hero__kisi { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: var(--space-2xl); }
  .hero__foto img { aspect-ratio: 4 / 5; max-height: 34rem; }
}

/* Sebelum & sesudah — diptych */
.dua { display: grid; gap: var(--space-xl); padding: var(--space-xl) 0 var(--space-lg); }
.dua__kolom img { aspect-ratio: 3 / 2; }
.dua__kolom figcaption { display: grid; gap: 0.35rem; margin-top: var(--space-sm); max-width: 44ch; }
.dua__kolom b { font: 600 var(--text-lg)/1.2 var(--font-display); letter-spacing: -0.02em; }
.dua__kolom span { color: var(--color-ink-2); }
@media (min-width: 48rem) { .dua { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Cocok untuk */
.cocok { padding: var(--space-2xl) 0; border-top: 2px solid var(--color-ink); }
.cocok h2 { font-size: var(--text-2xl); font-weight: 700; max-width: 22ch; }
.cocok__daftar { margin: var(--space-xl) 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-lg) var(--space-md); }
.cocok__daftar img { aspect-ratio: 4 / 3; }
.cocok__daftar figcaption { display: grid; gap: 0.3rem; margin-top: var(--space-xs); }
.cocok__daftar b { font: 600 var(--text-md)/1.3 var(--font-display); letter-spacing: -0.015em; }
.cocok__daftar span { font-size: var(--text-sm); color: var(--color-ink-2); }
@media (min-width: 40rem) { .cocok__daftar { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 60rem) { .cocok__daftar { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
