/* =========================================================
   PDF INSPECTOR
   TERMS OF USE PAGE
   ========================================================= */

.terms-page {
    background: #f7f8fc;
    color: #111827;
}

/* =========================================================
   HERO
   ========================================================= */

.terms-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 82% 25%,
            rgba(102,117,255,.18),
            transparent 34%
        ),
        radial-gradient(
            circle at 15% 80%,
            rgba(141,122,255,.09),
            transparent 30%
        ),
        #09101f;
    color: #fff;
}

.terms-hero::after {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    right: -180px;
    bottom: -220px;
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 50%;
}

.terms-hero-content {
    position: relative;
    z-index: 1;
    max-width: 760px;
    padding: 92px 0 88px;
}

.terms-eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    margin-bottom: 22px;
    background: rgba(102,117,255,.13);
    border: 1px solid rgba(113,128,255,.22);
    border-radius: 999px;
    color: #aab4ff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.terms-hero h1 {
    max-width: 700px;
    margin-bottom: 18px;
    color: #fff;
    font-size: clamp(38px, 5vw, 58px);
    font-weight: 850;
    letter-spacing: -.045em;
    line-height: 1.05;
}

.terms-hero-content > p {
    max-width: 690px;
    color: #aeb8ce;
    font-size: 16px;
    line-height: 1.8;
}

.terms-updated {
    margin-top: 24px;
    color: #727f9b;
    font-size: 11px;
    font-weight: 650;
}

/* =========================================================
   INTRO
   ========================================================= */

.terms-intro {
    padding: 70px 0 20px;
}

.terms-intro-card {
    max-width: 900px;
    padding: 42px 46px;
    background: #fff;
    border: 1px solid #e2e7f0;
    border-radius: 20px;
    box-shadow: 0 15px 45px rgba(20,31,56,.05);
}

.terms-section-label {
    display: block;
    margin-bottom: 10px;
    color: #6675ff;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.terms-intro-card h2 {
    margin-bottom: 17px;
    color: #172033;
    font-size: 27px;
    font-weight: 800;
    letter-spacing: -.03em;
}

.terms-intro-card p {
    max-width: 790px;
    margin-top: 12px;
    color: #687386;
    font-size: 14px;
    line-height: 1.8;
}

/* =========================================================
   CONTENT LAYOUT
   ========================================================= */

.terms-content {
    padding: 48px 0 76px;
}

.terms-layout {
    display: grid;
    grid-template-columns: 235px minmax(0, 1fr);
    align-items: start;
    gap: 45px;
}

.terms-sidebar {
    position: sticky;
    top: 25px;
}

/* =========================================================
   SIDEBAR
   ========================================================= */

.terms-sidebar-card {
    padding: 21px;
    background: #fff;
    border: 1px solid #e1e6ef;
    border-radius: 16px;
    box-shadow: 0 10px 35px rgba(20,31,56,.04);
}

.terms-sidebar-card > span {
    display: block;
    margin-bottom: 13px;
    color: #172033;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.terms-sidebar-card a {
    display: block;
    padding: 8px 9px;
    border-radius: 7px;
    color: #687386;
    font-size: 12px;
    line-height: 1.45;
    transition:
        color .2s ease,
        background .2s ease,
        transform .2s ease;
}

.terms-sidebar-card a:hover {
    background: #f1f3ff;
    color: #6675ff;
    transform: translateX(2px);
}

/* =========================================================
   CONTENT SECTIONS
   ========================================================= */

.terms-sections {
    min-width: 0;
}

.terms-section {
    position: relative;
    margin-bottom: 20px;
    padding: 36px 40px;
    background: #fff;
    border: 1px solid #e1e6ef;
    border-radius: 18px;
    box-shadow: 0 9px 32px rgba(20,31,56,.035);
    scroll-margin-top: 30px;
}

.terms-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 26px;
    margin-bottom: 13px;
    background: #f0f1ff;
    border-radius: 7px;
    color: #6675ff;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .05em;
}

.terms-section h2 {
    margin-bottom: 15px;
    color: #172033;
    font-size: 23px;
    font-weight: 800;
    letter-spacing: -.025em;
    line-height: 1.25;
}

.terms-section p {
    margin-top: 11px;
    color: #687386;
    font-size: 13px;
    line-height: 1.8;
}

.terms-section p:first-of-type {
    margin-top: 0;
}

/* =========================================================
   LIST
   ========================================================= */

.terms-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-top: 17px;
}

