:root {
  --bg: #fff8f2;
  --bg-deep: #281323;
  --ink: #2f1726;
  --muted: #7b6571;
  --cream: #fffaf4;
  --rose: #ff6f91;
  --rose-deep: #c73868;
  --peach: #ffb199;
  --gold: #f7c873;
  --plum: #6a2b6f;
  --glass: rgba(255, 255, 255, 0.68);
  --line: rgba(92, 42, 71, 0.14);
  --shadow: 0 28px 90px rgba(91, 37, 62, 0.18);
  --soft-shadow: 0 18px 50px rgba(112, 55, 80, 0.13);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --container: min(1120px, calc(100% - 40px));
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 12%, rgba(255, 178, 153, 0.72), transparent 32rem),
    radial-gradient(circle at 84% 6%, rgba(255, 111, 145, 0.42), transparent 28rem),
    radial-gradient(circle at 50% 72%, rgba(247, 200, 115, 0.48), transparent 34rem),
    linear-gradient(135deg, #fff8f2 0%, #fff0ed 48%, #f8e7f3 100%);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.36;
  background-image:
    linear-gradient(rgba(92, 42, 71, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(92, 42, 71, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, #000, transparent 78%);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(199, 56, 104, 0.9);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 20;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--cream);
  background: var(--ink);
  transform: translateY(-140%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: var(--container);
  margin: 16px auto 0;
  padding: 12px 14px 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  background: rgba(255, 250, 244, 0.72);
  box-shadow: 0 14px 40px rgba(83, 39, 62, 0.12);
  backdrop-filter: blur(22px);
}

.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-size: 1.06rem;
  font-weight: 850;
  letter-spacing: -0.03em;
}

.brand__mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--rose), var(--plum));
  box-shadow: 0 10px 26px rgba(199, 56, 104, 0.34);
}

.nav {
  display: flex;
  gap: 6px;
  align-items: center;
}

.nav a {
  padding: 10px 13px;
  border-radius: 999px;
  color: rgba(47, 23, 38, 0.76);
  font-size: 0.94rem;
  font-weight: 700;
  transition:
    color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.nav a:hover {
  color: var(--ink);
  background: rgba(255, 111, 145, 0.12);
  transform: translateY(-1px);
}

.section {
  width: var(--container);
  margin: 0 auto;
  padding: 92px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(340px, 0.97fr);
  gap: 54px;
  align-items: center;
  min-height: calc(100vh - 84px);
  padding-top: 58px;
}

.eyebrow {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin: 0 0 15px;
  color: var(--rose-deep);
  font-size: 0.79rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 1px;
  content: "";
  background: currentColor;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 0.98;
  letter-spacing: -0.065em;
}

h1 {
  max-width: 770px;
  margin-bottom: 24px;
  font-size: clamp(3.6rem, 8vw, 7.8rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.25rem, 4.9vw, 5rem);
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.hero__lead {
  max-width: 620px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.45vw, 1.24rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-bottom: 42px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border: 0;
  border-radius: 999px;
  font-weight: 850;
  letter-spacing: -0.02em;
  transition:
    transform 220ms var(--ease),
    box-shadow 220ms var(--ease),
    background 220ms var(--ease);
}

.button:hover {
  transform: translateY(-3px);
}

.button--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--rose-deep), var(--rose) 52%, #ff9b78);
  box-shadow: 0 18px 34px rgba(199, 56, 104, 0.32);
}

.button--primary:hover {
  box-shadow: 0 24px 46px rgba(199, 56, 104, 0.4);
}

.button--ghost {
  border: 1px solid rgba(199, 56, 104, 0.18);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.54);
}

.button--ghost:hover {
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--soft-shadow);
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0;
}

.hero__stats div {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.45);
  box-shadow: 0 16px 42px rgba(92, 42, 71, 0.08);
}

.hero__stats dt {
  margin-bottom: 5px;
  color: var(--rose-deep);
  font-size: 1.46rem;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.hero__stats dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero__visual {
  position: relative;
  min-height: 620px;
}

.orbit {
  position: absolute;
  border-radius: 999px;
  filter: blur(1px);
  animation: float 7s var(--ease) infinite;
}

.orbit--one {
  top: 38px;
  right: 54px;
  width: 145px;
  height: 145px;
  background: radial-gradient(circle at 34% 32%, rgba(255, 255, 255, 0.94), rgba(255, 111, 145, 0.3) 42%, transparent 72%);
}

.orbit--two {
  right: 10px;
  bottom: 126px;
  width: 96px;
  height: 96px;
  background: radial-gradient(circle at 35% 35%, #fff, rgba(247, 200, 115, 0.42) 45%, transparent 74%);
  animation-delay: -2.4s;
}

.phone-card {
  position: absolute;
  top: 38px;
  left: 50%;
  width: min(390px, 88vw);
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 42px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 246, 241, 0.56)),
    radial-gradient(circle at 18% 8%, rgba(255, 111, 145, 0.22), transparent 46%);
  box-shadow: var(--shadow);
  transform: translateX(-50%) rotate(3deg);
  backdrop-filter: blur(24px);
}

