/* =============================================
   Terracotta Editorial — unique homepage theme
   Indigo + Sand + Gold · DM Sans / DM Serif
   ============================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --indigo:   #1a1f3c;
  --indigo-l: #2d3561;
  --sand:     #e8dcc8;
  --sand-d:   #d9cbb3;
  --gold:     #c9a227;
  --gold-h:   #b8921f;
  --white:    #faf8f5;
  --ink:      #1c1c1e;
  --muted:    #5c5c66;
  --border:   rgba(26,31,60,.12);
  --font:     'DM Sans', system-ui, sans-serif;
  --serif:    'DM Serif Display', Georgia, serif;
  --wrap:     1080px;
  --header-h: 60px;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  overflow-x: clip;
  word-wrap: break-word;
  overflow-wrap: break-word;
  padding-top: var(--header-h);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 32px);
}

/* skip */
.skip-link {
  position: absolute; top: -100%; left: 16px; z-index: 9999;
  padding: 8px 14px; background: var(--gold); color: var(--indigo);
  font-weight: 700; border-radius: 4px;
}
.skip-link:focus { top: 10px; }

/* ---- Masthead ---- */
.masthead {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 800;
  background: rgba(250, 248, 245, .97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--indigo);
}
.masthead-bar {
  display: flex; align-items: center; gap: 8px;
  max-width: var(--wrap); margin-inline: auto;
  padding: 10px clamp(14px, 4vw, 32px);
  min-height: var(--header-h);
}
.masthead-logo {
  flex-shrink: 0;
}
.masthead-logo img { height: 32px; width: auto; max-width: 120px; object-fit: contain; }

.masthead-nav {
  display: none; flex: 1; justify-content: center; gap: 2px; flex-wrap: wrap;
}
.masthead-nav a {
  padding: 6px 11px; font-size: .8125rem; font-weight: 500;
  color: var(--muted); border-radius: 4px;
  transition: color .2s, background .2s;
}
.masthead-nav a:hover,
.masthead-nav a[aria-current="page"] {
  color: var(--indigo); background: var(--sand);
}

.masthead-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: auto;
  padding: 8px 14px;
  background: var(--indigo);
  color: var(--sand);
  font-size: .8125rem;
  font-weight: 700;
  border-radius: 4px;
  white-space: nowrap;
}
.masthead-btn:hover { background: var(--indigo-l); }

.menu-btn {
  display: flex; flex-shrink: 0;
  flex-direction: column; justify-content: center; gap: 6px;
  width: 38px; height: 38px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.menu-btn i {
  display: block; height: 2px; background: var(--indigo);
  transition: transform .25s, opacity .25s;
}
.menu-btn[aria-expanded="true"] i:first-child { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] i:last-child { transform: translateY(-4px) rotate(-45deg); }

.menu-panel {
  display: flex; flex-direction: column;
  padding: 0 clamp(14px, 4vw, 32px) 16px;
  border-top: 1px solid var(--border);
  background: rgba(250, 248, 245, .97);
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
}
.menu-panel[hidden] { display: none; }
.menu-panel a {
  padding: 13px 0; font-weight: 500; font-size: .9375rem;
  border-bottom: 1px solid var(--border);
}
.menu-panel-dl {
  margin-top: 12px; padding: 12px !important;
  background: var(--gold) !important; color: var(--indigo) !important;
  text-align: center; font-weight: 700 !important; border: none !important;
  border-radius: 4px;
}

@media (max-width: 919px) {
  .masthead-btn {
    font-size: .7rem;
    padding: 7px 10px;
  }
}

@media (min-width: 920px) {
  .masthead-nav { display: flex; }
  .masthead-btn { margin-left: 0; padding: 8px 16px; font-size: .8125rem; }
  .menu-btn { display: none; }
  .masthead-logo img { height: 34px; max-width: 140px; }
}

/* ---- Buttons ---- */
.btn-gold {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 26px; background: var(--gold); color: var(--indigo);
  font-family: var(--font); font-size: .9375rem; font-weight: 700;
  border: none; border-radius: 4px; cursor: pointer;
  transition: background .2s;
}
.btn-gold:hover { background: var(--gold-h); }
.btn-gold--lg { padding: 15px 32px; font-size: 1rem; }

.btn-line {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 24px; background: transparent;
  font-family: var(--font); font-size: .9375rem; font-weight: 600;
  border: 2px solid var(--sand-d); color: var(--indigo);
  border-radius: 4px; transition: border-color .2s, background .2s;
}
.btn-line:hover { border-color: var(--indigo); background: rgba(26,31,60,.04); }
.btn-line--dark { border-color: var(--indigo); color: var(--indigo); }

/* ---- Split Hero ---- */
.split-hero {
  display: grid; min-height: clamp(420px, 70vh, 580px);
}
@media (min-width: 768px) {
  .split-hero { grid-template-columns: 1fr 340px; }
}

.split-hero-left {
  background: var(--sand);
  padding: clamp(40px, 8vw, 72px) clamp(18px, 4vw, 32px);
  display: flex; flex-direction: column; justify-content: center;
  position: relative;
}
.split-hero-left::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 4px;
  background: repeating-linear-gradient(90deg, var(--indigo) 0, var(--indigo) 12px, transparent 12px, transparent 20px);
}

.eyebrow {
  font-size: .75rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 16px;
}
.split-hero-left h1 {
  font-family: var(--serif); font-size: clamp(1.85rem, 5vw, 3rem);
  font-weight: 400; line-height: 1.15; color: var(--indigo);
  margin-bottom: 18px; max-width: 16ch;
}
.lead {
  font-size: clamp(.9375rem, 2vw, 1.05rem); color: var(--muted);
  max-width: 48ch; margin-bottom: 28px;
}
.hero-btns { display: flex; flex-wrap: wrap; gap: 10px; }

.split-hero-right {
  background: var(--indigo); color: var(--sand);
  padding: clamp(32px, 5vw, 48px) clamp(18px, 4vw, 28px);
  display: flex; flex-direction: column; justify-content: center;
}
.hero-emblem {
  margin-bottom: 24px;
}
.hero-emblem img {
  border-radius: 18px; border: 2px solid var(--gold);
}

.spec-dl div {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 9px 0; border-bottom: 1px solid rgba(232,220,200,.15);
  gap: 12px; font-size: .875rem;
}
.spec-dl div:last-child { border-bottom: none; }
.spec-dl dt { opacity: .65; flex-shrink: 0; }
.spec-dl dd { font-weight: 700; text-align: right; }

