:root {
  --espresso: #3B2A20;
  --espresso-tua: #2A1D16;
  --amber: #E8A33D;
  --amber-tua: #B9761A;
  --krem: #F6EFE4;
  --krem-2: #EDE2D1;
  --tinta: #24180F;
  --abu: #6B5A4C;
  --judul: 'Bricolage Grotesque', 'Arial Narrow', sans-serif;
  --badan: 'Plus Jakarta Sans', system-ui, sans-serif;
  --gutter: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--krem);
  color: var(--tinta);
  font: 400 17px/1.6 var(--badan);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--judul); line-height: 1.05; margin: 0; letter-spacing: -0.02em; }
h2 { font-size: clamp(30px, 6vw, 48px); font-weight: 800; }
h3 { font-size: 24px; font-weight: 700; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }

/* ---------- header ---------- */
.atas {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px var(--gutter);
  background: var(--espresso); color: var(--krem);
}
.merek { font: 800 22px/1 var(--judul); text-decoration: none; letter-spacing: -0.02em; min-height: 44px; display: flex; align-items: center; }
.merek b { color: var(--amber); }
.atas nav { display: flex; gap: 4px; }
.atas nav a { text-decoration: none; font-size: 15px; padding: 12px 8px; opacity: .85; }
.atas nav a:hover { opacity: 1; color: var(--amber); }

