/* ============================================================
   TERMS OF SERVICE
   ============================================================ */

/* ============================================================
   HERO
   ============================================================ */
.tos-hero {
    background: var(--white);
    border-bottom: 1px solid var(--border-light);
    padding: 52px 20px 44px;
}

.tos-hero-inner {
    max-width: 1320px;
    margin: 0 auto;
}

.tos-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.tos-breadcrumb a {
    color: var(--brand-blue);
    text-decoration: none;
}

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

.tos-breadcrumb span {
    color: var(--text-muted);
}

.tos-eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: 6px;
    background: var(--light-gray);
    border: 1px solid var(--border-light);
    color: var(--brand-blue);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.tos-hero-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.25;
    margin-bottom: 14px;
    letter-spacing: -0.01em;
    max-width: 860px;
}

.tos-hero-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 0;
    max-width: 860px;
}

.tos-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.tos-meta strong {
    color: var(--dark);
}


/* ============================================================
   CONTENT AREA
   ============================================================ */
.tos-content {
    background: var(--light-gray);
    padding: 36px 20px 64px;
}

.tos-content-inner {
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 28px;
    align-items: start;
}


/* ============================================================
   TABLE OF CONTENTS
   ============================================================ */
.tos-toc {
    position: sticky;
    top: 90px;
}

.tos-toc-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 22px 20px;
}

.tos-toc-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.tos-toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: none;
}

.tos-toc-list li {
    padding: 1px 0;
}

.tos-toc-list a {
    display: block;
    font-size: 0.825rem;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 5px 8px;
    border-radius: 5px;
    line-height: 1.4;
    transition: background 0.12s, color 0.12s;
}

.tos-toc-list a:hover {
    background: var(--light-gray);
    color: var(--brand-blue);
}


/* ============================================================
   SECTIONS BODY
   ============================================================ */
.tos-body {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    overflow: hidden;
}

.tos-section {
    padding: 32px 36px;
    border-bottom: 1px solid var(--border-light);
}

.tos-section:last-child {
    border-bottom: none;
}

.tos-section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
    line-height: 1.3;
}

.tos-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0 6px;
    background: var(--brand-blue);
    color: var(--white);
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    flex-shrink: 0;
}

.tos-section p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 12px;
}

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

.tos-section ul {
    padding-left: 1.2rem;
    margin-bottom: 12px;
}

.tos-section ul:last-child {
    margin-bottom: 0;
}

.tos-section li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.75;
}

.tos-section li + li {
    margin-top: 5px;
}

.tos-section a {
    color: var(--brand-blue);
    text-decoration: none;
}

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

.tos-contact-list {
    list-style: none;
    padding-left: 0 !important;
}

.tos-contact-list li + li {
    margin-top: 8px;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
    .tos-content-inner {
        grid-template-columns: 1fr;
    }

    .tos-toc {
        position: static;
    }
}

@media (max-width: 575px) {
    .tos-hero {
        padding: 32px 16px 28px;
    }

    .tos-hero-title {
        font-size: 1.5rem;
    }

    .tos-content {
        padding: 24px 16px 44px;
    }

    .tos-section {
        padding: 24px 20px;
    }

    .tos-meta {
        flex-direction: column;
        gap: 6px;
    }
}
