/*
 * terms.css — how the Terms document reads, wherever it is read.
 *
 * The rules were written inside `website/terms.html`. They are in a file
 * because the document is shown in TWO places: the page itself, and the app's
 * own dialog, which fetches the page and links this sheet beside its words
 * (js/consent-gate.js). One sheet, so the agreement looks the same in the
 * create-account panel, on the Account page and at its own address.
 */

.terms-card {
    background-color: var(--bg-elevated);
    border-radius: 12px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
    max-width: 780px;
    width: 100%;
    padding: 2.5rem 3rem;
    animation: fadeIn 0.5s ease;
}
.terms-header {
    text-align: center;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-default);
    padding-bottom: 1rem;
}
.terms-header h1 {
    color: var(--brand-secondary);
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    margin-bottom: 0.25rem;
}
.terms-header .subtitle {
    color: var(--text-muted);
    font-size: 0.75rem;
}
.terms-body {
    color: var(--text-secondary);
    font-size: 0.78rem;
    line-height: 1.6;
    max-height: 70vh;
    overflow-y: auto;
    padding-right: 0.75rem;
}
.terms-body::-webkit-scrollbar { width: 6px; }
.terms-body::-webkit-scrollbar-track { background: var(--bg-base); border-radius: 3px; }
.terms-body::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 3px; }
.terms-body::-webkit-scrollbar-thumb:hover { background: var(--brand-secondary); }
.terms-body h2 {
    color: var(--brand-secondary);
    font-size: 0.92rem;
    margin-top: 1.4rem;
    margin-bottom: 0.4rem;
    font-weight: 600;
}
.terms-body h3 {
    color: var(--text-primary);
    font-size: 0.82rem;
    margin-top: 0.8rem;
    margin-bottom: 0.25rem;
    font-weight: 600;
}
.terms-body p { margin: 0.35rem 0; }
.terms-body ul {
    margin: 0.25rem 0 0.25rem 1.2rem;
    padding: 0;
}
.terms-body ul li {
    margin: 0.15rem 0;
    list-style: disc;
}
.terms-body a { color: var(--brand-secondary); }
.terms-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-default);
}
.terms-footer a {
    color: var(--brand-secondary);
    text-decoration: none;
    font-size: 0.85rem;
}
.terms-footer a:hover { text-decoration: underline; }
    