/* Reset, tipografi, dan kerangka halaman. */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  margin: 0;
  min-height: 100vh;
  padding-block: 0;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  overflow-x: hidden;
}

body.dlg-open { overflow: hidden; }

h1, h2, h3, p { margin: 0; }

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

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

.wrap { max-width: 48rem; margin-inline: auto; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Logo teks: Van.Agency dengan titik berwarna primary */
.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
  color: inherit;
  text-decoration: none;
}

.dot {
  display: inline-block;
  width: 0.34em;
  height: 0.34em;
  margin-inline: 0.05em;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 1px rgba(46, 99, 219, 0.7), 0 0 14px rgba(46, 99, 219, 0.65);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
