/* ==========================================================
   WorldSpace Broadband
   Terms & Conditions Page
   Polished Legal Design
   ========================================================== */

.terms-page {
    position: relative;
    overflow: hidden;

    min-height: 100vh;

    background:
        radial-gradient(
            circle at 8% 15%,
            rgba(8,121,217,.10) 0,
            rgba(8,121,217,0) 32%
        ),
        radial-gradient(
            circle at 92% 35%,
            rgba(73,168,237,.10) 0,
            rgba(73,168,237,0) 34%
        ),
        linear-gradient(
            180deg,
            #f7fbff 0%,
            #eef7ff 48%,
            #f8fbfe 100%
        );

    color: #17345f;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    padding-bottom: 70px;
}


/* ==========================================================
   Container
   ========================================================== */

.terms-container {
    width: min(1100px, calc(100% - 40px));

    margin: 0 auto;
}


/* ==========================================================
   Background Curves
   ========================================================== */

.terms-page::before {
    content: "";

    position: absolute;

    top: 250px;
    left: -15%;

    width: 130%;
    height: 420px;

    border: 1px solid rgba(8,121,217,.08);

    border-radius: 50%;

    transform: rotate(-4deg);

    box-shadow:
        0 35px 0 rgba(8,121,217,.045),
        0 70px 0 rgba(8,121,217,.035),
        0 105px 0 rgba(8,121,217,.025);

    pointer-events: none;
}


.terms-page::after {
    content: "";

    position: absolute;

    top: 430px;
    left: -12%;

    width: 124%;
    height: 300px;

    border: 1px solid rgba(73,168,237,.08);

    border-radius: 50%;

    transform: rotate(3deg);

    box-shadow:
        0 30px 0 rgba(73,168,237,.035),
        0 60px 0 rgba(73,168,237,.025);

    pointer-events: none;
}


/* Keep actual content above background */

.terms-page > * {
    position: relative;

    z-index: 2;
}


/* ==========================================================
   Hero
   ========================================================== */

.terms-hero {
    position: relative;

    overflow: hidden;

    padding: 48px 0 42px;

    background:
        linear-gradient(
            135deg,
            #f4faff 0%,
            #ffffff 48%,
            #f1f8ff 100%
        );

    border-bottom: 1px solid #dceaf6;

    text-align: center;
}


/* Left decorative wave */

.terms-hero::before {
    content: "";

    position: absolute;

    left: -120px;
    top: 20px;

    width: 520px;
    height: 250px;

    border: 1px solid rgba(8,121,217,.12);

    border-radius: 50%;

    transform: rotate(-18deg);

    box-shadow:
        0 18px 0 rgba(8,121,217,.05),
        0 36px 0 rgba(8,121,217,.04),
        0 54px 0 rgba(8,121,217,.03);

    pointer-events: none;
}


/* Right decorative wave */

.terms-hero::after {
    content: "";

    position: absolute;

    right: -150px;
    top: 35px;

    width: 560px;
    height: 250px;

    border: 1px solid rgba(8,121,217,.12);

    border-radius: 50%;

    transform: rotate(18deg);

    box-shadow:
        0 18px 0 rgba(8,121,217,.05),
        0 36px 0 rgba(8,121,217,.04),
        0 54px 0 rgba(8,121,217,.03);

    pointer-events: none;
}


.terms-hero .terms-container {
    position: relative;

    z-index: 2;
}


/* ==========================================================
   Hero Typography
   ========================================================== */

.terms-eyebrow {
    display: inline-block;

    margin-bottom: 12px;

    padding: 6px 13px;

    border-radius: 30px;

    background: #e8f5ff;

    color: #0879d9;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: .08em;

    text-transform: uppercase;
}


.terms-hero h1 {
    margin: 0;

    color: #102f67;

    font-size: 36px;

    font-weight: 800;

    line-height: 1.2;

    letter-spacing: -.02em;
}


.terms-hero p {
    max-width: 760px;

    margin: 14px auto 0;

    color: #607993;

    font-size: 15px;

    line-height: 1.7;
}


/* ==========================================================
   Main Card
   ========================================================== */

.terms-card {
    position: relative;

    margin: -18px auto 0;

    padding: 38px 42px;

    background: rgba(255,255,255,.98);

    border: 1px solid #dceaf5;

    border-radius: 15px;

    box-shadow:
        0 15px 40px rgba(20,80,130,.06);

    box-sizing: border-box;
}


/* ==========================================================
   Introduction
   ========================================================== */

.terms-intro {
    padding-bottom: 28px;

    border-bottom: 1px solid #e3edf5;
}


.terms-intro h2 {
    margin: 0 0 12px;

    color: #102f67;

    font-size: 20px;

    font-weight: 800;

    line-height: 1.4;
}


