.cost-guide-hero {
  padding-bottom: clamp(70px, 9vw, 118px);
  background:
    linear-gradient(90deg, transparent 0 72%, rgba(185, 255, 56, .12) 72% 86%, transparent 86%),
    linear-gradient(180deg, #fff 0%, #fbfcf8 100%);
}

.cost-guide-hero .guide-hero__inner {
  width: min(1160px, 100%);
}

.cost-guide-cover {
  position: relative;
  margin: clamp(58px, 8vw, 92px) 0 0;
  overflow: hidden;
  color: white;
  background: #060806;
  border: 1px solid #171914;
  box-shadow: 0 28px 90px rgba(16, 20, 15, .16);
}

.cost-guide-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, .15);
}

.cost-guide-cover img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.cost-guide-cover figcaption {
  position: absolute;
  inset: 0 auto 0 0;
  display: flex;
  width: 39%;
  padding: clamp(26px, 4.5vw, 54px);
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(90deg, rgba(6, 8, 6, .97), rgba(6, 8, 6, .82) 72%, transparent);
}

.cost-guide-cover figcaption > span,
.cost-factor-map figcaption span,
.cost-range-board figcaption span,
.quote-clarity > header > span {
  color: #b9ff38;
  font-size: 10px;
  font-weight: 730;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.cost-guide-cover figcaption > div {
  display: grid;
  align-content: center;
  gap: 5px;
}

.cost-guide-cover figcaption strong {
  font-size: clamp(38px, 5vw, 68px);
  letter-spacing: -.065em;
  line-height: .88;
}

.cost-guide-cover figcaption i {
  color: rgba(255, 255, 255, .48);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  font-style: italic;
}

.cost-guide-cover figcaption small {
  max-width: 220px;
  color: rgba(255, 255, 255, .56);
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.cost-factor-map,
.cost-range-board {
  width: min(1060px, 84vw);
  margin: 10px 0 clamp(72px, 10vw, 120px);
  padding: clamp(28px, 4vw, 46px);
  color: white;
  background: #171914;
  border: 1px solid #171914;
}

.cost-factor-map figcaption,
.cost-range-board figcaption {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: baseline;
  margin-bottom: 36px;
}

.cost-factor-map figcaption strong,
.cost-range-board figcaption strong {
  max-width: 620px;
  font-size: clamp(25px, 3vw, 38px);
  letter-spacing: -.045em;
  line-height: 1;
  text-align: right;
}

.cost-factor-map > div {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(255, 255, 255, .16);
}

.cost-factor-map > div > span {
  min-height: 190px;
  padding: 22px;
  border-right: 1px solid rgba(255, 255, 255, .16);
}

.cost-factor-map > div > span:last-child {
  border-right: 0;
}

.cost-factor-map i {
  display: block;
  margin-bottom: 52px;
  color: #b9ff38;
  font-size: 10px;
  font-style: normal;
}

.cost-factor-map strong,
.cost-factor-map small {
  display: block;
}

.cost-factor-map strong {
  margin-bottom: 8px;
  font-size: 23px;
  letter-spacing: -.035em;
}

.cost-factor-map small {
  color: rgba(255, 255, 255, .55);
  font-size: 11px;
  line-height: 1.45;
}

.quote-clarity {
  width: min(1060px, 84vw);
  margin: 0 0 clamp(88px, 12vw, 145px);
  padding: clamp(34px, 5vw, 62px);
  color: #171914;
  background: #f3f4ef;
  border: 1px solid #dfe2d9;
}

.quote-clarity > header {
  max-width: 780px;
  margin-bottom: 44px;
}

.quote-clarity > header h2 {
  margin: 14px 0 16px;
  font-size: clamp(40px, 5vw, 66px);
  letter-spacing: -.06em;
  line-height: .93;
}

.quote-clarity > header p {
  max-width: 650px;
  margin: 0;
  color: #666b62;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.6;
}

.quote-clarity__workspace {
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 1px;
  background: #171914;
  border: 1px solid #171914;
}

.quote-clarity form {
  display: grid;
  gap: 1px;
  background: #dfe2d9;
}

.quote-clarity label {
  display: grid;
  grid-template-columns: 25px 1fr;
  gap: 16px;
  align-items: center;
  padding: 21px 24px;
  cursor: pointer;
  background: white;
  transition: background .25s ease;
}

.quote-clarity label:has(input:checked) {
  background: #f1fadf;
}

.quote-clarity input {
  width: 20px;
  height: 20px;
  accent-color: #171914;
}

.quote-clarity label span,
.quote-clarity label strong,
.quote-clarity label small {
  display: block;
}

.quote-clarity label strong {
  margin-bottom: 3px;
  font-size: 15px;
}

.quote-clarity label small {
  color: #666b62;
  font-size: 11px;
}

.quote-clarity__result {
  display: flex;
  min-height: 330px;
  padding: 34px;
  flex-direction: column;
  color: white;
  background: #171914;
}

.quote-clarity__result > span {
  color: #b9ff38;
  font-size: 10px;
  font-weight: 730;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.quote-clarity__result > strong {
  max-width: 370px;
  margin: auto 0 13px;
  font-size: clamp(29px, 3.3vw, 44px);
  letter-spacing: -.05em;
  line-height: 1;
}

.quote-clarity__result > p {
  margin: 0 0 28px;
  color: rgba(255, 255, 255, .58);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  line-height: 1.55;
}

.quote-clarity__result > i {
  display: block;
  height: 7px;
  overflow: hidden;
  background: rgba(255, 255, 255, .13);
}

.quote-clarity__result > i b {
  display: block;
  width: var(--clarity, 0%);
  height: 100%;
  background: #b9ff38;
  transition: width .5s var(--ease-out);
}

.cost-range-board {
  color: #171914;
  background: white;
}

.cost-range-board figcaption span {
  color: #235c42;
}

.cost-range-board > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: #171914;
  border: 1px solid #171914;
}

.cost-range-board > div > span {
  display: flex;
  min-height: 115px;
  padding: 24px;
  flex-direction: column;
  justify-content: space-between;
  background: #f8f9f5;
}

.cost-range-board > div > span:nth-child(3),
.cost-range-board > div > span:nth-child(4) {
  background: #edf4e2;
}

.cost-range-board strong {
  font-size: 20px;
  letter-spacing: -.03em;
}

.cost-range-board i {
  color: #666b62;
  font-size: 11px;
  font-style: normal;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .cost-guide-cover figcaption {
    width: 48%;
  }

  .cost-factor-map > div {
    grid-template-columns: 1fr 1fr;
  }

  .cost-factor-map > div > span {
    border-bottom: 1px solid rgba(255, 255, 255, .16);
  }

  .cost-factor-map > div > span:nth-child(2) {
    border-right: 0;
  }

  .quote-clarity__workspace {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .cost-guide-cover {
    margin-inline: calc(-1 * var(--pad));
  }

  .cost-guide-cover img {
    aspect-ratio: 4 / 5;
    object-position: 62% center;
  }

  .cost-guide-cover figcaption {
    width: 72%;
    background: linear-gradient(90deg, rgba(6, 8, 6, .97), rgba(6, 8, 6, .72) 76%, transparent);
  }

  .cost-guide-cover figcaption strong {
    font-size: clamp(38px, 12vw, 58px);
  }

  .cost-factor-map,
  .cost-range-board,
  .quote-clarity {
    width: calc(100% + 2 * var(--pad));
    margin-left: calc(-1 * var(--pad));
  }

  .cost-factor-map figcaption,
  .cost-range-board figcaption {
    display: grid;
  }

  .cost-factor-map figcaption strong,
  .cost-range-board figcaption strong {
    text-align: left;
  }

  .cost-factor-map > div,
  .cost-range-board > div {
    grid-template-columns: 1fr;
  }

  .cost-factor-map > div > span,
  .cost-factor-map > div > span:nth-child(2) {
    min-height: 150px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .16);
  }

  .cost-factor-map i {
    margin-bottom: 30px;
  }

  .quote-clarity {
    padding-inline: var(--pad);
  }
}

@media print {
  .quote-clarity {
    break-inside: avoid;
  }

  .quote-clarity form {
    display: none;
  }

  .quote-clarity__workspace {
    display: block;
  }

  .quote-clarity__result {
    min-height: 0;
  }
}
