/* ==========================================================================
   Path and Page — landing page & halaman Review Buku
   Latar putih + abu-abu, teks biru (navy dan turunannya).
   Huruf: Inter (isi & judul) + Playfair Display miring (aksen).
   Token bernama ala shadcn/ui; komponen ditulis dengan CSS biasa.
   Fragmen produk (atribut data-ui) meniru tampilan dashboard asli.
   ========================================================================== */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../assets/fonts/Inter-Variable.woff2") format("woff2");
}
@font-face {
  font-family: "Playfair Display";
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url("../assets/fonts/PlayfairDisplay-Italic.woff2") format("woff2");
}

/* ---------- Token ---------- */
:root {
  --background: #FFFFFF;
  --background-alt: #F5F7FA;
  --card: #FFFFFF;
  --muted: #EEF2F7;
  --border: #E2E8F0;
  --input: #CBD5E1;

  --navy: #0B1F4D;          /* judul */
  --foreground: #24406E;    /* isi */
  --muted-foreground: #52698F;
  --primary: #1D4ED8;       /* tombol & aksen */
  --primary-hover: #1E40AF;
  --primary-foreground: #FFFFFF;
  --link: #1D4ED8;
  --blue-soft: #EAF1FF;
  --blue-100: #DBE7FF;
  --blue-300: #93B4F5;
  --ring: #2563EB;

  --ok-bg: #DCFCE7; --ok-fg: #166534;
  --warn-bg: #FEF3C7; --warn-fg: #92400E;
  --err-bg: #FEE2E2; --err-fg: #B91C1C;

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(11, 31, 77, .05), 0 1px 3px rgba(11, 31, 77, .06);
  --shadow: 0 1px 2px rgba(11, 31, 77, .04), 0 12px 32px -16px rgba(11, 31, 77, .18);
  --shadow-lg: 0 2px 4px rgba(11, 31, 77, .04), 0 32px 64px -28px rgba(11, 31, 77, .28);

  --font: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --ease: cubic-bezier(.32, .72, 0, 1);
  --container: 1200px;
  --gutter: 24px;
  --section: 112px;
  --chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2352698F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  color-scheme: light;
}
@media (max-width: 720px) {
  :root { --gutter: 16px; --section: 80px; }
}

/* ---------- Dasar ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
h1, h2, h3 { color: var(--navy); font-weight: 600; text-wrap: balance; }
h1 { font-size: clamp(40px, 5.6vw, 76px); line-height: 1.05; letter-spacing: -.035em; }
h2 { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.1; letter-spacing: -.03em; }
h3 { font-size: 20px; line-height: 1.3; letter-spacing: -.015em; }
.serif { font-family: var(--font-serif); font-style: italic; font-weight: 500; letter-spacing: -.01em; color: var(--primary); }
h1 .serif, h2 .serif { font-size: 1.04em; }
p { text-wrap: pretty; }
.lead { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; color: var(--foreground); }
a { color: var(--link); }
b, strong { font-weight: 600; color: var(--navy); }
img, svg { display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--blue-100); color: var(--navy); }
:focus-visible { outline: 2px solid var(--ring); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip { position: absolute; left: 16px; top: -80px; z-index: 60; background: var(--navy); color: #FFF; padding: 10px 16px; border-radius: 999px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- Tombol ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px;
  border: 0; border-radius: 999px;
  font-size: 15px; font-weight: 500; line-height: 1; white-space: nowrap;
  text-decoration: none; cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn-lg { height: 52px; padding: 0 26px; font-size: 16px; }
.btn-primary { background: var(--primary); color: var(--primary-foreground); box-shadow: 0 10px 24px -12px rgba(29, 78, 216, .7); }
.btn-outline { background: var(--card); color: var(--navy); box-shadow: inset 0 0 0 1px var(--input); }
.btn-soft { background: var(--blue-soft); color: var(--primary); }
.btn-ghost { background: transparent; color: var(--navy); }
.btn-light { background: #FFFFFF; color: var(--navy); }
.btn-on-dark { background: transparent; color: #FFFFFF; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
.btn-nest { padding-right: 6px; gap: 12px; }
.btn-nest .nest { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .16); transition: transform .45s var(--ease); }
.btn-light.btn-nest .nest { background: var(--blue-soft); color: var(--primary); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: var(--primary-hover); }
  .btn-outline:hover { box-shadow: inset 0 0 0 1px var(--navy); }
  .btn-soft:hover { background: var(--blue-100); }
  .btn-ghost:hover { background: var(--muted); }
  .btn-light:hover { background: var(--blue-soft); }
  .btn-on-dark:hover { box-shadow: inset 0 0 0 1px #FFFFFF; }
  .btn-nest:hover .nest { transform: translateX(3px); }
}

/* ---------- Komponen umum ---------- */
.card { background: var(--card); border-radius: var(--radius); box-shadow: 0 0 0 1px var(--border), var(--shadow); }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 600; line-height: 1.5; white-space: nowrap;
}
.badge-dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.b-blue { background: var(--blue-soft); color: var(--primary); }
.b-gray { background: var(--muted); color: var(--muted-foreground); }
.b-ok { background: var(--ok-bg); color: var(--ok-fg); }
.b-warn { background: var(--warn-bg); color: var(--warn-fg); }
.b-err { background: var(--err-bg); color: var(--err-fg); }
.progress { display: block; height: 8px; border-radius: 999px; background: var(--muted); overflow: hidden; }
.progress i { display: block; height: 100%; border-radius: inherit; background: var(--primary); transition: width .5s var(--ease); }
.stars { display: inline-flex; gap: 2px; color: #F5B300; }
.stars svg { width: 16px; height: 16px; fill: currentColor; }
.stars svg.off { color: var(--input); fill: var(--input); }

/* Form */
.field { display: grid; gap: 6px; }
.field + .field { margin-top: 16px; }
.label { font-size: 14px; font-weight: 500; color: var(--navy); }
.label .opt { font-weight: 400; color: var(--muted-foreground); }
.hint { font-size: 13px; color: var(--muted-foreground); }
.input {
  width: 100%; min-height: 46px; padding: 11px 14px;
  background: var(--card); color: var(--navy);
  border: 0; border-radius: 12px;
  box-shadow: inset 0 0 0 1px var(--input);
  font-size: 15px; line-height: 1.4;
  transition: box-shadow .25s var(--ease);
}
.input::placeholder { color: var(--muted-foreground); opacity: .8; }
.input:focus { outline: none; box-shadow: inset 0 0 0 1px var(--ring), 0 0 0 4px rgba(37, 99, 235, .18); }
.input[aria-invalid="true"] { box-shadow: inset 0 0 0 1px var(--err-fg), 0 0 0 4px rgba(185, 28, 28, .12); }
select.input { appearance: none; -webkit-appearance: none; padding-right: 40px; background: var(--card) var(--chevron) no-repeat right 14px center / 16px; cursor: pointer; }
textarea.input { resize: vertical; min-height: 140px; line-height: 1.55; }
.error { font-size: 13px; color: var(--err-fg); font-weight: 500; }
.switch {
  -webkit-appearance: none; appearance: none; flex: none;
  width: 44px; height: 24px; margin: 0; border-radius: 999px;
  background: var(--input); position: relative; cursor: pointer;
  transition: background-color .3s var(--ease);
}
.switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%; background: #FFF; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .4s var(--ease); }
.switch:checked { background: var(--primary); }
.switch:checked::after { transform: translateX(20px); }
.check-row { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; cursor: pointer; font-size: 15px; color: var(--foreground); }
.check-row input[type="checkbox"]:not(.switch) { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--primary); flex: none; }
.stars-input { display: flex; gap: 2px; }
.stars-input label { position: relative; cursor: pointer; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; }
.stars-input input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.stars-input svg { width: 30px; height: 30px; fill: var(--input); transition: fill .25s var(--ease), transform .3s var(--ease); }
.stars-input label.on svg { fill: #F5B300; }
.stars-input label:active svg { transform: scale(.86); }
.stars-input input:focus-visible + svg { outline: 2px solid var(--ring); outline-offset: 3px; border-radius: 6px; }

/* ---------- Navigasi ---------- */
.nav { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .96); box-shadow: 0 1px 0 var(--border); }
.nav-row { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); text-decoration: none; font-weight: 600; font-size: 18px; letter-spacing: -.02em; }
.brand .serif { font-size: 1.12em; font-weight: 500; margin-inline: 1px; }
.brand-mark { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--navy); color: #FFF; }
.brand-mark .ic { width: 19px; height: 19px; }
.nav-links { display: flex; gap: 2px; margin-left: auto; }
.nav-links a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px;
  font-size: 15px; font-weight: 500; color: var(--foreground); text-decoration: none;
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.nav-links a[aria-current="page"] { color: var(--primary); background: var(--blue-soft); }
@media (hover: hover) and (pointer: fine) {
  .nav-links a:hover { background: var(--muted); color: var(--navy); }
}
@media (max-width: 860px) {
  .nav-row { flex-wrap: wrap; row-gap: 0; padding-top: 10px; }
  .nav-row > .btn { margin-left: auto; }
  .nav-links { order: 3; width: calc(100% + 28px); margin: 0 -14px; overflow-x: auto; scrollbar-width: none; }
  .nav-links a { min-height: 44px; white-space: nowrap; }
}

