.terms-page {
    --terms-ink: #203631;
    --terms-muted: #63736f;
    --terms-accent: #23745d;
    --terms-line: #e3eae7;
    max-width: 1200px;
    margin: 32px auto;
    padding: 0 24px;
    color: var(--terms-ink);
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.75;
    overflow-wrap: anywhere;
}
.terms-page *, .terms-page *::before, .terms-page *::after { box-sizing: border-box; }
.terms-page a { text-decoration: none; }
.terms-page a:focus-visible { outline: 3px solid #389b7a; outline-offset: 4px; border-radius: 4px; }
.terms-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 230px;
    gap: 32px;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 48px;
    border-radius: 24px;
    background: radial-gradient(ellipse at 100% 0%, #265d50 0%, transparent 62%), #142f2b;
    color: #fff;
    box-shadow: 0 16px 36px -24px #183e37;
}
.terms-eyebrow { display: flex; align-items: center; gap: 9px; font-size: 10px; font-weight: 600; letter-spacing: 1.7px; color: #d2e2dc; }
.terms-dot { width: 7px; height: 7px; flex-shrink: 0; background: #a4d8bf; border-radius: 50%; }
.terms-kicker { margin: 36px 0 8px; color: #a8c9bc; font-size: 10px; letter-spacing: 2px; font-weight: 600; }
.terms-hero h1 { max-width: 570px; margin: 0; color: #fff; font-size: clamp(32px, 4.2vw, 52px); line-height: 1.13; font-weight: 650; letter-spacing: -1.8px; }
.terms-title-dot { color: #a4d8bf; }
.terms-intro { max-width: 465px; margin: 18px 0 26px; color: #c4d6cf; font-size: 14px; line-height: 1.8; }
.terms-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; font-size: 11px; color: #c5d8cf; }
.terms-meta > span { display: inline-flex; align-items: center; gap: 7px; }
.terms-meta-dot { width: 5px; height: 5px; background: #9dcbb5; border-radius: 50%; }
.terms-section-total { padding: 3px 12px; border: 1px solid #ffffff24; border-radius: 20px; }
.terms-hero-art { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 230px; }
.terms-art-ring { position: absolute; width: 220px; height: 220px; border: 1px solid #ffffff16; border-radius: 50%; box-shadow: 0 0 0 25px #ffffff04, 0 0 0 50px #ffffff03; }
.terms-document-icon { position: relative; width: 112px; padding: 16px; border: 1px solid #ffffff25; background: #ffffff07; border-radius: 18px; color: #d2e9dd; transform: rotate(6deg); }
.terms-document-icon svg { display: block; width: 100%; height: auto; }
.terms-art-label { position: relative; margin-top: 27px; font-size: 8px; letter-spacing: 1.7px; color: #9dbeb1; }
.terms-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; align-items: start; margin-top: 36px; }
.terms-sidebar { position: sticky; top: 100px; min-width: 0; }
.terms-nav { border: 1px solid var(--terms-line); border-radius: 16px; background: #fff; padding: 18px 12px 12px; }
.terms-nav-heading { display: flex; align-items: center; justify-content: space-between; padding: 0 10px 12px; font-size: 12px; font-weight: 700; border-bottom: 1px solid var(--terms-line); }
.terms-nav-count { font-size: 10px; font-weight: 500; color: var(--terms-muted); padding: 1px 7px; background: #f0f5f2; border-radius: 6px; }
.terms-nav ol { list-style: none; padding: 8px 0 0; margin: 0; max-height: calc(100vh - 220px); overflow-y: auto; scrollbar-width: thin; }
.terms-nav li { margin: 0; }
.terms-nav a { display: flex; align-items: baseline; gap: 10px; padding: 6px 10px; color: #5a6a64; border-radius: 7px; font-size: 11px; line-height: 1.6; transition: background .15s, color .15s; }
.terms-nav a > span { color: #8fa79b; font-size: 10px; font-variant-numeric: tabular-nums; }
.terms-nav a:hover, .terms-nav a:focus-visible { color: #1b654c; background: #edf5ef; }
.terms-privacy-link { display: flex; justify-content: space-between; gap: 8px; margin: 14px 10px 0; font-size: 11px; color: var(--terms-accent); }
.terms-document { min-width: 0; padding: 4px 0 0; }
.terms-section { padding: 0 0 28px; margin: 0 0 28px; border-bottom: 1px solid var(--terms-line); scroll-margin-top: 110px; }
.terms-section h2 { display: flex; align-items: baseline; gap: 13px; margin: 0 0 14px; color: var(--terms-ink); font-size: 19px; line-height: 1.45; font-weight: 650; letter-spacing: -.35px; }
.terms-section-number { flex-shrink: 0; color: var(--terms-accent); font-size: 11px; font-weight: 700; background: #eaf3ed; padding: 3px 7px; border-radius: 5px; font-variant-numeric: tabular-nums; letter-spacing: 0; }
.terms-section h3 { margin: 22px 0 10px; font-size: 14px; color: var(--terms-ink); font-weight: 650; line-height: 1.5; }
.terms-section p { margin: 0 0 13px; color: #53635d; font-size: 13px; line-height: 1.95; }
.terms-section ul { margin: 12px 0 0; padding-left: 20px; color: #53635d; font-size: 13px; }
.terms-section li { padding-left: 4px; margin-bottom: 7px; line-height: 1.85; }
.terms-section li::marker { color: #70a78c; }
.terms-section:last-of-type { padding: 24px; background: #edf4ef; border: 1px solid #dce9df; border-radius: 14px; }
.terms-section:last-of-type p:last-child { margin-bottom: 0; }
.terms-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-bottom: 16px; font-size: 10px; color: #7b8b83; }
.terms-footer p { margin: 0; }
.terms-footer a { color: var(--terms-accent); white-space: nowrap; }
@media (max-width: 1100px) {
    .terms-hero { padding: 36px; grid-template-columns: minmax(0, 1fr) 160px; }
    .terms-art-ring { width: 160px; height: 160px; }
    .terms-layout { grid-template-columns: 210px minmax(0, 1fr); gap: 26px; }
}
@media (max-width: 850px) {
    .terms-page { padding: 0 18px; margin: 24px auto; }
    .terms-layout { grid-template-columns: minmax(0, 1fr); gap: 26px; margin-top: 24px; }
    .terms-sidebar { position: static; }
    .terms-nav { padding: 14px; }
    .terms-nav-heading { padding: 0 0 10px; }
    .terms-nav ol { display: flex; gap: 6px; padding-top: 12px; max-height: none; overflow-x: auto; padding-bottom: 6px; }
    .terms-nav li { flex: 0 0 auto; }
    .terms-nav a { background: #f4f7f5; white-space: nowrap; padding: 7px 10px; }
    .terms-privacy-link { margin-top: 10px; }
}
@media (max-width: 575.98px) {
    .terms-page { margin: 16px auto; padding: 0 12px; }
    .terms-hero { display: block; padding: 28px 22px; border-radius: 18px; }
    .terms-eyebrow { font-size: 8px; letter-spacing: 1px; }
    .terms-kicker { margin-top: 28px; }
    .terms-hero h1 { font-size: 36px; letter-spacing: -1.2px; }
    .terms-intro { font-size: 12px; margin: 16px 0 22px; }
    .terms-hero-art { display: none; }
    .terms-meta { font-size: 10px; gap: 10px; }
    .terms-section { padding-bottom: 22px; margin-bottom: 22px; }
    .terms-section h2 { font-size: 17px; gap: 10px; }
    .terms-section:last-of-type { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) { .terms-nav a { transition: none; } }
@media print {
    .terms-page { max-width: none; margin: 0; padding: 0; color: #111; }
    .terms-hero { display: block; background: #fff; color: #111; padding: 0 0 24px; border-radius: 0; box-shadow: none; }
    .terms-hero h1, .terms-hero p, .terms-eyebrow, .terms-meta { color: #111; }
    .terms-hero-art, .terms-sidebar, .terms-footer a { display: none; }
    .terms-layout { display: block; }
    .terms-section h2, .terms-section h3 { break-after: avoid; }
}
