:root {
    /* Paleta alinhada ao tema escuro do painel NexAgent */
    --black: #111D28;
    --navy: #0C1620;
    --panel: #1E2F42;
    --gold: #C8922A;
    --gold-light: #E6AE42;
    --white: #E8EDF2;
    --muted: #7A8FA0;
    --line: #243347;

    /* Variáveis criadas para facilitar a troca de cor no tema claro */
    --header-bg: rgba(17, 29, 40, .72);
    --note-text: #5A7086;
    --footer-text: #8CA0B3;

    /* Texto sobre fundo dourado sólido: sempre escuro, nos dois temas
       (--black/--white trocam de papel no tema claro, então não servem aqui) */
    --on-gold: #1A2635;
}

/* =========================================
   TEMA CLARO (Ativado via clique no JS)
   ========================================= */
body.light-theme {
    /* Paleta alinhada ao tema claro do painel NexAgent */
    --black: #EDF3F8; /* O fundo vira claro */
    --white: #1A2635; /* O texto vira escuro */
    --navy: #DCE8F2;
    --panel: #FFFFFF; /* Fundo dos painéis branco */
    --muted: #546E7A; /* Textos secundários mais escuros */
    --line: #CAD8E4;
    --header-bg: rgba(237, 243, 248, .85); /* Header fica claro */
    --note-text: #546E7A;
    --footer-text: #3E5666;
}

/* Transições suaves ao trocar de tema */
body, .site-header, .visual-badge, .nav-contact, .quick-links a {
    transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}

* {
    box-sizing: border-box
}

html {
    background: var(--black)
}

body {
    margin: 0;
    background: var(--black);
    color: var(--white);
    font-family: Inter, Arial, sans-serif;
    line-height: 1.5
}

.container {
    width: min(1160px, calc(100% - 48px));
    margin: auto
}

.site-header {
    border-bottom: 1px solid var(--line);
    position: relative;
    z-index: 5;
    background: var(--header-bg); /* Alterado para usar variável */
    backdrop-filter: blur(14px)
}

.nav-wrap {
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-weight: 800;
    letter-spacing: -1px;
    font-size: 23px;
    text-decoration: none
}

.brand img {
    height: 73px;
    width: 73px;
    object-fit: cover;
    border-radius: 9px
}

.brand span span {
    color: var(--gold)
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 34px
}

.main-nav a {
    color: var(--muted);
    font-size: 14px;
    text-decoration: none;
    transition: color .25s ease
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--white)
}

.main-nav a.active {
    position: relative
}

.main-nav a.active:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -31px;
    height: 2px;
    background: var(--gold)
}

.nav-contact {
    border: 1px solid var(--gold);
    color: var(--white) !important;
    border-radius: 5px;
    padding: 13px 18px;
    transition: background .25s, transform .25s, box-shadow .25s
}

.nav-contact:hover {
    background: var(--gold);
    color: var(--on-gold) !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(200, 146, 42, .2)
}

.nav-contact span {
    color: var(--gold);
    margin-left: 12px
}

.nav-contact:hover span {
    color: var(--on-gold)
}

/* Botão de Alternar Tema (Moon/Sun) */
.theme-toggle {
    background: transparent;
    border: 1px solid var(--line);
    color: var(--white);
    border-radius: 5px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.25s ease;
}

.theme-toggle:hover {
    background: var(--line);
    transform: translateY(-2px);
}

.theme-toggle .icon-sun {
    display: block;
}

.theme-toggle .icon-moon {
    display: none;
}

body.light-theme .theme-toggle .icon-sun {
    display: none;
}

body.light-theme .theme-toggle .icon-moon {
    display: block;
}

.menu-toggle {
    display: none;
    background: transparent;
    border: 0;
    color: var(--white);
    font-size: 24px
}

.hero {
    min-height: 620px;
    display: grid;
    grid-template-columns: 47% 53%;
    align-items: center;
    padding-top: 35px;
    padding-bottom: 28px;
    overflow: hidden
}

