.site-header {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  padding: 0 24px;
  margin: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--primary);
  font-size: 1.12rem;
  font-weight: 850;
  text-decoration: none;
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.site-header nav {
  display: flex;
  gap: 24px;
}

.site-header nav a {
  color: var(--muted);
  font-size: .92rem;
  text-decoration: none;
}

.site-header nav a:hover {
  color: var(--accent);
}

.hero {
  min-height: 410px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(220px, .75fr);
  align-items: center;
  gap: 48px;
  padding: 64px max(24px, calc((100% - var(--max-width)) / 2));
  background: linear-gradient(120deg, #eaf4ff 0%, #fff7ec 100%);
}

.hero h1 {
  max-width: 720px;
  margin-bottom: 20px;
  font-size: clamp(2.25rem, 5vw, 4.4rem);
  line-height: 1.06;
}

.hero p:not(.eyebrow) {
  max-width: 590px;
  color: var(--muted);
  font-size: 1.1rem;
}

.hero-link {
  display: inline-flex;
  margin-top: 14px;
  padding: 12px 18px;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s, color .2s;
}

.hero-link:hover {
  background: var(--accent);
  color: #fff;
}

.hero-art {
  justify-self: center;
  width: min(27vw, 280px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 0;
}

.hero-art img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.courses-section,
.steps {
  max-width: var(--max-width);
  padding: 76px 24px;
  margin: auto;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.section-heading > p {
  color: var(--muted);
}

.filters {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 12px;
  margin: 24px 0 30px;
}

.filters input,
.filters select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
}

.steps {
  padding-top: 36px;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.step-grid article {
  padding: 28px;
  border-top: 4px solid var(--accent);
  border-radius: var(--radius);
  background: var(--card);
}

.step-grid b {
  color: var(--primary);
  font-size: 1.5rem;
}

.step-grid h3 {
  margin: 18px 0 8px;
}

.step-grid p {
  margin: 0;
  color: var(--muted);
}

footer,
app-footer {
  padding: 28px 24px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: .9rem;
  text-align: center;
}

@media (max-width: 720px) {
  .site-header nav {
    display: none;
  }

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

  .hero-art {
    display: none;
  }

  .filters,
  .step-grid {
    grid-template-columns: 1fr;
  }

  .courses-section,
  .steps {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .section-heading > p {
    margin-top: -14px;
  }
}
