.legal-footer { flex-direction: column; gap: 20px; padding: 36px 24px; }
.legal-footer-details { max-width: 860px; font-size: 12px; line-height: 1.8; color: #b3c1d4; }
.legal-footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 24px; }
.legal-footer-links a, .legal-footer-links button { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 0; font-size: 12px; color: #f7faff; text-decoration: underline; text-underline-offset: 4px; }
.legal-footer-links button { background: none; cursor: pointer; font-family: inherit; text-align: left; }
.legal-footer-links a:hover, .legal-footer-links button:hover { color: var(--lime); }
.legal-page { background: var(--paper); }
.legal-skip { position: absolute; left: 20px; top: -80px; padding: 12px; background: var(--white); z-index: 200; }
.legal-skip:focus { top: 10px; }
.legal-topbar { display: flex; justify-content: space-between; align-items: center; gap: 24px; background: var(--ink); color: var(--white); padding: 22px max(24px, calc((100vw - 1180px) / 2)); }
.legal-topbar a { min-height: 44px; display: inline-flex; align-items: center; font-weight: 700; }
.legal-home { font-size: 14px; color: var(--lime); }
.legal-shell { max-width: 1180px; margin: auto; padding: 72px 24px 100px; }
.legal-kicker { color: var(--violet); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 24px; }
.legal-hero h1 { font-size: clamp(32px, 5vw, 62px); font-weight: 800; letter-spacing: -.045em; line-height: 1.1; overflow-wrap: anywhere; max-width: 960px; }
.legal-lead { max-width: 780px; margin-top: 24px; color: var(--muted); font-size: 18px; line-height: 1.7; }
.legal-date { display: block; color: var(--muted); font-size: 12px; margin: 24px 0 40px; }
.legal-content { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 60px; align-items: start; }
.legal-toc { position: sticky; top: 24px; border-top: 1px solid var(--line); padding-top: 12px; }
.legal-toc summary { min-height: 44px; display: flex; align-items: center; font-weight: 700; cursor: pointer; font-size: 14px; }
.legal-toc summary::after { content: ""; width: 7px; height: 7px; margin-left: auto; margin-right: 4px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.legal-toc[open] summary::after { transform: rotate(225deg); }
.legal-toc nav { display: flex; flex-direction: column; }
.legal-toc a { font-size: 13px; padding: 10px 0; min-height: 44px; line-height: 1.5; color: var(--muted); }
.legal-toc a:hover, .legal-toc a[aria-current] { color: var(--violet); }
.legal-article { min-width: 0; }
.legal-section { padding: 32px 0; border-top: 1px solid var(--line); scroll-margin-top: 24px; }
.legal-section h2 { font-size: clamp(22px, 3vw, 29px); font-weight: 700; line-height: 1.3; letter-spacing: -.025em; margin-bottom: 24px; }
.legal-section h3 { margin: 28px 0 12px; font-size: 18px; line-height: 1.4; font-weight: 700; }
.legal-section p, .legal-section li, .legal-section dt, .legal-section dd { font-size: 16px; line-height: 1.85; overflow-wrap: anywhere; }
.legal-section p + p { margin-top: 16px; }
.legal-section ul, .legal-section ol { padding-left: 22px; margin: 16px 0; }
.legal-section li + li { margin-top: 8px; }
.legal-section dt { font-weight: 700; margin-top: 16px; }
.legal-section dd { margin-top: 4px; color: var(--muted); }
.legal-section a { color: #1956ae; text-decoration: underline; text-underline-offset: 4px; }
.legal-note { padding: 20px 24px; margin: 24px 0; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.legal-section .legal-action { display: inline-flex; align-items: center; min-height: 48px; margin-top: 20px; padding: 12px 22px; border-radius: 30px; font-size: 14px; font-weight: 700; color: var(--ink); background: var(--lime); cursor: pointer; font-family: inherit; }
.legal-action:hover { background: #f6a24e; }
.cookie-panel { position: fixed; z-index: 100; bottom: max(16px, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); width: calc(100% - 32px); max-width: 1000px; display: flex; align-items: center; gap: 28px; padding: 24px 28px; border: 1px solid #5b6f8c; border-radius: 20px; background: #071a3d; color: var(--white); box-shadow: 0 8px 32px #0003; }
.cookie-panel[hidden] { display: none; }
.cookie-copy { flex: 1; min-width: 0; }
.cookie-copy h2 { font-size: 16px; font-weight: 700; line-height: 1.4; }
.cookie-copy p { font-size: 12px; line-height: 1.7; margin-top: 8px; color: #ccd7e6; }
.cookie-copy a { color: #f7faff; text-decoration: underline; text-underline-offset: 3px; }
.cookie-copy .cookie-status { margin-top: 4px; color: #b3c1d4; font-size: 11px; }
.cookie-actions { display: flex; flex-direction: column; gap: 8px; flex-shrink: 0; }
.cookie-button { background: transparent; color: #f7faff; border: 1px solid #91a4be; border-radius: 24px; min-height: 44px; padding: 10px 18px; font-family: inherit; font-size: 12px; font-weight: 700; cursor: pointer; transition: border-color .2s, background .2s; }
.cookie-button:hover { border-color: var(--lime); background: #ffffff0d; }
.cookie-button:active { background: #ffffff1a; }
.legal-topbar a:focus-visible, .legal-footer a:focus-visible, .legal-footer button:focus-visible, .legal-toc a:focus-visible, .legal-toc summary:focus-visible, .legal-action:focus-visible, .cookie-panel a:focus-visible, .cookie-panel button:focus-visible { outline: 3px solid var(--lime); outline-offset: 4px; border-radius: 4px; }
@media (max-width: 760px) {
  .legal-shell { padding: 40px 20px 64px; }
  .legal-topbar { padding: 12px 20px; gap: 16px; }
  .legal-topbar .brand-name { font-size: 16px; }
  .legal-home { font-size: 12px; }
  .legal-content { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .legal-toc { position: static; }
  .legal-lead { font-size: 16px; }
  .legal-date { margin-bottom: 28px; }
  .legal-section { padding: 26px 0; }
  .legal-note { padding: 16px; }
  .legal-footer-links { flex-direction: column; align-items: center; gap: 0; }
  .legal-footer-details { font-size: 11px; }
  .cookie-panel { padding: 16px; gap: 14px; flex-direction: column; align-items: stretch; max-width: 500px; bottom: max(10px, env(safe-area-inset-bottom)); }
  .cookie-copy h2 { font-size: 14px; }
  .cookie-copy p { font-size: 11px; margin-top: 5px; }
  .cookie-copy .cookie-status { display: none; }
  .cookie-actions { flex-direction: row; }
  .cookie-button { flex: 1; padding: 9px 8px; font-size: 11px; line-height: 1.4; }
}
@media (prefers-reduced-motion: reduce) { .cookie-button { transition: none; } }