.eyebrow {
    color: var(--gold);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px
}

.eyebrow i {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--gold)
}

h1 {
    font-size: clamp(45px, 5vw, 72px);
    line-height: 1.03;
    letter-spacing: -3px;
    margin: 25px 0 24px;
    font-weight: 700
}

h1 strong {
    color: var(--gold)
}

.hero-text {
    color: var(--muted);
    font-size: 17px;
    max-width: 480px;
    line-height: 1.7
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 27px;
    margin-top: 35px
}

.button {
    display: inline-flex;
    align-items: center;
    gap: 27px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    border-radius: 5px;
    padding: 17px 20px;
    transition: transform .25s, box-shadow .25s, background .25s
}

.button-primary {
    background: var(--gold);
    color: var(--on-gold);
    box-shadow: 0 9px 25px rgba(200, 146, 42, .15)
}

.button-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(200, 146, 42, .28);
    background: #ffc52b
}

.button span {
    font-size: 21px;
    line-height: 0
}

.text-link {
    color: var(--white);
    font-size: 14px;
    text-decoration: none;
    transition: color .25s
}

.text-link span {
    color: var(--gold);
    margin-left: 8px
}

.text-link:hover {
    color: var(--gold)
}

.hero-note {
    display: flex;
    align-items: center;
    gap: 18px;
    color: var(--note-text); /* Alterado para usar variável */
    font-size: 12px;
    margin-top: 53px
}

.note-line {
    width: 34px;
    height: 1px;
    background: var(--gold)
}

.hero-visual {
    height: 620px;
    position: relative;
    isolation: isolate
}

.hero-image {
    z-index: 2;
    position: absolute;
    height: 620px;
    width: auto;
    max-width: none;
    right: -15px;
    bottom: 0;
    object-fit: contain;
    filter: drop-shadow(0 25px 30px rgba(0, 0, 0, .4))
}

.phone-image {
    position: absolute;
    width: 235px;
    height: 235px;
    object-fit: cover;
    object-position: center;
    border-radius: 24px;
    left: 0;
    bottom: 90px;
    filter: drop-shadow(0 18px 22px rgba(0, 0, 0, .6));
    z-index: 2
}

.visual-badge {
    position: absolute;
    left: 40px;
    bottom: 62px;
    background: var(--panel);
    border-left: 3px solid var(--gold);
    padding: 12px 18px 12px 19px;
    display: grid;
    grid-template-columns: 10px auto;
    column-gap: 10px;
    line-height: 1.2
}

.visual-badge strong {
    font-size: 14px
}

.visual-badge small {
    grid-column: 2;
    color: var(--muted);
    font-size: 11px
}

.badge-dot {
    width: 7px;
    height: 7px;
    background: var(--gold);
    border-radius: 50%;
    margin-top: 4px
}

.quick-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line)
}

.quick-links a {
    position: relative;
    display: grid;
    grid-template-columns: 45px 1fr 25px;
    padding: 24px 28px 25px 28px;
    border-right: 1px solid var(--line);
    color: var(--white);
    text-decoration: none;
    transition: background .25s, transform .25s
}

.quick-links a:first-child {
    border-left: 0
}

.quick-links a:last-child {
    border-right: 0
}

.quick-links a:hover {
    background: rgba(200, 146, 42, .06);
    transform: translateY(-3px)
}

.quick-links span {
    color: var(--gold);
    font-size: 12px;
    font-weight: 700
}

.quick-links strong {
    font-size: 16px
}

.quick-links small {
    grid-column: 2;
    color: var(--muted);
    font-size: 12px
}

.quick-links b {
    grid-column: 3;
    grid-row: 1 / span 2;
    color: var(--gold);
    font-size: 18px;
    text-align: right
}

.site-footer {
    padding: 21px 0;
    color: var(--footer-text); /* Alterado para usar variável */
    font-size: 12px
}

.site-footer .container {
    display: flex;
    justify-content: space-between
}

