:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --text: #46376d;
  --text-soft: #4d4563;
  --line: #d8d3df;
  --primary: #f85a6a;
  --primary-hover: #eb4d61;
  --footer: #2f214d;
  --shadow: 0 12px 28px rgba(63, 51, 103, 0.07);
  --radius: 22px;
  --page-width: 1160px;
  --content-width: 1040px;
  --section-space: clamp(52px, 6vw, 96px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text-soft);
  line-height: 1.55;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-wrap {
  width: min(calc(100% - 44px), var(--page-width));
  margin: 0 auto;
}

.content-wrap {
  width: min(100%, var(--content-width));
  margin: 0 auto;
}

.section {
  padding: var(--section-space) 0;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  text-align: center;
}

.hero__inner {
  width: min(100%, 900px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.hero__logo {
  width: 166px;
  height: 143px;
  margin-bottom: 4px;
}

.hero__title {
  margin: 10px 0 0;
  color: var(--text);
  font-size: clamp(2.2rem, 5.6vw, 4.7rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: 0.01em;
}

.hero__text {
  max-width: 720px;
  margin: 0;
  color: #50476d;
  font-size: clamp(1rem, 1.4vw, 1.3rem);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  min-height: 52px;
  padding: 12px 28px;
  border-radius: 999px;
  border: 0;
  background: var(--primary);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 10px 22px rgba(248, 90, 106, 0.22);
}

.btn:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(248, 90, 106, 0.28);
}

.section-title {
  margin: 0;
  color: var(--text);
  font-size: clamp(2rem, 4vw, 3.7rem);
  font-weight: 300;
  line-height: 1.1;
}

.section-subtitle {
  margin: 14px auto 0;
  max-width: 620px;
  color: #4e4668;
  font-size: clamp(0.98rem, 1.4vw, 1.15rem);
  text-align: center;
}

.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 470px) minmax(0, 490px);
  justify-content: space-between;
  gap: 36px;
  align-items: center;
}

.about__content {
  max-width: 470px;
  justify-self: start;
}

.about__text {
  margin-top: 28px;
  font-size: clamp(0.98rem, 1.3vw, 1.08rem);
  color: #41385f;
}

.about__text p {
  margin: 0 0 24px;
}

.about__media {
  justify-self: end;
  display: flex;
  justify-content: center !important;
  align-items: center !important;
  width: 100%;
}

.about__image {
  width: min(100%, 500px);
  object-fit: contain;
}

.apps {
  text-align: center;
}

.apps__grid {
  margin-top: 38px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 26px;
  text-align: left;
}

.app-card {
  display: grid;
  grid-template-columns: 62px 1fr 112px;
  align-items: center;
  gap: 16px;
     min-height: 55px;
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 12px 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.app-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: #cec7da;
  background: rgba(255, 255, 255, 0.72);
}

.app-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  object-fit: cover;
  flex-shrink: 0;
}

.app-card__name {
  margin: 0;
  color: #241c33;
  font-size: 0.86rem;
  line-height: 1.35;
  font-weight: 700;
}

.app-card__store {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.app-card__store:hover {
  transform: scale(1.03);
  opacity: 0.92;
}

.app-card__store img {
  width: 102px;
  height: auto;
}

.contact {
  text-align: center;
}

.contact__email {
  margin-top: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-bottom: 1px solid #b8afcb;
  color: #70678f;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.contact__email:hover {
  color: var(--primary);
  border-color: var(--primary);
}

.footer {
  background: var(--footer);
  color: #fff;
  padding: 24px 0 30px;
  margin-top: 24px;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}

.footer__logo {
  width: 58px;
}

.footer__copy {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
      margin-top: -22px;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 34px;
}

.footer__nav a {
  color: #fff;
  font-size: 0.96rem;
  transition: color 0.2s ease;
}

.footer__nav a:hover {
  color: #ffb5c0;
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
    padding: 56px 0 42px;
  }

  .about__grid,
  .apps__grid {
    grid-template-columns: 1fr;
  }

  .about__content,
  .about__media {
    max-width: 100%;
    justify-self: start;
  }

  .about__media {
    justify-content: flex-start;
  }

  .about__image {
    width: min(100%, 380px);
  }

  .apps__grid {
    gap: 14px;
  }
}

@media (max-width: 980px) {
  .page-wrap {
    width: min(calc(100% - 24px), var(--page-width));
  }

  .section {
    padding: 42px 0;
  }

  .hero {
    padding-top: 24px;
  }

  .hero__inner {
    width: min(100%, 300px);
    gap: 14px;
  }

  .hero__logo {
    width: 88px;
    height: 80px;
  }

  .hero__title {
    font-size: 1.8rem;
  }

  .hero__text {
    font-size: 0.92rem;
  }

  .btn {
    min-width: 148px;
    min-height: 46px;
    font-size: 0.96rem;
    padding: 10px 22px;
  }

  .section-title {
    font-size: 1.75rem;
            text-align: center;
  }

  .section-subtitle {
    max-width: 280px;
    font-size: 0.95rem;
  }

  .about__text {
    margin-top: 20px;
    font-size: 0.92rem;
  }

  .about__text p {
    margin-bottom: 20px;
  }

  .about__image {
    width: min(100%, 260px);
  }

  .app-card {
    grid-template-columns: 44px 1fr 72px;
    min-height: 74px;
    gap: 10px;
    padding: 10px;
    border-radius: 16px;
  }

  .app-card__icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  .app-card__name {
    font-size: 0.74rem;
  }

  .app-card__store img {
    width: 64px;
  }

  .footer__nav {
    gap: 12px 18px;
  }

  .footer__nav a {
    font-size: 0.9rem;
  }
}