/* ---- Ticker ---- */
.ticker {
  background: var(--indigo); color: var(--gold);
  overflow: hidden; padding: 10px 0;
  border-block: 2px solid var(--gold);
}
.ticker-track {
  display: flex; gap: 28px; width: max-content;
  animation: tick 28s linear infinite;
  font-size: .8125rem; font-weight: 600; letter-spacing: .04em;
  white-space: nowrap;
}
@keyframes tick {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---- Blocks ---- */
.block { padding-block: clamp(52px, 9vw, 88px); }
.block-sand  { background: var(--sand); }
.block-white { background: var(--white); }
.block-indigo { background: var(--indigo); color: var(--sand); }

.sec-num {
  font-family: var(--serif); font-size: clamp(2.5rem, 6vw, 4rem);
  color: var(--gold); line-height: 1; opacity: .85;
}
.sec-head-row {
  display: flex; align-items: baseline; gap: 16px; margin-bottom: clamp(28px, 5vw, 44px);
}
.sec-head-row h2 {
  font-family: var(--serif); font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 400; color: var(--indigo);
}
.sec-head-row--light h2 { color: var(--sand); }
.sec-head-row--light .sec-num { color: var(--gold); }
.sec-sub {
  margin: 6px 0 0;
  font-size: .875rem;
  color: var(--muted);
  font-weight: 400;
}

/* hot rank — daily popular games */
.hot-rank {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--indigo);
}
.hot-rank__item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid var(--border);
}
.hot-rank__n {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--gold);
  text-align: center;
  line-height: 1;
}
.hot-rank__link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 4px 14px 0;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}
.hot-rank__link:hover .hot-rank__title { color: var(--gold); }
.hot-rank__link img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
  background: var(--sand);
}
.hot-rank__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.hot-rank__title {
  font-weight: 600;
  font-size: .95rem;
  color: var(--indigo);
  line-height: 1.3;
  transition: color .15s ease;
}
.hot-rank__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: .75rem;
  color: var(--muted);
}
.hot-rank__tags span + span::before {
  content: '·';
  margin-right: 14px;
  color: var(--border);
}
.hot-rank-more {
  margin-top: 20px;
  text-align: right;
}
.hot-rank-more a {
  font-size: .875rem;
  font-weight: 600;
  color: var(--indigo);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
}
.hot-rank-more a:hover { color: var(--gold); }
@media (min-width: 700px) {
  .hot-rank__item { grid-template-columns: 64px 1fr; gap: 16px; }
  .hot-rank__n { font-size: 1.6rem; }
  .hot-rank__link { padding: 16px 8px 16px 0; }
}

/* editorial about */
.editorial-cols {
  display: grid; gap: clamp(24px, 4vw, 48px);
}
@media (min-width: 700px) {
  .editorial-cols { grid-template-columns: 200px 1fr; align-items: start; }
}
.col-label h2 {
  font-family: var(--serif); font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  color: var(--indigo); margin-top: 8px;
}
.col-text p {
  margin-bottom: 16px; color: var(--muted); font-size: .9875rem;
}
.drop-cap::first-letter {
  float: left; font-family: var(--serif);
  font-size: 3.8em; line-height: .8; margin: 4px 10px 0 0;
  color: var(--indigo);
}

/* zigzag features */
.zigzag { display: flex; flex-direction: column; gap: 0; }
.zig-item {
  display: grid; gap: 12px; align-items: start;
  padding: clamp(20px, 3vw, 32px) 0;
  border-top: 1px solid var(--border);
}
@media (min-width: 640px) {
  .zig-item { grid-template-columns: 64px 1fr; }
  .zig-item--flip { direction: rtl; }
  .zig-item--flip .zig-body { direction: ltr; }
}
.zig-n {
  font-family: var(--serif); font-size: 2rem; color: var(--gold); line-height: 1;
}
.zig-body h3 {
  font-size: 1.05rem; font-weight: 700; color: var(--indigo); margin-bottom: 6px;
}
.zig-body p { font-size: .9rem; color: var(--muted); line-height: 1.6; }

/* phone fan */
.phone-fan {
  display: flex; justify-content: center; align-items: flex-end;
  gap: clamp(8px, 2vw, 20px); padding-top: 12px;
  flex-wrap: wrap;
}
.phone-item {
  flex: 0 1 200px; max-width: min(240px, 42vw); text-align: center;
}
.phone-item img {
  width: 100%; max-width: 384px;
  aspect-ratio: 384 / 688; object-fit: cover;
  border-radius: 20px; border: 3px solid var(--gold);
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
}
.phone-item figcaption {
  margin-top: 12px; font-size: .75rem; opacity: .75; line-height: 1.4;
}
.phone-item--l img { transform: rotate(-6deg); }
.phone-item--c img { transform: translateY(-20px) scale(1.05); z-index: 2; position: relative; }
.phone-item--r img { transform: rotate(6deg); }

@media (max-width: 600px) {
  .phone-item--l img,
  .phone-item--c img,
  .phone-item--r img { transform: none; }
  .phone-item { flex: 0 1 100%; max-width: min(280px, 88vw); }
}

/* audience */
.aud-4 {
  display: grid; gap: 14px;
  grid-template-columns: 1fr;
}
@media (min-width: 600px) { .aud-4 { grid-template-columns: 1fr 1fr; } }

.aud-box {
  background: var(--white); padding: clamp(18px, 3vw, 26px);
  border-left: 4px solid var(--indigo);
}
.aud-box h3 {
  font-size: .9875rem; font-weight: 700; color: var(--indigo); margin-bottom: 8px;
}
.aud-box p { font-size: .875rem; color: var(--muted); margin-bottom: 6px; line-height: 1.55; }

/* twin panels */
.twin-panels {
  display: grid; gap: 20px;
}
@media (min-width: 700px) { .twin-panels { grid-template-columns: 1fr 1fr; } }

.panel {
  padding: clamp(24px, 4vw, 32px); background: var(--sand);
}
.panel-edge { border-left: 5px solid var(--indigo); }
.panel-edge--gold { border-left-color: var(--gold); }
.panel h2 {
  font-family: var(--serif); font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  color: var(--indigo); margin-bottom: 16px;
}
.panel-ul li {
  position: relative; padding: 8px 0 8px 18px;
  font-size: .875rem; color: var(--muted);
  border-bottom: 1px solid var(--border); line-height: 1.5;
}
.panel-ul li::before {
  content: '—'; position: absolute; left: 0; color: var(--gold); font-weight: 700;
}

