/* ============================================================
   reset.css
   -----------------------------------------------------------
   Reset standar biar semua browser mulai dari titik yang sama.
   Gak ada yang fancy di sini, sengaja dibuat boring on purpose.
============================================================ */

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

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

body{
  min-height: 100svh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg, video{
  max-width: 100%;
  display: block;
}

a{
  color: inherit;
  text-decoration: none;
}

button{
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
}

ul, ol{
  list-style: none;
}

input, textarea{
  font-family: inherit;
  color: inherit;
}

/* Biar pengguna keyboard tetep keliatan fokusnya ke mana
   (jangan dihapus walau "keliatan jelek" — ini soal akses) */
:focus-visible{
  outline: 2px solid var(--navy-soft);
  outline-offset: 3px;
}

/* Hormatin orang yang nyalain reduced-motion di OS-nya */
@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
