/* Homepage-only overrides: the shared legal and admin styles stay unchanged. */
.form-first-page {
  background: var(--paper);
}

.form-first-page .shell {
  width: min(1140px, calc(100% - 64px));
}

.form-first-page .site-header {
  min-height: 54px;
  gap: 16px;
}

.form-first-page .site-header .brand-mark {
  width: 30px;
  height: 30px;
  font-size: 24px;
  border-radius: 6px;
}

.form-first-page .site-header .brand-word {
  font-size: 20px;
}

.form-first-page .header-nav {
  gap: 24px;
  font-size: 12px;
}

.form-first-page .header-nav .button {
  display: none;
}

.form-first-page .header-nav > a:not(.button) {
  min-height: 44px;
  align-items: center;
  display: inline-flex;
}

.form-first-page .environment-banner,
.form-first-page .availability-banner {
  padding: 5px 16px;
  font-size: 12px;
  line-height: 1.4;
}

.form-first-page .form-first-section {
  padding: 32px 0 36px;
}

.form-first-page .form-first-layout {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 4vw, 60px);
  align-items: start;
}

.form-first-page .form-first-intro {
  padding-top: 18px;
  min-width: 0;
}

.form-first-page .form-first-intro h1 {
  max-width: 440px;
  margin: 0 0 18px;
  font-size: clamp(34px, 3.7vw, 49px);
  font-weight: 750;
  line-height: 1.12;
  letter-spacing: -1.9px;
  text-wrap: balance;
}

.form-first-page .form-first-highlight {
  background: linear-gradient(transparent 64%, var(--lime) 64%);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.form-first-page .form-first-description {
  max-width: 410px;
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.6;
  color: #465c4c;
}

.form-first-page .form-first-reassurance {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}

.form-first-page .form-first-card {
  width: 100%;
  max-width: 660px;
  justify-self: end;
  min-width: 0;
  padding: 24px;
  border-radius: 14px;
  box-shadow: 0 8px 28px #123d3007;
}

.form-first-page .form-header {
  margin-bottom: 16px;
  gap: 10px;
}

.form-first-page .form-header h2 {
  margin: 0;
  font-size: 23px;
  line-height: 1.2;
  letter-spacing: -.7px;
}

.form-first-page .form-required {
  flex-shrink: 0;
  font-size: 11px;
}

.form-first-page .form-first-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 14px;
  align-items: start;
}

.form-first-page .field {
  min-width: 0;
  margin-bottom: 14px;
}

.form-first-page .field > label,
.form-first-page legend {
  font-size: 13px;
  line-height: 1.4;
  font-weight: 700;
  margin-bottom: 6px;
}

.form-first-page input:not([type="checkbox"]):not([type="radio"]) {
  min-height: 46px;
  min-width: 0;
  padding: 11px 12px;
  font-size: 16px;
  line-height: 1.4;
  border-radius: 7px;
}

.form-first-page .form-amount input {
  padding-right: 52px !important;
}

.form-first-page .form-amount > span {
  right: 12px;
  top: 14px;
  font-size: 11px;
}

.form-first-page .field-help {
  margin-top: 5px;
  font-size: 11px;
  line-height: 1.45;
}

.form-first-page .field-error {
  margin-top: 5px;
  font-size: 12px;
  line-height: 1.45;
}

.form-first-page .form-summary {
  margin: 10px 0 0;
  padding: 10px 12px;
  gap: 6px 8px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: #f1f6e7;
  border: 1px solid #e3ebd6;
}

.form-first-page .form-summary > div {
  min-width: 0;
}

.form-first-page .form-summary > div:last-of-type {
  padding-left: 8px;
}

.form-first-page .form-summary span {
  margin-bottom: 2px;
  font-size: 10px;
  line-height: 1.35;
}

.form-first-page .form-summary strong {
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -.4px;
  overflow-wrap: anywhere;
}

.form-first-page .form-summary p {
  font-size: 10px;
  line-height: 1.4;
}

.form-first-page fieldset {
  margin: 0 0 12px;
  padding: 0;
  min-width: 0;
}

.form-first-page .choice-grid {
  gap: 8px;
}

