/* Terms & Conditions page. Legal copy is kept verbatim; these are presentation styles only. */
.terms-page { min-height: 100vh; background: var(--ink); }

.terms-hero { text-align: left; padding-block: clamp(44px, 6vw, 72px); }
.terms-hero h1 { margin: 16px 0 0; font-size: clamp(2.2rem, 1.7rem + 1.7vw, 3.4rem); }

.terms-content { padding-top: 28px; padding-bottom: 12px; }

.terms-part-heading {
    margin: 56px 0 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 59, 10, .3);
    color: var(--orange);
    font-size: clamp(1.05rem, .95rem + .4vw, 1.3rem);
    font-weight: 820;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.terms-part-heading:first-of-type { margin-top: 8px; }

.terms-section {
    margin-top: 30px;
    padding: clamp(22px, 3.4vw, 36px);
    border: 1px solid rgba(255, 255, 255, .055);
    border-radius: 22px;
    background: var(--panel);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .14);
}
.terms-section:first-child { margin-top: 0; }

.terms-section h2 { margin: 0 0 16px; font-size: clamp(1.3rem, 1.1rem + .6vw, 1.7rem); font-weight: 800; letter-spacing: -.02em; }
.terms-section h3 { margin: 0 0 16px; color: #fff; font-size: clamp(1.1rem, .98rem + .45vw, 1.4rem); font-weight: 780; letter-spacing: -.015em; }

.terms-section p { margin: 0 0 14px; color: #b7bfcc; font-size: .92rem; line-height: 1.75; }
.terms-section p:last-child { margin-bottom: 0; }
.terms-section p strong { color: #e7eaf1; }

.terms-address {
    padding: 14px 18px;
    border-left: 2px solid rgba(255, 59, 10, .4);
    color: #d2d7e0 !important;
    font-style: normal;
}

.terms-list { margin: 0 0 14px; padding-left: 22px; color: #b7bfcc; font-size: .92rem; line-height: 1.75; }
.terms-list:last-child { margin-bottom: 0; }
.terms-list li { margin-bottom: 8px; padding-left: 4px; }
.terms-list li:last-child { margin-bottom: 0; }
.terms-list li strong { color: #e7eaf1; }

.terms-list-alpha { list-style-type: lower-alpha; }
.terms-list-decimal { list-style-type: decimal; }
.terms-list-alpha-paren { list-style: none; padding-left: 0; counter-reset: terms-alpha; }
.terms-list-alpha-paren li { position: relative; padding-left: 30px; counter-increment: terms-alpha; }
.terms-list-alpha-paren li::before { content: "(" counter(terms-alpha, lower-alpha) ")"; position: absolute; left: 0; color: var(--orange); font-weight: 700; }
.terms-list-plain { list-style: none; padding-left: 0; }
.terms-list-plain li { padding-left: 18px; }
.terms-list-plain li::before { content: "—"; position: absolute; margin-left: -18px; color: var(--orange); }
.terms-list-grades { list-style: none; padding-left: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.terms-list-grades li { margin: 0; padding: 10px 16px; border: 1px solid #2a3955; border-radius: 12px; background: #0b172e; }

.terms-cta { margin-block: 60px 96px; }

@media (max-width: 620px) {
    .terms-hero { padding-block: 30px 20px; }
    .terms-content { padding-top: 18px; }
    .terms-part-heading { margin: 40px 0 16px; font-size: 1rem; }
    .terms-section { margin-top: 18px; padding: 20px 16px; border-radius: 18px; }
    .terms-section p, .terms-list { font-size: .85rem; }
    .terms-list-grades { flex-direction: column; }
    .terms-cta { margin-block: 44px 60px; }
}