@media(max-width:820px) {
    .container {
        width: min(100% - 32px, 600px)
    }

    .nav-wrap {
        height: 74px
    }

    .menu-toggle {
        display: block
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 74px;
        left: 0;
        right: 0;
        padding: 18px 24px 24px;
        background: var(--black);
        border-bottom: 1px solid var(--line);
        flex-direction: column;
        align-items: stretch;
        gap: 18px
    }

    .main-nav.open {
        display: flex
    }
    
    .theme-toggle {
        width: 100%;
    }

    .main-nav a.active:after {
        display: none
    }

    .nav-contact {
        text-align: center
    }

    .hero {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        padding-top: 45px
    }

    .hero-copy {
        position: relative;
        z-index: 2
    }

    .hero-visual {
        height: 470px;
        margin-top: 12px
    }

    .hero-image {
        z-index: 2;
        height: 470px;
        right: -50px
    }

    .phone-image {
        width: 165px;
        height: 165px;
        left: 0;
        bottom: 45px
    }

    .visual-badge {
        left: 25px;
        bottom: 22px
    }

    .quick-links {
        display: block
    }

    .quick-links a {
        border-right: 0;
        border-bottom: 1px solid var(--line);
        padding-left: 0;
        padding-right: 0
    }

    .quick-links a:last-child {
        border-bottom: 0
    }

    .site-footer .container {
        gap: 14px;
        align-items: flex-start;
        flex-direction: column
    }
}

@media(max-width:480px) {
    h1 {
        font-size: 49px;
        letter-spacing: -2px
    }

    .hero-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px
    }

    .button {
        width: 100%;
        justify-content: space-between
    }

    .hero-visual {
        height: 390px
    }

    .hero-image {
        z-index: 2;
        height: 390px;
        right: -72px
    }

    .phone-image {
        width: 130px;
        height: 130px;
        bottom: 30px
    }

}
/* ============================================================
   NEXAGENT — seções adicionadas à home
   ============================================================ */

.nx-section {
    padding: 90px 0;
}

.nx-section--alt {
    background: var(--panel);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.nx-h2 {
    font-size: clamp(30px, 3.4vw, 42px);
    line-height: 1.15;
    letter-spacing: -1.2px;
    font-weight: 700;
    margin: 20px 0 0;
    max-width: 640px;
}

.nx-br {
    display: inline;
}

/* ── Grid de recursos ── */
.nx-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 48px;
}

.nx-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 28px 26px;
    transition: transform .25s ease, border-color .25s ease;
}

.nx-card:hover {
    transform: translateY(-4px);
    border-color: rgba(200, 146, 42, .4);
}

.nx-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 9px;
    background: rgba(200, 146, 42, .12);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.nx-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 8px;
    letter-spacing: -.2px;
}

.nx-card p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* ── Como funciona ── */
.nx-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-top: 48px;
}

.nx-step {
    position: relative;
    padding-top: 8px;
}

.nx-step-num {
    display: block;
    font-size: 13px;
    font-weight: 800;
    color: var(--gold);
    letter-spacing: 1px;
    margin-bottom: 14px;
}

.nx-step h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 8px;
    letter-spacing: -.2px;
}

.nx-step p {
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.65;
    margin: 0;
}

/* ── Case ADVAS ── */
.nx-case {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 56px;
    align-items: center;
}

.nx-case-text {
    color: var(--muted);
    font-size: 15.5px;
    line-height: 1.75;
    margin: 22px 0 26px;
    max-width: 540px;
}

.nx-case-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.nx-case-list li {
    position: relative;
    padding-left: 28px;
    font-size: 14px;
    color: var(--white);
}

.nx-case-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 14px;
    height: 14px;
    border-radius: 4px;
    background: rgba(200, 146, 42, .15);
    border: 1px solid var(--gold);
}

.nx-case-list li::after {
    content: "";
    position: absolute;
    left: 4.5px;
    top: 9px;
    width: 5px;
    height: 8px;
    border-right: 2px solid var(--gold);
    border-bottom: 2px solid var(--gold);
    transform: rotate(45deg);
}

