@charset "UTF-8";

:root {
  --hero-image: url("./assets/bgtaro.png");
  --gold: #e7b874;
  --button-gold: #e8ba7b;
  --warm-white: #f7f4ee;
  --body-white: rgba(229, 223, 211, 0.9);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  background: #080604;
}

body {
  min-height: 100%;
  margin: 0;
  background: #080604;
  font-family: "Cormorant Garamond", Georgia, serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  max-width: 430px;
  min-height: 100vh;
  min-height: 100svh;
  margin-inline: auto;
  padding: calc(24px + env(safe-area-inset-top)) 24px
    calc(24px + env(safe-area-inset-bottom));
  overflow: hidden;
  color: var(--warm-white);
  background-color: #100b07;
  background-image:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.8) 0%,
      rgba(0, 0, 0, 0.25) 50%,
      rgba(0, 0, 0, 0.85) 100%
    ),
    var(--hero-image);
  background-position: center;
  background-size: cover;
}

.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 342px;
  padding-top: clamp(48px, 10.67vh, 90px);
}

.hero__title {
  margin: 0;
  color: var(--warm-white);
  font-size: 30px;
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.hero__title span {
  color: var(--gold);
  font-weight: 600;
}

.hero__description {
  margin: 14px 0 0;
  color: var(--body-white);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.27;
  letter-spacing: 0.005em;
}

.benefits {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin: 14px 0 0;
  padding: 6px 0 0;
  list-style: none;
}

.benefits__item {
  display: flex;
  align-items: center;
  min-height: 32px;
  gap: 12px;
  color: #f4efe6;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.015em;
}

.benefits__icon-shell {
  display: grid;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(217, 168, 100, 0.6);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(1px);
}

.benefits__icon {
  display: block;
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.hero__bottom {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding-bottom: 28px;
}

.cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 54px;
  gap: 8px;
  border-radius: 999px;
  background: var(--button-gold);
  box-shadow: 0 8px 12px rgba(232, 186, 123, 0.28);
  color: #19140e;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.025em;
  text-decoration: none;
  transition: transform 160ms ease, filter 160ms ease;
  -webkit-tap-highlight-color: transparent;
}

.cta:active {
  transform: translateY(1px) scale(0.995);
  filter: brightness(0.96);
}

.cta:focus-visible {
  outline: 2px solid #fff4df;
  outline-offset: 3px;
}

.cta__icon {
  display: block;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.privacy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 14px 0 0;
  color: rgba(229, 223, 211, 0.85);
  font-size: 14px;
  font-weight: 500;
  line-height: 18px;
  letter-spacing: 0.025em;
  text-align: center;
}

.privacy__icon {
  display: block;
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  object-fit: contain;
}

@media (max-width: 359px) {
  .hero {
    padding-right: 20px;
    padding-left: 20px;
  }

  .hero__title {
    font-size: 27px;
  }

  .hero__description,
  .benefits__item {
    font-size: 15px;
  }

  .benefits__item {
    gap: 10px;
    letter-spacing: 0;
  }

  .wide-mobile-only {
    display: none;
  }
}

@media (max-height: 700px) {
  .hero {
    padding-top: calc(18px + env(safe-area-inset-top));
    padding-bottom: calc(18px + env(safe-area-inset-bottom));
  }

  .hero__content {
    padding-top: 18px;
  }

  .hero__title {
    font-size: 27px;
    line-height: 1.1;
  }

  .hero__description,
  .benefits {
    margin-top: 10px;
  }

  .benefits {
    gap: 7px;
    padding-top: 0;
  }

  .privacy {
    margin-top: 9px;
  }

  .hero__bottom {
    padding-bottom: 0;
  }
}

@media (min-width: 431px) {
  body {
    display: grid;
    min-height: 100vh;
    place-items: center;
  }

  .hero {
    min-height: min(844px, 100vh);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta {
    transition: none;
  }
}