/* quote / experience */
.quote-wrap { max-width: 820px; }
.quote-wrap h2 {
  font-family: var(--serif); font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--indigo); margin: 8px 0 20px;
}
.quote-body p {
  font-size: 1.05rem; color: var(--muted); margin-bottom: 14px; line-height: 1.75;
  border-left: 3px solid var(--gold); padding-left: 20px;
}

.voice-row {
  display: grid; gap: 14px; margin-top: 32px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .voice-row { grid-template-columns: repeat(3, 1fr); } }

.voice {
  background: var(--white); padding: 18px;
  border-top: 3px solid var(--indigo);
}
.voice blockquote {
  font-size: .8125rem; font-style: italic; color: var(--ink);
  margin-bottom: 10px; line-height: 1.5;
}
.voice figcaption { font-size: .75rem; color: var(--muted); font-weight: 600; }

/* flow line */
.flow-line {
  display: grid; gap: 0;
  counter-reset: flow;
  border: 2px solid var(--indigo);
  border-radius: 4px; overflow: hidden;
}
@media (min-width: 700px) {
  .flow-line { grid-template-columns: repeat(3, 1fr); }
}
.flow-line li {
  padding: clamp(20px, 3vw, 28px);
  border-bottom: 2px solid var(--indigo);
  position: relative;
}
@media (min-width: 700px) {
  .flow-line li { border-bottom: none; border-right: 2px solid var(--indigo); }
  .flow-line li:last-child { border-right: none; }
}
.flow-line li:last-child { border-bottom: none; }
.flow-line strong {
  display: block; font-family: var(--serif); font-size: 1.25rem;
  color: var(--gold); margin-bottom: 8px;
}
.flow-line p { font-size: .875rem; color: var(--muted); }

/* FAQ grid */
.faq-grid {
  display: grid; gap: 10px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .faq-grid { grid-template-columns: 1fr 1fr; }
}
.faq-box {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 4px; overflow: hidden;
}
.faq-box--full { grid-column: 1 / -1; }
.faq-box summary {
  padding: 14px 16px; font-weight: 600; font-size: .875rem;
  color: var(--indigo); cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; gap: 10px;
}
.faq-box summary::-webkit-details-marker { display: none; }
.faq-box summary::after { content: '+'; color: var(--gold); font-size: 1.2rem; flex-shrink: 0; }
.faq-box[open] summary::after { content: '−'; }
.faq-box p {
  padding: 0 16px 14px; font-size: .8125rem; color: var(--muted); line-height: 1.6;
}

/* CTA asymmetric — NOT centered gradient band */
.block-cta {
  background: var(--white);
  border-top: 4px solid var(--indigo);
  padding-block: clamp(48px, 8vw, 72px);
}
.cta-asym {
  display: grid; gap: clamp(24px, 4vw, 40px); align-items: end;
}
@media (min-width: 768px) {
  .cta-asym { grid-template-columns: 1.2fr 1fr; }
}
.cta-asym-text h2 {
  font-family: var(--serif); font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--indigo); line-height: 1.2; margin-bottom: 12px;
}
.cta-asym-text p { font-size: .9375rem; color: var(--muted); }
.cta-sub { margin-top: 8px; font-size: .8125rem !important; opacity: .8; }

.cta-asym-actions {
  display: flex; flex-direction: column; gap: 10px; align-items: stretch;
}
@media (min-width: 768px) {
  .cta-asym-actions { align-items: flex-start; }
}
.cta-asym-actions .btn-gold,
.cta-asym-actions .btn-line { width: 100%; text-align: center; }
@media (min-width: 768px) {
  .cta-asym-actions .btn-gold,
  .cta-asym-actions .btn-line { width: auto; min-width: 220px; }
}

/* footer */
.foot {
  background: var(--indigo); color: rgba(232,220,200,.7);
  padding: 36px 0 28px;
}
.foot-inner {
  display: grid; gap: 20px;
}
@media (min-width: 600px) {
  .foot-inner { grid-template-columns: auto 1fr; align-items: center; }
}
.foot-logo {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--sand); font-weight: 700;
}
.foot-logo img { border-radius: 8px; }
.foot-links {
  display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: flex-start;
}
@media (min-width: 600px) { .foot-links { justify-content: flex-end; } }
.foot-links a {
  font-size: .8125rem; color: rgba(232,220,200,.65);
  transition: color .2s;
}
.foot-links a:hover { color: var(--gold); }
.foot-copy {
  grid-column: 1 / -1; font-size: .75rem; text-align: center;
  padding-top: 16px; border-top: 1px solid rgba(232,220,200,.12);
}

/* overflow guard */
.hero-btns, .cta-asym-actions, .foot-links { max-width: 100%; }
.zig-body, .aud-box, .faq-box summary { min-width: 0; }

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}

/* =============================================
   DOWNLOAD PAGE — page-download
   Timeline · Table · Lists (no cards)
   ============================================= */

.page-download .dl-hero {
  background: var(--indigo);
  color: var(--sand);
  padding: clamp(36px, 7vw, 64px) 0;
  border-bottom: 4px solid var(--gold);
}

.dl-hero-grid {
  display: grid;
  gap: clamp(28px, 5vw, 48px);
  align-items: start;
}
@media (min-width: 820px) {
  .dl-hero-grid { grid-template-columns: 1fr 320px; }
}

.dl-crumb {
  font-size: .75rem; opacity: .7; margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.dl-crumb a { color: var(--gold); }
.dl-crumb a:hover { text-decoration: underline; }

.dl-hero-main h1 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 4.5vw, 2.6rem);
  font-weight: 400; line-height: 1.2;
  margin-bottom: 14px; max-width: 22ch;
}
.dl-lead {
  font-size: clamp(.9375rem, 2vw, 1.05rem);
  opacity: .88; max-width: 52ch; margin-bottom: 24px; line-height: 1.65;
}

.dl-btn-main {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px;
  background: var(--gold); color: var(--indigo);
  font-family: var(--font); font-size: 1rem; font-weight: 700;
  border-radius: 4px;
  transition: background .2s, transform .2s;
  margin-bottom: 14px;
}
.dl-btn-main:hover {
  background: var(--gold-h);
  transform: translateY(-2px);
}
.dl-meta { font-size: .8125rem; opacity: .65; }

