:root {
  --page-max: 1280px;
  --desktop-side: 120px;
  --mobile-side: clamp(18px, 6.4103vw, 25px);
  --mobile-sides: clamp(36px, 12.8206vw, 50px);
  --bg-left: #fecde7;
  --bg-right: #eadfff;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: linear-gradient(90deg, var(--bg-left) 0%, var(--bg-right) 100%);
}

body {
  min-height: 100%;
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
  color: #000;
  background: linear-gradient(90deg, var(--bg-left) 0%, var(--bg-right) 100%);
  overflow-x: hidden;
}

.page {
  width: min(100%, var(--page-max));
  min-height: 100svh;
  margin: 0 auto;
  background: linear-gradient(90deg, var(--bg-left) 0%, var(--bg-right) 100%);
}

.hero {
  position: relative;
  min-height: 760px;
  padding: 0 var(--desktop-side) 112px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  overflow: hidden;
}

.hero__top-flower {
  position: absolute;
  z-index: 1;
  top: -52px;
  right: -18px;
  width: 320px;
  height: auto;
  pointer-events: none;
  animation: flower-parallax 8s ease-in-out infinite alternate;
}

.hero__logo {
  position: relative;
  z-index: 2;
  width: 477px;
  height: auto;
  flex: 0 0 auto;
  display: block;
  transform: translateY(-80px);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 570px;
  flex: 0 0 570px;
  margin-left: -7px;
}

.hero__copy {
  --hero-copy-tilt: -10deg;
  position: relative;
  width: 100%;
  padding: 35px;
  background: transparent;
}

.hero__copy::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: 999px;
  background: #fff;
  transform: translateY(-20px) rotate(var(--hero-copy-tilt)) scale(1.1);
  transform-origin: 50% 50%;
}

.hero__copy h1 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 30px;
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: 0;
}

.hero__mobile-break,
.hero__mobile-line {
  display: none;
}

.hero__copy p {
  position: relative;
  z-index: 1;
  margin: 25px 0 0;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 500;
  letter-spacing: 0;
}

.hero__after {
  margin-top: 25px;
  padding-left: 35px;
}

.hero__after p {
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 300;
  letter-spacing: 0;
}

