:root {
  --page-background: linear-gradient(95.29deg, #fff3e7 25.79%, #e3d7ff 143.08%);
  --text-primary: #4a1942;
  --headline-gradient:
    linear-gradient(
      171.58deg,
      rgba(147, 124, 160, 0.8) 15.03%,
      rgba(53, 4, 67, 0.8) 46.08%,
      rgba(147, 124, 160, 0.8) 116.86%
    ),
    linear-gradient(90deg, #4a1942 0%, #4a1942 100%);
  --shell-max-width: 1280px;
  --shell-padding: clamp(1.5rem, 6vw, 6.25rem);
  --content-width: 36.5rem;
  --space-sm: 1.25rem;
  --space-md: 2.75rem;
  --space-lg: clamp(2rem, 4vw, 3.4rem);
  --brand-size: clamp(4.5rem, 8vw, 6.8125rem);
  --title-size: clamp(2.75rem, 4.8vw, 3rem);
  --body-size: 1.0625rem;
}

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

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: "Noto Sans", sans-serif;
  font-size: var(--body-size);
  font-weight: 500;
  line-height: 1.35;
  color: var(--text-primary);
  background: var(--page-background);
}

img {
  display: block;
  max-width: 100%;
}

p,
h1 {
  margin: 0;
}

.page {
  min-height: 100vh;
}

.shell {
  width: min(100%, var(--shell-max-width));
  margin: 0 auto;
  padding-inline: var(--shell-padding);
}

.stack-sm > * + * {
  margin-top: var(--space-sm);
}

.stack-md > * + * {
  margin-top: 1.9rem;
}

.stack-lg > * + * {
  margin-top: var(--space-lg);
}

.text-gradient {
  background-image: var(--headline-gradient);
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
}

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(18rem, var(--content-width)) minmax(18rem, 24.75rem);
  justify-content: space-between;
  align-items: start;
  gap: clamp(2rem, 5vw, 4rem);
  padding-top: clamp(4rem, 8vw, 6.25rem);
  overflow: hidden;
}

.hero__content {
  max-width: var(--content-width);
  padding-top: 0.15rem;
}

.brand {
  font-size: var(--brand-size);
  line-height: 0.98;
  letter-spacing: -0.02em;
}

.hero__title {
  font-size: var(--title-size);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.hero__copy {
  max-width: 36.5rem;
  letter-spacing: -0.024em;
}

.store-link {
  display: inline-flex;
  width: fit-content;
  border-radius: 0.8rem;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.store-link:hover,
.store-link:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 0.75rem 1.5rem rgba(74, 25, 66, 0.12);
}

.store-link:focus-visible {
  outline: 0.15rem solid rgba(74, 25, 66, 0.35);
  outline-offset: 0.25rem;
}

.hero__media {
  margin: clamp(6.75rem, 19vw, 10rem) 0 0;
  justify-self: end;
  width: min(100%, 24.75rem);
}

.hero__phone {
  width: 100%;
  height: auto;
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 3.5rem;
    padding-bottom: 4rem;
  }

  .hero__content {
    max-width: 100%;
  }

  .hero__media {
    margin-top: 0.5rem;
    justify-self: center;
    width: min(100%, 21rem);
  }
}

@media (max-width: 640px) {
  :root {
    --shell-padding: 1.5rem;
    --brand-size: clamp(3.75rem, 18vw, 4.75rem);
    --title-size: clamp(2.25rem, 11vw, 2.9rem);
  }

  .brand {
    line-height: 1;
  }

  .hero__title {
    line-height: 1.08;
  }

  .hero__copy {
    letter-spacing: -0.018em;
  }

  .store-link img {
    width: 9.75rem;
    height: auto;
  }
}
