/* =========================================================
   TSL TERMS PAGE
========================================================= */

/* Hero width override for the Terms page only. */
.tsl-hero.tsl-hero--terms-page {
    width: min(100%, 1500px);
    max-width: 1500px;
}

/* Match the desktop panorama placement used on the home page. */
@media (min-width: 1471px) {
    .tsl-hero.tsl-hero--terms-page .tsl-hero-main-img {
        left: 50%;
        bottom: 0;
        width: 100cqw !important;
    }
}

.tsl-terms-page,
.tsl-terms-page *,
.tsl-terms-page *::before,
.tsl-terms-page *::after {
    box-sizing: border-box;
}

.tsl-terms-page {
    --tsl-accent: #68B3D1;
    --tsl-dark: #17191a;
    --tsl-surface: #202324;
    --tsl-text: #17191a;
    --tsl-muted: #656c70;
    --tsl-line: #e2e5e7;
    --tsl-soft: #f4f6f7;

    width: 100%;
    margin: 0;
    padding: 1px 0 0;

    overflow: hidden;

    background: #ffffff;
    color: var(--tsl-text);

    font-family: "Manrope", sans-serif;
}


/* =========================================================
   UNIFIED WIDTH
========================================================= */

.tsl-terms-params,
.tsl-terms-info,
.tsl-terms-requirements,
.tsl-terms-decision,
.tsl-terms-rights,
.tsl-terms-process,
.tsl-terms-directions,
.tsl-terms-calculator,
.tsl-terms-faq,
.tsl-terms-cta {
    width: 100%;
    max-width: 1500px;

    margin: 0 auto 24px;

    border-radius: 14px;
}

.tsl-terms-container {
    width: 100%;
    max-width: none;

    margin: 0;
    padding: 0;
}


/* =========================================================
   TYPOGRAPHY
========================================================= */

.tsl-terms-eyebrow {
    display: block;

    margin: 0 0 12px;

    color: var(--tsl-accent);

    font-size: 12px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: .08em;

    text-transform: uppercase;
}

.tsl-terms-section-head {
    max-width: 780px;
}

.tsl-terms-section-head h2,
.tsl-terms-calculator h2,
.tsl-terms-cta h2 {
    margin: 0;

    color: var(--tsl-text);

    font-size: clamp(34px, 3.2vw, 50px);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -.04em;
}

.tsl-terms-section-head p,
.tsl-terms-calculator p,
.tsl-terms-cta p {
    margin: 18px 0 0;

    color: var(--tsl-muted);

    font-size: 15px;
    line-height: 1.7;
}

.tsl-terms-section-head--dark h2 {
    color: #ffffff;
}

.tsl-terms-section-head--dark p {
    color: #a7afb3;
}


/* =========================================================
   PARAMETERS
========================================================= */

.tsl-terms-params {
    padding: 72px 60px;

    background: var(--tsl-dark);
}

.tsl-terms-params__grid {
    display: grid;

    grid-template-columns: repeat(5, minmax(0, 1fr));

    gap: 10px;

    margin-top: 42px;
}

.tsl-terms-param {
    min-width: 0;
    min-height: 150px;

    padding: 22px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    border: 1px solid #303538;
    border-radius: 12px;

    background: var(--tsl-surface);
}

.tsl-terms-param__label {
    color: #929a9f;

    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
}

.tsl-terms-param__value {
    color: #ffffff;

    font-size: clamp(20px, 1.8vw, 28px);
    font-weight: 650;
    line-height: 1.15;
    letter-spacing: -.02em;
}

.tsl-terms-param__value span {
    color: var(--tsl-accent);
}

.tsl-terms-ltv-note {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 24px;
    margin-top: 14px;
    padding: 22px 25px;
    border: 1px solid #303538;
    border-radius: 12px;
    background: var(--tsl-surface);
}

.tsl-terms-ltv-note__value {
    color: var(--tsl-accent);
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 750;
    line-height: 1;
    white-space: nowrap;
}

.tsl-terms-ltv-note__content h3 {
    margin: 0;
    color: #fff;
    font-size: 18px;
    line-height: 1.3;
}

.tsl-terms-ltv-note__content p {
    margin: 7px 0 0;
    color: #a7afb3;
    font-size: 13px;
    line-height: 1.6;
}


/* =========================================================
   COMMON SPLIT
========================================================= */

.tsl-terms-split {
    display: grid;

    grid-template-columns:
        minmax(280px, .8fr)
        minmax(0, 1.2fr);

    gap: clamp(60px, 8vw, 130px);

    align-items: start;
}


