/* Homepage hero — replaces the Tailwind Play CDN (docs/overrides/home.html) */

html, body {
  font-family: "Nunito Sans", ui-sans-serif, system-ui, -apple-system,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

.hero {
  display: flex;
  align-items: center;
  min-height: 100vh;
  background: #ffffff;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.hero__content {
  place-self: center;
  margin-right: auto;
}

.hero__title {
  max-width: 42rem;
  margin: 0 0 1rem;
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1;
  color: #111827;
}

.hero__subtitle {
  max-width: 42rem;
  margin: 0 0 1.5rem;
  font-weight: 300;
  font-size: 1.125rem;
  color: #6b7280;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  color: #111827;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  text-decoration: none;
}

.hero__button:hover {
  background: #f3f4f6;
}

.hero__button:focus-visible {
  outline: 3px solid #f3f4f6;
  outline-offset: 2px;
}

.hero__image-col {
  display: none;
}

.hero__image-col img {
  object-fit: contain;
}

@media (min-width: 768px) {
  .hero__title { font-size: 3rem; }
  .hero__subtitle { font-size: 1.25rem; }
}

@media (min-width: 1024px) {
  .hero__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 2rem;
    padding: 4rem 1rem;
  }
  .hero__content { grid-column: span 7; }
  .hero__title { font-size: 3.75rem; }
  .hero__image-col {
    display: flex;
    grid-column: span 5;
  }
}
