/* Cost-page study: the confirmed PAW proportions, photography and quiet rules. */
.cost-guide { --cost-space: clamp(3.25rem, 6vw, 5.5rem); }
.cost-guide > section { padding-block: var(--cost-space); }
.knowledge-cost .cost-guide h2 { font-size: clamp(2rem, 3.5vw, 3.25rem); font-weight: 600; letter-spacing: -.05em; line-height: 1.1; margin: .8rem 0 1.25rem; }
.cost-guide h2 em { font-style: normal; color: var(--subpage-teal); }
.cost-guide .eyebrow { margin: 0; }
.knowledge-cost .cost-guide p { line-height: 1.7; margin: 0; }
.cost-section-heading { display: grid; grid-template-columns: 1fr 1fr; gap: var(--subpage-gap); align-items: end; margin-bottom: 2.5rem; }
.cost-section-heading h2 { margin-bottom: 0 !important; }
.cost-section-heading > p { max-width: 47ch; padding-bottom: .15rem; }
.cost-market-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: var(--subpage-gap); align-items: start; }
.cost-site-photo { margin: 0; }
.cost-site-photo img { width: 100%; border-radius: .4rem; aspect-ratio: 4/3; object-fit: cover; }
.knowledge-cost .cost-site-photo figcaption { margin-top: .75rem; font-size: .875rem; line-height: 1.6; max-width: 55ch; }
.knowledge-cost .cost-market-label { color: var(--subpage-teal); font-size: .875rem; font-weight: 600; margin-bottom: 1.1rem; }
.cost-market-prices dl { margin: 0; }
.cost-primary-price dt { font-size: 1.15rem; font-weight: 600; }
.cost-primary-price dd { margin: .5rem 0 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: .45rem 1rem; }
.cost-primary-price dd strong { font-size: clamp(1.85rem,3vw,2.6rem); line-height: 1.1; letter-spacing: -.045em; font-weight: 600; }
.cost-primary-price dd > span { font-size: .9375rem; color: var(--muted); }
.knowledge-cost .cost-primary-explanation { margin-block: .9rem 1.5rem; font-size: 1rem; }
.cost-other-prices > div { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: start; gap: 1rem; border-top: 1px solid var(--subpage-rule); padding-block: 1rem; }
.cost-other-prices dt { font-size: 1rem; font-weight: 600; }
.cost-other-prices dd { margin: 0; text-align: right; }
.cost-other-prices dd strong { font-size: 1.15rem; font-weight: 600; }
.cost-other-prices small,.cost-other-prices dd span { display: block; font-size: .875rem; font-weight: 400; line-height: 1.6; color: var(--muted); margin-top: .2rem; }
.knowledge-cost .cost-price-source { font-size: .875rem; line-height: 1.6; margin-top: .25rem; }
.cost-market-footnote { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: var(--subpage-gap); margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid var(--subpage-rule); }
.cost-market-footnote > span,.knowledge-cost .cost-market-footnote p { font-size: .875rem; color: var(--muted); }
.cost-guide a:not(.button) { color: var(--subpage-teal); font-weight: 600; text-decoration: none; }
.cost-guide a:not(.button):hover { color: var(--subpage-navy); }
.cost-guide a:focus-visible,.cost-guide summary:focus-visible { outline: 2px solid var(--subpage-teal); outline-offset: 5px; }
.cost-example { background: var(--subpage-wash); }
.cost-example-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 2rem var(--subpage-gap); align-items: start; }
.cost-example-copy > p { max-width: 43ch; }
.knowledge-cost .cost-example-boundary { font-size: .9375rem; margin-top: 1.1rem; }
.cost-estimate { background: var(--subpage-paper); padding: clamp(1.4rem,3vw,2.4rem); border-radius: .4rem; }
.cost-estimate > header { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .35rem 1rem; margin-bottom: 1rem; font-weight: 600; font-size: 1rem; }
.cost-estimate > header small { color: var(--muted); font-size: .875rem; font-weight: 400; }
.cost-estimate dl { margin: 0; }
.cost-estimate dl > div { display: flex; justify-content: space-between; gap: 1.25rem; padding-block: 1rem; border-top: 1px solid var(--subpage-rule); }
.cost-estimate dt { font-size: 1rem; font-weight: 600; }
.cost-estimate dt small { display: block; color: var(--muted); font-size: .875rem; font-weight: 400; line-height: 1.6; margin-top: .2rem; }
.cost-estimate dd { margin: 0; font-size: 1.15rem; white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 600; }
.cost-estimate .cost-estimate-total { padding-top: 1.3rem; align-items: baseline; }
.cost-estimate-total dd { font-size: clamp(1.5rem,2.3vw,2rem); letter-spacing: -.04em; }
.knowledge-cost .cost-estimate > p { font-size: .875rem; margin-top: .6rem; line-height: 1.6; }
.cost-calculation-notes { grid-column: 1/-1; }
.cost-guide summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-weight: 500; }
.cost-guide summary::-webkit-details-marker { display: none; }
.cost-guide summary > span { flex: 0 0 1.25rem; font-size: 1.25rem; text-align: center; line-height: 1; }
.cost-guide details[open] > summary > span { transform: rotate(45deg); }
.cost-calculation-notes summary { min-height: 3rem; font-size: .9375rem; }
.cost-calculation-notes > div { padding-top: 1rem; display: grid; grid-template-columns: 1fr 1fr; gap: var(--subpage-gap); }
.knowledge-cost .cost-calculation-notes p { font-size: .9375rem; }
.cost-scope-layout { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: var(--subpage-gap); }
.cost-scope-layout > header p { max-width: 35ch; }
.cost-scope-details details { border-top: 1px solid var(--subpage-rule); }
.cost-scope-details details:last-of-type { border-bottom: 1px solid var(--subpage-rule); }
.cost-scope-details summary { min-height: 4.1rem; padding-block: 1rem; font-size: 1.0625rem; }
.cost-scope-details details > div { padding: 0 2.25rem 1.4rem 0; }
.knowledge-cost .cost-scope-details details p { font-size: 1rem; }
.knowledge-cost .cost-format-link { font-size: .9375rem; margin-top: 1.6rem; }
.cost-format-link a { display: inline-flex; gap: .5rem; }
.cost-contact { background: var(--subpage-wash); }
.cost-contact > .wrap { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.65fr); gap: var(--subpage-gap); align-items: center; }
.knowledge-cost .cost-contact h2 { font-size: clamp(1.9rem,3vw,2.75rem); }
.cost-contact p { max-width: 54ch; }
.cost-contact-action { justify-self: end; max-width: 19rem; }
.knowledge-cost .cost-contact-action p { font-size: .875rem; margin-top: .8rem; }
@media (max-width: 1000px) {
    .cost-other-prices > div { grid-template-columns: minmax(0,1fr); gap: .5rem; }
    .cost-other-prices dd { text-align: left; }
}
@media (max-width: 800px) {
    .cost-section-heading,.cost-market-layout,.cost-example-layout,.cost-scope-layout,.cost-contact > .wrap,.cost-calculation-notes > div { grid-template-columns: minmax(0,1fr); }
    .cost-section-heading { gap: 1.1rem; margin-bottom: 2rem; }
    .cost-other-prices > div { grid-template-columns: minmax(0,1fr) auto; }
    .cost-other-prices dd { text-align: right; }
    .cost-market-footnote { grid-template-columns: minmax(0,1fr); gap: .65rem; margin-top: 1.7rem; }
    .cost-example-layout { gap: 2rem; }
    .cost-calculation-notes { grid-column: 1; }
    .cost-contact-action { justify-self: start; }
    .cost-scope-layout { gap: 2rem; }
}
@media (max-width: 380px) {
    .cost-other-prices > div { grid-template-columns: minmax(0,1fr); }
    .cost-other-prices dd { text-align: left; }
    .cost-estimate { padding: 1.1rem; }
    .cost-estimate dl > div { gap: .6rem; }
    .cost-estimate-total { flex-direction: column; }
}

