/* Scoped service layout; shared header, forms and footer retain their behavior. */
.dp-page { width: 100%; min-width: 0; align-self: stretch; background: var(--pharos-surface); }
.dp-page .dp-container { display: block; min-width: 0; }
.dp-page .dp-hero .casesHero__inner .casesHero__title { margin-bottom: 0; font-size: clamp(30px, 3vw, 44px); line-height: 1.15; overflow-wrap: break-word; }
.dp-hero-support { display: block; margin-top: 20px; font-size: clamp(20px, 1.8vw, 25px); font-weight: 500; line-height: 1.4; }
.dp-page .dp-lead { font-family: var(--font-body); font-size: 17px; font-weight: 400; line-height: 1.7; }
.dp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; margin-block: 20px; }
.dp-actions .btn { text-align: center; text-decoration: none; }
.dp-actions > a:not(.btn) { display: inline-flex; box-sizing: border-box; min-height: 56px; align-items: center; justify-content: center; padding: 10px 16px; border: 1px solid var(--pharos-blue); border-radius: 12px; font-family: var(--font-body); line-height: 1.4; text-align: center; text-decoration: none; }
.dp-actions > a:not(.btn), .dp-updated a, .dp-section a:not(.btn) { color: var(--pharos-blue); text-underline-offset: 4px; }
.dp-updated { margin-top: 20px; font-family: var(--font-body); font-size: 13px; line-height: 1.6; color: var(--pharos-text-muted); }
.dp-page .dp-jumpnav { display: block; min-width: 0; overflow-x: auto; padding-block: 12px; border-block: 1px solid var(--pharos-border); overscroll-behavior-inline: contain; scrollbar-width: thin; }
.dp-jumpnav ul { display: flex; flex-wrap: nowrap; gap: 8px; margin: 0; padding: 0; list-style: none; font: 14px/1.5 var(--font-body); }
.dp-jumpnav li { flex: 0 0 auto; }
.dp-jumpnav li::before { content: none; }
.dp-jumpnav a { display: flex; min-height: 44px; align-items: center; padding: 8px 12px; border: 1px solid var(--pharos-border); border-radius: 999px; color: var(--pharos-blue); text-decoration: none; white-space: nowrap; }
.dp-section { width: 100%; min-width: 0; padding-block: clamp(44px, 6vw, 80px); scroll-margin-top: 110px; font: 400 16px/1.75 var(--font-body); color: var(--pharos-body); }
.dp-section--tint { background: var(--pharos-surface-wash); }
.dp-section h2 { max-width: 1000px; margin: 0 0 28px; font-family: var(--font-display); font-size: clamp(25px, 2.5vw, 34px); font-weight: 700; line-height: 1.22; letter-spacing: -.01em; color: var(--pharos-text); }
.dp-section h3 { margin: 28px 0 16px; font-family: var(--font-display); font-size: clamp(19px, 2vw, 23px); font-weight: 700; line-height: 1.35; color: var(--pharos-text); }
.dp-section p { max-width: 980px; margin: 0 0 20px; }
.dp-grid { display: grid; gap: 24px; margin-top: 28px; }
.dp-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dp-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dp-card { min-width: 0; padding: clamp(22px, 3vw, 32px); border: 1px solid var(--pharos-border); border-radius: var(--pharos-radius-lg); background: var(--pharos-surface); }
.dp-card h3 { margin-top: 0; }
.dp-card > :last-child { margin-bottom: 0; }
.dp-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 28px 0; }
.dp-facts > div { min-width: 0; padding: 20px; border: 1px solid var(--pharos-border); border-radius: var(--pharos-radius-lg); }
.dp-facts dt { margin-bottom: 10px; font-weight: 500; color: var(--pharos-text); }
.dp-facts dd { margin: 0; font-size: 15px; line-height: 1.65; }
.dp-table { overflow-x: auto; margin-block: 28px; }
.dp-table table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.6; }
.dp-table caption { margin-bottom: 16px; text-align: left; font-weight: 500; color: var(--pharos-text); }
.dp-table th, .dp-table td { min-width: 150px; padding: 18px; border: 1px solid var(--pharos-border); text-align: left; vertical-align: top; }
.dp-table th { font-weight: 500; color: var(--pharos-text); }
.dp-table thead { background: var(--pharos-surface); }
.dp-section .dp-stages { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 40px; margin: 28px 0 36px; padding-left: 24px; list-style: decimal; }
.dp-stages > li { padding-left: 4px; }
.dp-stages > li::before { content: none; }
.dp-contact { max-width: 680px; margin-top: 32px; scroll-margin-top: 110px; }
.dp-section a:focus-visible, .dp-section summary:focus-visible, .dp-actions a:focus-visible, .dp-table:focus-visible { outline: 2px solid var(--pharos-blue); outline-offset: 5px; }
.dp-page [data-dapp-layout] { display: none; }
.dp-commercial-cta { margin-top: 28px; }
.dp-contact-intro { padding-bottom: 32px; }
.dp-page #cases { scroll-margin-top: 110px; }
.dp-content-group { width: 100%; max-width: 100%; min-width: 0; align-self: stretch; }
.dp-page :is(#verified-delivery, #about-founder, #pricing, #engagement-models, #tech-stack, #partnerships-awards, #delivery, #related-posts, #faq, #contact, #contact-form) { scroll-margin-top: 110px; }
@media (max-width: 1199px) {
    .dp-page .dp-hero .casesHero__inner { flex-direction: column; flex-wrap: nowrap; gap: 24px; }
    .dp-page .dp-hero .casesHero__card { flex: 0 0 auto; width: 100%; align-self: stretch; }
    .dp-page .dp-hero .casesHero__form { width: 100%; margin-top: 0; }
}
@media (min-width: 1200px) { .dp-page [data-dapp-layout="desktop"] { display: block; } }
@media (min-width: 768px) and (max-width: 1199px) { .dp-page [data-dapp-layout="tablet"] { display: block; } }
@media (max-width: 767px) {
    .dp-page [data-dapp-layout="mobile"] { display: block; }
    .dp-grid--two, .dp-grid--three, .dp-section .dp-stages, .dp-facts { grid-template-columns: minmax(0, 1fr); }
    .dp-page .dp-hero .casesHero__inner .casesHero__title { font-size: 30px; }
    .dp-hero-support { font-size: 20px; }
    .dp-section { font-size: 15px; }
    .dp-section h3 { overflow-wrap: break-word; }
    .dp-page .dp-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 12px; }
    .dp-page .dp-actions > a { display: flex; box-sizing: border-box; min-width: 0; width: 100%; max-width: none; min-height: 56px; height: auto; align-items: center; justify-content: center; padding: 10px; font-size: 14px; line-height: 1.4; text-align: center; white-space: normal; overflow-wrap: anywhere; }
    .dp-page .dp-actions > a:not(.btn) { border: 1px solid var(--pharos-blue); border-radius: 12px; text-decoration: none; }
}
@media (min-width: 768px) and (max-width: 1023px) { .dp-grid--three { grid-template-columns: minmax(0, 1fr); } }

@media (max-width: 740px) {
    .dp-page .dp-hero .dp-actions { grid-template-columns: minmax(0, 1fr); gap: 10px; }
}
