/* Lander (/) — hero + ZIP form.
   Geometry measured off reference/screenshots/lander.pdf. The form keeps the
   exact dimensions the original Tailwind build rendered at: 544px card,
   200x58 button, 56px input. */

.hero {
  min-height: 100vh;
  padding: 43px 20px 40px;
  text-align: center;
  background: var(--page-bg) url("/assets/back.jpeg") center bottom / cover no-repeat;
}

.hero-logo {
  width: 270px;
  height: auto;
  margin: 0 auto;
}

.hero-title {
  margin-top: 40px;
  font-family: var(--font-head);
  font-size: 48px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.hero-title .accent { color: var(--blue); }

.hero-sub {
  margin-top: 50px;
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
}

/* ---------------------------------------------------------------- ZIP form */

.quote {
  width: 100%;
  max-width: 544px;
  margin: 43px auto 0;
}

.quote-label {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  margin: 0 0 14px 34px;
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
}

.quote-arrow {
  flex: none;
  width: 42px;
  height: 27px;
  margin-top: 8px;
  color: var(--blue);
}

.zip-form {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  background: #fff;
  border: 1px solid #000;
  border-radius: 2rem;
  box-shadow: 0 20px 25px -5px var(--slate-200), 0 8px 10px -6px var(--slate-200);
}

.zip-field {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 0 20px;
  min-width: 0;
}

.zip-pin {
  flex: none;
  width: 20px;
  height: 20px;
  margin-right: 16px;
  color: var(--blue-icon);
}

#zipInput {
  width: 100%;
  height: 56px;
  border: 0;
  outline: 0;
  padding: 0;
  background: transparent;
  font-family: inherit;
  font-size: 20px;
  font-weight: 600;
  color: var(--slate-700);
}

#zipInput::placeholder {
  color: var(--slate-400);
  font-weight: 500;
}

.zip-submit {
  flex: none;
  width: 200px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  border-radius: 1.5rem;
  background: var(--blue);
  color: #fff;
  font-family: inherit;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 15px -3px var(--blue-shadow), 0 4px 6px -4px var(--blue-shadow);
  transition: background-color .2s, transform .2s;
}

.zip-submit:hover  { background: var(--blue-dark); }
.zip-submit:active { transform: scale(.95); }

.zip-submit svg { flex: none; width: 15px; height: 15px; }

.zip-error {
  position: absolute;
  left: 24px;
  bottom: -32px;
  font-size: 12px;
  font-weight: 600;
  color: var(--red);
}

.zip-error[hidden] { display: none; }

/* ----------------------------------------------------------- ≤991: stacked
   Same breakpoint and dimensions the original used. */

@media (max-width: 991px) {
  .zip-form {
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
  }

  .zip-field {
    width: 100%;
    padding: 10px 16px;
    border: 0.5px solid var(--blue);
    border-radius: 1.25rem;
  }

  #zipInput {
    height: 42px;
    font-size: 18px;
    line-height: 1.2;
  }

  .zip-submit {
    width: 100%;
    height: 52px;
    border-radius: 1.25rem;
    font-size: 18px;
  }

  .zip-error { left: 20px; }
}

@media (max-width: 767px) {
  .hero { padding: 28px 20px 36px; }

  .hero-logo  { width: 210px; }
  .hero-title { margin-top: 28px; font-size: 34px; }
  .hero-sub   { margin-top: 28px; font-size: 19px; }

  .quote { margin-top: 30px; }

  .quote-label {
    justify-content: center;
    margin: 0 0 12px;
    font-size: 19px;
  }

  .quote-arrow { width: 34px; height: 22px; margin-top: 6px; }
}
