:root {
    --ink: #0f172a;
    --muted: rgba(28,28,28,.68);
    --card: #ffffff;
    --soft: #f6f7f8;
    --border: rgba(28,28,28,.10);
    --shadow: 0 18px 50px rgba(28,28,28,.12);
    --radius: 18px;
    --focus: 0 0 0 .25rem rgba(254,205,7,.35);
}

body {
    color: var(--ink);
    background: #fff;
}

a {
    color: var(--brand-red);
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

    .skip-link:focus {
        position: static;
        width: auto;
        height: auto;
        padding: .5rem .75rem;
        background: var(--brand-yellow);
        color: var(--brand-dark);
        border-radius: .5rem;
        box-shadow: var(--focus);
        display: inline-block;
        margin: .75rem;
    }

.brand-navbar {
    background: rgba(255,255,255,.88);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: radial-gradient(120% 120% at 30% 25%, rgba(255,255,255,.35) 0%, rgba(255,255,255,0) 55%), linear-gradient(135deg, var(--brand-red), #ff4a50);
    box-shadow: 0 10px 24px rgba(222,31,38,.18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.tc-hero {
    padding: clamp(2.25rem, 4vw, 3.25rem) 0;
    background: radial-gradient(1000px 520px at 10% 10%, rgba(254,205,7,.22) 0%, rgba(254,205,7,0) 60%), radial-gradient(900px 520px at 85% 20%, rgba(147,168,172,.22) 0%, rgba(147,168,172,0) 60%), linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
    border-bottom: 1px solid var(--border);
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .35rem .75rem;
    border-radius: 999px;
    background: rgba(254,205,7,.18);
    border: 1px solid rgba(254,205,7,.35);
    color: var(--brand-dark);
    font-weight: 600;
    font-size: .9rem;
}

.policy-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--card);
    box-shadow: var(--shadow);
}

.toc a {
    text-decoration: none;
    color: var(--brand-dark);
}

    .toc a:hover {
        color: var(--brand-red);
        text-decoration: underline;
    }

.section-title {
    scroll-margin-top: 110px;
    padding-top: 2rem;
}

.badge-brand {
    background: rgba(222,31,38,.10);
    color: var(--brand-red);
    border: 1px solid rgba(222,31,38,.18);
    font-weight: 700;
}

.badge-soft {
    background: rgba(147,168,172,.18);
    color: #2a3b3e;
    border: 1px solid rgba(147,168,172,.28);
    font-weight: 700;
}

.callout {
    border-radius: 16px;
    border: 1px solid rgba(254,205,7,.45);
    background: rgba(254,205,7,.12);
    padding: 1rem;
}

.list-tight > li {
    margin-bottom: .35rem;
}

.mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

/* Accessible focus */
.btn:focus, .form-control:focus, button:focus, .accordion-button:focus {
    box-shadow: var(--focus) !important;
}

/* Small polish */
.icon-chip {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(28,28,28,.04);
    border: 1px solid var(--border);
    color: var(--brand-dark);
}

footer {
    border-top: 1px solid var(--border);
    background: #fff;
}


.toc {
    position: sticky;
    top: 24px;
}

    .toc ol {
        margin: 0;
        padding-left: 18px;
    }

    .toc li + li {
        margin-top: 8px;
    }

    .toc a {
        color: var(--brand-dark);
        text-decoration: none;
    }

        .toc a:hover {
            color: var(--brand-red);
        }




@media (max-width: 991.98px) {
    .toc {
        position: static;
        margin-bottom: 1.5rem;
    }

        .toc ol {
            padding-left: 1.1rem;
        }

        .toc li + li {
            margin-top: 10px;
        }

        .toc a {
            display: block;
            padding: .2rem 0;
        }
}

@media (max-width: 575.98px) {
    .tc-hero {
        padding: 1.75rem 0;
    }

    .policy-card {
        border-radius: 14px;
    }

    .kicker {
        font-size: .82rem;
        padding: .3rem .65rem;
    }

    .icon-chip {
        width: 36px;
        height: 36px;
        border-radius: 12px;
    }
}