.phone-card::before {
  position: absolute;
  inset: 11px;
  z-index: -1;
  border: 1px solid rgba(92, 42, 71, 0.08);
  border-radius: 33px;
  content: "";
}

.phone-card__top {
  display: flex;
  justify-content: space-between;
  padding: 10px 12px 16px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.signal {
  color: var(--rose-deep);
}

.match-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  min-height: 260px;
  padding: 22px;
  border-radius: 32px;
}

.match-card--main {
  align-content: end;
  background:
    linear-gradient(to top, rgba(47, 23, 38, 0.84), transparent 64%),
    radial-gradient(circle at 72% 18%, rgba(255, 255, 255, 0.72), transparent 17%),
    linear-gradient(145deg, #ff8aa8, #ffd0a6 52%, #9a5ba0);
  color: #fff;
  box-shadow: inset 0 -90px 90px rgba(47, 23, 38, 0.32);
}

.match-card h2 {
  margin: 0 0 2px;
  font-size: 1.8rem;
  letter-spacing: -0.05em;
}

.match-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.avatar {
  display: grid;
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.74);
  border-radius: 20px;
  color: #fff;
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(47, 23, 38, 0.18);
}

.avatar--rose {
  background: linear-gradient(135deg, #ff7aa2, #be396e);
}

.avatar--gold {
  background: linear-gradient(135deg, #f7c873, #e88d60);
}

.avatar--plum {
  background: linear-gradient(135deg, #a464a9, #5b2361);
}

.tag {
  grid-column: 1 / -1;
  width: fit-content;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  font-size: 0.86rem;
  font-weight: 800;
}

.chat-bubble {
  width: fit-content;
  max-width: 82%;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 18px;
  font-size: 0.95rem;
  font-weight: 720;
}

.chat-bubble--left {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
}

.chat-bubble--right {
  margin-left: auto;
  color: #fff;
  background: linear-gradient(135deg, var(--rose-deep), var(--rose));
}

.mood-row {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}

.mood-row span {
  flex: 1;
  padding: 10px;
  border-radius: 16px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.62);
  font-size: 0.85rem;
  font-weight: 850;
  text-align: center;
}

.floating-card {
  position: absolute;
  display: flex;
  gap: 12px;
  align-items: center;
  max-width: 270px;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.67);
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(18px);
  animation: float 8s var(--ease) infinite;
}

.floating-card strong,
.floating-card span {
  display: block;
}

.floating-card strong {
  line-height: 1.1;
}

.floating-card span {
  color: var(--muted);
  font-size: 0.86rem;
}

.floating-card--first {
  top: 70px;
  left: 0;
  transform: rotate(-8deg);
}

.floating-card--second {
  right: 0;
  bottom: 90px;
  transform: rotate(7deg);
  animation-delay: -2s;
}

.section__heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.section__heading--center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section__heading--center .eyebrow {
  justify-content: center;
}

.feature-grid,
.profile-grid,
.review-grid,
.steps {
  display: grid;
  gap: 18px;
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature-card,
.step-card,
.review-card {
  border: 1px solid rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.54);
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(18px);
}

.feature-card {
  min-height: 278px;
  padding: 28px;
  border-radius: var(--radius-lg);
  transition:
    transform 240ms var(--ease),
    box-shadow 240ms var(--ease),
    background 240ms var(--ease);
}

.feature-card:hover {
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow);
  transform: translateY(-7px);
}

.feature-card p,
.step-card p,
.profile-card p,
.safety p,
.signup p,
.review-card blockquote {
  color: var(--muted);
}

.feature-card__icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 34px;
  place-items: center;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--rose-deep), var(--rose), var(--peach));
  box-shadow: 0 14px 30px rgba(199, 56, 104, 0.26);
  font-size: 1.35rem;
}

.how {
  position: relative;
}

.steps {
  position: relative;
  grid-template-columns: repeat(3, 1fr);
}

.steps::before {
  position: absolute;
  top: 50%;
  right: 12%;
  left: 12%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(199, 56, 104, 0.32), transparent);
}

.step-card {
  position: relative;
  z-index: 1;
  padding: 28px;
  border-radius: var(--radius-lg);
}

.step-card span {
  display: inline-grid;
  width: 50px;
  height: 50px;
  margin-bottom: 32px;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: var(--ink);
  font-size: 0.86rem;
  font-weight: 900;
}

.profile-grid {
  grid-template-columns: 1.04fr 0.96fr 1.04fr;
  align-items: stretch;
}

.profile-card {
  position: relative;
  min-height: 430px;
  padding: 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 34px;
  color: #fff;
  box-shadow: var(--shadow);
}

.profile-card::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(to top, rgba(47, 23, 38, 0.88), rgba(47, 23, 38, 0.12) 65%);
}

.profile-card::after {
  position: absolute;
  top: 28px;
  right: 24px;
  width: 116px;
  height: 116px;
  border-radius: 50%;
  content: "";
  background: rgba(255, 255, 255, 0.24);
  filter: blur(2px);
}

.profile-card > * {
  position: relative;
  z-index: 1;
}

