.product-legal { --product-accent: #c8f87b; --product-wash: #e9efd8; }
.legal-hero { position: relative; overflow: hidden; padding: 90px 0 70px; background: #101113; color: #f5f7f7; }
.legal-hero::before { content: ""; position: absolute; inset: 0; opacity: .18; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 80px 80px; mask-image: linear-gradient(90deg, black, transparent 82%); }
.legal-hero .container { position: relative; z-index: 1; }
.legal-hero h1 { max-width: 820px; margin-bottom: 22px; font-size: clamp(48px, 6vw, 80px); }
.legal-hero h1 em { color: #89919d; font-style: normal; }
.legal-hero .service-lead { max-width: 620px; margin-bottom: 0; }
.legal-meta { display: flex; flex-wrap: wrap; gap: 27px; margin-top: 40px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.16); color: #7c8590; font-size: 11px; }
.legal-meta b { display: block; margin-bottom: 4px; color: #e7ebea; font-size: 12px; font-weight: 500; }
.legal-switch { display: inline-flex; gap: 6px; margin-top: 30px; padding: 4px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; }
.legal-switch a { padding: 8px 15px; border-radius: 999px; color: #a0a7b0; font-size: 12px; }
.legal-switch a[aria-current="page"] { background: var(--lime); color: #101113; font-weight: 600; }
.legal-switch a:not([aria-current]):hover { color: #fff; }

.legal-body { padding: 90px 0 110px; background: var(--paper); }
.legal-grid { display: grid; grid-template-columns: 250px 1fr; gap: 9%; align-items: start; }
.legal-toc { position: sticky; top: 28px; }
.legal-toc p { margin-bottom: 14px; color: #7e8385; text-transform: uppercase; letter-spacing: .15em; font-size: 10px; font-weight: 700; }
.legal-toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; border-left: 1px solid var(--line); }
.legal-toc li { counter-increment: toc; }
.legal-toc a { display: block; padding: 6px 0 6px 16px; margin-left: -1px; border-left: 2px solid transparent; color: #6d7079; font-size: 13px; line-height: 1.35; transition: color .2s, border-color .2s; }
.legal-toc a::before { content: counter(toc, decimal-leading-zero) "  "; color: #a3a8ad; font-size: 10px; }
.legal-toc a:hover, .legal-toc a:focus-visible { color: #101113; border-left-color: #3967f5; }

.legal-content { max-width: 720px; }
.legal-content section { padding: 0 0 44px; margin-bottom: 44px; border-bottom: 1px solid var(--line); scroll-margin-top: 24px; }
.legal-content section:last-child { border-bottom: 0; }
.legal-content h2 { margin-bottom: 18px; font-size: clamp(28px, 3vw, 36px); letter-spacing: -.045em; line-height: 1.1; }
.legal-content h2 span { display: block; margin-bottom: 10px; color: #3967f5; font-size: 11px; letter-spacing: .14em; font-weight: 700; }
.legal-content h3 { margin: 26px 0 8px; font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.legal-content p, .legal-content li { color: #4f5658; font-size: 15px; line-height: 1.7; }
.legal-content p { margin-bottom: 14px; }
.legal-content ul { margin: 0 0 16px; padding-left: 20px; }
.legal-content li { margin-bottom: 6px; }
.legal-content strong { color: #101113; font-weight: 600; }
.legal-content a { color: #2450d8; text-decoration: underline; text-underline-offset: 2px; }

.callout { margin: 20px 0; padding: 22px 24px; background: #101113; color: #e7ebea; }
.callout b { display: block; margin-bottom: 10px; color: var(--cyan); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.callout p, .callout li { color: #c9ced2; font-size: 14px; }
.callout p:last-child { margin-bottom: 0; }
.callout strong { color: #fff; }
.callout.lime b { color: var(--lime); }
.kv { display: grid; grid-template-columns: 170px 1fr; gap: 1px; margin: 18px 0; background: var(--line); border: 1px solid var(--line); }
.kv div { padding: 12px 15px; background: #fff; font-size: 14px; line-height: 1.5; color: #4f5658; }
.kv div:nth-child(odd) { background: #eeefeb; color: #101113; font-weight: 600; }
.contact-card { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.contact-card div { padding: 18px; background: #fff; border: 1px solid #e0e3de; font-size: 13px; color: #6d7079; }
.contact-card b { display: block; margin-bottom: 6px; color: #101113; font-size: 15px; font-weight: 600; }
.contact-card a { color: #101113; text-decoration: none; }

.footer-links a { margin-right: 0; }

@media (max-width: 850px) {
  .legal-grid { grid-template-columns: 1fr; gap: 40px; }
  .legal-toc { position: static; }
  .contact-card { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .legal-hero { padding: 55px 0 50px; }
  .legal-body { padding: 60px 0 80px; }
  .kv { grid-template-columns: 1fr; }
}
@media print {
  .service-header, .legal-toc, .legal-switch, .site-footer { display: none; }
  .legal-hero { padding: 20px 0; background: #fff; color: #000; }
  .legal-grid { display: block; }
}
