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

:root {
  --red: #da4d4a;
  --red-deep: #d44946;
  --white: #ffffff;
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

html,
body {
  min-height: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font);
  background: var(--red);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--red);
  padding-bottom: clamp(72px, 10vh, 140px);
}

.hero__atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__watermark {
  position: absolute;
  opacity: 0.55;
  user-select: none;
}

.hero__watermark--left {
  width: min(92vw, 920px);
  left: -28%;
  top: 8%;
  transform: rotate(-18deg);
}

.hero__watermark--right {
  width: min(80vw, 780px);
  right: -22%;
  bottom: -18%;
  transform: rotate(28deg);
}

.hero__content {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  width: min(920px, calc(100% - 48px));
  margin-inline: auto;
  text-align: center;
  padding-top: clamp(48px, 9vh, 96px);
  padding-bottom: clamp(48px, 7vh, 80px);
}

.hero__kicker {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.hero__title {
  margin-top: 18px;
  font-size: clamp(32px, 4.4vw, 56px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.hero__subtitle {
  margin-top: 16px;
  font-size: clamp(16px, 1.7vw, 22px);
  font-weight: 400;
  line-height: 1.4;
}

.hero__offline {
  width: fit-content;
  max-width: 100%;
  margin: 22px auto 0;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid rgb(255 255 255 / 24%);
  border-radius: 999px;
  background: rgb(255 255 255 / 10%);
  font-size: clamp(14px, 1.25vw, 17px);
  font-weight: 500;
  line-height: 1.4;
  backdrop-filter: blur(8px);
}

.hero__offline-icon {
  flex: 0 0 auto;
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--white);
  color: var(--red-deep);
  font-size: 13px;
  font-weight: 700;
}

.hero__cta {
  margin-top: 26px;
  font-size: clamp(15px, 1.35vw, 18px);
  font-weight: 700;
  line-height: 1.35;
}

.hero__stores {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 13px;
}

.store-badge {
  display: inline-flex;
  height: 40px;
  border-radius: 7px;
  transition: transform 0.25s var(--ease-out), opacity 0.2s ease;
}

.store-badge img {
  height: 100%;
  width: auto;
  display: block;
}

.store-badge:hover {
  transform: translateY(-3px) scale(1.02);
  opacity: 0.94;
}

.store-badge:active {
  transform: translateY(0) scale(0.98);
}

.store-badge:focus-visible {
  outline: 3px solid rgb(255 255 255 / 72%);
  outline-offset: 4px;
}

.hero__devices {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  pointer-events: none;
}

.hero__phones {
  display: block;
  width: min(380px, 34vw);
  height: auto;
}

.hero__phones--mobile {
  display: none;
}

@media (prefers-reduced-motion: no-preference) {
  .hero__kicker,
  .hero__title,
  .hero__subtitle,
  .hero__offline,
  .hero__cta,
  .hero__stores {
    animation: hero-reveal 0.7s var(--ease-out) both;
  }

  .hero__kicker {
    animation-delay: 0.05s;
  }

  .hero__title {
    animation-delay: 0.12s;
  }

  .hero__subtitle {
    animation-delay: 0.2s;
  }

  .hero__offline {
    animation-delay: 0.28s;
  }

  .hero__cta {
    animation-delay: 0.36s;
  }

  .hero__stores {
    animation-delay: 0.43s;
  }

  .hero__devices {
    animation: devices-reveal 0.9s 0.48s var(--ease-out) both;
  }

  .hero__watermark--left {
    animation: watermark-left 12s ease-in-out infinite alternate;
  }

  .hero__watermark--right {
    animation: watermark-right 14s 0.8s ease-in-out infinite alternate;
  }
}

@keyframes hero-reveal {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes devices-reveal {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes watermark-left {
  from {
    transform: translate3d(0, 0, 0) rotate(-18deg);
  }

  to {
    transform: translate3d(2%, -2%, 0) rotate(-15deg);
  }
}

@keyframes watermark-right {
  from {
    transform: translate3d(0, 0, 0) rotate(28deg);
  }

  to {
    transform: translate3d(-2%, 2%, 0) rotate(31deg);
  }
}

@media (max-width: 1279px) {
  .hero {
    padding-bottom: clamp(64px, 10vh, 120px);
  }

  .hero__content {
    width: min(560px, calc(100% - 40px));
    padding-top: clamp(36px, 7vh, 64px);
    padding-bottom: clamp(36px, 5vh, 56px);
  }

  .hero__kicker {
    font-size: 15px;
  }

  .hero__title {
    margin-top: 14px;
    font-size: clamp(28px, 8vw, 40px);
  }

  .hero__subtitle {
    font-size: clamp(15px, 4vw, 18px);
  }

  .hero__offline {
    margin-top: 18px;
  }

  .hero__cta {
    margin-top: 22px;
  }

  .hero__stores {
    margin-top: 12px;
    gap: 10px;
  }

  .store-badge {
    height: 36px;
  }

  .hero__phones--desktop {
    display: none;
  }

  .hero__phones--mobile {
    display: block;
    width: min(210px, 44%);
  }

  .hero__watermark--left {
    width: 140vw;
    left: -70%;
    top: -8%;
  }

  .hero__watermark--right {
    width: 110vw;
    right: -48%;
    bottom: -10%;
  }
}

@media (min-width: 768px) and (max-width: 1279px) and (orientation: landscape) {
  .hero {
    padding-bottom: 56px;
  }

  .hero__content {
    width: min(760px, calc(100% - 64px));
    padding-top: clamp(32px, 6vh, 48px);
    padding-bottom: clamp(28px, 5vh, 40px);
  }

  .hero__title {
    font-size: clamp(36px, 4.5vw, 46px);
  }

  .hero__subtitle {
    font-size: 18px;
  }

  .hero__phones--mobile {
    width: min(210px, 22vw);
  }
}

@media (max-width: 480px) {
  .hero__content {
    width: calc(100% - 32px);
    padding-top: 32px;
    padding-bottom: 34px;
  }

  .hero__title {
    font-size: clamp(28px, 9vw, 36px);
  }

  .hero__offline {
    padding: 9px 12px;
    font-size: 14px;
  }

  .hero__cta {
    font-size: 15px;
  }

  .hero__stores {
    gap: 8px;
  }

  .store-badge {
    height: 34px;
  }
}

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