* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--bg-grey);
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

/* Navigation */
.navbar {
    background: var(--bg-white);
    padding: 1rem 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-navy);
    margin-right: auto;
}

.logo a {
    color: inherit;
    text-decoration: none;
}

.logo img {
    height: 5rem;
    width: auto;
    object-fit: contain;
    padding: 0;
    margin: 0;
    display: block;
}

/* Smooth scroll offset for sticky header */
html {
    scroll-padding-top: 90px;
}

/* Utility classes for gradient backgrounds and highlighted text */
.gradient-bg {
    background: linear-gradient(135deg, var(--primary-navy, #0F172A) 0%, var(--accent-blue, #3B82F6) 100%);
    color: #fff !important;
    border-radius: 1rem;
    padding: 2rem 1rem;
}

.gradient-card {
    background: linear-gradient(120deg, var(--accent-blue, #3B82F6) 0%, var(--accent-green, #10B981) 100%);
    color: #fff !important;
    border-radius: 1rem;
    box-shadow: 0 2px 16px rgba(79,140,255,0.08);
}

.gradient-text {
    background: linear-gradient(90deg, var(--accent-blue, #3B82F6), var(--accent-green, #10B981));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent !important;
}

.highlight {
    background: linear-gradient(90deg, #fff700 0%, #ffb700 100%);
    color: #222 !important;
    padding: 0.1em 0.4em;
    border-radius: 0.4em;
    font-weight: 700;
    box-decoration-break: clone;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin-right: 3rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent-blue);
}

.cta-button {
    background: var(--accent-blue);
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    white-space: nowrap;
    margin-left: auto;
}

.cta-button:hover {
    background: var(--accent-green);
    transform: translateY(-2px);
}

.hamburger {
    z-index: 1102;
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: 0.5rem;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-navy);
    transition: all 0.3s;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--charcoal) 100%);
    color: white;
    padding: 6rem 2rem;
    text-align: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
}

.hero-heading {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtext {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.9);
}

.quick-access-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.quick-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s, background 0.3s;
    cursor: pointer;
}

.quick-card h3,
.quick-card p {
    color: white;
}

.quick-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.quick-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

/* Value Proposition */
.value-banner {
    background: var(--bg-grey);
    padding: 4rem 2rem;
    text-align: center;
}

.value-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* Core Features */
.features-section {
    padding: 5rem 2rem;
    background: var(--bg-white);
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 3rem;
    color: var(--primary-navy);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background: var(--bg-grey);
    border-radius: 1rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary-navy);
}

/* Authority Section */
.authority-section {
    padding: 5rem 2rem;
    background: var(--bg-grey);
}

.authority-container {
    max-width: 1200px;
    margin: 0 auto;
}

.guidance-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.guidance-image {
    background-image: radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.25), transparent 55%),
                      radial-gradient(circle at 80% 0%, rgba(16, 185, 129, 0.25), transparent 55%),
                      linear-gradient(135deg, var(--charcoal), #020617);
    height: 400px;
    border-radius: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.15rem;
    text-align: center;
    padding: 1.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.stat-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    border-left: 4px solid var(--accent-blue);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-blue);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-light);
    font-weight: 500;
}

/* Services Section */
.services-section {
    padding: 5rem 2rem;
    background: var(--bg-white);
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: var(--bg-grey);
    padding: 2.5rem;
    border-radius: 1rem;
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 4px solid var(--accent-green);
}

.service-card h3,
.service-card p {
    color: inherit;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-navy);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Testimonial Section */
.testimonial-section {
    padding: 5rem 2rem;
    background: var(--bg-grey);
    text-align: center;
}

.testimonial-container {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.stars {
    color: #FBBF24;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1.25rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-navy);
}

.testimonial-role {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Final CTA */
.final-cta {
    padding: 5rem 2rem;
    background: var(--primary-navy);
    color: white;
    text-align: center;
}

.final-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.final-cta .cta-button {
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
}

/* Footer */
.footer {
    background: var(--charcoal);
    color: white;
    padding: 4rem 2rem 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, auto));
    gap: 4rem;
    justify-content: center;
    justify-items: center;
}

.footer-column {
    text-align: center;
}

/* Contact Modal Styles */
.contact-modal {
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s;
    padding: 1rem;
}

