/* =========================================================
   MONEYTOOL.IO
   TERMS OF USE
   GLOBAL LEGAL PAGE
========================================================= */


/* =========================================================
   HERO
========================================================= */

.terms-hero {
    position: relative;

    padding: 78px 0 82px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 84% 20%,
            rgba(37, 99, 235, .10),
            transparent 32%
        ),
        radial-gradient(
            circle at 12% 80%,
            rgba(14, 165, 233, .06),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #f8fafc 0%,
            #eef5ff 100%
        );

    border-bottom: 1px solid #e2e8f0;
}

.terms-hero::before {
    content: "";

    position: absolute;

    top: -120px;
    right: -120px;

    width: 320px;
    height: 320px;

    border: 1px solid rgba(37, 99, 235, .08);

    border-radius: 50%;

    pointer-events: none;
}

.terms-hero-content {
    position: relative;

    max-width: 820px;

    margin: 0 auto;

    text-align: center;
}

.terms-eyebrow {
    display: inline-block;

    margin-bottom: 13px;

    color: #2563eb;

    font-size: 14px;
    font-weight: 800;

    letter-spacing: .14em;

    text-transform: uppercase;
}

.terms-hero h1 {
    margin: 0;

    color: #0f172a;

    font-size: clamp(40px, 6vw, 64px);

    line-height: 1.05;

    letter-spacing: -.05em;

    font-weight: 800;
}

.terms-hero p {
    max-width: 690px;

    margin: 21px auto 0;

    color: #475569;

    font-size: 17px;

    line-height: 1.75;
}

.terms-meta {
    display: flex;

    align-items: center;
    justify-content: center;

    flex-wrap: wrap;

    gap: 10px 18px;

    margin-top: 25px;

    color: #64748b;

    font-size: 12px;
}

.terms-meta span + span {
    position: relative;

    padding-left: 18px;
}

.terms-meta span + span::before {
    content: "";

    position: absolute;

    left: 0;
    top: 50%;

    width: 4px;
    height: 4px;

    transform: translateY(-50%);

    border-radius: 50%;

    background: #94a3b8;
}


/* =========================================================
   MAIN SECTION
========================================================= */

.terms-section {
    padding: 76px 0 100px;

    background: #ffffff;
}

.terms-layout {
    display: grid;

    grid-template-columns:
        245px
        minmax(0, 850px);

    align-items: start;

    gap: 55px;

    max-width: 1150px;

    margin: 0 auto;
}


/* =========================================================
   SIDEBAR
========================================================= */

.terms-sidebar {
    position: sticky;

    top: 25px;
}

.terms-sidebar-card {
    padding: 20px;

    background: #f8fafc;

    border: 1px solid #e2e8f0;

    border-radius: 14px;
}

.terms-sidebar-title {
    display: block;

    margin-bottom: 13px;

    color: #172033;

    font-size: 16px;

    font-weight: 800;

    letter-spacing: .08em;

    text-transform: uppercase;
}

.terms-navigation {
    display: flex;

    flex-direction: column;

    gap: 1px;
}

.terms-navigation a {
    display: block;

    padding: 8px 9px;

    border-radius: 6px;

    color: #64748b;

    font-size: 14px;

    line-height: 1.4;

    text-decoration: none;

    transition:
        background .16s ease,
        color .16s ease;
}

.terms-navigation a:hover {
    background: #eff6ff;

    color: #2563eb;
}


/* =========================================================
   CONTENT
========================================================= */

.terms-content {
    min-width: 0;
}

.terms-intro {
    margin-bottom: 48px;

    padding: 25px 28px;

    background: #f8fafc;

    border-left: 4px solid #2563eb;

    border-radius: 0 12px 12px 0;
}

.terms-intro p {
    margin: 0;

    color: #475569;

    font-size: 14px;

    line-height: 1.8;
}

.terms-intro p + p {
    margin-top: 13px;
}

.terms-intro strong {
    color: #172033;
}


/* =========================================================
   INDIVIDUAL TERMS
========================================================= */

.terms-block {
    position: relative;

    padding: 0 0 46px;

    margin-bottom: 46px;

    border-bottom: 1px solid #edf1f5;
}

.terms-block:last-of-type {
    border-bottom: 0;
}

.terms-number {
    display: block;

    margin-bottom: 8px;

    color: #2563eb;

    font-size: 14px;

    font-weight: 800;

    letter-spacing: .13em;
}

.terms-block h2 {
    margin: 0 0 17px;

    color: #172033;

    font-size: clamp(23px, 3vw, 30px);

    line-height: 1.2;

    letter-spacing: -.025em;
}

.terms-block p {
    margin: 0 0 16px;

    color: #475569;

    font-size: 14px;

    line-height: 1.85;
}

.terms-block p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   LIST
========================================================= */