.hero__button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 25px;
  padding: 14px 31px;
  border: 2px solid transparent;
  border-radius: 999px;
  background:
    linear-gradient(90deg, #ffdfd4 0%, #d4cdfe 100%) border-box,
    linear-gradient(90deg, #ffb7d8 0%, #b8a9ff 100%) padding-box;
  box-shadow: 0 14px 30px rgba(181, 157, 255, 0.26);
  color: #7812a7;
  font-size: 18px;
  line-height: 1;
  font-weight: 300;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: lowercase;
  transition:
    box-shadow 220ms ease,
    filter 220ms ease,
    transform 220ms ease;
}

.hero__button:hover {
  animation: button-glow 1.1s ease-in-out infinite;
}

.hero__cta-row {
  display: flex;
  align-items: center;
  gap: 22px;
}

.hero__legal {
  margin-top: 25px;
  color: #000;
  font-size: 9px;
  line-height: 1.25;
  font-weight: 300;
  letter-spacing: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hero__city {
  margin-top: 25px !important;
  font-weight: 500 !important;
}

.hero__down {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 72px;
  display: block;
  width: 58px;
  height: 58px;
  transform: translateX(-50%);
  transition: transform 200ms ease, filter 200ms ease;
}

.hero__down:hover {
  filter: drop-shadow(0 0 18px rgba(120, 18, 167, 0.34));
  transform: translateX(-50%) translateY(3px);
}

.hero__down img {
  display: block;
  width: 100%;
  height: auto;
}

.matches,
.reputation {
  position: relative;
  min-height: auto;
  padding: 24px var(--desktop-side) 72px;
  display: flex;
  align-items: center;
}

.matches {
  z-index: 1;
}

.reputation {
  z-index: 4;
}

.matches__card,
.reputation__card {
  position: relative;
  width: 100%;
  min-height: 520px;
  padding: 70px;
  border-radius: 35px;
  background: #fff;
  overflow: visible;
}

.matches__text,
.reputation__text {
  position: relative;
  z-index: 2;
  max-width: 470px;
}

.matches__text h2,
.reputation__text h2 {
  margin: 0 0 25px;
  font-size: 30px;
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: 0;
}

.matches__text p,
.reputation__text p {
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 300;
  letter-spacing: 0;
}

.matches__text p + p,
.reputation__text p + p {
  margin-top: 25px;
}

.matches__flower {
  position: absolute;
  z-index: 1;
  top: -96px;
  right: -96px;
  width: 620px;
  height: auto;
  pointer-events: none;
  animation: blue-flower-parallax 9s ease-in-out infinite alternate;
}

.reputation {
  margin-top: -190px;
  padding-bottom: 0;
  align-items: flex-start;
  display: block;
}

.reputation__card {
  min-height: 405px;
  background: #6c397d;
  color: #fff;
}

.reputation__text {
  max-width: 470px;
  margin-left: auto;
}

.reputation__flower {
  position: absolute;
  z-index: 1;
  left: -245px;
  top: auto;
  bottom: -190px;
  width: 760px;
  height: auto;
  pointer-events: none;
  animation: green-flower-parallax 9s ease-in-out infinite alternate;
}

.reputation__down {
  position: relative;
  z-index: 3;
  left: 50%;
  bottom: auto;
  display: block;
  margin: 90px 0 0;
  width: 58px;
  height: 58px;
  transform: translateX(-50%);
  transition: transform 200ms ease, filter 200ms ease;
}

.reputation__down:hover {
  filter: drop-shadow(0 0 18px rgba(120, 18, 167, 0.34));
  transform: translateX(-50%) translateY(3px);
}

.reputation__down img {
  display: block;
  width: 100%;
  height: auto;
}

.finale {
  position: relative;
  min-height: 430px;
  padding: 96px var(--desktop-side) 0;
  overflow: hidden;
}

.finale__text {
  position: relative;
  z-index: 2;
  max-width: 500px;
  margin-left: 0;
}

.finale__text h2 {
  margin: 0 0 25px;
  font-size: 30px;
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: 0;
}

.finale__text p {
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 500;
  letter-spacing: 0;
}

.finale__legal {
  margin-top: 48px !important;
  font-size: 9px !important;
  line-height: 1.35 !important;
  font-weight: 300 !important;
}

.finale__ring {
  position: absolute;
  z-index: 1;
  right: 24px;
  top: -104px;
  bottom: auto;
  width: 810px;
  height: auto;
  pointer-events: none;
  transform-origin: 50% 50%;
  animation: ring-pulse 5.5s ease-in-out infinite;
}

@keyframes flower-parallax {
  from {
    transform: translate3d(0, -38px, 0);
  }

  to {
    transform: translate3d(-12px, -22px, 0);
  }
}

@keyframes blue-flower-parallax {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-16px, 14px, 0);
  }
}

@keyframes green-flower-parallax {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(18px, -10px, 0);
  }
}

@keyframes ring-pulse {
  0%,
  100% {
    opacity: 0.92;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.035);
  }
}

@keyframes button-glow {
  0%,
  100% {
    box-shadow:
      0 14px 30px rgba(181, 157, 255, 0.3),
      0 0 18px rgba(255, 223, 212, 0.45);
    filter: brightness(1);
    transform: scale(1);
  }

  50% {
    box-shadow:
      0 18px 42px rgba(181, 157, 255, 0.48),
      0 0 34px rgba(255, 183, 216, 0.9),
      0 0 54px rgba(212, 205, 254, 0.75);
    filter: brightness(1.08);
    transform: scale(1.035);
  }
}

@keyframes button-soft-pulse {
  0%,
  100% {
    box-shadow: 0 12px 26px rgba(181, 157, 255, 0.24);
    transform: scale(1);
  }

  50% {
    box-shadow: 0 16px 34px rgba(181, 157, 255, 0.36);
    transform: scale(1.018);
  }
}

