:root {
  --purple: #7c5cfa;
  --purple-dark: #6042df;
  --purple-soft: #f3f0ff;
  --purple-softer: #fbf9ff;
  --ink: #17152b;
  --muted: #625f75;
  --line: #e9e5f8;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(62, 45, 126, 0.14);
  --shadow-soft: 0 16px 42px rgba(62, 45, 126, 0.1);
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1180px;
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 12% 12%, rgba(124, 92, 250, 0.09), transparent 28%),
    radial-gradient(circle at 88% 8%, rgba(124, 92, 250, 0.06), transparent 24%);
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 16px 0;
  transition: background 220ms ease, box-shadow 220ms ease, backdrop-filter 220ms ease, padding 220ms ease;
}

.site-header.is-scrolled {
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 34px rgba(48, 37, 93, 0.09);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 32px, 1240px);
  min-height: 68px;
  margin-inline: auto;
  padding: 10px 12px 10px 18px;
  border: 1px solid rgba(233, 229, 248, 0.86);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  font-weight: 800;
}

.brand small {
  display: block;
  margin-top: -4px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--purple), #9f8aff);
  box-shadow: 0 12px 28px rgba(124, 92, 250, 0.28);
}

.brand-mark svg {
  width: 28px;
  height: 28px;
  fill: rgba(255, 255, 255, 0.96);
  stroke: rgba(255, 255, 255, 0.96);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-menu,
.nav-links,
.nav-actions {
  display: flex;
  align-items: center;
}

.nav-menu {
  flex: 1;
  justify-content: space-between;
  gap: 24px;
  margin-left: 32px;
}

.nav-links {
  gap: 8px;
  padding: 0;
  margin: 0 auto;
  list-style: none;
}

.nav-links a,
.phone-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 13px;
  border-radius: 999px;
  color: #33304d;
  font-size: 0.95rem;
  font-weight: 700;
  transition: color 180ms ease, background 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.phone-link:hover,
.phone-link:focus-visible {
  background: var(--purple-soft);
  color: var(--purple-dark);
  outline: none;
}

.nav-actions {
  gap: 10px;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 16px;
  background: var(--purple-soft);
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  border-radius: 99px;
  background: var(--purple-dark);
}

.btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: -0.01em;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn::after {
  position: absolute;
  inset: auto;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
  content: "";
  opacity: 0;
  transform: scale(1);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.btn:active::after {
  opacity: 1;
  animation: ripple 520ms ease-out;
}

.btn-primary {
  background: linear-gradient(135deg, var(--purple), #927bff);
  color: var(--white);
  box-shadow: 0 16px 32px rgba(124, 92, 250, 0.24);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 20px 40px rgba(124, 92, 250, 0.32);
}

.btn-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.88);
  color: var(--purple-dark);
  box-shadow: 0 12px 26px rgba(62, 45, 126, 0.08);
}

.btn-small {
  min-height: 46px;
  padding: 0 18px;
  font-size: 0.92rem;
}

.section-gradient {
  background: linear-gradient(180deg, #fff 0%, #fbf9ff 48%, #fff 100%);
}

.section-muted {
  background: linear-gradient(180deg, #fff 0%, var(--purple-softer) 100%);
}

.hero {
  padding: 86px 0 82px;
}

.hero-grid,
.split-grid,
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
  gap: clamp(40px, 6vw, 86px);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--purple-dark);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--purple);
  content: "";
  box-shadow: 0 0 0 6px rgba(124, 92, 250, 0.11);
}

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

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(3.25rem, 7.2vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: -0.075em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.25rem, 4.2vw, 4.4rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.hero-subtitle,
.section-heading p,
.split-copy p,
.cta-card p {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
}

.hero-subtitle {
  max-width: 650px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

.trust-list,
.benefit-list {
  display: grid;
  padding: 0;
  margin: 0;
  list-style: none;
}

.trust-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
  max-width: 620px;
}

.trust-list li,
.benefit-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #33304d;
  font-weight: 800;
}

.trust-list span,
.benefit-list span {
  display: inline-grid;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  place-items: center;
  border-radius: 50%;
  background: var(--purple-soft);
  color: var(--purple-dark);
  font-size: 0.82rem;
}

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