.contact-modal-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 1.5rem;
    padding: 3rem 2.5rem 2.5rem 2.5rem;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.3);
    min-width: 300px;
    max-width: 500px;
    width: 90vw;
    border: 3px solid var(--accent-blue);
    text-align: center;
    position: relative;
    animation: popIn 0.4s cubic-bezier(.68,-0.55,.27,1.55);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-modal-content h2 {
    color: var(--primary-navy);
    margin-bottom: 2rem;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.contact-modal-info {
    width: 100%;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.contact-modal-info > div {
    background: white;
    padding: 1.2rem 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 1px solid rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
}

.contact-modal-info > div:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
    border-color: var(--accent-blue);
}

.contact-modal-info strong {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-modal-info a {
    color: var(--accent-blue);
    font-weight: 700;
    text-decoration: none;
    font-size: 1.1rem;
    word-break: break-word;
    display: block;
}

.contact-modal-info a:hover {
    color: var(--accent-green);
    text-decoration: underline;
}

.contact-modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    font-size: 2rem;
    color: var(--text-light);
    cursor: pointer;
    font-weight: 700;
    transition: all 0.2s;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0,0,0,0.05);
}

.contact-modal-close:hover {
    color: var(--accent-blue);
    background: rgba(59, 130, 246, 0.1);
    transform: rotate(90deg);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes popIn {
    0% { transform: scale(0.7); opacity: 0; }
    80% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(1); }
}

.footer-column h4 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.footer-column-contact {
    background: rgba(15, 23, 42, 0.85);
    padding: 1.75rem 2.25rem;
    border-radius: 1.25rem;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
}

.footer-column-contact h4 {
    font-size: 1.35rem;
    letter-spacing: 0.03em;
}

.footer-column-contact a {
    color: #e5f3ff;
}

.footer-column ul {
    list-style: none;
    padding-left: 0;
}

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 968px) {
    .navbar {
        padding: 1rem 1rem;
    }
    
    .nav-container {
        flex-wrap: nowrap;
        gap: 0.5rem;
    }
    
    .nav-links {
        display: none;
    }

    .cta-button {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
        margin-left: auto;
        margin-right: 0.5rem;
        position: static;
        transform: none;
    }

    .hamburger {
        display: flex;
        position: static;
        flex-shrink: 0;
    }

    .hero-heading {
        font-size: 2.5rem;
    }
    
    .hero-section {
        padding: 5rem 1.5rem;
    }
    
    .service-hero {
        padding: 4rem 1.5rem 3rem;
    }
    
    .service-hero .container {
        gap: 2rem;
    }
    
    .contact-modal-content {
        padding: 2.5rem 1.5rem 2rem 1.5rem;
    }
    
    .contact-modal-content h2 {
        font-size: 1.75rem;
    }

    .quick-access-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .guidance-section {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .navbar {
        padding: 0.6rem 0.6rem;
    }
    
    .logo {
        font-size: 0.9rem;
        flex-shrink: 1;
        min-width: 0;
        max-width: 70%;
    }
    
    .logo a {
        display: flex !important;
        align-items: center;
        gap: 0.5rem !important;
    }
    
    .logo img {
        height: 3.2rem !important;
        width: auto;
        flex-shrink: 0;
        object-fit: contain;
        padding: 0;
        margin: 0;
        display: block;
    }
    
    .logo span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        min-width: 0;
        line-height: 1.2;
    }
    
    .nav-links {
        margin-right: 0;
    }
    
    .cta-button {
        padding: 0.45rem 0.65rem;
        font-size: 0.8rem;
        margin-right: 0.4rem;
        margin-left: 0.5rem;
        position: static;
        transform: none;
    }
    
    .hamburger {
        gap: 3px;
        padding: 0.4rem;
    }
    
    .hamburger span {
        width: 20px;
        height: 2.5px;
    }
    
    .contact-modal {
        padding: 0.5rem;
    }
    
    .contact-modal-content {
        width: 95vw;
        max-width: 95vw;
        padding: 2rem 1.2rem 1.8rem 1.2rem;
        border-width: 2px;
    }
    
    .contact-modal-content h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .contact-modal-info {
        gap: 1rem;
    }
    
    .contact-modal-info > div {
        padding: 1rem 1rem;
    }
    
    .contact-modal-info strong {
        font-size: 0.75rem;
        margin-bottom: 0.4rem;
    }
    
    .contact-modal-info a {
        font-size: 0.95rem;
    }
    
    .contact-modal-close {
        width: 32px;
        height: 32px;
        font-size: 1.75rem;
        top: 1rem;
        right: 1rem;
    }
    
    .hero-heading {
        font-size: 1.75rem;
    }
    
    .hero-section {
        padding: 4rem 1rem;
    }
    
    .service-hero {
        padding: 3rem 1rem 2rem;
    }
    
    .service-title {
        font-size: 1.5rem;
        line-height: 1.2;
    }
    
    .service-subtitle {
        font-size: 0.95rem;
    }

    .quick-access-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    /* .nav-container {
        padding: 0 1rem;
    } */

    .hero-section,
    .features-section,
    .authority-section,
    .services-section,
    .testimonial-section {
        padding: 3rem 1rem;
    }
}