/* =========================================================
   INFORMATION
========================================================= */

.tsl-terms-info {
    padding: 72px 60px;

    border: 1px solid var(--tsl-line);

    background: #ffffff;
}

.tsl-terms-info__content {
    max-width: 820px;
}

.tsl-terms-info__content p {
    margin: 0 0 20px;

    color: var(--tsl-muted);

    font-size: 15px;
    line-height: 1.75;
}

.tsl-terms-info__content p:last-child {
    margin-bottom: 0;
}

.tsl-terms-info__lead {
    color: var(--tsl-text) !important;

    font-size: 19px !important;
    font-weight: 500;
    line-height: 1.6 !important;
}


/* =========================================================
   REQUIREMENTS
========================================================= */

.tsl-terms-requirements {
    padding: 72px 60px;

    background: var(--tsl-soft);
}

.tsl-terms-number-list {
    border-top: 1px solid #d9dddf;
}

.tsl-terms-number-item {
    display: grid;

    grid-template-columns: 52px minmax(0, 1fr);

    gap: 22px;

    padding: 26px 0;

    border-bottom: 1px solid #d9dddf;
}

.tsl-terms-number-item__number {
    color: var(--tsl-accent);

    font-size: 12px;
    font-weight: 800;
}

.tsl-terms-number-item h3 {
    margin: 0;

    color: var(--tsl-text);

    font-size: 19px;
    font-weight: 650;
    line-height: 1.3;
}

.tsl-terms-number-item p {
    margin: 8px 0 0;

    color: var(--tsl-muted);

    font-size: 14px;
    line-height: 1.65;
}


/* =========================================================
   DECISION
========================================================= */

.tsl-terms-decision {
    padding: 72px 60px;

    background: var(--tsl-dark);
}

.tsl-terms-decision__grid {
    display: grid;

    grid-template-columns:
        minmax(280px, .8fr)
        minmax(0, 1.2fr);

    gap: clamp(60px, 8vw, 130px);

    align-items: start;
}

.tsl-terms-decision__factors {
    display: grid;

    gap: 10px;
}

.tsl-terms-decision__factors article {
    min-height: 150px;

    padding: 24px;

    border: 1px solid #303538;
    border-radius: 12px;

    background: var(--tsl-surface);
}

.tsl-terms-decision__factors article > span {
    display: block;

    margin-bottom: 38px;

    color: var(--tsl-accent);

    font-size: 12px;
    font-weight: 800;
}

.tsl-terms-decision__factors h3 {
    margin: 0;

    color: #ffffff;

    font-size: 19px;
    font-weight: 650;
    line-height: 1.3;
}

.tsl-terms-decision__factors p {
    margin: 9px 0 0;

    color: #9ea6aa;

    font-size: 14px;
    line-height: 1.65;
}


/* =========================================================
   CONSUMER RIGHTS / CONTRACT
========================================================= */

.tsl-terms-rights {
    padding: 72px 60px;

    border: 1px solid var(--tsl-line);

    background: #ffffff;
}

.tsl-terms-rights__grid {
    display: grid;

    grid-template-columns: repeat(4, minmax(0, 1fr));

    margin-top: 44px;

    border-top: 1px solid var(--tsl-line);
    border-bottom: 1px solid var(--tsl-line);
}

.tsl-terms-rights__item {
    min-width: 0;
    min-height: 270px;

    padding: 28px 30px;

    border-right: 1px solid var(--tsl-line);
}

.tsl-terms-rights__item:first-child {
    padding-left: 0;
}

.tsl-terms-rights__item:last-child {
    padding-right: 0;

    border-right: 0;
}

.tsl-terms-rights__number {
    display: block;

    margin-bottom: 52px;

    color: var(--tsl-accent);

    font-size: 12px;
    font-weight: 800;
}

.tsl-terms-rights__item h3 {
    margin: 0;

    color: var(--tsl-text);

    font-size: 19px;
    font-weight: 650;
    line-height: 1.3;
}

.tsl-terms-rights__item p {
    margin: 10px 0 0;

    color: var(--tsl-muted);

    font-size: 14px;
    line-height: 1.65;
}

.tsl-terms-rights__note {
    display: grid;

    grid-template-columns: 32px minmax(0, 1fr);

    gap: 14px;

    width: 100%;
    max-width: none;
    margin-top: 28px;
    padding: 18px 20px;

    border-radius: 12px;

    background: var(--tsl-soft);
}

.tsl-terms-rights__note > span {
    width: 32px;
    height: 32px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--tsl-dark);
    color: #ffffff;

    font-size: 13px;
    font-weight: 800;
}

