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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: #e8eaed;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: #222;
}

a {
  -webkit-tap-highlight-color: transparent;
}

.site {
  width: 100%;
  min-height: 100vh;
  background: #fff;
}

.wrap {
  width: min(100%, 1200px);
  margin: 0 auto;
  padding-right: clamp(18px, 4vw, 40px);
  padding-left: clamp(18px, 4vw, 40px);
}

.wrap--media {
  width: 100%;
  max-width: none;
  padding-right: 0;
  padding-left: 0;
}

.wrap--footer {
  padding: 8px 16px;
}

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

.hero {
  position: relative;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(125deg, #6ec1ff 0%, #bfe0ff 30%, #ffe8f3 72%, #ffc2df 100%);
}

.hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  width: min(420px, 42vw);
  height: min(480px, 48vw);
  left: clamp(4%, 8vw, 12%);
  top: clamp(72px, 14vw, 120px);
  background: radial-gradient(
    ellipse at center,
    rgba(255, 105, 160, 0.5) 0%,
    rgba(255, 105, 160, 0.2) 42%,
    transparent 70%
  );
  transform: rotate(-14deg);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  padding: 0 0 clamp(28px, 5vw, 56px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  padding: clamp(16px, 2.5vw, 28px) 0 clamp(8px, 1.5vw, 16px);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
}

.nav__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: #e53935;
  flex-shrink: 0;
  overflow: hidden;
}

.nav__logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav__title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.hero__body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 5vw, 80px);
  padding: clamp(12px, 2vw, 28px) 0 clamp(20px, 3vw, 48px);
}

.hero__phone-wrap {
  flex: 0 0 auto;
  width: clamp(220px, 26vw, 340px);
}

.hero__phone {
  display: block;
  width: 100%;
  height: auto;
  border-radius: clamp(22px, 2.5vw, 32px);
}

.hero__copy {
  flex: 1;
  min-width: 0;
  max-width: 560px;
  padding-top: 8px;
}

.hero__headline {
  margin: 0 0 clamp(12px, 1.5vw, 20px);
  color: #6ec1ff;
  font-size: 40px;
  line-height: 1.2;
  font-weight: 700;
}

.hero__lead {
  margin: 0 0 clamp(16px, 2vw, 24px);
  color: #6ec1ff;
  font-size: 16px;
  line-height: 1.65;
  opacity: 0.98;
}

.hero__stores {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 34px;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: min(100%, 238px);
  min-height: 54px;
  padding: 0 32px;
  border-radius: 999px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  background: linear-gradient(180deg, #3aa7ff 0%, #1e88e5 100%);
  box-shadow:
    0 0 15px 0 rgba(0, 150, 255, 0.54),
    0 12px 28px rgba(30, 136, 229, 0.28);
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
  isolation: isolate;
}

.download-btn:hover {
  filter: brightness(1.04);
  transform: translateY(-2px);
  box-shadow:
    0 0 18px 0 rgba(0, 150, 255, 0.62),
    0 14px 30px rgba(30, 136, 229, 0.3);
}

.download-btn:active {
  transform: translateY(1px);
}

.download-btn:focus-visible {
  outline: 3px solid rgba(30, 136, 229, 0.45);
  outline-offset: 4px;
}

.download-btn__icon {
  flex: 0 0 auto;
}

.collage {
  padding: clamp(16px, 3vw, 40px) 0;
  background: #fff;
}

.collage__img,
.banner__art,
.features__strip {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.banner {
  position: relative;
  background: linear-gradient(180deg, #fce4ec 0%, #e3f2fd 100%);
}

.banner__frame {
  position: relative;
  margin: 0 auto;
  line-height: 0;
}

.features {
  padding: clamp(16px, 3vw, 40px) 0 clamp(24px, 4vw, 48px);
}

.footer {
  padding: clamp(28px, 4vw, 40px) 0 clamp(32px, 5vw, 48px);
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, #fff8fb 45%, #fce4ec 100%);
}

.footer__line {
  margin: 0 0 10px;
  color: #333;
  font-size: 14px;
  line-height: 1.5;
}

.footer__line--small {
  margin: 0;
  color: #555;
  font-size: 12px;
  line-height: 1.65;
}

.toast[hidden] {
  display: none;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 30;
  transform: translateX(-50%);
  max-width: min(92vw, 360px);
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(31, 44, 65, 0.94);
  color: #fff;
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
  box-shadow: 0 12px 38px rgba(23, 32, 50, 0.24);
}

@media (max-width: 720px) {
  .nav {
    flex-wrap: wrap;
  }

  .hero__body {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 22px;
  }

  .hero__phone-wrap {
    order: 2;
    width: min(280px, 86vw);
  }

  .hero__copy {
    order: 1;
    max-width: none;
  }

  .nav__title {
    font-size: 16px;
  }

  .hero__headline {
    font-size: 32px;
  }

  .hero__lead {
    font-size: 15px;
  }

  .hero__lead br {
    display: none;
  }

  .hero__stores {
    justify-content: center;
  }
}

@media (max-width: 420px) {
  .hero__headline {
    font-size: 28px;
  }

  .download-btn {
    width: min(100%, 224px);
    min-height: 52px;
    font-size: 17px;
  }
}