.form-first-page .choice-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-first-page .choice-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.form-first-page .choice-card,
.form-first-page .time-choices .choice-card,
.form-first-page .payment-choices .choice-card {
  min-height: 46px;
  padding: 9px 10px;
  gap: 8px;
  align-items: center;
}

.form-first-page .choice-card > span:not(.choice-check),
.form-first-page .time-choices .choice-card > span:not(.choice-check),
.form-first-page .payment-choices .choice-card > span:not(.choice-check) {
  display: block;
  min-width: 0;
}

.form-first-page .choice-card strong,
.form-first-page .time-choices strong,
.form-first-page .payment-choices .choice-card strong {
  font-size: 12px;
  padding: 0;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.form-first-page .choice-card small,
.form-first-page .time-choices small,
.form-first-page .payment-choices small {
  margin-top: 2px;
  font-size: 10px;
  line-height: 1.35;
}

.form-first-page .choice-check,
.form-first-page .time-choices .choice-check,
.form-first-page .payment-choices .choice-check {
  position: static;
  width: 12px;
  height: 12px;
  margin-left: auto;
  flex-shrink: 0;
}

.form-first-page .time-choices .choice-card,
.form-first-page .payment-choices .choice-card {
  position: relative;
  padding-right: 22px;
}

.form-first-page .time-choices .choice-check,
.form-first-page .payment-choices .choice-check {
  position: absolute;
  top: 10px;
  right: 7px;
  width: 9px;
  height: 9px;
}

.form-first-page .choice-card:has(input[aria-invalid="true"]) {
  border-color: var(--error);
}

.form-first-page .consent-field {
  margin: 14px 0;
}

.form-first-page .consent-label {
  min-height: 44px;
  gap: 10px;
  font-size: 12px;
  line-height: 1.5;
  cursor: pointer;
}

.form-first-page .consent-label input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.form-first-page .notice {
  margin-bottom: 12px;
  padding: 10px 12px;
  font-size: 12px;
  line-height: 1.5;
}

.form-first-page .form-first-closed {
  margin: 0 0 8px;
}

.form-first-page .submit-button {
  min-height: 48px;
  padding: 12px 16px;
  font-size: 15px;
}

.form-first-page .submit-button:disabled {
  opacity: 1;
  background: #e4e8de;
  border-color: #d2dacc;
  color: #53634d;
}

.form-first-page .form-bottom-note {
  margin-top: 8px;
  font-size: 11px;
  line-height: 1.4;
}

.form-first-page noscript .notice {
  margin: 12px 0 0;
}

.form-first-page .success-panel {
  padding: 0;
}

.form-first-page .success-symbol {
  width: 44px;
  height: 44px;
  font-size: 23px;
  margin-bottom: 16px;
}

.form-first-page .success-panel .eyebrow {
  margin-bottom: 10px;
}

.form-first-page .success-panel h3 {
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 14px;
}

.form-first-page .reference-box {
  margin: 16px 0;
  padding: 12px 14px;
}

.form-first-page .success-amounts > div {
  flex-wrap: wrap;
  gap: 4px 16px;
}

.form-first-page .success-panel > .button {
  min-height: 48px;
  margin-top: 16px;
  padding: 12px 16px;
}

.form-first-page .form-first-process {
  padding: 26px 0 28px;
  border-top: 1px solid var(--line);
}

.form-first-page .form-first-process h2,
.form-first-page .form-first-faq h2 {
  font-size: 25px;
  line-height: 1.2;
  letter-spacing: -.8px;
  margin: 0 0 18px;
}

.form-first-page .form-first-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.form-first-page .form-first-steps li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

.form-first-page .form-first-step {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--forest);
  font-size: 12px;
  font-weight: 700;
}

.form-first-page .form-first-steps h3 {
  margin: 2px 0 6px;
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: -.3px;
}

.form-first-page .form-first-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.form-first-page .form-first-faq {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 40px;
  padding: 26px 0 40px;
  border-top: 1px solid var(--line);
}

.form-first-page .faq-list summary {
  min-height: 48px;
  padding: 14px 32px 14px 0;
  font-size: 14px;
  line-height: 1.45;
}

