/* Service-specific content. faq.css supplies the page frame, type, buttons,
   responsive hero, case studies, quotations, closing section and footer. */
.service-label {
  margin: 0 0 .5rem;
  color: var(--copy);
  font-size: .9375rem;
  line-height: 1.4;
  font-weight: 500;
}
.hero .service-label { margin-bottom: .75rem; }
.hero .trust:hover { text-decoration: none; }
.featured-opening .hero-actions { max-width: 100%; }
.featured-opening .featured-intro { margin: 0; }
.featured-media.article-figure { margin: 0 auto; align-self: center; }
.featured-media img { max-height: 19rem; }
.service-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
  gap: 1rem 2rem;
  list-style: none;
  padding: 0;
  color: var(--copy);
}
.featured-details .service-metrics { grid-column: 1 / -1; margin-top: 1rem; }
.service-metrics li { border-top: 1px solid #c7cee3; padding-top: .75rem; }
.service-metrics strong { display: block; color: var(--ink); font-size: 1.65rem; line-height: 1.2; letter-spacing: -.04em; }

.service-reading { grid-template-areas: 'copy contents'; }
.service-reading > .article-copy { grid-area: copy; }
.service-reading > nav { grid-area: contents; border-top: 1px solid #d6d9e2; padding-top: 1rem; }
.service-reading nav ul { list-style: none; padding: 0; margin-top: .75rem; }
.service-reading nav a { display: inline-block; padding-block: .3rem; }
.service-section { min-width: 0; }
.service-section + .service-section, .service-reading + .service-section { margin-top: clamp(3rem, 6vw, 6rem); }
.service-section > h2 { max-width: 36ch; }
.service-section > h2 + :not(.section-intro), .service-section > .section-intro + * { margin-top: 1.25rem; }
.service-section .section-intro p { margin: 0; }
.service-section .section-intro p + p { margin-top: .6rem; }
.service-section :where(h3) { font-weight: 600; font-size: 1.18rem; line-height: 1.3; letter-spacing: -.025em; }
.service-section :where(p, li, dd) { text-wrap: pretty; }
.service-section :where(a:not(.pill, .case)) { color: var(--press); }
.service-section :where(ul:not(.service-metrics), ol) { padding-inline-start: 1.35em; }
.service-section li + li { margin-top: .35em; }
.service-section .service-metrics { margin-bottom: 0; padding-left: 0; }
.service-section .service-metrics li { margin: 0; }
.service-section .service-label { margin: 0 0 .45rem; }
.service-section .service-label + h2 { margin-top: 0; }
.service-section .service-note { max-width: 72ch; margin-top: 1.25rem; color: var(--copy); }
.service-entries, .service-prices, .service-split { display: grid; gap: 1.5rem 2rem; }
.service-entries { grid-template-columns: repeat(auto-fit, minmax(min(100%, 23rem), 1fr)); }
.service-entries > *, .service-example { border-top: 1px solid #d6d9e2; padding-top: 1rem; }
.service-entries :where(h3 + p, ul), .service-steps li p { margin: .45rem 0 0; }
.service-entries .service-entry { color: inherit; text-decoration: none; }
.service-entry-link { display: inline-block; margin-top: .45rem; color: var(--press); text-decoration: underline; }
.service-entry:hover h3, .service-entry:focus-visible h3 { text-decoration: underline; }
.service-section .service-steps li { padding: .45rem 0 .75rem .4rem; }
.service-steps li::marker { color: var(--press); font-weight: 600; }
.service-callout { padding: clamp(1.25rem, 2.4vw, 2rem); border-radius: 8px; background: #f0f3ff; }
.service-callout > :last-child { margin-bottom: 0; }
.service-example + .service-example { margin-top: 1.75rem; }
.service-example dl { margin: .75rem 0; }
.service-example dt { font-weight: 600; }
.service-example dd { color: var(--copy); margin: .25rem 0 .75rem; }
.service-section:has(.service-table) { container-type: inline-size; }
.service-table-help { display: none; }
@container (max-width: 27rem) {
  .service-section .service-table-help { display: block; color: var(--copy); font-size: .9375rem; margin-bottom: .5rem; }
}
.service-table { max-width: 100%; overflow-x: auto; }
.service-table table { width: 100%; border-collapse: collapse; text-align: start; font-size: 1rem; line-height: 1.5; }
.service-table th, .service-table td { min-width: 9rem; padding: .8rem; border-bottom: 1px solid #d6d9e2; vertical-align: top; text-align: start; }
.service-table thead { color: white; background: #172f79; }
.service-table td.highlight { background: #f0f3ff; }
.service-table tbody th { font-weight: 600; }
.service-prices { grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.service-tier { display: flex; flex-direction: column; align-items: start; gap: .85rem; padding: 1.25rem; border-top: 3px solid #d6d9e2; background: var(--soft); }
.service-tier:only-child { max-width: 68ch; }
.service-tier.featured-tier { border-color: var(--blue); background: #f0f3ff; }
.service-tier .service-label { margin-bottom: 0; }
.service-price { font-size: 2rem; line-height: 1.12; font-weight: 600; letter-spacing: -.04em; }
.service-price small { display: block; margin-top: .4em; color: var(--copy); font-size: 1rem; line-height: 1.4; font-weight: 400; letter-spacing: normal; }
.service-tier .pill { margin-top: auto; }
.service-split { grid-template-columns: 1.2fr 1fr; align-items: start; }
.service-split > div { max-width: 68ch; font-size: 1.125rem; }
.service-split > div > * + * { margin-top: .85em; }
.service-split > div > a { display: inline-block; }
.service-split .article-figure { margin: 0 auto; }
.service-split blockquote { font-size: 1.5rem; }
.service-split figcaption { margin-top: .5em; color: var(--copy); }
.service-section .case .service-label { margin-bottom: .35rem; }
.service-section .case-caption p { max-width: 68ch; }
.service-case-link { display: inline-block; margin-top: .5rem; color: var(--press); text-decoration: underline; }
.service-section .testimonial { padding-block: clamp(2rem, 4vw, 4rem); }
.service-question { max-width: 78ch; border-bottom: 1px solid #d6d9e2; }
.service-question summary { padding: 1rem 0; font-weight: 600; }
.service-question summary:hover { color: var(--press); }
.service-question p { padding-bottom: 1rem; color: var(--copy); }
.service-logos { padding-block: 1.5rem; border-block: 1px solid #d6d9e2; text-align: center; }
.service-logos img { width: 100%; height: auto; margin: 1rem auto 0; }
.footer-columns address { margin-top: .75rem; font-style: normal; color: var(--copy); }
.colophon nav { flex-wrap: wrap; }

@media (min-width: 701px) {
  .service-reading > nav { position: sticky; top: 6rem; max-height: calc(100vh - 7rem); overflow-y: auto; }
  .service-section .case-strip { grid-template-columns: none; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; }
}

@media (max-width: 700px) {
  .service-reading { grid-template-areas: 'contents' 'copy'; }
  .service-reading nav ul { columns: 2 10rem; column-gap: 1rem; }
  .service-reading nav li { break-inside: avoid; }
  .service-split { grid-template-columns: minmax(0, 1fr); }
  .service-section .case-strip .case { grid-template-columns: minmax(76px, 25%) minmax(0, 1fr); }
  .case-strip .service-case-link { grid-column: 2; margin-top: -.5rem; }
}
