.page-quote,
.page-thank-you {
  background: var(--blue-50);
}

.quote-intro {
  position: relative;
  overflow: hidden;
  padding: 82px 0 78px;
  color: var(--paper);
  background:
    radial-gradient(circle at 88% 15%, rgba(27,118,209,.24), transparent 30%),
    linear-gradient(120deg, var(--navy-950), var(--navy-900));
}

.quote-intro::after {
  position: absolute;
  right: -70px;
  bottom: -150px;
  width: 440px;
  height: 440px;
  content: "";
  border: 1px solid rgba(180,191,202,.18);
  border-radius: 50%;
}

.quote-intro-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0,1.15fr) minmax(330px,.85fr);
  gap: 90px;
  align-items: center;
}

.quote-intro-copy h1 {
  max-width: 780px;
  margin: 18px 0 22px;
  color: var(--paper);
  font-size: clamp(44px,5vw,68px);
  line-height: 1.02;
  letter-spacing: -.045em;
}

.quote-intro-copy > p:last-child {
  max-width: 720px;
  margin: 0;
  color: var(--copy-dark);
  font-size: 18px;
  line-height: 1.7;
}

.quote-response-card {
  padding: 30px;
  background: rgba(3,28,53,.72);
  border: 1px solid rgba(180,191,202,.22);
  border-radius: var(--radius-card);
  box-shadow: 0 24px 60px rgba(0,0,0,.18);
}

