/* MultiPromo — reset, a11y, reduced motion */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --font-body: 'Heebo', 'Segoe UI', system-ui, sans-serif;
  --font-display: 'Rubik', 'Heebo', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 4.35rem;
  --demo-h: 2.4rem;
}

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

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

body {
  font-family: var(--font-body);
  line-height: 1.7;
  color: var(--color-text, #1a1a1a);
  background: var(--color-bg, #fafafa);
  direction: rtl;
  text-align: right;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-accent, #2563eb);
  text-decoration: none;
  transition: color 0.3s var(--ease), opacity 0.3s var(--ease);
}

a:hover { opacity: 0.88; }

button, input, textarea, select { font: inherit; color: inherit; }

button { cursor: pointer; border: none; background: none; }

ul, ol { list-style: none; }

:focus-visible {
  outline: 2px solid var(--color-accent, #2563eb);
  outline-offset: 3px;
}

::selection {
  background: var(--color-accent, #b8956a);
  color: var(--color-bg, #fff);
}

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

.skip-link {
  position: absolute;
  top: -100%;
  right: 1rem;
  z-index: 10000;
  padding: 0.75rem 1.25rem;
  background: #111;
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
}

.skip-link:focus { top: 1rem; }

.container {
  width: min(1180px, 92vw);
  margin-inline: auto;
}

.container--wide {
  width: min(1440px, 94vw);
  margin-inline: auto;
}

/* Accessibility runtime classes */
body.a11y-large-text { font-size: 118%; }
body.a11y-readable { font-family: Arial, Helvetica, sans-serif !important; }
body.a11y-readable h1, body.a11y-readable h2, body.a11y-readable h3 {
  font-family: Arial, Helvetica, sans-serif !important;
}
body.a11y-underline-links a { text-decoration: underline !important; text-underline-offset: 3px; }
body.a11y-highlight-headings h1,
body.a11y-highlight-headings h2,
body.a11y-highlight-headings h3 {
  outline: 2px dashed var(--color-accent, #2563eb);
  outline-offset: 4px;
}
body.a11y-letter-space { letter-spacing: 0.06em; }
body.a11y-high-contrast {
  --color-text: #000 !important;
  --color-bg: #fff !important;
  --color-muted: #111 !important;
  --color-heading: #000 !important;
  --color-surface: #f3f3f3 !important;
  filter: contrast(1.12);
}
body.a11y-high-contrast .hero-overlay,
body.a11y-high-contrast .site-hero__overlay { background: rgba(0,0,0,.88) !important; }
body.a11y-stop-motion *,
body.a11y-stop-motion *::before,
body.a11y-stop-motion *::after {
  animation: none !important;
  transition: none !important;
}