.form-first-page .faq-list summary::after {
  top: 8px;
}

.form-first-page .faq-list details p {
  margin: 0 20px 16px 0;
  font-size: 13px;
  line-height: 1.65;
}

@media (max-width: 900px) {
  .form-first-page .shell {
    width: min(660px, calc(100% - 40px));
  }

  .form-first-page .form-first-section {
    padding-top: 20px;
  }

  .form-first-page .form-first-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .form-first-page .form-first-intro {
    padding-top: 0;
  }

  .form-first-page .form-first-intro h1 {
    max-width: 620px;
    font-size: 32px;
    letter-spacing: -1px;
    margin-bottom: 10px;
    text-wrap: initial;
  }

  .form-first-page .form-first-description {
    max-width: none;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 8px;
  }

  .form-first-page .form-first-reassurance {
    font-size: 11px;
  }

  .form-first-page .form-first-steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .form-first-page .form-first-faq {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
}

@media (max-width: 620px) {
  .form-first-page .shell {
    width: calc(100% - 28px);
  }

  .form-first-page .site-header .brand {
    gap: 8px;
  }

  .form-first-page .header-nav {
    gap: 0;
  }

  .form-first-page .header-nav > a:not(.button) {
    display: none;
  }

  .form-first-page .header-nav > a:first-child:not(.button) {
    display: inline-flex;
    font-size: 11px;
  }

  .form-first-page .environment-banner,
  .form-first-page .availability-banner {
    padding: 5px 12px;
    font-size: 11px;
    line-height: 1.35;
  }

  .form-first-page .form-first-section {
    padding: 12px 0 24px;
  }

  .form-first-page .form-first-layout {
    gap: 10px;
  }

  .form-first-page .form-first-intro h1 {
    margin-bottom: 6px;
    font-size: 26px;
    line-height: 1.1;
    letter-spacing: -.8px;
  }

  .form-first-page .form-first-description {
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 7px;
  }

  .form-first-page .form-first-reassurance {
    font-size: 11px;
    line-height: 1.4;
  }

  .form-first-page .form-first-card {
    padding: 14px;
    border-radius: 12px;
  }

  .form-first-page .form-header {
    margin-bottom: 10px;
  }

  .form-first-page .form-header h2 {
    font-size: 20px;
    letter-spacing: -.5px;
  }

  .form-first-page .form-required {
    font-size: 10px;
  }

  .form-first-page .form-first-fields {
    grid-template-columns: minmax(0, 1fr);
  }

  .form-first-page .form-summary {
    padding: 10px 12px;
  }

  .form-first-page .form-summary strong {
    font-size: 22px;
  }

  .form-first-page .choice-grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .form-first-page .time-choices .choice-card,
  .form-first-page .payment-choices .choice-card {
    min-height: 50px;
    padding: 9px 6px 9px 8px;
    align-items: center;
  }

  .form-first-page .time-choices .choice-check,
  .form-first-page .payment-choices .choice-check {
    top: 5px;
    right: 5px;
    width: 7px;
    height: 7px;
  }

  .form-first-page .time-choices strong,
  .form-first-page .payment-choices .choice-card strong {
    font-size: 11px;
    letter-spacing: -.2px;
  }

  .form-first-page .time-choices small,
  .form-first-page .payment-choices small {
    font-size: 10px;
  }

  .form-first-page .consent-label {
    font-size: 11px;
  }

  .form-first-page .form-first-process h2,
  .form-first-page .form-first-faq h2 {
    font-size: 22px;
  }
}

@media (max-width: 359px) {
  .form-first-page .shell {
    width: calc(100% - 24px);
  }

  .form-first-page .form-first-intro h1 {
    font-size: 24px;
  }

  .form-first-page .form-first-card {
    padding: 12px;
  }

  .form-first-page .form-header h2 {
    font-size: 19px;
  }

  .form-first-page .choice-grid {
    gap: 5px;
  }

  .form-first-page .time-choices strong {
    font-size: 10px;
    letter-spacing: -.3px;
  }

  .form-first-page .form-summary strong {
    font-size: 20px;
  }
}
