:root {
  --quote-ink: #10212a;
  --quote-forest: #173f35;
  --quote-blue: #2464a7;
  --quote-lime: #9bd324;
  --quote-ivory: #f7f4ec;
  --quote-paper: #fffdf8;
  --quote-line: #c9cec8;
  --quote-muted: #58645f;
  --quote-error: #a52a2a;
}

.page-quote {
  color: var(--quote-ink);
  background: var(--quote-ivory);
}

.page-quote .menu-toggle {
  min-width: 44px;
  width: 44px;
  height: 44px;
}

.page-quote :where(
  .btn,
  .menu-toggle,
  input:not([type="checkbox"]):not([type="radio"]),
  select,
  textarea,
  summary
) {
  min-height: 44px;
}

.quote-hero {
  position: relative;
  min-height: 30rem;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  overflow: hidden;
  color: #ffffff;
  background: #0d1715;
}

.quote-hero__media,
.quote-hero__veil {
  position: absolute;
  inset: 0;
}

.quote-hero__media {
  z-index: -2;
}

.quote-hero__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 46%;
}

.quote-hero__veil {
  z-index: -1;
  background: rgba(5, 12, 11, 0.72);
}

.quote-hero__content {
  width: min(calc(100% - 2rem), 76rem);
  margin-inline: auto;
  padding-block: 5rem 4.5rem;
}

.quote-kicker {
  margin: 0 0 0.7rem;
  color: var(--quote-blue);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0;
  text-transform: uppercase;
}

.quote-hero .quote-kicker {
  color: #c5ef67;
}

.quote-hero h1 {
  max-width: 12ch;
  margin: 0;
  color: #ffffff;
  font-family: "Newsreader", Georgia, serif;
  font-size: 4rem;
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
}

.quote-hero__lede {
  max-width: 42rem;
  margin: 1.2rem 0 0;
  color: #f3f6f1;
  font-size: 1.1rem;
  line-height: 1.65;
}

.quote-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.quote-hero .btn-secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(8, 20, 17, 0.78);
}

.quote-intake {
  padding-block: 4.25rem 5.5rem;
  background: var(--quote-ivory);
}

.quote-intake__intro {
  width: min(calc(100% - 2rem), 76rem);
  margin-inline: auto;
  max-width: 76rem;
  margin-bottom: 2.35rem;
}

.quote-intake__intro h2 {
  max-width: 17ch;
  margin: 0;
  color: var(--quote-ink);
  font-family: "Newsreader", Georgia, serif;
  font-size: 3rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
}

.quote-intake__intro > p:last-child {
  max-width: 44rem;
  margin: 0.85rem 0 0;
  color: var(--quote-muted);
  font-size: 1.03rem;
  line-height: 1.65;
}

.quote-layout {
  width: min(calc(100% - 2rem), 76rem);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 22rem);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
  max-width: 76rem;
}

.quote-form,
.quote-aside,
.quote-form-group,
.quote-field,
.quote-disclosure__body {
  min-width: 0;
}

.quote-form {
  margin: 0;
  scroll-margin-top: 5.5rem;
}

.quote-form-group {
  margin: 0;
  padding: 0 0 2.5rem;
  border: 0;
  border-bottom: 1px solid var(--quote-line);
}

.quote-form-group + .quote-form-group {
  margin-top: 2.7rem;
}

.quote-form-group:last-of-type {
  padding-bottom: 0;
  border-bottom: 0;
}

.quote-form-group > legend {
  width: 100%;
  padding: 0;
  color: var(--quote-forest);
  font-family: "Newsreader", Georgia, serif;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0;
}

.quote-group-note {
  max-width: 42rem;
  margin: 0.65rem 0 1.5rem;
  color: var(--quote-muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.quote-field-grid {
  display: grid;
  gap: 1.15rem 1.25rem;
}

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

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

.quote-field {
  display: grid;
  align-content: start;
  gap: 0.45rem;
}

.quote-field label {
  color: var(--quote-ink);
  font-size: 0.92rem;
  font-weight: 750;
  line-height: 1.35;
}

.quote-optional {
  color: var(--quote-muted);
  font-size: 0.76rem;
  font-weight: 500;
}

.quote-form :where(input:not([type="checkbox"]):not([type="radio"]), select, textarea) {
  width: 100%;
  max-width: 100%;
  border: 1px solid #aeb7b1;
  border-radius: 4px;
  color: var(--quote-ink);
  background: var(--quote-paper);
  font: inherit;
}

.quote-form :where(input:not([type="checkbox"]):not([type="radio"]), select) {
  padding: 0.72rem 0.78rem;
}

.quote-form textarea {
  min-height: 8rem;
  padding: 0.78rem;
  line-height: 1.5;
  resize: vertical;
}

.quote-form input[type="date"],
.quote-form input[type="time"] {
  color-scheme: light;
}

.quote-field-hint {
  margin: 0;
  color: var(--quote-muted);
  font-size: 0.8rem;
  line-height: 1.48;
}

.quote-disclosure {
  margin-top: 1.2rem;
  border-block: 1px solid var(--quote-line);
  border-radius: 4px;
  background: transparent;
}

.quote-disclosure summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 0.15rem;
  color: var(--quote-forest);
  font-weight: 800;
  line-height: 1.35;
  cursor: pointer;
}

.quote-disclosure summary::marker {
  color: var(--quote-blue);
}

.quote-disclosure__meta {
  flex: 0 0 auto;
  color: var(--quote-muted);
  font-size: 0.75rem;
  font-weight: 600;
}

.quote-disclosure__body {
  padding: 0.55rem 0 1.25rem;
}

.quote-disclosure:not([open]) > :not(summary) {
  display: none !important;
}

.quote-disclosure--subordinate {
  margin-top: 1.5rem;
  border-bottom: 0;
}

.quote-disclosure--subordinate summary {
  color: var(--quote-muted);
  font-weight: 700;
}

.quote-addon-group {
  margin: 0;
  padding: 0;
  border: 0;
}

.quote-addon-group + .quote-addon-group {
  margin-top: 1.5rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--quote-line);
}

