:root {
    color-scheme: dark;
    --background: #09090c;
    --surface: #111115;
    --text: #f4f4f7;
    --muted: #aaaab5;
    --line: #292930;
    --cyan: #39e3dc;
    --pink: #ff5098;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--background); color: var(--text); font: 15px/1.75 "Segoe UI", Arial, sans-serif; letter-spacing: 0; }
a { color: var(--cyan); text-underline-offset: 4px; overflow-wrap: anywhere; }
a:hover { color: #fff; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--cyan); outline-offset: 5px; }
.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.topbar { position: sticky; top: 0; z-index: 2; background: var(--background); border-bottom: 1px solid var(--line); }
.topbar-inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; font-size: 17px; font-weight: 800; }
.brand img { object-fit: contain; }
.brand small { font-size: 11px; color: var(--muted); }
.whatsapp-link { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; padding: 9px 18px; border: 1px solid #39e3dc80; border-radius: 6px; color: var(--text); font-family: inherit; font-size: 14px; font-weight: 600; line-height: 1.3; text-decoration: none; white-space: nowrap; background: #39e3dc0a; }
.whatsapp-link span { color: var(--cyan); }
.whatsapp-link:hover { border-color: var(--cyan); background: #39e3dc1a; }
.document-heading { padding: 44px 0 30px; border-bottom: 1px solid var(--line); }
.eyebrow { margin: 0 0 8px; color: var(--cyan); font-size: 12px; font-weight: 700; }
h1 { margin: 0 0 16px; font-size: 38px; line-height: 1.2; overflow-wrap: anywhere; }
.document-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; color: var(--muted); font-size: 13px; }
.document-meta > span:first-child { color: var(--pink); }
.document-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 48px; align-items: start; padding-block: 32px 48px; }
.contents { position: sticky; top: 98px; max-height: calc(100dvh - 125px); overflow-y: auto; scrollbar-width: thin; padding-right: 16px; }
.contents summary { color: var(--text); font-size: 13px; font-weight: 700; cursor: pointer; }
.contents ol { list-style: none; padding: 0; margin: 14px 0 0; }
.contents li + li { margin-top: 4px; }
.contents a { display: grid; grid-template-columns: 23px minmax(0, 1fr); gap: 7px; padding: 7px 8px; border-left: 2px solid transparent; text-decoration: none; color: var(--muted); font-size: 11px; line-height: 1.5; }
.contents a span:first-child { color: var(--pink); font-variant-numeric: tabular-nums; }
.contents a:hover { color: var(--cyan); }
.contents a[aria-current="location"] { color: #bef38b; border-left-color: #bef38b; background: #bef38b12; }
.contents a[aria-current="location"] span:first-child { color: #bef38b; }
.document { min-width: 0; max-width: 810px; }
.legal-section { padding: 0 0 26px; margin-bottom: 28px; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.legal-section:last-child { margin-bottom: 0; }
.legal-section h2 { margin: 0 0 18px; font-size: 19px; line-height: 1.45; }
.legal-section h2 span { color: var(--cyan); }
.legal-section h3 { margin: 26px 0 12px; color: var(--text); font-size: 17px; line-height: 1.5; }
.legal-section p { color: #d0d0d8; margin: 0 0 14px; }
.legal-section ul { margin: 0 0 18px; padding-left: 22px; color: #d0d0d8; }
.legal-section li { padding-left: 4px; margin-bottom: 8px; }
.legal-section li::marker { color: var(--pink); }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 25px 32px; border-top: 1px solid var(--line); font-size: 13px; font-weight: 700; }
.footer small { display: block; color: var(--muted); font-size: 12px; font-weight: 400; }
.footer a { flex-shrink: 0; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 10; padding: 10px; background: var(--surface); }
.skip-link:focus { top: 10px; }
@media (max-width: 850px) {
    .document-layout { grid-template-columns: 1fr; gap: 28px; }
    .contents { position: static; max-height: 240px; padding: 16px 0; border-bottom: 1px solid var(--line); }
    .contents ol { columns: 2; column-gap: 24px; }
    .contents li { break-inside: avoid; }
}
@media (max-width: 540px) {
    .container { width: calc(100% - 32px); }
    .topbar-inner { min-height: 64px; }
    .brand { font-size: 14px; gap: 8px; }
    .brand small { display: block; }
    .whatsapp-link { font-size: 13px; padding-inline: 12px; gap: 8px; }
    .document-heading { padding-top: 30px; }
    h1 { font-size: 30px; }
    .contents ol { columns: 1; }
    .legal-section h2 { font-size: 18px; }
    .footer { align-items: flex-start; flex-direction: column; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
    :root { color-scheme: light; }
    body { background: #fff; color: #000; font-size: 11pt; }
    .topbar, .contents, .skip-link, .footer { display: none; }
    .container { width: 100%; }
    .document-layout { display: block; padding-top: 20px; }
    .document { max-width: none; }
    .document-heading { padding-top: 0; }
    .legal-section p, .legal-section ul, .legal-section h3, a, .document-meta { color: #222; }
    h2, h3 { break-after: avoid; }
}