.image-frame {
  position: relative;
  overflow: hidden;
  border: 10px solid var(--white);
  border-radius: var(--radius-lg);
  background: var(--purple-soft);
  box-shadow: var(--shadow);
}

.image-frame::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(180deg, transparent 45%, rgba(23, 21, 43, 0.08));
}

.image-frame img {
  height: 100%;
  object-fit: cover;
}

.hero-image {
  height: 600px;
  border-radius: 32px;
}

.floating-card {
  position: absolute;
  display: grid;
  min-width: 172px;
  gap: 2px;
  padding: 18px 20px;
  border: 1px solid rgba(233, 229, 248, 0.9);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
  animation: float 5.5s ease-in-out infinite;
}

.floating-card strong {
  color: var(--purple-dark);
  font-size: 1.55rem;
  line-height: 1;
}

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

.floating-card-one {
  top: 42px;
  left: -38px;
}

.floating-card-two {
  right: -28px;
  bottom: 142px;
  animation-delay: -1.8s;
}

.floating-card-three {
  bottom: 44px;
  left: 28px;
  animation-delay: -3s;
}

.social-proof,
.services,
.why,
.process,
.about,
.stats,
.faq,
.final-cta {
  padding: 96px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading.centered .eyebrow {
  justify-content: center;
}

.rating-row {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--muted);
  font-weight: 700;
}

.stars {
  color: #f6b83f;
  letter-spacing: 0.12em;
}

.rating-row strong {
  color: var(--ink);
}

