/* ==========================================================================
   XControle - Landing page
   Cores da marca: menta #73FFDC · verde-limão #80FF00 · azul-marinho #0F172A · cinza #EEEEEE
   ========================================================================== */
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 400; src: url(../fonts/inter-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 500; src: url(../fonts/inter-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 600; src: url(../fonts/inter-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 700; src: url(../fonts/inter-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Exo 2'; font-style: normal; font-display: swap; font-weight: 600; src: url(../fonts/exo-2-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Exo 2'; font-style: normal; font-display: swap; font-weight: 700; src: url(../fonts/exo-2-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Exo 2'; font-style: normal; font-display: swap; font-weight: 800; src: url(../fonts/exo-2-latin-800-normal.woff2) format('woff2'); }

:root {
    --mint: #73ffdc;
    --lime: #80ff00;
    --navy: #0f172a;
    --navy-2: #16213a;
    --navy-3: #1e2a47;
    --gray: #eeeeee;
    --bg: #ffffff;
    --bg-soft: #f3f5f8;
    --text: #0f172a;
    --muted: #5b6b82;
    --border: #e5e9f0;
    --mint-dark: #0b8f72;
    --gradient: linear-gradient(135deg, var(--mint) 0%, var(--lime) 100%);
    --radius: 18px;
    --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px rgba(15, 23, 42, .06);
    --shadow-lg: 0 30px 70px rgba(2, 6, 23, .35);
    --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --font-brand: 'Exo 2', 'Inter', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--mint-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--font-brand); line-height: 1.15; margin: 0 0 .6rem; letter-spacing: -.01em; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1rem; }
.ico { width: 1.15em; height: 1.15em; flex: none; display: inline-block; vertical-align: -.2em; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.text-gradient { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; border-radius: 6px; }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .7rem 1.2rem; border-radius: 12px; font-weight: 600; font-size: .95rem; border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; text-decoration: none !important; white-space: nowrap; }
.btn-lg { padding: .9rem 1.5rem; font-size: 1.02rem; border-radius: 14px; }
.btn-sm { padding: .5rem .95rem; font-size: .9rem; }
.btn-block { width: 100%; }
.btn-gradient { background: var(--gradient); color: var(--navy); box-shadow: 0 8px 24px rgba(115, 255, 220, .25); }
.btn-gradient:hover { transform: translateY(-1px); box-shadow: 0 12px 30px rgba(128, 255, 0, .3); }
.btn-ghost { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .18); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }

/* Navegação */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .2s ease, box-shadow .2s ease; }
.nav.scrolled { background: rgba(15, 23, 42, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: #fff; text-decoration: none !important; }
.brand img { width: 32px; height: auto; }
.brand span { font-family: var(--font-brand); font-weight: 800; letter-spacing: .08em; font-size: 1.2rem; }
.nav-links { display: flex; align-items: center; gap: 1.6rem; }
.nav-links a { color: rgba(255, 255, 255, .78); font-weight: 500; font-size: .95rem; }
.nav-links a:hover { color: #fff; text-decoration: none; }
.nav-links .nav-cta { color: var(--navy); }
.nav-toggle { display: none; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; font-size: 1.5rem; }

/* Hero */
.hero { position: relative; background: var(--navy); color: #fff; padding: 132px 0 90px; overflow: hidden; }
.hero-glow { position: absolute; inset: 0; background:
    radial-gradient(600px 400px at 85% 10%, rgba(115, 255, 220, .18), transparent 70%),
    radial-gradient(500px 400px at 5% 100%, rgba(128, 255, 0, .14), transparent 70%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .85rem; border-radius: 999px; background: rgba(115, 255, 220, .1); border: 1px solid rgba(115, 255, 220, .25); color: var(--mint); font-size: .85rem; font-weight: 600; margin-bottom: 1.4rem; }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(128, 255, 0, .2); }
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); font-weight: 800; margin-bottom: 1.2rem; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: rgba(255, 255, 255, .78); max-width: 560px; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.8rem; }
.hero-checks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; color: rgba(255, 255, 255, .75); font-size: .92rem; }
.hero-checks li { display: inline-flex; align-items: center; gap: .4rem; }
.hero-checks .ico { color: var(--lime); }
.hero-shot { position: relative; }
.hero-shot .browser { transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); transform-origin: left center; }
.hero-shot .browser img { max-height: 520px; object-fit: cover; object-position: top left; width: 100%; }

.browser { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, .1); }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #e9edf3; border-bottom: 1px solid var(--border); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; }
.browser-bar i:nth-child(1) { background: #ff6b6b; } .browser-bar i:nth-child(2) { background: #ffc94d; } .browser-bar i:nth-child(3) { background: #4ade80; }
.browser-bar span { margin-left: 10px; font-size: .75rem; color: var(--muted); background: #fff; padding: 2px 12px; border-radius: 6px; flex: 1; max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.float-card { position: absolute; display: flex; align-items: center; gap: .75rem; background: #fff; color: var(--text); padding: .8rem 1rem; border-radius: 14px; box-shadow: 0 18px 40px rgba(2, 6, 23, .3); font-size: .85rem; line-height: 1.3; animation: float 6s ease-in-out infinite; }
.float-card strong { display: block; font-size: .9rem; }
.float-card small { color: var(--muted); }
.fc-1 { left: -36px; bottom: 40px; }
.fc-2 { right: -14px; top: 26px; animation-delay: -3s; }
.fc-ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; }
.fc-ico.ok { background: rgba(128, 255, 0, .2); color: #3f9c00; }
.fc-ico.wa { background: rgba(115, 255, 220, .3); color: var(--mint-dark); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Segmentos */
.segments { background: var(--navy-2); color: rgba(255, 255, 255, .7); padding: 26px 0; border-top: 1px solid rgba(255, 255, 255, .06); }
.segments .container { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; justify-content: center; }
.segments p { margin: 0; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; color: var(--mint); font-weight: 600; }
.segments ul { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0; justify-content: center; }
.segments li { padding: .35rem .85rem; border: 1px solid rgba(255, 255, 255, .12); border-radius: 999px; font-size: .9rem; }

/* Seções */
.section { padding: 96px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.section-dark::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 400px at 100% 0, rgba(115, 255, 220, .1), transparent 70%); pointer-events: none; }
.section-dark .container { position: relative; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head.left { text-align: left; margin: 0; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section-dark .section-head p, .section-dark p { color: rgba(255, 255, 255, .72); }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mint-dark); margin-bottom: .8rem; }
.section-dark .eyebrow { color: var(--mint); }

/* Comparativo */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 980px; margin: 0 auto; }
.compare-col { border-radius: var(--radius); padding: 32px; }
.compare-col h3 { margin-bottom: 1.2rem; }
.compare-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .85rem; }
.compare-col li { display: flex; gap: .7rem; align-items: flex-start; }
.compare-col li .ico { margin-top: .2rem; }
.before { background: var(--bg-soft); border: 1px solid var(--border); color: var(--muted); }
.before .ico { color: #ef4444; }
.after { background: var(--navy); color: #fff; box-shadow: var(--shadow-lg); }
.after .ico { color: var(--lime); }

/* Régua */
.timeline { list-style: none; padding: 0; margin: 0 0 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 12%; right: 12%; top: 46px; height: 3px; background: linear-gradient(90deg, var(--mint), #f59e0b, #ef4444, var(--lime)); border-radius: 3px; transform: scaleX(0); transform-origin: left; transition: transform 1.4s ease; }
.timeline.in::before { transform: scaleX(1); }
.tl-step { text-align: center; padding: 0 8px; opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.timeline.in .tl-step { opacity: 1; transform: none; }
.timeline.in .tl-step:nth-child(2) { transition-delay: .3s; }
.timeline.in .tl-step:nth-child(3) { transition-delay: .6s; }
.timeline.in .tl-step:nth-child(4) { transition-delay: .9s; }
.tl-day { display: inline-block; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--c); margin-bottom: .7rem; }
.tl-dot { display: block; width: 22px; height: 22px; border-radius: 50%; background: var(--navy); border: 4px solid var(--c); margin: 0 auto 1.1rem; position: relative; z-index: 1; box-shadow: 0 0 0 6px rgba(15, 23, 42, 1), 0 0 24px var(--c); }
.tl-step p { font-size: .95rem; }
.rules { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.rule { display: flex; gap: .85rem; padding: 20px; border-radius: 16px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); }
.rule > .ico { color: var(--mint); width: 22px; height: 22px; margin-top: 2px; }
.rule strong { display: block; margin-bottom: .2rem; }
.rule span { color: rgba(255, 255, 255, .65); font-size: .9rem; line-height: 1.5; }

/* Recursos */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { padding: 26px; border-radius: var(--radius); border: 1px solid var(--border); background: #fff; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(11, 143, 114, .3); }
.feature p { color: var(--muted); font-size: .95rem; margin: 0; }
.feature-lg { grid-column: span 2; background: linear-gradient(160deg, #f6fffc 0%, #f8fff0 100%); border-color: rgba(11, 143, 114, .2); }
.feature-lg h3 { font-size: 1.35rem; }
.feature-lg p { font-size: 1.02rem; color: #334155; }
.f-ico { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: var(--gradient); color: var(--navy); margin-bottom: 1rem; }
.f-ico .ico { width: 22px; height: 22px; }

/* Telas */
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 28px; }
.tabs button { font: inherit; font-weight: 600; font-size: .92rem; padding: .55rem 1.1rem; border-radius: 999px; border: 1px solid var(--border); background: #fff; color: var(--muted); cursor: pointer; transition: all .15s ease; }
.tabs button:hover { color: var(--text); }
.tabs button[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.screen { margin: 0 auto; max-width: 1020px; }
.screen-view { max-height: 640px; overflow: auto; background: var(--bg-soft); }
.screen-view img { width: 100%; transition: opacity .25s ease; }
.screen-view img.loading { opacity: .3; }
.screen figcaption { text-align: center; color: var(--muted); margin-top: 1rem; font-size: .95rem; }

/* Diferenciais */
.diffs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.diff { padding: 28px 24px; border-radius: var(--radius); background: var(--bg-soft); position: relative; overflow: hidden; }
.diff::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--gradient); }
.diff-n { font-family: var(--font-brand); font-weight: 800; font-size: 2.2rem; line-height: 1; display: block; margin-bottom: .9rem; color: var(--mint-dark); }
.diff p { color: var(--muted); margin: 0; font-size: .95rem; }

/* Preço */
.pricing { display: grid; grid-template-columns: 1fr 420px; gap: 56px; align-items: center; }
.calc { margin-top: 2rem; padding: 24px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.calc label { font-weight: 600; display: block; margin-bottom: .8rem; }
.calc-row { display: flex; align-items: center; gap: 1rem; }
.calc-row input { flex: 1; accent-color: var(--lime); height: 6px; cursor: pointer; }
.calc-row output { font-family: var(--font-brand); font-weight: 800; font-size: 1.5rem; min-width: 70px; text-align: right; color: var(--mint); }
.calc-total { margin: 1rem 0 0; }
.calc-total strong { color: #fff; }
.price-card { background: #fff; color: var(--text); border-radius: 22px; padding: 34px; box-shadow: var(--shadow-lg); position: relative; }
.price-card::before { content: ""; position: absolute; inset: -2px; border-radius: 24px; background: var(--gradient); z-index: -1; }
.price-tag { display: inline-block; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; background: var(--navy); color: var(--mint); padding: .3rem .8rem; border-radius: 999px; }
.price { font-family: var(--font-brand); font-weight: 800; font-size: 4.2rem; line-height: 1; margin: 1.1rem 0 .3rem; }
.price small { font-size: 1.4rem; vertical-align: top; margin-right: 4px; position: relative; top: .5rem; }
.price span { font-size: 1.1rem; color: var(--muted); font-weight: 600; }
.price-plus { font-weight: 700; color: var(--mint-dark); margin-bottom: 1.4rem; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 1.6rem; display: grid; gap: .6rem; }
.price-card li { display: flex; gap: .6rem; align-items: center; }
.price-card li .ico { color: #3f9c00; }
.price-card .price-note { color: var(--muted) !important; font-size: .82rem; margin: 1rem 0 0; text-align: center; }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: start; }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { list-style: none; cursor: pointer; padding: 1.2rem 2.2rem 1.2rem 0; font-weight: 600; font-size: 1.05rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--mint-dark); transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 1.2rem; margin: 0; }

/* CTA final */
.cta { padding: 0 0 96px; }
.cta-inner { background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M0 40h40V0' fill='none' stroke='%23ffffff' stroke-opacity='.04'/%3E%3C/svg%3E"); color: #fff; border-radius: 28px; padding: 56px; display: flex; align-items: center; justify-content: space-between; gap: 32px; position: relative; overflow: hidden; }
.cta-inner::before { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -160px; background: radial-gradient(circle, rgba(128, 255, 0, .25), transparent 65%); }
.cta-inner > * { position: relative; }
.cta h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.cta p { color: rgba(255, 255, 255, .72); margin: 0; max-width: 560px; }
.cta-actions { display: flex; flex-direction: column; gap: .7rem; flex: none; }

/* Rodapé */
.footer { background: var(--navy); color: rgba(255, 255, 255, .6); padding: 36px 0; font-size: .9rem; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer p { margin: 0; }
.footer a { color: rgba(255, 255, 255, .8); }
.footer .brand img { width: 26px; }
.footer .brand span { font-size: 1rem; }

/* Animação ao rolar */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Responsivo */
@media (max-width: 1080px) {
    .features { grid-template-columns: repeat(2, 1fr); }
    .rules, .diffs { grid-template-columns: repeat(2, 1fr); }
    .pricing { grid-template-columns: 1fr; }
    .price-card { max-width: 460px; width: 100%; margin: 0 auto; }
}
@media (max-width: 900px) {
    .nav-toggle { display: block; }
    .nav-links { position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; background: rgba(15, 23, 42, .98); border-bottom: 1px solid rgba(255, 255, 255, .08); display: none; }
    .nav-links.open { display: flex; }
    .nav-links a { padding: .85rem 0; border-bottom: 1px solid rgba(255, 255, 255, .06); }
    .nav-links .nav-cta { margin-top: 1rem; border: 0; }
    .nav.menu-open { background: rgba(15, 23, 42, .98); }
    .hero { padding: 112px 0 72px; }
    .hero-grid { grid-template-columns: 1fr; gap: 48px; }
    .hero-shot .browser { transform: none; }
    .hero-shot .browser img { max-height: 380px; }
    .fc-1 { left: 8px; bottom: -22px; }
    .fc-2 { right: 8px; top: -22px; }
    .timeline { grid-template-columns: 1fr; gap: 0; padding-left: 8px; }
    .timeline::before { left: 18px; right: auto; top: 10px; bottom: 10px; width: 3px; height: auto; background: linear-gradient(180deg, var(--mint), #f59e0b, #ef4444, var(--lime)); transform: scaleY(0); transform-origin: top; }
    .timeline.in::before { transform: scaleY(1); }
    .tl-step { text-align: left; display: grid; grid-template-columns: 22px 1fr; column-gap: 20px; padding: 0 0 28px; }
    .tl-dot { grid-row: 1 / span 3; grid-column: 1; margin: 0; }
    .tl-day, .tl-step h3, .tl-step p { grid-column: 2; }
    .tl-day { margin-bottom: .3rem; }
    .compare { grid-template-columns: 1fr; }
    .faq-wrap { grid-template-columns: 1fr; gap: 24px; }
    .cta-inner { flex-direction: column; align-items: flex-start; padding: 36px 24px; }
    .cta-actions { width: 100%; }
}
@media (max-width: 600px) {
    .container { padding: 0 16px; }
    .section { padding: 72px 0; }
    .section-head { margin-bottom: 40px; }
    .features, .rules, .diffs { grid-template-columns: 1fr; }
    .feature-lg { grid-column: auto; }
    .compare-col { padding: 24px; }
    .hero-actions .btn { width: 100%; }
    .float-card { font-size: .78rem; padding: .6rem .8rem; }
    .float-card small { display: none; }
    .price-card { padding: 26px 22px; }
    .price { font-size: 3.4rem; }
    .screen-view { max-height: 460px; }
    .footer-inner { flex-direction: column; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    html { scroll-behavior: auto; }
    .reveal, .tl-step { opacity: 1; transform: none; }
    .timeline::before { transform: none; }
}

/* Páginas legais (termos e privacidade) */
.legal-page .nav { position: sticky; top: 0; }
.legal { padding: 56px 0 88px; background: var(--bg); }
.legal-inner { max-width: 820px; }
.legal h1 { font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 800; }
.legal h2 { font-size: 1.3rem; margin-top: 2.4rem; }
.legal p, .legal li { color: #334155; }
.legal ul { padding-left: 1.2rem; margin: 0 0 1rem; display: grid; gap: .45rem; }
.legal-meta { color: var(--muted) !important; font-size: .95rem; }
.legal-toc { background: var(--bg-soft); border: 1px solid var(--border); border-radius: 16px; padding: 18px 22px; margin: 1.5rem 0 1rem; }
.legal-toc ol { margin: 0; padding-left: 1.2rem; columns: 2; column-gap: 2rem; }
.legal-toc li { margin-bottom: .3rem; break-inside: avoid; }
.legal section { scroll-margin-top: 90px; }
.legal-table { border: 1px solid var(--border); border-radius: 14px; overflow: hidden; margin-bottom: 1rem; }
.legal-table > div { display: grid; grid-template-columns: 1.6fr 1fr; gap: 1rem; padding: .75rem 1rem; border-top: 1px solid var(--border); font-size: .95rem; }
.legal-table > div:first-child { border-top: 0; background: var(--bg-soft); }
@media (max-width: 600px) {
    .legal-toc ol { columns: 1; }
    .legal-table > div { grid-template-columns: 1fr; gap: .2rem; }
    .legal-page .nav .btn { padding: .45rem .8rem; }
}
