@charset "utf-8";

/* SaaS Terms of Service Page */

#body_wrapp { background-color: #FFF; color: #222222; font-size: 16px; font-weight: 400; letter-spacing: -0.02em; line-height: 22px; margin: 0; margin-top: 64px; text-transform: none; width: 100%; }

.saas-tos-wrapper { display: flex; max-width: 1800px; margin: 0 auto; padding: 41px 43px; gap: 74px; align-items: flex-start; }

/* ---- Left Navigation ---- */
.saas-left-nav { width: 212px; min-width: 212px; }

.saas-left-nav .nav-inner { position: relative; padding-left: 20px; max-height: calc(100vh - 160px); overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(0,0,0,.12) transparent; border-left: 2px solid #c4cac9; }
.saas-left-nav .nav-inner::-webkit-scrollbar { width: 3px; }
.saas-left-nav .nav-inner::-webkit-scrollbar-track { background: transparent; }
.saas-left-nav .nav-inner::-webkit-scrollbar-thumb { background-color: rgba(0,0,0,.12); border-radius: 2px; }

/* pill indicator */
.saas-left-nav .nav-indicator { position: absolute; left: -4px; top: 0; width: 8px; height: 20px; background: #038580; border-radius: 20px; transition: top .25s cubic-bezier(.4,0,.2,1), height .25s cubic-bezier(.4,0,.2,1); pointer-events: none; z-index: 1; }

/* category headings */
.saas-left-nav .nav-category { color: #038580; text-align: left; font-family: "PlusJakartaSans-SemiBoldItalic", "PlusJakartaSans", sans-serif; font-size: 15px; line-height: 18px; letter-spacing: -0.02em; font-weight: 600; font-style: italic; display: block; margin: 20px 0 5px 0; }
.saas-left-nav .nav-category:first-of-type { margin-top: 9px; }

/* nav item links */
.saas-left-nav .nav-item { display: block; color: #222222; font-family: "PlusJakartaSans-SemiBoldItalic", "PlusJakartaSans", sans-serif; font-size: 15px; line-height: 18px; letter-spacing: -0.02em; font-weight: 600; font-style: italic; padding: 7px 0; text-decoration: none !important; border: none !important; transition: color .15s ease; }
.saas-left-nav .nav-item:hover { color: #038580; }
.saas-left-nav .nav-item.is-active { color: #038580; }

/* ---- Main Content ---- */
.saas-content { flex: 1; min-width: 0; min-height: 0; }

/* Page title */
.saas-page-title { color: #222222; font-family: "PlusJakartaSans-Bold", "PlusJakartaSans", sans-serif; font-size: 40px; line-height: 50px; letter-spacing: -0.02em; font-weight: 700; margin: 0 0 10px 0; }

/* Last updated */
.saas-last-updated { color: #038580; font-family: "PlusJakartaSans-SemiBoldItalic", "PlusJakartaSans", sans-serif; font-size: 15px; line-height: 18px; letter-spacing: -0.02em; font-weight: 600; font-style: italic; margin: 0 0 10px 0; }
.saas-last-updated a { color: #038580 !important; border-bottom: 1px solid rgba(3,133,128,.4) !important; text-decoration: none; font-style: italic; }
.saas-last-updated a:hover { border-bottom-color: #038580 !important; }

/* Intro body text */
.saas-intro { font-family: "PlusJakartaSans-Regular", "PlusJakartaSans", sans-serif; font-size: 16px; line-height: 22px; letter-spacing: -0.02em; font-weight: 400; color: #222222; margin-bottom: 32px; overflow-wrap: break-word; word-break: break-word; }
.saas-intro p { margin: 0 0 16px 0; }
.saas-intro p:last-child { margin-bottom: 0; }
.saas-intro strong { font-family: "PlusJakartaSans-Bold", "PlusJakartaSans", sans-serif; font-weight: 700; }
.saas-intro a { color: #0389a0 !important; font-family: "PlusJakartaSans-SemiBold", "PlusJakartaSans", sans-serif; font-weight: 600; font-size: 16px; text-decoration: underline !important; border: none !important; }

/* ---- Section Cards ---- */
.saas-section {
    margin-bottom: 24px;
    scroll-margin-top: 90px;
}

/* Section header row — sits above the card */
.saas-section-header-row {
    margin-bottom: 8px;
}

/* Gray card wraps only the body content, not the heading */
.saas-section-body {
    background: #ebeded;
    border-radius: 10px;
    padding: 10px 12px 16px 9px;
}

.saas-section-header {
    color: #038580;
    font-family: "PlusJakartaSans-SemiBold", "PlusJakartaSans", sans-serif;
    font-size: 28px;
    line-height: 35px;
    letter-spacing: -0.02em;
    font-weight: 600;
    margin: 0;
}

/* Hide hr divider */
.saas-section-divider { display: none; }

/* Section applicability notes */
.saas-section-note { font-family: "PlusJakartaSans-Regular", "PlusJakartaSans", sans-serif; font-size: 13px; font-style: italic; color: #6E6E6E; letter-spacing: -0.02em; margin: 0 0 12px 0; line-height: 18px; }

/* Subsection body */
.saas-subsection { margin-bottom: 14px; font-family: "PlusJakartaSans-Regular", "PlusJakartaSans", sans-serif; font-size: 16px; line-height: 22px; letter-spacing: -0.02em; font-weight: 400; color: #222222; overflow-wrap: break-word; word-break: break-word; }
.saas-subsection:last-child { margin-bottom: 0; }
.saas-subsection strong { font-family: "PlusJakartaSans-Bold", "PlusJakartaSans", sans-serif; font-weight: 700; color: #222222; }
.saas-subsection em { font-style: italic; color: #555; }
.saas-subsection a { color: #0389a0 !important; text-decoration: underline !important; border: none !important; }
.saas-subsection a:hover { color: #038580 !important; }

.saas-subsection ol, .saas-subsection ul { padding-left: 22px; margin: 8px 0 4px 0; }
.saas-subsection li { margin-bottom: 4px; font-size: 16px; line-height: 22px; letter-spacing: -0.02em; color: #222222; font-family: "PlusJakartaSans-Regular", "PlusJakartaSans", sans-serif; }

/* ---- Desktop: content-only scroll ---- */
@media (min-width: 901px) {
    #body_wrapp { height: calc(100vh - 64px); overflow: hidden; }
    .saas-tos-wrapper { height: 100%; align-items: stretch; }
    .saas-content { overflow-y: auto; position: relative; }
    .saas-section { scroll-margin-top: 8px; }
}

/* ---- Mobile Sticky Header ---- */
.saas-sticky-header { display: contents; }

/* ---- Mobile Chip Navigation ---- */
.saas-mobile-chips { display: none; }

/* ---- Category headings (mobile only) ---- */
.saas-category-heading { display: none; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
    html, body { overflow-x: clip; }
    #body_wrapp { height: auto !important; overflow: visible !important; }
    .saas-tos-wrapper { flex-direction: column; padding: 0 16px 40px; gap: 0; }
    .saas-content { width: 100%; max-width: 100%; box-sizing: border-box; }
    .saas-left-nav { display: none; }
    .saas-page-title { font-size: 28px; line-height: 36px; }
    .saas-section-header { font-size: 20px; line-height: 26px; }
    .saas-section { scroll-margin-top: 225px; }

    .saas-category-heading {
        display: block;
        color: var(--primary-color);
        font-size: 20px;
        font-style: normal;
        font-weight: 700;
        line-height: 24px;
        margin: 28px 0 14px 0;
        padding-bottom: 10px;
        border-bottom: 1.5px solid rgba(8, 166, 160, 0.25);
        scroll-margin-top: 225px;
    }
    .saas-category-heading:first-of-type { margin-top: 16px; }

    .saas-sticky-header {
        display: block;
        position: sticky;
        top: 64px;
        z-index: 100;
        background: #fff;
        margin-left: -16px;
        margin-right: -16px;
        padding: 20px 16px 0;
    }

    .saas-mobile-chips {
        display: block;
        overflow: hidden;
        margin-bottom: 16px;
    }
    .saas-chips-inner {
        display: flex;
        flex-direction: row;
        gap: 8px;
        align-items: center;
        padding: 8px 0;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    .saas-chips-inner::after { content: ''; flex-shrink: 0; width: 16px; }
    .saas-chips-inner::-webkit-scrollbar { display: none; }

    .saas-chip {
        border-radius: 16px;
        border: 1px solid #9da6a5 !important;
        padding: 4px 8px;
        height: 28px;
        min-width: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        text-decoration: none !important;
        color: #222222 !important;
        font-family: "PlusJakartaSans-Regular", "PlusJakartaSans", sans-serif;
        font-size: 14px;
        line-height: 18px;
        font-weight: 400;
        white-space: nowrap;
        transition: background .15s ease, border-color .15s ease, color .15s ease;
    }
    .saas-chip.is-active {
        background: #e6f6f5;
        border-color: #0389a0 !important;
        color: #038580 !important;
    }
}

/* ---- Archive index page ---- */
.saas-archive-list { padding: 0 0 0 20px; margin: 0; }
.saas-archive-list li { padding: 16px 0; border-bottom: 1px solid #c4cac9; }
.saas-archive-list li:last-child { border-bottom: none; }
.saas-archive-list .archive-version { font-family: "PlusJakartaSans-SemiBold", "PlusJakartaSans", sans-serif; font-size: 16px; font-weight: 600; color: #222222; letter-spacing: -0.02em; min-width: 90px; }
.saas-archive-list .archive-dates { font-family: "PlusJakartaSans-Regular", "PlusJakartaSans", sans-serif; font-size: 15px; color: #6E6E6E; letter-spacing: -0.02em; }
.saas-archive-list a { color: #038580 !important; text-decoration: underline !important; border: none !important; font-family: "PlusJakartaSans-SemiBold", "PlusJakartaSans", sans-serif; font-weight: 600; font-size: 15px; letter-spacing: -0.02em; }
.saas-archive-list a:hover { color: #026e6a !important; }
.saas-archive-current-note { font-family: "PlusJakartaSans-Regular", "PlusJakartaSans", sans-serif; font-size: 15px; color: #6E6E6E; letter-spacing: -0.02em; line-height: 22px; margin-bottom: 32px; }
.saas-archive-current-note a { color: #038580 !important; text-decoration: underline !important; border: none !important; }

/* ---- Archive version pages ---- */
.saas-archive-banner { background: #f5f9f9; border: 1px solid #c4cac9; border-left: 4px solid #038580; padding: 14px 20px; margin-bottom: 28px; font-family: "PlusJakartaSans-Regular", "PlusJakartaSans", sans-serif; font-size: 15px; line-height: 22px; color: #222222; }
.saas-archive-banner strong { font-family: "PlusJakartaSans-SemiBold", "PlusJakartaSans", sans-serif; font-weight: 600; }
.saas-archive-banner a { color: #038580 !important; text-decoration: underline !important; border: none !important; }
