/* Rara and Raka. White ground, navy ink, orange for what you tap, and their
   two portraits as the only pictures. One look, light, on purpose. */
:root {
  color-scheme: light;
  --kanvas: #f5f6fb;
  --kertas: #ffffff;
  --tinta: #1b1e45;
  --samar: #585d80;
  --garis: #dde0ee;
  --jingga: #f47a20;
  --jingga-tua: #d9610c;
  --emas: #b8862a;
  --kuning: #ffd23f;
  --merah-jambu: #ff5fa2;
  --biru-muda: #3cc3f2;
  --ungu: #8a5cf6;
  --judul: "Baloo 2", "Trebuchet MS", system-ui, sans-serif;
  --isi: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --lebar: 68rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--kanvas);
  color: var(--tinta);
  font-family: var(--isi);
  font-size: 1rem;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--judul); line-height: 1.12; margin: 0; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--biru-muda); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* What the page marks hidden is hidden, whatever else styles it. Without
   this a class that sets display (the pills, the round buttons) wins over
   the attribute: the balance showed for someone not signed in, and the
   microphone in a browser that cannot listen. */
[hidden] { display: none !important; }

.bungkus { max-width: var(--lebar); margin: 0 auto; padding-inline: 20px; }

/* ── buttons ───────────────────────────────────────────── */
.tombol {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--judul); font-weight: 700; font-size: 1.1rem; line-height: 1;
  padding: 14px 24px; border-radius: 999px; border: 2px solid var(--tinta);
  background: var(--jingga); color: var(--tinta); text-decoration: none; cursor: pointer;
  box-shadow: 0 4px 0 var(--tinta); transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.tombol:hover { background: var(--kuning); }
.tombol:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--tinta); }
.tombol.polos { background: var(--kertas); }
.tombol.polos:hover { background: var(--kanvas); }
.tombol[disabled] { opacity: .55; cursor: not-allowed; }

/* ── site header ───────────────────────────────────────── */
.kepala { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px; }
.merek { font-family: var(--judul); font-weight: 800; font-size: 1.7rem; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; flex: none; }
.merek img { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--tinta); background: var(--kertas); object-fit: cover; }
.dua-wajah { display: inline-flex; flex: none; }
.dua-wajah img + img { margin-left: -12px; }
.kepala nav { display: flex; gap: 2px; }
.kepala nav a { font-weight: 600; text-decoration: none; padding: 8px 14px; border-radius: 999px; }
.kepala nav a:hover { background: var(--kertas); }

/* ── hero ──────────────────────────────────────────────── */
.buka { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 32px; align-items: center; padding-block: 28px 56px; }
.buka .teks { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.label { font-size: .8rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--jingga-tua); }
.buka h1 { font-weight: 800; font-size: clamp(2.3rem, 6.2vw, 4.1rem); }
.buka h1 em { font-style: normal; background: linear-gradient(transparent 62%, var(--kuning) 62%); }
.pengantar { font-size: 1.12rem; color: var(--samar); max-width: 34rem; }
.aksi { display: flex; flex-wrap: wrap; gap: 14px; }
.kecil { font-size: .9rem; color: var(--samar); }
/* The two doors: each portrait is a link into the conversation with that
   character, the second set a little lower so they read as two people. */
.dua { list-style: none; margin: 0; padding: 0 0 22px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; min-width: 0; }
.dua li { min-width: 0; }
.dua li + li { transform: translateY(22px); }
.dua a { display: flex; flex-direction: column; height: 100%; text-decoration: none; background: var(--kertas); border: 2px solid var(--tinta); border-radius: 22px; overflow: hidden; box-shadow: 0 6px 0 var(--tinta); transition: transform .12s ease, box-shadow .12s ease; }
.dua a:hover { transform: translateY(-3px); box-shadow: 0 9px 0 var(--tinta); }
.dua a:active { transform: translateY(3px); box-shadow: 0 3px 0 var(--tinta); }
.dua img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-bottom: 2px solid var(--tinta); }
.papan { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px 14px; flex: 1; }
.papan strong { font-family: var(--judul); font-weight: 800; font-size: 1.5rem; line-height: 1.1; }
.papan span { color: var(--samar); font-size: .9rem; line-height: 1.35; }
.papan .masuk { margin-top: auto; padding-top: 10px; color: var(--tinta); font-weight: 700; font-size: .92rem; }
.papan .masuk::after { content: " →"; }
.dua a:hover .masuk { color: var(--jingga-tua); }

/* ── sections ──────────────────────────────────────────── */
.bagian { padding-block: 48px; display: flex; flex-direction: column; gap: 24px; }
.bagian > header { display: flex; flex-direction: column; gap: 10px; max-width: 40rem; }
.bagian h2 { font-weight: 800; font-size: clamp(1.7rem, 4vw, 2.4rem); }
.bagian > header p { color: var(--samar); }

