    /* API page specific styles */
    .api-container {
        max-width: var(--container, 1180px);
        margin: 0 auto;
        padding: 2rem 1rem;
    }
    
    .api-header {
        text-align: center;
        margin-bottom: 3rem;
        padding-bottom: 2rem;
        border-bottom: 1px solid rgba(204, 153, 51, 0.2);
    }
    
    .api-header h1 {
        color: var(--color-gold);
        font-size: 2.5rem;
        margin-bottom: 0.5rem;
        font-weight: 700;
    }
    
    .api-header p {
        color: var(--text-secondary);
        font-size: 1.125rem;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .api-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
        margin: 2rem 0;
    }
    
    .api-card {
        background: var(--color-gray-900);
        border: 1px solid rgba(204, 153, 51, 0.2);
        border-radius: 0;
        padding: 2rem;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        transition: all 0.3s ease;
    }
    
    [data-theme="light"] .api-card {
        background: rgba(255, 255, 255, 0.9);
        border: 1px solid rgba(204, 153, 51, 0.3);
    }
    
    .api-card:hover {
        border-color: var(--color-gold);
        transform: translateY(-4px);
        box-shadow: 0 8px 25px rgba(204, 153, 51, 0.15);
    }
    
    .api-card .icon {
        width: 48px;
        height: 48px;
        color: var(--color-gold);
        margin-bottom: 1.5rem;
        display: block;
    }
    
    .api-card h3 {
        color: var(--text-primary);
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
        font-weight: 600;
    }
    
    .api-card p {
        color: var(--text-secondary);
        line-height: 1.6;
        margin-bottom: 1rem;
    }
    
    .endpoint {
        background: rgba(26, 26, 26, 0.8);
        border-left: 4px solid var(--color-gold);
        border-radius: 0;
        padding: 1.5rem;
        margin: 1.5rem 0;
    }
    
    [data-theme="light"] .endpoint {
        background: rgba(245, 245, 245, 0.8);
    }
    
    .method {
        display: inline-block;
        padding: 0.25rem 0.75rem;
        border-radius: 0;
        font-weight: 600;
        font-size: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        margin-right: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .method.get { 
        background: #28a745; 
        color: white;
    }
    
    .method.post { 
        background: #007bff; 
        color: white;
    }
    
    .endpoint-url {
        font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
        color: var(--color-gold-light);
        font-weight: 500;
    }
    
    .code-block {
        background: var(--color-rich-black);
        border: 1px solid rgba(204, 153, 51, 0.2);
        border-radius: 0;
        padding: 1rem;
        margin: 1rem 0;
        overflow-x: auto;
        font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
        font-size: 0.875rem;
        line-height: 1.5;
    }
    
    [data-theme="light"] .code-block {
        background: #f8f8f8;
        border: 1px solid rgba(204, 153, 51, 0.3);
    }
    
    .code-block code {
        color: var(--color-gold-light);
    }
    
    [data-theme="light"] .code-block code {
        color: var(--color-gold-dark);
    }
    
    .alert-box {
        background: rgba(204, 153, 51, 0.1);
        border: 1px solid rgba(204, 153, 51, 0.3);
        border-radius: 0;
        padding: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .alert-box h4 {
        color: var(--color-gold);
        margin-bottom: 1rem;
        padding-bottom: 0.5rem;
        font-weight: 600;
    }
    
    .cta-section {
        background: rgba(26, 26, 26, 0.8);
        border: 1px solid rgba(204, 153, 51, 0.2);
        border-radius: 0;
        padding: 2rem;
        margin-top: 3rem;
        text-align: center;
    }
    
    [data-theme="light"] .cta-section {
        background: rgba(245, 245, 245, 0.8);
    }
    
    .cta-section h3 {
        color: var(--color-gold);
        margin-bottom: 1rem;
        font-size: 1.5rem;
    }
    
    .cta-button {
        display: inline-block;
        background: var(--color-gold);
        color: var(--color-black);
        padding: 0.75rem 2rem;
        border-radius: 0;
        text-decoration: none;
        font-weight: 600;
        margin: 0.5rem;
        transition: all 0.3s ease;
    }
    
    .cta-button:hover {
        background: var(--color-gold-light);
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(204, 153, 51, 0.3);
    }
    
    /* Responsive Table Wrapper */
    .table-wrapper {
        width: 100%;
        overflow: hidden;
        margin: 1.5rem 0;
        border-radius: 0;
        background: rgba(26, 26, 26, 0.5);
        border: 1px solid rgba(204, 153, 51, 0.2);
        position: relative;
    }
    
    [data-theme="light"] .table-wrapper {
        background: rgba(245, 245, 245, 0.8);
    }
    
    
    .data-table {
        width: 100%;
        border-collapse: collapse;
        background: transparent;
        table-layout: fixed;
    }
    
    .data-table th,
    .data-table td {
        padding: 1rem;
        text-align: left;
        border-bottom: 1px solid rgba(204, 153, 51, 0.2);
    }
    
    .data-table th {
        background: rgba(204, 153, 51, 0.1);
        color: var(--color-gold);
        font-weight: 600;
        position: sticky;
        top: 0;
        z-index: 10;
    }
    
    .data-table th:first-child {
        width: 40%;
        white-space: nowrap;
    }
    
    .data-table th:last-child {
        width: 60%;
    }
    
    .data-table tbody tr {
        background: transparent;
        transition: background 0.2s ease;
    }
    
    .data-table tbody tr:hover {
        background: rgba(204, 153, 51, 0.05);
    }
    
    .data-table td {
        color: var(--text-secondary);
        word-wrap: break-word;
        word-break: break-word;
    }
    
    .data-table td:first-child {
        font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
        color: var(--color-gold);
        font-weight: 600;
        white-space: nowrap;
    }
    
    .data-table td:last-child {
        white-space: normal;
    }
    
    /* Tablet */
    @media (max-width: 991.98px) {
        .table-wrapper {
            margin: 1.5rem 0;
            border-radius: 0;
        }
        
        .data-table th:first-child,
        .data-table td:first-child {
            width: 35%;
        }
        
        .data-table th:last-child,
        .data-table td:last-child {
            width: 65%;
        }
    }
    
    /* Mobile Large */
    @media (max-width: 767.98px) {
        .table-wrapper {
            margin: 1.5rem 0;
            border-radius: 0;
        }
        
        .data-table {
            font-size: 0.9rem;
        }
        
        .data-table th,
        .data-table td {
            padding: 0.875rem 0.75rem;
        }
        
        .data-table th:first-child,
        .data-table td:first-child {
            width: 45%;
        }
        
        .data-table th:last-child,
        .data-table td:last-child {
            width: 55%;
        }
    }
    
    /* Mobile */
    @media (max-width: 575.98px) {
        .table-wrapper {
            margin: 1rem 0;
            border-radius: 0;
        }
        
        .data-table {
            font-size: 0.85rem;
        }
        
        .data-table th,
        .data-table td {
            padding: 0.75rem 0.5rem;
        }
        
        .data-table td:first-child {
            font-size: 0.8rem;
        }
        
        .data-table th:first-child,
        .data-table td:first-child {
            width: 50%;
        }
        
        .data-table th:last-child,
        .data-table td:last-child {
            width: 50%;
        }
    }
    
    /* Smartwatch and ultra-small devices */
    @media (max-width: 383.98px) {
        .data-table {
            font-size: 0.8rem;
        }
        
        .data-table th,
        .data-table td {
            padding: 0.625rem 0.4rem;
        }
        
        .data-table td:first-child {
            font-size: 0.75rem;
            word-break: break-all;
        }
    }
    
    /* Ultra-tiny devices */
    @media (max-width: 247.98px) {
        .data-table {
            font-size: 0.75rem;
        }
        
        .data-table th,
        .data-table td {
            padding: 0.5rem 0.3rem;
        }
        
        .data-table td:first-child {
            font-size: 0.7rem;
            word-break: break-all;
        }
    }
    
    /* Mobile Responsive */
    @media (max-width: 768px) {
        .api-container {
            padding: 1rem;
        }
        
        .api-header h1 {
            font-size: 2rem;
        }
        
        .api-grid {
            grid-template-columns: 1fr;
            gap: 1rem;
        }
    }
    

/* ===== family normalization 2026-09-23 ===== */
.section-title {
    font-family: var(--font-display);
    font-size: clamp(30px, 4.2vw, 50px);
    font-weight: 700;
    line-height: 1.1;
    color: var(--text);
    margin-bottom: var(--spacing-md);
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: currentColor;
    border-left: none;
    padding-left: 0;
    text-align: inherit;
}
.section-subtitle {
    font-size: clamp(17px, 1.6vw, 20px);
    color: var(--text-2);
    line-height: 1.6;
    max-width: 60ch;
    background: none;
    -webkit-text-fill-color: currentColor;
}

.api-header {
    padding-block: clamp(56px, 8vw, 96px) !important;
    border-bottom: 1px solid var(--line-gold) !important;
    border-radius: 0 !important;
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
}
.api-header h1, .api-header .hero-title, .api-header .apply-title {
    font-family: var(--font-display) !important;
    font-size: clamp(36px, 5.4vw, 64px) !important;
    font-weight: 700 !important;
    line-height: 1.08 !important;
    color: var(--text) !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: currentColor !important;
    text-shadow: none !important;
    margin-bottom: var(--spacing-lg) !important;
}
.api-header { text-align: center; }
.api-header p { margin-left: auto; margin-right: auto; }
