.quote-page {
  --quote-ink: #172233;
  --quote-muted: #475467;
  --quote-line: #d8dee6;
  --quote-navy: #142439;
  --quote-soft: #f2f5f8;
  color: var(--quote-ink);
}

body:has(> .quote-page) .header-cta:not(:hover) {
  color: #17191d;
}

.quote-page .quote-wrap {
  width: min(1140px, calc(100% - 64px));
  margin-inline: auto;
}

.quote-page section {
  padding: 64px 0;
  scroll-margin-top: 94px;
}

.quote-page h1,
.quote-page h2,
.quote-page h3 {
  line-height: 1.08;
  letter-spacing: -.025em;
  margin: 0 0 12px;
}

.quote-page h2 {
  font-size: clamp(1.8rem, 3.35vw, 2.65rem);
  text-align: left;
}

.quote-page h3 {
  font-size: 1.24rem;
}

.quote-page p {
  color: var(--quote-muted);
  line-height: 1.6;
}

.quote-page .quote-link,
.quote-page .quote-faq a {
  color: #183850;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.quote-page a:focus-visible,
.quote-page button:focus-visible,
.quote-page input:focus-visible,
.quote-page select:focus-visible,
.quote-page textarea:focus-visible,
.quote-page #quote-scope-result:focus-visible {
  outline: 2px solid #216192;
  outline-offset: 3px;
}

.quote-page .quote-proof a:focus-visible {
  outline-color: white;
}

.quote-hero-shell {
  background: #faf7f2;
  border-bottom: 1px solid #e6dfd6;
}

.quote-breadcrumb {
  display: flex;
  gap: 9px;
  align-items: center;
  padding-top: 22px;
  color: var(--quote-muted);
  font-size: .8rem;
}

.quote-breadcrumb a {
  color: inherit;
  text-underline-offset: 3px;
}

.quote-page .quote-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(24px, 5.2vw, 72px);
  align-items: center;
  padding: 28px 0 44px;
}

.quote-hero-copy h1 {
  max-width: 17ch;
  font-size: clamp(2.3rem, 5.25vw, 4.1rem);
  font-weight: 900;
  letter-spacing: -.045em;
}

.quote-hero-copy > p {
  max-width: 49ch;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
}

.quote-hero-price {
  display: grid;
  gap: 3px;
  margin: 20px 0;
  padding-left: 13px;
  border-left: 3px solid var(--orange);
}

.quote-hero-price strong {
  font-size: 1.125rem;
}

.quote-hero-price span,
.quote-actions > span {
  color: var(--quote-muted);
  font-size: .88rem;
}

.quote-actions {
  display: grid;
  justify-items: start;
  gap: 7px;
}

.quote-page .quote-button {
  display: inline-flex;
  min-height: 48px;
  max-width: 100%;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 12px 16px;
  background: var(--orange);
  color: #17191d;
  font: 700 .9375rem/1.35 Inter, sans-serif;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.quote-page .quote-button[hidden] {
  display: none;
}

.quote-page .quote-button:hover {
  background: #ff743f;
}

.quote-proof {
  padding: clamp(24px, 3.35vw, 40px);
  border-radius: 12px;
  background: var(--quote-navy);
  color: #fff;
}

.quote-proof h2 {
  margin-bottom: 13px;
  color: #e8eef5;
  font-size: 1rem;
  letter-spacing: normal;
}

.quote-page .quote-proof-result {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  font-weight: 600;
  line-height: 1.28;
}

.quote-proof-result strong {
  color: #ffae8d;
  font: 900 clamp(3.1rem, 6.15vw, 5rem)/.88 Archivo, sans-serif;
  letter-spacing: -.055em;
}

.quote-proof figure {
  border-top: 1px solid #516175;
  margin: 19px 0 15px;
  padding-top: 15px;
}

.quote-proof blockquote {
  margin: 0;
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.5;
}

.quote-proof figcaption {
  margin-top: 8px;
  color: #d0dbe7;
  font-size: .84rem;
}

.quote-proof .quote-link {
  color: #ffccb5;
  font-size: .9rem;
}

.quote-section-heading > p,
.quote-work > div > p {
  max-width: 62ch;
}

.quote-page .quote-intake {
  display: block;
  margin-top: 23px;
  padding: 0;
  background: transparent;
}

.quote-builder-grid,
.quote-contact,
.quote-work,
.quote-results {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: start;
}

.quote-builder-grid {
  align-items: stretch;
}

.quote-fields,
.quote-scope,
.quote-handoff {
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid var(--quote-line);
  border-radius: 10px;
  margin: 0;
  min-width: 0;
}

.quote-fields {
  display: grid;
  gap: 14px;
  align-content: start;
  justify-items: start;
}

.quote-field {
  display: grid;
  gap: 6px;
  min-width: 0;
  width: 100%;
}

.quote-field label {
  font-weight: 600;
  font-size: .9375rem;
}

.quote-field input,
.quote-field select,
.quote-field textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #8b98a7;
  border-radius: 5px;
  background: #fff;
  color: var(--quote-ink);
  padding: 10px 11px;
  font: 400 1rem/1.35 Inter, sans-serif;
}

