/* Dasar bersama 3 prototype landing page SpyFlow. Gaya per varian ada di file HTML masing-masing.
   Inter di-bundle lokal (bukan CDN), sama dengan extension. */

@font-face { font-family: 'Inter'; font-weight: 400; font-display: swap; src: url('fonts/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 500; font-display: swap; src: url('fonts/inter-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 600; font-display: swap; src: url('fonts/inter-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 700; font-display: swap; src: url('fonts/inter-latin-700-normal.woff2') format('woff2'); }

/* Palet Tinta (CLAUDE.md "Konvensi UI"). Warna hanya untuk arti. */
:root {
  --ink: #14161a;
  --ink-2: #3d424c;
  --muted: #5e6470;
  --line: #e7e7e3;
  --line-input: #d9d9d4;
  --page: #f7f7f5;
  --soft: #f2f2ef;
  --surface: #ffffff;
  --accent: #1f4fe0;
  --accent-hover: #163bb0;
  --accent-on-dark: #7c98ff;
  --high-bg: #e8f5ec;
  --high: #166534;
  --mid-bg: #fbf2dc;
  --mid: #7a4f00;
  --low-bg: #f0f1f3;
  --low: #4b5160;
  --radius: 14px;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--page); font-feature-settings: 'cv11' 1; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, dl, figure { margin: 0; }
a { color: inherit; }
button { font: inherit; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }
/* Tombol ke #harga, #faq, dll: judul tidak tertutup navigasi yang menempel. */
[id] { scroll-margin-top: 80px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.tnum { font-variant-numeric: tabular-nums; }

/* Fokus keyboard terlihat di semua varian. */
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* Marquee kategori: diduplikasi lp.js supaya mulus. Berhenti saat hover dan untuk reduced motion. */
.marquee { overflow: hidden; }
.marquee-track { display: flex; gap: 10px; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* FAQ native <details>. */
details summary { cursor: pointer; list-style: none; }
details summary::-webkit-details-marker { display: none; }

/* Countdown tersembunyi sampai lp.js menemukan tanggal promo yang sah. Tanpa tanggal = tidak tampil (tanpa hitung mundur palsu). */
[data-countdown] { display: none; }
[data-countdown].is-on { display: block; }
