/* Terms & Conditions — public legal page */

.terms-page {
    max-width: 860px;
    margin: 0 auto;
    padding: 2.5rem 1.25rem 3rem;
    color: var(--text-body);
}

.terms-header {
    text-align: center;
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--color-accent-orange);
}

.terms-brand img {
    height: 64px;
    margin-bottom: 1rem;
}

.terms-header h1 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-strong);
    margin: 0 0 0.35rem;
}

.terms-effective {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

.terms-body section {
    margin-bottom: 1.75rem;
}

.terms-body h2 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-strong);
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 0.35rem;
    margin: 0 0 0.75rem;
}

.terms-body p,
.terms-body li {
    line-height: 1.65;
    font-size: 0.95rem;
}

.terms-body ul {
    padding-left: 1.25rem;
    margin: 0;
}

.terms-body li {
    margin-bottom: 0.5rem;
}

.terms-body a {
    color: var(--link-color);
}

.terms-footer {
    margin-top: 2.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: var(--text-muted);
}

@media (max-width: 600px) {
    .terms-footer {
        flex-direction: column;
        text-align: center;
    }
}
