.terms-page {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 32px 18px 48px;
    flex: 1;
}

.terms-card {
    width: min(980px, 100%);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 18px 60px rgba(0,0,0,0.35);
    padding: 34px;
}

.terms-header {
    margin-bottom: 28px;
}

.terms-kicker {
    display: inline-block;
    font-size: 12px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 10px;
    font-weight: 700;
}

.terms-header h1 {
    font-family: var(--font-display);
    font-size: 38px;
    line-height: 1.1;
    margin: 0 0 12px;
}

.terms-subtitle {
    margin: 0;
    color: var(--muted);
    max-width: 720px;
    font-size: 15px;
    line-height: 1.6;
}

.terms-section {
    padding: 18px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.terms-section:first-of-type {
    border-top: none;
    padding-top: 0;
}

.terms-section h2 {
    font-family: var(--font-display);
    font-size: 18px;
    margin: 0 0 10px;
}

.terms-section p {
    margin: 0;
    color: rgba(240, 241, 245, 0.88);
    line-height: 1.7;
    font-size: 15px;
}

.terms-footer {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.terms-note {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}

@media (max-width: 760px) {
    .terms-page {
        padding: 18px 12px 32px;
    }

    .terms-card {
        padding: 22px 18px;
    }

    .terms-header h1 {
        font-size: 28px;
    }

    .terms-section h2 {
        font-size: 17px;
    }

    .terms-section p {
        font-size: 14px;
    }
}