@media (max-width: 1279px) and (min-width: 701px) {
  .hero {
    padding-bottom: 96px;
    padding-right: clamp(56px, 9.375vw, 120px);
    padding-left: clamp(56px, 9.375vw, 120px);
    gap: clamp(20px, 4vw, 44px);
  }

  .hero__logo {
    width: clamp(340px, 37.2656vw, 477px);
  }

  .hero__content {
    width: auto;
    flex: 1 1 auto;
    margin-left: 0;
  }

  .hero__copy {
    padding: clamp(28px, 2.7344vw, 35px);
    border-radius: clamp(28px, 2.7344vw, 35px);
  }

  .hero__copy h1 {
    font-size: clamp(24px, 2.3438vw, 30px);
  }

  .hero__copy p {
    margin-top: clamp(20px, 1.9531vw, 25px);
    font-size: clamp(15px, 1.4063vw, 18px);
  }

  .hero__after {
    padding-left: clamp(28px, 2.7344vw, 35px);
  }

  .hero__after p,
  .hero__button {
    font-size: clamp(15px, 1.4063vw, 18px);
  }

  .matches,
  .reputation {
    padding-right: clamp(56px, 9.375vw, 120px);
    padding-left: clamp(56px, 9.375vw, 120px);
  }

  .matches__card,
  .reputation__card {
    padding: clamp(44px, 5.4688vw, 70px);
  }

  .matches__text,
  .reputation__text {
    max-width: 46%;
  }

  .matches__text h2,
  .reputation__text h2 {
    font-size: clamp(24px, 2.3438vw, 30px);
  }

  .matches__text p,
  .reputation__text p {
    font-size: clamp(15px, 1.4063vw, 18px);
  }

  .matches__flower {
    width: clamp(430px, 48.4375vw, 620px);
  }

  .reputation__flower {
    left: clamp(-245px, -19.1406vw, -120px);
    width: clamp(590px, 59.375vw, 760px);
  }

  .finale {
    padding-right: clamp(56px, 9.375vw, 120px);
    padding-left: clamp(56px, 9.375vw, 120px);
  }

  .finale__text {
    max-width: 46%;
    margin-left: 0;
  }

  .finale__text h2 {
    font-size: clamp(24px, 2.3438vw, 30px);
  }

  .finale__text p {
    font-size: clamp(15px, 1.4063vw, 18px);
  }

  .finale__ring {
    right: clamp(16px, 1.875vw, 24px);
    width: clamp(645px, 63.2813vw, 810px);
  }
}

