/* The homepage uses a dark masthead and report card, followed by a light service directory. */
.home-offer.hero { background: radial-gradient(ellipse at 78% 28%, #19354b 0%, transparent 57%), #0b1728; }
.home-offer .hero-grid { grid-template-columns: minmax(0,1.22fr) minmax(0,.88fr); gap: clamp(36px,6vw,94px); min-height: 0; padding-block: clamp(40px,4.6vw,72px); }
.home-offer .intro { padding: 0; }
.hero-location { margin: 0 0 20px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 3px 10px; color: #d6e4ef; font-size: clamp(.98rem,1.2vw,1.1rem); font-weight: 500; }
.hero-location strong { color: #ffbd9f; font-weight: 650; }
.home-offer h1 { font: 600 clamp(2.65rem,4.8vw,4.65rem)/1.04 Manrope, Geist, sans-serif; letter-spacing: -.035em; text-wrap: balance; margin: 0; }
.home-offer h1 span { color: #c9dfef; display: block; }
.home-offer .lede { max-width: 53ch; margin: 20px 0 26px; font-size: clamp(1rem,1.35vw,1.19rem); }
.home-offer .response { margin: 15px 0 0; color: #bbcad8; font-size: .94rem; }
.home-offer .primary { background: #ff936c; color: #1c1c22; }
.home-offer .secondary { border-color: #8095a6; }
.report-slip { width: 100%; max-width: 510px; justify-self: end; min-width: 0; margin: 0; background: #fff; color: #162a3e; border-radius: 12px; overflow: hidden; box-shadow: 0 18px 45px #03101e42; }
.report-slip__photo { height: clamp(90px,9vw,140px); background: #243a4b; }
.report-slip__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 52% 59%; }
.report-slip__body { padding: clamp(18px,2.05vw,30px); }
.report-slip__head, .report-slip__meta { display: flex; gap: 7px 12px; align-items: baseline; flex-wrap: wrap; }
.report-slip__head { justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid #d4dfe5; }
.report-slip__head strong { font: 650 1.05rem/1.3 Manrope, sans-serif; color: #172e45; }
.report-slip__head span, .report-slip__meta { color: #45596a; font-size: .86rem; }
.report-slip .report-slip__meta { margin: 15px 0 7px; }
.report-slip__risk { color: #853a23; background: #f9e8dc; font-weight: 650; border-radius: 3px; padding: 1px 7px; }
.report-slip h2 { font: 600 clamp(1.42rem,2.12vw,2rem)/1.12 Manrope, sans-serif; letter-spacing: -.035em; margin-bottom: 8px; }
.report-slip__body > p { margin: 0; line-height: 1.5; }
.report-slip__body .report-slip__result { padding-left: 11px; margin: 13px 0 0; border-left: 3px solid #3d826c; color: #304c4a; }
.report-slip__result strong { color: #255d4d; }
.report-slip a, .reader-links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 650; }
.report-slip a { margin: 5px 0 -6px; color: #1d4662; }
.service-directory { display: grid; grid-template-columns: minmax(230px,.66fr) minmax(0,1.34fr); gap: clamp(28px,6vw,90px); align-items: start; }
.directory-intro h2 { max-width: 14ch; }
.directory-intro > p { margin: 14px 0; color: var(--muted); max-width: 33ch; }
.directory-intro .filters { margin: 18px 0 12px; gap: 6px; }
.directory-intro .filters button { min-height: 44px; padding: 7px 12px; border-radius: 5px; }
.directory-intro .text-link { display: inline-flex; min-height: 44px; align-items: center; }
.service-directory .service-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 0; margin: 0; border-top: 1px solid #bdcbd5; }
.service-directory .service { display: grid; grid-template-columns: 100px minmax(0,1fr); gap: 20px; align-items: center; padding: 15px 3px; border: 0; border-bottom: 1px solid #cbd6dc; background: transparent; border-radius: 0; min-width: 0; }
.service-directory .service:hover, .service-directory .service:focus-within { background: #edf3f5; }
.service-directory .service .service-image { display: block; width: 100%; height: auto; aspect-ratio: 1.6; object-fit: cover; margin: 0; border-radius: 4px; }
.service-directory .service h3 { font-size: clamp(1.15rem,1.65vw,1.45rem); margin: 0; }
.service-directory .service h3 a { color: #132d43; text-decoration: underline; text-decoration-color: #9eafba; text-underline-offset: 4px; }
.service-directory .service p { margin: 4px 0 0; line-height: 1.5; }
.service-directory .service[hidden] { display: none; }

.combined-routes { border-top: 1px solid var(--rule); padding-top: 26px; }
.combined-routes h2 { font-size: clamp(1.65rem, 2.8vw, 2.45rem); }
.combined-routes ul { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 16px 0; list-style: none; }
.combined-routes li a { display: block; padding: 10px 16px; border: 1px solid #bdc9d2; border-radius: 5px; background: white; font-weight: 600; }
.reader-layout { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1fr); gap: clamp(28px, 8vw, 100px); align-items: start; }
.reader-layout h2 { max-width: 15ch; }
.reader-links { list-style: none; padding: 0; margin: 0; }
.reader-links li { border-top: 1px solid #4b5b6d; padding-block: 8px 16px; }
.reader-links li:last-child { padding-bottom: 0; }
.reader-links p { margin: 0; }
.reader-links a { color: #fafcfe; }

.buyer-wrap { box-sizing: border-box; width: min(100% - 2 * clamp(16px, 4.5vw, 56px), 1160px); margin-inline: auto; }
.buyer-intro { padding-block: clamp(24px, 4vw, 58px); }
.buyer-intro h1 { margin: 8px 0 12px; font: 620 clamp(2.2rem, 5vw, 4.25rem)/1.06 var(--display); letter-spacing: -.045em; }
.buyer-intro p { max-width: 66ch; font-size: clamp(1rem, 1.4vw, 1.16rem); }
.buyer-intro nav { margin-bottom: 12px; font-size: .91rem; }
.buyer-intro nav a { padding-block: 8px; }
.fee-intro { background: #eaf0f3; color: #172c40; border-bottom: 1px solid #d0dce2; }
.fee-intro h1, .fee-intro a { color: #132b42; }
.fee-intro p, .fee-intro nav { color: #43596b; }
.fee-compare { padding-block: clamp(24px, 3.8vw, 52px); }
.fee-compare h2, .fee-detail h2, .proposal-grid h2 { font: 650 clamp(1.45rem, 2.25vw, 2rem)/1.2 var(--display); letter-spacing: -.03em; margin: 0 0 10px; }
.fee-cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; margin-top: 20px; }
.fee-card { display: flex; flex-direction: column; padding: clamp(18px, 2.25vw, 32px); background: white; border: 1px solid #c4cfd9; border-radius: 8px; }
.fee-card h3 { font: 650 1.15rem/1.3 var(--display); margin: 0; }
.fee-card .fee { display: block; margin: 18px 0 2px; font: 650 clamp(1.75rem, 2.9vw, 2.7rem)/1.1 var(--display); letter-spacing: -.04em; color: #14253b; }
.fee-card .tax { color: #43556a; font-size: .94rem; margin: 0 0 16px; }
.fee-card p { margin: 0 0 20px; }
.fee-card a { align-self: start; margin-top: auto; min-height: 44px; display: inline-flex; align-items: center; font-weight: 650; }
.fee-detail { border-top: 1px solid #cbd4dc; padding-block: clamp(26px, 4vw, 58px); }
.fee-columns { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px clamp(28px, 5vw, 78px); }
.fee-columns h3 { font: 650 1.1rem/1.4 var(--display); margin: 0 0 4px; }
.fee-detail p { max-width: 62ch; }
.fee-detail nav { display: flex; gap: 4px 20px; flex-wrap: wrap; margin-top: 15px; }
.fee-detail nav a { display: inline-flex; align-items: center; min-height: 44px; }
.proposal-intro { background: #e8eff2; border-bottom: 1px solid #c9d3dc; }
.proposal-grid { display: grid; align-items: start; grid-template-columns: minmax(0, 1.5fr) minmax(0, .85fr); gap: clamp(24px,5vw,76px); padding-block: clamp(24px, 4vw, 56px); }
.proposal-grid .inq { max-width: none; padding: clamp(16px, 2.8vw, 36px); }
.proposal-grid .inq__req { font-size: .9rem; }
.proposal-grid .inq__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.proposal-grid :is(.inq__field,select,textarea,input) { min-width: 0; }
.proposal-grid aside section + section { margin-top: 22px; border-top: 1px solid #ccd6dd; padding-top: 20px; }
.proposal-grid aside h2 { font-size: 1.25rem; }
.proposal-grid aside a { overflow-wrap: anywhere; }
.proposal-grid aside ul { margin: 0; padding: 0; list-style: none; }
.proposal-grid aside li a { display: inline-flex; align-items: center; min-height: 44px; }
.proposal-grid address { font-style: normal; }
.proposal-intro a { color: #243f5a; }
.proposal-view .topbar, .proposal-view .dock { display: none; }
.proposal-view { --dock: 0px; }
.proposal-example { border: 0; margin-top: 4px; }
.proposal-example summary { cursor: pointer; color: #234c68; font-weight: 600; padding-block: 9px; }
.proposal-example p { margin: 2px 0 8px; padding: 12px 16px; border-left: 3px solid #7996a9; background: #edf3f5; }
.sample-hero .hero__grid { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,.75fr); gap: clamp(24px,5vw,72px); align-items: center; }
.sample-hero .sample-cover { margin: 0; display: grid; justify-items: center; }
.sample-cover img { display: block; width: min(100%, 250px); height: auto; border: 1px solid #9caab6; box-shadow: 5px 6px 0 #314258; }
.sample-cover a { display: block; width: fit-content; max-width: 100%; }
.sample-hero .sample-links { display: flex; flex-wrap: wrap; gap: 0 18px; margin: 15px 0 0; }
.sample-hero .sample-links a { display: inline-flex; align-items: center; min-height: 44px; color: #234b67; text-decoration: underline; }
.sample-hero h1 { max-width: 18ch; }
@media (max-width: 799px) {
  .home-offer .hero-grid, .reader-layout, .fee-cards, .proposal-grid { grid-template-columns: minmax(0,1fr); }
  .home-offer .hero-grid { padding-block: 34px; gap: 24px; }
  .report-slip { justify-self: start; }
  .report-slip { max-width: 560px; width: 100%; }
  .service-directory { grid-template-columns: minmax(0,1fr); gap: 15px; }
  .directory-intro h2, .directory-intro > p { max-width: 58ch; }
  .fee-card .fee { margin-top: 12px; }
  .fee-card .tax { margin-bottom: 8px; }
  .fee-card p { margin-bottom: 8px; }
}
@media (max-width: 599px) {
  .fee-columns, .proposal-grid .inq__grid, .sample-hero .hero__grid { grid-template-columns: minmax(0,1fr); }
  .sample-hero .sample-cover { display: none; }
  .home-offer h1 { font-size: clamp(2.35rem, 8.7vw, 3.15rem); }
  .hero-location { gap: 2px 7px; margin-bottom: 13px; }
  .home-offer h1 span { display: inline; }
  .service-directory .service { grid-template-columns: 68px minmax(0,1fr); gap: 14px; }
  .service-directory .service .service-image { aspect-ratio: 1.15; }
  .report-slip__head { padding-bottom: 10px; }
  .report-slip__meta { margin-top: 12px; }
}
@media print {
  .home-offer .hero-grid, .reader-layout, .proposal-grid { display: block; }
  .report-slip, .sample-cover img { box-shadow: none; }
  .fee-card, .report-slip { break-inside: avoid; }
}

.fee-intro-layout { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(0,.7fr); gap: clamp(22px,7vw,100px); align-items: center; }
.fee-terms { margin: 0; padding-left: clamp(20px,3vw,36px); border-left: 2px solid #9eafba; }
.fee-terms div + div { margin-top: 12px; }
.fee-terms dt { font-size: .88rem; font-weight: 650; color: #344e63; }
.fee-terms dd { margin: 1px 0 0; max-width: 39ch; font-size: 1rem; color: #152d43; }
.proposal-grid > aside { padding: clamp(18px,2.4vw,34px); background: #edf3f5; border: 1px solid #d1dce1; border-radius: 9px; }
@media (max-width: 700px) {
  .fee-intro-layout { grid-template-columns: 1fr; }
  .fee-terms { border-left: 0; border-top: 1px solid #c3d0d9; padding: 13px 0 0; display: grid; gap: 14px; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .fee-terms div + div { margin: 0; }
}
@media (max-width: 370px) {
  .fee-terms { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
 .home-offer .report-slip__photo, .home-offer .report-slip__meta, .home-offer .report-slip__result, .home-offer .report-slip__body > p:not([class]) { display: none; }
 .home-offer .report-slip h2 { font-size: 1.2rem; margin-top: 12px; }
 .home-offer .report-slip__body { padding: 16px; }
}
