/* Warna dan huruf template ini diatur di blok :root berikut. */
:root {
  --ground: #F4E9D2;
  --ink: #2A1E14;
  --hijau: #0F5C4D;
  --bata: #C2410C;
  --kuning: #F2B632;
  --kertas: #FFFBF0;
  --action: #0F5C4D;
  --action-ink: #FFFBF0;
  --focus: #C2410C;
  --font: 'Hanken Grotesk', Arial, sans-serif;
  --judul: 'Young Serif', Georgia, serif;
}

@font-face { font-family: 'Young Serif'; font-weight: 400; font-display: swap; src: url('fonts/young-serif-400.woff2') format('woff2'); }
@font-face { font-family: 'Hanken Grotesk'; font-weight: 400; font-display: swap; src: url('fonts/hanken-grotesk-400.woff2') format('woff2'); }
@font-face { font-family: 'Hanken Grotesk'; font-weight: 700; font-display: swap; src: url('fonts/hanken-grotesk-700.woff2') format('woff2'); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh; min-height: 100svh;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.45;
}
h1, h2, p, dl, dd, ul { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; }
input, button { font: inherit; color: inherit; border-radius: 0; }
button { cursor: pointer; }
[hidden] { display: none; }
:focus-visible { outline: 3px solid var(--focus, currentColor); outline-offset: 2px; }

.alert { font-weight: 600; }
.trial { display: inline-block; padding: 10px 0; }
.more summary { cursor: pointer; padding: 10px 0; }
.more label { display: block; }
.more input { width: 100%; padding: 10px 12px; margin-top: 4px; }

