@font-face {
  font-family: "Open Sans";
  src: url("/assets/fonts/OpenSans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: url("/assets/fonts/OpenSans-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #2F3E46;
  --text: #fff;
  --hover: #F8BC2F;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "Open Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 400;
  background: var(--bg);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

a:hover {
  opacity: 0.92;
}

.page {
  max-width: calc(100% - 32px);
  padding: 40px 0 170px;
  width: 100%;
  margin: 0 auto;
}

.topbar {
  margin-bottom: 40px;
}

.brand {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2px;
  opacity: 0.95;
}

.header {
  position: relative;
}

.header h2 {
  margin-bottom: 12px;
  font-size: 28px;
  line-height: 38px;
}

.lead {
  margin: 0;
  font-size: 28px;
  line-height: 38px;
  font-weight: 700;
  max-width: 100%;
}

.header__img {
  margin: 24px auto 16px;
  width: 294px;
}

.header__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.social {
  display: flex;
  gap: 16px;
  position: relative;
  flex-direction: column;
  margin-bottom: 100px;
}

.social__icon img {
  width: 48px;
  height: 48px;
}

.social__text {
  display: flex;
  flex-direction: column;
}

.social__text p {
  font-size: 18px;
  line-height: 28px;
  margin: 0;
}

.social__link {
  font-weight: 700;
  font-size: 18px;
  line-height: 28px;
  transition: color 0.2s ease-in-out;
}

.social__link:hover {
  color: var(--hover);
}

.social__link:hover+.social__arrow {
  opacity: 1;
  z-index: 1;
}

.social__arrow {
  position: absolute;
  left: 120px;
  bottom: -52px;
  width: 70px;
  height: auto;
  pointer-events: none;
  transition: opacity 0.2s ease-in-out;
}

.social__arrow--hover {
  opacity: 0;
  z-index: 1;
}

.promo {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.promo__cover {
  display: inline-block;
  width: 268px;
  margin: 0 auto;
}

.promo__cover img {
  width: 100%;
  height: auto;
  display: block;
}

.promo__cover a{
  cursor: hand;
}

.promo__cta {
  margin: 0 auto;
  position: relative;
}

.promo__cta p {
  display: inline;
  margin: 0;
  font-size: 18px;
  line-height: 28px;
}

.promo__cta a {
  color: var(--accent);
  font-weight: 700;
  transition: color 0.2s ease-in-out;
  font-size: 18px;
  line-height: 28px;
}

.promo__cta a:hover {
  color: var(--hover);
}

.promo__arrow--hover {
  opacity: 0;
  z-index: 1;
}

.promo__cta a:hover + .promo__arrow__container .promo__arrow {
  opacity: 1;
}

.promo__arrow__container {
  position: absolute;
  left: 20%;
  transform: translateX(-50%);
}

.promo__arrow {
  display: block;
  width: 216px;
  position: absolute;
  pointer-events: none;
  bottom: -120px;
  transform: scaleX(-1);
  transition: opacity 0.2s ease-in-out;
}

@media (min-width: 768px) {
  .page {
    padding: 40px 0 220px;
    max-width: 640px;
  }

  .header__img {
    margin: 24px auto 16px;
    width: 413px;
  }

  .social__arrow {
    left: 280px;
  }

  .promo__cover {
    width: 366px;
    height: 437px;
  }
}

@media (min-width: 1366px) {
  .page {
    padding: 40px 0 80px;
    max-width: 1238px;
  }

  .topbar {
    margin-bottom: 80px;
  }

  .header {
    margin-bottom: 48px;
  }

  .header__content {
    max-width: 552px;
    font-size: 40px;
  }

  .header__img {
    position: absolute;
    top: -96px;
    right: 0;
    width: 620px;
    height: 552px;
  }

  .header__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .header__content h2 {
    margin: 0 0 24px;
    font-size: 40px;
    line-height: 48px;
  }

  .header__content .lead {
    font-size: 40px;
    line-height: 48px;
  }

  .social {
    margin-bottom: 120px;
    align-items: center;
    flex-direction: row;
    gap: 24px;
  }

  .social__icon img {
    width: 88px;
    height: 88px;
  }

  .social__text p, .social__text a {
    font-size: 26px;
    line-height: 40px;
  }

  .social__arrow {
    left: 430px;
    bottom: -64px;
    width: 90px;
  }

  .promo {
    gap: 48px;
    flex-direction: row;
    align-items: start;
  }

  .promo__cover {
    width: 505px;
    height: 609px;
    margin: 0;
  }

  .promo__cta {
    margin: 160px 0 0;
    max-width: 585px;
  }

  .promo__cta p, .promo__cta a {
    font-size: 26px;
    line-height: 40px;
  }

  .promo__arrow__container {
    position: static;
    transform: unset;
  }

  .promo__arrow {
    bottom: -140px;
    left: 140px;
    transform: scaleX(1);
  }
}

.hidden {
  clip: rect(0 0 0 0); 
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap; 
  width: 1px;
}