.tsl-terms-rights__note p {
    margin: 4px 0 0;

    color: var(--tsl-muted);

    font-size: 13px;
    line-height: 1.7;
}

.tsl-terms-rights__note a,
.tsl-terms-rights__note a:link,
.tsl-terms-rights__note a:visited {
    color: var(--tsl-text) !important;

    font-weight: 650;
    text-decoration: underline !important;
    text-decoration-color: var(--tsl-accent) !important;
    text-underline-offset: 3px;
}

.tsl-terms-rights__note a:hover,
.tsl-terms-rights__note a:focus-visible {
    color: var(--tsl-accent) !important;

    outline: none;
}


/* =========================================================
   PROCESS
========================================================= */

.tsl-terms-process {
    padding: 72px 60px;

    border: 1px solid var(--tsl-line);

    background: #ffffff;
}

.tsl-terms-process__grid {
    display: grid;

    grid-template-columns: repeat(4, minmax(0, 1fr));

    margin-top: 44px;

    border-top: 1px solid var(--tsl-line);
}

.tsl-terms-process-step {
    min-height: 250px;

    padding: 28px 30px;

    border-right: 1px solid var(--tsl-line);
}

.tsl-terms-process-step:first-child {
    padding-left: 0;
}

.tsl-terms-process-step:last-child {
    padding-right: 0;

    border-right: 0;
}

.tsl-terms-process-step__number {
    display: block;

    margin-bottom: 62px;

    color: var(--tsl-accent);

    font-size: 12px;
    font-weight: 800;
}

.tsl-terms-process-step h3 {
    margin: 0;

    color: var(--tsl-text);

    font-size: 20px;
    font-weight: 650;
    line-height: 1.3;
}

.tsl-terms-process-step p {
    margin: 10px 0 0;

    color: var(--tsl-muted);

    font-size: 14px;
    line-height: 1.65;
}


/* =========================================================
   DIRECTIONS
========================================================= */

.tsl-terms-directions {
    padding: 72px 60px;

    background: var(--tsl-soft);
}

.tsl-terms-directions__list {
    margin-top: 42px;

    border-top: 1px solid #d9dddf;
}

.tsl-terms-directions__list a,
.tsl-terms-directions__list a:link,
.tsl-terms-directions__list a:visited {
    min-height: 84px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    border-bottom: 1px solid #d9dddf;

    color: var(--tsl-text) !important;

    font-size: clamp(17px, 1.6vw, 23px);
    font-weight: 550;
    line-height: 1.35;

    text-decoration: none !important;

    transition:
        color .2s ease,
        padding-left .2s ease;
}

.tsl-terms-directions__list a:hover,
.tsl-terms-directions__list a:focus-visible {
    padding-left: 10px;

    color: var(--tsl-accent) !important;

    outline: none;
}

.tsl-terms-directions__list a > span:last-child {
    flex: 0 0 auto;

    color: var(--tsl-accent);

    font-size: 23px;
}


/* =========================================================
   CALCULATOR
========================================================= */

.tsl-terms-calculator {
    padding: 72px 60px;

    border: 1px solid var(--tsl-line);

    background: #ffffff;
}

.tsl-terms-calculator__inner {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        auto;

    gap: 70px;

    align-items: end;
}

.tsl-terms-calculator__inner > div {
    max-width: 850px;
}

.tsl-terms-calculator__button,
.tsl-terms-calculator__button:link,
.tsl-terms-calculator__button:visited {
    min-height: 58px;

    padding: 0 22px 0 25px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 22px;

    border: 1px solid var(--tsl-dark);
    border-radius: 10px;

    background: var(--tsl-dark);
    color: #ffffff !important;

    font-size: 14px;
    font-weight: 700;

    text-decoration: none !important;
    white-space: nowrap;

    transition:
        background-color .2s ease,
        border-color .2s ease;
}

.tsl-terms-calculator__button span:last-child {
    color: var(--tsl-accent);

    font-size: 21px;
}

.tsl-terms-calculator__button:hover,
.tsl-terms-calculator__button:focus-visible {
    border-color: var(--tsl-accent);

    background: var(--tsl-accent);

    outline: none;
}

.tsl-terms-calculator__button:hover span:last-child,
.tsl-terms-calculator__button:focus-visible span:last-child {
    color: #ffffff;
}


/* =========================================================
   FAQ
========================================================= */

.tsl-terms-faq {
    padding: 72px 60px;

    background: var(--tsl-soft);
}

