@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("/assets/onest-cyrillic-ext-300-normal.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F,
    U+FE2E-FE2F;
}

@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("/assets/onest-cyrillic-300-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("/assets/onest-latin-ext-300-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("/assets/onest-latin-300-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/montserrat-latin-400-normal.woff2") format("woff2");
}

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

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
}

body {
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  overflow-x: hidden;
  background-color: #edf0f4;
  background-image: url("/assets/eva-landing-desktop-20260810-185350.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

button {
  font: inherit;
}

.landing {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
}

.landing-title {
  position: absolute;
  top: 26%;
  left: 50%;
  margin: 0;
  transform: translate(-50%, -50%);
  color: #8e2029;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(30px, 3vw, 46px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.landing-copy {
  position: absolute;
  top: 79%;
  left: 50%;
  width: min(90vw, 760px);
  margin: 0;
  transform: translateX(-50%);
  color: #8e2029;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(12px, 1.15vw, 17px);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0.01em;
  text-align: center;
  white-space: pre-line;
}

html[dir="rtl"] .landing-copy {
  letter-spacing: 0;
}

html[lang="ru"] [data-i18n] {
  font-family: "Onest", sans-serif;
  font-weight: 300;
}

html[lang="ru"] .landing-copy {
  letter-spacing: 0.04em;
}

.landing-copy--mobile {
  display: none;
}

.landing-more {
  position: absolute;
  top: 89%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 136px;
  height: 40px;
  padding: 0 24px;
  border: 1px solid rgb(142 32 41 / 42%);
  border-radius: 999px;
  transform: translateX(-50%);
  color: #8e2029;
  background: rgb(255 255 255 / 52%);
  box-shadow: 0 5px 18px rgb(31 40 45 / 7%);
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: color 220ms ease, background-color 220ms ease, border-color 220ms ease,
    box-shadow 220ms ease, transform 220ms ease;
}

.landing-more:hover {
  color: #fff;
  border-color: #8e2029;
  background: #8e2029;
  box-shadow: 0 7px 20px rgb(142 32 41 / 16%);
  transform: translateX(-50%) translateY(-1px);
}

.landing-more:focus-visible {
  outline: 2px solid #8e2029;
  outline-offset: 3px;
}

.landing-more:active {
  transform: translateX(-50%) translateY(0);
}

.language-switcher {
  position: fixed;
  top: clamp(16px, 2.2vw, 28px);
  right: clamp(16px, 2.6vw, 36px);
  z-index: 10;
  display: flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgb(142 32 41 / 16%);
  border-radius: 999px;
  background: rgb(255 255 255 / 48%);
  box-shadow: 0 5px 20px rgb(31 40 45 / 7%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.language-switcher button {
  min-width: 34px;
  height: 28px;
  padding: 0 7px;
  border: 0;
  border-radius: 999px;
  color: #667176;
  background: transparent;
  font-family: "Montserrat", sans-serif;
  font-size: 10px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.language-switcher button:hover {
  color: #8e2029;
}

.language-switcher button[aria-pressed="true"] {
  color: #fff;
  background: #8e2029;
  box-shadow: 0 2px 7px rgb(142 32 41 / 18%);
}

.language-switcher button:focus-visible {
  outline: 2px solid #8e2029;
  outline-offset: 2px;
}

.details-body {
  background-color: #edf0f4;
  background-image: url("/assets/eva-details-background-desktop-20260810.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.details-page {
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  padding: clamp(112px, 13vh, 148px) 28px 132px;
}

.details-article {
  display: none;
  width: min(100%, 720px);
  margin: 0 auto;
  color: #374146;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.9;
  text-wrap: pretty;
}

html[lang="en"] .details-article[data-content-language="en"],
html[lang="ar"] .details-article[data-content-language="ar"],
html[lang="ru"] .details-article[data-content-language="ru"] {
  display: block;
}

html[lang="ru"] .details-article {
  font-family: "Onest", sans-serif;
  font-weight: 300;
}

html[lang="ar"] .details-article {
  font-family: Tahoma, Arial, sans-serif;
  line-height: 2;
  text-align: right;
}

.details-title {
  max-width: 680px;
  margin: 0 0 46px;
  color: #8e2029;
  font-family: inherit;
  font-size: clamp(30px, 3.2vw, 46px);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: 0.005em;
}

.details-section-title {
  margin: 64px 0 24px;
  color: #8e2029;
  font-family: inherit;
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 400;
  line-height: 1.35;
}

.details-article p {
  margin: 0 0 22px;
}

.details-article strong {
  color: #8e2029;
  font-weight: 500;
}

.details-metrics {
  display: grid;
  gap: 12px;
  margin: 0 0 44px;
  padding: 0;
  list-style: none;
}

.details-metrics li {
  line-height: 1.65;
}

.details-closing {
  margin-top: 42px;
  color: #8e2029;
  font-size: 1.08em;
}

.details-closing + .details-closing {
  margin-top: -8px;
}

.details-launch {
  position: fixed;
  bottom: max(22px, env(safe-area-inset-bottom));
  left: 50%;
  z-index: 12;
  display: inline-flex;
  min-width: 112px;
  height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgb(142 32 41 / 42%);
  border-radius: 999px;
  transform: translateX(-50%);
  color: #8e2029;
  background: rgb(255 255 255 / 68%);
  box-shadow: 0 7px 24px rgb(31 40 45 / 10%);
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: color 220ms ease, background-color 220ms ease, border-color 220ms ease,
    box-shadow 220ms ease, transform 220ms ease;
}

.details-launch:hover {
  color: #fff;
  border-color: #8e2029;
  background: #8e2029;
  box-shadow: 0 9px 26px rgb(142 32 41 / 18%);
  transform: translateX(-50%) translateY(-1px);
}

.details-launch:focus-visible {
  outline: 2px solid #8e2029;
  outline-offset: 3px;
}

.details-launch:active {
  transform: translateX(-50%) translateY(0);
}

.details-back {
  position: fixed;
  top: clamp(16px, 2.2vw, 28px);
  left: clamp(16px, 2.6vw, 36px);
  z-index: 10;
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 0;
  color: #8e2029;
  background: transparent;
  box-shadow: none;
  transition: color 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.details-back svg {
  width: 22px;
  height: 22px;
}

.details-back:hover {
  color: #6f151d;
  transform: translateX(-1px);
}

.details-back:active {
  opacity: 0.65;
}

.details-back:focus-visible {
  outline: 2px solid #8e2029;
  outline-offset: 3px;
}

@media (min-width: 1025px) {
  .landing-title {
    top: 21%;
  }

  .landing-copy {
    top: 83.5%;
    font-size: clamp(11px, 0.9vw, 14px);
  }

  .landing-more {
    top: 91%;
    min-width: 112px;
    padding-inline: 16px;
  }
}

/* Phones and portrait tablets use the dedicated vertical composition. */
@media (max-width: 1024px) and (orientation: portrait) {
  body {
    background-image: url("/assets/eva-landing-mobile-20260810-185338.png");
  }

  body.details-body {
    background-image: url("/assets/eva-details-background-mobile-20260810.png");
  }

  .landing-title {
    top: 29%;
    font-size: clamp(26px, 6vw, 36px);
  }

  .landing-copy {
    top: 68%;
    width: calc(100vw - 40px);
    font-size: clamp(11.5px, 3vw, 14px);
    line-height: 1.6;
  }

  .landing-more {
    top: 81%;
  }
}

@media (max-width: 520px) {
  .landing-copy--desktop {
    display: none;
  }

  .landing-copy--mobile {
    display: block;
  }

  .language-switcher {
    top: 14px;
    right: 14px;
  }

  .language-switcher button {
    min-width: 32px;
    height: 27px;
    padding-inline: 6px;
    font-size: 9.5px;
  }

  .landing-more {
    position: fixed;
    top: auto;
    bottom: max(18px, env(safe-area-inset-bottom));
    z-index: 12;
    min-width: 118px;
    height: 40px;
    padding-inline: 20px;
    background: rgb(255 255 255 / 68%);
    box-shadow: 0 7px 24px rgb(31 40 45 / 10%);
    font-size: 11px;
  }

  .details-page {
    padding: 92px 20px 118px;
  }

  .details-launch {
    bottom: max(18px, env(safe-area-inset-bottom));
    min-width: 118px;
    height: 40px;
    padding-inline: 20px;
    font-size: 11px;
  }

  .details-article {
    font-size: 15px;
    line-height: 1.82;
  }

  html[lang="ar"] .details-article {
    line-height: 1.95;
  }

  .details-title {
    margin-bottom: 34px;
    font-size: 27px;
    line-height: 1.3;
  }

  .details-section-title {
    margin-top: 50px;
    margin-bottom: 20px;
    font-size: 22px;
  }

  .details-article p {
    margin-bottom: 19px;
  }

  .details-metrics {
    gap: 10px;
    margin-bottom: 38px;
  }

  .details-back {
    top: 14px;
    left: 14px;
    width: 38px;
    height: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .language-switcher button,
  .landing-more,
  .details-launch,
  .details-back {
    transition: none;
  }
}
