/* ── Terms of Service — page-specific styles ────────────────────── */

.terms-wrapper {
    max-width: 820px;
    margin: 0 auto;
    padding: 2rem 1.25rem 4rem;
}

/* Page header */
.terms-wrapper .page-header {
    text-align: center;
    padding: 3rem 0 2rem;
}

.terms-wrapper .page-header h1 {
    font-size: clamp(2.2rem, 6vw, 3rem);
    color: var(--theme-plum);
    margin-bottom: 0.4rem;
}

.terms-wrapper .page-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Content card */
.terms-card {
    background: linear-gradient(180deg, var(--theme-surface) 0%, var(--theme-surface-soft) 100%);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 2.5rem;
    border: 1px solid var(--theme-line);
    box-shadow: 0 16px 36px var(--theme-shadow), 0 0 0 1px rgba(255,255,255,0.52) inset;
    margin-bottom: 2rem;
}

/* Headings within the card */
.terms-card h2 {
    color: var(--theme-rose);
    font-size: 1.4rem;
    margin: 2rem 0 0.75rem;
}

.terms-card h2:first-child {
    margin-top: 0;
}

/* Prose */
.terms-card p,
.terms-card ul {
    margin-bottom: 1rem;
    color: var(--text-main);
    line-height: 1.75;
}

.terms-card ul {
    padding-left: 1.5rem;
}

.terms-card li {
    margin-bottom: 0.4rem;
}

.terms-card a {
    color: var(--theme-rose);
    text-decoration: underline;
}

.terms-card a:hover {
    opacity: 0.8;
}