.terms-block ul {
    margin: 17px 0 0;

    padding-left: 20px;
}

.terms-block li {
    margin-bottom: 11px;

    padding-left: 5px;

    color: #475569;

    font-size: 14px;

    line-height: 1.7;
}

.terms-block li::marker {
    color: #2563eb;
}


/* =========================================================
   IMPORTANT SECTIONS
========================================================= */

.terms-important {
    padding: 29px 30px 45px;

    border: 1px solid #dbeafe;

    border-radius: 15px;

    background:
        linear-gradient(
            135deg,
            #f8fbff,
            #ffffff
        );

    border-bottom-color: #dbeafe;
}

.terms-important .terms-number {
    margin-bottom: 9px;
}


/* =========================================================
   ALERT
========================================================= */

.terms-alert {
    display: grid;

    grid-template-columns: auto 1fr;

    gap: 14px;

    margin: 22px 0 24px;

    padding: 17px 19px;

    background: #eff6ff;

    border: 1px solid #bfdbfe;

    border-radius: 10px;
}

.terms-alert strong {
    color: #1d4ed8;

    font-size: 12px;

    white-space: nowrap;
}

.terms-alert p {
    margin: 0;

    color: #334155;

    font-size: 13px;

    line-height: 1.65;
}


/* =========================================================
   NOTE
========================================================= */

.terms-note {
    margin-top: 20px !important;

    padding: 14px 16px;

    background: #f8fafc;

    border: 1px solid #e2e8f0;

    border-radius: 9px;

    color: #64748b !important;

    font-size: 12px !important;

    line-height: 1.7 !important;
}

.terms-note strong {
    color: #334155;
}


/* =========================================================
   CONTACT CARD
========================================================= */

.terms-contact-card {
    margin-top: 24px;

    padding: 23px 25px;

    background:
        linear-gradient(
            135deg,
            #eff6ff,
            #f8fafc
        );

    border: 1px solid #dbeafe;

    border-radius: 13px;
}

.terms-contact-card strong {
    display: block;

    color: #172033;

    font-size: 17px;
}

.terms-contact-card p {
    margin: 5px 0 15px;

    color: #64748b;

    font-size: 12px;
}

.terms-contact-card a {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: #2563eb;

    font-size: 12px;

    font-weight: 750;

    text-decoration: none;
}

.terms-contact-card a span {
    transition: transform .18s ease;
}

.terms-contact-card a:hover span {
    transform: translateX(4px);
}


/* =========================================================
   FINAL MESSAGE
========================================================= */

.terms-final {
    margin-top: 15px;

    padding: 30px;

    text-align: center;

    background: #f8fafc;

    border: 1px solid #e2e8f0;

    border-radius: 15px;
}

.terms-final strong {
    display: block;

    color: #172033;

    font-size: 17px;
}

.terms-final p {
    max-width: 650px;

    margin: 9px auto 0;

    color: #64748b;

    font-size: 13px;

    line-height: 1.7;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1000px) {

    .terms-layout {
        grid-template-columns: 210px minmax(0, 1fr);

        gap: 35px;
    }

}


@media (max-width: 800px) {

    .terms-section {
        padding: 55px 0 75px;
    }

    .terms-layout {
        grid-template-columns: 1fr;

        gap: 30px;
    }

    .terms-sidebar {
        position: relative;

        top: auto;
    }

    .terms-sidebar-card {
        padding: 17px;
    }

    .terms-navigation {
        display: grid;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 3px;
    }

}


@media (max-width: 600px) {

    .terms-hero {
        padding: 58px 0 64px;
    }

    .terms-hero h1 {
        font-size: 40px;
    }

    .terms-hero p {
        font-size: 15px;
    }

    .terms-section {
        padding: 45px 0 65px;
    }

    .terms-navigation {
        grid-template-columns: 1fr;
    }

    .terms-intro {
        padding: 20px 21px;
    }

    .terms-block {
        padding-bottom: 36px;

        margin-bottom: 36px;
    }

    .terms-block h2 {
        font-size: 24px;
    }

    .terms-block p,
    .terms-block li {
        font-size: 13px;

        line-height: 1.75;
    }

    .terms-important {
        padding: 23px 20px 35px;
    }

    .terms-alert {
        grid-template-columns: 1fr;

        gap: 5px;
    }

    .terms-meta {
        flex-direction: column;

        gap: 7px;
    }

    .terms-meta span + span {
        padding-left: 0;
    }

    .terms-meta span + span::before {
        display: none;
    }

    .terms-final {
        padding: 25px 20px;
    }

}


@media (max-width: 420px) {

    .terms-hero h1 {
        font-size: 35px;
    }

    .terms-hero p {
        font-size: 14px;
    }

    .terms-sidebar-card {
        padding: 14px;
    }

    .terms-navigation a {
        font-size: 10px;
    }

}