/* ---------- Bagian umum ---------- */
.section { padding-block: var(--section); }
.section-alt { background: var(--background-alt); }
.sec-head { display: grid; gap: 14px; max-width: 680px; margin-bottom: 48px; }
.sec-head p { font-size: 18px; color: var(--muted-foreground); }
.sec-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.note { margin-top: 18px; font-size: 14px; color: var(--muted-foreground); }

/* ---------- Hero ---------- */
.hero { padding: clamp(48px, 7vw, 96px) 0 var(--section); background: var(--background); }
.hero-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; }
.hero-tag { margin-top: 20px; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.4; font-weight: 500; color: var(--primary); }
.hero-side { display: grid; gap: 28px; padding-bottom: 10px; }
.hero-copy { display: grid; gap: 12px; }
.hero-copy p:not(.lead) { color: var(--muted-foreground); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: var(--muted-foreground); }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta .ic { color: var(--primary); width: 16px; height: 16px; }

@media (max-width: 860px) {
  .hero-head { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .hero .btn-row .btn { flex: 1 1 auto; }
}

/* ---------- Intro + Wishlist ---------- */
.intro-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px 72px; align-items: center; }
.intro-text { display: grid; gap: 18px; max-width: 54ch; }
.intro-text h2 { margin-bottom: 4px; }
.intro-text p:not(.lead) { color: var(--muted-foreground); }