.quote-addon-group > legend {
  width: 100%;
  margin-bottom: 0.5rem;
  padding: 0;
  color: var(--quote-ink);
  font-size: 0.88rem;
  font-weight: 800;
}

.quote-form [data-package-enhancements] .quote-disclosure__body {
  display: grid;
  gap: 0.35rem;
}

.quote-form .check {
  display: flex;
  min-height: 44px;
  align-items: flex-start;
  gap: 0.75rem;
  padding-block: 0.65rem;
  color: var(--quote-ink);
  line-height: 1.42;
  cursor: pointer;
}

.quote-form .check input {
  flex: 0 0 auto;
  width: 1.2rem;
  height: 1.2rem;
  margin-top: 0.2rem;
  accent-color: var(--quote-blue);
}

.quote-form .check:has(input:disabled) {
  opacity: 0.55;
  cursor: not-allowed;
}

.presentation-role-group {
  margin: 0.55rem 0 0.35rem 1.95rem;
  padding: 0.8rem 0 0.2rem 1rem;
  border: 0;
  border-left: 3px solid var(--quote-blue);
}

.presentation-role-group > legend {
  padding: 0;
  color: var(--quote-ink);
  font-size: 0.84rem;
  font-weight: 800;
}

.quote-form [hidden] {
  display: none !important;
}

