/* =========================================================
   LAPAK — stylesheet
   Konsep: "lapak tenda" — tenda warung bergaris merah, label harga
   berbentuk price tag, angka harga pakai font mono ala struk kasir.
   Satu aksen (merah tenda). Kuning hanya untuk stiker diskon.
   ========================================================= */

/* Layout: header + tenda scallop, hero 2 kolom dengan pencarian,
   etalase game grid 4 kolom → 2 kolom di HP, band flash sale. */
:root {
  /* Warna — tema terang */
  --paper:   #F3F4EF;   /* latar halaman, abu kehijauan tipis */
  --surface: #FFFFFF;   /* kartu, panel */
  --sunk:    #E8EAE3;   /* area cekung, chip */
  --ink:     #16181D;   /* teks utama */
  --mute:    #5C6270;   /* teks sekunder */
  --line:    rgba(22, 24, 29, .12);
  --tag:     #E2361F;   /* merah tenda — aksen tunggal */
  --tag-ink: #FFFFFF;
  --sticker: #FFD23F;   /* stiker diskon */
  --sticker-ink: #16181D;
  --ok:      #12895A;   /* status "instan / berhasil" */
  --shadow:  0 1px 0 rgba(22,24,29,.06), 0 10px 30px -12px rgba(22,24,29,.18);

  /* Tipografi */
  --f-display: "Bricolage Grotesque", "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --f-body:    "Plus Jakarta Sans", "Segoe UI", Roboto, system-ui, sans-serif;
  --f-mono:    "DM Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --t-xs:   .75rem;
  --t-sm:   .875rem;
  --t-base: 1rem;
  --t-lg:   1.1875rem;
  --t-xl:   clamp(1.5rem, 1.15rem + 1.4vw, 2rem);
  --t-2xl:  clamp(2.1rem, 1.3rem + 3.2vw, 3.5rem);
  --t-hero: clamp(2.75rem, 1.2rem + 6vw, 5.75rem);

  /* Ruang */
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --maxw: 1240px;
  --sec: clamp(3.5rem, 2.5rem + 4.5vw, 6.5rem);
  --r: 14px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper:   #111217;
    --surface: #1A1C23;
    --sunk:    #23262F;
    --ink:     #F0F1EC;
    --mute:    #9EA4B1;
    --line:    rgba(240, 241, 236, .12);
    --tag:     #FF5038;
    --tag-ink: #FFFFFF;
    --sticker: #FFD23F;
    --sticker-ink: #16181D;
    --ok:      #3DD598;
    --shadow:  0 1px 0 rgba(0,0,0,.4), 0 14px 34px -14px rgba(0,0,0,.7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper:   #111217;
  --surface: #1A1C23;
  --sunk:    #23262F;
  --ink:     #F0F1EC;
  --mute:    #9EA4B1;
  --line:    rgba(240, 241, 236, .12);
  --tag:     #FF5038;
  --tag-ink: #FFFFFF;
  --sticker: #FFD23F;
  --sticker-ink: #16181D;
  --ok:      #3DD598;
  --shadow:  0 1px 0 rgba(0,0,0,.4), 0 14px 34px -14px rgba(0,0,0,.7);
  color-scheme: dark;
}

/* ---------- Reset ringan ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  padding-bottom: 5.75rem;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: var(--t-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before { /* pengisi area status bar HP di atas header sticky */
  content: ""; position: fixed; inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--surface);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-weight: 800; line-height: 1.02; letter-spacing: -.02em; text-wrap: balance; }
p, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--tag); outline-offset: 3px; }
::selection { background: var(--tag); color: var(--tag-ink); }

.wrap {
  width: 100%;
  max-width: calc(var(--maxw) + 2 * 16px);
  margin-inline: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter-r);
}

