/* Shared layout for the NPO hub and services catalogue. */
.npo-page {
    overflow-x: clip;
}

.npo-container {
    max-width: 1600px;
    padding-inline: clamp(1rem, 4vw, 5rem);
}

.npo-page .btn {
    border-radius: 4px;
}

.npo-eyebrow {
    display: block;
    margin-bottom: 0.65rem;
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.npo-hero {
    background: linear-gradient(120deg, #EFF6FF, #F8FAFC 80%);
    padding: clamp(2.5rem, 6vw, 6rem) 0;
    border-bottom: 1px solid var(--border);
}

.npo-hero-layout, .npo-split-layout, .npo-featured-service {
    display: grid;
    gap: clamp(1.75rem, 5vw, 5rem);
}

.npo-hero-layout {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: center;
}

.npo-split-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
    align-items: start;
}

.npo-featured-service {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
}

.npo-featured-service .npo-section-heading {
    margin: 0;
}

.npo-featured-card {
    padding: clamp(1.15rem, 3vw, 2rem);
    border: 1px solid var(--border);
    border-inline-start: 4px solid var(--primary);
    background: var(--bg-surface);
}

.npo-featured-card h3 {
    margin-bottom: 0.6rem;
}

.npo-package-actions {
    margin-top: 1.75rem;
}

.npo-hero h1 {
    font-size: clamp(2.25rem, 4.8vw, 4.75rem);
    line-height: 1.05;
    margin-bottom: 1rem;
    text-wrap: balance;
}

.npo-hero-copy p {
    max-width: 58ch;
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    margin-bottom: 1.5rem;
}

.npo-actions, .npo-jump-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.npo-action-link, .npo-jump-links a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 0.22em;
}

.npo-action-link:hover, .npo-jump-links a:hover {
    color: var(--primary-hover);
}

.npo-band {
    padding: clamp(2.5rem, 5vw, 4.75rem) 0;
    border-bottom: 1px solid var(--border);
    background: var(--bg-surface);
}

.npo-band-tint {
    background: #F1F5FB;
}

.npo-section-heading {
    margin-bottom: clamp(1.25rem, 3vw, 2rem);
}

.npo-section-heading p {
    max-width: 68ch;
    margin: 0.6rem 0 0;
}

.npo-anchor {
    scroll-margin-top: 90px;
}

.npo-hub-options {
    padding: clamp(1.15rem, 3vw, 2.5rem);
    border-top: 4px solid #60A5FA;
    background: #102348;
    color: #FFFFFF;
}

.npo-hub-options h2 {
    color: inherit;
    font-size: clamp(1.4rem, 2.4vw, 2rem);
}

.npo-hub-options ul {
    margin-top: 1rem;
}

.npo-hub-options li {
    padding: 1rem 0;
    border-top: 1px solid #ffffff40;
}

.npo-hub-options li:last-child {
    padding-bottom: 0;
}

.npo-hub-options a {
    font-size: 1.05rem;
    font-weight: 800;
    text-decoration: underline;
    text-decoration-color: #93C5FD;
    text-underline-offset: 0.22em;
}

.npo-hub-options a:hover {
    color: #BFDBFE;
}

.npo-hub-options p {
    margin: 0.4rem 0 0;
    color: #D3E2F8;
    font-size: 0.95rem;
}

.npo-website-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem clamp(1rem, 4vw, 3rem);
    margin: 0 0 1.75rem;
    padding: 0.85rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    color: var(--text-muted);
}

.npo-website-facts strong {
    color: var(--text-main);
}

.npo-services-nav {
    display: flex;
    align-items: center;
    gap: clamp(0.75rem, 3vw, 2.25rem);
    font-size: 0.9rem;
    font-weight: 600;
    color: #CBD5E1;
}

.npo-services-nav a:hover, .npo-services-nav [aria-current] {
    color: #93C5FD;
}

.npo-services-nav .btn {
    color: var(--text-main);
}

.npo-services-nav .btn:hover {
    color: var(--primary);
}

.npo-service-preview {
    padding: clamp(1rem, 3.25vw, 2.75rem);
    background: #102348;
    border-top: 4px solid #60A5FA;
}

.npo-sample-letter {
    max-width: 440px;
    margin: 0 auto;
    padding: clamp(1rem, 3vw, 2rem);
    background: #FFFFFF;
    color: #2D405D;
    border-top: 5px solid #2563EB;
    font-size: 0.89rem;
}

.npo-sample-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 0.75rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--border);
}

.npo-sample-brand strong {
    display: block;
    color: #102348;
    font-size: 1rem;
}

.npo-sample-mark {
    flex: none;
    display: grid;
    place-items: center;
    width: 2.25rem;
    height: 2.25rem;
    background: #102348;
    color: #FFFFFF;
    font-weight: 800;
}

.npo-sample-letter p {
    color: inherit;
    margin: 0.55rem 0;
}

.npo-sample-footer {
    padding-top: 0.5rem;
    margin-top: 1.25rem;
    border-top: 2px solid #2563EB;
    font-size: 0.75rem;
    overflow-wrap: anywhere;
}

.npo-service-preview figcaption {
    margin-top: 0.8rem;
    color: #D3E2F8;
    font-size: 0.82rem;
    text-align: center;
}

.npo-jump-links {
    gap: 0.65rem clamp(1rem, 3vw, 2.5rem);
    padding-block: 0.85rem;
    height: auto;
    justify-content: flex-start;
}

.npo-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.25rem, 3vw, 3rem);
}

.npo-price-option {
    padding-top: 1rem;
    border-top: 2px solid var(--border);
}

.npo-price-option:first-child {
    border-top-color: var(--primary);
}

.npo-price {
    display: block;
    margin: 0.5rem 0 0.35rem;
    color: #102348;
    font-size: clamp(1.45rem, 2.8vw, 2.45rem);
    font-weight: 800;
    line-height: 1.15;
}

.npo-price-option p {
    margin-bottom: 0;
}

.npo-service-note {
    max-width: 85ch;
    margin: 1.5rem 0 0;
    padding-inline-start: 1rem;
    border-inline-start: 3px solid var(--primary);
}

.npo-service-note + p {
    margin: 0.75rem 0 0;
}

.npo-service-rows {
    margin: 0;
}

.npo-service-rows > div, .npo-service-rows > li {
    padding: 0.85rem 0;
    border-top: 1px solid var(--border);
}

.npo-service-rows dt, .npo-service-rows li > strong {
    font-weight: 800;
}

.npo-service-rows dd, .npo-service-rows li p {
    margin: 0.25rem 0 0;
    color: var(--text-muted);
}

ol.npo-service-rows {
    padding: 0;
    list-style-position: inside;
}

.npo-service-rows li::marker {
    color: var(--primary);
    font-weight: 800;
}

.npo-services-footer p {
    margin: 0;
}

@media (max-width: 800px) {
    .npo-hero-layout, .npo-split-layout, .npo-pricing-grid, .npo-featured-service {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 560px) {
    .npo-services-nav .btn {
        display: none;
    }
}
