/* ============================================================
   DARESNI — BASE RESET & GLOBAL
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Tajawal:wght@300;400;500;700&display=swap');

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

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

body {
  font-family: var(--font);
  font-size: var(--tx-base);
  font-weight: var(--w4);
  line-height: var(--lh-base);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font);
  font-weight: var(--w7);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  color: var(--navy);
}
h1 { font-size: var(--tx-4xl); }
h2 { font-size: var(--tx-3xl); }
h3 { font-size: var(--tx-2xl); }
h4 { font-size: var(--tx-xl); }
h5 { font-size: var(--tx-lg); font-weight: var(--w6); }
h6 { font-size: var(--tx-base); font-weight: var(--w6); }

p { color: var(--text-sec); line-height: var(--lh-base); }

a {
  color: var(--maroon);
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}
a:hover { color: var(--maroon-dark); }
a:focus-visible {
  outline: 2px solid var(--maroon);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

img, video, svg { display: block; max-width: 100%; }
ul, ol { list-style: none; }

button, input, select, textarea {
  font-family: var(--font);
  font-size: var(--tx-base);
}
button { cursor: pointer; border: none; background: none; }
button:focus-visible {
  outline: 2px solid var(--maroon);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

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

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