:root {
  --deep: #062a3d;
  --deep-2: #0d3b52;
  --cyan: #05c3dd;
  --gold: #f6c453;
  --ink: #102d36;
  --muted: #607c84;
  --line: #d9e9ec;
  --paper: #fff;
  --wash: #eff8f9;
}
* { box-sizing: border-box; }
html { background: var(--wash); scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--wash); font-family: Inter, "Segoe UI", Arial, sans-serif; line-height: 1.75; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
[hidden] { display: none !important; }
.legal-wrap { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.legal-top { position: sticky; z-index: 20; top: 0; color: #fff; background: rgba(6, 42, 61, .97); border-bottom: 1px solid rgba(255, 255, 255, .1); backdrop-filter: blur(16px); }
.legal-top-inner { min-height: 72px; display: flex; align-items: center; gap: 22px; }
.legal-brand { flex: 0 0 auto; display: flex; }
.legal-brand img { display: block; width: 154px; height: 38px; object-fit: contain; object-position: left center; }
.legal-nav { display: flex; align-items: center; gap: 5px; margin-left: auto; overflow-x: auto; scrollbar-width: none; }
.legal-nav::-webkit-scrollbar { display: none; }
.legal-nav a { flex: 0 0 auto; padding: 8px 10px; border-radius: 9px; color: rgba(255, 255, 255, .68); font-size: 13px; white-space: nowrap; }
.legal-nav a:hover, .legal-nav a.is-on { color: #fff; background: rgba(5, 195, 221, .14); }
.legal-lang { display: flex; padding: 3px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 10px; background: rgba(0, 0, 0, .12); }
.legal-lang button { border: 0; border-radius: 7px; padding: 5px 8px; color: rgba(255, 255, 255, .62); background: transparent; cursor: pointer; font-size: 12px; }
.legal-lang button.is-on { color: var(--deep); background: var(--cyan); font-weight: 800; }
.legal-main { padding: 64px 0 88px; }
.legal-layout { display: grid; grid-template-columns: 190px minmax(0, 820px); justify-content: center; align-items: start; gap: 44px; }
.legal-side { position: sticky; top: 112px; color: var(--muted); font-size: 13px; }
.legal-side a { display: inline-flex; margin-bottom: 18px; color: var(--deep-2); font-weight: 750; }
.legal-side a:hover { color: #048ca1; }
.legal-side p { margin: 0; padding-top: 16px; border-top: 1px solid var(--line); }
.legal-card { padding: clamp(34px, 6vw, 74px); border: 1px solid var(--line); border-radius: 26px; background: var(--paper); box-shadow: 0 24px 70px rgba(6, 42, 61, .09); }
.legal-kicker { color: #078ea2; font-size: 11px; font-weight: 900; letter-spacing: .16em; }
.legal-card h1 { margin: 13px 0 12px; color: var(--deep); font-size: clamp(36px, 5vw, 58px); line-height: 1.08; letter-spacing: -.045em; }
.legal-lead { margin: 0 0 46px; color: var(--muted); font-size: 18px; }
.legal-card section { padding: 28px 0; border-top: 1px solid var(--line); }
.legal-card section:last-child { padding-bottom: 0; }
.legal-card h2 { margin: 0 0 10px; color: var(--deep-2); font-size: 19px; line-height: 1.4; }
.legal-card p { margin: 0; color: #405f67; font-size: 15.5px; }
.legal-foot { color: rgba(234, 250, 255, .64); background: #021721; font-size: 12.5px; }
.legal-foot .legal-wrap { min-height: 86px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.legal-foot img { border-radius: 8px; }
.legal-foot span:last-child { margin-left: auto; color: rgba(234, 250, 255, .4); }
@media (max-width: 980px) {
  .legal-top-inner { flex-wrap: wrap; gap: 10px 18px; padding-block: 12px; }
  .legal-nav { order: 3; width: 100%; }
  .legal-lang { margin-left: auto; }
  .legal-layout { grid-template-columns: 1fr; gap: 20px; }
  .legal-side { position: static; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
  .legal-side a { margin: 0; }
  .legal-side p { padding: 0; border: 0; }
}
@media (max-width: 620px) {
  .legal-wrap { width: min(100% - 30px, 1180px); }
  .legal-top-inner { min-height: 64px; }
  .legal-brand img { width: 128px; height: 32px; }
  .legal-main { padding: 30px 0 54px; }
  .legal-side { align-items: flex-start; flex-direction: column; gap: 8px; }
  .legal-card { padding: 30px 22px; border-radius: 20px; }
  .legal-card h1 { font-size: 36px; }
  .legal-lead { margin-bottom: 34px; font-size: 16px; }
  .legal-card section { padding: 23px 0; }
  .legal-card p { font-size: 14.5px; }
  .legal-foot .legal-wrap { padding: 20px 0; }
  .legal-foot span:last-child { width: 100%; margin-left: 0; }
}