/* file table panel — flat, no card shadow */
.dl-file-panel {
  border: 2px solid rgba(201,162,39,.45);
  padding: 20px;
}
.dl-file-icon {
  border-radius: 14px;
  border: 2px solid var(--gold);
  margin-bottom: 16px;
}
.dl-file-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .8125rem;
}
.dl-file-table th,
.dl-file-table td {
  padding: 8px 0;
  border-bottom: 1px solid rgba(232,220,200,.12);
  text-align: left; vertical-align: top;
}
.dl-file-table th {
  font-weight: 500; opacity: .65; width: 38%;
  padding-right: 12px;
}
.dl-file-table td { font-weight: 600; }
.dl-file-table tr:last-child th,
.dl-file-table tr:last-child td { border-bottom: none; }

/* perbandingan versi */
.dl-ver-compare {
  background: var(--white);
  padding: clamp(28px, 5vw, 40px) 0;
  border-bottom: 2px solid var(--sand-d);
}
.dl-ver-compare-title {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  color: var(--indigo);
  margin-bottom: 16px;
}
.dl-ver-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.dl-ver-table {
  width: 100%;
  min-width: 320px;
  border-collapse: collapse;
  font-size: .875rem;
}
.dl-ver-table caption.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.dl-ver-table thead th {
  background: var(--indigo);
  color: var(--sand);
  font-weight: 600;
  text-align: left;
  padding: 12px 16px;
  border: 1px solid var(--indigo);
}
.dl-ver-table tbody th {
  background: var(--sand);
  color: var(--indigo);
  font-weight: 600;
  text-align: left;
  padding: 11px 16px;
  border: 1px solid var(--border);
  white-space: nowrap;
}
.dl-ver-table td {
  padding: 11px 16px;
  border: 1px solid var(--border);
  color: var(--muted);
  vertical-align: top;
  line-height: 1.5;
}
.dl-ver-table tbody tr:nth-child(even) td {
  background: rgba(232, 220, 200, .18);
}
.dl-ver-tag {
  color: var(--indigo);
  font-weight: 700;
}

/* checklist from download14 — li converted via CSS counter */
.dl-checklist li {
  position: relative;
  padding: 14px 0 14px 48px;
  font-size: .9375rem; color: var(--muted);
  border-bottom: 1px solid var(--border);
  line-height: 1.55;
  list-style: none;
}
.dl-checklist li::before {
  content: '';
  position: absolute; left: 0; top: 16px;
  width: 28px; height: 28px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  background: transparent;
}
.dl-checklist {
  counter-reset: dlcheck;
  max-width: 720px;
}
.dl-checklist li::after {
  counter-increment: dlcheck;
  content: counter(dlcheck, decimal-leading-zero);
  position: absolute; left: 7px; top: 20px;
  font-size: .7rem; font-weight: 700;
  color: var(--indigo); line-height: 1;
}
.dl-checklist li:last-child { border-bottom: none; }

/* download3 / download15 prose */
.dl-prose p {
  margin-bottom: 16px; color: var(--muted); font-size: .9875rem; line-height: 1.7;
}
.dl-prose p:last-child { margin-bottom: 0; }
.dl-prose--wide { max-width: 820px; }

.dl-note-line {
  margin-top: 24px; padding-top: 20px;
  border-top: 1px dashed var(--border);
  font-size: .8125rem; color: var(--muted); font-style: italic;
}

/* install timeline download6~13 */
.dl-timeline {
  position: relative;
  padding-left: 0;
  max-width: 820px;
  margin-inline: auto;
}
.dl-timeline::before {
  content: '';
  position: absolute;
  left: 19px; top: 8px; bottom: 8px;
  width: 2px; background: rgba(201,162,39,.35);
}
@media (min-width: 640px) {
  .dl-timeline::before { left: 23px; }
}

.dl-step {
  position: relative;
  padding: 0 0 clamp(28px, 4vw, 40px) 52px;
}
@media (min-width: 640px) {
  .dl-step { padding-left: 64px; }
}
.dl-step:last-child { padding-bottom: 0; }

.dl-step-n {
  position: absolute; left: 0; top: 0;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gold); color: var(--indigo);
  font-weight: 800; font-size: 1rem;
  border-radius: 50%;
  z-index: 1;
}
@media (min-width: 640px) {
  .dl-step-n { width: 48px; height: 48px; font-size: 1.1rem; }
}

.dl-step-short h3 {
  font-size: 1.05rem; font-weight: 700; color: var(--sand);
  margin-bottom: 6px;
}
.dl-step-short p {
  font-size: .9rem; opacity: .85; line-height: 1.55; margin-bottom: 12px;
}

.dl-step-detail {
  padding: 16px 0 0 0;
  border-top: 1px dashed rgba(232,220,200,.2);
  margin-top: 8px;
}
.dl-step-detail h3 {
  font-size: .9375rem; font-weight: 600; color: var(--gold);
  margin-bottom: 8px;
}
.dl-step-detail p {
  font-size: .875rem; opacity: .78; line-height: 1.65;
}

.dl-mid-cta {
  text-align: center;
  margin-top: clamp(32px, 5vw, 48px);
  padding-top: 28px;
  border-top: 2px solid rgba(201,162,39,.3);
}

/* split lists download4 download5 */
.dl-split-lists {
  display: grid; gap: clamp(32px, 5vw, 56px);
}
@media (min-width: 768px) {
  .dl-split-lists { grid-template-columns: 1fr 1fr; }
}

.dl-list-block h2 {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.5vw, 1.4rem);
  color: var(--indigo);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--gold);
}

.dl-bullet li {
  position: relative;
  padding: 10px 0 10px 20px;
  font-size: .9rem; color: var(--muted);
  border-bottom: 1px solid var(--border);
  line-height: 1.55;
}
.dl-bullet li::before {
  content: '▸'; position: absolute; left: 0;
  color: var(--gold); font-size: .75rem; top: 12px;
}
.dl-bullet li:last-child { border-bottom: none; }

/* tips strip download16~18 — flat bands, not cards */
.dl-tips-strip {
  display: flex; flex-direction: column; gap: 0;
  border: 2px solid var(--indigo);
}
.dl-tip {
  padding: clamp(20px, 3vw, 28px);
  border-bottom: 2px solid var(--indigo);
}
.dl-tip:last-child { border-bottom: none; }
.dl-tip:nth-child(odd) { background: var(--white); }
.dl-tip:nth-child(even) { background: var(--sand-d); }
.dl-tip h3 {
  font-size: 1rem; font-weight: 700; color: var(--indigo);
  margin-bottom: 8px;
}
.dl-tip p { font-size: .9rem; color: var(--muted); line-height: 1.6; }