.nx-case-visual {
    height: 400px;
    position: relative;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--panel);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.nx-case-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 20%, rgba(200, 146, 42, .16), transparent 60%);
    pointer-events: none;
}

.nx-chat {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 20px 20px 6px;
}

.nx-chat-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--line);
}

.nx-chat-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
    flex-shrink: 0;
}

.nx-chat-head strong {
    display: block;
    font-size: 13px;
}

.nx-chat-head small {
    display: block;
    color: var(--muted);
    font-size: 11px;
    margin-top: 1px;
}

.nx-chat-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    min-height: 0;
}

.nx-msg {
    max-width: 80%;
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 12.5px;
    line-height: 1.45;
    opacity: 0;
}

.nx-msg-tag {
    display: block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    opacity: .75;
    margin-bottom: 3px;
}

.nx-msg--client {
    align-self: flex-start;
    background: var(--line);
    color: var(--white);
    border-bottom-left-radius: 3px;
    animation: nxMsgClient 9s ease-in-out infinite;
}

.nx-msg--ia {
    align-self: flex-end;
    background: var(--gold);
    color: var(--on-gold);
    font-weight: 600;
    border-bottom-right-radius: 3px;
    animation: nxMsgIa 9s ease-in-out infinite;
}

.nx-msg--system {
    align-self: center;
    background: transparent;
    color: var(--muted);
    font-size: 11px;
    padding: 5px 12px;
    border: 1px dashed var(--line);
    border-radius: 20px;
    animation: nxMsgSystem 9s ease-in-out infinite;
}

.nx-msg--human {
    align-self: flex-end;
    background: var(--panel);
    border: 1px solid var(--gold);
    color: var(--white);
    border-bottom-right-radius: 3px;
    animation: nxMsgHuman 9s ease-in-out infinite;
}

@keyframes nxMsgClient {
    0%, 3%    { opacity: 0; transform: translateY(8px); }
    9%, 50%   { opacity: 1; transform: translateY(0); }
    56%, 100% { opacity: 0; transform: translateY(-6px); }
}

@keyframes nxMsgIa {
    0%, 21%   { opacity: 0; transform: translateY(8px); }
    27%, 78%  { opacity: 1; transform: translateY(0); }
    84%, 100% { opacity: 0; transform: translateY(-6px); }
}

@keyframes nxMsgSystem {
    0%, 37%   { opacity: 0; }
    42%, 78%  { opacity: 1; }
    84%, 100% { opacity: 0; }
}

@keyframes nxMsgHuman {
    0%, 52%   { opacity: 0; transform: translateY(8px); }
    58%, 90%  { opacity: 1; transform: translateY(0); }
    96%, 100% { opacity: 0; transform: translateY(-6px); }
}

@media (prefers-reduced-motion: reduce) {
    .nx-msg {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

.nx-case-badge {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 10px auto;
    column-gap: 10px;
    align-items: start;
    background: var(--black);
    border-left: 3px solid var(--gold);
    padding: 14px 18px;
    width: 100%;
}

.nx-case-badge .badge-dot {
    margin-top: 5px;
}

.nx-case-badge strong {
    display: block;
    font-size: 14px;
}

.nx-case-badge small {
    display: block;
    color: var(--muted);
    font-size: 11px;
    margin-top: 2px;
}

/* ── CTA final ── */
.nx-cta {
    padding: 90px 0;
    border-top: 1px solid var(--line);
}

.nx-cta-inner {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nx-cta-inner .nx-h2 {
    max-width: 620px;
}

.nx-cta-inner .hero-text {
    max-width: 480px;
    text-align: center;
    margin: 18px 0 32px;
}

/* ── Responsivo ── */
@media (max-width: 980px) {
    .nx-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .nx-steps {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 34px;
    }
    .nx-case {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .nx-case-visual {
        order: -1;
        height: 380px;
    }
}

@media (max-width: 640px) {
    .nx-section {
        padding: 60px 0;
    }
    .nx-grid {
        grid-template-columns: 1fr;
    }
    .nx-steps {
        grid-template-columns: 1fr;
    }
    .nx-cta {
        padding: 60px 0;
    }
}

/* ============================================================
   PÁGINAS LEGAIS (Termos de Uso / Política de Privacidade)
   ============================================================ */

.legal-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    z-index: 50;
    transition: width .12s linear;
}

.legal-wrap {
    padding: 56px 0 110px;
    position: relative;
}

.legal-header {
    max-width: 820px;
    margin: 0 auto 30px;
    position: relative;
    animation: legalRise .6s cubic-bezier(.16,1,.3,1) both;
}

.legal-header::before {
    content: "";
    position: absolute;
    top: -70px;
    right: -120px;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(200,146,42,.20), transparent 70%);
    z-index: -1;
    pointer-events: none;
}

.legal-header h1 {
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.12;
    letter-spacing: -1.2px;
    font-weight: 700;
    margin: 18px 0 12px;
}

.legal-updated {
    color: var(--muted);
    font-size: 13px;
}

.legal-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.legal-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    padding: 7px 14px;
    border: 1px solid var(--line);
    border-radius: 20px;
    color: var(--muted);
    background: var(--panel);
}

.legal-chip i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    flex-shrink: 0;
}