.quote-field textarea {
  resize: vertical;
}

.quote-field p {
  font-size: .875rem;
  margin: 0;
}

.quote-scope {
  background: var(--quote-soft);
}

.quote-lines {
  display: grid;
  margin: 0;
}

.quote-lines div {
  padding: 10px 0;
}

.quote-lines div + div {
  border-top: 1px solid var(--quote-line);
}

.quote-lines dt {
  margin-bottom: 3px;
  font-weight: 600;
}

.quote-lines dd {
  margin: 0;
  color: var(--quote-muted);
  font-size: .9375rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.quote-scope .quote-link {
  display: inline-block;
  margin-top: 10px;
}

.quote-contact {
  margin-top: 24px;
  padding: clamp(20px, 4vw, 36px);
  border: 1px solid var(--quote-line);
  border-radius: 10px;
  scroll-margin-top: 94px;
}

.quote-contact h3 {
  font-size: clamp(1.45rem, 2.8vw, 2rem);
}

.quote-contact p {
  max-width: 40ch;
  margin-bottom: 11px;
}

.quote-contact-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px 10px;
}

.quote-field-wide {
  grid-column: 1 / -1;
}

.quote-field p#quote-message-help {
  max-width: none;
  margin: 0;
}

.quote-work-shell {
  background: var(--quote-soft);
}

.quote-handoff {
  background: #fff;
  margin-top: 20px;
}

.quote-work .ct-process-preview {
  max-width: 100%;
  margin: 2px 0 0;
}

.quote-page .quote-track-record {
  padding: 42px 0;
  background: var(--quote-navy);
  color: #fff;
}

.quote-results {
  align-items: center;
}

.quote-results h2 {
  color: #fff;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
}

.quote-results p {
  color: #e2ebf6;
  margin-bottom: 10px;
}

.quote-results .quote-link {
  color: #ffccb5;
}

.quote-results .quote-link:focus-visible {
  outline-color: white;
}

.quote-stats {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
  padding: 0;
  margin: 0;
}

.quote-stats div {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 14px;
  border: 1px solid #617285;
  border-radius: 8px;
}

.quote-stats dt {
  color: #e2ebf6;
  font-size: .9rem;
}

.quote-stats dd {
  grid-row: 1;
  margin: 0;
  color: #ffae8d;
  font: 900 clamp(2rem, 4vw, 3.5rem)/1 Archivo, sans-serif;
}

.quote-faq-items {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0 34px;
  margin: 21px 0;
}

.quote-faq-items > div {
  border-top: 1px solid var(--quote-line);
  padding: 16px 0;
}

.quote-faq-items h3 {
  margin-bottom: 7px;
}

@media (max-width: 760px) {
  .quote-page .quote-wrap {
    width: calc(100% - 36px);
  }

  .quote-page section {
    padding: 42px 0;
  }

  .quote-page .quote-hero,
  .quote-builder-grid,
  .quote-contact,
  .quote-work,
  .quote-results,
  .quote-faq-items {
    grid-template-columns: minmax(0, 1fr);
  }

  .quote-breadcrumb {
    padding-top: 13px;
  }

  .quote-page .quote-hero {
    padding: 16px 0 27px;
    gap: 18px;
  }

  .quote-hero-price {
    margin: 13px 0;
  }

  .quote-proof {
    padding: 18px;
  }

  .quote-proof figure {
    margin: 13px 0 10px;
    padding-top: 10px;
  }
}

@media (max-width: 390px) {
  .quote-contact-fields {
    grid-template-columns: minmax(0, 1fr);
  }
}
