:root {
  color-scheme: light;
  --bg: #f4f7f8;
  --surface: #ffffff;
  --surface-strong: #0f2f3d;
  --text: #14212b;
  --muted: #4e6472;
  --line: rgba(15, 47, 61, 0.12);
  --accent: #138a72;
  --accent-strong: #0d6b59;
  --shadow: 0 24px 80px rgba(15, 47, 61, 0.12);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: linear-gradient(180deg, #f7fbfc 0%, var(--bg) 100%);
  color: var(--text);
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.hero,
.section,
.site-footer {
  width: min(1120px, calc(100% - 3rem));
  margin: 0 auto;
}

.hero {
  padding: 1.5rem 0 5rem;
}

.site-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 4rem;
}

.brand,
.nav-link {
  text-decoration: none;
}

.brand {
  font-weight: 800;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
}

.nav-link {
  color: var(--muted);
  font-weight: 500;
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--accent-strong);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}

h1,
h2,
h3,
.lead,
.hero-text,
.site-footer p,
.card p {
  margin: 0;
}

h1 {
  font-size: clamp(2.8rem, 6vw, 5.25rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
  max-width: 11ch;
}

.hero-text,
.lead,
.card p,
.feature p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.hero-text {
  margin-top: 1.5rem;
  max-width: 60ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.15s ease, background-color 0.15s ease,
    border-color 0.15s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--accent);
  color: #ffffff;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--accent-strong);
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.hero-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.section {
  padding: 0 0 4rem;
}

.section-heading {
  max-width: 52rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.lead {
  max-width: 54rem;
  font-size: 1.22rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.card,
.feature {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card {
  padding: 1.5rem;
}

.card h3 {
  margin: 0 0 0.85rem;
  font-size: 1.18rem;
  letter-spacing: -0.02em;
}

.feature {
  padding: 2rem;
  margin-bottom: 4rem;
}

.feature a {
  color: var(--accent-strong);
  font-weight: 700;
}

.site-footer {
  padding: 0 0 3rem;
}

.site-footer p {
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .hero-content,
  .cards {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-bottom: 4rem;
  }

  h1 {
    max-width: 14ch;
  }
}

@media (max-width: 640px) {
  .hero,
  .section,
  .site-footer {
    width: min(100% - 1.5rem, 1120px);
  }

  .site-nav {
    margin-bottom: 2.5rem;
  }

  .feature,
  .card {
    padding: 1.25rem;
  }
}
