.legal-shell { width:min(100%, 1180px); margin:0 auto; padding:72px 32px 96px; }
.legal-hero { padding:0 0 48px; border-bottom:1px solid #e5e7eb; }
.legal-back { display:inline-flex; margin-bottom:32px; color:#6d6be6; font-size:14px; font-weight:700; text-decoration:none; }
.legal-back:hover { opacity:.75; }
.legal-kicker { margin:0 0 12px; color:#6d6be6; font-size:12px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; }
.legal-hero h1 { max-width:820px; margin:0; color:#0f172a; font-size:clamp(42px,6vw,72px); line-height:1.04; letter-spacing:-3px; }
.legal-description { max-width:720px; margin:24px 0 0; color:#64748b; font-size:18px; line-height:1.6; }
.legal-meta { display:flex; gap:16px; margin-top:32px; }
.legal-meta div { min-width:190px; padding:16px 18px; border:1px solid #e5e7eb; border-radius:14px; background:#f8fafc; }
.legal-meta span { display:block; margin-bottom:6px; color:#94a3b8; font-size:11px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.legal-meta strong { color:#1f2937; font-size:14px; }
.legal-layout { display:grid; grid-template-columns:220px minmax(0,760px); gap:80px; align-items:start; padding-top:56px; }
.legal-sidebar { position:sticky; top:24px; }
.legal-toc { display:flex; flex-direction:column; gap:6px; border-left:1px solid #e2e8f0; }
.legal-toc a { padding:7px 12px; border-left:2px solid transparent; color:#64748b; font-size:13px; line-height:1.35; text-decoration:none; }
.legal-toc a:hover,.legal-toc a.is-active { border-left-color:#6d6be6; color:#6d6be6; }
.legal-menu-toggle { display:none; }
.print-button { margin:28px 0 0 12px; padding:0; border:0; background:none; color:#6d6be6; font-size:13px; font-weight:700; cursor:pointer; }
.legal-article { min-width:0; color:#334155; font-size:16px; line-height:1.85; }
.legal-article h2 { margin:48px 0 16px; color:#0f172a; font-size:30px; line-height:1.2; letter-spacing:-.7px; scroll-margin-top:24px; }
.legal-article h3 { margin:32px 0 10px; color:#1e293b; font-size:20px; line-height:1.35; scroll-margin-top:24px; }
.legal-article h4 { margin:24px 0 8px; color:#1e293b; font-size:17px; scroll-margin-top:24px; }
.legal-article p { margin:0 0 18px; }
.legal-article ul { margin:0 0 22px; padding-left:24px; }
.legal-article li { margin:8px 0; padding-left:4px; }
.legal-article a { color:#5f61d7; text-decoration:underline; text-underline-offset:2px; }
.legal-article blockquote { margin:28px 0; padding:18px 22px; border-left:4px solid #6d6be6; border-radius:0 12px 12px 0; background:#f5f3ff; color:#4c4b75; }
.legal-article blockquote p:last-child { margin-bottom:0; }
.legal-placeholder { display:inline-block; padding:0 5px; border-radius:4px; background:#fff4d6; color:#946200; font-family:ui-monospace,SFMono-Regular,Menlo,monospace; font-size:.86em; }
.legal-table-wrap { overflow-x:auto; margin:28px 0; border:1px solid #e2e8f0; border-radius:12px; }
.legal-article table { width:100%; min-width:620px; border-collapse:collapse; background:#fff; font-size:14px; line-height:1.55; }
.legal-article th,.legal-article td { padding:13px 14px; border-bottom:1px solid #e2e8f0; text-align:left; vertical-align:top; }
.legal-article th { background:#f8fafc; color:#0f172a; font-weight:800; }
.legal-article tr:last-child td { border-bottom:0; }
.legal-pagination { display:flex; justify-content:space-between; gap:24px; margin-top:72px; padding-top:24px; border-top:1px solid #e5e7eb; }
.legal-pagination a { color:#6d6be6; font-size:14px; font-weight:700; text-decoration:none; }
.legal-footer { padding-top:28px; padding-bottom:28px; }
.legal-footer .footer-bottom { padding-top:0; }
.back-to-top { position:fixed; right:24px; bottom:24px; width:42px; height:42px; display:grid; place-items:center; border:0; border-radius:50%; background:#6d6be6; color:#fff; font-size:20px; box-shadow:0 8px 18px rgba(50,40,180,.25); opacity:0; pointer-events:none; transform:translateY(8px); transition:opacity .2s ease,transform .2s ease; cursor:pointer; }
.back-to-top.is-visible { opacity:1; pointer-events:auto; transform:translateY(0); }
@media (max-width:760px) {
  .legal-shell { padding:48px 24px 64px; }
  .legal-hero h1 { font-size:48px; letter-spacing:-2px; }
  .legal-description { font-size:16px; }
  .legal-meta { flex-direction:column; gap:10px; }
  .legal-meta div { min-width:0; }
  .legal-layout { display:block; padding-top:32px; }
  .legal-sidebar { position:static; margin-bottom:36px; }
  .legal-menu-toggle { width:100%; display:flex; align-items:center; justify-content:space-between; padding:14px 16px; border:1px solid #e2e8f0; border-radius:12px; background:#f8fafc; color:#1f2937; font-size:14px; font-weight:800; cursor:pointer; }
  .legal-toc { display:none; margin-top:8px; }
  .legal-toc.is-open { display:flex; }
  .legal-toc a { padding:9px 12px; }
  .print-button { margin:18px 0 0; }
  .legal-article { font-size:15px; line-height:1.75; }
  .legal-article h2 { margin-top:38px; font-size:27px; }
  .legal-article h3 { font-size:19px; }
  .legal-pagination { flex-direction:column; gap:14px; margin-top:48px; }
  .legal-footer .footer-bottom { align-items:flex-start; }
}
@media print { .navbar,.legal-sidebar,.legal-pagination,.legal-footer,.back-to-top,.legal-back { display:none !important; } .legal-shell { width:100%; padding:0; } .legal-hero { border:0; } .legal-layout { display:block; padding-top:0; } }