.tsl-terms-faq__list {
    margin-top: 42px;

    border-top: 1px solid #d9dddf;
}

.tsl-terms-faq details {
    border-bottom: 1px solid #d9dddf;
}

.tsl-terms-faq summary {
    position: relative;

    padding: 24px 50px 24px 0;

    color: var(--tsl-text);

    font-size: 18px;
    font-weight: 650;
    line-height: 1.4;

    cursor: pointer;
    list-style: none;
}

.tsl-terms-faq summary::-webkit-details-marker {
    display: none;
}

.tsl-terms-faq summary::after {
    content: "+";

    position: absolute;

    top: 50%;
    right: 4px;

    color: var(--tsl-accent);

    font-size: 25px;
    font-weight: 400;

    transform: translateY(-50%);
}

.tsl-terms-faq details[open] summary::after {
    content: "−";
}

.tsl-terms-faq details p {
    max-width: 900px;

    margin: 0;
    padding: 0 50px 24px 0;

    color: var(--tsl-muted);

    font-size: 14px;
    line-height: 1.7;
}


/* =========================================================
   FINAL CTA
========================================================= */

.tsl-terms-cta {
    padding: 0;

    background: transparent;
}

.tsl-terms-cta__inner {
    position: relative;

    overflow: hidden;

    padding: 60px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 60px;

    border-radius: 14px;

    background: var(--tsl-dark);
}

.tsl-terms-cta__content {
    max-width: 760px;
}

.tsl-terms-cta h2 {
    color: #ffffff;
}

.tsl-terms-cta p {
    max-width: 650px;

    color: #a5adb1;
}

.tsl-terms-cta__actions {
    display: flex;
    align-items: center;

    gap: 10px;

    flex: 0 0 auto;
}

.tsl-terms-cta__primary,
.tsl-terms-cta__primary:link,
.tsl-terms-cta__primary:visited,
.tsl-terms-cta__secondary,
.tsl-terms-cta__secondary:link,
.tsl-terms-cta__secondary:visited {
    min-height: 58px;

    padding: 0 15px 0 24px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 22px;

    border: 1px solid transparent;
    border-radius: 10px;

    font-size: 14px;
    font-weight: 700;

    text-decoration: none !important;

    transition:
        background-color .2s ease,
        border-color .2s ease,
        color .2s ease;
}

.tsl-terms-cta__primary,
.tsl-terms-cta__primary:link,
.tsl-terms-cta__primary:visited {
    background: var(--tsl-accent);

    color: #ffffff !important;
}

.tsl-terms-cta__plus {
    width: 31px;
    height: 31px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #ffffff;
    color: var(--tsl-dark);

    font-size: 19px;
}

.tsl-terms-cta__primary:hover,
.tsl-terms-cta__primary:focus-visible {
    border-color: #ffffff;

    background: #ffffff;
    color: var(--tsl-dark) !important;

    outline: none;
}

.tsl-terms-cta__secondary,
.tsl-terms-cta__secondary:link,
.tsl-terms-cta__secondary:visited {
    border-color: #3c4144;

    background: transparent;
    color: #ffffff !important;
}

.tsl-terms-cta__secondary:hover,
.tsl-terms-cta__secondary:focus-visible {
    border-color: #ffffff;

    background: #ffffff;
    color: var(--tsl-dark) !important;

    outline: none;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1470px) {

    .tsl-terms-params,
    .tsl-terms-info,
    .tsl-terms-requirements,
    .tsl-terms-decision,
    .tsl-terms-rights,
    .tsl-terms-process,
    .tsl-terms-directions,
    .tsl-terms-calculator,
    .tsl-terms-faq,
    .tsl-terms-cta {
        width: 100%;
    }

    .tsl-terms-params,
    .tsl-terms-info,
    .tsl-terms-requirements,
    .tsl-terms-decision,
    .tsl-terms-rights,
    .tsl-terms-process,
    .tsl-terms-directions,
    .tsl-terms-calculator,
    .tsl-terms-faq {
        padding: 58px 40px;
    }

    .tsl-terms-split,
    .tsl-terms-decision__grid {
        grid-template-columns: 1fr;

        gap: 40px;
    }

    .tsl-terms-params__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tsl-terms-param:last-child {
        grid-column: 1 / -1;
    }

    .tsl-terms-process__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tsl-terms-rights__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tsl-terms-rights__item:nth-child(2) {
        border-right: 0;
    }

    .tsl-terms-rights__item:nth-child(odd) {
        padding-left: 0;
    }

    .tsl-terms-rights__item:nth-child(even) {
        padding-right: 0;
    }

    .tsl-terms-rights__item:nth-child(3),
    .tsl-terms-rights__item:nth-child(4) {
        border-top: 1px solid var(--tsl-line);
    }

    .tsl-terms-process-step:nth-child(2) {
        border-right: 0;
    }

    .tsl-terms-process-step:nth-child(3),
    .tsl-terms-process-step:nth-child(4) {
        border-top: 1px solid var(--tsl-line);
    }

    .tsl-terms-calculator__inner {
        grid-template-columns: 1fr;

        gap: 30px;
    }

    .tsl-terms-calculator__button {
        justify-self: start;
    }

    .tsl-terms-cta__inner {
        padding: 48px 40px;

        flex-direction: column;
        align-items: flex-start;
    }
}