@media (max-width: 700px) {
  .page {
    width: 100%;
  }

  .hero {
    min-height: 100svh;
    padding: clamp(44px, 11.2821vw, 64px) var(--mobile-side) 90px;
    display: block;
  }

  .hero__top-flower {
    top: -32px;
    right: 80px;
    width: clamp(131px, 43.5897vw, 170px);
    animation-duration: 7s;
  }

  .hero__logo {
    position: relative;
    z-index: 2;
    width: clamp(192px, 64.1026vw, 250px);
    transform: none;
  }

  .hero__content {
    position: relative;
    z-index: 1;
    width: 340px;
    max-width: calc(100vw - var(--mobile-sides));
    flex: initial;
    margin-top: clamp(-74px, -18.9744vw, -56px);
    margin-left: 0;
    margin-right: var(--mobile-side);
  }

  .hero__copy {
    width: 100%;
    padding: clamp(70px, 17.9487vw, 76px) clamp(20px, 6.1538vw, 24px)
      clamp(30px, 8.9744vw, 35px);
    border-radius: clamp(27px, 8.9744vw, 35px);
    overflow-wrap: break-word;
  }

  .hero__copy::before {
    transform: rotate(var(--hero-copy-tilt));
  }

  .hero__copy h1 {
    font-size: clamp(15.5px, 5.1282vw, 20px);
    line-height: 1.22;
  }

  .hero__desktop-inline,
  .hero__desktop-break {
    display: none;
  }

  .hero__mobile-break {
    display: block;
  }

  .hero__mobile-line {
    display: inline;
  }

  .hero__copy p {
    margin-top: clamp(18px, 6.4103vw, 25px);
    font-size: clamp(11px, 3.5897vw, 14px);
    line-height: 1.42;
  }

  .hero__after {
    margin-top: clamp(18px, 6.4103vw, 25px);
    padding-left: clamp(20px, 6.1538vw, 24px);
  }

  .hero__after p {
    font-size: clamp(11px, 3.5897vw, 14px);
    line-height: 1.42;
  }

  .hero__button {
    margin-top: clamp(18px, 6.4103vw, 25px);
    padding: clamp(11px, 3.5897vw, 14px) clamp(23px, 7.9487vw, 31px);
    font-size: clamp(11px, 3.5897vw, 14px);
    animation: button-soft-pulse 2.4s ease-in-out infinite;
  }

  .hero__cta-row {
    display: block;
  }

  .hero__legal {
    display: block;
    margin-top: clamp(11px, 3.5897vw, 14px);
    font-size: clamp(5.4px, 1.7949vw, 7px);
    line-height: 1.28;
  }

  .hero__city {
    margin-top: clamp(18px, 6.4103vw, 25px) !important;
  }

  .hero__down {
    bottom: 24px;
    width: clamp(45px, 14.8718vw, 58px);
    height: clamp(45px, 14.8718vw, 58px);
  }

  .matches,
  .reputation {
    min-height: 100svh;
    padding: 21px var(--mobile-side) 52px;
    display: block;
  }

  .matches {
    min-height: auto;
    padding-bottom: 120px;
  }

  .matches__card {
    padding-bottom: clamp(58px, 16.4103vw, 64px);
  }

  .matches__card,
  .reputation__card {
    min-height: auto;
    padding: clamp(30px, 8.9744vw, 35px) clamp(20px, 6.1538vw, 24px);
    border-radius: clamp(27px, 8.9744vw, 35px);
  }

  .matches__text,
  .reputation__text {
    max-width: none;
  }

  .matches__text h2,
  .reputation__text h2 {
    margin-bottom: clamp(18px, 6.4103vw, 25px);
    font-size: clamp(15.5px, 5.1282vw, 20px);
    line-height: 1.22;
  }

  .matches__text p,
  .reputation__text p {
    font-size: clamp(11px, 3.5897vw, 14px);
    line-height: 1.42;
  }

  .matches__text p + p,
  .reputation__text p + p {
    margin-top: clamp(18px, 6.4103vw, 25px);
  }

  .matches__flower {
    display: none;
  }

  .reputation {
    min-height: auto;
    margin-top: -144px;
    padding-top: 0;
    padding-bottom: 0;
  }

  .reputation__card {
    min-height: auto;
    padding-bottom: clamp(60px, 16.4103vw, 64px);
    overflow: visible;
  }

  .reputation__flower {
    position: absolute;
    z-index: 1;
    right: clamp(-154px, -39.4872vw, -118px);
    bottom: clamp(-205px, -52.5641vw, -158px);
    left: auto;
    top: auto;
    width: clamp(238px, 76.9231vw, 300px);
    height: auto;
    pointer-events: none;
  }

  .reputation__down {
    position: relative;
    left: auto;
    bottom: auto;
    display: block;
    margin: 45px auto 0;
    width: clamp(45px, 14.8718vw, 58px);
    height: clamp(45px, 14.8718vw, 58px);
    transform: none;
  }

  .finale {
    min-height: auto;
    margin-top: 0;
    padding: 45px var(--mobile-side) 0;
    overflow: hidden;
  }

  .finale__text {
    display: flow-root;
    max-width: none;
    margin-left: 0;
  }

  .finale__text h2 {
    margin-bottom: clamp(18px, 6.4103vw, 25px);
    font-size: clamp(15.5px, 5.1282vw, 20px);
    line-height: 1.22;
  }

  .finale__text p {
    font-size: clamp(11px, 3.5897vw, 14px);
    line-height: 1.42;
  }

  .finale__legal {
    margin-top: clamp(28px, 10.2564vw, 40px) !important;
    font-size: clamp(5.4px, 1.7949vw, 7px) !important;
    line-height: 1.35 !important;
  }

  .finale__ring {
    position: relative;
    right: auto;
    top: auto;
    bottom: auto;
    left: 50%;
    display: block;
    width: clamp(430px, 133.3333vw, 520px);
    margin-top: clamp(-80px, -20.5128vw, -66px);
    margin-bottom: clamp(-160px, -41.0256vw, -132px);
    transform: translateX(-50%);
    animation: mobile-ring-pulse 5.5s ease-in-out infinite;
  }
}

@keyframes mobile-ring-pulse {
  0%,
  100% {
    opacity: 0.92;
    transform: translateX(-50%) scale(1);
  }

  50% {
    opacity: 1;
    transform: translateX(-50%) scale(1.035);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__top-flower,
  .matches__flower,
  .reputation__flower,
  .hero__button,
  .hero__button:hover {
    animation: none;
  }
}
