.page-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 120px 2rem 4rem;
}

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

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.page-subtitle {
    color: var(--text-secondary, #666);
    font-size: 1.1rem;
}

.page-content {
    line-height: 1.8;
}

.page-content h2 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.page-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.page-content ul {
    padding-left: 1.5rem;
}

.page-content li {
    margin-bottom: 0.5rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    color: var(--accent-color, #0071e3);
    text-decoration: none;
    margin-bottom: 2rem;
    font-weight: 500;
}

.back-link:hover {
    text-decoration: underline;
}

.callout {
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.75rem;
    margin: 1.25rem 0;
}

.link-card {
    display: block;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1rem;
    text-decoration: none;
    color: var(--text-primary, #1d1d1f);
    transition: border-color 0.2s ease, color 0.2s ease;
}

.link-card:hover {
    border-color: var(--accent-color, #0071e3);
    color: var(--accent-color, #0071e3);
}

.badge-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.badge {
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    font-size: 0.85rem;
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color, #000000);
    color: #ffffff;
    text-decoration: none;
    border-radius: 10px;
    padding: 0.75rem 1.25rem;
    font-weight: 600;
}

.cta-button.secondary {
    background: #f5f5f5;
    color: var(--text-primary, #1d1d1f);
    border: 1px solid #e0e0e0;
}

.faq-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e0e0e0;
}

.faq-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

@media (max-width: 600px) {
    .page-container {
        padding: 90px 0.5rem 2rem;
    }
    .page-header h1 {
        font-size: 1.6rem;
    }
    .page-header {
        margin-bottom: 1rem;
    }
    .page-subtitle {
        font-size: 1rem;
    }
    .page-content h2 {
        font-size: 1.15rem;
        margin-top: 1.5rem;
        margin-bottom: 0.5rem;
    }
    .link-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    .link-card {
        padding: 0.75rem;
        font-size: 1rem;
    }
    .callout {
        padding: 1rem;
    }
    .cta-row {
        flex-direction: column;
        gap: 0.5rem;
    }
    .cta-button {
        width: 100%;
        justify-content: center;
        font-size: 1rem;
    }
}

/* Dark mode support - keep light backgrounds with dark text */
@media (prefers-color-scheme: dark) {
    .link-card {
        background: #f5f5f5 !important;
        border-color: #e0e0e0 !important;
        color: #1d1d1f !important;
    }

    .link-card:hover {
        border-color: #0071e3 !important;
        color: #0071e3 !important;
    }

    .callout {
        background: #f5f5f5 !important;
        border-color: #e0e0e0 !important;
        color: #1d1d1f !important;
    }

    .badge {
        background: #f5f5f5 !important;
        border-color: #e0e0e0 !important;
        color: #1d1d1f !important;
    }

    .cta-button {
        background: #000000 !important;
        color: #ffffff !important;
    }

    .cta-button.secondary {
        background: #f5f5f5 !important;
        color: #1d1d1f !important;
        border-color: #e0e0e0 !important;
    }
}