/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap');

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background-color: #f7fafc;
    font-size: 16px;
}

/* Disclaimer banner */
.disclaimer-banner {
    background: #fed7d7;
    color: #c53030;
    padding: 0.75rem 1rem;
    text-align: center;
    border-bottom: 1px solid #feb2b2;
    font-size: 0.875rem;
    font-weight: 600;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 200;
    /* display: none; */
}

.disclaimer-banner strong {
    font-weight: 700;
    text-transform: uppercase;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
}

/* Header styles */
header {
    background: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #e2e8f0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-section .brand-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.logo-section h1 {
    font-family: 'Open Sauce One', 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0;
    line-height: 1.1;
    display: flex;
    flex-direction: column;
}

.logo-section h1 .brand-line-1 {
    font-size: 1.1rem;
    margin-bottom: -2px;
}

.logo-section h1 .brand-line-2 {
    font-size: 1.1rem;
    font-weight: 600;
}

.logo-section h1 a {
    color: inherit;
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

/* Footer branding - reusable styling */
.footer-brand {
    font-family: 'Open Sauce One', 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 700;
    line-height: 1.1;
}

.footer-brand .brand-line-1 {
    font-size: 1.2rem;
    margin-bottom: -2px;
}

.footer-brand .brand-line-2 {
    font-size: 1.2rem;
    font-weight: 600;
}

/* Navigation */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #4a5568;
    padding: 0.5rem;
}

.main-nav {
    position: relative;
}

.main-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0;
    margin: 0;
    padding: 0;
}

.main-nav > ul > li {
    position: relative;
    margin: 0;
}

