/* Use the site's hero, container, button, FAQ and form components unchanged.
   Only the new service content blocks receive page-specific styling. */
.sc-page {
    width: 100%;
    min-width: 0;
    align-self: stretch;
    background: var(--pharos-surface);
}

.sc-page .sc-container { display: block; min-width: 0; }
/* One copy variant is visible at each width, including the separate H1 elements. */
.sc-copy { display: none; }
.sc-copy--wide { display: inline; }
.sc-hero-titles > .sc-copy--wide { display: block; }
.sc-page .sc-hero .casesHero__inner .casesHero__title { font-size: clamp(34px, 3.4vw, 48px); line-height: 1.08; }
.sc-page #tech-stack .sc-intro h3 { margin: 24px 0 12px; font-size: 22px; line-height: 1.3; }
.sc-page #tech-stack .sc-intro p { margin: 0 0 20px; }
/* These headings must be readable before a scroll observer activates the grid. */
.sc-page #tech-stack { content-visibility: visible; contain-intrinsic-size: none; }
.sc-page #tech-stack .section__header__inner > * { opacity: 1; transform: none; transition: none; }
.sc-page .sc-reading > h3:not(:first-child) { margin-top: 24px; }
@media (min-width: 1200px) and (max-width: 1439px) {
    .sc-copy--wide, .sc-hero-titles > .sc-copy--wide { display: none; }
    .sc-copy--desktop { display: inline; }
    .sc-hero-titles > .sc-copy--desktop { display: block; }
}
@media (min-width: 1024px) and (max-width: 1199px) {
    .sc-copy--wide, .sc-hero-titles > .sc-copy--wide { display: none; }
    .sc-copy--laptop { display: inline; }
    .sc-hero-titles > .sc-copy--laptop { display: block; }
}
@media (min-width: 768px) and (max-width: 1023px) {
    .sc-copy--wide, .sc-hero-titles > .sc-copy--wide { display: none; }
    .sc-copy--tablet { display: inline; }
    .sc-hero-titles > .sc-copy--tablet { display: block; }
}
@media (min-width: 501px) and (max-width: 767px) {
    .sc-copy--wide, .sc-hero-titles > .sc-copy--wide { display: none; }
    .sc-copy--medium { display: inline; }
    .sc-hero-titles > .sc-copy--medium { display: block; }
}
@media (max-width: 500px) {
    .sc-copy--wide, .sc-hero-titles > .sc-copy--wide { display: none; }
    .sc-copy--narrow { display: inline; }
    .sc-hero-titles > .sc-copy--narrow { display: block; }
    .sc-page .sc-hero .casesHero__inner .casesHero__title { font-size: 30px; }
}
/* The shared FAQ panel has width:100% plus padding; keep its edges inside the container. */
.sc-page .section--faq .section__main__inner { box-sizing: border-box; width: 100%; }
.sc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; margin-top: 24px; }
.sc-button { text-decoration: none; text-align: center; }
.sc-next { margin-top: 20px; font-family: var(--font-body); font-size: 13px; line-height: 1.6; color: var(--pharos-text-muted); }
.sc-hero .trustStrip__badge { max-width: 100%; box-sizing: border-box; flex-wrap: wrap; }
.sc-hero .trustStrip__total { max-width: 100%; flex-wrap: wrap; white-space: normal; line-height: 1.5; }
.sc-hero .trustStrip .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.sc-page .pvd .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.sc-hero #contact-form { scroll-margin-top: 120px; }

.sc-glance.sc-container { padding-block: 0 32px; font-family: var(--font-body); }
.sc-glance h2 { margin: 0 0 24px; font-family: var(--font-display); font-size: 22px; font-weight: 700; line-height: 1.25; }
.sc-glance dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 0; padding-top: 24px; border-top: 1px solid var(--pharos-border); }
.sc-glance dt { margin-bottom: 8px; font-size: 14px; font-weight: 500; line-height: 1.5; }
.sc-glance dd { margin: 0; font-size: 14px; line-height: 1.7; color: var(--pharos-body); }

