*,
*::before,
*::after { box-sizing: border-box; }

:root {
  --bg: #f7fbff;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: #ffffff;
  --text: #0f172a;
  --muted: #5b6b85;
  --line: rgba(151, 179, 224, 0.28);
  --blue: #2563eb;
  --blue-dark: #1849b8;
  --blue-soft: #dbeafe;
  --shadow: 0 20px 60px rgba(37, 99, 235, 0.10);
  --shadow-soft: 0 14px 34px rgba(15, 23, 42, 0.06);
  --container: 1180px;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Poppins", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.10), transparent 26%),
    radial-gradient(circle at right top, rgba(96, 165, 250, 0.10), transparent 20%),
    linear-gradient(180deg, #fbfdff 0%, #f6faff 100%);
  line-height: 1.7;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  background: rgba(247, 251, 255, 0.78);
  border-bottom: 1px solid rgba(151, 179, 224, 0.16);
}

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

.brand {
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  color: var(--muted);
  font-weight: 500;
}

.nav a:hover { color: var(--text); }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 10px;
  color: #64748b;
  font-weight: 600;
  font-size: 0.92rem;
  transition: 0.2s ease;
}

.lang:hover {
  background: rgba(37, 99, 235, 0.08);
  color: #2563eb;
}

.lang.active {
  background: rgba(37, 99, 235, 0.12);
  color: #2563eb;
}

.flag {
  font-size: 1rem;
  line-height: 1;
}

.lang-code {
  line-height: 1;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.85);
  border-radius: 16px;
  padding: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  margin: 5px auto;
  border-radius: 999px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  min-height: 52px;
  padding: 14px 22px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: .2s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), #4f8cff);
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.24);
}

.btn-primary:hover { background: linear-gradient(135deg, var(--blue-dark), var(--blue)); }

.section {
  padding: 92px 0;
}

.legal-hero {
  position: relative;
  padding: 84px 0 24px;
  overflow: hidden;
}

.legal-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(191, 219, 254, 0.62), transparent 18%),
    radial-gradient(circle at 80% 10%, rgba(219, 234, 254, 0.8), transparent 16%);
  pointer-events: none;
}

.legal-hero-inner {
  position: relative;
}

.label {
  display: inline-flex;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.09);
  color: var(--blue);
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 16px;
}

h1, h2, h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  max-width: 14ch;
}

h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 14px;
}

h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.legal-subtitle,
.legal-card p,
.legal-card li,
.legal-card address,
.footer-inner p {
  color: var(--muted);
}

.legal-subtitle {
  max-width: 70ch;
  font-size: 1.05rem;
  margin-top: 10px;
}

.legal-content {
  display: grid;
  gap: 22px;
}

.legal-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(255,255,255,0.86));
  border: 1px solid rgba(151, 179, 224, 0.18);
  box-shadow: var(--shadow);
  border-radius: 28px;
  padding: 28px;
}

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

.legal-card address {
  font-style: normal;
}

.legal-card ul {
  margin: 10px 0 0 0;
  padding-left: 20px;
}

.legal-card li + li {
  margin-top: 6px;
}

.site-footer {
  padding: 22px 0 36px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid rgba(151, 179, 224, 0.18);
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.mobile-callbar {
  display: none;
}

@media (max-width: 860px) {
  .menu-toggle { display: inline-block; }
  .desktop-cta { display: none; }

  .nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 12px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(151, 179, 224, 0.22);
    box-shadow: var(--shadow);
  }

  .nav a {
    width: 100%;
    padding: 12px 10px;
    border-radius: 14px;
  }

  .nav.nav-open { display: flex; }
}

@media (max-width: 640px) {
  .header-inner { min-height: 74px; }
  .section { padding: 68px 0; }
  .legal-hero { padding-top: 46px; }
  .legal-card { border-radius: 22px; padding: 22px; }

  .mobile-callbar {
    display: block;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 120;
  }

  .mobile-callbar a {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 54px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--blue), #4f8cff);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 16px 34px rgba(37, 99, 235, 0.28);
  }

  .site-footer { padding-bottom: 92px; }
  .footer-inner { flex-direction: column; }
}
