:root {
  --background: #f7f8fc;
  --surface: #ffffff;
  --surface-muted: #eef1f8;
  --text: #161927;
  --text-muted: #606779;
  --primary: #635bff;
  --primary-dark: #4c45d8;
  --border: #dfe3ec;
  --shadow: 0 24px 60px rgba(32, 38, 70, 0.12);
  --radius: 24px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.6;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 248, 252, 0.88);
  border-bottom: 1px solid rgba(223, 227, 236, 0.8);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.logo {
  font-size: 1.35rem;
  font-weight: 850;
  letter-spacing: -0.04em;
}

.main-nav {
  display: flex;
  gap: 28px;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 650;
}

.main-nav a:hover {
  color: var(--text);
}

.hero {
  padding: 110px 0 90px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
  gap: 70px;
}

.eyebrow,
.section-label {
  margin: 0 0 14px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 7vw, 6.4rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.3rem;
  letter-spacing: -0.025em;
}

.hero-text {
  max-width: 690px;
  margin-bottom: 32px;
  color: var(--text-muted);
  font-size: 1.18rem;
}

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

.button {
  min-height: 52px;
  padding: 13px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 750;
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease;
}

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

.button-primary {
  background: var(--primary);
  color: white;
}

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

.button-secondary {
  background: var(--surface);
  border-color: var(--border);
}

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

.hero-card-label {
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 800;
}

.hero-card h2 {
  margin: 14px 0 24px;
  font-size: 2.1rem;
}

.hero-card ul {
  margin: 0;
  padding-left: 20px;
  color: var(--text-muted);
}

.hero-card li+li {
  margin-top: 12px;
}

.section {
  padding: 100px 0;
}

.section-muted {
  background: var(--surface-muted);
}

.steps-grid,
.app-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.step-card,
.app-card {
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
}

.step-card span {
  display: block;
  margin-bottom: 34px;
  color: var(--primary);
  font-weight: 850;
}

.step-card p,
.app-card p,
.contact-card p {
  margin-bottom: 0;
  color: var(--text-muted);
}

.app-placeholder {
  min-height: 190px;
  margin-bottom: 24px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(99, 91, 255, 0.2), transparent),
    var(--surface-muted);
  border-radius: 16px;
  color: var(--primary);
  font-size: 2rem;
  font-weight: 900;
}

.contact-section {
  padding-bottom: 120px;
}

.contact-card {
  padding: 55px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  background: var(--text);
  border-radius: var(--radius);
  color: white;
}

.contact-card h2 {
  margin-bottom: 12px;
}

.contact-card p {
  color: #bdc3d4;
}

.site-footer {
  padding: 30px 0;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 850px) {
  .hero {
    padding-top: 75px;
  }

  .hero-grid,
  .steps-grid,
  .app-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 45px;
  }

  .contact-card {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  .header-inner {
    min-height: 68px;
  }

  .main-nav {
    display: none;
  }

  h1 {
    font-size: 3.2rem;
  }

  .hero-card,
  .step-card,
  .app-card,
  .contact-card {
    padding: 24px;
  }

  .section {
    padding: 75px 0;
  }
}