/* Policy Pages Shared Styles
   Used by: terms-of-service.html, privacy.html, refund.html, pricing.html
   ============================================================================ */

/* ---- Base font ---- */

.policy-title-bar,
.policy-toc,
.policy-doc,
.policy-nav-bar {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* ---- Title bar ---- */

.policy-title-bar {
    background: #ffffff;
    padding: 36px 0 20px 0;
    border-bottom: 2px solid #2E456B;
}

.policy-title-bar h1 {
    font-size: 1.75em;
    font-weight: 700;
    color: #111111;
    margin: 0 0 6px 0;
}

.policy-title-bar .policy-meta {
    font-size: 0.78em;
    color: #888888;
    margin: 0;
}

/* ---- Two-column layout ---- */

.policy-layout {
    padding: 36px 0 72px 0;
    background: #ffffff;
}

/* ---- Sidebar ---- */

.policy-toc {
    position: sticky;
    top: 16px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    padding-right: 20px;
    border-right: 1px solid #e2e2e2;
}

.policy-toc .toc-title {
    font-size: 0.7em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #999999;
    margin: 0 0 12px 0;
}

.policy-toc .nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.policy-toc .nav li {
    margin: 0;
}

.policy-toc .nav li > a {
    display: block;
    font-size: 0.79em;
    color: #555555;
    text-decoration: none;
    padding: 5px 0 5px 10px;
    border-left: 2px solid transparent;
    line-height: 1.35;
    transition: color 0.15s, border-color 0.15s;
}

.policy-toc .nav li > a:hover {
    color: #2E456B;
    border-left-color: #b0bccc;
    text-decoration: none;
}

.policy-toc .nav li.active > a {
    color: #2E456B;
    border-left-color: #2E456B;
    font-weight: 600;
}

/* ---- Document content ---- */

.policy-doc {
    padding-left: 40px;
    color: #222222;
    font-size: 13px;
    line-height: 1.1;
}

.policy-doc h2 {
    font-size: 1.2em;
    font-weight: 700;
    color: #111111;
    margin-top: 28px;
    margin-bottom: 6px;
    padding-bottom: 5px;
    border-bottom: 1px solid #e8e8e8;
}

.policy-doc h2:first-child {
    margin-top: 0;
}

.policy-doc h3 {
    font-size: 1.05em;
    font-weight: 700;
    color: #222222;
    margin-top: 12px;
    margin-bottom: 3px;
}

/* ---- Section means callout ---- */

.section-means {
    background: #f3f3f3;
    border-radius: 5px;
    padding: 10px 14px;
    margin: 6px 0 14px 0;
}

.section-means .means-label {
    font-weight: 700;
    font-size: 0.8em;
    color: #222222;
    margin-bottom: 3px;
}

.section-means p:last-child {
    margin-bottom: 0;
    color: #555555;
}

/* ---- Body copy ---- */

.policy-doc p,
.policy-doc ul li,
.policy-doc address,
.policy-doc .section-means p {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-size: 13px;
}

.policy-doc p {
    margin-bottom: 5px;
    color: #333333;
}

.policy-doc ul {
    padding-left: 20px;
    margin-bottom: 5px;
}

.policy-doc ul li {
    margin-bottom: 2px;
    color: #333333;
}

.policy-doc a {
    color: var(--portalThemeColor3, #277493);
}

.policy-doc a:hover {
    color: var(--portalThemeColor1, #2E456B);
}

.policy-doc address {
    font-style: normal;
    margin-bottom: 5px;
}

/* Disclaimer / all-caps policy text */
.policy-doc .disclaimer {
    font-size: 0.88em;
    color: #444444;
    text-transform: uppercase;
    letter-spacing: 0.015em;
    line-height: 1.5;
}

/* ---- Cross-policy-page navigation bar ---- */

.policy-nav-bar {
    background-color: #f6f6f6;
    padding: 16px 0;
    border-top: 1px solid #e0e0e0;
}

.policy-nav-bar .container {
    text-align: center;
}

.policy-nav-bar .policy-nav-label {
    display: inline-block;
    color: #aaaaaa;
    font-size: 0.73em;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-right: 10px;
    vertical-align: middle;
}

.policy-nav-bar a {
    display: inline-block;
    color: #555555;
    text-decoration: none;
    margin: 3px 10px;
    font-size: 0.82em;
    padding-bottom: 1px;
    border-bottom: 1px solid transparent;
    transition: color 0.15s, border-color 0.15s;
    vertical-align: middle;
}

.policy-nav-bar a:hover,
.policy-nav-bar a.active {
    color: #2E456B;
    border-bottom-color: #2E456B;
    text-decoration: none;
}

/* ---- Responsive ---- */

@media (max-width: 991px) {
    .policy-toc {
        display: none;
    }

    .policy-doc {
        padding-left: 0;
    }
}

@media (max-width: 767px) {
    .policy-title-bar {
        padding: 24px 0 16px 0;
    }

    .policy-title-bar h1 {
        font-size: 1.4em;
    }

    .policy-layout {
        padding: 24px 0 48px 0;
    }

    .policy-nav-bar .policy-nav-label {
        display: none;
    }
}