/* ---------- Elemen kecil ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mute);
}
.eyebrow--tag { color: var(--tag); }
.eyebrow--tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.price { font-family: var(--f-mono); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.35rem;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .15s;
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn:active { transform: translateY(1px); }
.btn--tag { background: var(--tag); border-color: var(--tag); color: var(--tag-ink); }
.btn--tag:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(3px); }

/* Label harga berbentuk price tag (lubang + ujung lancip kiri) */
.pricetag {
  --tag-bg: var(--sticker);
  --tag-fg: var(--sticker-ink);
  position: relative;
  display: inline-flex; flex-direction: column; gap: .1rem;
  padding: .7rem 1.1rem .7rem 1.9rem;
  background: var(--tag-bg);
  color: var(--tag-fg);
  clip-path: polygon(14px 0, 100% 0, 100% 100%, 14px 100%, 0 50%);
  border-radius: 0 10px 10px 0;
}
.pricetag::before { /* lubang tali */
  content: ""; position: absolute; left: 12px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px;
  border-radius: 50%; background: var(--paper);
}
.pricetag small { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; opacity: .75; }
.pricetag b { font-family: var(--f-mono); font-size: 1.15rem; font-weight: 500; font-variant-numeric: tabular-nums; }

/* ---------- Header ---------- */
.site-header { position: relative; background: var(--surface); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  min-height: 70px;
}
/* Slot logo — sengaja kosong. Taruh <img> logo di dalam .brand-logo */
.brand-logo {
  display: flex; align-items: center;
  width: 140px; height: 44px;
  flex-shrink: 0;
}
.brand-logo img { max-height: 100%; width: auto; }

.nav { display: flex; align-items: center; gap: .35rem; }
.nav a:not(.btn) {
  font-weight: 600;
  font-size: .95rem;
  color: var(--mute);
  padding: .5rem .9rem;
  border-radius: 999px;
  transition: color .2s, background-color .2s;
}
.nav a:not(.btn):hover { color: var(--ink); background: var(--sunk); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--sunk); }
.nav .btn { margin-left: .5rem; padding: .6rem 1.1rem; }

.bottom-actions {
  position: fixed;
  inset: auto 0 0;
  z-index: 49;
  padding: .7rem max(16px, env(safe-area-inset-right, 0px)) calc(.7rem + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  box-shadow: 0 -8px 24px rgba(22, 24, 29, .1);
  backdrop-filter: blur(12px);
}
.bottom-actions-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .6rem;
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
}
.bottom-actions .btn {
  min-width: 0;
  padding: .7rem .5rem;
  font-size: clamp(.72rem, 2.5vw, .9rem);
  white-space: nowrap;
}

/* Tenda warung: garis merah-putih dengan tepi bergelombang */
.awning {
  height: 30px;
  background: repeating-linear-gradient(90deg, var(--tag) 0 40px, var(--surface) 40px 80px);
  -webkit-mask:
    linear-gradient(#000 0 0) top / 100% 12px no-repeat,
    radial-gradient(circle 20px at 20px 10px, #000 97%, transparent 100%) 0 0 / 40px 100% repeat-x;
          mask:
    linear-gradient(#000 0 0) top / 100% 12px no-repeat,
    radial-gradient(circle 20px at 20px 10px, #000 97%, transparent 100%) 0 0 / 40px 100% repeat-x;
  filter: drop-shadow(0 6px 6px rgba(0,0,0,.08));
}
.header-shell { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; }
.header-shell .awning { position: absolute; left: 0; right: 0; top: 100%; pointer-events: none; }

.nav-toggle {
  display: none;
  background: var(--sunk); border: 0; color: var(--ink);
  width: 44px; height: 44px; cursor: pointer; padding: 0; border-radius: 12px;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 2px; background: currentColor; margin: auto; position: relative; border-radius: 2px;
  transition: transform .2s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 800px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; z-index: 2;
    flex-direction: column; align-items: stretch; gap: .25rem;
    background: var(--surface);
    padding: .75rem var(--gutter-r) 1.25rem var(--gutter);
    box-shadow: var(--shadow);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: .85rem 1rem; font-size: 1.05rem; border-radius: 10px; }
  .nav .btn { margin: .5rem 0 0; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem) clamp(2.5rem, 2rem + 2vw, 4rem); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: center;
}
.hero-copy { display: grid; gap: 1.5rem; }
.hero h1 { font-size: var(--t-hero); line-height: .95; letter-spacing: -.035em; }
.hero h1 .strike { position: relative; color: var(--mute); white-space: nowrap; }
.hero h1 .strike::after {
  content: ""; position: absolute; left: -2%; right: -2%; top: 52%; height: .09em; background: var(--tag); transform: rotate(-4deg);
}
.hero h1 .hl { color: var(--tag); }
.hero .lead { font-size: var(--t-lg); color: var(--mute); max-width: 44ch; }

/* Kotak pencarian */
.search {
  display: flex; align-items: center; gap: .5rem;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: .4rem .4rem .4rem 1.25rem;
  box-shadow: var(--shadow);
  max-width: 560px;
  transition: border-color .2s;
}
.search:focus-within { border-color: var(--ink); }
.search svg { flex-shrink: 0; color: var(--mute); }
.search input {
  flex: 1; min-width: 0; border: 0; background: transparent; outline: none;
  font-size: 1rem; padding-block: .6rem;
}
.search input::placeholder { color: var(--mute); }
.search .btn { padding: .7rem 1.25rem; }
.quick { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.quick button {
  border: 0; background: var(--sunk); color: var(--ink); cursor: pointer;
  font-size: var(--t-sm); font-weight: 600; padding: .4rem .8rem; border-radius: 999px;
  transition: background-color .2s, color .2s;
}
.quick button:hover { background: var(--ink); color: var(--paper); }

.hero-media { position: relative; max-width: 100%; }
.hero-media img {
  width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 22px;
}
.hero-media .pricetag { position: absolute; left: -18px; top: 12%; transform: rotate(-6deg); box-shadow: var(--shadow); }
.hero-chip {
  position: absolute; right: 16px; bottom: 16px;
  display: flex; align-items: center; gap: .65rem;
  background: var(--surface); color: var(--ink);
  padding: .7rem 1rem; border-radius: 14px; box-shadow: var(--shadow);
  font-size: var(--t-sm); font-weight: 600;
}
.hero-chip .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ok) 22%, transparent); }
.hero-chip .price { color: var(--mute); font-weight: 400; display: block; font-size: var(--t-xs); }

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media .pricetag { left: 8px; top: auto; bottom: 70px; }
}