.profile-card--rose {
  background:
    radial-gradient(circle at 72% 20%, rgba(255, 255, 255, 0.58), transparent 18%),
    linear-gradient(145deg, #ff789b, #ce3d73 52%, #5e285f);
}

.profile-card--gold {
  margin-top: 48px;
  background:
    radial-gradient(circle at 72% 20%, rgba(255, 255, 255, 0.58), transparent 18%),
    linear-gradient(145deg, #ffd889, #e59065 48%, #6a2b6f);
}

.profile-card--plum {
  background:
    radial-gradient(circle at 72% 20%, rgba(255, 255, 255, 0.58), transparent 18%),
    linear-gradient(145deg, #b576b9, #7a337e 48%, #35162e);
}

.profile-card__avatar {
  display: grid;
  width: 78px;
  height: 78px;
  margin-bottom: 190px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.64);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.2);
  font-size: 2rem;
  font-weight: 900;
  backdrop-filter: blur(12px);
}

.profile-card__meta {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
  font-weight: 820;
}

.profile-card h3 {
  color: #fff;
}

.profile-card p {
  color: rgba(255, 255, 255, 0.78);
}

.safety__panel,
.signup {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 36px;
  align-items: center;
  padding: 42px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 6% 12%, rgba(255, 111, 145, 0.18), transparent 32%),
    rgba(255, 255, 255, 0.55);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.safety-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.safety-list li {
  position: relative;
  padding: 17px 18px 17px 50px;
  border: 1px solid rgba(199, 56, 104, 0.14);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--ink);
  font-weight: 760;
}

.safety-list li::before {
  position: absolute;
  top: 17px;
  left: 18px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: #fff;
  content: "✓";
  background: linear-gradient(135deg, var(--rose-deep), var(--rose));
  font-size: 0.82rem;
  font-weight: 900;
  text-align: center;
  line-height: 22px;
}

.review-grid {
  grid-template-columns: repeat(2, 1fr);
}

.review-card {
  margin: 0;
  padding: 30px;
  border-radius: var(--radius-lg);
}

.review-card blockquote {
  margin: 0 0 22px;
  font-size: clamp(1.08rem, 1.6vw, 1.34rem);
}

.review-card figcaption {
  color: var(--ink);
  font-weight: 900;
}

.signup {
  margin-bottom: 76px;
}

.signup-form {
  display: grid;
  gap: 15px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--soft-shadow);
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field label {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 850;
}

.form-field input,
.form-field select {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(92, 42, 71, 0.16);
  border-radius: 16px;
  padding: 0 15px;
  color: var(--ink);
  background: rgba(255, 250, 244, 0.72);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.form-field input::placeholder {
  color: rgba(123, 101, 113, 0.68);
}

.form-field input:hover,
.form-field select:hover,
.form-field input:focus,
.form-field select:focus {
  border-color: rgba(199, 56, 104, 0.46);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 111, 145, 0.11);
}

.signup-form__button {
  width: 100%;
  margin-top: 4px;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--rose-deep);
  font-weight: 800;
}

.form-status.is-success {
  color: #2e7552;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: var(--container);
  margin: 0 auto;
  padding: 24px 0 34px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  font-weight: 850;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 720ms var(--ease),
    transform 720ms var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes float {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -16px;
  }
}

@media (max-width: 980px) {
  :root {
    --container: min(100% - 28px, 760px);
  }

  .site-header {
    align-items: flex-start;
    border-radius: 28px;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .nav a {
    padding: 8px 10px;
    font-size: 0.86rem;
  }

  .hero,
  .safety__panel,
  .signup {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 24px;
    min-height: auto;
  }

  .hero__visual {
    min-height: 590px;
  }

  .feature-grid,
  .steps,
  .profile-grid,
  .review-grid {
    grid-template-columns: 1fr;
  }

  .steps::before {
    display: none;
  }

  .profile-card,
  .profile-card--gold {
    min-height: 360px;
    margin-top: 0;
  }

  .profile-card__avatar {
    margin-bottom: 130px;
  }
}

@media (max-width: 640px) {
  .site-header {
    position: relative;
    top: auto;
    display: grid;
    gap: 12px;
  }

  .nav {
    justify-content: flex-start;
  }

  .section {
    padding: 62px 0;
  }

  .hero {
    padding-top: 44px;
  }

  .hero__actions,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero__stats {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    min-height: 530px;
  }

  .phone-card {
    top: 28px;
    transform: translateX(-50%) rotate(0deg);
  }

  .floating-card {
    position: relative;
    right: auto;
    left: auto;
    max-width: none;
    margin: 0 auto;
    transform: none;
  }

  .floating-card--first {
    top: 380px;
    width: min(330px, 92%);
  }

  .floating-card--second {
    bottom: auto;
    width: min(330px, 92%);
    margin-top: 392px;
  }

  .orbit {
    display: none;
  }

  .feature-card,
  .step-card,
  .review-card,
  .safety__panel,
  .signup {
    padding: 22px;
    border-radius: 24px;
  }

  .signup-form {
    padding: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