/* ---------- Fragmen dashboard (gaya "Kanvas 2026" milik produk) ---------- */
[data-ui] { --k-canvas: #EEEFF1; --k-card: #FFFFFF; --k-hair: #E4E6EA; --k-ink: #16181D; --k-muted: #5F6672; --k-primary: #1F4E5F; --k-soft: #E3EEF1; --k-btn: #0B0B0C; --k-series: #2A9D8F; --k-sidebar: #FDFDFB; }
[data-ui] .k-badge { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; white-space: nowrap; line-height: 1.5; }
[data-ui] .k-badge::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
[data-ui] .k-sudah { background: #DCF2E3; color: #1E6B3A; }
[data-ui] .k-sedang { background: #FFF1C2; color: #7A5B00; }
[data-ui] .k-belum { background: #ECEFF1; color: #546E7A; }
[data-ui] .k-tidak { background: #FBE0E6; color: #A3344F; }
[data-ui] .k-plain { background: #F1F2F4; color: #3F4650; }
[data-ui] .k-plain::before { display: none; }

[data-ui].app {
  display: grid; grid-template-columns: 196px minmax(0, 1fr);
  background: var(--k-canvas); color: var(--k-ink);
  border-radius: 18px; overflow: hidden;
  font-family: var(--font); font-size: 13px; line-height: 1.4; letter-spacing: 0;
  box-shadow: 0 0 0 1px var(--border), var(--shadow-lg);
  min-height: 640px;
}
[data-ui] .app-nav { background: var(--k-sidebar); box-shadow: 1px 0 0 var(--k-hair); padding: 16px 12px; display: flex; flex-direction: column; gap: 2px; }
[data-ui] .app-brand { display: flex; align-items: center; gap: 8px; padding: 4px 8px 16px; font-weight: 600; font-size: 14px; color: var(--k-ink); }
[data-ui] .app-brand span:first-child { width: 26px; height: 26px; border-radius: 8px; background: var(--k-primary); color: #FFF; display: grid; place-items: center; }
[data-ui] .app-brand .ic { width: 15px; height: 15px; }
[data-ui] .app-nav button {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 9px 10px; border: 0; border-radius: 10px; background: none; cursor: pointer;
  font-size: 13px; font-weight: 500; color: var(--k-muted); text-align: left;
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
[data-ui] .app-nav button .ic { width: 17px; height: 17px; stroke-width: 1.75; }
[data-ui] .app-nav button[aria-selected="true"] { background: var(--k-soft); color: var(--k-ink); font-weight: 600; }
[data-ui] .app-nav button[aria-selected="true"] .ic { color: var(--k-primary); }
[data-ui] .app-nav button:focus-visible { outline: 2px solid var(--ring); outline-offset: -2px; }
@media (hover: hover) and (pointer: fine) {
  [data-ui] .app-nav button:hover { background: #F1F2F4; color: var(--k-ink); }
}
[data-ui] .app-main { padding: 22px; min-width: 0; }
[data-ui] .app-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
[data-ui] .app-head h4 { margin: 0; font-size: 20px; font-weight: 600; letter-spacing: -.015em; color: var(--k-ink); }
[data-ui] .app-head p { font-size: 12px; color: var(--k-muted); }
[data-ui] .k-btn { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px 0 8px; border-radius: 10px; background: var(--k-btn); color: #FFF; font-size: 12px; font-weight: 500; white-space: nowrap; }
[data-ui] .k-btn b { color: #FFF; width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .16); font-weight: 500; }
[data-ui] .app-view { display: grid; gap: 12px; animation: kfade .45s var(--ease); }
@keyframes kfade { from { opacity: 0; transform: translateY(6px); } }
[data-ui] .k-card { background: var(--k-card); border-radius: 14px; box-shadow: 0 0 0 1px var(--k-hair); padding: 14px; min-width: 0; }
[data-ui] .k-title { font-weight: 600; font-size: 13px; margin-bottom: 10px; display: flex; justify-content: space-between; gap: 8px; color: var(--k-ink); }
[data-ui] .k-title span { color: var(--k-muted); font-weight: 500; }
[data-ui] .kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
[data-ui] .kpi { background: var(--k-card); border-radius: 14px; box-shadow: 0 0 0 1px var(--k-hair); padding: 12px; display: grid; gap: 2px; min-width: 0; }
[data-ui] .kpi-head { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
[data-ui] .kpi-head span { color: var(--k-muted); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
[data-ui] .kpi-ico { width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center; background: color-mix(in srgb, var(--t) 14%, #FFF); color: var(--t); flex: none; }
[data-ui] .kpi-ico .ic { width: 14px; height: 14px; }
[data-ui] .kpi b { font-size: 20px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--k-ink); }
[data-ui] .kpi b small { font-size: 12px; font-weight: 500; color: var(--k-muted); margin-left: 3px; }
[data-ui] .kpi > small { color: var(--k-muted); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
[data-ui] .kpi .k-bar { margin-top: 4px; }
[data-ui] .kpi svg.spark-line { width: 100%; height: 22px; margin-top: 2px; }
[data-ui] .k-bar { display: block; height: 5px; border-radius: 9px; background: #EEF0F2; overflow: hidden; }
[data-ui] .k-bar i { display: block; height: 100%; border-radius: 9px; background: var(--k-primary); }
[data-ui] .k-split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 12px; }
[data-ui] .k-tabs { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: #F1F2F4; }
[data-ui] .k-tabs span { padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 500; color: var(--k-muted); }
[data-ui] .k-tabs span.on { background: #FFF; color: var(--k-ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
[data-ui] .spot { list-style: none; padding: 0; display: grid; gap: 10px; }
[data-ui] .spot li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 10px; align-items: center; }
[data-ui] .spot b { display: block; font-weight: 600; font-size: 12.5px; color: var(--k-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
[data-ui] .spot small { color: var(--k-muted); font-size: 11px; }
[data-ui] .spot .k-bar { margin-top: 5px; }
[data-ui] .pct { color: var(--k-primary); font-weight: 600; font-variant-numeric: tabular-nums; }
[data-ui] .cv { position: relative; border-radius: 3px 6px 6px 3px; background: var(--c); overflow: hidden; color: #FFF; display: flex; align-items: flex-end; font-weight: 600; line-height: 1.15; }
[data-ui] .cv::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 8%; min-width: 3px; background: rgba(0, 0, 0, .22); }
[data-ui] .cv-s { width: 30px; height: 44px; font-size: 10px; justify-content: center; align-items: center; }
[data-ui] .top5 { list-style: none; padding: 0; display: grid; gap: 8px; }
[data-ui] .top5 li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 8px; align-items: center; }
[data-ui] .top5 .rk { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 600; background: #F1F2F4; color: var(--k-muted); }
[data-ui] .top5 li:first-child .rk { background: #E0A458; color: #1B2A33; }
[data-ui] .top5 b { font-size: 12.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--k-ink); }
[data-ui] .k-stars { display: inline-flex; gap: 1px; color: #E0A458; }
[data-ui] .k-stars svg { width: 11px; height: 11px; fill: currentColor; }
[data-ui] .k-stars svg.off { color: #DDE0E4; fill: #DDE0E4; }

[data-ui] .toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
[data-ui] .tb-search { flex: 1 1 180px; display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 10px; border-radius: 10px; background: #FFF; box-shadow: 0 0 0 1px var(--k-hair); color: var(--k-muted); }
[data-ui] .tb-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 12.5px; color: var(--k-ink); }
[data-ui] .tb-search:focus-within { box-shadow: 0 0 0 1px var(--k-primary), 0 0 0 3px rgba(31, 78, 95, .15); }
[data-ui] .tb-select { height: 34px; padding: 0 30px 0 10px; border: 0; border-radius: 10px; background: #FFF var(--chevron) no-repeat right 9px center / 13px; box-shadow: 0 0 0 1px var(--k-hair); font-size: 12.5px; color: var(--k-ink); appearance: none; -webkit-appearance: none; cursor: pointer; }
[data-ui] .tb-select:focus-visible, [data-ui] .chip:focus-visible { outline: 2px solid var(--ring); outline-offset: 1px; }
[data-ui] .chips { display: flex; flex-wrap: wrap; gap: 6px; }
[data-ui] .chip { height: 30px; padding: 0 11px; border: 0; border-radius: 999px; background: #FFF; box-shadow: 0 0 0 1px var(--k-hair); font-size: 12px; font-weight: 500; color: var(--k-muted); cursor: pointer; }
[data-ui] .chip[aria-pressed="true"] { background: var(--k-ink); color: #FFF; box-shadow: none; font-weight: 600; }
[data-ui] .k-count { color: var(--k-muted); font-size: 12px; }
[data-ui] .grid-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
[data-ui] .item { background: #FFF; border-radius: 14px; box-shadow: 0 0 0 1px var(--k-hair); padding: 8px; display: grid; gap: 5px; align-content: start; min-width: 0; animation: kfade .45s var(--ease); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
[data-ui] .item .cv { aspect-ratio: 3 / 4; padding: 10px 8px 9px 12px; font-size: 12px; }
[data-ui] .item.wide .cv { aspect-ratio: 16 / 10; }
[data-ui] .item b { font-weight: 600; font-size: 12.5px; color: var(--k-ink); line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
[data-ui] .item small { color: var(--k-muted); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
[data-ui] .item .row { display: flex; justify-content: space-between; align-items: center; gap: 6px; flex-wrap: wrap; }
[data-ui] .item .done { color: #1E6B3A; display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; }
[data-ui] .item .done .ic { width: 13px; height: 13px; }
[data-ui] .item .store { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; color: var(--k-primary); }
[data-ui] .item .store .ic { width: 12px; height: 12px; }
[data-ui] .empty { grid-column: 1 / -1; padding: 40px 12px; text-align: center; color: var(--k-muted); }
[data-ui] .empty b { display: block; color: var(--k-ink); font-size: 13px; margin-bottom: 2px; }
@media (hover: hover) and (pointer: fine) {
  [data-ui] .item:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px var(--k-hair), 0 14px 24px -16px rgba(0, 0, 0, .3); }
}

[data-ui] .cols { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; height: 160px; align-items: end; }
[data-ui] .col { display: grid; grid-template-rows: 1fr auto; height: 100%; gap: 5px; text-align: center; }
[data-ui] .col i { align-self: end; display: block; background: var(--k-series); border-radius: 4px 4px 1px 1px; min-height: 2px; transform-origin: bottom; animation: kgrow .7s var(--ease) both; animation-delay: calc(var(--i) * 30ms); }
[data-ui] .col small { font-size: 10px; color: var(--k-muted); }
@keyframes kgrow { from { transform: scaleY(0); } }
[data-ui] .donut-wrap { display: flex; gap: 14px; align-items: center; }
[data-ui] .donut { width: 96px; aspect-ratio: 1; border-radius: 50%; position: relative; display: grid; place-items: center; flex: none; }
[data-ui] .donut::before { content: ""; position: absolute; inset: 22%; border-radius: 50%; background: #FFF; }
[data-ui] .donut span { position: relative; font-size: 18px; font-weight: 600; }
[data-ui] .legend { list-style: none; padding: 0; display: grid; gap: 5px; font-size: 11.5px; flex: 1; }
[data-ui] .legend li { display: flex; gap: 6px; align-items: center; }
[data-ui] .legend i { width: 8px; height: 8px; border-radius: 2px; background: var(--c); }
[data-ui] .legend b { margin-left: auto; font-weight: 600; color: var(--k-ink); }
[data-ui] .hbars { list-style: none; padding: 0; display: grid; gap: 7px; font-size: 11.5px; }
[data-ui] .hbars li { display: grid; grid-template-columns: 96px 1fr 18px; gap: 8px; align-items: center; }
[data-ui] .hbars .tr { height: 8px; background: #F1F2F4; border-radius: 4px; overflow: hidden; }
[data-ui] .hbars .tr i { display: block; height: 100%; background: var(--k-series); border-radius: 4px; }
[data-ui] .hbars b { font-weight: 600; text-align: right; color: var(--k-ink); }

@media (max-width: 1100px) {
  [data-ui] .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  [data-ui] .grid-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  [data-ui].app { grid-template-columns: 1fr; min-height: 0; }
  [data-ui] .app-nav { flex-direction: row; overflow-x: auto; padding: 8px; gap: 4px; box-shadow: 0 1px 0 var(--k-hair); scrollbar-width: none; }
  [data-ui] .app-brand { display: none; }
  [data-ui] .app-nav button { width: auto; flex: none; min-height: 40px; }
  [data-ui] .app-main { padding: 14px; }
  [data-ui] .k-split { grid-template-columns: 1fr; }
  [data-ui] .grid-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  [data-ui].app { margin-inline: calc(-1 * var(--gutter) + 8px); }
  [data-ui] .app-head .k-btn { display: none; }
}

/* ---------- Fitur: kartu buku + kontrol ---------- */
.features { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.feat-field { position: sticky; top: 92px; height: calc(100svh - 116px); min-height: 520px; border-radius: var(--radius-lg); background: var(--background-alt); box-shadow: inset 0 0 0 1px var(--border); display: grid; place-items: center; padding: 32px; }
.feat-col { padding: 16px 0 14vh; }
.feat-col > .sec-head { margin-bottom: 12vh; }
.feat-block { display: grid; gap: 12px; margin-bottom: 18vh; max-width: 46ch; }
.feat-block:last-child { margin-bottom: 0; }
.feat-block > p { color: var(--muted-foreground); }
.feat-block .field { margin-top: 6px; }
.feat-block .field + .field { margin-top: 4px; }
.file-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }

[data-ui].bookcard { width: min(480px, 100%); padding: 24px; display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 22px; font-family: var(--font); font-size: 14px; line-height: 1.45; background: #FFF; color: var(--k-ink); border-radius: 18px; box-shadow: 0 0 0 1px var(--k-hair), var(--shadow-lg); }
[data-ui] .bc-cover { width: 128px; height: 192px; padding: 12px 10px 12px 18px; font-size: 16px; background-size: cover; background-position: center; box-shadow: 0 12px 24px -12px rgba(0, 0, 0, .5); }
[data-ui] .bc-cover.has-img span { display: none; }
[data-ui] .bc-body { display: grid; gap: 6px; align-content: start; min-width: 0; }
[data-ui] .bc-title { font-size: 22px; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; color: var(--k-ink); }
[data-ui] .bc-author { color: var(--k-muted); }
[data-ui] .bc-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
[data-ui] .bc-meta .k-badge { font-size: 11.5px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
[data-ui] .bc-stars { display: flex; gap: 2px; min-height: 20px; color: var(--k-muted); font-size: 12.5px; align-items: center; }
[data-ui] .bc-stars svg { width: 17px; height: 17px; fill: #E0A458; }
[data-ui] .bc-stars svg.off { fill: #DDE0E4; }
[data-ui] .bc-progress { display: grid; gap: 6px; font-size: 12.5px; color: var(--k-muted); margin-top: 4px; }
[data-ui] .bc-review { grid-column: 1 / -1; padding: 12px 14px; border-radius: 12px; background: #F4F5F7; font-size: 14px; min-height: 3.2em; overflow-wrap: anywhere; color: var(--k-ink); }
[data-ui] .bc-review.empty { color: var(--k-muted); }
[data-ui] .bc-dup { grid-column: 1 / -1; background: #FBE0E6; color: #A3344F; border-radius: 10px; padding: 10px 12px; font-size: 13px; font-weight: 500; }
[data-ui] .bc-dup.ok { background: #DCF2E3; color: #1E6B3A; }
[data-ui] .changed { animation: pop .5s var(--ease); }
@keyframes pop { from { transform: scale(1.1); } }
@media (max-width: 900px) {
  .features { display: block; }
  .feat-field { top: 104px; z-index: 5; height: auto; min-height: 0; padding: 10px; margin: 0 calc(-1 * var(--gutter)); border-radius: 0 0 20px 20px; box-shadow: 0 1px 0 var(--border); }
  [data-ui].bookcard { grid-template-columns: 60px minmax(0, 1fr); padding: 12px; gap: 12px; font-size: 13px; }
  [data-ui] .bc-cover { width: 60px; height: 90px; font-size: 10px; padding: 8px 6px 8px 10px; }
  [data-ui] .bc-title { font-size: 17px; }
  [data-ui] .bc-progress { display: none; }
  [data-ui] .bc-review { padding: 8px 10px; min-height: 0; font-size: 12.5px; }
  .feat-col { padding: 40px 0 0; }
  .feat-col > .sec-head { margin-bottom: 40px; }
  .feat-block { margin-bottom: 56px; max-width: none; }
  .feat-col :is(input, select, textarea, button) { scroll-margin-top: 300px; }
}

/* ---------- Video/Audio ---------- */
.media-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px 72px; align-items: center; }
.media-points { list-style: none; padding: 0; display: grid; gap: 18px; margin-top: 28px; }
.media-points li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; }
.media-points .mp-ic { width: 40px; height: 40px; border-radius: 12px; background: var(--blue-soft); color: var(--primary); display: grid; place-items: center; }
.media-points b { display: block; margin-bottom: 2px; }
.media-points span { color: var(--muted-foreground); font-size: 15px; }

[data-ui].vform { padding: 22px; background: #FFF; color: var(--k-ink); border-radius: 18px; box-shadow: 0 0 0 1px var(--k-hair), var(--shadow-lg); font-family: var(--font); font-size: 13px; }
[data-ui] .vf-head { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; align-items: center; margin-bottom: 18px; }
[data-ui] .vf-head .cv { width: 96px; aspect-ratio: 16 / 10; font-size: 10px; padding: 8px; }
[data-ui] .vf-head b { display: block; font-size: 16px; font-weight: 600; color: var(--k-ink); letter-spacing: -.01em; }
[data-ui] .vf-head small { color: var(--k-muted); font-size: 12px; }
[data-ui] .vf-label { display: block; font-size: 12px; font-weight: 600; color: var(--k-ink); margin: 14px 0 6px; }
[data-ui] .seg { display: flex; flex-wrap: wrap; gap: 4px; padding: 3px; border-radius: 12px; background: #F1F2F4; }
[data-ui] .seg label { position: relative; cursor: pointer; }
[data-ui] .seg input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
[data-ui] .seg span { display: block; padding: 6px 11px; border-radius: 9px; font-size: 12px; font-weight: 500; color: var(--k-muted); transition: background-color .25s var(--ease), color .25s var(--ease); }
[data-ui] .seg input:checked + span { background: var(--k-btn); color: #FFF; }
[data-ui] .seg input:focus-visible + span { outline: 2px solid var(--ring); outline-offset: 1px; }
[data-ui] .hms-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
[data-ui] .hms { display: flex; align-items: center; gap: 4px; }
[data-ui] .hms input { width: 100%; min-width: 0; height: 40px; border: 0; border-radius: 10px; box-shadow: inset 0 0 0 1px #D8DBE0; text-align: center; font-size: 14px; font-variant-numeric: tabular-nums; color: var(--k-ink); background: #FFF; -moz-appearance: textfield; }
[data-ui] .hms input::-webkit-outer-spin-button, [data-ui] .hms input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
[data-ui] .hms input:focus { outline: none; box-shadow: inset 0 0 0 1px var(--k-primary), 0 0 0 3px rgba(31, 78, 95, .15); }
[data-ui] .hms em { font-style: normal; color: var(--k-muted); font-size: 11px; }
[data-ui] .vf-check { display: flex; align-items: center; gap: 8px; margin-top: 12px; min-height: 40px; cursor: pointer; font-weight: 500; }
[data-ui] .vf-check input { width: 18px; height: 18px; accent-color: #0B0B0C; margin: 0; }
[data-ui] .vf-prog { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: #F4F5F7; display: grid; gap: 8px; }
[data-ui] .vf-prog .row { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-weight: 600; }
[data-ui] .vf-prog .k-bar { height: 7px; }
[data-ui] .vf-prog .k-bar i { background: var(--k-series); transition: width .5s var(--ease); }
[data-ui] .vf-prog small { color: var(--k-muted); font-size: 12px; }
[data-ui] .vf-note { width: 100%; min-height: 84px; border: 0; border-radius: 10px; box-shadow: inset 0 0 0 1px #D8DBE0; padding: 10px 12px; font-size: 13px; line-height: 1.5; color: var(--k-ink); resize: vertical; }
[data-ui] .vf-note:focus { outline: none; box-shadow: inset 0 0 0 1px var(--k-primary), 0 0 0 3px rgba(31, 78, 95, .15); }
@media (max-width: 960px) {
  .media-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  [data-ui] .hms-row { grid-template-columns: 1fr; }
}

/* ---------- Alur ---------- */
.trail-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.step { display: flex; flex-direction: column; gap: 28px; min-height: 440px; padding: 24px; border-radius: var(--radius-lg); }
.s1 { background: var(--navy); color: #FFF; }
.s2 { background: var(--blue-100); color: var(--navy); }
.s3 { background: var(--primary); color: #FFF; }
.s4 { background: #FFF; color: var(--navy); box-shadow: inset 0 0 0 1px var(--border); }
.step-say { font-size: 20px; font-weight: 600; line-height: 1.3; letter-spacing: -.015em; }
.step-say .serif { color: inherit; }
.s1 .step-say .serif, .s3 .step-say .serif { color: var(--blue-100); }
[data-ui].tcard { margin-top: auto; background: #FFF; color: var(--k-ink); border-radius: 14px; padding: 14px; font-family: var(--font); font-size: 12.5px; line-height: 1.4; box-shadow: 0 0 0 1px var(--k-hair), 0 20px 40px -24px rgba(11, 31, 77, .45); transition: transform .5s var(--ease); }
[data-ui] .tc-tab { display: inline-flex; margin-bottom: 10px; padding: 2px 9px; border-radius: 999px; background: #F1F2F4; color: var(--k-muted); font-size: 11px; font-weight: 600; }
[data-ui] .tc-title { font-size: 16px; font-weight: 600; letter-spacing: -.01em; color: var(--k-ink); }
[data-ui] .tc-sub { color: var(--k-muted); font-size: 11.5px; margin-bottom: 12px; }
[data-ui].tcard .k-bar { margin-bottom: 12px; height: 6px; }
[data-ui].tcard .k-bar i { background: var(--k-series); }
[data-ui] .tc-dl { display: grid; gap: 7px; }
[data-ui] .tc-dl div { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
[data-ui] .tc-dl dt { color: var(--k-muted); }
[data-ui] .tc-dl dd { font-weight: 600; font-variant-numeric: tabular-nums; }
@media (hover: hover) and (pointer: fine) {
  .step:hover [data-ui].tcard { transform: translateY(-6px); }
}
@media (max-width: 1100px) {
  .trail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step { min-height: 380px; }
}
@media (max-width: 600px) {
  .trail-grid { grid-template-columns: 1fr; gap: 12px; }
  .step { min-height: 0; gap: 20px; padding: 20px; border-radius: 20px; }
}

/* ---------- Review (kartu dipakai di landing & halaman review) ---------- */
.reviews-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.rcard { display: flex; flex-direction: column; gap: 14px; padding: 24px; background: #FFF; border-radius: var(--radius); box-shadow: 0 0 0 1px var(--border), var(--shadow-sm); transition: box-shadow .4s var(--ease), transform .4s var(--ease); }
.rcard-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.rcard-book b { display: block; font-size: 17px; line-height: 1.3; letter-spacing: -.01em; }
.rcard-book span { font-size: 14px; color: var(--muted-foreground); }
.rcard blockquote { margin: 0; font-family: var(--font-serif); font-style: italic; font-size: 18px; line-height: 1.55; color: var(--navy); }
.rcard blockquote.clamp { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.rcard .more { align-self: flex-start; padding: 0; min-height: 32px; border: 0; background: none; color: var(--link); font-size: 14px; font-weight: 500; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.rcard-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; margin-top: auto; box-shadow: 0 -1px 0 var(--border); font-size: 14px; }
.rcard-who { display: flex; align-items: center; gap: 10px; min-width: 0; }
.avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-soft); color: var(--primary); font-weight: 600; font-size: 13px; flex: none; }
.rcard-who b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rcard-who small, .rcard-date { color: var(--muted-foreground); font-size: 13px; }
@media (hover: hover) and (pointer: fine) {
  .rcard:hover { box-shadow: 0 0 0 1px var(--blue-100), var(--shadow); transform: translateY(-2px); }
}
@media (max-width: 1000px) { .reviews-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .reviews-grid { grid-template-columns: 1fr; } }
.reviews-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 32px; }
.reviews-cta p { color: var(--muted-foreground); }

/* ---------- Milikmu ---------- */
.own { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px 72px; align-items: center; }
.own-visual { position: relative; padding: 8px 8px 0; }
[data-ui].file-card { width: 92%; padding: 22px; background: #FFF; color: var(--k-ink); border-radius: 18px; box-shadow: 0 0 0 1px var(--k-hair), var(--shadow); font-family: var(--font); }
[data-ui] .fc-top { display: flex; align-items: center; gap: 14px; }
[data-ui] .fc-icon { width: 46px; height: 46px; flex: none; border-radius: 12px; display: grid; place-items: center; background: #1E8E4E; color: #FFF; }
[data-ui] .fc-icon .ic { width: 23px; height: 23px; }
[data-ui] .fc-name { min-width: 0; }
[data-ui] .fc-name b { display: block; font-size: 15px; color: var(--k-ink); }
[data-ui] .fc-name small { font-size: 12.5px; color: var(--k-muted); }
[data-ui] .fc-lock { margin-left: auto; }
[data-ui] .fc-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
[data-ui] .fc-tabs span { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: #F1F2F4; font-size: 12.5px; font-weight: 500; }
[data-ui] .fc-tabs span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--tc); }
[data-ui].menu-card { width: 290px; margin: -18px 0 0 auto; padding: 8px; position: relative; background: #FFF; color: var(--k-ink); border-radius: 16px; box-shadow: 0 0 0 1px var(--k-hair), var(--shadow-lg); font-family: var(--font); }
[data-ui] .mc-title { padding: 8px 12px 6px; font-size: 12.5px; font-weight: 600; color: var(--k-muted); }
[data-ui].menu-card ul { list-style: none; padding: 0; }
[data-ui].menu-card li { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; font-size: 13.5px; }
[data-ui].menu-card li .ic { color: var(--k-muted); width: 16px; height: 16px; }
[data-ui].menu-card li.on { background: var(--k-soft); font-weight: 600; }
[data-ui].menu-card li.on .ic { color: var(--k-primary); }
.own-text { display: grid; gap: 20px; }
.setup { list-style: none; padding: 0; counter-reset: s; display: grid; gap: 14px; }
.setup li { counter-increment: s; display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 14px; align-items: start; color: var(--muted-foreground); }
.setup li::before { content: counter(s); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-soft); color: var(--primary); font-size: 14px; font-weight: 600; }
.setup li span { padding-top: 4px; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 4px; }
.facts div { padding: 14px 16px; border-radius: 14px; background: #FFF; box-shadow: 0 0 0 1px var(--border); }
.facts dt { font-size: 13px; color: var(--muted-foreground); }
.facts dd { font-size: 16px; font-weight: 600; color: var(--navy); }
@media (max-width: 960px) {
  .own { grid-template-columns: 1fr; }
  .own-visual { order: 2; }
}
@media (max-width: 480px) {
  [data-ui].file-card { width: 100%; padding: 16px; }
  [data-ui] .fc-top { flex-wrap: wrap; }
  [data-ui] .fc-lock { margin-left: 60px; }
  [data-ui].menu-card { width: 86%; margin-top: -10px; }
  .facts { grid-template-columns: 1fr; }
}

/* ---------- Perbandingan ---------- */
.cmp-wrap { max-width: 1040px; margin-inline: auto; }
.cmp { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; }
.cmp thead th, .cmp thead td { padding: 0 22px 22px; vertical-align: bottom; text-align: left; }
.cmp-blank { width: 22%; }
.cmp-col-plain, .cmp-col-pp { width: 39%; }
.cmp thead .cmp-col-pp { padding-top: 22px; background: var(--navy); border-radius: 22px 22px 0 0; }
.cmp-name { display: block; margin-top: 16px; font-size: 17px; font-weight: 600; color: var(--navy); letter-spacing: -.01em; }
.cmp-col-pp .cmp-name { color: #FFF; }
.cmp-col-pp .cmp-name .serif { color: var(--blue-300); }
.cmp tbody th, .cmp tbody td { padding: 18px 22px; vertical-align: top; text-align: left; font-size: 15px; line-height: 1.5; box-shadow: inset 0 1px 0 var(--border); }
.cmp tbody th { font-weight: 600; color: var(--navy); }
.cmp tbody td { position: relative; padding-left: 54px; }
.cmp tbody td .ic { position: absolute; left: 22px; top: 19px; width: 20px; height: 20px; }
.cmp-no { color: var(--muted-foreground); }
.cmp-no .ic { color: #A3B1C6; }
.cmp-yes { background: var(--navy); color: #FFF; }
.cmp tbody .cmp-yes { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12); }
.cmp-yes .ic { color: var(--blue-300); }
.cmp tbody tr:last-child .cmp-yes { border-radius: 0 0 22px 22px; }
.cmp code { padding: 1px 6px; border-radius: 6px; background: var(--err-bg); color: var(--err-fg); font: 500 .88em/1.4 ui-monospace, Consolas, monospace; white-space: nowrap; }
/* Miniatur: lembar polos vs dashboard */
.cmp-thumb { position: relative; display: block; width: 100%; max-width: 230px; height: 96px; border-radius: 12px; overflow: hidden; }
.cmp-thumb-plain {
  background-color: #FFF;
  background-image: linear-gradient(#E1E3E1 1px, transparent 1px), linear-gradient(90deg, #E1E3E1 1px, transparent 1px);
  background-size: 46px 19px; background-position: -1px 18px;
  box-shadow: 0 0 0 1px var(--border);
}
.cmp-thumb-plain i { position: absolute; inset: 0 0 auto; height: 19px; background: #D7DCE3; }
.cmp-thumb-pp { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: 30px 1fr; gap: 6px; padding: 10px; background: #EEEFF1; }
.cmp-thumb-pp i { position: relative; border-radius: 7px; background: #FFF; }
.cmp-thumb-pp i::after { content: ""; position: absolute; left: 7px; bottom: 7px; width: 55%; height: 5px; border-radius: 3px; background: var(--c, #2A9D8F); }
.cmp-thumb-pp i:nth-child(2) { --c: #E76F51; }
.cmp-thumb-pp i:nth-child(3) { --c: #1D4ED8; }
.cmp-thumb-pp b {
  grid-column: 1 / -1; border-radius: 7px; background-color: #FFF; background-repeat: no-repeat;
  background-image: linear-gradient(#93B4F5, #93B4F5), linear-gradient(#93B4F5, #93B4F5), linear-gradient(#1D4ED8, #1D4ED8), linear-gradient(#93B4F5, #93B4F5), linear-gradient(#1D4ED8, #1D4ED8), linear-gradient(#93B4F5, #93B4F5), linear-gradient(#1D4ED8, #1D4ED8);
  background-size: 9% 35%, 9% 55%, 9% 45%, 9% 70%, 9% 50%, 9% 80%, 9% 62%;
  background-position: 6% 85%, 19% 85%, 32% 85%, 45% 85%, 58% 85%, 71% 85%, 84% 85%;
}
@media (max-width: 720px) {
  .cmp, .cmp thead, .cmp tbody { display: block; }
  .cmp thead tr, .cmp tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
  .cmp thead tr { margin-bottom: 8px; }
  .cmp-blank { display: none; }
  .cmp thead th { width: auto; padding: 12px; border-radius: 16px; }
  .cmp thead .cmp-col-plain { background: #FFF; box-shadow: 0 0 0 1px var(--border); }
  .cmp thead .cmp-col-pp { padding-top: 12px; border-radius: 16px; }
  .cmp-thumb { height: 64px; border-radius: 9px; }
  .cmp-thumb-pp { grid-template-rows: 20px 1fr; gap: 4px; padding: 6px; }
  .cmp-name { margin-top: 10px; font-size: 15px; }
  .cmp tbody tr + tr { margin-top: 14px; }
  .cmp tbody th { grid-column: 1 / -1; padding: 6px 2px 0; box-shadow: none; }
  .cmp tbody td { padding: 12px 12px 14px 40px; border-radius: 14px; font-size: 14px; box-shadow: none; }
  .cmp tbody td .ic { left: 12px; top: 13px; width: 18px; height: 18px; }
  .cmp-no { background: #FFF; box-shadow: 0 0 0 1px var(--border) !important; }
  .cmp tbody tr:last-child .cmp-yes { border-radius: 14px; }
  .cmp code { white-space: normal; }
}

/* ---------- Harga ---------- */
.price {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
  grid-template-areas: "head card" "how card"; gap: 28px 88px; align-items: start;
}
.price-head { grid-area: head; display: grid; gap: 18px; align-self: end; }
.price-how { grid-area: how; display: grid; gap: 16px; }
.price-card { grid-area: card; align-self: center; }
.price-sub { font-size: 17px; }
.wa-card { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 14px; align-items: center; margin-top: 10px; padding: 16px; border-radius: var(--radius); background: #FFF; box-shadow: 0 0 0 1px var(--border); }
.wa-card b { display: block; font-size: 15px; }
.wa-card p { font-size: 14px; line-height: 1.5; color: var(--muted-foreground); }
.wa-card p.wa-missing { margin-top: 4px; color: var(--warn-fg); }
.wa-ic { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--ok-bg); color: var(--ok-fg); }
.wa-ic .ic { width: 21px; height: 21px; }
.btn.is-off { opacity: .45; cursor: not-allowed; pointer-events: none; }

.price-card { border-radius: var(--radius-lg); background: #FFF; box-shadow: 0 0 0 1px var(--border), var(--shadow-lg); overflow: hidden; }
.pc-top { display: grid; justify-items: start; gap: 4px; padding: 30px 32px 28px; background: var(--navy); color: #FFF; }
.pc-badge { background: rgba(255, 255, 255, .14); color: #FFF; }
.pc-top h3 { margin-top: 12px; color: #FFF; font-size: 20px; }
.pc-price { display: flex; align-items: flex-start; gap: 8px; color: #FFF; font-size: clamp(48px, 5vw, 60px); font-weight: 600; line-height: 1.05; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.pc-cur { margin-top: .32em; font-size: .38em; font-weight: 500; letter-spacing: 0; color: var(--blue-300); }
.pc-note { font-size: 14px; color: rgba(255, 255, 255, .75); }
.pc-body { display: grid; gap: 16px; padding: 28px 32px 30px; }
.pc-label { font-size: 13px; font-weight: 600; color: var(--muted-foreground); }
.pc-list { list-style: none; padding: 0; display: grid; gap: 12px; }
.pc-list li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; font-size: 15px; line-height: 1.5; }
.pc-list .ic { width: 20px; height: 20px; margin-top: 1px; color: var(--primary); }
.pc-cta { width: 100%; justify-content: space-between; padding-left: 26px; margin-top: 8px; }
.pc-foot { font-size: 13px; text-align: center; color: var(--muted-foreground); }
@media (max-width: 960px) {
  .price { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "card" "how"; gap: 32px; }
  .price-card { max-width: 520px; width: 100%; }
  .price-how { margin-top: 8px; }
}
@media (max-width: 520px) {
  .pc-top { padding: 24px 22px 22px; }
  .pc-body { padding: 22px 22px 24px; }
  .wa-card { grid-template-columns: 44px minmax(0, 1fr); }
  .wa-card .btn { grid-column: 1 / -1; }
}

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 32px 72px; align-items: start; }
.faq .sec-head { position: sticky; top: 100px; }
.accordion { padding: 4px 24px; background: #FFF; border-radius: var(--radius); box-shadow: 0 0 0 1px var(--border); }
.acc-item + .acc-item { box-shadow: 0 -1px 0 var(--border); }
.acc-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 16px 0; font-size: 17px; font-weight: 600; color: var(--navy); border-radius: 8px; }
.acc-item summary::-webkit-details-marker { display: none; }
.acc-chev { color: var(--muted-foreground); transition: transform .45s var(--ease); }
.acc-item[open] .acc-chev { transform: rotate(180deg); color: var(--primary); }
.acc-body { padding: 0 32px 20px 0; color: var(--muted-foreground); max-width: 62ch; }
.acc-item[open] .acc-body { animation: accIn .45s var(--ease); }
@keyframes accIn { from { opacity: 0; transform: translateY(-4px); } }
@media (hover: hover) and (pointer: fine) { .acc-item summary:hover { color: var(--primary); } }
@media (max-width: 860px) {
  .faq { grid-template-columns: 1fr; }
  .faq .sec-head { position: static; margin-bottom: 8px; }
  .accordion { padding: 4px 18px; }
}

/* ---------- Penutup ---------- */
.close { display: grid; gap: 18px; justify-items: start; padding: clamp(40px, 7vw, 88px) clamp(24px, 6vw, 72px); border-radius: var(--radius-lg); background: var(--navy); color: #FFF; box-shadow: var(--shadow-lg); }
.close h2 { color: #FFF; font-size: clamp(32px, 4.6vw, 56px); max-width: 16ch; }
.close h2 .serif { color: var(--blue-300); }
.close p { font-size: 18px; color: rgba(255, 255, 255, .8); max-width: 50ch; }
.close .btn-row { margin-top: 14px; }
.close :focus-visible { outline-color: #FFF; }
@media (max-width: 720px) {
  .close { margin-inline: calc(-1 * var(--gutter) + 8px); border-radius: 20px; }
  .close .btn-row, .close .btn { width: 100%; }
}

/* ---------- Kaki ---------- */
.foot { background: var(--background-alt); box-shadow: 0 -1px 0 var(--border); }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding: 40px 0 48px; }
.foot .brand { font-size: 16px; }
.foot .brand-mark { width: 30px; height: 30px; border-radius: 9px; }
.foot .brand-mark .ic { width: 17px; height: 17px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 0 4px; }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; border-radius: 999px; font-size: 14px; color: var(--foreground); text-decoration: none; }
.foot-year { font-size: 14px; color: var(--muted-foreground); }
@media (hover: hover) and (pointer: fine) { .foot-links a:hover { color: var(--navy); background: var(--muted); } }

/* ==========================================================================
   Halaman Review Buku
   ========================================================================== */
.page-head { padding: clamp(48px, 7vw, 88px) 0 48px; background: var(--background); }
.page-head-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; }
.page-head .lead { margin-top: 18px; max-width: 54ch; }
.page-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.page-stats div { padding: 16px; border-radius: 14px; background: var(--background-alt); box-shadow: inset 0 0 0 1px var(--border); }
.page-stats b { display: block; font-size: 26px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.page-stats span { font-size: 13px; color: var(--muted-foreground); }
.flow { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; padding: 0; list-style: none; }
.flow li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 999px; background: var(--background-alt); box-shadow: inset 0 0 0 1px var(--border); font-size: 14px; color: var(--foreground); }
.flow li span { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: #FFF; font-size: 12px; font-weight: 600; }
@media (max-width: 900px) { .page-head-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .page-stats b { font-size: 22px; } .page-stats div { padding: 12px; } }

.r-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: start; }
.r-toolbar { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.r-search { position: relative; }
.r-search .ic { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted-foreground); pointer-events: none; }
.r-search .input { padding-left: 42px; }
.r-count { font-size: 14px; color: var(--muted-foreground); margin-bottom: 16px; }
.r-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.r-empty { grid-column: 1 / -1; display: grid; justify-items: center; gap: 10px; padding: 56px 20px; text-align: center; background: #FFF; border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--border); }
.r-empty .e-ic { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-soft); color: var(--primary); }
.r-empty p { color: var(--muted-foreground); max-width: 40ch; }
.skeleton { height: 230px; border-radius: var(--radius); background: linear-gradient(90deg, var(--muted) 0%, #F7F9FC 50%, var(--muted) 100%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

.r-form-wrap { position: sticky; top: 92px; }
.r-form { padding: 26px; }
.r-form h2 { font-size: 26px; letter-spacing: -.02em; }
.r-form > p { margin: 8px 0 22px; color: var(--muted-foreground); font-size: 15px; }
.r-form .counter { font-size: 12.5px; color: var(--muted-foreground); text-align: right; font-variant-numeric: tabular-nums; }
.r-form .btn { width: 100%; margin-top: 20px; }
.r-form .privacy { margin-top: 14px; font-size: 13px; color: var(--muted-foreground); }
.r-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-alert { margin-top: 16px; padding: 12px 14px; border-radius: 12px; background: var(--err-bg); color: var(--err-fg); font-size: 14px; font-weight: 500; }
.r-success { display: grid; justify-items: center; gap: 12px; padding: 36px 26px; text-align: center; }
.r-success .s-ic { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--ok-bg); color: var(--ok-fg); }
.r-success .s-ic .ic { width: 26px; height: 26px; }
.r-success p { color: var(--muted-foreground); }
.r-success .btn { margin-top: 8px; }
.demo-note { margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: var(--blue-soft); color: var(--foreground); font-size: 13px; }
@media (max-width: 1080px) {
  .r-layout { grid-template-columns: 1fr; }
  .r-form-wrap { position: static; max-width: 640px; }
}
@media (max-width: 760px) {
  .r-toolbar { grid-template-columns: 1fr 1fr; }
  .r-search { grid-column: 1 / -1; }
  .r-list { grid-template-columns: 1fr; }
}

/* ---------- Muncul saat digulir (hanya bila JS aktif) ---------- */
.js .rv { opacity: 0; translate: 0 18px; }
.js .rv.rv-in { opacity: 1; translate: 0 0; transition: opacity .8s var(--ease), translate .9s var(--ease); transition-delay: calc(var(--rv-i, 0) * 70ms); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv { opacity: 1 !important; translate: none !important; }
}

/* ---------- Fragmen: Wishlist & kartu alur (tambahan) ---------- */
[data-ui].wish-card { padding: 22px; background: #FFF; color: var(--k-ink); border-radius: 18px; box-shadow: 0 0 0 1px var(--k-hair), var(--shadow-lg); font-family: var(--font); font-size: 13px; }
[data-ui] .wl-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding-bottom: 14px; }
[data-ui] .wl-title { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; color: var(--k-ink); }
[data-ui] .wl-title .ic { color: var(--k-primary); }
[data-ui] .wl-sub { font-size: 12.5px; color: var(--k-muted); }
[data-ui] .wl-total { text-align: right; }
[data-ui] .wl-total span { display: block; font-size: 12px; color: var(--k-muted); }
[data-ui] .wl-total b { font-size: 21px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--k-ink); }
[data-ui] .wl-list { list-style: none; padding: 0; }
[data-ui] .wl-list li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto auto; gap: 6px 12px; align-items: center; padding: 11px 10px; margin: 0 -10px; border-radius: 12px; box-shadow: 0 -1px 0 var(--k-hair); }
[data-ui] .wl-list li.is-hover { background: #F4F5F7; box-shadow: none; }
[data-ui] .wl-list li.is-hover + li { box-shadow: none; }
[data-ui] .wl-main { min-width: 0; }
[data-ui] .wl-main b { display: block; font-size: 13.5px; font-weight: 600; color: var(--k-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
[data-ui] .wl-main span { display: block; font-size: 11.5px; color: var(--k-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
[data-ui] .wl-price { font-weight: 600; font-variant-numeric: tabular-nums; min-width: 82px; text-align: right; color: var(--k-ink); }
[data-ui] .wl-actions { grid-column: 2 / -1; display: flex; flex-wrap: wrap; gap: 6px; }
[data-ui] .wl-act { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 999px; background: #FFF; box-shadow: 0 0 0 1px var(--k-hair); font-size: 11.5px; font-weight: 600; color: var(--k-ink); }
[data-ui] .wl-act .ic { width: 13px; height: 13px; }
[data-ui] .tc-top { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; align-items: center; margin-bottom: 12px; }
[data-ui] .tc-top .tc-sub { margin-bottom: 0; }
@media (max-width: 480px) {
  [data-ui].wish-card { padding: 16px; }
  [data-ui] .wl-list li { grid-template-columns: 30px minmax(0, 1fr) auto; }
  [data-ui] .wl-list li .k-badge { grid-column: 2; grid-row: 2; justify-self: start; }
  [data-ui] .wl-price { grid-column: 3; grid-row: 1 / span 2; }
  [data-ui] .wl-actions { grid-column: 1 / -1; }
}

/* ==========================================================================
   Halaman Bayar (QRIS)
   ========================================================================== */
.pay-sum { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; padding: 22px 24px; border-radius: var(--radius); background: var(--navy); color: #FFF; box-shadow: var(--shadow); }
.pay-sum > div { display: grid; gap: 2px; }
.pay-sum-label { font-size: 14px; color: rgba(255, 255, 255, .75); }
.pay-sum-price { color: #FFF; font-size: 34px; font-weight: 600; line-height: 1.15; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.pay-sum-note { font-size: 13px; color: rgba(255, 255, 255, .7); }
.pay-sum-link { font-size: 14px; font-weight: 500; color: var(--blue-300); text-underline-offset: 3px; }
.pay-sum :focus-visible { outline-color: #FFF; }
.pay-section { padding-top: clamp(56px, 7vw, 88px); }
.pay { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 40px 80px; align-items: start; }
.qris-card { display: grid; gap: 18px; padding: 24px; border-radius: var(--radius-lg); background: #FFF; box-shadow: 0 0 0 1px var(--border), var(--shadow-lg); }
.qris-head { display: flex; align-items: center; gap: 14px; }
.qris-head h2 { font-size: 20px; letter-spacing: -.015em; }
.qris-head p { font-size: 14px; color: var(--muted-foreground); }
.qris-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-soft); color: var(--primary); }
.qris-ic .ic { width: 22px; height: 22px; }
.qris-frame { border-radius: 16px; background: #FFF; box-shadow: inset 0 0 0 1px var(--border); overflow: hidden; }
.qris-frame img { width: 100%; height: auto; }
.qris-missing { display: grid; justify-items: center; gap: 8px; padding: 56px 24px; text-align: center; background: var(--background-alt); }
.qris-missing .ic { width: 40px; height: 40px; margin-bottom: 6px; color: var(--muted-foreground); stroke-width: 1.4; }
.qris-missing b { font-size: 16px; }
.qris-missing span { max-width: 30ch; font-size: 14px; line-height: 1.5; color: var(--muted-foreground); }
.qris-total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--background-alt); }
.qris-total dt { font-size: 14px; color: var(--muted-foreground); }
.qris-total dd { font-size: 22px; font-weight: 600; color: var(--navy); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.qris-dl { width: 100%; }
.qris-tip { font-size: 13px; line-height: 1.5; color: var(--muted-foreground); }
.pay-steps { display: grid; gap: 24px; }
.pay-steps .note { margin-top: 0; }
@media (max-width: 900px) {
  .pay { grid-template-columns: minmax(0, 1fr); }
  .qris-card { max-width: 440px; width: 100%; }
}
@media (max-width: 520px) {
  .qris-card { padding: 18px; }
  .pay-sum-price { font-size: 30px; }
}
