.quote-wrap { max-width: 56rem; }
.quote-heading { padding-block: clamp(2rem, 5vw, 4.5rem) 1.5rem; border-bottom: 1px solid var(--line); }
.quote-heading h1 { font-size: clamp(3rem, 7vw, 6rem); margin-bottom: 1rem; }
.quote-heading p { max-width: 50ch; margin: 0; }
.quote-form { margin-block: 1.5rem 2.5rem; }
#quote-verification { min-height: 65px; }
@media (scripting: none) {
  .quote-form { display: none; }
}
.quote-form > p { margin-bottom: 1.25rem; font-size: .9375rem; }
.quote-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 1.75rem; }
.quote-field { display: grid; align-content: start; gap: .4rem; min-width: 0; }
.quote-wide { grid-column: 1 / -1; }
.quote-field label, .quote-consent label { color: var(--navy); font-weight: 600; }
.quote-field :is(input, select, textarea) {
  width: 100%; min-width: 0; min-height: 48px; padding: .6rem .75rem;
  font: inherit; line-height: 1.4; color: var(--navy); background: white;
  border: 1px solid var(--muted); border-radius: 2px;
}
.quote-field textarea { min-height: 8rem; resize: vertical; }
.quote-fields small { color: var(--muted); }
.quote-consent { margin: 1.25rem 0; }
.quote-consent label, .quote-wrap a:not(.button) { display: inline-flex; align-items: center; min-height: 44px; }
.quote-consent label { cursor: pointer; gap: .65rem; }
.quote-consent input { width: 1.25rem; height: 1.25rem; accent-color: var(--teal); }
.quote-consent p { margin: 0; }
.quote-wrap a:not(.button) { color: var(--teal); overflow-wrap: anywhere; }
.quote-form button { margin-top: 1rem; }
.quote-form button:disabled { opacity: .65; cursor: wait; }
.quote-notice { margin-block: 1.25rem; padding: 1rem 1.25rem; background: #eaf0ee; border-left: 3px solid var(--teal); }
.quote-notice p { margin: 0; }
.quote-links { display: flex; flex-wrap: wrap; gap: .2rem 1.5rem; }
.quote-confirmation { font: 1.65rem/1.35 var(--serif); color: var(--navy); }
.quote-direct { margin: 2rem 0 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.quote-direct h2 { font-size: 2rem; margin-bottom: .5rem; }
@media (max-width: 680px) {
  .quote-fields { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 340px) {
  .quote-wrap { width: calc(100% - 20px); }
}

.quote-optional { margin: 1.25rem 0; border-block: 1px solid var(--line); }
.quote-optional summary { min-height: 44px; padding: .75rem 0; cursor: pointer; color: var(--teal); font-weight: 600; }
.quote-optional[open] .quote-fields { padding-block: .5rem 1.25rem; }
.quote-field input[type="file"] { font-size: 1rem; }
.quote-field input::file-selector-button { min-height: 44px; margin-right: .6rem; }