/* FAQ download — flat rows */
.dl-faq-list {
  max-width: 820px;
  border-top: 2px solid var(--indigo);
}
.dl-faq {
  border-bottom: 1px solid var(--border);
}
.dl-faq summary {
  padding: 16px 36px 16px 0;
  font-weight: 600; font-size: .9375rem;
  color: var(--indigo); cursor: pointer;
  list-style: none; position: relative;
}
.dl-faq summary::-webkit-details-marker { display: none; }
.dl-faq summary::after {
  content: '+'; position: absolute; right: 4px; top: 14px;
  font-size: 1.3rem; color: var(--gold); line-height: 1;
}
.dl-faq[open] summary::after { content: '−'; }
.dl-faq p {
  padding: 0 0 16px;
  font-size: .875rem; color: var(--muted); line-height: 1.65;
}

.dl-section { /* inherits .block */ }

.page-download .masthead-nav a[aria-current="page"] {
  color: var(--indigo); background: var(--sand);
}

@media (max-width: 768px) {
  .dl-file-panel { order: -1; }
  .dl-hero-grid { display: flex; flex-direction: column; }
  .dl-btn-main { width: 100%; justify-content: center; }
}

/* =============================================
   LOGIN PAGE — page-login
   ============================================= */

.page-login .masthead-nav a[aria-current="page"] {
  color: var(--indigo); background: var(--sand);
}

.lg-hero {
  background: var(--sand);
  padding: clamp(36px, 7vw, 64px) 0;
  border-bottom: 4px solid var(--indigo);
}

.lg-hero-grid {
  display: grid;
  gap: clamp(28px, 5vw, 44px);
  align-items: start;
}
@media (min-width: 820px) {
  .lg-hero-grid { grid-template-columns: 1fr 300px; }
}

.lg-crumb {
  font-size: .75rem; color: var(--muted); margin-bottom: 14px;
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.lg-crumb a { color: var(--indigo); font-weight: 600; }
.lg-crumb a:hover { text-decoration: underline; }

.lg-hero-text h1 {
  font-family: var(--serif);
  font-size: clamp(1.55rem, 4.5vw, 2.5rem);
  font-weight: 400; line-height: 1.2;
  color: var(--indigo); margin-bottom: 14px; max-width: 20ch;
}
.lg-lead {
  font-size: clamp(.9375rem, 2vw, 1.05rem);
  color: var(--muted); max-width: 50ch;
  margin-bottom: 24px; line-height: 1.65;
}
.lg-hero-actions {
  display: flex; flex-wrap: wrap; gap: 10px;
}
.lg-btn-line {
  border-color: var(--indigo); color: var(--indigo);
}
.lg-btn-line:hover {
  background: rgba(26,31,60,.06);
}

.lg-side {
  border: 2px solid var(--indigo);
  padding: 22px;
  background: var(--white);
}
.lg-side-icon {
  border-radius: 12px;
  border: 2px solid var(--gold);
  margin-bottom: 14px;
}
.lg-side-title {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--indigo);
  margin-bottom: 12px;
}
.lg-side-list li {
  font-size: .8125rem;
  color: var(--muted);
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
  line-height: 1.45;
}
.lg-side-list li:last-child { border-bottom: none; }
.lg-side-list a {
  color: var(--indigo);
  font-weight: 600;
  text-decoration: underline;
}

/* login3~6 prep */
.lg-prep-list {
  display: flex; flex-direction: column; gap: 0;
  border-top: 2px solid var(--indigo);
  max-width: 820px;
}
.lg-prep-item {
  padding: clamp(18px, 3vw, 24px) 0;
  border-bottom: 1px solid var(--border);
  list-style: none;
}
.lg-prep-item strong {
  display: block;
  font-size: .9875rem;
  font-weight: 700;
  color: var(--indigo);
  margin-bottom: 6px;
}
.lg-prep-item span {
  display: block;
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.6;
}

/* login7 prose */
.lg-prose p {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: .9875rem;
  line-height: 1.7;
}
.lg-prose p:last-child { margin-bottom: 0; }

/* login8 audience */
.lg-audience li {
  position: relative;
  padding: 12px 0 12px 28px;
  font-size: .9375rem;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  line-height: 1.55;
  max-width: 780px;
}
.lg-audience li::before {
  content: '→';
  position: absolute; left: 0;
  color: var(--gold); font-weight: 700;
}
.lg-audience li:last-child { border-bottom: none; }

/* login9~12 habits — flat strip */
.lg-habit-strip {
  border: 2px solid var(--indigo);
}
.lg-habit {
  padding: clamp(20px, 3vw, 28px);
  border-bottom: 2px solid var(--indigo);
}
.lg-habit:last-child { border-bottom: none; }
.lg-habit:nth-child(odd) { background: var(--white); }
.lg-habit:nth-child(even) { background: rgba(232,220,200,.35); }
.lg-habit h3 {
  font-size: 1rem; font-weight: 700;
  color: var(--indigo); margin-bottom: 8px;
}
.lg-habit p {
  font-size: .9rem; color: var(--muted); line-height: 1.6;
}

/* login13 when — indigo section */
.lg-when-intro {
  font-size: .9875rem;
  opacity: .85;
  margin-bottom: 16px;
  max-width: 640px;
  line-height: 1.6;
}
.lg-when-list li {
  position: relative;
  padding: 11px 0 11px 22px;
  font-size: .9rem;
  opacity: .88;
  border-bottom: 1px solid rgba(232,220,200,.15);
  line-height: 1.55;
  max-width: 720px;
}
.lg-when-list li::before {
  content: '•';
  position: absolute; left: 4px;
  color: var(--gold); font-weight: 700;
}
.lg-when-list li:last-child { border-bottom: none; }
.lg-when-note {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed rgba(232,220,200,.25);
  font-size: .8125rem;
  opacity: .7;
  font-style: italic;
}

.lg-section { /* inherits .block */ }

@media (max-width: 768px) {
  .lg-hero-actions .btn-gold,
  .lg-hero-actions .btn-line {
    flex: 1 1 100%;
    text-align: center;
    justify-content: center;
  }
}

/* =============================================
   RESMI PAGE — page-resmi
   ============================================= */

.page-resmi .masthead-nav a[aria-current="page"] {
  color: var(--indigo); background: var(--sand);
}