.terms-list li {
    position: relative;
    padding-left: 23px;
    color: #687386;
    font-size: 13px;
    line-height: 1.7;
}

.terms-list li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 9px;
    width: 6px;
    height: 6px;
    background: #7180ff;
    border-radius: 50%;
}

/* =========================================================
   NOTE
   ========================================================= */

.terms-note {
    margin-top: 22px;
    padding: 18px 20px;
    background: #f7f8ff;
    border: 1px solid #e1e4ff;
    border-left: 3px solid #7180ff;
    border-radius: 10px;
}

.terms-note strong {
    display: block;
    margin-bottom: 4px;
    color: #303b58;
    font-size: 12px;
    font-weight: 800;
}

.terms-note p {
    margin-top: 0;
    color: #687386;
    font-size: 12px;
    line-height: 1.7;
}

/* =========================================================
   CONTACT
   ========================================================= */

.terms-contact-section {
    border-color: #dfe2ff;
}

.terms-contact-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 43px;
    margin-top: 21px;
    padding: 0 17px;
    background: #6675ff;
    border-radius: 9px;
    color: #fff;
    font-size: 12px;
    font-weight: 750;
    box-shadow: 0 8px 22px rgba(102,117,255,.18);
    transition:
        transform .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}

.terms-contact-button:hover {
    background: #5968ee;
    transform: translateY(-2px);
    box-shadow: 0 12px 27px rgba(102,117,255,.25);
}

.terms-contact-button span {
    font-size: 15px;
}

/* =========================================================
   CTA
   ========================================================= */

.terms-cta {
    padding: 0 0 80px;
}

.terms-cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 38px 42px;
    background:
        radial-gradient(
            circle at 90% 20%,
            rgba(102,117,255,.16),
            transparent 34%
        ),
        #0d1529;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(8,15,31,.13);
}

.terms-cta-card .terms-section-label {
    color: #8995ff;
}

.terms-cta-card h2 {
    margin-bottom: 8px;
    color: #fff;
    font-size: 23px;
    font-weight: 800;
    letter-spacing: -.025em;
}

.terms-cta-card p {
    color: #8d99b1;
    font-size: 12px;
    line-height: 1.7;
}

.terms-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    gap: 10px;
    min-height: 44px;
    padding: 0 18px;
    background: #6675ff;
    border-radius: 9px;
    color: #fff;
    font-size: 12px;
    font-weight: 750;
    box-shadow: 0 9px 24px rgba(102,117,255,.2);
    transition:
        transform .2s ease,
        background .2s ease;
}

.terms-cta-button:hover {
    background: #5968ee;
    transform: translateY(-2px);
}

.terms-cta-button span {
    font-size: 15px;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .terms-hero-content {
        padding: 75px 0 70px;
    }

    .terms-layout {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .terms-sidebar {
        position: static;
    }

    .terms-sidebar-card {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 3px 10px;
    }

    .terms-sidebar-card > span {
        grid-column: 1 / -1;
    }

    .terms-cta-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .terms-cta-button {
        width: 100%;
    }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .terms-intro {
        padding-top: 45px;
    }

    .terms-intro-card {
        padding: 30px 25px;
        border-radius: 16px;
    }

    .terms-intro-card h2 {
        font-size: 23px;
    }

    .terms-content {
        padding: 30px 0 55px;
    }

    .terms-sidebar-card {
        grid-template-columns: 1fr;
        padding: 17px;
    }

    .terms-sidebar-card > span {
        grid-column: auto;
    }

    .terms-section {
        padding: 28px 24px;
        border-radius: 15px;
    }

    .terms-section h2 {
        font-size: 20px;
    }

    .terms-cta {
        padding-bottom: 55px;
    }

    .terms-cta-card {
        padding: 30px 25px;
        border-radius: 16px;
    }

    .terms-cta-card h2 {
        font-size: 21px;
    }
}

/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 500px) {

    .terms-hero-content {
        padding: 60px 0 58px;
    }

    .terms-hero h1 {
        font-size: 36px;
    }

    .terms-hero-content > p {
        font-size: 13px;
    }

    .terms-intro-card {
        padding: 25px 20px;
    }

    .terms-section {
        padding: 25px 20px;
    }

    .terms-section p,
    .terms-list li {
        font-size: 12px;
    }

    .terms-note {
        padding: 15px 16px;
    }

    .terms-contact-button {
        width: 100%;
        justify-content: center;
    }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .terms-sidebar-card a,
    .terms-contact-button,
    .terms-cta-button {
        transition-duration: .01ms !important;
    }
}