/* =======================================================================
   TERMS OF SERVICE PAGE STYLES
   Used by: terms.html
   ======================================================================= */

/* ===== DOCUMENT HEADER ===== */
.tos-header {
    padding: 7rem 1.5rem 2.5rem;
    text-align: center;
    background: var(--bg-primary);
}

.tos-title {
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.tos-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
}

.tos-divider {
    max-width: 740px;
    margin: 2rem auto 0;
    border: none;
    border-top: 1px solid var(--border-color);
}

/* ===== DOCUMENT BODY ===== */
.tos-body {
    max-width: 740px;
    margin: 0 auto;
    padding: 3rem 1.5rem 6rem;
}

.tos-intro {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--border-color);
}

/* ===== SECTIONS ===== */
.tos-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--border-color);
}

.tos-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.tos-section-title {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
}

.tos-body p {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-secondary);
    margin-bottom: 0.875rem;
}

.tos-body p:last-child {
    margin-bottom: 0;
}

.tos-body strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* ===== LIST ITEMS ===== */
.tos-list {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0.875rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.tos-list li {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    padding-left: 1.25rem;
    position: relative;
}

.tos-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--color-accent);
    flex-shrink: 0;
}

/* Sub-lists (e.g. chargeback consequences) */
.tos-sublist {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.tos-sublist li {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-secondary);
    padding-left: 1.25rem;
    position: relative;
}

.tos-sublist li::before {
    content: '–';
    position: absolute;
    left: 0;
    color: var(--text-secondary);
    font-weight: 600;
}

/* ===== WARNING / NOTICE BOX ===== */
.tos-warning {
    background: rgba(255, 59, 48, 0.06);
    border: 1px solid rgba(255, 59, 48, 0.2);
    border-left: 3px solid #ff3b30;
    border-radius: 10px;
    padding: 1rem 1.25rem;
    margin: 1.25rem 0;
}

.tos-warning p {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

/* ===== NOTE CALLOUT BOX ===== */
.tos-note {
    background: rgba(41, 151, 255, 0.07);
    border: 1px solid rgba(41, 151, 255, 0.2);
    border-left: 3px solid var(--color-accent);
    border-radius: 10px;
    padding: 1rem 1.25rem;
    margin: 1.25rem 0;
}

.tos-note p {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

/* ===== COPYRIGHT FOOTER LINE ===== */
.tos-copyright {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-secondary);
    padding-top: 3rem;
    border-top: 1px solid var(--border-color);
    margin-top: 3rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
    .tos-title {
        font-size: 1.75rem;
    }
}
