:root {
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;
  --font-display: "Manrope", "Inter", "Segoe UI", Arial, sans-serif;
  --blue: #042196;
  --blue-dark: #02145f;
  --blue-soft: #eef3ff;
  --ink: #101319;
  --muted: #5f6573;
  --line: #dfe5f2;
  --white: #ffffff;
  --off-white: #f7f8fb;
  --shadow-soft: 0 18px 45px rgba(10, 24, 70, 0.10);
  --container: 980px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--off-white);
  line-height: 1.65;
}

h1,
h2,
h3,
.logo,
.back-link {
  font-family: var(--font-display);
}

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

p,
h1,
h2,
h3 {
  margin-top: 0;
}

p {
  color: var(--muted);
  margin-bottom: 14px;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(223, 229, 242, 0.85);
  backdrop-filter: blur(18px);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--blue);
  font-weight: 900;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.logo-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--white);
  border: 2px solid var(--blue);
  border-radius: 14px;
  box-shadow: 0 12px 24px rgba(4, 33, 150, 0.24);
  padding: 4px;
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.back-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: var(--blue);
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 800;
  box-shadow: 0 14px 28px rgba(4, 33, 150, 0.22);
  transition: background 180ms ease, transform 180ms ease;
  white-space: nowrap;
}

.back-link:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
}

.hero {
  padding: 72px 0 36px;
  background:
    radial-gradient(circle at 80% 18%, rgba(4, 33, 150, 0.10), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, var(--off-white) 100%);
  border-bottom: 1px solid var(--line);
}


h1 {
  max-width: 840px;
  margin-bottom: 14px;
  font-size: clamp(2.2rem, 6vw, 4.25rem);
  line-height: 0.98;
  letter-spacing: 0;
  text-transform: uppercase;
}

.updated {
  color: var(--blue);
  font-weight: 850;
}

.legal {
  padding: 54px 0 84px;
}

.legal-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
}

.legal-intro,
.legal-section {
  padding: 30px;
  border-bottom: 1px solid var(--line);
}

.legal-section:last-child {
  border-bottom: 0;
}

.legal-section h2 {
  color: var(--blue);
  font-size: clamp(1.25rem, 3vw, 1.65rem);
  line-height: 1.16;
  margin-bottom: 14px;
}

.legal-section h3 {
  color: var(--ink);
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  line-height: 1.3;
  margin: 28px 0 12px;
}

.legal-section ul {
  margin: 0 0 18px;
  padding-left: 24px;
  color: var(--muted);
}

.legal-section li + li {
  margin-top: 8px;
}

.legal-section strong {
  color: var(--ink);
}

.legal-section a {
  color: var(--blue);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.legal-section p:last-child,
.legal-section ul:last-child {
  margin-bottom: 0;
}

.legal-list {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.legal-list strong {
  color: var(--ink);
}

.notice {
  color: #343b48;
  background: var(--blue-soft);
  border: 1px solid rgba(4, 33, 150, 0.12);
  border-radius: 16px;
  padding: 18px;
  font-weight: 650;
}

.site-footer {
  padding: 34px 0;
  color: rgba(255, 255, 255, 0.5);
  background: #020b2e;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.84rem;
}

.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
  font-size: 0.92rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

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

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .nav,
  .site-footer .container {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .nav {
    padding: 14px 0;
  }

  .logo {
    font-size: 0.86rem;
  }

  .logo-mark {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .back-link {
    width: 100%;
  }

  .hero {
    padding: 50px 0 30px;
  }

  .legal {
    padding: 38px 0 62px;
  }

  .legal-intro,
  .legal-section {
    padding: 22px;
  }
}
