        html {
            scroll-behavior: smooth;
        }
        
        body {
            background-color: #ffffff;
            color: #333333;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            overflow-x: hidden;
        }
        
        * {
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }
        
        .hero-section.text-white.rounded-3.p-5.mb-5.custom-color {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        p.lead.mb-4.fs-5 {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        a.btn.btn-light.btn-lg.px-4 {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        button.btn.btn-outline-light.btn-lg.px-4 {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        .fade-in {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.8s ease-out, transform 0.8s ease-out;
        }
        
        .fade-in.visible {
            opacity: 1;
            transform: translateY(0);
        }
        
        .slide-in-left {
            opacity: 0;
            transform: translateX(-50px);
            transition: opacity 0.8s ease-out, transform 0.8s ease-out;
        }
        
        .slide-in-left.visible {
            opacity: 1;
            transform: translateX(0);
        }
        @media (max-width: 394px) {
    button.btn.btn-light.btn-lg.px-4.pulse {
        font-size: 17px;
    }
}

        .slide-in-right {
            opacity: 0;
            transform: translateX(50px);
            transition: opacity 0.8s ease-out, transform 0.8s ease-out;
        }
        
        .slide-in-right.visible {
            opacity: 1;
            transform: translateX(0);
        }
        
        .scale-in {
            opacity: 0;
            transform: scale(0.9);
            transition: opacity 0.6s ease-out, transform 0.6s ease-out;
        }
        
        .scale-in.visible {
            opacity: 1;
            transform: scale(1);
        }
        
        .parallax-section {
            background-attachment: fixed;
            background-position: center;
            background-repeat: no-repeat;
            background-size: cover;
        }
        
        .hover-lift {
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        
        .hover-lift:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(0,0,0,0.15);
        }
        
        .counter-number {
            font-size: 3rem;
            font-weight: 700;
            background: linear-gradient(135deg, #0f1f7a 0%, #0056b3 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        
        .pricing-card {
            transition: all 0.4s ease;
            border: 2px solid transparent;
        }
        
        .pricing-card:hover {
            border-color: #0f1f7a;
            transform: scale(1.02);
        }
        
        .pricing-card.popular {
            border: 3px solid #0f1f7a;
            position: relative;
        }
        
        .pricing-card.popular::before {
            content: 'MOST POPULAR';
            position: absolute;
            top: -12px;
            left: 50%;
            transform: translateX(-50%);
            background: linear-gradient(135deg, #0f1f7a 0%, #0056b3 100%);
            color: white;
            padding: 5px 20px;
            border-radius: 12px;
            font-size: 0.75rem;
            font-weight: 700;
            letter-spacing: 1px;
        }
        
        .testimonial-card {
            background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
            border-radius: 20px;
            transition: all 0.3s ease;
        }
        
        .testimonial-card:hover {
            box-shadow: 0 15px 35px rgba(15, 31, 122, 0.1);
        }
        
        .star-rating {
            color: #ffc107;
        }
        
        .section-header {
            position: relative;
            padding-bottom: 20px;
        }
        
        .section-header::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: linear-gradient(135deg, #0f1f7a 0%, #0056b3 100%);
            border-radius: 2px;
        }
        
        .image-overlay {
            position: relative;
            overflow: hidden;
            border-radius: 20px;
        }
        
        .image-overlay img {
            transition: transform 0.5s ease;
        }
        
        .image-overlay:hover img {
            transform: scale(1.05);
        }
        
        .btn-gradient {
            background: linear-gradient(135deg, #0f1f7a 0%, #0056b3 100%);
            border: none;
            color: white;
            padding: 15px 40px;
            border-radius: 50px;
            font-weight: 600;
            transition: all 0.3s ease;
            box-shadow: 0 5px 20px rgba(15, 31, 122, 0.3);
        }
        
        .btn-gradient:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 30px rgba(15, 31, 122, 0.4);
            color: white;
        }
        
        .floating {
            animation: floating 8s ease-in-out infinite;
        }
        
        @keyframes floating {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-15px); }
        }
        
        .pulse {
            animation: pulse 6s ease-in-out infinite;
        }
        
        @keyframes pulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.05); }
        }
        
        .divider-gradient {
            height: 3px;
            background: linear-gradient(90deg, transparent, #0f1f7a, transparent);
            border: none;
            margin: 4rem 0;
        }
        .navbar-white {
            background-color: #ffffff !important;
            border-bottom: 1px solid #e9ecef;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }
        
        .navbar-white .navbar-brand,
        .navbar-white .nav-link {
            color: #555555 !important;
            font-size: 0.95rem;
        }
        
        .navbar-white .nav-link {
            padding: 0.25rem 0.75rem !important;
            margin: 0 0.25rem;
        }
        @media (min-width: 1024px) {
          a.nav-border { 
            border-radius: 3px;
            text-align: center;
            padding: 12px 15px;
            transition: border-color 0.3s ease;
            min-width: 94px;
          }
        }

        
        .navbar-white .navbar-toggler {
            border-color: #dee2e6;
        }
        
        .footer-white {
            background-color: #fafbfc;
            border-top: 1px solid #f0f0f0;
            color: #666;
            padding: 2rem 0 !important;
        }
        
        .footer-white h6 {
            color: #333333;
            font-size: 0.9rem;
            font-weight: 600;
        }
        
        .footer-white a {
            font-size: 0.85rem;
            color: #666 !important;
        }
        
        .footer-white a:hover {
            color: #0f1f7a !important;
        }
        
        .footer-white .text-primary {
            color: #666 !important;
        }
        
        .card {
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            border: 1px solid #e9ecef;
        }
        
        .hero-section {
            background: rgb(15 31 122) !important;
            color: white;
            border-radius: 15px;
        }

        /* Shared pet-pattern overlay for blue public-page heroes. */
        .nsp-pattern-hero,
        .hero-section,
        .about-hero,
        .refund-hero,
        .blog-hero,
        .contact-hero,
        .faq-hero,
        .therapist-hero,
        .pricing-hero,
        .state-network-hero,
        .states-hero,
        .state-hero,
        .card-hero,
        .nsp-denial-hero,
        .nsp-laws-hero,
        .rights-hero,
        .nsp-evssd-hero,
        .hipaa-hero,
        .security-hero,
        .privacy-hero,
        .hiw-hero,
        .guide-hero,
        .article-hero,
        .policy-hero,
        .terms-hero,
        .login-image,
        .signup-image,
        section[style*="#0f1f7a"] {
            position: relative;
            overflow: hidden;
        }

        .nsp-pattern-hero::before,
        .hero-section::before,
        .about-hero::before,
        .refund-hero::before,
        .blog-hero::before,
        .contact-hero::before,
        .faq-hero::before,
        .therapist-hero::before,
        .pricing-hero::before,
        .state-network-hero::before,
        .states-hero::before,
        .state-hero::before,
        .card-hero::before,
        .nsp-denial-hero::before,
        .nsp-laws-hero::before,
        .rights-hero::before,
        .nsp-evssd-hero::before,
        .hipaa-hero::before,
        .security-hero::before,
        .privacy-hero::before,
        .hiw-hero::before,
        .guide-hero::before,
        .article-hero::before,
        .policy-hero::before,
        .terms-hero::before,
        .login-image::before,
        .signup-image::before,
        section[style*="#0f1f7a"]::before {
            content: "";
            position: absolute;
            inset: 0;
            background-image: url("/static/images/pet-bg-pattern.png");
            background-repeat: repeat;
            background-size: 475px;
            filter: invert(1);
            opacity: 0.16;
            pointer-events: none;
            z-index: 0;
        }

        .nsp-pattern-hero > *,
        .hero-section > *,
        .about-hero > *,
        .refund-hero > *,
        .blog-hero > *,
        .contact-hero > *,
        .faq-hero > *,
        .therapist-hero > *,
        .pricing-hero > *,
        .state-network-hero > *,
        .states-hero > *,
        .state-hero > *,
        .card-hero > *,
        .nsp-denial-hero > *,
        .nsp-laws-hero > *,
        .rights-hero > *,
        .nsp-evssd-hero > *,
        .hipaa-hero > *,
        .security-hero > *,
        .privacy-hero > *,
        .hiw-hero > *,
        .guide-hero > *,
        .article-hero > *,
        .policy-hero > *,
        .terms-hero > *,
        .login-image > *,
        .signup-image > *,
        section[style*="#0f1f7a"] > * {
            position: relative;
            z-index: 1;
        }

        .section-divider {
            height: 2px;
            background: linear-gradient(90deg, #007bff, #0056b3);
            border: none;
            margin: 3rem 0;
        }
        
        .icon-feature {
            transition: transform 0.3s ease;
        }
        
        .icon-feature:hover {
            transform: translateY(-5px);
        }
        
        .btn-primary {
            background: linear-gradient(135deg, #0f1f7a, #0056b3);
            border: none;
            border-radius: 6px;
            padding: 12px 30px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            transition: all 0.3s ease;
        }
        
        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
        }
        
        .form-control, .form-select {
            border-radius: 10px;
            border: 2px solid #e9ecef;
            padding: 12px 15px;
            transition: border-color 0.3s ease;
        }
        strong.text-primary, strong.text-success, strong.text-info {
            font-family: fangsong;
            color: #0f1f7a !important;
        }
        .form-control:focus, .form-select:focus {
            border-color: #007bff;
            box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
        }
        .bg-new{
            background: #c20a2a !important;
        }
        .clr-new{
            color: #c20a2a !important;
        }
        .bg-new2{
        background-color: #0056b3 !important;
        }
        .clr-new2{
        color: #0056b3 !important;
        }



        
        .alert {
            border-radius: 15px;
            border: none;
        }
        .text-primary {
            color: #0f1f7a !important;
        }
        .bg-primary {
            background-color: rgb(15 31 122) !important;
        }
        .text-gradient {
            background: linear-gradient(135deg, #0f1f7a, #0056b3);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .rounded-circle
         {
            border-radius: 10px !important;
        }
        .progress-thin {
            height: 8px;
        }
        
        .icon-circle-sm {
            width: 40px;
            height: 40px;
        }
        
        .icon-circle-md {
            width: 50px;
            height: 50px;
        }
        
        .icon-circle-lg {
            width: 80px;
            height: 80px;
        }
        
        .signature-canvas {
            border: 2px solid #dee2e6;
            border-radius: 10px;
            width: 100%;
            height: 200px;
            touch-action: none;
            background-color: white;
        }
        main.container {
            margin-bottom: 100px;
        }
        .badge-new{
            background: white;
            box-shadow: 0px 1px 13px 1px #0f1f7a24;
            padding: 16px !important;
        }
        .signature-preview {
            max-width: 100%;
            border: 1px solid #dee2e6;
            border-radius: 8px;
            background-color: white;
        }
        .new{
                border: 4px solid #0f1f7a;
                border-radius: 6px;
        }
        .btn-new{
            background: #2d3a89 !important;
            border: 4px solid #33408e !important;
        }
        
        .logo-img {
            height: 55px;
        }
        
        .icon-fixed-md {
            min-width: 50px;
            flex-shrink: 0;
        }
        
        .progress-33 {
            width: 33%;
        }
        
        .progress-66 {
            width: 66%;
        }
        
        .footer-logo {
            height: 50px;
        }
        .new-color{
           color: #0f1f7a !important;
        }

        .new-ft{
            background-color: #c10828 !important;
            padding-left: 10px;
            padding-right: 10px;
        }

        .new-ft1{
            padding-right: 18px;
        }
        .footer-white .text-primary {
            color: #495057 !important;
        }
        .bg-warning.text-dark.rounded-circle.d-flex.align-items-center.justify-content-center.me-3.icon-circle-sm {
            background-color: #0f1f7a !important;
            color: white !important;
        }
        .case-ref{
            font-family: fantasy;
            font-synthesis-weight: none;
            font-size: xxx-large;
        }
@media (max-width: 494px) {
    h4#evaluationModalLabel {
        display: none;
    }
}
i.fas.fa-envelope.me-2.mt-1 {
    position: relative;
    top: 10px;
}


/* ============================================================
   NSP brand buttons (navy #0f1f7a) - overrides Bootstrap _buttons.scss.
   Loaded AFTER bootstrap so it wins. Uses BS5.3 --bs-btn-* variables so
   hover/active/disabled states stay correct, scoped to the primary
   variants only (won't recolor success/danger/secondary buttons).
   ============================================================ */
.btn-primary {
    --bs-btn-bg: #0f1f7a;
    --bs-btn-border-color: #0f1f7a;
    --bs-btn-hover-bg: #0c1860;
    --bs-btn-hover-border-color: #0c1860;
    --bs-btn-active-bg: #0c1860;
    --bs-btn-active-border-color: #0c1860;
    --bs-btn-disabled-bg: #0f1f7a;
    --bs-btn-disabled-border-color: #0f1f7a;
    --bs-btn-focus-shadow-rgb: 15, 31, 122;
    --bs-gradient: none;
}
.btn-outline-primary {
    --bs-btn-color: #0f1f7a;
    --bs-btn-border-color: #0f1f7a;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #0f1f7a;
    --bs-btn-hover-border-color: #0f1f7a;
    --bs-btn-focus-shadow-rgb: 15, 31, 122;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #0f1f7a;
    --bs-btn-active-border-color: #0f1f7a;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #0f1f7a;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #0f1f7a;
    --bs-gradient: none;
}

/* State landing-page authority content (shared across all 50 states). */
.nsp-state-authority {
    color: #172033;
}

.nsp-authority-section,
.nsp-process-section {
    padding: clamp(1.5rem, 4vw, 3.25rem);
    border: 1px solid #e3e9f8;
    border-radius: 18px;
    background: linear-gradient(135deg, #f8faff 0%, #ffffff 62%, #eef3ff 100%);
}

.nsp-section-kicker {
    display: inline-flex;
    align-items: center;
    color: #0f1f7a;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.nsp-copy-narrow {
    max-width: 850px;
}

.nsp-authority-card,
.nsp-process-card,
.nsp-authority-panel {
    border: 1px solid #e6eaf5;
    border-radius: 14px;
    background: #fff;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(15, 31, 122, 0.07);
}

.nsp-authority-card,
.nsp-process-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.nsp-authority-card:hover,
.nsp-process-card:hover {
    transform: translateY(-4px);
    border-color: rgba(15, 31, 122, 0.24);
    box-shadow: 0 16px 38px rgba(15, 31, 122, 0.12);
}

.nsp-authority-icon,
.nsp-limit-icon {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    border-radius: 13px;
    color: #fff;
    font-size: 1.25rem;
    background: linear-gradient(135deg, #0f1f7a 0%, #0056b3 100%);
    box-shadow: 0 8px 20px rgba(15, 31, 122, 0.2);
}

.nsp-check-list {
    padding: 0;
    list-style: none;
}

.nsp-check-list li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.7rem 0;
    border-bottom: 1px solid #edf0f7;
}

.nsp-check-list li:last-child {
    border-bottom: 0;
}

.nsp-check-list i {
    margin-top: 0.2rem;
    color: #198754;
}

.nsp-limit-card {
    padding: clamp(1.5rem, 3vw, 2.25rem);
    border-radius: 16px;
    color: #fff;
    background: linear-gradient(135deg, #0f1f7a 0%, #0056b3 100%);
    box-shadow: 0 16px 40px rgba(15, 31, 122, 0.22);
}

.nsp-limit-card .nsp-limit-icon {
    color: #0f1f7a;
    background: #fff;
    box-shadow: none;
}

.nsp-limit-card p,
.nsp-limit-card li {
    color: rgba(255, 255, 255, 0.86);
}

.nsp-process-number {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    border-radius: 50%;
    color: #fff;
    font-weight: 800;
    background: linear-gradient(135deg, #0f1f7a 0%, #0056b3 100%);
}

.nsp-city-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.48rem 0.75rem;
    border: 1px solid #dfe5f5;
    border-radius: 999px;
    color: #0f1f7a;
    background: #f5f7ff;
    font-size: 0.88rem;
    font-weight: 700;
}

.nsp-mini-check {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    min-height: 52px;
    padding: 0.75rem;
    border-radius: 10px;
    background: #f7f9fd;
}

.nsp-mini-check i {
    width: 25px;
    height: 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 50%;
    color: #fff;
    background: #198754;
    font-size: 0.7rem;
}

.nsp-faq-list {
    max-width: 920px;
}

.nsp-faq-details {
    margin-bottom: 0.85rem;
    border: 1px solid #e1e6f2;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 7px 22px rgba(15, 31, 122, 0.06);
    overflow: hidden;
}

.nsp-faq-details summary {
    position: relative;
    padding: 1.15rem 3rem 1.15rem 1.25rem;
    color: #172033;
    cursor: pointer;
    font-weight: 750;
    list-style: none;
}

.nsp-faq-details summary::-webkit-details-marker {
    display: none;
}

.nsp-faq-details summary::after {
    content: "+";
    position: absolute;
    right: 1.25rem;
    top: 50%;
    color: #0f1f7a;
    font-size: 1.4rem;
    transform: translateY(-50%);
}

.nsp-faq-details[open] summary::after {
    content: "−";
}

.nsp-faq-details > div {
    padding: 0 1.25rem 1.1rem;
    color: #626b7b;
}

.nsp-faq-details p {
    margin-bottom: 0;
}

.nsp-source-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.25rem 1.5rem;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg, #0f1f7a 0%, #0056b3 100%);
}

.nsp-source-bar span {
    display: block;
    margin-top: 0.2rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.88rem;
}

.nsp-related-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem;
    border: 1px solid #e1e6f2;
    border-radius: 13px;
    color: #172033;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 31, 122, 0.07);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.nsp-related-card:hover {
    color: #0f1f7a;
    border-color: rgba(15, 31, 122, 0.3);
    box-shadow: 0 14px 32px rgba(15, 31, 122, 0.13);
    transform: translateY(-3px);
}

.nsp-related-card strong,
.nsp-related-card small {
    display: block;
}

.nsp-related-card small {
    margin-top: 0.25rem;
    color: #687182;
    line-height: 1.45;
}

.nsp-related-icon {
    width: 43px;
    height: 43px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 11px;
    color: #fff;
    background: linear-gradient(135deg, #0f1f7a 0%, #0056b3 100%);
}

@media (max-width: 767.98px) {
    .nsp-source-bar {
        align-items: flex-start;
        flex-direction: column;
    }

    .nsp-source-bar .btn {
        flex: 1 1 auto;
    }
}

/* ============================================================
   NSP public-page design system
   Shared polish for every indexed page while allowing each
   template's content and page-specific layout to remain distinct.
   ============================================================ */
:root {
    --nsp-navy: #0f1f7a;
    --nsp-blue: #0056b3;
    --nsp-ink: #172033;
    --nsp-muted: #667085;
    --nsp-line: #e1e7f2;
    --nsp-soft: #f5f8ff;
    --nsp-gradient: linear-gradient(135deg, #0f1f7a 0%, #0056b3 100%);
    --nsp-shadow-sm: 0 10px 28px rgba(15, 31, 122, 0.07);
    --nsp-shadow-md: 0 18px 46px rgba(15, 31, 122, 0.12);
}

.navbar-white {
    position: sticky;
    top: 0;
    z-index: 1030;
    border-bottom-color: rgba(15, 31, 122, 0.09);
    box-shadow: 0 8px 28px rgba(15, 31, 122, 0.07);
}

.navbar-white .navbar-brand img {
    max-width: 200px;
    object-fit: contain;
}

.navbar-white .nav-link {
    border-radius: 9px;
    transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.navbar-white .nav-link:hover,
.navbar-white .nav-link:focus-visible {
    color: var(--nsp-navy) !important;
    background: #eef3ff;
}

main.nsp-public-page {
    color: var(--nsp-ink);
}

main.nsp-public-page > section,
main.nsp-public-page > .nsp-retake-banner {
    scroll-margin-top: 92px;
}

main.nsp-public-page > section.bg-light,
main.nsp-public-page > section[style*="#eef3ff"],
main.nsp-public-page > section[style*="#f5f8ff"] {
    border: 1px solid var(--nsp-line) !important;
    border-radius: 24px !important;
    background: linear-gradient(145deg, #f7f9fe 0%, #ffffff 62%, #edf3ff 100%) !important;
    box-shadow: var(--nsp-shadow-sm);
}

main.nsp-public-page .card {
    border-color: var(--nsp-line);
    border-radius: 18px;
    box-shadow: var(--nsp-shadow-sm);
}

main.nsp-public-page .card:not(.pricing-card) {
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

main.nsp-public-page .card:not(.pricing-card):hover {
    border-color: rgba(15, 31, 122, 0.24);
    box-shadow: var(--nsp-shadow-md);
    transform: translateY(-4px);
}

main.nsp-public-page h1,
main.nsp-public-page h2,
main.nsp-public-page h3 {
    text-wrap: balance;
}

main.nsp-public-page p,
main.nsp-public-page li {
    text-wrap: pretty;
}

main.nsp-public-page .rounded-circle {
    border-radius: 50% !important;
}

main.nsp-public-page strong.text-primary,
main.nsp-public-page strong.text-success,
main.nsp-public-page strong.text-info {
    font-family: inherit;
}

.nsp-public-authority,
.nsp-state-authority {
    position: relative;
    color: var(--nsp-ink);
}

.nsp-public-authority::before,
.nsp-state-authority::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 2rem;
    right: -8vw;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 86, 179, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.nsp-authority-section,
.nsp-process-section {
    position: relative;
    border-radius: 26px;
    background:
        radial-gradient(circle at 8% 0%, rgba(15, 31, 122, 0.09), transparent 30%),
        linear-gradient(145deg, #f8faff 0%, #fff 58%, #eef3ff 100%);
    box-shadow: var(--nsp-shadow-sm);
    overflow: hidden;
}

.nsp-authority-section::after,
.nsp-process-section::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 5px;
    background: var(--nsp-gradient);
}

.nsp-authority-card,
.nsp-process-card,
.nsp-authority-panel {
    border-radius: 19px;
    box-shadow: var(--nsp-shadow-sm);
}

.nsp-authority-card {
    position: relative;
    padding: 1.75rem;
    overflow: hidden;
}

.nsp-authority-card-index {
    position: absolute;
    top: 1rem;
    right: 1.15rem;
    color: rgba(15, 31, 122, 0.11);
    font-size: 1.7rem;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.nsp-authority-card::after {
    content: "";
    position: absolute;
    top: -48px;
    right: -48px;
    width: 115px;
    height: 115px;
    border: 22px solid rgba(15, 31, 122, 0.045);
    border-radius: 50%;
    pointer-events: none;
}

.nsp-authority-card:hover,
.nsp-process-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--nsp-shadow-md);
}

.nsp-authority-card h3,
.nsp-process-card h3 {
    color: var(--nsp-ink);
}

.nsp-authority-section .row > div:nth-child(2) .nsp-authority-icon {
    background: linear-gradient(135deg, #0056b3 0%, #2384db 100%);
}

.nsp-authority-section .row > div:nth-child(3) .nsp-authority-icon {
    background: linear-gradient(135deg, #203b97 0%, #5977df 100%);
}

.nsp-authority-panel {
    padding: clamp(1.6rem, 3.5vw, 2.6rem);
    background:
        linear-gradient(145deg, rgba(255,255,255,0.97), rgba(247,249,255,0.97));
}

.nsp-limit-card {
    position: relative;
    border-radius: 22px;
    background: var(--nsp-gradient);
    box-shadow: 0 22px 52px rgba(15, 31, 122, 0.24);
    overflow: hidden;
}

.nsp-limit-card::after {
    content: "";
    position: absolute;
    right: -80px;
    bottom: -100px;
    width: 260px;
    height: 260px;
    border: 45px solid rgba(255,255,255,0.07);
    border-radius: 50%;
}

.nsp-limit-card > * {
    position: relative;
    z-index: 1;
}

.nsp-process-card {
    position: relative;
    padding-top: 2rem;
    overflow: hidden;
}

.nsp-process-number {
    box-shadow: 0 7px 18px rgba(15, 31, 122, 0.22);
}

.nsp-faq-details {
    border-radius: 16px;
    box-shadow: var(--nsp-shadow-sm);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nsp-faq-details:hover,
.nsp-faq-details[open] {
    border-color: rgba(15, 31, 122, 0.26);
    box-shadow: 0 12px 30px rgba(15, 31, 122, 0.1);
}

.nsp-faq-details summary {
    padding: 1.3rem 3.25rem 1.3rem 1.4rem;
}

.nsp-related-card {
    min-height: 118px;
    border-radius: 17px;
    box-shadow: var(--nsp-shadow-sm);
}

.nsp-related-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    box-shadow: 0 8px 18px rgba(15, 31, 122, 0.2);
}

.nsp-source-bar {
    position: relative;
    padding: 1.5rem 1.75rem;
    border-radius: 19px;
    background: var(--nsp-gradient);
    box-shadow: 0 18px 44px rgba(15, 31, 122, 0.2);
    overflow: hidden;
}

.nsp-source-bar::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.1) 0 2px, transparent 2.5px);
    background-size: 34px 34px;
    opacity: 0.45;
}

.nsp-source-bar > * {
    position: relative;
    z-index: 1;
}

.nsp-city-pill {
    border-color: #d9e2f7;
    background: linear-gradient(135deg, #f7f9ff, #eef3ff);
}

.nsp-mini-check {
    border: 1px solid #e5eaf5;
    border-radius: 13px;
    background: linear-gradient(145deg, #fafbff, #f3f6fd);
}

@media (max-width: 991.98px) {
    .navbar-white {
        position: relative;
    }

    .navbar-white .navbar-collapse {
        margin-top: 0.75rem;
        padding: 0.9rem;
        border: 1px solid #e5eaf4;
        border-radius: 14px;
        background: #fff;
        box-shadow: var(--nsp-shadow-sm);
    }
}

@media (max-width: 575.98px) {
    main.nsp-public-page {
        margin-top: 1rem !important;
    }

    .nsp-authority-section,
    .nsp-process-section,
    .nsp-limit-card,
    .nsp-source-bar {
        border-radius: 18px;
    }

    .nsp-source-bar .d-flex {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .fade-in,
    .slide-in-left,
    .slide-in-right,
    .scale-in {
        opacity: 1;
        transform: none;
        transition: none;
    }
}


        /* Shared sidebar call-to-action card (HIPAA cluster + legal pages) */
        .hp-cta {
            padding: 1.5rem;
            border-radius: 15px;
            background: linear-gradient(135deg, #0f1f7a 0%, #0056b3 100%);
            color: #fff;
        }
        .hp-cta h2 { color: #fff; }
        .hp-cta p { color: rgba(255,255,255,0.82); }


/* ── Footer trust marks ────────────────────────────────────────────────────
   Five indicators of how the service works, on the same light chips the
   payment marks below them use, so the footer reads as one system. */
.nsp-trustmarks {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nsp-trustmarks li {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #ffffff;
    color: #0f1f7a;
    font-size: 1.05rem;
    line-height: 1;
}

