html,
body.start-page {
  min-height: 100%;
  height: auto;
  overflow-x: hidden;
  overflow-y: auto;
}

.start-page {
  margin: 0;
  background: #eef1ee;
  color: #111111;
}

.start-header {
  height: 72px;
  background: #111111;
}

.start-header-inner {
  width: min(100% - 40px, 1160px);
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.start-logo img {
  width: 58px;
  height: 40px;
  object-fit: cover;
}

.intake-mode-label {
  color: rgba(255, 255, 255, .62);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.start-main {
  min-height: calc(100dvh - 72px);
  height: auto;
  overflow: visible;
  padding: 24px;
  display: grid;
  place-items: center;
}

.intake-layout {
  width: min(100%, 680px);
  height: auto;
  min-height: 0;
  display: block;
}

.intake-card {
  width: 100%;
  height: auto;
  min-height: min(650px, calc(100dvh - 120px));
  padding: 32px 40px;
  background: #ffffff;
  border: 1px solid #dfe4df;
  box-shadow: 0 18px 50px rgba(20, 34, 25, .08);
  display: flex;
  flex-direction: column;
  overflow: visible;
}

.intake-header {
  flex: 0 0 auto;
}

.intake-header .eyebrow {
  color: #6d776f;
  margin-bottom: 18px;
}

.intake-progress-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #758078;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.intake-progress-row span:last-child {
  color: #111111;
}

.intake-progress-track {
  height: 3px;
  margin-top: 11px;
  background: #e7ebe7;
}

.intake-progress-track span {
  display: block;
  width: 20%;
  height: 100%;
  background: #fdb913;
  transition: width .25s ease;
}

.intake-card form {
  min-height: 0;
  display: block;
}

.intake-step {
  min-height: 0;
  flex: 0 0 auto;
  padding-top: 36px;
}

.intake-step.is-active {
  animation: step-in .24s ease both;
}

@keyframes step-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.intake-step h1,
.intake-success h1 {
  max-width: 560px;
  margin: 0;
  font: 700 clamp(30px, 4.5vw, 48px) / 1.04 Archivo, sans-serif;
  letter-spacing: -.035em;
}

.question-copy {
  margin-top: 12px;
  color: #69746c;
  font-size: 16px;
}

.answer-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 26px;
}

.answer-choice {
  width: 100%;
  min-height: 94px;
  padding: 14px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  color: #111111;
  background: #fbfcfb;
  border: 1px solid #dfe4df;
  border-radius: 2px;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.answer-choice:focus-visible {
  transform: translateY(-2px);
  background: #fffaf0;
  border-color: #d7a512;
  box-shadow: 0 8px 18px rgba(20, 34, 25, .08);
  outline: 0;
}

.answer-choice:active {
  transform: translateY(1px);
  background: #fff8df;
}

.answer-choice.is-selected {
  background: #fff8df;
  border-color: #fdb913;
}

.choice-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #111111;
  background: #f0f2ef;
  border-radius: 50%;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.answer-choice:focus-visible .choice-icon,
.answer-choice:active .choice-icon {
  color: #111111;
  background: #fdb913;
  transform: scale(1.05);
}

.choice-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.choice-copy {
  min-width: 0;
}

.answer-choice strong {
  display: block;
  font: 700 16px / 1.2 Archivo, sans-serif;
}

.answer-choice small {
  display: block;
  margin-top: 4px;
  color: #7a847c;
  font-size: 13px;
  line-height: 1.3;
}

.field-block {
  margin-top: 28px;
}

.field-block label {
  display: block;
  margin-bottom: 8px;
  color: #111111;
  font-size: 13px;
  font-weight: 600;
}

.field-block label span {
  color: #89928b;
  font-size: 12px;
  font-weight: 400;
}

.field-block input,
.field-block select {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  color: #111111;
  background: #fafbfa;
  border: 1px solid #cfd7d0;
  border-radius: 0;
  font: 15px / 1.4 Inter, sans-serif;
}

.field-block input:focus,
.field-block select:focus {
  outline: 2px solid #fdb913;
  outline-offset: 1px;
  border-color: #b98a0b;
  background: #ffffff;
}

.field-block input[aria-invalid="true"] {
  border-color: #b42318;
}

.step-error,
.form-status {
  min-height: 18px;
  margin: 8px 0 0;
  color: #b42318;
  font-size: 13px;
}

.step-actions {
  min-height: 48px;
  flex: 0 0 auto;
  margin-top: 18px;
  display: flex;
  justify-content: flex-end;
}

.action-button {
  min-width: 132px;
  padding: 13px 18px;
  color: #111111;
  background: #fdb913;
  border: 0;
  border-radius: 0;
  font: 600 14px / 1.2 Inter, sans-serif;
  cursor: pointer;
}

.action-button:hover {
  background: #e6a70f;
}

.action-button:disabled {
  cursor: wait;
  opacity: .6;
}

.intake-success {
  min-height: 0;
  flex: 0 0 auto;
  padding-top: 80px;
}

.intake-success .eyebrow {
  color: #6d776f;
  margin-bottom: 16px;
}

.intake-success > p:last-child {
  max-width: 420px;
  margin-top: 18px;
  color: #69746c;
  font-size: 16px;
  line-height: 1.6;
}

.success-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.success-actions .action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  text-decoration: none;
}

