/* /home — new homepage flow.
   Deliberately thin: the card, progress bar, buttons and inputs all come from
   start.css so this page and /start stay visually identical. Only the
   marketing sections above the form and the multi-choice layouts are new. */

.home-hero {
  padding: 24px 20px 48px;
  text-align: center;
  background: var(--page-bg) url("/assets/back.jpeg") center bottom / cover no-repeat;
}

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

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

.home-sub {
  max-width: 620px;
  margin: 16px auto 0;
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--ink);
}

/* ---------------------------------------------------------------- hero zip */

.home-zip {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 560px;
  margin: 30px auto 0;
  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);
}

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

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

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

.home-zip input::placeholder { color: var(--slate-400); font-weight: 500; }

.home-zip button {
  flex: none;
  height: 58px;
  padding: 0 26px;
  border: 0;
  border-radius: 1.5rem;
  background: var(--blue);
  color: #fff;
  font-family: inherit;
  font-size: 18px;
  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;
}

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

.home-zip-error {
  max-width: 560px;
  margin: 10px auto 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
}

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

/* -------------------------------------------------------------- trust strip */

.home-trust {
  margin-top: 18px;
  font-size: 14px;
  font-weight: 500;
  color: #6b7280;
}

/* ------------------------------------------------------------ carrier logos */

.home-carriers { margin-top: 46px; }

.home-carriers h2 {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #8a93a2;
}

.home-carrier-rows {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-top: 20px;
}

/* Grayscale per spec — these are third-party marks, shown as a comparison
   set rather than as endorsements. */
.home-carrier-rows img {
  width: 100%;
  max-width: 520px;
  height: auto;
  filter: grayscale(1);
  opacity: .68;
}


/* -------------------------------------------------------------- how it works */

.home-how { margin-top: 52px; }

.home-how h2 {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
}

.home-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 860px;
  margin: 24px auto 0;
}

.home-step {
  padding: 22px 18px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .06);
}

.home-step-n {
  width: 30px;
  height: 30px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  line-height: 30px;
}

.home-step h3 {
  margin: 0 0 6px;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.home-step p { font-size: 14px; line-height: 1.5; color: #6b7280; }

/* ------------------------------------------------------------------- the card
   .survey-wrap, .progress-wrap, .option-btn, .next-btn, .back-link,
   .form-input and .field-error all come from start.css. */

.home-card { padding-bottom: 60px; }

.home-choices {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.home-choices .option-btn { min-width: 116px; height: 52px; font-size: 16px; }

.home-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.home-grid .option-btn { width: 100%; min-width: 0; height: 48px; font-size: 15px; }

.home-select,
.home-input { display: block; width: 100%; margin-bottom: 12px; }

.home-select { height: 50px; background: #fff; }

.home-dob { display: flex; gap: 10px; }
.home-dob-part { flex: 1; text-align: center; }

.home-consent {
  margin: 16px 0 4px;
  font-size: 11.5px;
  line-height: 1.45;
  color: #95a3a4;
  text-align: left;
}

.home-consent a { color: #95a3a4; text-decoration: underline; }

#quizProgress { text-align: right; }

/* ----------------------------------------------------------------- mobile */

@media (max-width: 767px) {
  .home-hero  { padding: 18px 16px 36px; }
  .home-logo  { width: 210px; }
  .home-title { margin-top: 22px; font-size: 28px; }
  .home-sub   { margin-top: 12px; font-size: 16px; }

  .home-zip {
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 12px;
  }

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

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

  .home-carriers    { margin-top: 34px; }
  .home-how         { margin-top: 38px; }
  .home-steps       { grid-template-columns: 1fr; }
  .home-choices .option-btn { min-width: 104px; }
}

/* -------------------------------------------------------------- thank you */

.thanks-title {
  margin: 0;
  font-family: var(--font-head);
  font-size: 30px;
  font-weight: 800;
  color: #322f30;
}

.thanks-body {
  max-width: 340px;
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: #6b7280;
}

@media (max-width: 767px) {
  .thanks-title { font-size: 26px; }
  .thanks-body  { font-size: 15px; }
}
