:root {
  --bg: #f6f8ff;
  --bg-soft: #eef2ff;
  --surface: #ffffff;
  --text: #1f2740;
  --muted: #66708f;
  --primary: #3a7bf0;
  --primary-dark: #2459c9;
  --accent: #ffb22c;
  --line: #d7def2;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow: 0 14px 42px rgba(58, 123, 240, 0.18);
  --shadow-soft: 0 8px 26px rgba(26, 37, 89, 0.08);
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 10% 0%, #ecf2ff 0%, var(--bg) 55%);
  line-height: 1.55;
}

h1,
h2,
h3 {
  font-family: "Sora", "Avenir Next", "Segoe UI", sans-serif;
  line-height: 1.15;
  margin: 0 0 0.7rem;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

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

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}

.bg-orb {
  position: fixed;
  border-radius: 999px;
  filter: blur(10px);
  z-index: -1;
  opacity: 0.55;
}

.orb-1 {
  width: 280px;
  height: 280px;
  background: #dbe8ff;
  left: -70px;
  top: 140px;
}

.orb-2 {
  width: 340px;
  height: 340px;
  background: #fff1c9;
  right: -110px;
  top: 60%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(246, 248, 255, 0.8);
  border-bottom: 1px solid rgba(215, 222, 242, 0.6);
}

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

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

.brand img {
  width: auto;
  height: 54px;
  max-width: min(50vw, 260px);
  display: block;
}

.menu-toggle {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  background: var(--surface);
  font-weight: 700;
  font-family: inherit;
  color: var(--text);
}

.main-nav {
  position: absolute;
  top: 82px;
  left: 1rem;
  right: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: #ffffffee;
  box-shadow: var(--shadow-soft);
  display: none;
  padding: 0.9rem;
  flex-direction: column;
  gap: 0.7rem;
}

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

.main-nav a {
  font-weight: 700;
  color: #2f3759;
}

.main-nav a.btn {
  color: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  padding: 0.78rem 1.25rem;
  background: linear-gradient(135deg, var(--primary), #4f8fff);
  color: #fff;
  font-weight: 800;
  border: 1px solid transparent;
  box-shadow: var(--shadow-soft);
}

.btn:hover,
.btn:focus-visible {
  background: linear-gradient(135deg, var(--primary-dark), #3d7cf3);
}

.btn-ghost {
  background: #fff;
  color: var(--text);
  border-color: var(--line);
}

.btn-sm {
  padding: 0.58rem 0.95rem;
}

.hero {
  padding: clamp(2.2rem, 3vw, 4rem) 0;
}

.hero-grid {
  display: grid;
  gap: 1.2rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  background: #e9efff;
  color: #2e59c0;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-weight: 800;
  font-size: 0.82rem;
}

.hero-copy h1 {
  font-size: clamp(2rem, 6vw, 4rem);
  letter-spacing: -0.02em;
}

.lead {
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  max-width: 53ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

.hero-media {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}

.phone-card {
  margin: 0;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid #d5def7;
  background: #fff;
  box-shadow: var(--shadow);
}

.phone-card img {
  display: block;
  width: 100%;
  height: auto;
}

.section {
  padding: clamp(2.4rem, 5vw, 5.2rem) 0;
}

.section-soft {
  background: linear-gradient(180deg, transparent 0%, #f0f4ff 35%, transparent 100%);
}

.section-title {
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  margin-bottom: 1.2rem;
}

.steps-grid,
.feature-grid {
  display: grid;
  gap: 1rem;
}

.info-card,
.feature-card,
.split-panel,
.cta-panel,
.legal-card {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.info-card {
  padding: 1.2rem;
}

.step-pill {
  display: inline-flex;
  min-width: 44px;
  justify-content: center;
  border-radius: 999px;
  background: #eef2ff;
  color: #355bc0;
  font-weight: 800;
  font-size: 0.8rem;
  padding: 0.25rem 0.6rem;
  margin-bottom: 0.6rem;
}

.feature-card {
  padding: 0.9rem;
}

.feature-card img {
  width: 100%;
  border-radius: 20px;
  border: 1px solid #d6def4;
  margin-bottom: 0.7rem;
  background: #f8faff;
}

.split-panel {
  display: grid;
  gap: 1rem;
  padding: 1.3rem;
}

.cta-panel {
  text-align: center;
  padding: clamp(1.4rem, 4vw, 3rem);
  background: linear-gradient(135deg, #f8fbff, #ecf2ff);
}

.site-footer {
  padding: 1.4rem 0 1.8rem;
  border-top: 1px solid rgba(215, 222, 242, 0.7);
}

.footer-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-weight: 700;
  color: #374168;
}

.legal-page {
  background: radial-gradient(circle at top left, #edf3ff 0%, #f8faff 65%);
}

.legal-header {
  position: static;
}

.legal-nav {
  position: static;
  display: flex;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  flex-direction: row;
  gap: 1.1rem;
}

.legal-nav .active {
  color: #2f63d6;
}

.legal-card {
  padding: clamp(1.1rem, 4vw, 2rem);
  max-width: 840px;
}

.legal-card h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-bottom: 0.3rem;
}

.legal-card h2 {
  margin-top: 1.7rem;
  font-size: clamp(1.12rem, 2.4vw, 1.35rem);
}

.legal-card ul {
  margin: 0.6rem 0 0.9rem 1.2rem;
  color: var(--muted);
}

.legal-card li {
  margin-bottom: 0.45rem;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }

  .main-nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.05rem;
    border: 0;
    box-shadow: none;
    background: transparent;
    padding: 0;
  }

  .hero-grid {
    grid-template-columns: 1.07fr 0.93fr;
    gap: 1.8rem;
  }

  .hero-media {
    grid-template-columns: 1fr 0.8fr;
    align-items: end;
  }

  .card-float {
    transform: translateY(48px);
  }

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

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

  .split-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 1.9rem;
  }

  .footer-wrap {
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
  }
}

@media (max-width: 640px) {
  .nav-wrap {
    min-height: 70px;
    height: 70px;
  }

  .brand img {
    height: 44px;
    max-width: 60vw;
  }
}

@media (min-width: 1100px) {
  .hero {
    padding-top: 3.4rem;
  }

  .card-main {
    transform: rotate(-2deg);
  }

  .card-float {
    transform: translate(14px, 54px) rotate(2.1deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .card-main,
  .card-float {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  html {
    scroll-behavior: auto;
  }
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #6fa0ff;
  outline-offset: 2px;
  border-radius: 8px;
}