.rs-hero {
  background: var(--indigo);
  color: var(--sand);
  padding: clamp(40px, 7vw, 68px) 0;
  border-bottom: 4px solid var(--gold);
}

.rs-crumb {
  font-size: .75rem; opacity: .7; margin-bottom: 20px;
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.rs-crumb a { color: var(--gold); }
.rs-crumb a:hover { text-decoration: underline; }

.rs-hero-grid {
  display: grid;
  gap: clamp(24px, 4vw, 40px);
  align-items: center;
}
@media (min-width: 768px) {
  .rs-hero-grid { grid-template-columns: 1fr auto; }
}

.rs-badge {
  display: inline-block;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 5px 12px;
  margin-bottom: 14px;
}
.rs-hero-text h1 {
  font-family: var(--serif);
  font-size: clamp(1.55rem, 4.5vw, 2.55rem);
  font-weight: 400; line-height: 1.15;
  margin-bottom: 14px; max-width: 18ch;
}
.rs-lead {
  font-size: clamp(.9375rem, 2vw, 1.05rem);
  opacity: .88; max-width: 48ch;
  margin-bottom: 22px; line-height: 1.65;
}
.rs-hero-actions {
  display: flex; flex-wrap: wrap; gap: 10px;
}
.rs-btn-line {
  border-color: rgba(232,220,200,.45);
  color: var(--sand);
}
.rs-btn-line:hover {
  background: rgba(255,255,255,.08);
  border-color: var(--sand);
}

.rs-emblem {
  text-align: center;
}
.rs-emblem img {
  margin-inline: auto;
  border-radius: 24px;
  border: 3px solid var(--gold);
}
.rs-emblem figcaption {
  margin-top: 12px;
  font-size: .8125rem;
  opacity: .75;
}

/* resmi3 resmi6 prose */
.rs-prose p {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: .9875rem;
  line-height: 1.7;
}
.rs-prose p:last-child { margin-bottom: 0; }
.rs-prose--compact p { font-size: .9rem; margin-bottom: 12px; }

/* resmi4 komitmen */
.rs-komitmen-wrap .sec-num { display: block; margin-bottom: 12px; }
.rs-komitmen {
  max-width: 820px;
  border-left: 5px solid var(--gold);
  padding-left: clamp(16px, 3vw, 28px);
}
.rs-komitmen h2#komitmen-heading {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.8vw, 1.55rem);
  color: var(--indigo);
  margin-bottom: 14px;
  line-height: 1.25;
}
.rs-komitmen > p {
  font-size: .9375rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 14px;
}
.rs-komitmen ul {
  margin: 16px 0;
  padding: 0;
}
.rs-komitmen ul li {
  position: relative;
  padding: 9px 0 9px 22px;
  font-size: .9rem;
  color: var(--ink);
  border-bottom: 1px solid var(--border);
  line-height: 1.55;
  list-style: none;
}
.rs-komitmen ul li::before {
  content: '✓';
  position: absolute; left: 0;
  color: var(--gold); font-weight: 700;
}
.rs-komitmen ul li:last-child { border-bottom: none; }

/* resmi5 + resmi6 dual */
.rs-dual {
  display: grid;
  gap: clamp(28px, 5vw, 48px);
}
@media (min-width: 768px) {
  .rs-dual { grid-template-columns: 1fr 1fr; align-items: start; }
}
.rs-dual-col h2 {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  color: var(--indigo);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--indigo);
}

.rs-help-list li {
  position: relative;
  padding: 10px 0 10px 24px;
  font-size: .9rem;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  line-height: 1.55;
  list-style: none;
}
.rs-help-list li::before {
  content: '—';
  position: absolute; left: 0;
  color: var(--gold); font-weight: 700;
}
.rs-help-list li:last-child { border-bottom: none; }

/* resmi7 guide */
.rs-guide {
  counter-reset: rsguide;
  max-width: 780px;
}
.rs-guide h3 {
  counter-increment: rsguide;
  font-size: 1rem;
  font-weight: 700;
  color: var(--sand);
  margin-bottom: 8px;
  padding-left: 40px;
  position: relative;
}
.rs-guide h3::before {
  content: counter(rsguide, decimal-leading-zero);
  position: absolute; left: 0; top: 0;
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--gold);
  line-height: 1;
}
.rs-guide p {
  font-size: .9rem;
  opacity: .82;
  line-height: 1.6;
  margin-bottom: clamp(20px, 3vw, 28px);
  padding-left: 40px;
}
.rs-guide p:last-child { margin-bottom: 0; }
.rs-guide-note {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px dashed rgba(232,220,200,.25);
  font-size: .8125rem;
  opacity: .7;
  font-style: italic;
}