.sc-jumpnav.sc-container { padding-block: 24px; border-block: 1px solid var(--pharos-border); }
.sc-jumpnav ul { display: flex; flex-wrap: wrap; gap: 12px 24px; list-style: none; padding: 0; margin: 0; }
.sc-jumpnav li { margin: 0; font-family: var(--font-body); font-size: 14px; line-height: 1.5; }
.sc-jumpnav a, .sc-section a:where(:not(.btn)) { color: var(--pharos-blue); text-underline-offset: 4px; }
.sc-jumpnav a:focus-visible, .sc-section a:focus-visible, .sc-table-scroll:focus-visible { outline: 2px solid #37A8BF; outline-offset: 4px; }

.sc-section { width: 100%; min-width: 0; padding-block: clamp(48px, 6vw, 80px); scroll-margin-top: 120px; font-family: var(--font-body); font-size: 16px; font-weight: 400; line-height: 1.7; color: var(--pharos-body); }
.sc-section.sc-container { padding-block: clamp(48px, 6vw, 80px); }
.sc-section--tint { background: var(--pharos-surface-wash); }
.sc-section h2 { margin: 0 0 24px; font-family: var(--font-display); font-size: var(--srv-h2-size, clamp(24px, 2.4vw, 28px)); font-weight: 700; line-height: var(--srv-h2-lh, 1.25); letter-spacing: var(--srv-h2-ls, -.01em); color: var(--pharos-text); }
.sc-section h3 { margin: 0 0 14px; font-family: var(--font-display); font-size: clamp(18px, 2vw, 22px); font-weight: 700; line-height: 1.3; letter-spacing: -.01em; color: var(--pharos-text); }
.sc-section p { margin: 0 0 20px; }
.sc-section ul, .sc-section ol { margin: 0 0 24px; padding-left: 22px; }
.sc-section ul { list-style: disc; }
.sc-section ol { list-style: decimal; }
.sc-section li { margin-bottom: 12px; }
.sc-eyebrow { font-size: 13px; font-weight: 500; line-height: 1.5; color: var(--pharos-text-muted); }
.sc-intro { max-width: 850px; }
.sc-grid { display: grid; gap: 24px; }
.sc-grid > * { min-width: 0; }
.sc-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sc-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sc-card { padding: clamp(24px, 3vw, 32px); border: 1px solid var(--pharos-border); border-radius: var(--pharos-radius-lg); background: var(--pharos-surface); }
.sc-card > :last-child { margin-bottom: 0; }
.sc-card a { font-size: 14px; font-weight: 500; }
.sc-card .sc-eyebrow { margin-bottom: 12px; }

.sc-table-scroll { overflow: auto; margin: 28px 0 32px; }
.sc-table-scroll table { border-collapse: collapse; width: 100%; font-size: 14px; line-height: 1.7; }
.sc-table-scroll caption { margin-bottom: 16px; text-align: left; font-weight: 500; color: var(--pharos-text); }
.sc-table-scroll th, .sc-table-scroll td { padding: 20px; text-align: left; border: 1px solid var(--pharos-border); vertical-align: top; }
.sc-table-scroll th { font-weight: 500; color: var(--pharos-text); }
.sc-table-scroll thead { background: var(--pharos-surface); }
.sc-table-scroll tbody th { min-width: 170px; }
.sc-table-scroll td { min-width: 200px; }
.sc-section .sc-stages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin: 32px 0 40px; }
.sc-stages li { padding-left: 4px; }
/* Keep native ordered-list markers without the theme's second counter. */
.sc-stages > li::before { content: none; }
.sc-stages h3 { font-size: 18px; }
.sc-stages p { font-size: 14px; }
.sc-checks { margin: 28px 0; }
.sc-checks > div { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--pharos-border); }
.sc-checks dt { font-weight: 500; color: var(--pharos-text); }
.sc-checks dd { margin: 0; }
.sc-lesson { margin-top: 32px; padding: clamp(24px, 3vw, 32px); border: 1px solid var(--pharos-border); border-radius: var(--pharos-radius-lg); background: var(--pharos-surface); }
.sc-lesson p { margin-bottom: 0; }
.sc-contact { align-items: start; }
.sc-audit-reference { margin-top: 24px; }
.sc-audit-reference dl { margin: 24px 0; }
.sc-audit-reference dl > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--pharos-border); }
.sc-audit-reference dt { font-weight: 500; color: var(--pharos-text); }
.sc-audit-reference dd { margin: 0; }
.sc-audit-reference code { overflow-wrap: anywhere; font-size: 13px; }

@media (max-width: 940px) {
    .sc-glance dl, .sc-section .sc-stages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sc-grid--three, .sc-grid--two { grid-template-columns: 1fr; }
    .sc-checks > div { grid-template-columns: 1fr; gap: 8px; }
}

@media (max-width: 500px) {
    /* Keep the primary action above the site's consent panel on narrow phones. */
    .sc-hero .casesHero__inner:has(.casesHero__form) { gap: 16px; }
    .sc-hero .casesHero__breadcrumb { margin-top: 12px; }
    .sc-hero .casesHero__eyebrow { margin-bottom: 8px; }
    .sc-hero .casesHero__subtitle { margin-top: 12px; }
    .sc-actions { gap: 18px; margin-top: 16px; }
    .sc-glance dl { gap: 24px 20px; }
    .sc-jumpnav ul { gap: 14px 20px; }
    .sc-section .sc-stages { grid-template-columns: 1fr; gap: 16px; }
    .sc-audit-reference dl > div { grid-template-columns: 1fr; gap: 6px; }
}
