/* ===== Global reset & helpers ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: #333;
}

/* ===== Layout container ===== */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== Header ===== */
header {
  background: #164C3A;
  padding-bottom: 1rem;
  overflow: visible; /* never clip hero content */
}

header .logo img {
  display: block;
  height: 80px;
  width: auto;
  margin: 0 auto;
}

/* ===== Hero ===== */
.lander-headline {
  display: grid;
  place-items: center;
  min-height: 60vh;   /* flexible — keeps content above fold on most screens */
  overflow: visible;  /* allow text to flow naturally */
  padding: 1rem;
  text-align: center;
  background: #fff;
}

.lander-headline .primary {
  font-family: 'Anton', sans-serif;
  color: #d32f2f;
  font-size: clamp(28px, 5vw, 42px);
  margin: 0.5rem 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.15);
}

.lander-headline .secondary {
  font-family: 'Anton', sans-serif;
  color: #d32f2f;
  font-size: clamp(24px, 5vw, 36px);
  margin: 0.5rem auto;
  max-width: 600px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

/* ===== CTA button ===== */
.cta-section {
  text-align: center;
  margin: 1rem 0.5rem;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  background: #ffeb3b;
  color: #111;
  text-decoration: none;
  font-size: 1rem;
  font-weight: bold;
  padding: 1rem 2rem;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: background 0.2s, transform 0.1s;
}

.cta-button:hover {
  background: #fdd835;
  transform: translateY(-2px);
}

/* ===== How‑It‑Works ===== */
.how-it-works {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 2rem 1rem;
}

.step {
  display: flex;
  align-items: flex-start;
  max-width: 32%;
  margin-bottom: 1.5rem;
}

.step-number {
  background: #6c5b4a;
  color: #fff;
  font-weight: bold;
  font-size: 1.25rem;
  width: 2.2em;
  height: 2.2em;
  line-height: 2.2em;
  text-align: center;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  margin-right: 0.75em;
  flex-shrink: 0;
}

.step-text {
  color: #333;
  font-size: 1rem;
  line-height: 1.4;
}

.step-text strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 0.25em;
}

/* ===== Footer ===== */
footer {
  background: #f0f0f0;
  padding: 2rem 0;
  text-align: center;
  font-size: 0.9rem;
  color: #666;
}

footer nav {
  margin-bottom: 1rem;
}

footer nav a {
  color: #164C3A;
  text-decoration: none;
  margin: 0 0.4rem;
  font-weight: 600;
}

footer nav a:hover {
  text-decoration: underline;
}

/* ===== Mobile tweaks ===== */
@media (max-width: 500px) {
  .how-it-works {
    flex-direction: column;
    align-items: center;
  }

  .step {
    max-width: 100%;
    text-align: left;
  }
}