.testimonial-shell {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.testimonial-track {
  display: grid;
}

.testimonial-card {
  grid-area: 1 / 1;
  padding: clamp(26px, 5vw, 44px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  transition: opacity 420ms ease, transform 420ms ease;
  pointer-events: none;
}

.testimonial-card.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.testimonial-card p {
  margin-bottom: 0;
  color: #343047;
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  line-height: 1.55;
}

.testimonial-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.testimonial-top img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-top strong,
.testimonial-top span {
  display: block;
}

.testimonial-top span {
  color: var(--muted);
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.carousel-controls button {
  width: 36px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: #d8d0ff;
  cursor: pointer;
  transition: width 180ms ease, background 180ms ease;
}

.carousel-controls button.is-active {
  width: 54px;
  background: var(--purple);
}

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

.service-card,
.process-step,
.stat-card,
.cta-card,
.accordion details {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 26px rgba(62, 45, 126, 0.06);
}

.service-card {
  min-height: 285px;
  padding: 30px;
  border-radius: var(--radius-lg);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.service-card:hover,
.service-card:focus-within {
  border-color: rgba(124, 92, 250, 0.28);
  box-shadow: var(--shadow-soft);
  transform: translateY(-8px);
}

.icon-bubble {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 24px;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--purple-soft), #fff);
  color: var(--purple-dark);
  font-size: 1.4rem;
  font-weight: 900;
}

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

.service-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  color: var(--purple-dark);
  font-weight: 900;
}

.tall-image,
.team-image {
  height: 560px;
}

.reverse {
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1fr);
}

.benefit-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.process-line {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.process-line::before {
  position: absolute;
  top: 48px;
  left: 16%;
  right: 16%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(124, 92, 250, 0.32), transparent);
  content: "";
}

.process-step {
  position: relative;
  z-index: 1;
  padding: 30px;
  border-radius: var(--radius-lg);
  text-align: center;
}

.process-step span {
  display: inline-grid;
  width: 58px;
  height: 58px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 50%;
  background: var(--purple);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(124, 92, 250, 0.24);
  font-weight: 900;
}

.process-step p,
.accordion p,
.site-footer p,
.site-footer address {
  color: var(--muted);
}

.about-highlight {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 30px;
  padding: 18px;
  border-radius: 18px;
  background: var(--purple-soft);
}

.about-highlight strong {
  color: var(--purple-dark);
  font-size: 2rem;
  line-height: 1;
  white-space: nowrap;
}

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

.stat-card {
  padding: 28px 18px;
  border-radius: 22px;
  text-align: center;
}

.stat-card strong {
  display: block;
  color: var(--purple-dark);
  font-size: clamp(2.3rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.stat-card span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 850;
}

.faq-grid {
  grid-template-columns: 0.82fr 1.18fr;
  align-items: start;
}

.accordion {
  display: grid;
  gap: 14px;
}

.accordion details {
  border-radius: 18px;
  overflow: hidden;
}

.accordion summary {
  min-height: 68px;
  padding: 20px 24px;
  cursor: pointer;
  color: var(--ink);
  font-size: 1.06rem;
  font-weight: 900;
}

.accordion summary::marker {
  color: var(--purple);
}

.accordion p {
  margin: 0;
  padding: 0 24px 24px;
}

.cta-card {
  max-width: 940px;
  padding: clamp(38px, 7vw, 78px);
  border-radius: 34px;
  text-align: center;
  background:
    radial-gradient(circle at 20% 10%, rgba(124, 92, 250, 0.12), transparent 34%),
    linear-gradient(135deg, #fff, #fbf9ff);
}

.cta-card .eyebrow,
.centered-actions {
  justify-content: center;
}

.cta-card p {
  max-width: 650px;
  margin-inline: auto;
  margin-bottom: 30px;
}

.site-footer {
  padding: 72px 0 30px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 30px;
}

.footer-brand {
  margin-bottom: 18px;
}

.site-footer h3 {
  margin-bottom: 14px;
}

.site-footer a,
.site-footer address {
  display: block;
  margin-bottom: 10px;
  font-style: normal;
}

.site-footer a:not(.brand):hover,
.site-footer a:not(.brand):focus-visible {
  color: var(--purple-dark);
  outline: none;
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.social-links a {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: var(--purple-soft);
  color: var(--purple-dark);
  font-weight: 900;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.94rem;
}

.footer-bottom div {
  display: flex;
  gap: 18px;
}

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

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

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes ripple {
  from {
    opacity: 0.85;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(18);
  }
}

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

  .nav-shell {
    position: relative;
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    left: 0;
    display: grid;
    gap: 18px;
    margin: 0;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-soft);
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .nav-menu.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-links,
  .nav-actions {
    display: grid;
    justify-items: stretch;
  }

  .nav-links {
    gap: 4px;
    margin: 0;
  }

  .nav-actions {
    gap: 10px;
  }

  .phone-link,
  .nav-links a {
    justify-content: center;
  }

  .hero-grid,
  .split-grid,
  .reverse,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 540px;
  }

  .hero-image,
  .tall-image,
  .team-image {
    height: 520px;
  }

  .card-grid,
  .process-line,
  .stats-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-line::before {
    display: none;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .nav-shell {
    width: min(100% - 20px, 1240px);
    min-height: 62px;
    padding: 8px 8px 8px 12px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  .brand strong {
    font-size: 0.95rem;
  }

  .brand small {
    font-size: 0.68rem;
  }

  .hero,
  .social-proof,
  .services,
  .why,
  .process,
  .about,
  .stats,
  .faq,
  .final-cta {
    padding: 64px 0;
  }

  h1 {
    font-size: clamp(3rem, 17vw, 4.3rem);
  }

  h2 {
    font-size: clamp(2.1rem, 11vw, 3.1rem);
  }

  .hero-actions,
  .centered-actions {
    display: grid;
  }

  .trust-list,
  .benefit-list,
  .card-grid,
  .process-line,
  .stats-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: auto;
    padding-bottom: 84px;
  }

  .hero-image,
  .tall-image,
  .team-image {
    height: 420px;
    border-width: 7px;
    border-radius: 24px;
  }

  .floating-card {
    position: relative;
    inset: auto;
    display: inline-grid;
    min-width: 0;
    margin: -52px 8px 0 0;
    vertical-align: top;
    animation: none;
  }

  .testimonial-card,
  .service-card,
  .process-step {
    padding: 24px;
  }

  .about-highlight,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-bottom {
    display: flex;
  }
}

@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;
  }
}

.legal-page {
  min-height: 100vh;
  background: var(--white);
}

.legal-hero {
  padding: 46px 0 74px;
}

.legal-hero .brand {
  margin-bottom: 54px;
}

.legal-hero h1 {
  max-width: 760px;
  margin: 10px 0 12px;
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.legal-content {
  padding: 72px 0 96px;
}

.narrow {
  width: min(100% - 40px, 840px);
}

.legal-content h2 {
  margin: 34px 0 10px;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.legal-content p {
  color: var(--muted);
}

.legal-content a {
  color: var(--purple-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}