/* Halaman setelah login: alogin, status, logout, error */
.sheet {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  min-height: 100vh; min-height: 100svh;
  width: 100%;
  max-width: 30rem;
  margin: 0 auto;
  padding: 32px 20px;
}
.sheet h1 { font-size: 44px; line-height: 1.02; }
.facts { display: grid; gap: 10px; }
.facts div { display: flex; justify-content: space-between; gap: 16px; }
.facts dd { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.action {
  display: block;
  width: 100%;
  padding: 16px;
  border: 0;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  background: var(--action);
  color: var(--action-ink);
  transition: transform .15s ease;
}
.action:active { transform: translateY(1px); }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

.brosur { display: grid; gap: 16px; max-width: 980px; margin: 0 auto; padding-bottom: 28px; }
h2 { font-family: var(--judul); font-weight: 400; font-size: 24px; line-height: 1.1; }

.sampul::before, .sampul::after { content: ''; position: absolute; top: 12px; width: 76px; height: 24px; background: rgba(242,182,50,.78); transform: rotate(-32deg); }
.sampul::before { left: -16px; }
.sampul::after { right: -16px; transform: rotate(32deg); }
.sampul { position: relative; padding: 28px 20px 52px; background: var(--hijau); color: var(--kertas); clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%); animation: turun .5s ease-out both; }
@keyframes stempel { from { opacity: 0; transform: rotate(-12deg) scale(2.4); } }
@keyframes turun { from { opacity: 0; transform: translateY(-12px); } }
.cap { display: inline-block; padding: 3px 10px; background: var(--kuning); color: var(--ink); font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
h1 { margin-top: 14px; max-width: 12ch; font-family: var(--judul); font-weight: 400; font-size: 46px; line-height: 1; }
.slogan { margin-top: 12px; max-width: 26ch; font-size: 17px; }
.stempel { animation: stempel .5s .5s cubic-bezier(.3,1.7,.5,1) both; position: absolute; right: 14px; bottom: 44px; display: grid; place-items: center; width: 74px; height: 74px; border: 3px solid var(--kuning); border-radius: 50%; color: var(--kuning); font-size: 14px; font-weight: 700; line-height: 1.1; text-align: center; text-transform: uppercase; transform: rotate(-12deg); }

.masuk, .paket, .kontak { margin-inline: 14px; }
.masuk { padding: 18px; background: var(--kertas); border: 3px solid var(--ink); }
.masuk h2 { margin-bottom: 10px; }
.form { display: grid; gap: 10px; }
label { font-weight: 700; }
#username { width: 100%; height: 54px; padding: 0 14px; border: 2px solid var(--ink); background: #fff; font-size: 22px; font-weight: 700; letter-spacing: .05em; }
.alert { color: #B3261E; line-height: 1.3; }
.trial { color: var(--bata); font-weight: 700; }
.more { font-size: 15px; }
.more input { border: 2px solid var(--ink); }

.paket h2 { margin-bottom: 12px; }
.paket ol { margin: 0; padding: 0; display: grid; gap: 10px; list-style: none; }
.paket li { animation: turun .5s ease-out both; }
.paket button { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; background: var(--kertas); border: 2px dashed var(--ink); text-align: left; color: var(--ink); transition: transform .2s, background .2s; }
.paket button:hover { transform: rotate(-.8deg) translateX(3px); }
.paket button:active { transform: scale(.98); }
.paket button[aria-pressed="true"] { background: var(--kuning); border-style: solid; }
.paket button[aria-pressed="true"] .nomor { background: var(--ink); animation: cap .35s cubic-bezier(.3,1.6,.5,1); }
@keyframes cap { from { transform: scale(1.6) rotate(-20deg); } }
.paket li:nth-child(2) { animation-delay: .06s; }
.paket li:nth-child(3) { animation-delay: .12s; }
.paket li:nth-child(4) { animation-delay: .18s; }
.nomor { display: grid; place-items: center; width: 40px; height: 40px; background: var(--bata); color: var(--kertas); font-family: var(--judul); font-size: 22px; border-radius: 50%; }
.paket b { display: block; font-size: 17px; line-height: 1.15; }
.nama { display: block; }
.nama span { font-size: 14px; }
.harga { font-family: var(--judul); font-size: 19px; white-space: nowrap; }

.kontak { padding: 18px; background: var(--bata); color: var(--kertas); display: grid; gap: 10px; }
.kontak p { margin-top: -6px; }
.kontak a { display: block; padding: 14px; text-align: center; text-decoration: none; font-weight: 700; }
.wa { background: var(--kertas); color: var(--ink); }
/* Sobekan nomor telepon di tepi bawah brosur, seperti yang ditempel di tiang listrik */
.sobekan { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin: 6px -18px -18px; padding-top: 14px; border-top: 2px dashed var(--kertas); }
.sobekan li + li { border-left: 2px dashed var(--kertas); }
.sobekan a { display: flex; align-items: center; justify-content: center; height: 176px; padding: 8px 0; border: 0; writing-mode: vertical-rl; transform-origin: 50% 0; font-size: 14px; font-weight: 700; white-space: nowrap; transition: transform .25s cubic-bezier(.3,1.6,.5,1), background .2s; }
.sobekan a:hover { background: rgba(255,251,240,.16); transform: rotate(4deg); }
.sobekan a:active { transform: translateY(14px) rotate(12deg); opacity: .5; }

@media (min-width: 760px) {
  .brosur { grid-template-columns: 1fr 1fr; gap: 20px 32px; padding-bottom: 48px; align-items: start; }
  .sampul { grid-column: 1 / -1; padding: 48px 48px 90px; }
  h1 { max-width: none; font-size: 72px; }
  .slogan { font-size: 21px; max-width: 34ch; }
  .stempel { right: 56px; bottom: 80px; width: 110px; height: 110px; font-size: 18px; }
  .masuk { margin-left: 32px; }
  .paket { margin-right: 32px; grid-row: 2 / 4; grid-column: 2; }
  .masuk { grid-column: 1; grid-row: 2; }
  .kontak { grid-column: 1; grid-row: 3; margin-left: 32px; }
}

.sheet h1 { max-width: none; color: var(--hijau); font-size: 42px; }
.facts div { padding: 10px 12px; background: var(--kertas); border: 2px dashed var(--ink); }
