/* Sistem keterbacaan konten — header dan footer sengaja tidak dicakup. */
@media screen {
  :where(main, body > section, .policy-page, .faq-page, .reg-page, .lokasi-page, .cek-page, .err-page, .modal-card, .lightbox-content) {
    --content-copy-size: clamp(15px, 0.9rem + 0.14vw, 16px);
    --content-control-size: clamp(14px, 0.85rem + 0.1vw, 15px);
    --content-micro-size: clamp(12.5px, 0.75rem + 0.08vw, 13.5px);
    font-size: 16px;
  }

  :where(main, body > section, .policy-page, .faq-page, .reg-page, .lokasi-page, .cek-page, .err-page, .modal-card, .lightbox-content)
  :where(p, li, dd, dt, td, th, label, input, select, textarea) {
    font-size: var(--content-copy-size) !important;
    line-height: 1.68;
  }

  :where(main, body > section, .policy-page, .faq-page, .reg-page, .lokasi-page, .cek-page, .err-page, .modal-card, .lightbox-content)
  :where(button, .btn, [role="button"], summary, figcaption) {
    font-size: var(--content-control-size) !important;
    line-height: 1.45;
  }

  :where(main, body > section, .policy-page, .faq-page, .reg-page, .lokasi-page, .cek-page, .err-page, .modal-card, .lightbox-content)
  :where(small, [class*="eyebrow"], [class*="kicker"], [class*="meta"], [class*="hint"], [class*="note"], [class*="label"], [class*="caption"], [class*="breadcrumb"], [class*="badge"], [class*="pill"], [class*="tag"], [class*="edition"], [class*="period"], [class*="assist"]) {
    font-size: var(--content-micro-size, 12.5px) !important;
    line-height: 1.5;
    letter-spacing: 0.015em;
  }

  :where(main, body > section, .policy-page, .faq-page, .reg-page, .lokasi-page, .cek-page, .err-page, .modal-card, .lightbox-content) h4 { font-size: clamp(1.02rem, 0.98rem + 0.18vw, 1.14rem) !important; line-height: 1.35; }
  :where(main, body > section, .policy-page, .faq-page, .reg-page, .lokasi-page, .cek-page, .err-page, .modal-card, .lightbox-content) h5 { font-size: clamp(0.96rem, 0.93rem + 0.12vw, 1.05rem) !important; line-height: 1.4; }
  :where(main, body > section, .policy-page, .faq-page, .reg-page, .lokasi-page, .cek-page, .err-page, .modal-card, .lightbox-content) h6 { font-size: 0.94rem !important; line-height: 1.45; }

  /* Label informatif di dalam section harus mengikuti lantai teks, termasuk
     komponen lama yang dibangun dari span tanpa nama kelas khusus. */
  body .hero-stats.hero-stats span,
  body .kelas-stats.kelas-stats span,
  body .materi-sub.materi-sub,
  body .portal-step.portal-step,
  body .harga-table.harga-table thead .sub,
  body .harga-table.harga-table tbody td > span,
  body .el-hero-chip.el-hero-chip i,
  body .el-card.el-card > span,
  body section.cta-final .final-cta-quote.final-cta-quote figcaption > span {
    font-size: var(--content-micro-size, 12.5px) !important;
    line-height: 1.5 !important;
  }

  @media (max-width: 700px) {
    :where(main, body > section, .policy-page, .faq-page, .reg-page, .lokasi-page, .cek-page, .err-page, .modal-card, .lightbox-content) {
      --content-copy-size: 15px;
      --content-control-size: 14px;
      --content-micro-size: 12.5px;
    }

    /* Mobile: kolom isian 16px agar Safari iOS tidak zoom saat fokus (checkbox/radio/tombol tidak ikut). */
    :where(main, body > section, .policy-page, .faq-page, .reg-page, .lokasi-page, .cek-page, .err-page, .modal-card, .lightbox-content)
    :where(input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"], [type="button"], [type="submit"], [type="reset"], [type="image"], [type="color"], [type="hidden"]), select, textarea) {
      font-size: 16px !important;
      line-height: 1.5;
    }
  }
}

/* Lantai keterbacaan v2 (aditif): label/badge/catatan kecil di konten tidak boleh di bawah 12px. */
@media screen {
  body .ebook-card-vol.ebook-card-vol,
  body .ebook-guide-audience.ebook-guide-audience,
  body .ebook-bundle-showcase-seal.ebook-bundle-showcase-seal,
  body .ebook-bundle-fit.ebook-bundle-fit,
  body .ebook-bundle-release.ebook-bundle-release,
  body .ebook-bundle-unit.ebook-bundle-unit,
  body .ebook-guide-assist.ebook-guide-assist span,
  body .tile-index.tile-index,
  body .gallery-hero-bottom.gallery-hero-bottom span,
  body .kalk-step-num.kalk-step-num {
    font-size: 12px !important;
    line-height: 1.45 !important;
    letter-spacing: 0.04em !important;
  }

  body .ebook-card-fit.ebook-card-fit,
  body .ebook-card-price-old.ebook-card-price-old,
  body .ebook-bundle-discount.ebook-bundle-discount,
  body .ebook-guide-link.ebook-guide-link,
  body .jadwal-mode.jadwal-mode,
  body .jadwal-ribbon.jadwal-ribbon,
  body .article-category.article-category,
  body .webinar-soon-status.webinar-soon-status,
  body .ebook-proof-row.ebook-proof-row span,
  body .ebook-value-bar.ebook-value-bar span,
  body .ebook-catalog-assurance.ebook-catalog-assurance span,
  body .ebook-bundle-showcase-copy.ebook-bundle-showcase-copy span,
  body .ebook-guide-principles.ebook-guide-principles span,
  body .kalk-step.kalk-step span:not(.kalk-step-num),
  body .kalk-disclaimer.kalk-disclaimer,
  body .eyebrow.eyebrow-dark span,
  body .el-card.el-card-an h4 span {
    font-size: 12.5px !important;
    line-height: 1.5 !important;
  }
}