/* cara bedakan situs palsu */
.rs-fake-intro {
  font-size: .9875rem;
  color: var(--muted);
  max-width: 720px;
  margin-bottom: 20px;
  line-height: 1.65;
}
.rs-fake-list {
  max-width: 780px;
  border-top: 2px solid var(--indigo);
}
.rs-fake-list li {
  position: relative;
  padding: 14px 0 14px 40px;
  font-size: .9rem;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  line-height: 1.6;
  list-style: none;
}
.rs-fake-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  width: 22px;
  height: 22px;
  border: 2px solid var(--gold);
  border-radius: 50%;
}
.rs-fake-list li::after {
  content: '!';
  position: absolute;
  left: 7px;
  top: 17px;
  font-size: .75rem;
  font-weight: 800;
  color: var(--indigo);
  line-height: 1.4;
}
.rs-fake-list li:last-child { border-bottom: none; }
.rs-fake-list strong { color: var(--indigo); font-weight: 700; }
.rs-fake-list a {
  color: var(--indigo);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* info table */
.rs-info-table {
  width: 100%;
  max-width: 640px;
  border-collapse: collapse;
  font-size: .875rem;
}
.rs-info-table caption.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.rs-info-table th,
.rs-info-table td {
  padding: 11px 16px;
  border: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}
.rs-info-table th {
  background: var(--sand);
  color: var(--indigo);
  font-weight: 600;
  width: 42%;
}
.rs-info-table td { color: var(--muted); }

.rs-section { /* inherits .block */ }

@media (max-width: 768px) {
  .rs-hero-actions .btn-gold,
  .rs-hero-actions .btn-line {
    flex: 1 1 100%;
    justify-content: center;
    text-align: center;
  }
  .rs-emblem { order: -1; }
  .rs-hero-grid { display: flex; flex-direction: column; }
}


/* =============================================
   BANTUAN PAGE — diagnosis sheet layout
   ============================================= */

.page-bantuan .masthead-nav a[aria-current="page"] {
  color: var(--indigo);
  background: var(--sand);
}

/* tiket header */
.bn-ticket {
  background: var(--indigo);
  color: var(--sand);
  padding: clamp(36px, 7vw, 60px) 0;
}
.bn-ticket-grid {
  display: grid;
  gap: 24px;
  align-items: stretch;
}
@media (min-width: 800px) {
  .bn-ticket-grid {
    grid-template-columns: 1fr 220px;
    gap: 0;
  }
}

.bn-crumb {
  font-size: .75rem;
  opacity: .7;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.bn-crumb a { color: var(--gold); }
.bn-crumb a:hover { text-decoration: underline; }

.bn-ticket-label {
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.bn-ticket-main {
  padding-right: clamp(0px, 3vw, 32px);
}
@media (min-width: 800px) {
  .bn-ticket-main {
    padding-right: 40px;
    border-right: 2px dashed rgba(201,162,39,.45);
  }
}
.bn-ticket-main h1 {
  font-family: var(--serif);
  font-size: clamp(1.55rem, 4.5vw, 2.55rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 14px;
  max-width: 18ch;
}
.bn-ticket-desc {
  font-size: clamp(.9375rem, 2vw, 1.05rem);
  opacity: .88;
  max-width: 48ch;
  line-height: 1.65;
}

.bn-stub {
  padding: 8px 0 0;
}
@media (min-width: 800px) {
  .bn-stub { padding: 8px 0 0 28px; }
}
.bn-stub-k {
  font-size: .65rem;
  letter-spacing: .2em;
  opacity: .55;
}
.bn-stub-v {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--gold);
  margin: 4px 0 12px;
}
.bn-stub-line {
  border: none;
  border-top: 1px solid rgba(232,220,200,.25);
  margin: 0 0 12px;
}
.bn-stub-dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  font-size: .8125rem;
  border-bottom: 1px solid rgba(232,220,200,.12);
}
.bn-stub-dl div:last-child { border-bottom: none; }
.bn-stub-dl dt { opacity: .6; }
.bn-stub-dl dd { font-weight: 700; }

/* preface — bantuan3 */
.bn-preface {
  background: var(--sand);
  padding: clamp(40px, 7vw, 64px) 0;
  border-bottom: 3px solid var(--indigo);
}
.bn-preface-grid {
  display: grid;
  gap: 20px;
}
@media (min-width: 700px) {
  .bn-preface-grid {
    grid-template-columns: 56px 1fr;
    gap: 28px;
    align-items: start;
  }
}
.bn-preface-rail {
  display: none;
}
@media (min-width: 700px) {
  .bn-preface-rail {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    min-height: 160px;
  }
  .bn-preface-rail span {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--gold);
    border-left: 3px solid var(--gold);
    padding-left: 10px;
  }
}
.bn-preface-body h2 {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.8vw, 1.55rem);
  color: var(--indigo);
  margin-bottom: 16px;
  line-height: 1.25;
}
.bn-preface-copy p {
  font-size: .9875rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 14px;
  max-width: 68ch;
}
.bn-preface-copy p:last-child { margin-bottom: 0; }

/* diagnosis desk — bantuan4~7 */
.bn-desk {
  background: var(--white);
  padding: clamp(44px, 8vw, 72px) 0;
}
.bn-desk-head {
  margin-bottom: clamp(28px, 5vw, 40px);
  max-width: 560px;
}
.bn-desk-head h2 {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  color: var(--indigo);
  margin-bottom: 8px;
}
.bn-desk-head p {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.55;
}

.bn-sheet {
  display: grid;
  gap: 0;
  margin-bottom: 20px;
  border: 2px solid var(--indigo);
  background: var(--white);
  overflow: hidden;
}
.bn-sheet:last-of-type { margin-bottom: 0; }

@media (min-width: 720px) {
  .bn-sheet {
    grid-template-columns: 72px 1fr;
  }
  .bn-sheet--flip {
    grid-template-columns: 1fr 72px;
  }
  .bn-sheet--flip .bn-sheet-rail { order: 2; }
  .bn-sheet--flip .bn-sheet-body { order: 1; }
}

.bn-sheet-rail {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: var(--indigo);
  color: var(--sand);
}
@media (min-width: 720px) {
  .bn-sheet-rail {
    flex-direction: column;
    justify-content: center;
    padding: 24px 10px;
    gap: 14px;
  }
  .bn-sheet-cat {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    letter-spacing: .18em;
  }
}
.bn-sheet-rail--b { background: #243056; }
.bn-sheet-rail--c { background: #1a1f3c; }
.bn-sheet-rail--d { background: #2a2040; }

.bn-sheet-code {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--gold);
  line-height: 1;
}
.bn-sheet-cat {
  font-size: .7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.bn-sheet-body {
  padding: clamp(20px, 3.5vw, 32px);
  min-width: 0;
}

.bn-sheet-body header { display: contents; }
.bn-sheet-body h3 {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  color: var(--indigo);
  margin-bottom: 10px;
  line-height: 1.3;
}
.bn-sheet-body p {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 16px;
}
.bn-sheet-body ol {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
  border-top: 1px solid var(--border);
}
.bn-sheet-body ol li {
  counter-increment: step;
  position: relative;
  padding: 12px 0 12px 44px;
  font-size: .875rem;
  color: var(--ink);
  line-height: 1.55;
  border-bottom: 1px solid var(--border);
}
.bn-sheet-body ol li:last-child { border-bottom: none; }
.bn-sheet-body ol li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 12px;
  font-family: var(--serif);
  font-size: .95rem;
  color: var(--gold);
  font-weight: 400;
}

/* preflight form — bantuan8 */
.bn-preflight {
  background: var(--sand);
  padding: clamp(44px, 8vw, 72px) 0;
}
.bn-form {
  max-width: 720px;
  margin-inline: auto;
  border: 2px solid var(--indigo);
  background: var(--white);
}
.bn-form-head {
  background: var(--indigo);
  color: var(--sand);
  padding: clamp(20px, 4vw, 28px);
}
.bn-form-tag {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.bn-form-head h2 {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.8vw, 1.55rem);
  font-weight: 400;
  margin-bottom: 8px;
  line-height: 1.25;
}
.bn-form-sub {
  font-size: .875rem;
  opacity: .8;
  line-height: 1.5;
}

.bn-form-list {
  list-style: none;
  margin: 0;
  padding: 8px 0;
  counter-reset: formitem;
}
.bn-form-list li {
  counter-increment: formitem;
  position: relative;
  padding: 14px clamp(18px, 4vw, 28px) 14px calc(clamp(18px, 4vw, 28px) + 36px);
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.55;
  border-bottom: 1px solid var(--border);
}
.bn-form-list li:last-child { border-bottom: none; }
.bn-form-list li::before {
  content: counter(formitem, decimal-leading-zero);
  position: absolute;
  left: clamp(18px, 4vw, 28px);
  top: 14px;
  width: 26px;
  height: 26px;
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  font-weight: 700;
  color: var(--indigo);
}

.bn-form-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  padding: 12px clamp(18px, 4vw, 28px);
  background: rgba(232,220,200,.4);
  font-size: .75rem;
  color: var(--muted);
  border-top: 1px dashed var(--border);
}

/* next links */
.bn-next {
  background: var(--white);
  padding: clamp(40px, 7vw, 64px) 0;
  border-top: 2px solid var(--indigo);
}
.bn-next-grid h2 {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.8vw, 1.55rem);
  color: var(--indigo);
  margin-bottom: 20px;
}
.bn-next-links {
  display: flex;
  flex-direction: column;
  border-top: 2px solid var(--indigo);
  max-width: 640px;
}
.bn-next-links a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 14px 0;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--indigo);
  border-bottom: 1px solid var(--border);
}
.bn-next-links a span {
  font-family: var(--serif);
  color: var(--gold);
  font-size: 1rem;
  flex-shrink: 0;
}
.bn-next-links a:hover { color: var(--gold-h); }

