:root {
  --navy: #10185a;
  --royal: #2563eb;
  --aqua: #70e1e8;
  --lilac: #a78bfa;
  --ink: #111a3d;
  --muted: #667085;
  --line: #e5edf8;
  --cloud: #f6faff;
  --white: #ffffff;
  --shadow: 0 18px 44px rgba(12, 45, 87, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: var(--royal);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(246, 250, 255, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.nav {
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 900;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 13px;
  display: block;
  object-fit: cover;
  background: white;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.22);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  font-weight: 800;
}

.hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: 72px 22px 40px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}

.hero h1 {
  margin: 0;
  max-width: 680px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero p {
  max-width: 620px;
  color: var(--muted);
  font-size: 18px;
  margin: 22px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 900;
}

.button.primary {
  color: white;
  background: var(--royal);
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.24);
}

.button.secondary {
  color: var(--royal);
  background: var(--white);
  border: 1px solid var(--line);
}

.phone-card {
  min-height: 520px;
  padding: 26px;
  border-radius: 38px;
  background: linear-gradient(145deg, var(--navy), var(--royal));
  box-shadow: var(--shadow);
  color: white;
}

.phone-screen {
  height: 100%;
  border-radius: 30px;
  padding: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.progress-card,
.module-card,
.content-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.progress-card {
  color: var(--ink);
  padding: 18px;
  margin-top: 24px;
}

.bar {
  height: 8px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
  margin-top: 8px;
}

.bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--royal), var(--aqua));
}

.modules {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.module-card {
  min-height: 120px;
  padding: 16px;
  color: white;
  background: linear-gradient(135deg, var(--lilac), var(--aqua));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 52px 22px;
}

.section h2,
.legal h1 {
  margin: 0 0 14px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 26px;
}

.content-card {
  padding: 22px;
}

.content-card h3 {
  margin: 0 0 8px;
}

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

.legal {
  max-width: 880px;
  margin: 0 auto;
  padding: 54px 22px 80px;
}

.legal-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: clamp(22px, 4vw, 42px);
}

.legal h2 {
  margin-top: 34px;
  color: var(--ink);
}

.footer {
  border-top: 1px solid var(--line);
  padding: 28px 22px;
  color: var(--muted);
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 820px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 44px;
  }

  .phone-card {
    min-height: 420px;
  }

  .grid {
    grid-template-columns: 1fr;
  }
}