.legal-layout {
    max-width: 1040px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 230px 1fr;
    gap: 60px;
    align-items: start;
}

.legal-sidebar {
    position: sticky;
    top: 108px;
    animation: legalRise .6s .1s cubic-bezier(.16,1,.3,1) both;
}

.legal-toc-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 14px;
}

.legal-toc {
    display: flex;
    flex-direction: column;
    border-left: 1px solid var(--line);
}

.legal-toc a {
    color: var(--muted);
    text-decoration: none;
    font-size: 13px;
    line-height: 1.4;
    padding: 7px 0 7px 16px;
    margin-left: -1px;
    border-left: 2px solid transparent;
    transition: color .2s ease, border-color .2s ease;
}

.legal-toc a:hover {
    color: var(--white);
}

.legal-toc a.is-active {
    color: var(--gold);
    border-left-color: var(--gold);
}

.legal-body {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.8;
    min-width: 0;
}

.legal-body > p:first-child {
    margin-top: 0;
}

.legal-body p {
    margin: 0 0 14px;
}

.legal-body ul,
.legal-body ol {
    margin: 0 0 14px;
    padding-left: 22px;
}

.legal-body li {
    margin: 0 0 8px;
}

.legal-body strong {
    color: var(--white);
}

.legal-body a {
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-section {
    padding-top: 6px;
    margin-bottom: 46px;
    scroll-margin-top: 100px;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .6s ease, transform .6s ease;
}

.legal-section.is-visible {
    opacity: 1;
    transform: none;
}

.legal-section:last-of-type {
    margin-bottom: 0;
}

.legal-section-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.legal-num {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: var(--panel);
    border: 1px solid var(--line);
    color: var(--gold);
    font-size: 12.5px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.legal-section-head h2 {
    color: var(--white);
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -.3px;
    margin: 0;
}

.legal-note {
    max-width: 1040px;
    margin: 20px auto 0;
    padding: 18px 20px;
    border: 1px dashed var(--line);
    border-radius: 10px;
    font-size: 13px;
    color: var(--muted);
}

.legal-note strong {
    color: var(--white);
}

@keyframes legalRise {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    .legal-header,
    .legal-sidebar,
    .legal-section {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

@media (max-width: 900px) {
    .legal-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .legal-sidebar {
        position: static;
        order: 2;
    }
    .legal-toc {
        flex-direction: row;
        flex-wrap: wrap;
        border-left: 0;
        gap: 6px 16px;
        padding: 16px 18px;
        background: var(--panel);
        border: 1px solid var(--line);
        border-radius: 10px;
    }
    .legal-toc a {
        padding: 2px 0;
        border-left: 0;
    }
    .legal-toc a.is-active {
        border-left: 0;
        text-decoration: underline;
    }
    .legal-toc-label {
        margin-bottom: 8px;
    }
}
