@import url('https://fonts.googleapis.com/css2?family=El+Messiri:wght@400..700&display=swap');

/* ==========================================================
   ebmnt1 — Base: layout tokens, reset, body, main, section shell
   Breakpoints (mobile first): 320 / 375 / 425 / 768 / 1024 / 1440
   ========================================================== */
:root {
  --ebmnt1-font-family-main: "El Messiri", sans-serif;

  --ebmnt1-container-max-width: 75rem;
  --ebmnt1-container-width: calc(100% - 2em);
  --ebmnt1-text-max-width: 42rem;
  --ebmnt1-narrow-max-width: 30rem;
  --ebmnt1-card-max-width: 24rem;

  --ebmnt1-main-gap: 5em;
  --ebmnt1-section-inner-gap: 2em;
  --ebmnt1-scroll-offset: 6rem;

  --ebmnt1-body-text-color: var(--ebmnt1-color-secondary);
  --ebmnt1-body-background-color: var(--ebmnt1-color-helper-white);
  --ebmnt1-body-font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --ebmnt1-body-line-height: 1.8;
  --ebmnt1-selection-background-color: var(--ebmnt1-color-primary);
  --ebmnt1-selection-text-color: var(--ebmnt1-color-helper-white);
}

@media (min-width: 320px) {
  :root { --ebmnt1-main-gap: 5em; }
}

@media (min-width: 375px) {
  :root { --ebmnt1-section-inner-gap: 2.25em; }
}

@media (min-width: 425px) {
  :root { --ebmnt1-section-inner-gap: 2.5em; }
}

@media (min-width: 768px) {
  :root { --ebmnt1-scroll-offset: 5rem; }
}

@media (min-width: 1024px) {
  :root { --ebmnt1-container-max-width: 78rem; }
}

@media (min-width: 1440px) {
  :root { --ebmnt1-container-max-width: 84rem; }
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--ebmnt1-scroll-offset);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "El Messiri", sans-serif;
  font-size: var(--ebmnt1-body-font-size);
  line-height: var(--ebmnt1-body-line-height);
  color: var(--ebmnt1-body-text-color);
  background-color: var(--ebmnt1-body-background-color);
  overflow-x: hidden;
}

body.ebmnt1-is-locked {
  overflow: hidden;
}

::selection {
  background-color: var(--ebmnt1-selection-background-color);
  color: var(--ebmnt1-selection-text-color);
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

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

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

main {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--ebmnt1-main-gap);
}

/* ---------- section shell ---------- */
.ebmnt1-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  scroll-margin-top: var(--ebmnt1-scroll-offset);
}

.ebmnt1-section__inner {
  width: var(--ebmnt1-container-width);
  max-width: var(--ebmnt1-container-max-width);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--ebmnt1-section-inner-gap);
  text-align: center;
}

.ebmnt1-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

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