:root {
  --bg: #f6f8fb;
  --bg-soft: #eef4ff;
  --text: #132032;
  --muted: #5b687a;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --accent: #13c2b5;
  --dark: #0e1726;
  --dark-soft: #172338;
  --white: #ffffff;
  --line: rgba(19, 32, 50, 0.1);
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.14);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0;
  color: var(--muted);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--text);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

h1 {
  max-width: 820px;
  font-size: clamp(2.8rem, 7vw, 5.8rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

h3 {
  font-size: 1.25rem;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.section {
  padding: 96px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 248, 251, 0.82);
  border-bottom: 1px solid rgba(19, 32, 50, 0.08);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand__mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.28);
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 0.95rem;
  font-weight: 700;
}

.nav__menu a {
  color: #344154;
  transition: color 180ms ease, transform 180ms ease;
}

.nav__menu a:hover {
  color: var(--primary);
}

.nav__menu--static {
  position: static;
}

.nav__cta {
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--text);
  color: var(--white) !important;
}

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav__toggle span:not(.sr-only) {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: var(--text);
  transition: transform 180ms ease, opacity 180ms ease;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero {
  position: relative;
  min-height: calc(100vh - 78px);
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero::before,
.hero::after {
  position: absolute;
  content: "";
  width: 420px;
  height: 420px;
  border-radius: 999px;
  filter: blur(20px);
  opacity: 0.36;
  pointer-events: none;
}

.hero::before {
  top: 110px;
  right: -120px;
  background: #bfdbfe;
}

.hero::after {
  bottom: -160px;
  left: -120px;
  background: #99f6e4;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: block;
}

.hero__content {
  display: grid;
  gap: 28px;
  max-width: 880px;
}

.hero__lead {
  max-width: 700px;
  font-size: 1.16rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.26);
}

.button--primary:hover {
  background: var(--primary-dark);
}

.button--disabled {
  cursor: default;
}

.button--disabled:hover {
  background: var(--primary);
  transform: none;
}

.button--secondary {
  background: var(--white);
  color: var(--text);
  border: 1px solid var(--line);
}

.eyebrow {
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow--light {
  color: #8ee8df;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-heading h2 {
  margin: 10px 0 18px;
}

.section-heading--left {
  margin: 0;
  text-align: left;
}

.cards {
  display: grid;
  gap: 22px;
}

.cards--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  display: grid;
  gap: 18px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 44px rgba(15, 23, 42, 0.07);
}

.card__icon {
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 16px;
  background: var(--bg-soft);
  color: var(--primary);
  font-weight: 800;
}

.section--tinted {
  background: var(--bg-soft);
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: start;
}

.split h2,
.contact h2 {
  margin: 10px 0 20px;
}

.split p + p {
  margin-top: 16px;
}

.app-title {
  display: grid;
  gap: 10px;
  margin: 10px 0 20px;
}

.app-title h2 {
  margin: 0;
}

.app-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}

.privacy-link {
  color: var(--muted);
  font-weight: 700;
}

.store-note {
  width: max-content;
  padding: 6px 10px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.2;
}

.privacy-link:hover {
  color: var(--text);
}

.feature-list {
  display: grid;
  gap: 18px;
}

.feature {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 18px;
  padding: 24px;
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 16px 44px rgba(15, 23, 42, 0.06);
}

.feature span {
  width: 14px;
  height: 14px;
  margin-top: 6px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.feature h3 {
  margin-bottom: 8px;
}

.contact__box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 42px;
  border-radius: 34px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact__box > div {
  max-width: 720px;
}

.legal-page {
  background:
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.12), transparent 30%),
    var(--bg);
}

.legal-layout {
  display: grid;
  gap: 34px;
  max-width: 920px;
}

.legal-heading {
  display: grid;
  gap: 14px;
}

.legal-heading h1 {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
}

.legal-card {
  display: grid;
  gap: 18px;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.legal-card h2 {
  margin-top: 14px;
  font-size: 1.35rem;
}

.legal-card a {
  color: var(--primary);
  font-weight: 800;
}

.footer {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.footer__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer p {
  font-size: 0.92rem;
}

.footer__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
}

.footer__meta a {
  color: var(--primary);
  font-size: 0.92rem;
  font-weight: 800;
}

.brand--footer .brand__mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

@media (max-width: 900px) {
  .nav__toggle {
    display: block;
  }

  .nav__toggle.is-active span:nth-child(2) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav__toggle.is-active span:nth-child(3) {
    opacity: 0;
  }

  .nav__toggle.is-active span:nth-child(4) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav__menu {
    position: fixed;
    inset: 78px 20px auto;
    display: grid;
    gap: 10px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--white);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .nav__menu.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav__menu--static {
    position: static;
    display: flex;
    width: auto;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav__menu a {
    padding: 12px;
  }

  .nav__cta {
    text-align: center;
  }

  .hero {
    min-height: auto;
  }

  .split {
    grid-template-columns: 1fr;
  }

  .cards--three {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .section-heading--left {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .section {
    padding: 72px 0;
  }

  .hero {
    padding-top: 48px;
  }

  .hero__actions,
  .app-actions,
  .contact__box,
  .footer__content {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .store-note {
    width: 100%;
    text-align: center;
  }

  .footer__meta {
    justify-content: flex-start;
  }

  .card,
  .legal-card,
  .contact__box {
    padding: 24px;
  }
}