@media (max-width: 767px) {

    .tsl-terms-page {
        padding: 14px 0;
    }

    .tsl-terms-params,
    .tsl-terms-info,
    .tsl-terms-requirements,
    .tsl-terms-decision,
    .tsl-terms-rights,
    .tsl-terms-process,
    .tsl-terms-directions,
    .tsl-terms-calculator,
    .tsl-terms-faq,
    .tsl-terms-cta {
        width: 100%;

        margin-bottom: 14px;

        border-radius: 12px;
    }

    .tsl-terms-params,
    .tsl-terms-info,
    .tsl-terms-requirements,
    .tsl-terms-decision,
    .tsl-terms-rights,
    .tsl-terms-process,
    .tsl-terms-directions,
    .tsl-terms-calculator,
    .tsl-terms-faq {
        padding: 42px 20px;
    }

    .tsl-terms-section-head h2,
    .tsl-terms-calculator h2,
    .tsl-terms-cta h2 {
        font-size: 31px;
    }


    /* Parameters */

    .tsl-terms-params__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 8px;
    }

    .tsl-terms-param {
        min-height: 125px;

        padding: 17px;
    }

    .tsl-terms-param:last-child {
        grid-column: 1 / -1;

        min-height: 105px;
    }

    .tsl-terms-param__label {
        font-size: 10px;
    }

    .tsl-terms-param__value {
        font-size: 18px;
    }

    .tsl-terms-ltv-note {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 20px;
    }


    /* Requirements */

    .tsl-terms-number-item {
        grid-template-columns: 40px minmax(0, 1fr);

        gap: 12px;

        padding: 22px 0;
    }


    /* Decision */

    .tsl-terms-decision__factors article {
        min-height: 0;

        padding: 20px;
    }

    .tsl-terms-decision__factors article > span {
        margin-bottom: 25px;
    }


    /* Consumer rights */

    .tsl-terms-rights__grid {
        grid-template-columns: 1fr;

        margin-top: 32px;

        border-bottom: 0;
    }

    .tsl-terms-rights__item,
    .tsl-terms-rights__item:first-child,
    .tsl-terms-rights__item:last-child {
        min-height: 0;

        padding: 24px 0;

        border-top: 0;
        border-right: 0;
        border-bottom: 1px solid var(--tsl-line);
    }

    .tsl-terms-rights__number {
        margin-bottom: 28px;
    }

    .tsl-terms-rights__note {
        margin-top: 22px;
        padding: 16px;
    }


    /* Process */

    .tsl-terms-process__grid {
        grid-template-columns: 1fr;

        margin-top: 32px;
    }

    .tsl-terms-process-step,
    .tsl-terms-process-step:first-child,
    .tsl-terms-process-step:last-child {
        min-height: 0;

        padding: 24px 0;

        border-right: 0;
        border-bottom: 1px solid var(--tsl-line);
    }

    .tsl-terms-process-step:last-child {
        border-bottom: 0;
    }

    .tsl-terms-process-step__number {
        margin-bottom: 28px;
    }


    /* Directions */

    .tsl-terms-directions__list a {
        min-height: 74px;

        gap: 18px;

        font-size: 16px;
    }


    /* Calculator */

    .tsl-terms-calculator__button {
        width: 100%;

        white-space: normal;
    }


    /* FAQ */

    .tsl-terms-faq summary {
        padding-right: 38px;

        font-size: 16px;
    }

    .tsl-terms-faq details p {
        padding-right: 38px;
    }


    /* CTA */

    .tsl-terms-cta__inner {
        padding: 32px 20px;

        border-radius: 12px;
    }

    .tsl-terms-cta__actions {
        width: 100%;

        flex-direction: column;
        align-items: stretch;
    }

    .tsl-terms-cta__primary,
    .tsl-terms-cta__secondary {
        width: 100%;
    }
}

