/* Page heads (DESIGN.md "Page Heads"): the light head for the service, insights and company pages
   (light-hero.css); a plain pale blue band for contact and the legal pages. GICUS keeps its light
   product band. */
.details-page {
  --subpage-banner-height: 360px;
  --subpage-banner-padding: 64px;
  --band-hero-background: var(--hero-surface);
  background: var(--white);
  font-size: var(--body-size);
  font-weight: var(--fw-body);
}

@media (max-width: 767px) {
  .details-page {
    --subpage-banner-height: 280px;
    --subpage-banner-padding: 32px;
  }
}

.details-page .view:not(.active) { display: none; }
.details-page [data-route-focus-target]:focus { outline: none; }
.details-page .wrap {
  width: min(calc(100% - 2 * var(--gutter)), var(--site-width));
  margin-inline: auto;
}
.details-page :is(h1, h2, h3, p, dt, dd) { word-break: keep-all; overflow-wrap: anywhere; }

.details-page .intro-copy { max-width: 51rem; }
.details-page .h-xl {
  color: var(--ink);
  font-size: var(--page-title-size);
  font-weight: var(--fw-heading);
  line-height: 1.13;
  letter-spacing: -.056em;
}
.details-page .lead {
  max-width: 48rem;
  margin-top: var(--space-3);
  color: var(--muted);
  font-size: var(--body-size);
  line-height: 1.72;
}

.details-page .contact-form-panel { min-width: 0; }
.details-page .form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); max-width: 48rem; }
.details-page .form label { display: block; margin-bottom: var(--space-1); font-size: var(--text-small); font-weight: var(--fw-strong); }
.details-page .form :is(input, select, textarea) {
  width: 100%;
  min-height: var(--button-height);
  padding: var(--space-2) var(--space-3);
  border: 1px solid #828f9d;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: var(--body-size);
}
.details-page .form :is(input, textarea)::placeholder { color: var(--muted); font-weight: var(--fw-body); opacity: 1; }
.details-page .form :is(input, select, textarea):focus { border-color: var(--brand); outline: 2px solid var(--brand); outline-offset: -2px; box-shadow: none; }
@media (hover: hover) and (pointer: fine) {
  .details-page .form :is(input, select, textarea):enabled:not([readonly]):not([aria-invalid="true"]):not(:focus):hover { border-color: var(--input-border-hover); }
}
.details-page .form textarea { min-height: 115px; resize: vertical; }
.details-page .form .full { grid-column: 1 / -1; }

@media (max-width: 455px) {
  .details-page .form { grid-template-columns: minmax(0, 1fr); }
}
