/* ==========================================================================
   Bay La Sun — base
   Reset, base typography, accessibility defaults.
   ========================================================================== */

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

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--surface-page);
  color: var(--text-on-teal);
  font-family: var(--font-body);
  font-size: var(--step-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}

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

ul {
  padding: 0;
  list-style: none;
}

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

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  padding: 0;
}

:focus-visible {
  outline: 2px solid var(--bls-gold-500);
  outline-offset: 3px;
}

.bls-overline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--step-overline);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-accent);
}

.bls-h1 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--step-h1);
  line-height: 1.15;
  text-wrap: balance;
}

.bls-h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--step-h2);
  line-height: 1.25;
  text-wrap: balance;
}

.bls-h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--step-h3);
  line-height: 1.3;
}

.bls-lede {
  font-size: var(--step-body);
  max-width: 62ch;
}

.bls-arabic {
  font-family: "Noto Naskh Arabic", var(--font-serif);
  direction: rtl;
  unicode-bidi: isolate;
}

@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;
  }
}
