* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: #1c1c1c;
  background: #ffffff;
  line-height: 1.6;
}

h1, h2 {
  margin-top: 0;
}

.hero {
  min-height: 90vh;
  background:
    linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,.45)),
    url("../img/hero.jpg") center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  padding: 2rem;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 0.5rem;
}

.tagline {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.section {
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  text-align: center;
}

.muted {
  background: #f4f3ef;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.card {
  background: #ffffff;
  padding: 2rem 1.5rem;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0,0,0,.08);
  font-weight: 600;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  background: #1c1c1c;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
}

.btn.outline {
  background: transparent;
  border: 2px solid #1c1c1c;
  color: #1c1c1c;
}

footer {
  padding: 2rem;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Contact section */
#contact {
  background: #fbfaf8;
  padding: 3rem 1.5rem;
  text-align: center;
}

#contact h2 {
  margin-bottom: 0.5rem;
}

#contact a {
  color: #1c1c1c;
  text-decoration: underline;
  font-weight: 700;
}

.site-footer {
  padding: 1.25rem;
  text-align: center;
  font-size: 0.9rem;
  color: #666666;
}

.site-footer p { margin: 0; }

/* Signup form */
.signup-form {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.signup-form input[type="email"] {
  padding: 0.625rem 0.75rem;
  border-radius: 8px;
  border: 1px solid #e2dfda;
  min-width: 220px;
  font-size: 1rem;
}

.signup-form button {
  padding: 0.6rem 1rem;
}

.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

.signup-success {
  margin-top: 0.75rem;
  color: #2d6a4f;
  font-weight: 600;
}
