* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --legal-bg-main: #071426;
  --legal-bg-nav: #0b1f3a;
  --legal-bg-card: #0a1d37;
  --legal-border: #1f2a44;
  --legal-text-main: #ffffff;
  --legal-text-sub: #a0a0a0;
  --legal-text-soft: #d2dcef;
  --legal-blue: #2f80ed;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  min-height: 100vh;
  background: var(--legal-bg-main);
  color: var(--legal-text-main);
  font-family: Arial, sans-serif;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.legal-site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--legal-bg-nav);
  border-bottom: 1px solid var(--legal-border);
  transition: transform 0.08s linear;
}

.legal-container {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

.legal-nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.legal-brand-logo {
  width: 86px;
  height: auto;
}

.legal-back-link {
  color: var(--legal-text-sub);
  font-size: 14px;
  font-weight: 700;
  transition: color 180ms ease;
}

.legal-back-link:hover {
  color: var(--legal-blue);
}

.legal-main {
  position: relative;
  z-index: 3;
  padding: 74px 0 88px;
}

.legal-card {
  border: 1px solid var(--legal-border);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(10,29,55,0.94) 0%, rgba(7,20,38,0.96) 100%);
  box-shadow: 0 16px 48px rgba(0,0,0,0.18);
  padding: 38px;
}

.legal-kicker {
  color: var(--legal-blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.legal-title {
  font-size: 52px;
  line-height: 0.98;
  font-weight: 700;
  margin-bottom: 28px;
}

.legal-content {
  max-width: 820px;
  color: var(--legal-text-soft);
  font-size: 17px;
  line-height: 1.8;
}

.legal-content h2 {
  color: var(--legal-text-main);
  font-size: 20px;
  line-height: 1.25;
  margin: 28px 0 8px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p + p {
  margin-top: 16px;
}

.legal-content a {
  color: var(--legal-blue);
  font-weight: 700;
}

@media (max-width: 760px) {
  .legal-container {
    padding: 0 20px;
  }

  .legal-main {
    padding: 46px 0 64px;
  }

  .legal-card {
    padding: 26px;
    border-radius: 24px;
  }

  .legal-title {
    font-size: 38px;
  }

  .legal-content {
    font-size: 16px;
  }
}