/* ---------- Strip info ---------- */
.perks { border-block: 1px solid var(--line); background: var(--surface); }
.perks ul {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
}
.perks li { display: grid; gap: .1rem; padding: 1.25rem 1.25rem 1.25rem 0; }
.perks li + li { padding-left: 1.25rem; border-left: 1px solid var(--line); }
.perks b { font-family: var(--f-display); font-size: 1.15rem; letter-spacing: -.01em; }
.perks span { color: var(--mute); font-size: var(--t-sm); }
@media (max-width: 820px) {
  .perks ul { grid-template-columns: 1fr 1fr; }
  .perks li:nth-child(3) { padding-left: 0; border-left: 0; }
  .perks li:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Section umum ---------- */
.section { padding-block: var(--sec); }
.section--surface { background: var(--surface); }
.sec-head {
  display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap;
  gap: 1rem 3rem;
  margin-bottom: clamp(1.75rem, 1.25rem + 2vw, 3rem);
}
.sec-head > div { display: grid; gap: .75rem; max-width: 40rem; }
.sec-head h2 { font-size: var(--t-2xl); }
.sec-head p { color: var(--mute); max-width: 46ch; }

/* ---------- Kategori (foto) ---------- */
.cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.cat {
  position: relative; display: block; border-radius: var(--r); overflow: hidden; isolation: isolate;
  aspect-ratio: 3 / 4; max-width: 100%;
  color: #fff;
}
.cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s; }
.cat::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.78)); }
.cat:hover img { transform: scale(1.06); }
.cat-body { position: absolute; left: 1.1rem; right: 1.1rem; bottom: 1.1rem; display: grid; gap: .2rem; }
.cat h3 { font-size: 1.6rem; }
.cat span { font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.cat .count {
  position: absolute; top: .9rem; right: .9rem;
  font-family: var(--f-mono); font-size: var(--t-xs); background: rgba(0,0,0,.45); color: #fff;
  padding: .3rem .6rem; border-radius: 999px; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
@media (max-width: 900px) { .cats { grid-template-columns: 1fr 1fr; } .cat { aspect-ratio: 4 / 3; } }

/* ---------- Etalase game ---------- */
.shelf-bar {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
  margin-bottom: 1.5rem;
}
.filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.filters button {
  border: 1.5px solid var(--line); background: transparent; color: var(--ink); cursor: pointer;
  font-weight: 600; font-size: var(--t-sm); padding: .5rem 1rem; border-radius: 999px;
  transition: border-color .2s, background-color .2s, color .2s;
}
.filters button:hover { border-color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.shelf-count { font-family: var(--f-mono); font-size: var(--t-sm); color: var(--mute); }

.games { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.game {
  --c: #3B5BDB;
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.game:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.game-art {
  position: relative; aspect-ratio: 16 / 10; max-width: 100%;
  display: grid; place-items: center; overflow: hidden;
  background:
    radial-gradient(120% 90% at 85% 0%, color-mix(in srgb, var(--c) 45%, #fff) 0%, transparent 55%),
    linear-gradient(140deg, var(--c), color-mix(in srgb, var(--c) 55%, #000));
  color: #fff;
}
.game-art::after { /* pola titik halus */
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.18) 1px, transparent 1.5px);
  background-size: 14px 14px;
  mask-image: linear-gradient(180deg, transparent, #000);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000);
}
.game-art .mono {
  position: relative; z-index: 1;
  font-family: var(--f-display); font-weight: 800; font-size: clamp(2.5rem, 2rem + 2vw, 3.5rem); letter-spacing: -.04em;
  text-shadow: 0 6px 20px rgba(0,0,0,.25);
}
.game-art .badge {
  position: absolute; top: .7rem; left: .7rem; z-index: 2;
  font-family: var(--f-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase;
  background: rgba(0,0,0,.35); color: #fff; padding: .25rem .5rem; border-radius: 6px;
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.game-art .badge--hot { background: var(--sticker); color: var(--sticker-ink); }
.game-body { display: grid; gap: .35rem; padding: 1rem 1.1rem 1.1rem; flex: 1; align-content: start; }
.game-body h3 { font-size: 1.1rem; letter-spacing: -.01em; }
.game-body .unit { color: var(--mute); font-size: var(--t-sm); }
.game-foot {
  display: flex; justify-content: space-between; align-items: center; gap: .5rem;
  margin-top: auto; padding: .85rem 1.1rem; border-top: 1px dashed var(--line);
}
.game-foot .from { display: grid; line-height: 1.2; }
.game-foot .from small { font-size: .7rem; color: var(--mute); }
.game-foot .from .price { font-size: 1rem; font-weight: 500; }
.game-foot .btn { padding: .45rem .9rem; font-size: var(--t-sm); }
.games-empty {
  grid-column: 1 / -1; text-align: center; padding: 3rem 1rem; color: var(--mute);
  border: 1.5px dashed var(--line); border-radius: var(--r);
}
@media (max-width: 1000px) { .games { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px)  { .games { grid-template-columns: 1fr 1fr; gap: .75rem; } .game-foot { flex-direction: column; align-items: stretch; } .game-foot .btn { width: 100%; } }

/* ---------- Flash sale ---------- */
.flash {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--tag); color: var(--tag-ink);
  border-radius: 24px;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2rem; align-items: center;
  padding: clamp(1.75rem, 1rem + 3vw, 3.5rem);
}
.flash::before { /* stripe tenda samar */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .12;
  background: repeating-linear-gradient(90deg, #fff 0 40px, transparent 40px 80px);
}
.flash h2 { font-size: var(--t-2xl); margin-top: .75rem; }
.flash p { opacity: .9; max-width: 42ch; margin-top: .75rem; }
.flash .eyebrow { color: var(--tag-ink); opacity: .85; }
.countdown { display: flex; gap: .6rem; margin-top: 1.5rem; align-items: center; flex-wrap: wrap; }
.countdown .cell {
  display: grid; justify-items: center; min-width: 4.25rem;
  background: rgba(0,0,0,.22); border-radius: 12px; padding: .6rem .5rem;
}
.countdown .cell b { font-family: var(--f-mono); font-size: 1.9rem; font-weight: 500; font-variant-numeric: tabular-nums; line-height: 1.1; }
.countdown .cell small { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; opacity: .8; }
.countdown .sep { font-family: var(--f-mono); font-size: 1.5rem; opacity: .6; }
.deals { display: grid; gap: .6rem; }
.deal {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .25rem 1rem; align-items: center;
  background: var(--surface); color: var(--ink);
  border-radius: 14px; padding: .9rem 1.1rem;
}
.deal h3 { font-size: 1rem; letter-spacing: -.01em; }
.deal .unit { color: var(--mute); font-size: var(--t-sm); }
.deal .prices { grid-row: 1 / span 2; grid-column: 2; display: grid; justify-items: end; line-height: 1.25; }
.deal s { color: var(--mute); font-family: var(--f-mono); font-size: var(--t-xs); }
.deal .price { font-size: 1.05rem; font-weight: 500; color: var(--tag); }
.deal .off {
  font-family: var(--f-mono); font-size: .68rem; background: var(--sticker); color: var(--sticker-ink);
  padding: .1rem .4rem; border-radius: 4px; margin-left: .35rem;
}
@media (max-width: 860px) { .flash { grid-template-columns: 1fr; } }

/* ---------- Cara top up (urutan nyata) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; counter-reset: step; }
.step {
  position: relative; display: grid; gap: .6rem; align-content: start;
  padding: 1.5rem; border-radius: var(--r); background: var(--paper);
  counter-increment: step;
}
.step::before {
  content: counter(step);
  display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%;
  background: var(--ink); color: var(--paper);
  font-family: var(--f-mono); font-weight: 500;
}
.step h3 { font-size: 1.3rem; margin-top: .5rem; }
.step p { color: var(--mute); font-size: var(--t-sm); }
.step .eg {
  margin-top: .5rem; font-family: var(--f-mono); font-size: var(--t-sm);
  background: var(--surface); border: 1px dashed var(--line); padding: .55rem .75rem; border-radius: 8px;
  overflow-wrap: anywhere;
}
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

.pay { display: flex; flex-wrap: wrap; gap: .75rem 1rem; margin-top: 2rem; align-items: center; }
.pay ul { display: flex; flex-wrap: wrap; gap: .5rem; }
.pay li {
  font-weight: 700; font-size: var(--t-sm); letter-spacing: .01em;
  padding: .45rem .9rem; border-radius: 8px; background: var(--paper); border: 1px solid var(--line);
}

/* ---------- Angka ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.stat { display: grid; gap: .35rem; padding: 1.5rem 0; border-top: 2px solid var(--ink); }
.stat b { font-family: var(--f-display); font-weight: 800; font-size: clamp(2.5rem, 1.75rem + 2.5vw, 3.75rem); line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.stat b em { font-style: normal; color: var(--tag); }
.stat p { color: var(--mute); font-size: var(--t-sm); max-width: 26ch; }
@media (max-width: 820px) { .stats { grid-template-columns: 1fr 1fr; } }

/* ---------- Split (gambar + teks) ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
.split-media { position: relative; max-width: 100%; }
.split-media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 22px; }
.split-media .pricetag { position: absolute; right: -10px; bottom: 24px; transform: rotate(4deg); box-shadow: var(--shadow); --tag-bg: var(--tag); --tag-fg: var(--tag-ink); }
.split-copy { display: grid; gap: 1.1rem; }
.split-copy h2 { font-size: var(--t-2xl); }
.split-copy p { color: var(--mute); max-width: 50ch; }
.checks { display: grid; gap: .7rem; margin-block: .25rem .5rem; }
.checks li { display: grid; grid-template-columns: 1.5rem minmax(0, 1fr); gap: .65rem; align-items: start; }
.checks li::before {
  content: "✓"; display: grid; place-items: center; width: 1.4rem; height: 1.4rem; margin-top: .1rem;
  border-radius: 50%; background: color-mix(in srgb, var(--ok) 16%, transparent); color: var(--ok); font-size: .8rem; font-weight: 800;
}
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split-media .pricetag { right: 8px; } }

/* ---------- CTA ---------- */
.cta { padding-block: var(--sec); }
.cta-box {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--ink); color: var(--paper);
  border-radius: 28px;
  padding: clamp(2rem, 1rem + 4vw, 4.5rem);
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 2rem; align-items: end;
}
.cta-box::after { /* tenda kecil di pojok */
  content: ""; position: absolute; top: 0; right: 0; width: min(46%, 420px); height: 30px; z-index: -1;
  background: repeating-linear-gradient(90deg, var(--tag) 0 40px, transparent 40px 80px);
  -webkit-mask: radial-gradient(circle 20px at 20px 10px, #000 97%, transparent 100%) 0 0 / 40px 100% repeat-x, linear-gradient(#000 0 0) top / 100% 10px no-repeat;
          mask: radial-gradient(circle 20px at 20px 10px, #000 97%, transparent 100%) 0 0 / 40px 100% repeat-x, linear-gradient(#000 0 0) top / 100% 10px no-repeat;
}
.cta-box h2 { font-size: clamp(2.5rem, 1.5rem + 4vw, 4.75rem); letter-spacing: -.04em; line-height: .95; }
.cta-box h2 .hl { color: var(--tag); }
.cta-box p { opacity: .75; max-width: 40ch; margin-bottom: 1.25rem; }
.cta-box .btn { border-color: var(--paper); color: var(--paper); }
.cta-box .btn:hover { background: var(--paper); color: var(--ink); }
.cta-box .btn--tag { border-color: var(--tag); color: var(--tag-ink); }
.cta-box .btn--tag:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.cta-box .eyebrow { color: var(--paper); opacity: .6; margin-bottom: 1rem; }
@media (max-width: 860px) { .cta-box { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { padding-block: 3.5rem 2rem; background: var(--surface); border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
.foot-grid h4 { font-family: var(--f-mono); font-weight: 500; font-size: var(--t-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); margin-bottom: 1rem; }
.foot-grid ul { display: grid; gap: .55rem; }
.foot-grid a { font-weight: 500; transition: color .2s; }
.foot-grid a:hover { color: var(--tag); }
.foot-brand { display: grid; gap: 1rem; align-content: start; }
.foot-brand p { color: var(--mute); max-width: 36ch; font-size: var(--t-sm); }
.foot-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line);
  font-size: var(--t-sm); color: var(--mute);
}
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* =========================================================
   HALAMAN TENTANG
   ========================================================= */
.page-hero { padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem) 0; }
.crumb { display: flex; gap: .5rem; align-items: center; font-size: var(--t-sm); color: var(--mute); margin-bottom: 1.5rem; }
.crumb a:hover { color: var(--ink); }
.crumb [aria-current] { color: var(--ink); font-weight: 600; }
.page-hero h1 { font-size: var(--t-hero); line-height: .95; letter-spacing: -.035em; max-width: 14ch; }
.page-hero h1 .hl { color: var(--tag); }
.page-hero-row {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem 4rem; margin-top: 2rem;
}
.page-hero-row p { font-size: var(--t-lg); max-width: 46ch; }
.page-hero-row p + p { color: var(--mute); font-size: var(--t-base); }
.banner { margin-top: clamp(2.5rem, 2rem + 3vw, 4rem); position: relative; }
.banner img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 24px; }
.banner .pricetag { position: absolute; left: 24px; bottom: -22px; transform: rotate(-3deg); box-shadow: var(--shadow); }
@media (max-width: 760px) { .page-hero-row { grid-template-columns: 1fr; } }

/* Arti nama */
.meaning { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2rem 5rem; align-items: start; }
.dict { background: var(--surface); border-radius: var(--r); padding: clamp(1.5rem, 1rem + 2vw, 2.25rem); display: grid; gap: .9rem; border: 1px solid var(--line); }
.dict .word { font-family: var(--f-display); font-weight: 800; font-size: clamp(2.75rem, 2rem + 2.5vw, 4rem); line-height: 1; letter-spacing: -.03em; }
.dict .pron { font-family: var(--f-mono); color: var(--tag); font-size: var(--t-sm); }
.dict ol { list-style: decimal; padding-left: 1.25rem; display: grid; gap: .55rem; color: var(--mute); }
.dict ol li::marker { color: var(--tag); font-family: var(--f-mono); }
.dict ol li em { color: var(--ink); font-style: normal; font-weight: 600; }
.dict .ex { font-size: var(--t-sm); color: var(--mute); border-top: 1px dashed var(--line); padding-top: .9rem; }
.meaning-copy { display: grid; gap: 1.1rem; }
.meaning-copy h2 { font-size: var(--t-2xl); }
.meaning-copy p { color: var(--mute); max-width: 58ch; }
.meaning-copy p strong { color: var(--ink); }
@media (max-width: 860px) { .meaning { grid-template-columns: 1fr; } }

/* Timeline — tahun adalah informasinya */
.timeline { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 1.15rem; border-top: 2px dashed var(--line); }
.tl-item { position: relative; display: grid; gap: .6rem; align-content: start; }
.tl-item .dot {
  width: 2.3rem; height: 2.3rem; border-radius: 50%; background: var(--surface); border: 2px solid var(--ink);
  display: grid; place-items: center; position: relative;
}
.tl-item .dot::after { content: ""; width: .6rem; height: .6rem; border-radius: 50%; background: var(--ink); }
.tl-item.is-now .dot { background: var(--tag); border-color: var(--tag); }
.tl-item.is-now .dot::after { background: var(--tag-ink); }
.tl-year { font-family: var(--f-mono); font-size: var(--t-sm); color: var(--tag); font-variant-numeric: tabular-nums; margin-top: .4rem; }
.tl-item h3 { font-size: 1.2rem; letter-spacing: -.01em; }
.tl-item p { color: var(--mute); font-size: var(--t-sm); }
@media (max-width: 900px) {
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .timeline::before { left: 1.15rem; right: auto; top: 0; bottom: 0; border-top: 0; border-left: 2px dashed var(--line); }
  .tl-item { grid-template-columns: 2.3rem minmax(0, 1fr); gap: .1rem 1rem; padding-bottom: 1.75rem; }
  .tl-item .dot { grid-row: 1 / span 3; }
  .tl-year { margin-top: .35rem; }
}

/* Nilai */
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.value { background: var(--paper); border-radius: var(--r); padding: 1.75rem; display: grid; gap: .75rem; align-content: start; }
.value .ic {
  width: 3rem; height: 3rem; border-radius: 12px; display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--line); color: var(--tag);
}
.value h3 { font-size: 1.5rem; }
.value p { color: var(--mute); }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } }

/* Tim */
.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.person { display: grid; gap: .9rem; }
.avatar {
  --c: #3B5BDB;
  aspect-ratio: 1; max-width: 100%; border-radius: var(--r);
  display: grid; place-items: center;
  background: linear-gradient(150deg, color-mix(in srgb, var(--c) 30%, var(--paper)), color-mix(in srgb, var(--c) 70%, var(--paper)));
  font-family: var(--f-display); font-weight: 800; font-size: clamp(2.5rem, 2rem + 2vw, 3.5rem); letter-spacing: -.04em; color: var(--ink);
}
.person b { font-family: var(--f-display); font-size: 1.2rem; display: block; letter-spacing: -.01em; }
.person span { color: var(--mute); font-size: var(--t-sm); }
@media (max-width: 860px) { .team { grid-template-columns: 1fr 1fr; } }

/* Galeri */
.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1rem; }
.gallery figure { position: relative; overflow: hidden; border-radius: var(--r); max-width: 100%; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption {
  position: absolute; left: .75rem; bottom: .75rem;
  font-size: var(--t-xs); font-weight: 600; background: var(--surface); color: var(--ink); padding: .35rem .7rem; border-radius: 999px;
}
.g1 { grid-column: span 7; aspect-ratio: 16 / 10; }
.g2 { grid-column: span 5; }
.g3 { grid-column: span 5; aspect-ratio: 4 / 3; }
.g4 { grid-column: span 7; }
@media (max-width: 760px) { .gallery figure { grid-column: 1 / -1; aspect-ratio: 16 / 10; } }

/* ---------- Animasi masuk (tetap terlihat tanpa JS) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .rise-2 { animation-delay: .1s; }
  .rise-3 { animation-delay: .2s; }
  @keyframes rise { from { transform: translateY(18px); opacity: .001; } to { transform: none; opacity: 1; } }
  .hero-media .pricetag { animation: swing 3.5s ease-in-out infinite; transform-origin: 0 50%; }
  @keyframes swing { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(-2deg); } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

.section--flush-top { padding-top: 0; }