.main-nav a {
    color: #4a5568;
    text-decoration: none;
    font-family: 'Open Sauce One', 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 500;
    padding: 1rem 1.25rem;
    display: block;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.main-nav > ul > li > a:hover,
.main-nav > ul > li > a.active {
    color: #2E5CFF;
}

/* Dropdown Styles */
.nav-dropdown {
    position: relative;
}

.dropdown-trigger {
    position: relative;
}

.dropdown-trigger:after {
    content: "▾";
    margin-left: 0.5rem;
    font-size: 0.8em;
    transition: transform 0.2s ease;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 0.5rem 0;
    display: flex;
    flex-direction: column;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown .dropdown-trigger[aria-expanded="true"] + .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown:hover .dropdown-trigger:after,
.nav-dropdown .dropdown-trigger[aria-expanded="true"]:after {
    transform: rotate(180deg);
}

.dropdown-menu li {
    margin: 0;
    width: 100%;
}

.dropdown-menu a {
    padding: 0.75rem 1.25rem;
    color: #4a5568;
    display: block;
    transition: all 0.2s ease;
}

.dropdown-menu a:hover {
    color: #2E5CFF;
}

/* Main content */
main {
    flex: 1;
    padding: 2rem 0;
}

/* Page header */
.page-header {
    text-align: center;
    margin-bottom: 4rem;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f5f9;
}

.page-header h2 {
    font-size: 3rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.page-header p {
    font-size: 1.25rem;
    color: #4a5568;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Hero section */
.hero-section {
    background: #2E5CFF;
    color: white;
    padding: 4rem 2rem;
    border-radius: 8px;
    margin-bottom: 3rem;
    text-align: center;
}

.hero-content h1,
.hero-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn-primary, .btn-secondary {
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: #2E5CFF;
    color: white;
}

.btn-primary:hover {
    background: #2E5CFF;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(46, 92, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #2E5CFF;
}

/* Content sections */
.content-section {
    background: #ffffff;
    padding: 3rem 2.5rem;
    margin-bottom: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f5f9;
}

.content-section h3 {
    color: #1a202c;
    margin-bottom: 2rem;
    font-size: 1.875rem;
    font-weight: 700;
}

.content-section h4 {
    color: #2d3748;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.content-section h5 {
    color: #2d3748;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.content-section p {
    color: #4a5568;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 1rem;
}

.content-section ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.content-section li {
    color: #4a5568;
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

/* Info grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.info-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.info-card h3 {
    color: #1a202c;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.info-card p {
    color: #4a5568;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
}

.info-card a {
    color: #2E5CFF;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.info-card a:hover {
    color: #2E5CFF;
}

/* Tables */
.notices-table-container,
.fee-table-container,
.holiday-table-container {
    overflow-x: auto;
    margin-bottom: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f5f9;
}

.notices-table,
.fee-table,
.holiday-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
}

.notices-table th,
.fee-table th,
.holiday-table th {
    background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
    color: #1a202c;
    font-weight: 700;
    font-size: 1.125rem;
    padding: 1.5rem;
    text-align: left;
    border-bottom: 2px solid #e2e8f0;
}

.notices-table td,
.fee-table td,
.holiday-table td {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #f7fafc;
    color: #4a5568;
    font-size: 1rem;
    line-height: 1.6;
}

.notices-table tr:hover,
.fee-table tr:hover,
.holiday-table tr:hover {
    background: #f8fafc;
}

.notices-table tr:last-child td,
.fee-table tr:last-child td,
.holiday-table tr:last-child td {
    border-bottom: none;
}

.document-name {
    font-weight: 600;
    color: #2d3748;
}

.document-name a {
    color: #2E5CFF;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.document-name a:hover {
    color: #2E5CFF;
    text-decoration: underline;
}

.download-link {
    color: #2E5CFF;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    background: #ebf8ff;
    border-radius: 6px;
    border: 1px solid #bee3f8;
    transition: all 0.2s ease;
    display: inline-block;
}

.download-link:hover {
    background: #2E5CFF;
    color: white;
    transform: translateY(-1px);
}

/* Loading and error states */
.loading-notice,
.error-notice {
    text-align: center;
    padding: 2rem;
    background: #f7fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.error-notice {
    background: #fed7d7;
    border-color: #feb2b2;
    color: #c53030;
}

/* Clearing and Settlement Information */
.clearing-info {
    background: #edf2f7;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #cbd5e0;
    margin-top: 2rem;
    text-align: center;
}

.clearing-content h3 {
    color: #2d3748;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.clearing-content p {
    color: #4a5568;
    font-size: 1.1rem;
    line-height: 1.6;
}

.clearing-content a {
    color: #2E5CFF;
    text-decoration: none;
    font-weight: 600;
}

.clearing-content a:hover {
    color: #2E5CFF;
    text-decoration: underline;
}

.regulatory-text a {
    color: #2E5CFF;
    text-decoration: none;
    font-weight: 600;
}

.regulatory-text a:hover {
    color: #2E5CFF;
    text-decoration: underline;
}

/* Regulatory information */
.regulatory-footer-info {
    background: #f7fafc;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    margin-top: 2rem;
}

/* Market data section - styled like regulatory-footer-info */
.market-data-section {
    background: #f7fafc;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    margin-top: 2rem;
}

.regulatory-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.highlight-item {
    padding: 1.5rem;
    background: #f7fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.highlight-item h4 {
    color: #2E5CFF;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Document categories */
.document-category {
    margin-bottom: 3rem;
}

.document-category h4 {
    color: #2E5CFF;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 0.5rem;
}

.document-list {
    display: grid;
    gap: 1.5rem;
}

.document-item {
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.document-item h5 {
    color: #1a202c;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.doc-link {
    color: #2E5CFF;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.doc-link:hover {
    color: #2E5CFF;
}

/* Contact sections */
.contact-categories {
    display: grid;
    gap: 3rem;
    margin-bottom: 3rem;
}

.contact-category {
    padding: 2rem;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.contact-category h3 {
    color: #2E5CFF;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.contact-details {
    display: grid;
    gap: 2rem;
}

.contact-method h4 {
    color: #1a202c;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.contact-link {
    color: #2E5CFF;
    text-decoration: none;
    font-weight: 600;
}

.contact-link:hover {
    color: #2E5CFF;
    text-decoration: underline;
}

/* Contact Page Specific Styles */
.contact-card-primary {
    background: #f0f9ff;
    border: 1px solid #bfdbfe;
    border-radius: 12px;
    padding: 2.5rem;
    margin-bottom: 3rem;
}

.contact-card-primary h3 {
    color: #2E5CFF;
    margin-bottom: 2rem;
    font-size: 1.75rem;
    text-align: center;
}

.contact-card-primary .contact-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.contact-card-primary .contact-method {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.business-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.business-item {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.business-item h4 {
    color: #2E5CFF;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
}

/* Developer Page Specific Styles */
.developer-overview {
    margin-bottom: 3rem;
    padding: 2rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.developer-overview h3 {
    font-size: 1.875rem;
    color: #1a202c;
    margin-bottom: 1rem;
    font-weight: 600;
}

.developer-overview p {
    font-size: 1.125rem;
    color: #4a5568;
    line-height: 1.7;
}

.documentation-links {
    margin-bottom: 4rem;
}

.documentation-links h3 {
    font-size: 1.875rem;
    color: #1a202c;
    margin-bottom: 2rem;
    font-weight: 600;
}

.api-access {
    margin-bottom: 4rem;
}

.api-access h3 {
    font-size: 1.875rem;
    color: #1a202c;
    margin-bottom: 2rem;
    font-weight: 600;
}

.application-process {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.step-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.step-number {
    background: #2E5CFF;
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.step-content h4 {
    color: #1a202c;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.step-content p {
    color: #4a5568;
    line-height: 1.7;
    font-size: 1rem;
}

.support-resources {
    margin-bottom: 3rem;
}

.support-resources h3 {
    font-size: 1.875rem;
    color: #1a202c;
    margin-bottom: 2rem;
    font-weight: 600;
}

.support-options {
    display: grid;
    gap: 1.5rem;
}

.support-option {
    background: #f0f9ff;
    border: 1px solid #bfdbfe;
    padding: 2rem;
    border-radius: 12px;
}

.support-option h4 {
    color: #2E5CFF;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.support-option p {
    color: #4a5568;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.support-link {
    color: #2E5CFF;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
}

.support-link:hover {
    color: #2E5CFF;
    text-decoration: underline;
}

.regulatory-considerations {
    background: #fffbeb;
    border: 1px solid #fbbf24;
    border-radius: 12px;
    padding: 2.5rem;
    margin-top: 3rem;
}

.regulatory-considerations h3 {
    color: #92400e;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
    font-weight: 600;
}

.regulatory-info p {
    color: #78350f;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 1rem;
}

.regulatory-info a {
    color: #b45309;
    font-weight: 600;
}

.regulatory-info a:hover {
    color: #92400e;
    text-decoration: underline;
}

/* Footer */
footer {
    background: #1a202c;
    color: white;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 3rem 2rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
}

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

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    border-top: 1px solid #2d3748;
    text-align: center;
    padding: 1.5rem;
    color: #a0aec0;
    font-size: 0.9rem;
}

/* Developer page specific styles */
.main-docs-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: #2E5CFF;
    color: white;
    border-radius: 8px;
    margin-bottom: 3rem;
}

.docs-icon {
    font-size: 3rem;
}

.docs-content h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.docs-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.docs-link-primary {
    background: white;
    color: #2E5CFF;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.docs-link-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.api-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.api-card {
    padding: 2rem;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.api-card h4 {
    color: #2E5CFF;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.api-features ul {
    margin-bottom: 1.5rem;
}

.api-link {
    color: #2E5CFF;
    text-decoration: none;
    font-weight: 500;
}

.api-link:hover {
    color: #2E5CFF;
    text-decoration: underline;
}

/* Responsive design */
@media (max-width: 1024px) {
    .main-nav > ul {
        gap: 0;
    }

    .main-nav a {
        padding: 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .header-content {
        flex-wrap: wrap;
        position: relative;
    }

    .logo-section {
        flex: 1;
        min-width: 250px;
    }

    .mobile-menu-toggle {
        display: block;
        order: 3;
    }

    .main-nav {
        order: 4;
        width: 100%;
    }

    .main-nav > ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        z-index: 200;
        margin-top: 0.5rem;
        padding: 0.5rem 0;
    }

    .main-nav > ul.open {
        display: flex;
    }

    .main-nav > ul > li {
        width: 100%;
        border-bottom: 1px solid #f1f5f9;
    }

    .main-nav > ul > li:last-child {
        border-bottom: none;
    }

    .main-nav a {
        padding: 1rem 1.25rem;
        color: #4a5568;
    }

    .main-nav a:hover,
    .main-nav a.active {
        color: #2E5CFF;
    }

    /* Mobile dropdown styles */
    .nav-dropdown .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: transparent;
        margin: 0;
        padding: 0;
        display: none;
        flex-direction: column;
    }

    .nav-dropdown:hover .dropdown-menu,
    .nav-dropdown .dropdown-trigger[aria-expanded="true"] + .dropdown-menu {
        display: flex;
    }

    .dropdown-menu a {
        padding: 0.75rem 2rem;
        font-size: 0.9rem;
        color: #6b7280;
        border-left: 3px solid transparent;
    }

    .dropdown-menu a:hover {
        border-left-color: #2E5CFF;
        color: #2E5CFF;
    }

    .dropdown-trigger:after {
        content: "▸";
    }

    .nav-dropdown:hover .dropdown-trigger:after,
    .nav-dropdown .dropdown-trigger[aria-expanded="true"]:after {
        content: "▾";
        transform: none;
    }

    .hero-content h1,
    .hero-content h2 {
        font-size: 2rem;
        color: white;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .page-header {
        padding: 2rem 1.5rem;
        margin-bottom: 3rem;
    }

    .page-header h2 {
        font-size: 2.25rem;
    }

    .page-header p {
        font-size: 1.125rem;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .main-docs-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .api-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        padding: 2rem 1rem;
        text-align: center;
    }

    .content-section {
        padding: 2rem 1.5rem;
    }

    .hero-section {
        padding: 3rem 1.5rem;
    }

    /* Mobile-specific tech partner styles */
    .tech-partners-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .tech-partner-card {
        padding: 1.5rem;
    }

    .partner-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .logo-placeholder {
        width: 50px;
        height: 50px;
    }

    .partner-title h4 {
        font-size: 1.25rem;
    }

    /* Mobile-specific ISV partner styles */
    .isv-partners-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .isv-partner-card {
        padding: 1.5rem;
    }

    /* Mobile fees and hours styles */
    .fees-section, .hours-section {
        padding: 2rem 0;
    }

    .fees-section h3, .hours-section h3 {
        font-size: 1.75rem;
    }

    .coming-soon-notice, .hours-category, .maintenance-section {
        padding: 1.5rem;
    }

    /* Mobile contact info */
    .contact-info {
        padding: 2rem 1.5rem;
    }

    /* Mobile header hierarchy adjustments */
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    h4 {
        font-size: 1.25rem;
    }

    /* Mobile table styles */
    .notices-table th,
    .fee-table th,
    .holiday-table th {
        padding: 1rem;
        font-size: 1rem;
    }

    .notices-table td,
    .fee-table td,
    .holiday-table td {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .header-content {
        padding-left: 10px;
        padding-right: 10px;
    }

    .main-nav ul {
        left: 10px;
        right: 10px;
    }

    .hero-content h1,
    .hero-content h2 {
        font-size: 1.75rem;
        color: white;
    }

    .logo-section h1 {
        font-size: 1.25rem;
    }

    .btn-primary,
    .btn-secondary {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
}

/* Focus styles for accessibility */
button:focus,
a:focus {
    outline: 2px solid #2E5CFF;
    outline-offset: 2px;
}

/* Animation for content loading */
/* Content loading animations removed per request */

/* Technology Partners Page Styles */
.partners-overview {
    margin-bottom: 3rem;
    padding: 2rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.partners-overview h3 {
    font-size: 1.875rem;
    color: #1a202c;
    margin-bottom: 1rem;
    font-weight: 600;
}

.partners-overview p {
    font-size: 1.125rem;
    color: #4a5568;
    line-height: 1.7;
}

.tech-partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.tech-partner-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.partner-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.partner-logo {
    flex-shrink: 0;
}

.logo-placeholder {
    width: 60px;
    height: 60px;
    background: #2E5CFF;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    -o-object-fit: contain;
       object-fit: contain;
}

.logo-text {
    color: white;
    font-weight: 600;
    font-size: 0.75rem;
    text-align: center;
}

.partner-title h4 {
    font-size: 1.5rem;
    color: #1a202c;
    margin-bottom: 0.25rem;
    font-weight: 700;
}

.partner-type {
    color: #2E5CFF;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.partner-description {
    margin-bottom: 2rem;
}

.partner-description p {
    color: #4a5568;
    line-height: 1.7;
    font-size: 1rem;
}

.partner-services {
    margin-bottom: 2rem;
}

.partner-services h5 {
    font-size: 1.125rem;
    color: #2d3748;
    margin-bottom: 1rem;
    font-weight: 600;
}

.partner-services ul {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 0.5rem;
}

.partner-services li {
    color: #4a5568;
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.partner-services li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #48bb78;
    font-weight: bold;
}

.partner-link a {
    color: #2E5CFF;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 0;
    transition: color 0.2s ease;
}

.partner-link a:hover {
    color: #2E5CFF;
    text-decoration: underline;
}

.partner-link .coming-soon {
    color: #4a5568;
    background-color: #e2e8f0;
    padding: 0.75rem 1.25rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    border: 2px solid #cbd5e0;
}

/* ISV Partners Page Styles */
.certified-partners {
    margin-bottom: 3rem;
}

.isv-partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.isv-partner-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.isv-partner-card.featured {
    border-color: #2E5CFF;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    box-shadow: 0 4px 8px rgba(43, 108, 176, 0.1);
}

.partner-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.partner-card.featured {
    border-color: #2E5CFF;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
}

.partner-details {
    margin-top: 1.5rem;
}

.partner-details .partner-description p {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.partner-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.partner-link-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #2E5CFF;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    justify-content: center;
}

.partner-link-primary:hover {
    background: #2E5CFF;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(43, 108, 176, 0.3);
}

.link-icon {
    width: 16px;
    height: 16px;
}

.become-partner {
    margin-top: 4rem;
    padding: 2.5rem;
    background: #f0f9ff;
    border: 1px solid #bfdbfe;
    border-radius: 12px;
}

.become-partner h3 {
    font-size: 1.875rem;
    color: #1a202c;
    margin-bottom: 1.5rem;
    text-align: center;
}

.partnership-info {
    text-align: center;
}

.partnership-info p {
    font-size: 1.125rem;
    color: #4a5568;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.application-contact h4 {
    font-size: 1.25rem;
    color: #2d3748;
    margin-bottom: 1rem;
}

/* Fees and Hours Page Styles */
.fees-section, .hours-section {
    margin-bottom: 4rem;
    padding: 2.5rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.fees-section:last-of-type, .hours-section:last-of-type {
    border-bottom: none;
}

.fees-section h3, .hours-section h3 {
    font-size: 2rem;
    color: #1a202c;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.fees-section p, .hours-section p {
    font-size: 1.125rem;
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.coming-soon-notice {
    background: #fffbeb;
    border: 1px solid #fbbf24;
    border-radius: 8px;
    padding: 2rem;
    margin-top: 2rem;
}

.coming-soon-notice h4 {
    font-size: 1.5rem;
    color: #92400e;
    margin-bottom: 1rem;
    font-weight: 600;
}

.coming-soon-notice p {
    color: #78350f;
    font-size: 1rem;
    line-height: 1.6;
}

.hours-category {
    background: #f0f9ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem 0;
}

.hours-category h4 {
    font-size: 1.5rem;
    color: #2E5CFF;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.hours-info p {
    margin-bottom: 1rem;
}

.hours-info p strong {
    color: #1a202c;
    font-weight: 600;
}

.maintenance-section {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 2rem;
    margin-top: 2rem;
}

.maintenance-section h4 {
    font-size: 1.5rem;
    color: #2d3748;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.maintenance-info {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.maintenance-info h5 {
    font-size: 1.125rem;
    color: #e53e3e;
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Contact Info Sections */
.contact-info {
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2.5rem;
    margin-top: 3rem;
    text-align: center;
}

.contact-info h3 {
    font-size: 1.75rem;
    color: #1a202c;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.contact-info p {
    font-size: 1.125rem;
    color: #4a5568;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.contact-option {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1rem auto;
    max-width: 400px;
}

.contact-option h4 {
    font-size: 1.25rem;
    color: #2d3748;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.contact-option a {
    color: #2E5CFF;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
}

.contact-option a:hover {
    color: #2E5CFF;
    text-decoration: underline;
}

/* Improved Header Hierarchy */
h1 {
    font-family: 'Open Sauce One', 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 2.5rem;
    line-height: 1.2;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1.5rem;
}

h2 {
    font-family: 'Open Sauce One', 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 2rem;
    line-height: 1.3;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1.25rem;
}

h3 {
    font-family: 'Open Sauce One', 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.75rem;
    line-height: 1.4;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 1rem;
}

h4 {
    font-family: 'Open Sauce One', 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.5rem;
    line-height: 1.4;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.875rem;
}

h5 {
    font-family: 'Open Sauce One', 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.25rem;
    line-height: 1.5;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.75rem;
}

h6 {
    font-family: 'Open Sauce One', 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.125rem;
    line-height: 1.5;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 0.5rem;
}

/* Better Section Spacing */
.content-section + .content-section {
    margin-top: 3rem;
}

.content-section > div + div {
    margin-top: 3rem;
}

.content-section > div:first-child {
    margin-top: 0;
}

.content-section > div:last-child {
    margin-bottom: 0;
}

/* Utility classes */
.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.text-blue {
    color: #2E5CFF;
}

.text-gray {
    color: #4a5568;
}

/* Incentive Program Page Styles */
.effective-date {
    background-color: #e6f3ff;
    border: 2px solid #2E5CFF;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1.5rem;
    text-align: center;
    font-size: 1.1rem;
    color: #1a365d;
}

.program-summary {
    background-color: #f7fafc;
    border-left: 4px solid #2E5CFF;
    padding: 2rem;
    margin-bottom: 3rem;
    border-radius: 0 8px 8px 0;
}

.program-summary h3 {
    color: #2E5CFF;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.program-summary p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.program-link {
    margin-top: 1.5rem;
}

.coming-soon-prominent {
    color: #2E5CFF;
    background-color: #e6f3ff;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.2rem;
    display: inline-block;
    border: 2px solid #2E5CFF;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(43, 108, 176, 0.2);
}

.program-details {
    margin-bottom: 3rem;
}

.detail-section {
    margin-bottom: 2.5rem;
    padding: 2rem;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.detail-section h3 {
    color: #2d3748;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 0.5rem;
}

.detail-section p {
    font-size: 1rem;
    line-height: 1.6;
    color: #4a5568;
}

.regulatory-notice {
    background-color: #fef5e7;
    border: 1px solid #f6e05e;
    border-radius: 8px;
    padding: 2rem;
    margin-top: 3rem;
}

.regulatory-notice h3 {
    color: #744210;
    margin-bottom: 1rem;
}

.regulatory-notice p {
    color: #744210;
    font-weight: 500;
}

/* Incentive Programs Index Page Styles */
.programs-overview {
    background-color: #f7fafc;
    border-left: 4px solid #2E5CFF;
    padding: 2rem;
    margin-bottom: 3rem;
    border-radius: 0 8px 8px 0;
}

.programs-overview h3 {
    color: #2E5CFF;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.program-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.program-header {
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 1rem;
}

.program-header h4 {
    color: #2d3748;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.program-status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.program-status.effective {
    background-color: #c6f6d5;
    color: #22543d;
    border: 1px solid #9ae6b4;
}

.program-description {
    margin-bottom: 1.5rem;
}

.program-description p {
    color: #4a5568;
    line-height: 1.6;
    font-size: 1rem;
}

.program-features {
    margin-bottom: 2rem;
}

.program-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.program-features li {
    padding: 0.5rem 0;
    color: #4a5568;
    font-size: 0.95rem;
    position: relative;
    padding-left: 1.5rem;
}

.program-features li::before {
    content: "✓";
    color: #38a169;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0.5rem;
}

.program-card .program-link {
    margin-top: auto;
}

.program-card .btn-primary {
    width: 100%;
    text-align: center;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
}

/* Exchange Partners page styles */
.partners-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.partners-grid.single-partner {
    max-width: 50%;
}

.partner-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.partner-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.partner-logo {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.partner-info h3 {
    margin: 0 0 0.25rem 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a202c;
}

.partner-type {
    margin: 0;
    color: #718096;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.partner-description p {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.partner-details h4 {
    margin: 0 0 0.75rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: #2d3748;
}

.partner-details ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.partner-details li {
    padding: 0.25rem 0;
    color: #4a5568;
    font-size: 0.9rem;
    position: relative;
    padding-left: 1.25rem;
}

.partner-details li::before {
    content: "•";
    color: #2E5CFF;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.partner-links {
    margin-top: 1.5rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.benefit-item {
    background: #f7fafc;
    padding: 1.5rem;
    border-radius: 6px;
    border-left: 4px solid #2E5CFF;
}

.benefit-item h4 {
    margin: 0 0 0.75rem 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: #2d3748;
}

.benefit-item p {
    margin: 0;
    color: #4a5568;
    line-height: 1.5;
    font-size: 0.9rem;
}

.contact-cta {
    text-align: center;
    padding: 2rem;
    background: #f7fafc;
    border-radius: 8px;
    margin: 2rem 0;
}

.contact-cta h3 {
    margin: 0 0 1rem 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
}

.contact-cta p {
    margin: 0 0 1.5rem 0;
    color: #4a5568;
    line-height: 1.6;
}

/* Fix btn-secondary visibility in light backgrounds */
.contact-cta .btn-secondary {
    background: transparent;
    color: #2E5CFF;
    border: 2px solid #2E5CFF;
}

.contact-cta .btn-secondary:hover {
    background: #2E5CFF;
    color: white;
}

/* Contact categories styles */
.contact-categories {
    margin: 2rem 0;
}

.contact-category {
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid #2E5CFF;
}

.contact-category:last-child {
    margin-bottom: 0;
}

.contact-category h4 {
    margin: 0 0 0.75rem 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: #2d3748;
}

.contact-category p {
    margin: 0 0 0.5rem 0;
    color: #4a5568;
    line-height: 1.5;
    font-size: 0.95rem;
}

.contact-category p:last-child {
    margin-bottom: 0;
}

/* CSP-compliant utility classes for inline styles */
.gtm-hidden {
    display: none !important;
    visibility: hidden !important;
}

.hidden {
    display: none;
}

/* Screen reader only content */
.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;
}

/* Skip link styling */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #000;
    color: #fff;
    padding: 8px;
    text-decoration: none;
    z-index: 1000;
    border-radius: 0 0 4px 4px;
    font-weight: 600;
}

.skip-link:focus {
    top: 0;
}

/* CSP-compliant styles for JavaScript functionality */
.skip-link {
    position: absolute;
    top: -60px;
    left: 6px;
    background: #2b6cb0;
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 1000;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 6px;
}

/* Mobile navigation styles */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #4a5568;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.mobile-menu-toggle:hover {
    background-color: #f7fafc;
}

.mobile-menu-toggle:focus {
    outline: 2px solid #2b6cb0;
    outline-offset: 2px;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .main-nav ul {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        display: none;
        flex-direction: column;
        padding: 1rem 0;
        z-index: 200;
    }

    .main-nav ul.open {
        display: flex;
    }
}

/* Professional hover effects - removed per request */

/* Focus indicators for accessibility */
a:focus,
button:focus,
[tabindex]:focus {
    outline: 2px solid #2b6cb0 !important;
    outline-offset: 2px !important;
}

/* Table enhancements */
.table-wrapper {
    overflow-x: auto;
}

.notices-table tbody tr:nth-child(even),
.fee-table tbody tr:nth-child(even),
.holiday-table tbody tr:nth-child(even) {
    background-color: #f8fafc;
}

/* Timestamp styling */
.page-timestamp {
    font-size: 0.8rem;
    color: #718096;
    margin-top: 0.5rem;
}

/* Print styles */
@media print {
    header,
    footer,
    .mobile-menu-toggle {
        display: none !important;
    }

    main {
        padding-top: 0 !important;
    }

    .content-section {
        box-shadow: none !important;
        border: 1px solid #e2e8f0;
        -moz-column-break-inside: avoid;
             break-inside: avoid;
    }

    a[href]:after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
        color: #666;
    }

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }
}

/* External link indicator styling */
.external-indicator {
    font-size: 0.8em;
    opacity: 0.7;
}

/* External link indicator */
.external-indicator {
    font-size: 0.8em;
    opacity: 0.7;
}

/* FOUC prevention - Hide content until components are loaded */
body:not(.site-ready) main {
    opacity: 0;
}

body.site-ready main {
    opacity: 1;
    transition: opacity 0.2s ease;
}

/* Enhanced Form Styling */
.filter-controls {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f5f9;
}

.filter-controls label {
    font-weight: 600;
    color: #2d3748;
    margin-right: 0.5rem;
}

.filter-select, .filter-select-month, .filter-select-year, select {
    padding: 0.75rem 1rem;
    border-radius: 6px;
    border: 2px solid #e2e8f0;
    background: #ffffff;
    color: #2d3748;
    font-size: 0.875rem;
    font-weight: 500;
    min-width: 120px;
    transition: all 0.2s ease;
    cursor: pointer;
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23718096' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1rem;
    padding-right: 2.5rem;
}

.filter-select:hover, .filter-select-month:hover, .filter-select-year:hover, select:hover {
    border-color: #2E5CFF;
    box-shadow: 0 0 0 3px rgba(46, 92, 255, 0.1);
}

.filter-select:focus, .filter-select-month:focus, .filter-select-year:focus, select:focus {
    outline: none;
    border-color: #2E5CFF;
    box-shadow: 0 0 0 3px rgba(46, 92, 255, 0.1);
}

.filter-button, input[type="submit"], input[type="button"], button:not(.btn-primary):not(.btn-secondary) {
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    background: #2E5CFF;
    color: white;
    border: none;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-button:hover, input[type="submit"]:hover, input[type="button"]:hover, button:not(.btn-primary):not(.btn-secondary):hover {
    background: #1e4bff;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(46, 92, 255, 0.3);
}

.filter-button:active, input[type="submit"]:active, input[type="button"]:active, button:not(.btn-primary):not(.btn-secondary):active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(46, 92, 255, 0.3);
}

.filter-button:focus, input[type="submit"]:focus, input[type="button"]:focus, button:not(.btn-primary):not(.btn-secondary):focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(46, 92, 255, 0.2);
}

/* Enhanced form input styling */
input[type="text"], input[type="email"], input[type="tel"], textarea {
    padding: 0.75rem 1rem;
    border-radius: 6px;
    border: 2px solid #e2e8f0;
    background: #ffffff;
    color: #2d3748;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    width: 100%;
    box-sizing: border-box;
}

input[type="text"]:hover, input[type="email"]:hover, input[type="tel"]:hover, textarea:hover {
    border-color: #2E5CFF;
    box-shadow: 0 0 0 3px rgba(46, 92, 255, 0.1);
}

input[type="text"]:focus, input[type="email"]:focus, input[type="tel"]:focus, textarea:focus {
    outline: none;
    border-color: #2E5CFF;
    box-shadow: 0 0 0 3px rgba(46, 92, 255, 0.1);
}

/* Enhanced mobile responsiveness */
@media (max-width: 768px) {
    .filter-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        padding: 1rem;
    }

    .filter-controls label {
        margin-bottom: 0.25rem;
        margin-right: 0;
    }

    .filter-select, .filter-select-month, .filter-select-year, select {
        min-width: 100%;
        margin-right: 0;
    }

    .filter-button, input[type="submit"], input[type="button"], button:not(.btn-primary):not(.btn-secondary) {
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
    }
}

/* Hide disclaimer banner when disabled via template variable */
.disclaimer-banner.disclaimer-hidden {
    display: none !important;
}

/* Enhanced accessibility: Focus indicators for keyboard navigation */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #2E5CFF;
    outline-offset: 2px;
    box-shadow: 0 0 0 3px rgba(46, 92, 255, 0.2);
}

/* Focus states for navigation elements */
.main-nav > ul > li > a:focus,
.nav-dropdown .dropdown-trigger:focus {
    outline: 2px solid #2E5CFF;
    outline-offset: 2px;
    background-color: rgba(46, 92, 255, 0.1);
}

/* Focus states for dropdown menu items */
.dropdown-menu a:focus {
    outline: 2px solid #2E5CFF;
    outline-offset: -2px;
    background-color: #2E5CFF;
    color: white;
}

/* Focus states for buttons */
.btn-primary:focus,
.btn-secondary:focus,
.filter-button:focus {
    outline: 2px solid #1a365d;
    outline-offset: 2px;
    box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.2);
}

/* Focus states for cards and interactive elements */
.info-card:focus,
.step-item:focus {
    outline: 2px solid #2E5CFF;
    outline-offset: 2px;
    box-shadow: 0 0 0 3px rgba(46, 92, 255, 0.2);
}

/* Skip link focus */
.skip-link:focus {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 1000;
    padding: 8px 16px;
    background: #2E5CFF;
    color: white;
    border-radius: 4px;
    outline: 2px solid white;
    outline-offset: 2px;
}

/* Regulatory page styles */
.regulatory-overview {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
    border-left: 4px solid #2E5CFF;
}

.regulatory-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #4a5568;
    margin: 0;
}

.documents-section {
    margin: 3rem 0;
}

.documents-section h2 {
    font-size: 1.75rem;
    color: #1a202c;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.document-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.document-card h3 {
    font-size: 1.25rem;
    color: #1a202c;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.document-card p {
    color: #4a5568;
    margin-bottom: 1rem;
    line-height: 1.6;
    flex-grow: 1;
}

.document-card a {
    color: #2E5CFF;
    text-decoration: none;
    font-weight: 600;
}

.document-card a:hover {
    color: #2E5CFF;
    text-decoration: underline;
}

.btn-document {
    display: inline-block;
    background: #2E5CFF;
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #2E5CFF;
}

.btn-document:hover {
    background: #1a365d;
    border-color: #1a365d;
    transform: translateY(-1px);
}

.applications-section {
    margin: 3rem 0;
}

.applications-section h2 {
    font-size: 1.75rem;
    color: #1a202c;
    margin-bottom: 2rem;
    font-weight: 700;
}

.application-category {
    margin-bottom: 2.5rem;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.application-category h3 {
    font-size: 1.5rem;
    color: #1a202c;
    margin-bottom: 1.5rem;
    font-weight: 600;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 0.5rem;
}

.application-items {
    display: grid;
    gap: 1.5rem;
}

.application-item {
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 6px;
    border-left: 4px solid #2E5CFF;
}

.application-item h4 {
    font-size: 1.125rem;
    color: #1a202c;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.application-item p {
    color: #4a5568;
    margin-bottom: 1rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .documents-grid {
        grid-template-columns: 1fr;
    }

    .regulatory-overview,
    .application-category {
        padding: 1.5rem;
    }

    .application-item {
        padding: 1rem;
    }
}
