body.legal-page { color: #dce4df; background: #0a0e0c; font-size: 16px; line-height: 1.75; }
.legal-page .scroll-progress { z-index: 300; }
.legal-header { position: sticky; z-index: 90; top: 0; display: flex; justify-content: space-between; align-items: center; min-height: 76px; padding: 12px max(24px, calc((100vw - 1180px) / 2)); background: rgba(8,11,10,.9); border-bottom: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(18px); }
.legal-header nav { display: flex; align-items: center; gap: 24px; color: #b7c1bb; font-size: 14px; font-weight: 700; }
.legal-header nav a:hover, .legal-header nav a[aria-current="page"] { color: #43e8ad; }
.legal-back { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid rgba(255,255,255,.18); border-radius: 99px; }
.legal-hero { position: relative; overflow: hidden; padding: 110px 0 82px; border-bottom: 1px solid rgba(255,255,255,.1); background: radial-gradient(circle at 80% 25%,#123a2b 0,transparent 36%),linear-gradient(160deg,#0c120f,#080b0a); }
.legal-hero::after { content:""; position:absolute; right:-170px; top:-220px; width:550px; height:550px; border:1px solid rgba(67,232,173,.18); border-radius:50%; box-shadow:0 0 0 80px rgba(67,232,173,.035),0 0 0 160px rgba(67,232,173,.02); }
.legal-hero__inner { position: relative; z-index: 2; width: min(860px, calc(100% - 40px)); margin-inline: auto; text-align: center; }
.legal-kicker { margin: 0 0 20px; color: #43e8ad; text-transform: uppercase; letter-spacing: .16em; font-size: 12px; font-weight: 900; }
.legal-hero h1 { margin: 0; font-family: var(--display); font-size: clamp(32px,7vw,72px); line-height: 1.12; letter-spacing: -.045em; overflow-wrap: anywhere; }
.legal-hero__intro { max-width: 700px; margin: 28px auto 0; color: #a9b5ae; font-size: 18px; }
.legal-meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; color: #85918a; font-size: 14px; }
.legal-layout { display: grid; grid-template-columns: 240px minmax(0,760px); gap: 70px; align-items: start; width: min(1080px, calc(100% - 48px)); margin: 0 auto; padding: 80px 0 120px; }
.legal-toc { position: sticky; top: 110px; display: grid; gap: 4px; padding: 18px; background: #111714; border: 1px solid rgba(255,255,255,.1); border-radius: 18px; }
.legal-toc strong { margin: 0 0 10px; color: #748079; text-transform: uppercase; letter-spacing: .12em; font-size: 12px; }
.legal-toc a { padding: 8px 10px; color: #a8b2ac; border-radius: 8px; font-size: 14px; line-height: 1.35; }
.legal-toc a:hover { color: #08110d; background: #43e8ad; }
.legal-content { min-width: 0; }
.legal-notice { margin: 0 0 52px; padding: 22px 24px; color: #c7d1cb; background: #14241d; border: 1px solid rgba(67,232,173,.28); border-left: 4px solid #43e8ad; border-radius: 14px; }
.legal-content section { padding: 0 0 48px; margin: 0 0 48px; border-bottom: 1px solid rgba(255,255,255,.1); scroll-margin-top: 110px; }
.legal-content section:last-child { margin-bottom: 0; border-bottom: 0; }
.legal-content h2 { margin: 0 0 22px; color: #f3f7f5; font-family: var(--display); font-size: 32px; line-height: 1.25; letter-spacing: -.035em; overflow-wrap: anywhere; }
.legal-content h3 { margin: 30px 0 12px; color: #eef4f0; font-size: 19px; line-height: 1.35; }
.legal-content p { margin: 0 0 18px; color: #b6c0ba; }
.legal-content ul, .legal-content ol { display: grid; gap: 12px; margin: 18px 0; padding-left: 22px; color: #b6c0ba; }
.legal-content li::marker { color: #43e8ad; }
.legal-content strong { color: #edf3ef; }
.legal-content a { color: #6cebbd; text-decoration: underline; text-decoration-color: rgba(108,235,189,.4); text-underline-offset: 3px; }
.legal-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.legal-contact div { padding: 20px; background: #111714; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; }
.legal-contact small { display: block; margin-bottom: 8px; color: #7d8982; text-transform: uppercase; letter-spacing: .12em; font-size: 12px; font-weight: 800; }
.legal-contact .postal-address { display: block; margin-top: 6px; color: #5d6862; font-size: 13px; font-weight: 400; }
.legal-footer { padding: 42px 0; background: #060807; border-top: 1px solid rgba(255,255,255,.1); }
.legal-footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; width: min(1080px, calc(100% - 48px)); margin-inline: auto; color: #8e9993; font-size: 14px; }
.legal-footer nav { display: flex; gap: 22px; }
.legal-footer a:hover { color: #43e8ad; }
.legal-header nav a, .legal-footer nav a, .legal-toc a { display: inline-flex; align-items: center; min-height: 48px; }
.legal-hero__intro a { color: #6cebbd; text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 820px) {
  .legal-header { min-height: 68px; padding-inline: 18px; }
  .legal-header nav a:not(.legal-back) { display: none; }
  .legal-hero { padding: 86px 0 64px; }
  .legal-hero__intro { font-size: 16px; }
  .legal-layout { grid-template-columns: 1fr; gap: 38px; width: min(100% - 36px,680px); padding: 55px 0 90px; }
  .legal-toc { position: static; grid-template-columns: 1fr 1fr; }
  .legal-toc strong { grid-column: 1 / -1; }
  .legal-content h2 { font-size: 27px; }
  .legal-contact { grid-template-columns: 1fr; }
  .legal-footer__inner { align-items: flex-start; flex-direction: column; width: min(100% - 36px,680px); }
  .legal-footer nav { flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .legal-header .brand span { font-size: 18px; }
  .legal-back { padding: 8px 11px; }
  .legal-toc { grid-template-columns: 1fr; }
  .legal-toc strong { grid-column: auto; }
  .legal-meta { display: grid; }
}
