:root {
  --bg: #f7f5fb;
  --surface: #ffffff;
  --surface-alt: #f1edf9;
  --text: #282333;
  --muted: #6b6478;
  --accent: #7e5bef;
  --accent-dark: #6543d5;
  --border: #e7def6;
  --radius: 18px;
  --shadow: 0 14px 32px rgba(56, 32, 99, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

section[id],
footer[id],
header[id] {
  scroll-margin-top: 88px;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

h1,
h2,
h3 {
  margin: 0 0 0.8rem;
  line-height: 1.2;
}

h1,
h2 {
  font-family: "Playfair Display", serif;
}

p {
  margin: 0 0 1rem;
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(126, 91, 239, 0.4);
  outline-offset: 2px;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.section {
  padding: 4.5rem 0;
}

.alt-bg {
  background: var(--surface-alt);
}

.kicker {
  margin-bottom: 0.7rem;
  color: var(--accent-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.76rem;
}

.section-head {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-head h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(14px);
  background: rgba(247, 245, 251, 0.88);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease;
}

.site-header.scrolled {
  border-color: var(--border);
}

.navbar {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  font-weight: 700;
}

.brand span {
  color: var(--accent);
}

.brand-logo-link {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.brand-logo {
  height: 40px;
  width: auto;
  max-width: min(200px, 52vw);
  object-fit: contain;
  display: block;
}

.brand-logo-link--footer .brand-logo {
  height: 34px;
  max-width: 170px;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
}

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  border-radius: 999px;
  padding: 0.55rem 1rem;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 10px;
  width: 44px;
  height: 40px;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
  padding-top: 5rem;
}

.hero h1 {
  font-size: clamp(2.1rem, 6vw, 3.8rem);
}

.hero-copy p {
  max-width: 60ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.4rem 0 1.1rem;
}

.btn {
  display: inline-block;
  border-radius: 999px;
  padding: 0.75rem 1.2rem;
  font-weight: 700;
  transition: transform 180ms ease, background-color 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-dark);
}

.btn-secondary {
  border: 1px solid var(--border);
  background: var(--surface);
}

.trust-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.trust-points span {
  padding: 0.3rem 0.6rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
}

.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: var(--shadow);
}

.hero-card-title {
  margin-bottom: 1rem;
  font-weight: 700;
}

.match-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.7rem;
  gap: 0.8rem;
}

.match-item h3 {
  margin-bottom: 0.25rem;
  font-size: 1.05rem;
  font-family: "Inter", sans-serif;
}

.match-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.badge {
  color: var(--accent-dark);
  background: #f2eeff;
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.hero-card-link {
  margin-top: 0.4rem;
  display: inline-block;
  color: var(--accent-dark);
  font-weight: 700;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card,
.testimonial,
.profile-card,
.price-card,
.prefs-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem;
}

.card p {
  color: var(--muted);
  margin: 0;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.profile-card p,
.profile-card li {
  color: var(--muted);
}

.profile-card ul {
  margin: 0.8rem 0 0;
  padding-left: 1.1rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  align-items: center;
}

.prefs-card div {
  display: flex;
  justify-content: space-between;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
  gap: 0.6rem;
}

.prefs-card div:last-child {
  border-bottom: 0;
}

.prefs-card span {
  color: var(--muted);
}

.testimonial {
  margin: 0;
  color: var(--muted);
}

.testimonial cite {
  display: block;
  margin-top: 0.9rem;
  color: var(--text);
  font-style: normal;
  font-weight: 700;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
}

.price {
  font-size: 1.75rem;
  font-weight: 800;
}

.price span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
}

.price-card ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
  color: var(--muted);
}

.price-card.featured {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.tag {
  position: absolute;
  top: -12px;
  right: 14px;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 700;
}

.faq-list {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  margin-bottom: 0.8rem;
}

.faq-question {
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  padding: 1rem;
  color: var(--text);
}

.faq-question::after {
  content: "+";
  float: right;
  color: var(--accent-dark);
}

.faq-question[aria-expanded="true"]::after {
  content: "−";
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 240ms ease;
}

.faq-answer[hidden] {
  display: block;
}

.faq-answer p {
  margin: 0;
  padding: 0 1rem 1rem;
  color: var(--muted);
}

.final-cta {
  text-align: center;
}

.final-cta h2 {
  margin-inline: auto;
  max-width: 700px;
}

.site-footer {
  background: #211b2d;
  color: #ded6ea;
  padding: 3rem 0 1.2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.2rem;
}

.footer-grid h3 {
  font-family: "Inter", sans-serif;
  margin-bottom: 0.5rem;
  color: #fff;
}

.footer-grid a {
  display: block;
  margin-bottom: 0.4rem;
}

.site-footer .brand {
  color: #fff;
}

.copyright {
  text-align: center;
  color: #b6afc4;
  margin: 1.2rem 0 0;
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .hero,
  .split,
  .grid-3,
  .pricing-grid,
  .profile-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    align-items: start;
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: inline-block;
  }

  .nav-links {
    position: absolute;
    left: 4%;
    right: 4%;
    top: 72px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    flex-direction: column;
    align-items: stretch;
    padding: 0.8rem;
    display: none;
    z-index: 35;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    display: block;
    padding: 0.45rem;
  }

  .hero,
  .split,
  .grid-3,
  .pricing-grid,
  .profile-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 3.4rem 0;
  }

  .hero {
    padding-top: 4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
