:root {
  --legal-primary: #0874ff;
  --legal-deep: #061744;
  --legal-text: #0a1b47;
  --legal-muted: #536680;
  --legal-border: #d9e4f5;
  --legal-soft: #f4f8ff;
  --legal-warm: #ffb547;
  --legal-white: #fff;
  --legal-font: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --legal-display: "Manrope", var(--legal-font);
  --legal-size-title: 24px;
  --legal-size-subtitle: 20px;
  --legal-size-content: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--legal-text); background: var(--legal-soft); font-family: var(--legal-font); font-size: var(--legal-size-content); line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: var(--legal-primary); text-underline-offset: 3px; }
:where(a, button):focus-visible { outline: 3px solid var(--legal-warm); outline-offset: 3px; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 1000; padding: 10px 14px; border-radius: 10px; color: var(--legal-white); background: var(--legal-deep); font-weight: 700; transform: translateY(-160%); transition: transform .15s ease; }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; top: 0; z-index: 100; background: var(--legal-white); border-bottom: 1px solid var(--legal-border); }
.nav { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; color: var(--legal-text); text-decoration: none; }
.brand-logo { display: block; width: 112px; height: auto; flex-shrink: 0; }
.nav-actions { display: flex; align-items: center; gap: 18px; }
.nav-link { color: var(--legal-muted); font-size: var(--legal-size-content); font-weight: 700; text-decoration: none; }
.nav-link:hover { color: var(--legal-primary); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border: 0 solid transparent; border-radius: 14px; color: var(--legal-white); background: linear-gradient(135deg, #06c6e7 0%, #0874ff 48%, #064ee9 100%); box-shadow: 0 12px 30px rgba(0,91,238,.27); font-size: 15px; font-weight: 700; line-height: 1.55; white-space: nowrap; text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.button:hover { background: linear-gradient(135deg, #08d5ef, #0874ff); box-shadow: 0 16px 34px rgba(0,91,238,.30); }
.legal-hero { padding: 52px 0 88px; background: radial-gradient(circle at 90% 3%, rgba(2,214,232,.14), transparent 25%), radial-gradient(circle at 8% 28%, rgba(255,181,71,.10), transparent 20%), linear-gradient(180deg, #f8fbff, #eef4ff); }
.legal-card { position: relative; max-width: 920px; margin-inline: auto; padding: clamp(26px, 5vw, 52px); overflow: hidden; border: 1px solid var(--legal-border); border-top: 4px solid var(--legal-warm); border-radius: 24px; background: var(--legal-white); box-shadow: 0 24px 70px rgba(0,71,190,.10); }
.last-updated { display: inline-flex; margin-bottom: 18px; padding: 6px 11px; border-radius: 999px; color: #80510a; background: #fff3d6; font-size: var(--legal-size-content); font-weight: 800; }
h1, h2, h3 { color: var(--legal-text); font-family: var(--legal-display); line-height: 1.22; letter-spacing: -.02em; }
h1 { margin: 0 0 24px; font-size: var(--legal-size-title); }
h2 { margin: 42px 0 12px; font-size: var(--legal-size-subtitle); }
h3 { margin: 28px 0 8px; font-size: var(--legal-size-subtitle); }
p, li { color: var(--legal-muted); }
ul, ol { padding-left: 24px; }
strong { color: var(--legal-text); }
.legal-footer { padding: 42px 0 34px; color: #d8e5ff; background: linear-gradient(135deg, #061744, #0a2f78); }
.legal-footer__top { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,.14); }
.legal-footer__logo { display: block; width: 126px; height: auto; filter: brightness(0) invert(1); }
.legal-footer__links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 22px; }
.legal-footer a { color: #d8e5ff; font-size: var(--legal-size-content); font-weight: 650; text-decoration: none; }
.legal-footer a:hover { color: var(--legal-warm); }
.legal-footer__bottom { margin: 20px 0 0; color: #aebfe2; font-size: var(--legal-size-content); }

@media (max-width: 680px) {
  .container { padding: 0 18px; }
  .nav { min-height: 60px; }
  .brand-logo { width: 100px; }
  .nav-link { display: none; }
  .button { padding: 9px 11px; font-size: var(--legal-size-content); }
  .legal-hero { padding-top: 28px; }
  .legal-card { padding: 26px 18px; border-radius: 18px; }
  .legal-footer__top { align-items: flex-start; flex-direction: column; }
  .legal-footer__top > a { display: none; }
  .legal-footer__links { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
