/* Page-specific layout only. Typography, cards, buttons, FAQ and skyline
   shapes come from the same website classes used by the homepage. */
.benchmark-page .bm-skip { position: fixed; top: -5rem; left: 1rem; z-index: 100; background: var(--surface-strong); color: var(--primary-pressed); padding: .75rem 1rem; }
.benchmark-page .bm-skip:focus { top: .75rem; }
.benchmark-page .site-nav a[aria-current="page"] { color: var(--primary-pressed); background: color-mix(in srgb, var(--primary) 10%, var(--surface)); }
.benchmark-page .bm-hero { min-height: 0; padding: 8.5rem 0 3.5rem; overflow: visible; }
.benchmark-page .bm-hero-layout { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: 3rem; }
.benchmark-page .bm-hero-copy { min-width: 0; }
/* The title is long. At the homepage's size it set in four lines and pushed
   the quote button below a laptop's first screen, so here it sets smaller, in
   two lines beside the illustration. It stays the page's largest heading
   (.plans-title tops out at 3.2rem). */
.benchmark-page .bm-hero .hero-title { font-size: clamp(2.15rem, 3.9vw, 3.4rem); line-height: 1.06; margin-bottom: clamp(1rem, 1.6vw, 1.4rem); text-wrap: balance; }
.benchmark-page .bm-hero .hero-copy { margin-left: 0; margin-right: 0; margin-bottom: clamp(1.5rem, 2vw, 1.9rem); font-size: clamp(1.06rem, 1.35vw, 1.22rem); line-height: 1.5; text-wrap: pretty; }
.benchmark-page .bm-nowrap { white-space: nowrap; }
.benchmark-page .bm-hero .hero-actions { justify-content: flex-start; }
.benchmark-page .bm-architecture { width: 100%; max-width: 460px; margin: 0; justify-self: end; }
.benchmark-page .bm-architecture-scene { position: relative; width: 100%; aspect-ratio: 460 / 430; }
.benchmark-page .bm-architecture-scene svg { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
.benchmark-page .bm-architecture-background { z-index: 0; }
.benchmark-page .bm-architecture-report { z-index: 2; }
/* Fixed widths and responsive sizing come directly from the homepage buildings. */
.benchmark-page .bm-figure-buildings { position: absolute; left: 50%; bottom: 17.6744%; width: max-content; height: 64.4186%; gap: 6px; transform: translateX(-50%); z-index: 1; }
.benchmark-page .bm-architecture figcaption { text-align: center; font-size: .875rem; color: var(--text-soft); margin-top: -.75rem; }
.benchmark-page .bm-architecture figcaption strong { color: var(--primary-hover); font-weight: 500; }
.benchmark-page .bm-section { padding-top: 4rem; padding-bottom: 4.5rem; }
/* --primary-hover is 6.9:1 on the card; --primary sits at the 4.5:1 floor. */
.benchmark-page .bm-text-link { color: var(--primary-hover); text-decoration: underline; text-underline-offset: 3px; font-weight: 500; }
.benchmark-page .bm-text-link:hover { color: var(--primary-pressed); }
/* Keep a last word from sitting alone under a section heading. */
.benchmark-page .plans-title,
.benchmark-page .process-title,
.benchmark-page .faq-title { text-wrap: balance; }
.benchmark-page .bm-section-kicker { text-align: center; margin-bottom: 2rem; }
.benchmark-page .bm-section-kicker .plans-title { margin-bottom: 1rem; }
.benchmark-page .bm-program { min-width: 0; }
.benchmark-page .bm-program-heading { display: flex; width: 100%; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.benchmark-page .bm-deadline { font-size: .875rem; color: var(--text-soft); text-align: right; }
.benchmark-page .bm-deadline strong { display: block; font-family: var(--font-data); font-size: 1.6rem; font-weight: 500; color: var(--primary); }
.benchmark-page .bm-program-intro { margin-top: .75rem; margin-bottom: 0; flex-grow: 0; }
.benchmark-page .bm-program > .bm-text-link { margin-top: auto; }
.benchmark-page .bm-program > .bm-text-link + .bm-text-link { margin-top: .5rem; }
.benchmark-page .bm-facts { display: grid; width: 100%; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin: 1.5rem 0; }
/* Values sit on one baseline even when a label or a prefix wraps. */
.benchmark-page .bm-facts > div { display: flex; flex-direction: column; justify-content: space-between; padding: 1.25rem 0 1.25rem 1.25rem; }
.benchmark-page .bm-facts > div:first-child { padding-left: 0; }
.benchmark-page .bm-facts > div + div { border-left: 1px solid var(--border); }
.benchmark-page .bm-facts dt { font-size: .875rem; color: var(--text-soft); margin-bottom: .5rem; }
.benchmark-page .bm-facts dd { font-family: var(--font-data); font-size: 1.9rem; font-weight: 500; line-height: 1.2; letter-spacing: -.04em; }
.benchmark-page .bm-facts dd span { font-size: .875rem; letter-spacing: 0; white-space: nowrap; }
.benchmark-page .bm-facts .bm-threshold-prefix { font-family: var(--font-body); font-size: 1rem; margin-right: .3rem; }
.benchmark-page .bm-state-facts { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.benchmark-page .bm-why { background: var(--primary-pressed); color: var(--text-inverted); }
.benchmark-page .bm-why .bm-text-link { color: var(--text-inverted); }
.benchmark-page .bm-why .bm-text-link:hover { color: var(--pastel-yellow); }
.benchmark-page .bm-why .bm-text-link:focus-visible { outline-color: var(--text-inverted); }
.benchmark-page .bm-explainer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(3rem, 5vw, 6rem); align-items: center; }
.benchmark-page .bm-explainer .process-title { margin-bottom: 0; }
/* Quote buttons on the two dark bands: a light fill in the band's own ink
   (9.7:1), warming to the band links' hover colour. */
.benchmark-page .bm-band-action { margin: 0 0 1.5rem; }
.benchmark-page .bm-band-cta { color: var(--primary-pressed); background: var(--text-inverted); }
.benchmark-page .bm-band-cta:hover,
.benchmark-page .bm-band-cta:focus-visible { background: var(--pastel-yellow); transform: translateY(-1px); }
.benchmark-page .bm-band-cta:focus-visible { outline: 2px solid var(--text-inverted); outline-offset: 3px; }
.benchmark-page .bm-band-cta:active { transform: translateY(0) scale(.97); }
.benchmark-page .bm-service-steps { min-width: 0; }
.benchmark-page .bm-service-steps .bm-band-action { margin: 1.5rem 0 0; }
.benchmark-page .bm-service { background: var(--primary-pressed); color: var(--text-inverted); padding: 4rem 0 4.5rem; }
.benchmark-page .bm-why .process-title,
.benchmark-page .bm-why .process-lead,
.benchmark-page .bm-service-heading .process-title,
.benchmark-page .bm-service-heading .process-lead { color: var(--text-inverted); }
.benchmark-page .bm-workflow { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; list-style: none; padding: 0; margin: 0; counter-reset: bm-step; }
/* The card lifts its children above its grain layer; a pseudo-element needs the same. */
.benchmark-page .bm-workflow .plan-card::before { counter-increment: bm-step; content: counter(bm-step, decimal-leading-zero); position: relative; z-index: 1; font-family: var(--font-data); font-size: .875rem; font-weight: 500; letter-spacing: .08em; color: var(--primary-hover); margin-bottom: .5rem; }
.benchmark-page .bm-workflow .plan-card { background: var(--surface); backdrop-filter: none; -webkit-backdrop-filter: none; }
.benchmark-page .bm-workflow .plan-card-copy { margin-bottom: 0; }
.benchmark-page .bm-experience .process-title { max-width: 25ch; margin-inline: auto; text-align: center; }
.benchmark-page .bm-experience .process-lead { margin-inline: auto; text-align: center; text-wrap: balance; }
.benchmark-page .bm-company-list { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1.25rem 3rem; list-style: none; max-width: 62rem; margin: 2.25rem auto 0; padding: 0; color: var(--text); font-family: var(--font-heading); font-size: 1.2rem; font-weight: 600; letter-spacing: -.01em; text-align: center; }
.benchmark-page .bm-company-list li { white-space: nowrap; }
.benchmark-page #benchmarking-faq .faq-title { align-self: center; }
/* Quote section. In source order the form follows the lead, so stacked (960px
   and below) a quote button lands on the first field. Side by side, the notes
   sit under the lead in the left column: the form spans both rows, the intro
   hugs the bottom of the first and the notes the top of the second, so the two
   read as one block centred on the form card. The card keeps its own height,
   so text taller than the form leaves no blank band under the submit button. */
.benchmark-page .contact-layout { grid-template-areas: "intro form" "notes form"; row-gap: 0; }
.benchmark-page .contact-layout > .contact-form { grid-area: form; align-self: center; }
.benchmark-page .bm-contact-intro { grid-area: intro; align-self: end; min-width: 0; }
.benchmark-page .bm-contact-intro .process-lead { margin-bottom: 0; }
.benchmark-page .bm-contact-notes { grid-area: notes; align-self: start; min-width: 0; }
.benchmark-page .bm-quote-checklist-label { margin-top: 1.25rem; font-family: var(--font-heading); font-size: .95rem; font-weight: 600; color: var(--text); }
.benchmark-page .bm-quote-checklist { margin-top: .5rem; padding-left: 1.25rem; line-height: 1.6; color: var(--text-soft); }
.benchmark-page .bm-filing-example { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--border); }
.benchmark-page .bm-sources { padding-top: 2.5rem; padding-bottom: 3.5rem; color: var(--text-soft); font-size: .875rem; text-align: center; }
.benchmark-page .bm-sources ul { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); list-style: none; gap: 1rem 1.5rem; padding: 0; margin-top: .75rem; }
.benchmark-page .bm-sources li { grid-column: span 2; }
.benchmark-page .bm-sources li:nth-child(4) { grid-column: 2 / span 2; }
.benchmark-page .bm-sources li:nth-child(5) { grid-column: 4 / span 2; }
.benchmark-page .bm-sources a { text-decoration: underline; text-underline-offset: 3px; }
.benchmark-page .bm-sources a:hover { color: var(--primary-hover); }

