/* =============================================================
   base.css — reset & gaya dasar teks.
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; color-scheme: light; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.1;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; }
a { color: inherit; }
img, video, iframe { max-width: 100%; display: block; }

/* Teks yang hanya dibaca pembaca layar (tidak terlihat) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

:focus-visible { outline: 3px solid var(--mustard); outline-offset: 3px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Halaman teks panjang (kebijakan privasi) */
.prose { display: grid; gap: 14px; }
.prose h1 { font-size: clamp(2rem, 5vw, 2.8rem); color: var(--navy); }
.prose h2 { font-size: 1.3rem; margin-top: 12px; }
