/* Buaya Store — toko jasa bot Telegram.
   Tata letak: satu kolom baca yang tenang; harga tampil sebagai "nota" bergaris seperti struk;
   kebijakan sebagai dokumen bernomor pasal (urutan pasal memang informasi). */
:root {
  --bg: #f2f4ee;          /* kertas rawa: putih kehijauan */
  --surface: #ffffff;
  --ink: #15211b;
  --muted: #56645c;
  --line: #d8ded5;
  --accent: #1d6b4c;      /* hijau kulit buaya */
  --accent-ink: #ffffff;
  --accent-soft: #e2efe8;
  --warn: #8a5a00;
  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: 1.2rem;
  --step-2: 1.55rem;
  --step-3: clamp(1.9rem, 1.4rem + 2.4vw, 2.9rem);
  --radius: 14px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e1612; --surface: #15211b; --ink: #e5ede8; --muted: #9db0a5; --line: #26352d;
    --accent: #5cc496; --accent-ink: #0b1510; --accent-soft: #183427; --warn: #e8b54a;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0e1612; --surface: #15211b; --ink: #e5ede8; --muted: #9db0a5; --line: #26352d;
  --accent: #5cc496; --accent-ink: #0b1510; --accent-soft: #183427; --warn: #e8b54a;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
}
a { color: var(--accent); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; text-wrap: balance; margin: 0; }
p { margin: 0; }
.wrap {
  width: 100%;
  max-width: 980px;
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

/* ------------------------------------------------------------------ kepala & kaki */
.top { border-bottom: 1px solid var(--line); background: var(--bg); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: var(--step-1); letter-spacing: -0.01em; }
.nav { display: flex; gap: 16px; flex-wrap: wrap; font-size: var(--step--1); }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; }

.foot { border-top: 1px solid var(--line); margin-top: 56px; color: var(--muted); font-size: var(--step--1); }
.foot .wrap { padding-block: 28px; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.foot h3 { font-size: var(--step-0); color: var(--ink); margin-bottom: 6px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.foot .legal { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 14px; }

/* ------------------------------------------------------------------ beranda */
.hero .wrap { padding-block: 48px 36px; display: grid; gap: 18px; }
.eyebrow { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.hero h1 { font-size: var(--step-3); font-weight: 800; letter-spacing: -0.02em; max-width: 20ch; }
.hero p.lead { font-size: var(--step-1); color: var(--muted); max-width: 58ch; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 20px;
  border-radius: 999px; font-weight: 600; text-decoration: none; border: 1.5px solid var(--accent);
}
.btn-solid { background: var(--accent); color: var(--accent-ink); }
.btn-line { color: var(--accent); background: transparent; }

.section .wrap { padding-block: 28px; display: grid; gap: 18px; }
.section h2 { font-size: var(--step-2); font-weight: 700; }
.section .intro { color: var(--muted); max-width: 62ch; }

.products { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); align-items: start; }
.product {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; display: grid; gap: 12px; min-width: 0;
}
.product h3 { font-size: var(--step-1); }
.product .what { color: var(--muted); }
.price { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: 1.35rem; font-weight: 700; }
.price-text { font-family: var(--font-display); }
.price small { font-family: var(--font-body); font-size: var(--step--1); font-weight: 500; color: var(--muted); }
.feat { margin: 0; padding-left: 1.1em; display: grid; gap: 4px; }
.product .how { font-size: var(--step--1); color: var(--muted); border-top: 1px dashed var(--line); padding-top: 10px; }

/* nota diskon: seperti struk, angka rata kanan */
.receipt { border-top: 1px dashed var(--line); padding-top: 10px; display: grid; gap: 4px; font-size: var(--step--1); }
.receipt .row { display: flex; justify-content: space-between; gap: 12px; font-variant-numeric: tabular-nums; }
.receipt .row span:last-child { font-family: var(--font-mono); }
.receipt .cap { color: var(--muted); font-size: 0.8rem; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); counter-reset: s; }
.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: grid; gap: 6px; }
.steps li::before { content: "Langkah " counter(s); font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
.steps b { font-family: var(--font-display); font-size: var(--step-0); }
.steps span { color: var(--muted); font-size: var(--step--1); }

.pay { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: var(--step--1); padding: 6px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--ink); }

.contact { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.contact div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; min-width: 0; overflow-wrap: anywhere; }
.contact dt { font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.contact dd { margin: 4px 0 0; font-weight: 600; }

/* ------------------------------------------------------------------ halaman kebijakan */
.doc .wrap { padding-block: 40px 8px; display: grid; gap: 22px; }
.doc header { display: grid; gap: 8px; }
.doc h1 { font-size: var(--step-3); font-weight: 800; letter-spacing: -0.02em; }
.doc .meta { color: var(--muted); font-size: var(--step--1); }
.doc article { max-width: 68ch; display: grid; gap: 22px; counter-reset: pasal; }
.doc section { display: grid; gap: 8px; }
.doc h2 { font-size: var(--step-1); font-weight: 700; counter-increment: pasal; }
.doc h2::before { content: counter(pasal) ". "; color: var(--accent); font-family: var(--font-mono); }
.doc ul, .doc ol { margin: 0; padding-left: 1.2em; display: grid; gap: 4px; }
.note { background: var(--accent-soft); border-radius: var(--radius); padding: 14px 16px; }

@media (prefers-reduced-motion: no-preference) {
  .btn { transition: transform .15s ease, background-color .15s ease; }
  .btn:hover { transform: translateY(-1px); }
}