.contoh { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 18px; }
.contoh li { background: var(--kertas); border: 2px solid var(--tinta); border-radius: 20px; padding: 18px; display: flex; flex-direction: column; gap: 12px; min-width: 0; box-shadow: 0 5px 0 var(--tinta); }
.contoh .kamu { align-self: flex-end; max-width: 92%; background: var(--tinta); color: var(--kertas); padding: 10px 14px; border-radius: 16px 16px 4px 16px; font-size: .95rem; }
.contoh .rara { align-self: flex-start; max-width: 96%; background: var(--kanvas); padding: 10px 14px; border-radius: 16px 16px 16px 4px; font-weight: 500; }
.contoh audio { width: 100%; margin-top: auto; }
.siapa { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .7; margin-bottom: 2px; }

.hal { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 26px; }
.hal li { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.hal h3 { font-weight: 700; font-size: 1.3rem; display: flex; align-items: center; gap: 10px; }
.hal h3::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--tinta); background: var(--titik, var(--kuning)); flex: none; }
.hal li:nth-child(2) { --titik: var(--merah-jambu); }
.hal li:nth-child(3) { --titik: var(--biru-muda); }
.hal p { color: var(--samar); }

.jujur { background: var(--tinta); color: var(--kertas); border-radius: 24px; padding: 28px 24px; display: flex; flex-direction: column; gap: 16px; }
.jujur h2 { font-weight: 800; font-size: clamp(1.5rem, 3.6vw, 2rem); }
.jujur ul { margin: 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 8px; max-width: 46rem; }
.jujur strong { color: var(--kuning); font-weight: 700; }

/* ── questions ─────────────────────────────────────────── */
.tanya { display: flex; flex-direction: column; gap: 10px; max-width: 46rem; }
.tanya details { background: var(--kertas); border: 2px solid var(--tinta); border-radius: 16px; padding-inline: 16px; }
.tanya summary { cursor: pointer; font-weight: 700; padding-block: 14px; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tanya summary::-webkit-details-marker { display: none; }
.tanya summary::after { content: "+"; flex: none; font-family: var(--judul); font-weight: 800; font-size: 1.4rem; line-height: 1; }
.tanya details[open] summary::after { content: "\2212"; }
.tanya p { color: var(--samar); padding-bottom: 14px; }
.tanya a { font-weight: 600; }

/* ── prices ────────────────────────────────────────────── */
.harga { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(13.5rem, 1fr)); gap: 16px; }
.harga[hidden] { display: none; }
.harga li { background: var(--kertas); border: 2px solid var(--tinta); border-radius: 20px; padding: 18px; display: flex; flex-direction: column; gap: 4px; min-width: 0; box-shadow: 0 5px 0 var(--tinta); }
.harga li.gratis { background: var(--kuning); }
.harga .nama { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--samar); }
.harga li.gratis .nama { color: var(--tinta); }
.harga .angka { font-family: var(--judul); font-weight: 800; font-size: 1.9rem; line-height: 1.1; }
.harga .isi { font-weight: 600; }
.harga .kira { color: var(--samar); font-size: .9rem; }
.harga li.gratis .kira { color: var(--tinta); }

.tutup { text-align: center; align-items: center; }
.tutup .aksi { justify-content: center; }
.tutup h2 { font-size: clamp(1.9rem, 5vw, 2.8rem); }

.kaki { border-top: 2px solid var(--garis); padding-block: 22px 32px; color: var(--samar); font-size: .9rem; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
.kaki a { font-weight: 600; display: inline-block; padding-block: 5px; }
.kaki .pengelola { flex-basis: 100%; font-size: .82rem; }

/* ── the two pages of small print ──────────────────────── */
.naskah { max-width: 44rem; padding-block: 12px 48px; display: flex; flex-direction: column; gap: 14px; }
.naskah h1 { font-weight: 800; font-size: clamp(2rem, 5vw, 2.8rem); }
.naskah h2 { font-weight: 700; font-size: 1.35rem; margin-top: 14px; }
.naskah ul { margin: 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 6px; }
.naskah .tanggal { color: var(--samar); font-size: .9rem; }
.naskah a { font-weight: 600; }

@media (max-width: 760px) {
  .buka { grid-template-columns: 1fr; padding-block: 8px 36px; }
  .dua { gap: 12px; max-width: 30rem; }
  .papan { padding: 10px 12px 12px; }
  .papan strong { font-size: 1.3rem; }
  .bagian { padding-block: 36px; }
}
@media (max-width: 420px) {
  .kepala { gap: 8px; }
  .merek { font-size: 1.2rem; gap: 6px; }
  .merek img { width: 32px; height: 32px; }
  .dua-wajah img + img { margin-left: -10px; }
  .kepala nav a { padding: 8px; font-size: .95rem; }
}
@media (max-width: 340px) {
  .kepala nav a[href$="#harga"] { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
