:root {
  --bg: #f6f7fb;
  --surface: #ffffff;
  --surface-soft: #eef2f7;
  --text: #111827;
  --muted: #5f6b7a;
  --line: #dce3ec;
  --primary: #1f8f5f;
  --primary-dark: #147047;
  --accent: #163a5f;
  --shadow: 0 24px 80px rgba(17, 24, 39, 0.12);
  --radius: 24px;
}

* { 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(--text);
  background: var(--bg);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }

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

.header-inner, .footer-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  font-size: 14px;
}

.nav, .footer-links {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}

.nav a:hover, .footer-links a:hover { color: var(--text); }

.hero { padding: 88px 0 72px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--primary);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
}

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

h1 {
  max-width: 680px;
  margin-bottom: 22px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 0.95;
  letter-spacing: -0.07em;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

h3 { margin-bottom: 10px; font-size: 20px; letter-spacing: -0.025em; }
.hero-text { max-width: 620px; color: var(--muted); font-size: 19px; }

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.button:hover { transform: translateY(-2px); }
.button.primary { color: #fff; background: var(--primary); box-shadow: 0 14px 30px rgba(31, 143, 95, 0.26); }
.button.primary:hover { background: var(--primary-dark); }
.button.secondary { background: #fff; border: 1px solid var(--line); }
.small-note { margin-top: 18px; color: var(--muted); font-size: 14px; }

.hero-card {
  min-height: 560px;
  display: grid;
  place-items: center;
  border-radius: 36px;
  background:
    radial-gradient(circle at 20% 20%, rgba(31, 143, 95, 0.22), transparent 32%),
    radial-gradient(circle at 80% 0%, rgba(22, 58, 95, 0.22), transparent 34%),
    linear-gradient(135deg, #ffffff, #eaf0f7);
  box-shadow: var(--shadow);
}

.phone-frame {
  width: min(330px, 80%);
  padding: 20px;
  border-radius: 34px;
  background: #101827;
  box-shadow: 0 30px 90px rgba(16, 24, 39, 0.42);
  color: #fff;
}

.app-topbar {
  width: 72px;
  height: 6px;
  margin: 0 auto 28px;
  border-radius: 999px;
  background: rgba(255,255,255,0.25);
}

.track-title { margin-bottom: 14px; font-size: 21px; font-weight: 800; letter-spacing: -0.03em; }

.progress {
  height: 9px;
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
}

.progress span { display: block; width: 58%; height: 100%; border-radius: inherit; background: var(--primary); }

.milestone {
  margin-top: 12px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  background: rgba(255,255,255,0.06);
}

.milestone.done { border-color: rgba(31, 143, 95, 0.55); }
.milestone.active { background: rgba(31, 143, 95, 0.16); }
.milestone p { margin: 6px 0 0; color: rgba(255,255,255,0.68); font-size: 14px; }

.section { padding: 72px 0; }
.section-heading { max-width: 780px; margin-bottom: 32px; }

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

.feature-card {
  min-height: 250px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.05);
}

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

.icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 14px;
  color: #fff;
  background: var(--accent);
  font-weight: 900;
}

.split-section {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.use-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.use-list li {
  padding: 18px 20px;
  border-radius: 18px;
  background: var(--surface-soft);
  font-weight: 700;
}

.cta-section { padding: 72px 0 88px; }

.cta-card {
  padding: clamp(32px, 6vw, 64px);
  border-radius: 34px;
  color: #fff;
  background:
    radial-gradient(circle at 15% 20%, rgba(255,255,255,0.18), transparent 28%),
    linear-gradient(135deg, var(--accent), #0f172a);
  box-shadow: var(--shadow);
}

.cta-card p { max-width: 720px; color: rgba(255,255,255,0.72); font-size: 18px; }

.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
}

.site-footer p { margin: 0; }

@media (max-width: 900px) {
  .hero { padding-top: 56px; }
  .hero-grid, .split { grid-template-columns: 1fr; }
  .hero-card { min-height: 440px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .header-inner, .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 16px 0;
  }
  .nav, .footer-links { gap: 14px; flex-wrap: wrap; }
  .feature-grid { grid-template-columns: 1fr; }
  .phone-frame { width: 88%; }
}
