.sc-terms-page {
    --sc-terms-ink: #07105e;
    --sc-terms-muted: #61708e;
    --sc-terms-line: rgba(27, 87, 139, .13);
    background: #fbfdff;
    color: var(--sc-terms-ink);
}

/* Keep both the hero and the full terms content aligned to the Home page canvas. */
.sc-terms-page .sc-terms-hero-inner,
.sc-terms-page .sc-terms-content-wrap {
    width: var(--sc-public-content-width);
    max-width: var(--sc-public-max-width);
    margin-right: auto;
    margin-left: auto;
    padding-right: 0;
    padding-left: 0;
}

.sc-terms-page .sc-terms-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(120deg, #eefcff 0%, #f2edff 56%, #fff8df 100%);
}

.sc-terms-page .sc-terms-hero::before,
.sc-terms-page .sc-terms-hero::after {
    position: absolute;
    border: 1px solid rgba(67, 197, 223, .22);
    border-radius: 50%;
    content: '';
}

.sc-terms-page .sc-terms-hero::before {
    top: -170px;
    left: -90px;
    width: 420px;
    height: 420px;
}

.sc-terms-page .sc-terms-hero::after {
    right: -130px;
    bottom: -220px;
    width: 480px;
    height: 480px;
    border-color: rgba(111, 53, 216, .14);
}

.sc-terms-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, .82fr);
    align-items: center;
    gap: 56px;
    min-height: 365px;
    padding-top: 62px;
    padding-bottom: 62px;
}

.sc-terms-kicker {
    display: inline-flex;
    margin-bottom: 12px;
    color: #1588b2;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.sc-terms-hero h1 {
    max-width: 640px;
    margin: 0;
    color: var(--sc-terms-ink);
    font-size: clamp(56px, 7vw, 88px);
    font-weight: 800;
    letter-spacing: -.055em;
    line-height: 1.03;
}

.sc-terms-hero-copy > p {
    max-width: 545px;
    margin: 22px 0 0;
    color: #49627d;
    font-size: 17px;
    line-height: 1.7;
}

.sc-terms-hero-copy > .sc-terms-hero-tagline {
    max-width: 620px;
    margin-top: 18px;
    color: var(--sc-terms-ink);
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: 1.15;
}

.sc-terms-hero-copy > .sc-terms-hero-description {
    margin-top: 15px;
}

.sc-terms-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.sc-terms-hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 13px;
    border: 1px solid rgba(21, 136, 178, .15);
    border-radius: 999px;
    background: rgba(255,255,255,.62);
    color: #1b6787;
    font-size: 12px;
    font-weight: 700;
}

.sc-terms-hero-meta svg,
.sc-terms-principle svg,
.sc-terms-help-card svg {
    stroke-width: 2.4;
}

.sc-terms-hero-art {
    position: relative;
    min-height: 255px;
}