@media (max-width: 1000px) {
    .benchmark-page .bm-program-heading { display: block; }
    .benchmark-page .bm-deadline { text-align: left; margin-top: .75rem; }
    .benchmark-page .bm-facts { grid-template-columns: minmax(0, 1fr); }
    .benchmark-page .bm-facts > div { padding: 1rem 0; }
    .benchmark-page .bm-facts > div + div { border-left: 0; border-top: 1px solid var(--border); }
}

/* The shared contact layout stacks at this width. */
@media (max-width: 960px) {
    .benchmark-page .contact-layout { grid-template-areas: "intro" "form" "notes"; row-gap: 1.5rem; }
    .benchmark-page .bm-quote-checklist-label { margin-top: 0; }
}

@media (max-width: 900px) {
    .benchmark-page .bm-hero { padding-top: 7rem; }
    .benchmark-page .bm-hero-layout { grid-template-columns: minmax(0, 1fr); gap: 2.25rem; }
    .benchmark-page .bm-architecture { max-width: 320px; justify-self: center; }
    .benchmark-page .bm-explainer { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
    .benchmark-page .bm-company-list { gap: 1rem 2.25rem; font-size: 1.1rem; }
}

@media (max-width: 700px) {
    .benchmark-page .bm-sources ul { grid-template-columns: minmax(0, 1fr); gap: .7rem; }
    .benchmark-page .bm-sources li:nth-child(n) { grid-column: auto; }
}

@media (max-width: 600px) {
    .benchmark-page .bm-figure-buildings { gap: 5px; }
    .benchmark-page .bm-hero-layout { gap: 1.5rem; }
    .benchmark-page .bm-hero .hero-actions { flex-wrap: wrap; }
    .benchmark-page .bm-section, .benchmark-page .bm-service { padding-top: 3rem; padding-bottom: 3.5rem; }
    .benchmark-page .bm-company-list { flex-direction: column; gap: .85rem; }
    .benchmark-page .bm-company-list li { white-space: normal; text-wrap: balance; }
}

@media (max-width: 420px) {
    /* Give the title's longest word enough room. */
    .benchmark-page .bm-hero-layout { width: calc(100% - 1.5rem); }
}
