.site-hero {
  align-items: center;
  display: grid;
  min-height: calc(100vh - 96px);
  width: calc(100% - 24px);
  max-width: var(--block-size);
  margin-bottom: 20px;
}

.site-hero__main {
  justify-self: center;
  min-width: 0;
  width: min(100%, 460px);
}

.site-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-soft);
  font-family: var(--fonts-monospace);
  font-size: 0.82rem;
}

.site-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
}

.site-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid color-mix(in srgb, var(--danger) 70%, var(--border));
  border-radius: 8px;
  color: var(--danger);
  font-family: serif;
  font-size: 1.2rem;
  line-height: 1;
}

.site-subtitle {
  margin-top: 8px;
  max-width: 640px;
  color: var(--text-soft);
  font-size: 1.05rem;
  line-height: 1.65;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.site-nav a {
  min-height: 40px;
  padding: 10px 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.site-nav a:hover {
  border-color: var(--primary);
  background-color: var(--glow-blue);
  color: var(--text);
}

@media (max-width: 780px) {
  .site-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-hero {
    width: 100%;
  }

  .site-title {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}
