:root {
  --navy-950: #0b1027;
  --navy-900: #0f1530;
  --navy-800: #151c3d;
  --purple: #6b5cff;
  --purple-soft: #9c91ff;
  --yellow: #ffd23f;
  --white: #ffffff;
  --grey-100: #eef1f8;
  --grey-300: #bdc4d7;
  --grey-400: #9099b7;
  --grey-500: #6b7393;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--grey-100);
  background:
    radial-gradient(circle at 8% 4%, rgba(107, 92, 255, 0.19), transparent 31rem),
    radial-gradient(circle at 92% 91%, rgba(255, 210, 63, 0.08), transparent 29rem),
    var(--navy-950);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--purple-soft); }
a:hover { color: var(--yellow); }
a:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
  border-radius: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(255,255,255,0.075);
  background: rgba(8, 12, 31, 0.82);
  backdrop-filter: blur(14px);
}

.site-header .inner,
.legal-wrap,
.site-footer .inner {
  width: min(100% - 40px, 960px);
  margin: 0 auto;
}

.site-header .inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  display: block;
  width: auto;
  height: 44px;
}

.back-link {
  color: var(--grey-300);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.legal-wrap { padding: 72px 0 88px; }

.legal-card {
  overflow: hidden;
  border: 1px solid rgba(177, 185, 255, 0.13);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(25, 33, 73, 0.9), rgba(15, 21, 48, 0.88));
  box-shadow: 0 26px 70px rgba(0,0,0,0.24);
}

.legal-hero {
  position: relative;
  padding: 54px 58px 42px;
  border-bottom: 1px solid rgba(255,255,255,0.075);
  background: linear-gradient(135deg, rgba(107,92,255,0.18), rgba(255,210,63,0.045));
}

.legal-hero::after {
  content: '';
  position: absolute;
  width: 230px;
  height: 230px;
  top: -145px;
  right: -80px;
  border-radius: 50%;
  background: rgba(107,92,255,0.28);
  filter: blur(28px);
}

.eyebrow {
  position: relative;
  z-index: 1;
  margin: 0 0 12px;
  color: var(--yellow);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1, h2 {
  font-family: 'Fredoka', 'Inter', sans-serif;
  color: var(--white);
}

h1 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(38px, 7vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.updated {
  position: relative;
  z-index: 1;
  margin: 16px 0 0;
  color: var(--grey-400);
  font-size: 14px;
}

.legal-content { padding: 48px 58px 58px; }
.legal-content > :first-child { margin-top: 0; }
.legal-content > :last-child { margin-bottom: 0; }

h2 {
  margin: 42px 0 12px;
  font-size: 25px;
  line-height: 1.25;
}

p { margin: 0 0 18px; color: var(--grey-300); }
ul { margin: 0 0 20px; padding-left: 24px; }
li { margin: 8px 0; padding-left: 4px; color: var(--grey-300); }
strong { color: var(--white); }

.notice {
  margin: 28px 0;
  padding: 18px 20px;
  border: 1px solid rgba(255,210,63,0.2);
  border-radius: 14px;
  background: rgba(255,210,63,0.055);
  color: var(--grey-100);
}

.site-footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 32px 0;
}

.site-footer .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px 24px;
}

.site-footer p { margin: 0; color: var(--grey-500); font-size: 13px; }
.footer-links { display: flex; gap: 18px; }
.footer-links a { color: var(--grey-400); font-size: 13px; text-decoration: none; }
.footer-links a[aria-current="page"] { color: var(--yellow); }

@media (max-width: 680px) {
  .site-header .inner,
  .legal-wrap,
  .site-footer .inner { width: min(100% - 28px, 960px); }
  .site-header .inner { min-height: 68px; }
  .brand img { height: 38px; }
  .legal-wrap { padding: 32px 0 52px; }
  .legal-card { border-radius: 18px; }
  .legal-hero { padding: 38px 24px 30px; }
  .legal-content { padding: 32px 24px 40px; }
  h2 { margin-top: 34px; font-size: 22px; }
  .site-footer .inner { justify-content: center; text-align: center; }
}
