:root {
  --ink: #091326;
  --navy: #101f38;
  --navy-2: #162a49;
  --blue: #1f6fd1;
  --electric: #1f6fd1;
  --white: #ffffff;
  --muted-white: rgba(255, 255, 255, .76);
  --line: rgba(255, 255, 255, .14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  margin: 0;
  color: var(--white);
  background:
    radial-gradient(circle at 78% 18%, rgba(31, 111, 209, .16), transparent 28%),
    linear-gradient(135deg, #0a1427 0%, #10203a 52%, #152c4b 100%);
  font-family: Montserrat, "Avenir Next", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

body::before,
body::after {
  position: fixed;
  content: "";
  pointer-events: none;
  border: 1px solid rgba(31, 111, 209, .18);
  transform: rotate(26deg);
}

body::before {
  top: -250px;
  right: -250px;
  width: 520px;
  height: 520px;
}

body::after {
  left: -220px;
  bottom: -240px;
  width: 420px;
  height: 420px;
}

a {
  color: var(--electric);
  font-weight: 700;
  text-decoration: none;
}

a:hover { color: var(--white); }

.legal-page {
  position: relative;
  z-index: 1;
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0 38px;
}

.legal-brand {
  display: inline-flex;
  align-items: center;
  width: 210px;
  margin-bottom: 24px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 18px 34px rgba(0, 0, 0, .16);
}

.legal-brand img {
  display: block;
  width: 100%;
  height: auto;
}

.legal-card {
  position: relative;
  overflow: hidden;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .03)),
    rgba(10, 20, 39, .68);
  box-shadow: 0 28px 70px rgba(0, 0, 0, .2);
}

.legal-card::before,
.legal-card::after {
  position: absolute;
  content: "";
  pointer-events: none;
  border: 1px solid rgba(31, 111, 209, .28);
  background: rgba(31, 111, 209, .04);
  transform: skewX(-18deg);
}

.legal-card::before {
  top: 44px;
  right: -90px;
  width: 360px;
  height: 150px;
}

.legal-card::after {
  left: -120px;
  bottom: 70px;
  width: 280px;
  height: 110px;
}

.legal-content {
  position: relative;
  z-index: 1;
}

h1,
h2 {
  margin: 0;
  line-height: 1.1;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 34px;
  font-size: 48px;
  font-weight: 900;
}

h2 {
  margin-top: 34px;
  margin-bottom: 14px;
  padding-left: 14px;
  color: var(--white);
  border-left: 4px solid var(--electric);
  font-size: 20px;
  font-weight: 900;
  text-transform: uppercase;
}

p,
li {
  color: var(--muted-white);
  font-size: 16px;
}

p { margin: 0 0 16px; }

strong { color: var(--white); }

ul {
  margin: 0 0 22px;
  padding-left: 22px;
}

.legal-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: rgba(255, 255, 255, .66);
  font-size: 14px;
}

.legal-footer a { font-size: 14px; }

@media (max-width: 680px) {
  .legal-page {
    width: min(100% - 28px, 540px);
    padding: 18px 0 28px;
  }

  .legal-brand {
    width: 170px;
    margin-bottom: 18px;
  }

  .legal-card {
    padding: 22px;
    border-radius: 16px;
  }

  h1 { font-size: 34px; }
  h2 { font-size: 18px; }
}