.terms-intro p {
    margin: 0;

    color: #48647f;

    font-size: 15px;

    line-height: 1.8;
}


/* ==========================================================
   Sections
   ========================================================== */

.terms-section {
    padding: 28px 0;

    border-bottom: 1px solid #e4edf5;
}


.terms-section:last-of-type {
    border-bottom: 0;
}


.terms-section h2 {
    margin: 0 0 18px;

    color: #12386c;

    font-size: 19px;

    font-weight: 800;

    line-height: 1.4;
}


.terms-section p {
    margin: 0 0 16px;

    color: #4e6882;

    font-size: 15px;

    line-height: 1.8;
}


.terms-section p:last-child {
    margin-bottom: 0;
}


/* ==========================================================
   Links
   ========================================================== */

.terms-section a {
    color: #0879d9;

    font-weight: 700;

    text-decoration: none;
}


.terms-section a:hover {
    text-decoration: underline;
}


/* ==========================================================
   Numbered Lists
   ========================================================== */

.terms-list {
    margin: 0;

    padding-left: 29px;

    color: #4e6882;

    font-size: 15px;

    line-height: 1.8;
}


.terms-list li {
    margin-bottom: 15px;

    padding-left: 8px;
}


.terms-list li:last-child {
    margin-bottom: 0;
}


.terms-list li::marker {
    color: #0879d9;

    font-weight: 800;
}


/* ==========================================================
   Bullet Lists
   ========================================================== */

.terms-bullets {
    margin: 0;

    padding-left: 26px;

    color: #4e6882;

    font-size: 15px;

    line-height: 1.8;
}


.terms-bullets li {
    margin-bottom: 13px;

    padding-left: 8px;
}


.terms-bullets li:last-child {
    margin-bottom: 0;
}


.terms-bullets li::marker {
    color: #0879d9;
}


/* ==========================================================
   Sub Lists
   ========================================================== */

.terms-sublist {
    margin: 8px 0 20px;

    padding-left: 29px;

    color: #4e6882;

    font-size: 15px;

    line-height: 1.8;
}


.terms-sublist li {
    margin-bottom: 6px;
}


.terms-sublist li:last-child {
    margin-bottom: 0;
}


/* ==========================================================
   Important Notice
   ========================================================== */

.terms-notice {
    display: flex;

    align-items: flex-start;

    gap: 12px;

    margin-top: 28px;

    padding: 18px;

    background:
        linear-gradient(
            135deg,
            #eef8ff,
            #f7fbff
        );

    border-left: 3px solid #0879d9;

    border-radius: 6px;

    color: #48647f;

    font-size: 14px;

    line-height: 1.7;
}


.terms-notice strong {
    flex-shrink: 0;

    color: #102f67;
}


/* ==========================================================
   Mobile
   ========================================================== */

@media (max-width: 700px) {

    .terms-container {
        width: min(100% - 20px, 1100px);
    }


    .terms-hero {
        padding: 38px 0 34px;
    }


    .terms-hero h1 {
        font-size: 30px;
    }


    .terms-hero p {
        padding: 0 10px;

        font-size: 14px;
    }


    .terms-hero::before {
        left: -250px;
    }


    .terms-hero::after {
        right: -250px;
    }


    .terms-card {
        margin-top: -15px;

        padding: 27px 20px;

        border-radius: 12px;
    }


    .terms-intro h2 {
        font-size: 19px;
    }


    .terms-intro p {
        font-size: 14.5px;
    }


    .terms-section {
        padding: 24px 0;
    }


    .terms-section h2 {
        font-size: 18px;
    }


    .terms-section p,
    .terms-list,
    .terms-bullets,
    .terms-sublist {
        font-size: 14.5px;

        line-height: 1.8;
    }


    .terms-list {
        padding-left: 25px;
    }


    .terms-bullets {
        padding-left: 22px;
    }


    .terms-sublist {
        padding-left: 25px;
    }


    .terms-notice {
        flex-direction: column;

        gap: 4px;

        font-size: 14px;
    }
}


/* ==========================================================
   Small Mobile
   ========================================================== */

@media (max-width: 420px) {

    .terms-container {
        width: calc(100% - 16px);
    }


    .terms-hero h1 {
        font-size: 27px;
    }


    .terms-hero p {
        font-size: 13.5px;
    }


    .terms-card {
        padding: 24px 15px;
    }


    .terms-intro h2 {
        font-size: 18px;
    }


    .terms-intro p {
        font-size: 14px;
    }


    .terms-section h2 {
        font-size: 17px;
    }


    .terms-section p,
    .terms-list,
    .terms-bullets,
    .terms-sublist {
        font-size: 14px;

        line-height: 1.8;
    }


    .terms-list {
        padding-left: 23px;
    }


    .terms-bullets {
        padding-left: 20px;
    }


    .terms-sublist {
        padding-left: 23px;
    }
}
