.site-nav {
  justify-content: space-between;
}

.nav-action {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  margin-left: auto;
  padding: 0.55rem 0.8rem;
  border: 2px solid #fff;
  border-radius: 0.4rem;
}

.hero {
  max-width: 52rem;
  padding: clamp(1rem, 5vw, 3.5rem) 0 1rem;
}

.eyebrow {
  margin-bottom: 0.5rem;
  color: #538d4e;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin-bottom: 1rem;
  font-size: clamp(2.15rem, 8vw, 4.75rem);
  line-height: 1;
}

.hero p:not(.eyebrow) {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  line-height: 1.55;
}

.subject-grid,
.puzzle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.subject-card,
.puzzle-card,
.empty-card {
  display: flex;
  flex-direction: column;
  min-height: 13rem;
  padding: 1.25rem;
  color: #1a1a2e;
  border: 2px solid #1a1a2e;
  border-radius: 0.8rem;
  background: #fff;
  box-shadow: 4px 4px 0 #538d4e;
  text-decoration: none;
}

.subject-card:hover,
.subject-card:focus-visible,
.puzzle-card:hover,
.puzzle-card:focus-visible {
  background: #e7f3e5;
}

.card-icon {
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1rem;
  color: #538d4e;
}

.subject-card h2,
.puzzle-card h2,
.empty-card h2 {
  margin-bottom: 0.55rem;
  font-size: 1.35rem;
}

.subject-card p,
.puzzle-card p,
.empty-card p {
  line-height: 1.5;
}

.card-link {
  margin-top: auto;
  padding-top: 1rem;
  color: #538d4e;
}

.status-message {
  padding: 1rem;
  border: 2px solid #538d4e;
  border-radius: 0.6rem;
  background: #fff;
}
