/* ====== Page-specific styles ====== */
#terms-hero {
    background: linear-gradient(0deg, rgba(0,16,80,0.75), rgba(0,16,80,0.75)),
                url('../assets/coding-924920_1280.jpg') center/cover no-repeat;
    color: #DEEDF1;
    min-height: 50vh;
    display: flex;
    align-items: center;
}
#terms-hero h1 {
    font: normal normal 600 60px/72px Lexend;
    font-size: 3rem;
    margin: 0;
    color: #DEEDF1;
}
#terms-main {
    background: #EAF9FF;
    padding: 3.5rem 0 5rem;
}
.section-head {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.section-head h2 {
    margin: 0;
    font: normal normal 500 60px/56px Lexend;
    font-size: 2.25rem;
    color: var(--brand-light-blue);
    white-space: nowrap;
}
.section-head .line {
    flex: 1;
    height: 3px;
    background: var(--brand-light-blue);
}
.card-soft {
    background: var(--card-bg);
    border-radius: .4rem;
    padding: 1.25rem 1.25rem;
    box-shadow: 0 4px 12px var(--card-shadow);
}

.toc_contact_cnt {
    position: sticky;
    top: 96px;
}
.toc a {
    display: block;
    color: #082B6D;
    text-decoration: none;
    padding: .25rem 0;
    font: normal normal 500 14px/20px Lexend;
}
.toc a:hover { text-decoration: underline; }

/* .toc_contact {
    position: sticky;
    top: 630px;
    margin-top: auto;
} */

.legal h3 {
    font: normal normal 700 18px/26px Muli;
    color: #082B6D;
    margin-top: 1rem;
}
.legal p, .legal li {
    font: normal normal 400 16px/24px Muli;
    color: #1A1A1A;
}
.legal code {
    background: #f6fbff;
    border: 1px solid #dbe6f4;
    border-radius: .25rem;
    padding: .15rem .3rem;
    font-size: 85%;
}
.note { font: normal normal 400 12px/16px Muli; color: #6b7a90; }
@media (max-width: 767.98px) {
    #terms-hero { min-height: 40vh; }
    #terms-hero h1 { font-size: 2rem; line-height: 1.2; }
    .section-head h2 { font-size: 1.6rem; }
    .toc { position: static; margin-top: 1rem; }
}