.success-whatsapp {
  color: #ffffff !important;
  background: #173d2a;
}

.success-whatsapp:hover {
  background: #102d1f;
}

.success-wait {
  padding: 10px 2px;
  color: #68746c;
  background: transparent;
  border: 0;
  font: 600 13px / 1.3 Inter, sans-serif;
  cursor: pointer;
}

.success-wait:hover {
  color: #111111;
}

.success-note {
  max-width: 420px;
  margin-top: 18px;
  color: #69746c;
  font-size: 14px;
  line-height: 1.5;
}

@media (max-width: 700px) {
  html,
  body.start-page {
    min-height: 100%;
    height: auto;
    overflow-y: auto;
  }

  .start-page {
    background: #ffffff;
  }

  .start-header {
    display: none;
  }

  .start-header-inner {
    width: min(100% - 28px, 1160px);
  }

  .start-main {
    min-height: 100dvh;
    padding: 16px 12px 28px;
    display: block;
  }

  .intake-layout {
    width: 100%;
    height: auto;
    display: block;
  }

  .intake-card {
    height: auto;
    min-height: 0;
    padding: 18px 16px;
    box-shadow: 0 10px 30px rgba(20, 34, 25, .06);
  }

  .intake-header .eyebrow {
    margin-bottom: 14px;
  }

  .intake-step {
    padding-top: 20px;
  }

  .intake-step h1,
  .intake-success h1 {
    font-size: clamp(28px, 8vw, 34px);
  }

  .answer-list {
    grid-template-columns: 1fr;
    gap: 7px;
    margin-top: 18px;
  }

  .location-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .location-list .answer-choice {
    min-height: 72px;
    padding: 10px;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 8px;
  }

  .location-list .choice-icon {
    width: 34px;
    height: 34px;
  }

  .location-list .choice-icon svg {
    width: 18px;
    height: 18px;
  }

  .answer-choice {
    min-height: 62px;
    padding-block: 10px;
  }

  .answer-choice strong {
    font-size: 15px;
  }

  .answer-choice small {
    font-size: 12px;
  }

  .field-block {
    margin-top: 14px;
  }

  .field-block label {
    margin-bottom: 5px;
  }

  .field-block input,
  .field-block select {
    min-height: 44px;
    padding-block: 9px;
  }

  .step-actions {
    min-height: 44px;
    margin-top: 10px;
  }

  .action-button {
    min-height: 44px;
    padding-block: 11px;
  }

  .success-actions {
    align-items: stretch;
  }

  .success-actions .action-button {
    flex: 1 1 130px;
  }

}

@media (max-height: 700px) {
  .start-page {
    background: #ffffff;
  }

  .start-header {
    display: none;
  }

  .start-main {
    min-height: 100dvh;
    padding: 14px 24px 24px;
    display: block;
  }

  .intake-layout {
    width: min(100%, 680px);
    height: auto;
    margin: 0 auto;
  }

  .intake-card {
    min-height: 0;
    padding: 22px 30px 26px;
    box-shadow: 0 10px 30px rgba(20, 34, 25, .06);
  }

  .intake-step {
    padding-top: 22px;
  }

  .intake-step h1,
  .intake-success h1 {
    font-size: clamp(30px, 4.5vw, 42px);
  }

  .field-block {
    margin-top: 16px;
  }

  .field-block label {
    margin-bottom: 5px;
  }

  .field-block input,
  .field-block select {
    min-height: 44px;
    padding-block: 9px;
  }

  .step-actions {
    min-height: 44px;
    margin-top: 10px;
  }

  .action-button {
    min-height: 44px;
    padding-block: 11px;
  }
}