/* Neutralize the older global accordion decoration within this page only. */
.knowledge-cost .cost-guide details { margin: 0; padding: 0; }
.knowledge-cost .cost-guide summary { font-family: 'Public Sans',sans-serif; letter-spacing: 0; }
.knowledge-cost .cost-guide summary::before,
.knowledge-cost .cost-guide summary::after { content: none; display: none; }
.knowledge-cost .cost-calculation-notes summary { padding-block: 1rem; font-size: .9375rem; min-height: 3.5rem; }
.knowledge-cost .cost-guide dl { font-family: 'Public Sans',sans-serif; }
.knowledge-cost .cost-primary-explanation { margin-top: .9rem; margin-bottom: 1.5rem; }
.knowledge-cost .cost-example-boundary { margin-top: 1.1rem; }

.knowledge-cost .cost-guide .cost-primary-explanation { margin-block: .9rem 1.5rem; }
.knowledge-cost .cost-guide .cost-example-boundary { margin-top: 1.1rem; }

/* A single reading hierarchy for the market-price section. */
.knowledge-cost .cost-market-heading { margin-bottom: 2.25rem; }
.knowledge-cost .cost-market-heading h2 { margin: 0 0 .8rem; }
.knowledge-cost .cost-market-heading p { margin: 0; font-size: 1rem; }
.cost-market-layout { align-items: start; }
.cost-price-list > div { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 1.25rem; padding-block: 1.5rem; border-bottom: 1px solid var(--subpage-rule); }
.cost-price-list > div:first-child { padding-top: 0; }
.cost-price-list dt { font-size: 1.0625rem; font-weight: 500; line-height: 1.5; max-width: 19ch; }
.cost-price-list dd { margin: 0; text-align: right; }
.cost-price-list strong { display: block; font-size: clamp(1.5rem,2.4vw,2rem); font-weight: 600; line-height: 1.2; letter-spacing: -.035em; white-space: nowrap; }
.cost-price-list dd span { display: block; font-size: .875rem; color: var(--muted); line-height: 1.6; margin-top: .4rem; }
.knowledge-cost .cost-guide .cost-tax-note { font-size: .875rem; margin: 1rem 0 .5rem; }
.cost-price-notes summary { min-height: 3rem; font-size: .9375rem; padding-block: .5rem; }
.cost-price-notes > div { padding-top: .8rem; }
.knowledge-cost .cost-guide .cost-price-notes p { font-size: .9375rem; margin-bottom: 1rem; }
@media (max-width: 1050px) and (min-width: 801px) {
 .cost-price-list > div { grid-template-columns: minmax(0,1fr); gap: .6rem; }
 .cost-price-list dd { text-align: left; }
}
@media (max-width: 560px) {
 .cost-market-layout { gap: 2rem; }
 .cost-price-list > div { gap: .75rem; }
 .cost-price-list dt { font-size: 1rem; }
 .cost-price-list strong { font-size: 1.5rem; }
 .cost-price-list dd span { max-width: 19ch; }
}
@media (max-width: 360px) {
 .cost-price-list > div { grid-template-columns: minmax(0,1fr); gap: .55rem; }
 .cost-price-list dt { max-width: none; }
 .cost-price-list dd { text-align: left; }
 .cost-price-list dd span { max-width: none; }
}
