/* ============================================================
   وقفی نو DESIGN SYSTEM — RESET
   Extracted verbatim from the approved homepage template.
   ============================================================ */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1.25rem);
  scrollbar-color: var(--brand-600) var(--surface-soft);
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* No sideways scrolling: decorative pieces (hero blobs, partner marquee, off-canvas menus, reveal
   animations, wide tables on small screens…) must never make the page wider than the screen.
   "clip" (not "hidden") keeps position: sticky working for the header. */
html { overflow-x: hidden; }
@supports (overflow-x: clip) {
  html, body { overflow-x: clip; }
}
body { max-width: 100%; }
main, section, header, footer { max-width: 100%; }
.container { min-width: 0; }

main { flex: 1; }

img, svg { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }

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

.skip-link {
  position: absolute;
  top: -3.25rem;
  inset-inline-start: 1rem;
  background: var(--brand-700);
  color: #fff;
  padding: .55rem 1.1rem;
  border-radius: 0 0 10px 10px;
  font-size: .85rem;
  z-index: 1100;
  transition: top .25s ease;
}
.skip-link:focus { top: 0; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--surface-soft); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--brand-500), var(--brand-700)); border-radius: 8px; }

::selection { background: var(--brand-600); color: #fff; }