.legal-hero { padding: 132px 0 96px; }
  .legal-hero h1 { font-size: clamp(34px, 3.6vw, 50px); line-height: 1.1; font-weight: 400; letter-spacing: -.02em; margin: 0; }
  .legal-hero h1 b { color: var(--green); }
  .legal-hero .upd { margin-top: 14px; color: rgba(255,255,255,.7); font-size: 15px; }
  .docs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
  .docs a { font-size: 14px; font-weight: 700; padding: 8px 16px; border-radius: 999px; background: rgba(255,255,255,.08); color: var(--white); transition: .2s; }
  .docs a:hover { background: rgba(255,255,255,.16); }
  .docs a[aria-current] { background: var(--green); color: var(--navy-900); }

  .legal { max-width: 1100px; margin: 0 auto; padding: 56px 24px 110px; display: grid; grid-template-columns: 240px minmax(0, 760px); gap: 64px; justify-content: center; }
  .toc { position: sticky; top: 110px; align-self: start; max-height: calc(100vh - 140px); overflow-y: auto; }
  .toc p { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px 14px; }
  .toc a { display: block; font-size: 14px; line-height: 1.35; color: var(--muted); padding: 8px 12px; border-left: 2px solid var(--line); transition: color .15s, border-color .15s, background .15s; }
  .toc a.sub { padding-left: 26px; font-size: 13px; }
  .toc a:hover { color: var(--navy); }
  .toc a.on { color: var(--navy); border-left-color: var(--green); background: var(--bg-soft); font-weight: 700; }
  .toc-m { display: none; }

  .doc { min-width: 0; font-size: 17px; line-height: 1.7; color: var(--ink); }
  .doc > *:first-child { margin-top: 0; }
  .doc p { margin: 0 0 16px; }
  .doc h3 { font-size: 24px; line-height: 1.25; font-weight: 700; margin: 48px 0 14px; scroll-margin-top: 110px; letter-spacing: -.01em; }
  .doc h4 { font-size: 19px; line-height: 1.3; font-weight: 700; margin: 32px 0 10px; scroll-margin-top: 110px; display: flex; align-items: center; gap: 10px; }
  .doc h4::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--green); flex-shrink: 0; }
  .doc ul, .doc ol { margin: 0 0 18px; padding-left: 0; list-style: none; display: grid; gap: 10px; }
  .doc li { position: relative; padding-left: 26px; }
  .doc li::before { content: ''; position: absolute; left: 6px; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--navy); }
  .doc a { color: #2f37a6; text-decoration: underline; text-underline-offset: 3px; }
  .doc a.nolink { text-decoration-style: dashed; cursor: help; }
  .doc strong { font-weight: 700; }
  .tbl { overflow-x: auto; margin: 18px 0 26px; border: 1px solid var(--line); border-radius: 18px; -webkit-overflow-scrolling: touch; }
  .tbl table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; min-width: 560px; }
  .tbl th { text-align: left; background: var(--navy); color: var(--white); font-weight: 700; padding: 12px 16px; white-space: nowrap; }
  .tbl td { padding: 12px 16px; vertical-align: top; border-top: 1px solid var(--line); }
  .tbl tbody tr:nth-child(even) td { background: #f7f8fc; }

  .hub { max-width: 1100px; margin: 0 auto; padding: 56px 24px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .hub a { background: var(--white); border: 1px solid var(--line); border-radius: var(--card); padding: 26px 24px; display: flex; flex-direction: column; gap: 10px; transition: transform .2s, box-shadow .2s; }
  .hub a:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(19,22,67,.12); }
  .hub .ic { width: 46px; height: 46px; border-radius: 14px; background: var(--navy); color: var(--green); display: grid; place-items: center; }
  .hub .ic svg { width: 22px; height: 22px; }
  .hub b { font-size: 20px; }
  .hub small { color: var(--muted); font-size: 15px; line-height: 1.5; }
  .hub span.go { margin-top: auto; font-weight: 700; color: #2f37a6; }

  @media (max-width: 1000px) {
    .legal { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 32px; }
    .toc { display: none; }
    .toc-m { display: block; margin-bottom: 28px; background: var(--bg-soft); border-radius: 18px; }
    .toc-m summary { list-style: none; cursor: pointer; padding: 16px 18px; font-weight: 700; display: flex; justify-content: space-between; align-items: center; }
    .toc-m summary::-webkit-details-marker { display: none; }
    .toc-m summary i { font-style: normal; transition: transform .2s; }
    .toc-m[open] summary i { transform: rotate(45deg); }
    .toc-m nav { padding: 0 8px 12px; }
    .doc .toc-m a { text-decoration: none; }
    .toc-m a { display: block; padding: 9px 10px; font-size: 15px; color: var(--navy); border-radius: 10px; }
    .toc-m a.sub { padding-left: 24px; font-size: 14px; color: var(--muted); }
    .hub { grid-template-columns: 1fr; }
  }
  @media (max-width: 600px) { .legal-hero { padding: 116px 0 80px; } .doc { font-size: 16px; } .doc h3 { font-size: 21px; margin-top: 40px; } }