/* ---------- Service Detail Template ---------- */
.service-hero {
    background: radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.08), transparent 35%), linear-gradient(135deg, var(--primary-navy) 0%, var(--charcoal) 100%);
    color: white;
    padding: 5rem 2rem;
}

.service-hero .container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
    align-items: center;
}

.breadcrumb {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
}

.service-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.service-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

.service-hero-image {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 1.25rem;
    height: 320px;
    min-width: 320px;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
    backdrop-filter: blur(8px);
    text-align: center;
/* Center and style the hero highlight text */
.service-hero-highlight {
    display: inline-block;
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0.01em;
    max-width: 90%;
    margin: 0 auto;
    text-align: center;
    color: white;
    background: none;
}
}

.service-section {
    padding: 4rem 2rem;
    background: var(--bg-white);
}

.service-section.alt {
    background: var(--bg-grey);
}

.service-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.service-heading {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--primary-navy);
    margin-bottom: 1.5rem;
    text-align: center;
}

.service-overview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1rem;
    color: var(--text-dark);
}

.service-overview p {
    color: var(--text-light);
    line-height: 1.8;
}

.service-overview ul {
    padding-left: 1.25rem;
    color: var(--text-dark);
    line-height: 1.8;
}

.service-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 1.25rem;
    padding: 1.75rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(8px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.service-card-icon {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
}

.service-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 0.5rem;
}

.service-card-desc {
    color: var(--text-light);
    line-height: 1.7;
}

.edge-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.edge-item {
    background: var(--bg-white);
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-left: 4px solid var(--accent-green);
    border-radius: 1rem;
    padding: 1.5rem;
    color: var(--text-dark);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.process-step {
    background: var(--bg-white);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    position: relative;
}

.process-step::after {
    content: '→';
    position: absolute;
    right: -0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-blue);
    font-weight: 700;
}

.process-step:last-child::after {
    display: none;
}

.step-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: var(--accent-blue);
    color: white;
    font-weight: 800;
    display: grid;
    place-items: center;
    margin: 0 auto 0.75rem auto;
}

.step-title {
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 0.35rem;
}

.step-desc {
    color: var(--text-light);
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .service-hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .service-overview {
        grid-template-columns: 1fr;
    }

    .service-feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .edge-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-step::after {
        display: none;
    }
}

@media (max-width: 640px) {
    .service-title {
        font-size: 2.25rem;
    }

    .service-feature-grid,
    .edge-grid,
    .process-steps {
        grid-template-columns: 1fr;
    }
}

/* ---------- Legal Pages ---------- */
.legal-page {
    background: var(--bg-grey);
    min-height: 100vh;
}

.legal-hero {
    background: linear-gradient(135deg, var(--primary-navy), var(--charcoal));
    color: white;
    padding: 3.5rem 2rem;
    text-align: center;
}

.legal-hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.legal-hero p {
    color: rgba(255, 255, 255, 0.85);
}

.legal-layout {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    padding: 3rem 2rem 4rem;
}

.legal-sidebar {
    background: var(--bg-white);
    border: 1px solid var(--border-muted);
    border-radius: 1rem;
    padding: 1.5rem;
    position: sticky;
    top: 90px;
    height: fit-content;
}

.legal-sidebar h3 {
    margin-bottom: 1rem;
    color: var(--primary-navy);
}

.legal-nav {
    list-style: none;
}

.legal-nav li {
    margin-bottom: 0.75rem;
}

.legal-nav a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.2s ease;
}

.legal-nav a:hover {
    color: var(--accent-blue);
}

.legal-content {
    background: var(--bg-white);
    border: 1px solid var(--border-muted);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.04);
}

.legal-content h2 {
    color: var(--primary-navy);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    font-size: 1.4rem;
}

.legal-content h2:first-of-type {
    margin-top: 0;
}

.legal-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-content ul {
    padding-left: 1.25rem;
    color: var(--text-dark);
    line-height: 1.8;
}

.legal-meta {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

@media (max-width: 1024px) {
    .legal-layout {
        grid-template-columns: 1fr;
    }

    .legal-sidebar {
        position: static;
    }
}

@media (max-width: 640px) {
    .legal-hero h1 {
        font-size: 2rem;
    }
}

