/* Terms of Service v2 — matches index-v2 light theme (load after index-v2.css) */

body.vp-landing:has(.lp-nav-shell):not(:has(.lp-payout-ticker)) .vp-page {
    padding-top: calc(var(--lp-nav-h, 52px) + 1.25rem);
}

.vp-tos-hero {
    text-align: center;
    margin-top: 0.75rem;
    margin-bottom: 1.25rem;
}

.vp-tos-hero .vp-hero__grid {
    display: block;
    padding: 1.15rem 1.5rem 1.1rem;
    text-align: center;
}

.vp-tos-hero .vp-hero__title {
    font-size: clamp(1.65rem, 4vw, 2.35rem);
    margin-bottom: 0.55rem;
}

.vp-tos-hero .vp-hero__title span {
    display: inline;
}

.vp-tos-hero .vp-hero__lead {
    margin: 0 auto;
    max-width: 34rem;
}

.vp-tos-updated {
    display: inline-block;
    margin-top: 0.75rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--vp-muted);
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--vp-border);
}

.vp-tos-wrap {
    max-width: 900px;
    margin: 0 auto;
}

.vp-tos-jump {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.45rem;
    overflow-x: auto;
    padding: 0.15rem 0 1.1rem;
    margin-bottom: 0.35rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(37, 99, 235, 0.25) transparent;
    -webkit-overflow-scrolling: touch;
}

.vp-tos-jump::-webkit-scrollbar { height: 4px; }
.vp-tos-jump::-webkit-scrollbar-thumb { background: rgba(37, 99, 235, 0.25); border-radius: 999px; }

.vp-tos-jump__link {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.42rem 0.78rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--vp-muted);
    background: var(--vp-surface);
    border: 1px solid var(--vp-border);
    transition: border-color 0.18s, color 0.18s, background 0.18s, transform 0.15s;
}

.vp-tos-jump__link:hover,
.vp-tos-jump__link:focus-visible {
    color: var(--vp-primary-dark);
    border-color: rgba(37, 99, 235, 0.28);
    background: var(--vp-primary-light);
    transform: translateY(-1px);
}

.vp-tos-jump__link i { font-size: 0.85rem; }

.vp-tos-section {
    scroll-margin-top: calc(var(--lp-nav-h, 52px) + 1rem);
    margin-bottom: 1rem;
}

.vp-tos-card {
    padding: 1.25rem 1.35rem;
    border-radius: var(--vp-radius-sm);
    background: var(--vp-surface);
    border: 1px solid var(--vp-border);
    box-shadow: var(--vp-shadow);
}

.vp-tos-card h2 {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0 0 0.85rem;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--vp-text);
    line-height: 1.3;
}

.vp-tos-card h2 i {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.95rem;
    background: var(--vp-primary-light);
    color: var(--vp-primary);
}

.vp-tos-card p {
    margin: 0 0 0.75rem;
    font-size: 0.92rem;
    color: var(--vp-muted);
    line-height: 1.65;
}

.vp-tos-card p:last-child {
    margin-bottom: 0;
}

.vp-tos-card ul {
    margin: 0;
    padding-left: 1.2rem;
    font-size: 0.92rem;
    color: var(--vp-muted);
    line-height: 1.65;
}

.vp-tos-card li {
    margin-bottom: 0.45rem;
}

.vp-tos-card li:last-child {
    margin-bottom: 0;
}

.vp-tos-card strong {
    color: var(--vp-text);
    font-weight: 600;
}

.vp-tos-card a {
    color: var(--vp-primary);
    text-decoration: none;
    font-weight: 600;
}

.vp-tos-card a:hover {
    text-decoration: underline;
}

.vp-tos-highlight {
    margin: 0.85rem 0;
    padding: 0.85rem 1rem;
    border-radius: 10px;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #334155;
    background: var(--vp-primary-light);
    border: 1px solid rgba(37, 99, 235, 0.15);
}

.vp-tos-highlight strong {
    color: var(--vp-primary-dark);
}

.vp-tos-cta {
    max-width: 900px;
    margin: 1.25rem auto 0;
}

@media (max-width: 575.98px) {
    .vp-tos-card {
        padding: 1.05rem 1.1rem;
    }

    .vp-tos-card h2 {
        font-size: 0.98rem;
    }
}
