/* =========================================================
   PRIMEPROBLEM — TERMS & CONDITIONS
   File: public_html/terms.css

   Isolated styles: .terms-page / .terms-*
   Responsive: Desktop, Tablet, Mobile
========================================================= */

.terms-page {
    --terms-ink: #12182b;
    --terms-text: #59647a;
    --terms-muted: #8791a5;
    --terms-border: #e7eaf2;
    --terms-primary: #625bf6;
    --terms-primary-dark: #4d45db;
    --terms-soft: #f7f8fc;

    position: relative;
    overflow: clip;
    background: #ffffff;
    color: var(--terms-text);
    font-family: inherit;
    line-height: 1.75;
}

.terms-page *,
.terms-page *::before,
.terms-page *::after {
    box-sizing: border-box;
}

.terms-page h1,
.terms-page h2,
.terms-page h3,
.terms-page p {
    margin-top: 0;
}

.terms-page h1,
.terms-page h2,
.terms-page h3 {
    color: var(--terms-ink);
    line-height: 1.22;
    letter-spacing: -0.035em;
}

.terms-page p {
    color: var(--terms-text);
}

.terms-page a {
    -webkit-tap-highlight-color: transparent;
}

.terms-page a:focus-visible {
    outline: 3px solid rgba(98, 91, 246, 0.45);
    outline-offset: 4px;
}

.terms-page .terms-container {
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
}


/* ================= HERO ================= */

.terms-hero {
    position: relative;
    isolation: isolate;
    padding: 88px 0 94px;
    border-bottom: 1px solid #f0f1f7;
    background:
        radial-gradient(
            ellipse at 85% 18%,
            rgba(115, 105, 255, 0.14),
            transparent 35%
        ),
        radial-gradient(
            ellipse at 5% 95%,
            rgba(66, 153, 225, 0.09),
            transparent 35%
        ),
        linear-gradient(180deg, #fafaff, #ffffff);
}

.terms-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
    align-items: center;
    gap: 65px;
}

.terms-hero-copy {
    min-width: 0;
}

.terms-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 22px;
    color: var(--terms-primary-dark);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.13em;
}

.terms-eyebrow-dot {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background: var(--terms-primary);
    box-shadow: 0 0 0 5px rgba(98, 91, 246, 0.10);
}

