.page-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 1rem 0 3rem;
}

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

.page-header h1 {
    font-size: 2.25rem;
    margin-bottom: 0.75rem;
}

.page-lead {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 640px;
}

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

.page-section h2 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.page-section p,
.page-section li {
    color: var(--text-secondary);
    line-height: 1.8;
}

.page-list {
    padding-left: 1.5rem;
}

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

.page-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.legal-page .page-section h2 {
    font-size: 1.15rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 2.5rem;
}

.contact-form .form-group {
    margin-bottom: 1.25rem;
}

.contact-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-family: inherit;
}

.contact-form textarea {
    resize: vertical;
}

.typing-language-block {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.typing-language-block h2 {
    margin-bottom: 0.5rem;
}

.seo-link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.seo-link-grid.compact a {
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
}

.seo-practice-link {
    display: flex;
    flex-direction: column;
    padding: 1.25rem;
    background: white;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 700;
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--border-color);
    transition: all 0.25s ease;
}

.seo-practice-link span {
    font-weight: 400;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 0.35rem;
}

.seo-practice-link:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.seo-quick-links {
    margin: 3rem 0;
    text-align: center;
}

.seo-quick-links h2 {
    margin-bottom: 1.25rem;
}

.back-link {
    margin-top: 2rem;
}

.back-link a {
    color: var(--primary-color);
    font-weight: 600;
}

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