.quote-addon-message {
  min-height: 0;
  margin: 0;
  padding: 0;
  color: var(--quote-muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

.quote-addon-message:not(:empty) {
  margin-top: 0.65rem;
  padding: 0.65rem 0.8rem;
  border-inline-start: 3px solid var(--quote-lime);
  background: #eef5e6;
}

.quote-form-actions {
  display: grid;
  justify-items: start;
  gap: 0.8rem;
  margin-top: 1.75rem;
}

.quote-form-note,
.quote-noscript {
  max-width: 42rem;
  margin: 0;
  color: var(--quote-muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

.quote-form-note--data-use {
  padding: 0.75rem 0.85rem;
  border-inline-start: 3px solid var(--quote-blue);
  background: #eef3f6;
  color: #294453;
}

.quote-noscript {
  margin-top: 1.25rem;
  padding: 0.75rem;
  border-left: 3px solid var(--quote-blue);
  background: #eaf1f7;
}

.form-status {
  display: none;
  width: 100%;
  margin-top: 0.25rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--quote-line);
  border-radius: 4px;
  line-height: 1.5;
}

.form-status.show {
  display: block;
}

.form-status.success {
  border-color: #527e34;
  color: #254614;
  background: #edf6e6;
}

.form-status.error {
  border-color: var(--quote-error);
  color: #7b1f1f;
  background: #fff1ef;
}

.quote-aside {
  display: grid;
  gap: 2.25rem;
}

.quote-summary {
  position: sticky;
  top: 6.5rem;
  padding: 1.45rem;
  border: 1px solid #b9c3bd;
  border-radius: 8px;
  background: var(--quote-paper);
  box-shadow: 0 18px 45px rgba(27, 43, 37, 0.1);
}

.quote-summary h2,
.quote-direct h2 {
  margin: 0;
  color: var(--quote-forest);
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0;
}

.quote-summary__list {
  display: grid;
  gap: 0;
  margin: 1.15rem 0 0;
}

.quote-summary__list > div {
  display: grid;
  grid-template-columns: 5.2rem minmax(0, 1fr);
  gap: 0.75rem;
  padding-block: 0.7rem;
  border-top: 1px solid #d8ddd8;
}

.quote-summary__list dt {
  color: var(--quote-muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.quote-summary__list dd {
  min-width: 0;
  margin: 0;
  color: var(--quote-ink);
  font-size: 0.88rem;
  font-weight: 750;
  overflow-wrap: anywhere;
}

.quote-summary__note {
  margin: 0.9rem 0 0;
  color: var(--quote-muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

.quote-direct {
  padding-top: 1.6rem;
  border-top: 3px solid var(--quote-lime);
}

.quote-contact-link {
  display: grid;
  gap: 0.15rem;
  min-height: 44px;
  margin-top: 0.8rem;
  padding-block: 0.5rem;
  color: var(--quote-blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.quote-contact-link span {
  color: var(--quote-muted);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.quote-contact-link strong {
  font-size: 0.9rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.quote-planning-links {
  display: grid;
  gap: 0.35rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--quote-line);
}

.quote-planning-links a {
  min-height: 44px;
  display: flex;
  align-items: center;
  color: var(--quote-forest);
  font-weight: 750;
  line-height: 1.35;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.quote-form :where(input, select, textarea, button, summary, [tabindex]):focus-visible,
.page-quote :where(.quote-contact-link, .quote-planning-links a):focus-visible {
  outline: 3px solid #85b2ff;
  outline-offset: 3px;
}

.quote-form :where(input, select, textarea):user-invalid {
  border-color: var(--quote-error);
}

.quote-form .hp-field {
  display: none !important;
}

@media (max-width: 68rem) {
  .quote-layout {
    grid-template-columns: minmax(0, 1fr);
    max-width: 48rem;
  }

  .quote-summary {
    position: static;
  }

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

  .quote-planning-links {
    grid-column: 1 / -1;
  }
}

@media (max-width: 48rem) {
  .quote-hero {
    min-height: 27rem;
  }

  .quote-hero__content {
    padding-block: 4rem 3.5rem;
  }

  .quote-hero h1 {
    max-width: 13ch;
    font-size: 3.2rem;
  }

  .quote-intake {
    padding-block: 3.5rem 4.25rem;
  }

  .quote-intake__intro h2 {
    font-size: 2.55rem;
  }

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

  .quote-field--full,
  .quote-planning-links {
    grid-column: auto;
  }
}

@media (max-width: 30rem) {
  .quote-hero {
    min-height: 26rem;
  }

  .quote-hero__content {
    padding-block: 3.4rem 2.8rem;
  }

  .quote-hero h1 {
    font-size: 2.55rem;
  }

  .quote-hero__lede {
    font-size: 1rem;
    line-height: 1.55;
  }

  .quote-hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .quote-hero__actions .btn,
  .quote-form-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .quote-intake__intro h2 {
    font-size: 2.2rem;
  }

  .quote-form-group > legend {
    font-size: 1.75rem;
  }

  .quote-summary {
    padding: 1.2rem;
  }

  .presentation-role-group {
    margin-left: 0.5rem;
  }
}

.quote-package-key {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: .35rem 0 .75rem;
  border-block: 1px solid #cbd5c8;
}

.quote-package-key > span {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: .65rem;
  padding: .7rem .5rem;
}

.quote-package-key > span + span {
  border-left: 1px solid #cbd5c8;
}

.quote-package-key__mark {
  display: block;
  width: 2.9rem;
  height: 2.9rem;
  flex: 0 0 2.9rem;
  object-fit: contain;
  filter: drop-shadow(0 .35rem .55rem rgba(13, 31, 18, .16));
}

.quote-package-key > span > span {
  display: grid;
  min-width: 0;
  gap: .12rem;
}

.quote-package-key strong,
.quote-package-key small {
  display: block;
}

.quote-package-key strong {
  color: #173f20;
  font-size: .82rem;
}

.quote-package-key small {
  color: #536258;
  font-size: .7rem;
  line-height: 1.35;
}

@media (max-width: 34rem) {
  .quote-package-key {
    grid-template-columns: minmax(0, 1fr);
  }

  .quote-package-key > span + span {
    border-top: 1px solid #cbd5c8;
    border-left: 0;
  }
}

@media (forced-colors: active) {
  .quote-form :where(input, select, textarea),
  .quote-disclosure,
  .quote-summary,
  .form-status,
  .quote-addon-message:not(:empty),
  .quote-direct,
  .quote-planning-links {
    border-color: CanvasText;
  }

  .quote-form .check:has(input:disabled) {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-quote *,
  .page-quote *::before,
  .page-quote *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  .quote-hero__media,
  .quote-hero__veil,
  .quote-hero__actions,
  .quote-aside,
  .site-header,
  .site-footer {
    display: none !important;
  }

  .quote-hero {
    min-height: auto;
    color: #000000;
    background: #ffffff;
  }

  .quote-hero h1,
  .quote-hero__lede,
  .quote-hero .quote-kicker {
    color: #000000;
  }

  .quote-layout {
    display: block;
    max-width: none;
  }
}