.terms-hero-copy h1 {
    max-width: 650px;
    margin-bottom: 23px;
    font-size: clamp(42px, 5.2vw, 66px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.06em;
}

.terms-gradient {
    color: var(--terms-primary);
    background: linear-gradient(105deg, #665cf6, #8b77f8 55%, #3d80e8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.terms-hero-description {
    max-width: 555px;
    margin-bottom: 25px;
    font-size: 15px;
    line-height: 1.95;
}

.terms-updated {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 29px;
    color: var(--terms-muted);
    font-size: 12px;
    font-weight: 600;
}

.terms-updated-check {
    display: grid;
    width: 22px;
    height: 22px;
    place-items: center;
    border: 1px solid #c9efda;
    border-radius: 50%;
    background: #eafaf1;
    color: #14855f;
    font-size: 11px;
    font-weight: 800;
}

.terms-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.terms-page .terms-button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 20px;
    border: 1px solid transparent;
    border-radius: 11px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

.terms-page .terms-button:hover {
    transform: translateY(-2px);
}

.terms-page .terms-button-primary {
    border-color: #554be9;
    background: linear-gradient(135deg, #7168ff, #5148e5);
    color: #ffffff;
    box-shadow: 0 8px 22px rgba(88, 77, 231, 0.2);
}

.terms-page .terms-button-primary:hover {
    box-shadow: 0 12px 28px rgba(88, 77, 231, 0.28);
}

.terms-page .terms-button-secondary {
    border-color: #e2e5ef;
    background: #ffffff;
    color: #252b40;
}

.terms-page .terms-button-secondary:hover {
    border-color: #c9c5ff;
    background: #f8f7ff;
}


/* ================= HERO VISUAL ================= */

.terms-hero-visual {
    position: relative;
    display: grid;
    min-width: 0;
    min-height: 450px;
    place-items: center;
    isolation: isolate;
}

.terms-decoration {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    pointer-events: none;
}

.terms-decoration-one {
    top: 10px;
    right: 10px;
    width: 230px;
    height: 230px;
    background: radial-gradient(circle, rgba(121, 111, 255, 0.19), transparent 70%);
}

.terms-decoration-two {
    bottom: 5px;
    left: 0;
    width: 230px;
    height: 230px;
    background: radial-gradient(circle, rgba(57, 143, 238, 0.14), transparent 70%);
}

.terms-document-card {
    position: relative;
    width: min(100%, 440px);
    padding: 29px;
    overflow: hidden;
    border: 1px solid rgba(223, 225, 241, 0.95);
    border-radius: 23px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow:
        0 32px 80px rgba(36, 42, 90, 0.10),
        0 7px 22px rgba(36, 42, 90, 0.04);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.terms-document-card::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    content: "";
    background: linear-gradient(90deg, #6b61f7, #a28bff, #4b91ed);
}

.terms-document-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 26px;
}

.terms-document-icon {
    display: grid;
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    place-items: center;
    border: 1px solid #e0deff;
    border-radius: 13px;
    background: #f0efff;
    color: #5c53ed;
    font-size: 24px;
    font-weight: 800;
}

.terms-document-label,
.terms-document-subtitle {
    display: block;
}

.terms-document-label {
    color: #625bf6;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.terms-document-subtitle {
    margin-top: 3px;
    color: #8791a5;
    font-size: 11px;
}

.terms-document-status {
    margin-left: auto;
    padding: 6px 8px;
    border: 1px solid #e6e5ff;
    border-radius: 7px;
    background: #f8f7ff;
    color: #6158ed;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.07em;
}

.terms-document-line {
    height: 7px;
    margin-bottom: 10px;
    border-radius: 10px;
    background: #eceef5;
}

.terms-line-long {
    width: 92%;
}

.terms-line-medium {
    width: 73%;
}

.terms-line-short {
    width: 48%;
}

.terms-document-divider {
    height: 1px;
    margin: 23px 0 8px;
    background: #edf0f6;
}

.terms-document-item {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 16px 0;
    border-bottom: 1px solid #edf0f6;
}

.terms-document-number {
    display: grid;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    place-items: center;
    border: 1px solid #e6e4ff;
    border-radius: 11px;
    background: #f5f4ff;
    color: #6057ed;
    font-size: 10px;
    font-weight: 800;
}

.terms-document-item strong,
.terms-document-item span:last-child {
    display: block;
}

.terms-document-item strong {
    margin-bottom: 3px;
    color: #20263b;
    font-size: 12px;
    font-weight: 800;
}

.terms-document-item div span {
    color: #7d879b;
    font-size: 10px;
    line-height: 1.6;
}

.terms-document-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 19px;
    color: #8791a5;
    font-size: 10px;
}

.terms-footer-dot {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: #16a474;
}

.terms-floating-note {
    position: absolute;
    right: -7px;
    bottom: 3px;
    display: flex;
    align-items: center;
    gap: 11px;
    max-width: 260px;
    padding: 14px 17px;
    border: 1px solid #e6e9f2;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 14px 36px rgba(29, 38, 76, 0.11);
}

.terms-floating-icon {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    place-items: center;
    border-radius: 10px;
    background: #e9faf1;
    color: #12865e;
    font-size: 15px;
    font-weight: 800;
}

.terms-floating-note strong,
.terms-floating-note small {
    display: block;
}

.terms-floating-note strong {
    margin-bottom: 3px;
    color: #20263b;
    font-size: 11px;
}

.terms-floating-note small {
    color: #7d879b;
    font-size: 9px;
}


/* ================= HIGHLIGHTS ================= */

.terms-highlights {
    padding: 84px 0 91px;
    background: #ffffff;
}

.terms-section-heading {
    max-width: 650px;
    margin: 0 auto 39px;
    text-align: center;
}

.terms-section-heading .terms-eyebrow {
    margin-bottom: 13px;
}

.terms-section-heading h2 {
    margin-bottom: 14px;
    font-size: clamp(29px, 3.5vw, 42px);
    font-weight: 800;
    letter-spacing: -0.05em;
}

.terms-section-heading > p {
    max-width: 540px;
    margin: 0 auto;
    font-size: 14px;
    line-height: 1.9;
}

.terms-highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.terms-highlight-card {
    min-width: 0;
    padding: 28px 25px;
    border: 1px solid #e8eaf2;
    border-radius: 18px;
    background: linear-gradient(155deg, #ffffff, #fafaff);
    box-shadow: 0 6px 22px rgba(27, 36, 77, 0.025);
    transition:
        transform 0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease;
}

.terms-highlight-card:hover {
    transform: translateY(-4px);
    border-color: #d9d5ff;
    box-shadow: 0 15px 34px rgba(37, 43, 91, 0.075);
}

.terms-highlight-number {
    display: grid;
    width: 45px;
    height: 45px;
    margin-bottom: 21px;
    place-items: center;
    border: 1px solid #e5e2ff;
    border-radius: 13px;
    background: #f3f2ff;
    color: #5d54ed;
    font-size: 12px;
    font-weight: 800;
}

.terms-highlight-card h3 {
    margin-bottom: 11px;
    font-size: 17px;
    font-weight: 800;
}

.terms-highlight-card p {
    margin-bottom: 0;
    font-size: 12px;
    line-height: 1.95;
}


/* ================= CONTENT AREA ================= */

.terms-content-section {
    padding: 82px 0 96px;
    background:
        radial-gradient(ellipse at 100% 0%, rgba(109, 100, 255, 0.045), transparent 32%),
        #f8f9fc;
    scroll-margin-top: 24px;
}

.terms-content-grid {
    display: grid;
    grid-template-columns: 255px minmax(0, 1fr);
    align-items: start;
    gap: 30px;
}


/* ================= SIDEBAR ================= */

.terms-sidebar {
    min-width: 0;
}

.terms-sidebar-box {
    position: sticky;
    top: 24px;
    padding: 23px 16px;
    border: 1px solid #e6e9f2;
    border-radius: 17px;
    background: #ffffff;
    box-shadow: 0 8px 25px rgba(25, 35, 73, 0.035);
}

.terms-sidebar-heading {
    display: block;
    margin: 0 0 15px 9px;
    color: #929bb0;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.terms-toc-link {
    display: block;
    margin: 2px 0;
    padding: 9px 10px;
    border: 1px solid transparent;
    border-radius: 8px;
    color: #647087;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.55;
    text-decoration: none;
    transition:
        color 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

.terms-toc-link:hover {
    border-color: #eceaff;
    background: #f6f5ff;
    color: #544be4;
}

.terms-sidebar-help {
    margin-top: 20px;
    padding: 16px 13px;
    border: 1px solid #e6e4ff;
    border-radius: 12px;
    background: linear-gradient(145deg, #f8f7ff, #f1f3ff);
}

.terms-sidebar-help strong {
    display: block;
    margin-bottom: 7px;
    color: #292d49;
    font-size: 12px;
}

.terms-sidebar-help p {
    margin-bottom: 10px;
    color: #747e93;
    font-size: 10px;
    line-height: 1.8;
}

.terms-sidebar-help a {
    color: #574ee7;
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
}

.terms-sidebar-help a:hover {
    text-decoration: underline;
}


/* ================= ARTICLE ================= */

.terms-article {
    min-width: 0;
    padding: 40px 42px;
    border: 1px solid #e7eaf2;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 10px 35px rgba(25, 35, 73, 0.035);
}

.terms-intro {
    padding-bottom: 31px;
    border-bottom: 1px solid #eceef4;
}

.terms-intro-label {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 7px 10px;
    border: 1px solid #e7e5ff;
    border-radius: 7px;
    background: #f7f6ff;
    color: #5c53e8;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.terms-intro h2 {
    margin-bottom: 16px;
    font-size: clamp(27px, 3vw, 35px);
    font-weight: 800;
    letter-spacing: -0.045em;
}

.terms-intro p {
    margin-bottom: 13px;
    font-size: 13px;
    line-height: 1.95;
}

.terms-intro p:last-child {
    margin-bottom: 0;
}


/* ================= INDIVIDUAL TERMS ================= */

.terms-section {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    align-items: start;
    gap: 18px;
    padding: 33px 0;
    border-bottom: 1px solid #eceef4;
    scroll-margin-top: 24px;
}

.terms-section-number {
    display: grid;
    width: 37px;
    height: 37px;
    place-items: center;
    border: 1px solid #e5e3ff;
    border-radius: 11px;
    background: #f4f3ff;
    color: #5d54ed;
    font-size: 10px;
    font-weight: 800;
}

.terms-section > div {
    min-width: 0;
}

.terms-section h2 {
    margin: 4px 0 15px;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.terms-section p {
    margin-bottom: 14px;
    font-size: 12px;
    line-height: 2;
    overflow-wrap: anywhere;
}

.terms-section p:last-child {
    margin-bottom: 0;
}

.terms-section ul {
    margin: 12px 0 18px;
    padding-left: 20px;
}

.terms-section li {
    margin-bottom: 10px;
    padding-left: 4px;
    color: #59647a;
    font-size: 12px;
    line-height: 1.9;
    overflow-wrap: anywhere;
}

.terms-section li::marker {
    color: #746bf7;
}

.terms-section a,
.terms-inline-link {
    color: #574ee7;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: rgba(87, 78, 231, 0.35);
    text-underline-offset: 3px;
    overflow-wrap: anywhere;
}

.terms-section a:hover,
.terms-inline-link:hover {
    color: #3730a3;
    text-decoration-color: currentColor;
}


/* ================= CLOSING CARD ================= */

.terms-closing {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-top: 32px;
    padding: 22px;
    border: 1px solid #e0e8ff;
    border-radius: 15px;
    background:
        radial-gradient(ellipse at 100% 0%, rgba(113, 105, 255, 0.08), transparent 55%),
        #f8faff;
}

.terms-closing-icon {
    display: grid;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    place-items: center;
    border-radius: 12px;
    background: #e9e8ff;
    color: #5a51e9;
    font-size: 17px;
    font-weight: 800;
}

.terms-closing h3 {
    margin: 2px 0 8px;
    font-size: 15px;
    font-weight: 800;
}

.terms-closing p {
    margin-bottom: 0;
    font-size: 11px;
    line-height: 1.9;
}


/* ================= CTA ================= */

.terms-cta-section {
    padding: 76px 0 85px;
    background: #ffffff;
}

.terms-cta {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 45px 48px;
    overflow: hidden;
    border-radius: 23px;
    background:
        radial-gradient(circle at 90% 0%, rgba(162, 154, 255, 0.3), transparent 34%),
        linear-gradient(120deg, #171b35, #29265c 60%, #39328a);
    box-shadow: 0 22px 55px rgba(42, 40, 112, 0.14);
}

.terms-cta::after {
    position: absolute;
    right: 14%;
    bottom: -145px;
    width: 250px;
    height: 250px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.terms-cta-copy {
    position: relative;
    z-index: 1;
    max-width: 650px;
}

.terms-cta .terms-eyebrow {
    margin-bottom: 13px;
    color: #c5c0ff;
}

.terms-cta h2 {
    margin-bottom: 13px;
    color: #ffffff;
    font-size: clamp(26px, 3.4vw, 38px);
    font-weight: 800;
    letter-spacing: -0.045em;
}

.terms-cta p {
    max-width: 520px;
    margin-bottom: 0;
    color: #d2d5eb;
    font-size: 13px;
    line-height: 1.9;
}

.terms-page .terms-button-light {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    border-color: #ffffff;
    background: #ffffff;
    color: #29254f;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.terms-page .terms-button-light:hover {
    background: #f1efff;
}


/* ================= LAPTOP ================= */

@media (max-width: 1100px) {
    .terms-hero {
        padding: 70px 0 78px;
    }

    .terms-hero-grid {
        grid-template-columns: minmax(0, 1fr) minmax(300px, 0.9fr);
        gap: 35px;
    }

    .terms-content-grid {
        grid-template-columns: 225px minmax(0, 1fr);
        gap: 22px;
    }

    .terms-article {
        padding: 32px 28px;
    }

    .terms-sidebar-box {
        padding: 20px 12px;
    }

    .terms-toc-link {
        font-size: 10px;
    }

    .terms-cta {
        padding: 38px;
    }
}


/* ================= TABLET ================= */

@media (max-width: 850px) {
    .terms-page .terms-container {
        width: min(100% - 36px, 720px);
    }

    .terms-hero {
        padding: 62px 0 68px;
    }

    .terms-hero-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 36px;
    }

    .terms-hero-copy {
        max-width: 650px;
    }

    .terms-hero-copy h1 {
        font-size: clamp(42px, 7vw, 60px);
    }

    .terms-hero-visual {
        width: 100%;
        max-width: 540px;
        min-height: 435px;
        margin-inline: auto;
    }

    .terms-document-card {
        width: min(100% - 25px, 440px);
    }

    .terms-floating-note {
        right: 0;
        bottom: 0;
    }

    .terms-highlights {
        padding: 65px 0;
    }

    .terms-highlights-grid {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .terms-highlight-card {
        display: grid;
        grid-template-columns: 45px minmax(0, 1fr);
        column-gap: 15px;
        padding: 21px;
    }

    .terms-highlight-number {
        grid-row: span 2;
        margin-bottom: 0;
    }

    .terms-highlight-card h3 {
        margin: 2px 0 7px;
    }

    .terms-highlight-card p {
        grid-column: 2;
    }

    .terms-content-section {
        padding: 56px 0 65px;
    }

    .terms-content-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .terms-sidebar-box {
        position: static;
        padding: 19px;
    }

    .terms-sidebar-heading {
        margin-left: 0;
    }

    .terms-toc-link {
        display: inline-flex;
        margin: 4px 4px 4px 0;
        padding: 8px 10px;
        border-color: #e9eaf3;
        background: #ffffff;
        font-size: 10px;
    }

    .terms-sidebar-help {
        margin-top: 16px;
    }

    .terms-article {
        padding: 32px 28px;
    }

    .terms-cta-section {
        padding: 55px 0 65px;
    }

    .terms-cta {
        align-items: flex-start;
        flex-direction: column;
        padding: 35px;
    }
}


/* ================= MOBILE ================= */

@media (max-width: 540px) {
    .terms-page .terms-container {
        width: calc(100% - 32px);
    }

    .terms-hero {
        padding: 45px 0 50px;
    }

    .terms-hero-grid {
        gap: 31px;
    }

    .terms-eyebrow {
        margin-bottom: 17px;
        font-size: 9px;
    }

    .terms-hero-copy h1 {
        margin-bottom: 17px;
        font-size: clamp(36px, 10vw, 48px);
        line-height: 1.12;
    }

    .terms-hero-description {
        margin-bottom: 19px;
        font-size: 13px;
        line-height: 1.9;
    }

    .terms-updated {
        margin-bottom: 22px;
        font-size: 11px;
    }

    .terms-hero-actions {
        flex-direction: column;
        gap: 10px;
    }

    .terms-page .terms-button {
        width: 100%;
        min-height: 46px;
        padding: 11px 15px;
        font-size: 12px;
    }

    .terms-hero-visual {
        min-height: 400px;
    }

    .terms-document-card {
        width: 100%;
        padding: 22px 18px;
        border-radius: 19px;
    }

    .terms-document-top {
        gap: 9px;
        margin-bottom: 22px;
    }

    .terms-document-icon {
        width: 37px;
        height: 37px;
        flex-basis: 37px;
    }

    .terms-document-status {
        padding: 5px 6px;
        font-size: 7px;
    }

    .terms-document-item {
        gap: 10px;
        padding: 13px 0;
    }

    .terms-document-number {
        width: 32px;
        height: 32px;
        flex-basis: 32px;
    }

    .terms-document-item strong {
        font-size: 11px;
    }

    .terms-document-item div span {
        font-size: 9px;
    }

    .terms-floating-note {
        right: 4px;
        bottom: -10px;
        max-width: 235px;
        padding: 11px 13px;
    }

    .terms-floating-icon {
        width: 30px;
        height: 30px;
        flex-basis: 30px;
    }

    .terms-floating-note strong {
        font-size: 10px;
    }

    .terms-floating-note small {
        font-size: 8px;
    }

    .terms-highlights {
        padding: 52px 0;
    }

    .terms-section-heading {
        margin-bottom: 26px;
    }

    .terms-section-heading h2 {
        font-size: 28px;
    }

    .terms-section-heading > p {
        font-size: 12px;
    }

    .terms-highlight-card {
        grid-template-columns: 39px minmax(0, 1fr);
        column-gap: 12px;
        padding: 18px 15px;
        border-radius: 14px;
    }

    .terms-highlight-number {
        width: 39px;
        height: 39px;
        border-radius: 11px;
        font-size: 10px;
    }

    .terms-highlight-card h3 {
        font-size: 14px;
    }

    .terms-highlight-card p {
        font-size: 11px;
        line-height: 1.85;
    }

    .terms-content-section {
        padding: 39px 0 47px;
    }

    .terms-sidebar-box {
        padding: 15px 12px;
        border-radius: 14px;
    }

    .terms-toc-link {
        padding: 7px 8px;
        font-size: 9px;
    }

    .terms-sidebar-help {
        padding: 14px 12px;
    }

    .terms-article {
        padding: 24px 17px;
        border-radius: 15px;
    }

    .terms-intro {
        padding-bottom: 24px;
    }

    .terms-intro-label {
        font-size: 8px;
    }

    .terms-intro h2 {
        font-size: 25px;
    }

    .terms-intro p {
        font-size: 12px;
        line-height: 1.9;
    }

    .terms-section {
        grid-template-columns: 30px minmax(0, 1fr);
        gap: 11px;
        padding: 25px 0;
    }

    .terms-section-number {
        width: 30px;
        height: 30px;
        border-radius: 9px;
        font-size: 8px;
    }

    .terms-section h2 {
        margin: 3px 0 12px;
        font-size: 16px;
    }

    .terms-section p,
    .terms-section li {
        font-size: 11px;
        line-height: 1.9;
    }

    .terms-section ul {
        padding-left: 16px;
    }

    .terms-closing {
        gap: 11px;
        margin-top: 24px;
        padding: 17px 13px;
        border-radius: 12px;
    }

    .terms-closing-icon {
        width: 32px;
        height: 32px;
        flex-basis: 32px;
        border-radius: 9px;
    }

    .terms-closing h3 {
        font-size: 13px;
        line-height: 1.5;
    }

    .terms-closing p {
        font-size: 10px;
    }

    .terms-cta-section {
        padding: 40px 0 48px;
    }

    .terms-cta {
        gap: 21px;
        padding: 26px 20px;
        border-radius: 18px;
    }

    .terms-cta h2 {
        font-size: 25px;
    }

    .terms-cta p {
        font-size: 12px;
    }
}


/* ================= EXTRA SMALL MOBILE ================= */

@media (max-width: 360px) {
    .terms-page .terms-container {
        width: calc(100% - 24px);
    }

    .terms-hero-copy h1 {
        font-size: 34px;
    }

    .terms-document-card {
        padding: 20px 14px;
    }

    .terms-document-status {
        letter-spacing: 0;
    }

    .terms-article {
        padding: 21px 13px;
    }

    .terms-section {
        grid-template-columns: 27px minmax(0, 1fr);
        gap: 9px;
    }

    .terms-section-number {
        width: 27px;
        height: 27px;
        font-size: 7px;
    }

    .terms-section h2 {
        font-size: 15px;
    }

    .terms-cta {
        padding: 22px 16px;
    }
}


/* ================= REDUCED MOTION ================= */

@media (prefers-reduced-motion: reduce) {
    .terms-page *,
    .terms-page *::before,
    .terms-page *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
