.terms-hero {
    padding: 56px 0 28px;
    background: radial-gradient(ellipse at 85% 0, #e6faf0, transparent 65%);
}
.terms-hero .eyebrow { margin: 0 0 12px; }
.terms-hero h1 {
    margin: 0 0 14px;
    font-size: clamp(32px, 4vw, 50px);
    line-height: 1.15;
    letter-spacing: -1.8px;
}
.terms-intro { max-width: 640px; margin: 0; color: #526278; font-size: 17px; }
.terms-content { padding: 0 0 64px; }
.terms-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0 0 28px; }
.terms-choice {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
    padding: 22px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: border-color 160ms, background-color 160ms;
}
.terms-choice:hover { border-color: #77b697; }
.terms-choice[aria-current="true"] { border-color: #159962; background: #f0faf5; box-shadow: inset 0 0 0 1px #159962; }
.terms-choice-icon { display: grid; place-items: center; flex: 0 0 48px; height: 48px; border-radius: 10px; background: #f1f5f9; color: #607086; }
.terms-choice-icon svg { width: 25px; height: 25px; }
.terms-choice[aria-current="true"] .terms-choice-icon { background: #dff3e9; color: #087d51; }
.terms-choice-copy { flex: 1; min-width: 0; }
.terms-choice-copy strong { display: block; font-size: 17px; margin-bottom: 4px; overflow-wrap: anywhere; }
.terms-choice-copy > span { display: block; font-size: 13px; color: #526278; }
.terms-choice-check { width: 22px; height: 22px; flex-shrink: 0; color: #087d51; visibility: hidden; }
.terms-choice[aria-current="true"] .terms-choice-check { visibility: visible; }
.terms-reader { overflow: hidden; background: #e5e9ef; border: 1px solid #d9e1e9; border-radius: 12px; box-shadow: 0 8px 30px #0f172a08; }
.terms-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 22px; background: #fff; border-bottom: 1px solid var(--border); }
.terms-document-heading { display: flex; align-items: center; gap: 13px; min-width: 0; }
.terms-pdf-badge { padding: 7px 8px; border: 1px solid #dce5ef; border-radius: 7px; font-size: 10px; font-weight: 800; letter-spacing: 1px; color: #57667c; }
.terms-document-heading h2 { margin: 0; font-size: 16px; line-height: 1.35; }
.terms-document-heading p { margin: 4px 0 0; color: #64748b; font-size: 12px; }
.terms-document-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.terms-document-actions svg { width: 16px; height: 16px; flex-shrink: 0; }
.terms-expand { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid #cbd5e1; background: #fff; color: #475569; border-radius: 8px; cursor: pointer; }
.terms-expand:hover { background: #f1f5f9; }
.terms-pdf { display: block; width: 100%; height: clamp(540px, 78vh, 1050px); border: 0; background: #e5e9ef; }
.terms-unavailable { padding: 90px 24px; text-align: center; color: #526278; }
.terms-unavailable svg { width: 40px; height: 40px; }
.terms-reader-help { margin: 14px 0 0; color: #64748b; font-size: 13px; }
.terms-reader-help a { color: #087d51; text-decoration: underline; text-underline-offset: 3px; }
.terms-contact { display: flex; justify-content: space-between; gap: 16px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 14px; color: #526278; }
.terms-contact a { color: #087d51; font-weight: 600; }
.terms-reader:fullscreen { display: flex; flex-direction: column; border: 0; border-radius: 0; }
.terms-reader:fullscreen .terms-pdf { flex: 1; height: auto; min-height: 0; }
.terms-content [hidden] { display: none !important; }
@media (max-width: 1000px) {
    .terms-choices { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
    .terms-hero { padding-top: 36px; }
    .terms-choices { grid-template-columns: 1fr; gap: 10px; margin-bottom: 20px; }
    .terms-choice { padding: 16px; gap: 12px; }
    .terms-choice-copy strong { font-size: 16px; }
    .terms-toolbar { position: relative; align-items: flex-start; flex-direction: column; gap: 14px; padding: 16px; }
    .terms-document-heading { padding-right: 44px; }
    .terms-document-actions { width: 100%; }
    .terms-document-actions .button { flex: 1; }
    .terms-expand { position: absolute; top: 16px; right: 16px; }
    .terms-pdf { height: 65vh; min-height: 420px; }
    .terms-contact { flex-direction: column; gap: 6px; }
}
