/* ================================================================
   Terms & Privacy — Shared legal page styles
   ================================================================ */

/* Both pages use one of these wrapper classes */
.term-container,
.privacy-container {
    max-width: 720px;
    margin: 0 auto;
}

/* --- Page header (icon + title) --- */
.page-header {
    text-align: center;
    margin-bottom: 40px;
}

.page-header h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
    margin-top: 8px;
}

/* --- Shield icon --- */
.icon-shield {
    width: 68px;
    height: 68px;
    background: var(--accent-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 1.8rem;
    border: 2px solid var(--primary);
    transition: transform 0.3s ease;
}

.icon-shield:hover {
    transform: scale(1.08) rotate(5deg);
}

/* --- Intro paragraph --- */
.term-intro {
    color: var(--text-muted);
    font-size: 0.93rem;
    line-height: 1.8;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 24px;
}

/* --- Section blocks --- */
.term-section {
    margin-bottom: 32px;
}

.term-section h2 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 14px;
    padding-left: 12px;
    border-left: 4px solid var(--accent);
    line-height: 1.4;
}

/* --- Clause paragraphs --- */
.clauses p {
    margin-bottom: 1rem;
    color: var(--text);
    font-size: 0.92rem;
    line-height: 1.75;
}

/* --- Error state --- */
.error-msg {
    padding: 32px;
    text-align: center;
    color: #dc2626;
    background: #fff5f5;
    border-radius: var(--radius);
    border: 1px solid #fca5a5;
    margin: 20px 0;
    font-size: 0.92rem;
}