.sc-terms-art-circle {
    position: absolute;
    top: 8px;
    right: 22px;
    width: 235px;
    height: 235px;
    border-radius: 50%;
    background: linear-gradient(145deg, #d7f9ff 0%, #b8e8f2 48%, #d8c7ff 100%);
    box-shadow: 0 25px 55px rgba(48, 118, 172, .15);
}

.sc-terms-art-note {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(255,255,255,.72);
    border-radius: 17px;
    box-shadow: 0 18px 34px rgba(42, 48, 88, .13);
}

.sc-terms-art-note-back {
    top: 30px;
    right: 0;
    padding: 15px 17px;
    background: rgba(255,255,255,.9);
    color: #6f35d8;
    font-size: 13px;
    font-weight: 800;
    transform: rotate(5deg);
}

.sc-terms-art-note-front {
    top: 78px;
    left: 18px;
    width: min(100%, 310px);
    min-height: 148px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 23px;
    background: linear-gradient(135deg, #07105e, #172786);
    color: #fff;
    transform: rotate(-4deg);
}

.sc-terms-art-note-front strong { font-size: 24px; line-height: 1.06; }
.sc-terms-art-note-front small { color: #c5d1f2; font-size: 11px; }
.sc-terms-art-check { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: #43d477; color: #fff; }
.sc-terms-art-spark { position: absolute; z-index: 2; color: #ffae27; font-size: 25px; }
.sc-terms-art-spark-one { top: 4px; left: 2px; }
.sc-terms-art-spark-two { right: 3px; bottom: 10px; color: #6f35d8; font-size: 18px; }

.sc-terms-content-wrap { padding-top: 74px; padding-bottom: 86px; }

.sc-terms-principles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.sc-terms-principle {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    min-height: 142px;
    padding: 22px;
    border: 1px solid var(--sc-terms-line);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 14px 30px rgba(42, 48, 88, .06);
}

.sc-terms-principle-icon {
    display: grid;
    flex: 0 0 45px;
    width: 45px;
    height: 45px;
    place-items: center;
    border-radius: 14px;
    background: #e9fbff;
    color: #118ab2;
}

.sc-terms-principle-purple .sc-terms-principle-icon { background: #f1ebff; color: #6f35d8; }
.sc-terms-principle-yellow .sc-terms-principle-icon { background: #fff4db; color: #d18411; }
.sc-terms-principle h3 { margin: 2px 0 8px; color: var(--sc-terms-ink); font-size: 17px; font-weight: 800; }
.sc-terms-principle p { margin: 0; color: var(--sc-terms-muted); font-size: 13px; line-height: 1.55; }

.sc-terms-details-card {
    margin-top: 52px;
    padding: 38px 42px 44px;
    border: 1px solid rgba(111, 53, 216, .14);
    border-radius: 26px;
    background: linear-gradient(145deg, #fff 0%, #fbfaff 100%);
    box-shadow: 0 18px 40px rgba(42, 48, 88, .07);
}

.sc-terms-details-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
}

.sc-terms-details-heading h2,
.sc-terms-help-card h2 {
    margin: 0;
    color: var(--sc-terms-ink);
    font-size: clamp(27px, 3vw, 36px);
    font-weight: 800;
    letter-spacing: -.04em;
}

.sc-terms-details-heading > p,
.sc-terms-help-card p {
    max-width: 350px;
    margin: 0;
    color: var(--sc-terms-muted);
    font-size: 14px;
    line-height: 1.65;
}

.sc-terms-details,
.sc-terms-details * {
    font-family: main-font-family, sans-serif !important;
}

.sc-terms-details {
    color: var(--sc-terms-muted);
    font-size: 14px;
    line-height: 1.7;
}

.sc-terms-details > div,
.sc-terms-details > div > div {
    margin: 0 !important;
    padding: 0 !important;
}

.sc-terms-details h4 {
    margin: 30px 0 10px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0;
    background: transparent !important;
    color: var(--sc-terms-ink) !important;
    font-size: 19px !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
}

.sc-terms-details .sc-terms-mainheading {
    display: block;
    margin: 30px 0 10px;
    padding: 13px 17px;
    border-left: 4px solid #43c5df;
    border-radius: 0 12px 12px 0;
    background: #eefcff;
    color: var(--sc-terms-ink);
    font-size: 19px;
    font-weight: 800;
    line-height: 1.35;
}

.sc-terms-details h4:first-child { display: none; }
.sc-terms-details h5 {
    margin: 16px 0 8px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--sc-terms-muted) !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.55 !important;
}
.sc-terms-details h5:empty { display: none; }
.sc-terms-details .sc-terms-body-intro { margin: 0 0 8px; color: var(--sc-terms-muted); }
.sc-terms-details .sc-terms-subheading {
    margin: 16px 0 8px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--sc-terms-muted);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.55;
}
.sc-terms-details .sc-terms-bullet-list { margin: 7px 0 12px; padding-left: 24px; list-style: disc !important; }
.sc-terms-details .sc-terms-bullet-list li { display: list-item !important; margin: 7px 0; padding-left: 5px; color: var(--sc-terms-muted); list-style: disc !important; }
.sc-terms-details .sc-terms-bullet-list li::marker { color: #43c5df; font-size: 1.15em; }
.sc-terms-details h5:not(.sc-terms-subheading) .TextRun {
    display: list-item !important;
    margin: 7px 0 !important;
    padding-left: 5px !important;
    list-style: disc !important;
}
.sc-terms-details h5:not(.sc-terms-subheading) .TextRun::marker {
    color: #43c5df;
    font-size: 1.15em;
}
.sc-terms-details h5:not(.sc-terms-subheading) .TextRun::before {
    content: '•';
    display: inline-block;
    width: 18px;
    margin-left: -18px;
    color: #43c5df;
    font-size: 1.15em;
}
.sc-terms-details .OutlineElement { padding-bottom: 8px !important; }
.sc-terms-details .OutlineElement + .OutlineElement { margin-top: 8px !important; }
.sc-terms-details span, .sc-terms-details div { color: inherit; }

.sc-terms-help-card {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 24px;
    padding: 24px 28px;
    border-radius: 22px;
    background: linear-gradient(120deg, #07105e, #123b9a);
    box-shadow: 0 18px 35px rgba(7, 16, 94, .18);
    color: #fff;
}

.sc-terms-help-card .sc-terms-kicker { margin-bottom: 5px; color: #8ce9f6; }
.sc-terms-help-card h2 { color: #fff; font-size: 23px; }
.sc-terms-help-card p { margin-top: 5px; color: #c5d1f2; }
.sc-terms-help-icon { display: grid; flex: 0 0 52px; width: 52px; height: 52px; place-items: center; border-radius: 17px; background: rgba(255,255,255,.14); color: #8ce9f6; }
.sc-terms-help-card .btn { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; flex: 0 0 auto; border: 0; background: #43c5df; color: #07105e; }
.sc-terms-help-card .btn:hover { background: #fff; color: #07105e; }

@media (max-width: 991px) {
    .sc-terms-hero-inner { grid-template-columns: 1fr; gap: 18px; }
    .sc-terms-hero-art { max-width: 470px; min-height: 230px; margin: 0 auto; width: 100%; }
    .sc-terms-principles { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
    .sc-terms-page .sc-terms-hero-inner,
    .sc-terms-page .sc-terms-content-wrap {
        width: var(--sc-public-content-width);
    }
}

@media (max-width: 575px) {
    .sc-terms-hero-inner { min-height: 0; padding-top: 44px; padding-bottom: 36px; }
    .sc-terms-hero h1 { font-size: 54px; }
    .sc-terms-hero-copy > .sc-terms-hero-tagline { font-size: 27px; }
    .sc-terms-hero-copy > p { font-size: 15px; }
    .sc-terms-art-circle { right: 0; width: 190px; height: 190px; }
    .sc-terms-art-note-front { left: 0; width: calc(100% - 22px); }
    .sc-terms-content-wrap { padding-top: 50px; padding-bottom: 58px; }
    .sc-terms-details-card { margin-top: 38px; padding: 26px 18px 30px; border-radius: 20px; }
    .sc-terms-details-heading { display: block; }
    .sc-terms-details-heading > p { margin-top: 12px; }
    .sc-terms-help-card { align-items: flex-start; flex-wrap: wrap; padding: 22px 18px; }
    .sc-terms-help-card .btn { width: 100%; justify-content: center; margin: 5px 0 0; }
}