/* ---------- tombol ---------- */
.tombol-grup { display: flex; flex-wrap: wrap; gap: 12px; }
.tombol {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 22px; border-radius: 999px;
  font-weight: 600; font-size: 16px; text-decoration: none;
  transition: transform .15s ease, background .15s ease;
}
.tombol:hover { transform: translateY(-2px); }
.tombol.utama { background: var(--amber); color: var(--tinta); }
.tombol.utama:hover { background: #F0B455; }
.tombol.garis { border: 2px solid rgba(246, 239, 228, .5); color: var(--krem); }
.tombol.garis:hover { border-color: var(--krem); }
.tombol.terang { background: var(--krem); color: var(--tinta); }
.tombol.garis-terang { border: 2px solid var(--tinta); color: var(--tinta); }

/* ---------- pembuka ---------- */
.pembuka {
  background: var(--espresso); color: var(--krem);
  padding: 40px var(--gutter) 56px;
  display: grid; gap: 40px;
}
.pembuka h1 { font-size: clamp(40px, 11vw, 76px); font-weight: 800; }
.lead { font-size: 18px; margin: 20px 0 28px; color: #E6D9C6; max-width: 34em; }
.kecil { font-size: 14px; margin-top: 16px; color: #C9B8A2; }

/* panel studio */
.studio {
  margin: 0;
  background: var(--espresso-tua);
  border: 1px solid #54402F;
  border-radius: 20px;
  padding: 14px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7);
}
.studio-bilah { display: flex; align-items: center; gap: 6px; padding: 2px 4px 12px; }
.titik { width: 10px; height: 10px; border-radius: 50%; background: #5C4636; }
.studio-nama { margin-left: auto; font-size: 13px; color: #B9A58D; }
.prompt { background: #3A2A1F; border-radius: 12px; padding: 12px 14px; }
.prompt-label { display: block; font-size: 13px; color: var(--amber); font-weight: 600; margin-bottom: 4px; }
.prompt p { font-size: 15px; line-height: 1.45; color: var(--krem); }
.kursor { display: inline-block; width: 2px; height: 1.1em; background: var(--amber); margin-left: 3px; vertical-align: -3px; animation: kedip 1s steps(1) infinite; }
@keyframes kedip { 50% { opacity: 0; } }

.hasil { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.kotak { background: #3A2A1F; border-radius: 12px; padding: 8px; display: flex; flex-direction: column; gap: 8px; }
.jenis { font-size: 13px; font-weight: 600; color: #E6D9C6; padding: 0 4px 2px; }
.layar { aspect-ratio: 4 / 3; border-radius: 8px; position: relative; overflow: hidden; }

.video .layar { background: linear-gradient(160deg, #F3C77A 0%, #C98A3A 45%, #6E4325 100%); }
.putar {
  position: absolute; inset: 0; margin: auto; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(36, 24, 15, .55);
}
.putar::after {
  content: ""; position: absolute; left: 15px; top: 11px;
  border-left: 12px solid var(--krem); border-top: 8px solid transparent; border-bottom: 8px solid transparent;
}
.gambar .layar { background: #F2D9AE; }
.matahari { position: absolute; width: 28%; aspect-ratio: 1; border-radius: 50%; background: var(--amber); top: 16%; right: 18%; }
.bukit { position: absolute; left: -10%; right: -10%; bottom: -40%; height: 80%; border-radius: 50% 50% 0 0; background: var(--espresso); }

.gelombang, .not { display: flex; align-items: center; justify-content: center; gap: 4px; background: #2A1D16; }
.gelombang i { display: block; width: 5px; border-radius: 3px; background: var(--amber); animation: denyut 1.2s ease-in-out infinite; }
.gelombang i:nth-child(odd) { animation-delay: -.4s; }
.gelombang i:nth-child(3n) { animation-delay: -.8s; }
.gelombang i:nth-child(1) { height: 20%; } .gelombang i:nth-child(2) { height: 45%; } .gelombang i:nth-child(3) { height: 70%; }
.gelombang i:nth-child(4) { height: 35%; } .gelombang i:nth-child(5) { height: 60%; } .gelombang i:nth-child(6) { height: 80%; }
.gelombang i:nth-child(7) { height: 40%; } .gelombang i:nth-child(8) { height: 65%; } .gelombang i:nth-child(9) { height: 30%; }
.gelombang i:nth-child(10) { height: 55%; } .gelombang i:nth-child(11) { height: 25%; } .gelombang i:nth-child(12) { height: 15%; }
@keyframes denyut { 50% { transform: scaleY(.45); } }

.not { gap: 8px; align-items: flex-end; padding-bottom: 18%; background: #4A3426; }
.not i { display: block; width: 10px; height: 10px; border-radius: 50%; background: var(--krem); position: relative; }
.not i::before { content: ""; position: absolute; right: 0; bottom: 4px; width: 2px; height: 22px; background: var(--krem); }
.not i:nth-child(2) { margin-bottom: 10px; } .not i:nth-child(3) { margin-bottom: 18px; }
.not i:nth-child(4) { margin-bottom: 6px; } .not i:nth-child(5) { margin-bottom: 14px; }

.studio figcaption { font-size: 13px; color: #A8937B; margin-top: 10px; padding: 0 4px; }

/* ---------- produk ---------- */
section { padding: 64px var(--gutter); }
.produk h2 { max-width: 12em; }
.produk-grid { display: grid; gap: 16px; margin-top: 32px; }
.produk-kartu { border-radius: 20px; padding: 28px 24px; display: flex; flex-direction: column; gap: 14px; }
.produk-kartu .nomor { font: 800 15px/1 var(--judul); letter-spacing: .04em; opacity: .6; }
.produk-kartu h3 { font-size: 32px; font-weight: 800; }
.produk-kartu .harga { font: 800 40px/1 var(--judul); letter-spacing: -0.02em; margin-top: 6px; }
.harga small { font: 600 16px var(--badan); letter-spacing: 0; opacity: .75; }
.produk-kartu .tombol { align-self: flex-start; margin-top: 4px; }
.kelas { background: var(--amber); color: var(--tinta); }
.kelas .tombol.utama { background: var(--tinta); color: var(--krem); }
.mesin { background: var(--espresso); color: var(--krem); }
.jenis-daftar { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.jenis-daftar li { border: 1px solid #6E5643; border-radius: 999px; padding: 4px 12px; font-size: 14px; }

/* ---------- siapa ---------- */
.siapa { background: var(--krem-2); }
.siapa-daftar { list-style: none; counter-reset: s; padding: 0; margin: 28px 0 0; display: grid; gap: 0; }
.siapa-daftar li {
  counter-increment: s; position: relative;
  padding: 20px 0 20px 56px; border-top: 1px solid #D5C4AB; font-size: 18px; color: var(--abu);
}
.siapa-daftar li:last-child { border-bottom: 1px solid #D5C4AB; }
.siapa-daftar li::before {
  content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 20px;
  font: 800 22px/1.3 var(--judul); color: var(--amber-tua);
}
.siapa-daftar strong { color: var(--tinta); font-weight: 600; }

/* ---------- cara ---------- */
.cara-grid { display: grid; gap: 28px; margin-top: 28px; }
.cara-kolom h3 { margin-bottom: 14px; }
.cara-kolom ol { margin: 0; padding-left: 22px; display: grid; gap: 8px; }
.cara-kolom li::marker { font-family: var(--judul); font-weight: 800; color: var(--amber-tua); }
.cara-kolom a { color: var(--amber-tua); font-weight: 600; text-underline-offset: 3px; }

/* ---------- tanya ---------- */
.tanya { background: var(--krem-2); }
.tanya h2 { margin-bottom: 24px; }
details { border-top: 1px solid #D5C4AB; }
details:last-child { border-bottom: 1px solid #D5C4AB; }
summary {
  cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative;
  font-weight: 600; font-size: 18px; min-height: 44px;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font: 800 28px/1 var(--judul); color: var(--amber-tua); }
details[open] summary::after { content: "–"; }
details p { padding: 0 0 20px; color: var(--abu); max-width: 38em; }

/* ---------- penutup ---------- */
.penutup { background: var(--amber); }
.penutup h2 { max-width: 11em; margin-bottom: 28px; }
.penutup .tombol.utama { background: var(--tinta); color: var(--krem); }

.bawah {
  background: var(--espresso); color: #C9B8A2;
  padding: 28px var(--gutter); font-size: 15px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px;
}
.bawah a { display: inline-block; padding: 10px 0; }

/* ---------- layar lebar ---------- */
@media (min-width: 900px) {
  :root { --gutter: max(48px, calc((100vw - 1200px) / 2)); }
  .pembuka { grid-template-columns: 1.1fr 1fr; align-items: center; padding-top: 72px; padding-bottom: 96px; gap: 64px; }
  .lead { font-size: 20px; }
  section { padding-top: 96px; padding-bottom: 96px; }
  .produk-grid { grid-template-columns: 1.15fr 1fr; gap: 20px; }
  .produk-kartu { padding: 40px; }
  .siapa { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
  .siapa-daftar { margin-top: 0; }
  .cara-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
  .tanya { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
  .tanya h2 { margin-bottom: 0; }
  .tanya details:first-of-type { border-top: 1px solid #D5C4AB; }
  .penutup { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
  .penutup h2 { margin-bottom: 0; }
}

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

.wa {
  display: flex; width: fit-content; align-items: center; min-height: 44px; margin-top: 6px;
  color: var(--amber-tua); font-weight: 600; text-underline-offset: 3px;
}