/* =============================================
   APLIKASI PAGE — catalog + pagination
   ============================================= */

.page-aplikasi .masthead-nav a[aria-current="page"] {
  color: var(--indigo);
  background: var(--sand);
}

.ap-hero {
  background: var(--sand);
  padding: clamp(36px, 7vw, 56px) 0 28px;
  border-bottom: 3px solid var(--indigo);
}
.ap-crumb {
  font-size: .75rem;
  color: var(--muted);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.ap-crumb a { color: var(--indigo); font-weight: 600; }
.ap-kicker {
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-h);
  margin-bottom: 10px;
}
.ap-hero-inner h1 {
  font-family: var(--serif);
  font-size: clamp(1.55rem, 4.5vw, 2.5rem);
  color: var(--indigo);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 12px;
  max-width: 22ch;
}
.ap-lead {
  font-size: clamp(.9375rem, 2vw, 1.05rem);
  color: var(--muted);
  max-width: 52ch;
  line-height: 1.65;
  margin-bottom: 12px;
}
.ap-facts {
  font-size: .8125rem;
  color: var(--indigo);
  font-weight: 600;
  opacity: .85;
}

.ap-prose p {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: .9875rem;
  line-height: 1.7;
}
.ap-prose p:last-child { margin-bottom: 0; }

.ap-catalog {
  padding: clamp(36px, 6vw, 56px) 0;
  background: var(--white);
}
.ap-toolbar {
  display: grid;
  gap: 20px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--indigo);
}
@media (min-width: 800px) {
  .ap-toolbar {
    grid-template-columns: 1fr auto;
    align-items: end;
  }
}
.ap-toolbar-left h2 {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  color: var(--indigo);
  margin-bottom: 4px;
}
.ap-meta {
  font-size: .8125rem;
  color: var(--muted);
}
.ap-toolbar-right {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.ap-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.ap-field-label {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.ap-field input,
.ap-field select {
  font-family: var(--font);
  font-size: .875rem;
  color: var(--ink);
  background: var(--sand);
  border: 2px solid var(--indigo);
  border-radius: 0;
  padding: 10px 12px;
  min-width: 160px;
  max-width: 100%;
}
.ap-field input:focus,
.ap-field select:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}

/* catalog tiles — flat cells, not soft cards */
.aplikasi-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border: 2px solid var(--indigo);
  border-bottom: none;
}
@media (min-width: 560px) {
  .aplikasi-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .aplikasi-grid { grid-template-columns: 1fr 1fr 1fr; }
}

.aplikasi-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-bottom: 2px solid var(--indigo);
  border-right: 2px solid var(--indigo);
  background: var(--white);
  min-width: 0;
}
.aplikasi-card[hidden] { display: none !important; }
.aplikasi-card:nth-child(odd) { background: rgba(232,220,200,.22); }

.aplikasi-icon-link { flex-shrink: 0; }
.aplikasi-icon {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border: 2px solid var(--indigo);
  border-radius: 10px;
  background: var(--sand);
}
.aplikasi-body { min-width: 0; flex: 1; }
.aplikasi-name {
  font-size: .9875rem;
  font-weight: 700;
  color: var(--indigo);
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.aplikasi-name:hover { color: var(--gold-h); }
.aplikasi-cat {
  font-size: .75rem;
  color: var(--muted);
  margin: 2px 0 4px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.aplikasi-ver {
  font-size: .8125rem;
  font-weight: 600;
  color: var(--indigo);
  margin: 0 0 8px;
}
.aplikasi-go {
  font-size: .8125rem;
  font-weight: 700;
  color: var(--gold-h);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.aplikasi-empty {
  grid-column: 1 / -1;
  padding: 32px 16px;
  text-align: center;
  color: var(--muted);
  border-bottom: 2px solid var(--indigo);
  font-size: .9375rem;
}

.aplikasi-pager {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  align-items: center;
  margin-top: 28px;
}
.aplikasi-page-btn {
  font-family: var(--font);
  font-size: .8125rem;
  font-weight: 600;
  color: var(--indigo);
  background: var(--white);
  border: 2px solid var(--indigo);
  padding: 8px 12px;
  cursor: pointer;
  min-height: 40px;
}
.aplikasi-page-btn:hover:not(:disabled) {
  background: var(--sand);
}
.aplikasi-page-btn.is-active {
  background: var(--indigo);
  color: var(--sand);
}
.aplikasi-page-btn:disabled {
  opacity: .35;
  cursor: not-allowed;
}
.aplikasi-ellipsis {
  color: var(--muted);
  padding: 0 4px;
  font-size: .875rem;
}

@media (max-width: 559px) {
  .aplikasi-grid { border-right: none; }
  .aplikasi-card { border-right: none; }
  .ap-field { flex: 1 1 100%; }
  .ap-field input,
  .ap-field select { width: 100%; min-width: 0; }
}