.quote-response-card > span {
  color: var(--orange-300);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.quote-response-card ol {
  display: grid;
  gap: 0;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.quote-response-card li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  padding: 17px 0;
  border-top: 1px solid rgba(180,191,202,.18);
}

.quote-response-card li b {
  color: var(--orange-300);
  font-size: 11px;
}

.quote-response-card li p {
  margin: 0;
  color: var(--copy-dark);
  font-size: 13px;
}

.quote-response-card li strong {
  display: block;
  margin-bottom: 4px;
  color: var(--paper);
  font-size: 14px;
}

.quote-main {
  padding: 88px 0 110px;
}

.quote-layout {
  display: grid;
  grid-template-columns: minmax(270px,.72fr) minmax(0,1.48fr);
  gap: 60px;
  align-items: start;
}

.quote-guidance {
  position: sticky;
  top: 112px;
  padding: 10px 8px;
}

.quote-guidance h2 {
  margin: 16px 0 22px;
  color: var(--navy-950);
  font-size: 30px;
  line-height: 1.15;
}

.quote-guidance ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.quote-guidance li {
  position: relative;
  padding: 15px 0 15px 28px;
  color: var(--copy);
  border-top: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.55;
}

.quote-guidance li::before {
  position: absolute;
  top: 19px;
  left: 2px;
  width: 9px;
  height: 9px;
  content: "";
  background: var(--orange-500);
  border-radius: 50%;
}

.quote-contact-panel {
  margin-top: 28px;
  padding: 23px;
  color: var(--paper);
  background: var(--navy-900);
  border-radius: var(--radius-content);
}

.quote-contact-panel span {
  display: block;
  color: var(--orange-300);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.quote-contact-panel a {
  display: inline-block;
  margin-top: 7px;
  color: var(--paper);
  font-size: 23px;
  font-weight: 700;
  text-decoration: none;
}

.quote-contact-panel p {
  margin: 10px 0 0;
  color: var(--copy-dark);
  font-size: 12px;
}

.quote-form {
  padding: 50px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: 0 24px 70px rgba(3,28,53,.08);
}

.form-heading h2 {
  margin: 12px 0 8px;
  color: var(--navy-950);
  font-size: 38px;
}

.form-heading > p:last-child {
  margin: 0;
  color: var(--copy);
  font-size: 13px;
}

.quote-form fieldset {
  margin: 42px 0 0;
  padding: 0;
  border: 0;
}

.quote-form legend {
  width: 100%;
  margin-bottom: 23px;
  padding-bottom: 13px;
  color: var(--navy-950);
  border-bottom: 1px solid var(--line);
  font-size: 17px;
  font-weight: 700;
}

.quote-form legend span {
  display: inline-grid;
  width: 30px;
  height: 30px;
  margin-right: 10px;
  place-items: center;
  color: var(--paper);
  background: var(--navy-900);
  border-radius: 50%;
  font-size: 10px;
}

.field-grid {
  display: grid;
  gap: 20px;
}

.field-grid-two {
  grid-template-columns: repeat(2,minmax(0,1fr));
}

.field-span-two {
  grid-column: 1 / -1;
}

.quote-form label > span {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.quote-form label small {
  margin-left: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--blue-50);
  border: 1px solid #CBD8E2;
  border-radius: var(--radius-field);
  font: inherit;
  font-size: 15px;
  transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.quote-form textarea {
  min-height: 88px;
  resize: vertical;
  line-height: 1.5;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: 0;
  background: var(--paper);
  border-color: var(--focus);
  box-shadow: 0 0 0 3px rgba(27,118,209,.14);
}

.quote-form [aria-invalid="true"] {
  border-color: #B42318;
  box-shadow: 0 0 0 3px rgba(180,35,24,.1);
}

.upload-field {
  position: relative;
  padding: 30px;
  text-align: center;
  background: var(--blue-50);
  border: 1px dashed #9BB0C2;
  border-radius: var(--radius-content);
}

.upload-field label strong,
.upload-field label span {
  display: block;
}

.upload-field label strong {
  color: var(--navy-950);
  font-size: 15px;
}

.upload-field label span {
  max-width: 500px;
  margin: 7px auto 0;
  color: var(--copy);
  font-size: 12px;
}

.upload-field input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.upload-button {
  min-height: 42px;
  margin-top: 18px;
  color: var(--navy-900);
  background: var(--paper);
  border-color: #B7C6D2;
}

.file-list {
  margin-top: 14px;
  color: var(--copy);
  font-size: 12px;
  line-height: 1.5;
}

.privacy-consent {
  margin-top: 30px;
  padding: 18px;
  background: var(--blue-50);
  border-radius: var(--radius-field);
}

.privacy-consent label {
  display: grid;
  grid-template-columns: 19px 1fr;
  gap: 11px;
  align-items: start;
}

.privacy-consent input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--orange-500);
}

.privacy-consent label > span {
  margin: 0;
  color: var(--copy);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.55;
}

.privacy-consent a {
  color: var(--navy-900);
  font-weight: 700;
}

.form-honeypot {
  position: absolute;
  left: -10000px;
}

.form-error {
  margin-top: 22px;
  padding: 14px 16px;
  color: #8A1C16;
  background: #FFF1F0;
  border: 1px solid #F1B5B0;
  border-radius: var(--radius-field);
  font-size: 13px;
}

.form-submit {
  min-height: 52px;
  margin-top: 26px;
  padding-inline: 25px;
  font-size: 15px;
}

.form-submit[disabled] {
  cursor: wait;
  opacity: .7;
}

.form-security {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.thank-you-main {
  min-height: calc(100vh - 146px);
  display: grid;
  padding: 86px 20px 100px;
  place-items: center;
  background:
    radial-gradient(circle at 85% 10%, rgba(27,118,209,.16), transparent 30%),
    var(--blue-50);
}

.thank-you-card {
  width: min(820px,100%);
  padding: 58px;
  text-align: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: 0 30px 80px rgba(3,28,53,.1);
}

.thank-you-mark {
  width: 64px;
  height: 64px;
  display: grid;
  margin: 0 auto 24px;
  place-items: center;
  color: var(--paper);
  background: var(--success);
  border-radius: 50%;
  font-size: 31px;
  font-weight: 700;
}

.thank-you-card .eyebrow {
  justify-content: center;
}

.thank-you-card h1 {
  margin: 15px auto 18px;
  color: var(--navy-950);
  font-size: 46px;
  line-height: 1.08;
}

.thank-you-lead {
  max-width: 680px;
  margin: 0 auto;
  color: var(--copy);
  font-size: 16px;
  line-height: 1.7;
}

.thank-you-next {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  margin-top: 38px;
  text-align: left;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.thank-you-next article {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  padding: 24px 18px;
  color: var(--copy);
  font-size: 11px;
  line-height: 1.55;
}

.thank-you-next article + article {
  border-left: 1px solid var(--line);
}

.thank-you-next b {
  color: var(--orange-600);
  font-size: 10px;
}

.thank-you-next strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 12px;
}

.thank-you-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

.thank-you-call {
  color: var(--navy-900);
  background: var(--paper);
  border-color: #AFC0CD;
}

.thank-you-footer {
  padding: 0;
}

@media (max-width: 900px) {
  .quote-intro-grid,
  .quote-layout {
    grid-template-columns: 1fr;
  }

  .quote-intro-grid {
    gap: 44px;
  }

  .quote-guidance {
    position: static;
  }

  .quote-layout {
    gap: 36px;
  }
}

@media (max-width: 640px) {
  .quote-intro {
    padding: 58px 0 54px;
  }

  .quote-intro-grid {
    gap: 32px;
  }

  .quote-intro-copy h1 {
    font-size: 34px;
  }

  .quote-intro-copy > p:last-child {
    font-size: 16px;
  }

  .quote-response-card {
    padding: 24px;
  }

  .quote-main {
    padding: 58px 0 86px;
  }

  .quote-form {
    padding: 30px 20px;
  }

  .form-heading h2 {
    font-size: 28px;
  }

  .field-grid-two {
    grid-template-columns: 1fr;
  }

  .field-span-two {
    grid-column: auto;
  }

  .quote-form input,
  .quote-form select,
  .quote-form textarea {
    font-size: 16px;
  }

  .upload-field {
    padding: 24px 16px;
  }

  .form-submit {
    width: 100%;
  }

  .thank-you-main {
    padding: 54px 16px 82px;
  }

  .thank-you-card {
    padding: 38px 20px;
  }

  .thank-you-card h1 {
    font-size: 34px;
  }

  .thank-you-next {
    grid-template-columns: 1fr;
  }

  .thank-you-next article + article {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .thank-you-actions {
    flex-direction: column;
  }
}
