:root {
  --site-bg: #FFFFFF;
  --site-ink: #0A0A0A;
  --site-ink-soft: #3A3D42;
  --site-muted: #6B7280;
  --site-line: #E5E7EB;
  --site-accent: #2563EB;
  --site-accent-soft: #EFF4FE;
  --site-dark: #0A0A0A;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 82px;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--site-bg);
  color: var(--site-ink);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.site-header,
.site-footer,
.site-header *,
.site-footer * {
  box-sizing: border-box;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--site-line);
}

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

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--site-ink);
  text-decoration: none;
  flex: 0 0 auto;
}

.site-logo__mark {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: var(--site-ink);
  color: #fff;
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1;
}

.site-logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.04;
}

.site-logo__wordmark {
  font-size: 1.08rem;
  font-weight: 900;
  letter-spacing: -.03em;
}

.site-logo__tagline {
  margin-top: 3px;
  color: var(--site-muted);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .02em;
}

.site-nav__links,
.site-nav__right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-nav__links {
  justify-content: center;
  min-width: 0;
}

.site-nav__links a,
.site-mobile-menu a {
  color: var(--site-ink-soft);
  font-size: .86rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s, background .2s, border-color .2s;
}

.site-nav__links a:hover,
.site-nav__links a.active,
.site-mobile-menu a:hover,
.site-mobile-menu a.active {
  color: var(--site-accent);
}

.site-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 11px;
  padding: 11px 18px;
  font-family: inherit;
  font-size: .86rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition: transform .25s, box-shadow .25s, background .25s;
}

.site-btn--primary {
  background: var(--site-accent);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(37, 99, 235, .6);
}

.site-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -10px rgba(37, 99, 235, .7);
}

.site-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--site-line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}

.site-menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 99px;
  background: var(--site-ink);
  transition: transform .2s, opacity .2s;
}

.site-menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.site-menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-mobile-menu {
  border-top: 1px solid var(--site-line);
  padding: 14px 24px 22px;
  background: #fff;
  box-shadow: 0 22px 40px -32px rgba(10, 10, 10, .32);
}

.site-mobile-menu[hidden] {
  display: none !important;
}

.site-mobile-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  border-bottom: 1px solid rgba(229, 231, 235, .75);
}

.site-mobile-menu .site-btn {
  margin-top: 14px;
  min-height: 46px;
  color: #fff;
  border-bottom: 0;
}

.site-footer {
  padding: 58px 0 24px;
  background: var(--site-dark);
  color: #fff;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.15fr) repeat(3, minmax(140px, .75fr));
  gap: 34px;
  align-items: start;
}

.site-logo--footer {
  color: #fff;
}

.site-logo--footer .site-logo__mark {
  background: #fff;
  color: var(--site-ink);
}

.site-logo--footer .site-logo__tagline,
.site-footer__brand p,
.site-footer__bottom {
  color: rgba(255, 255, 255, .56);
}

.site-footer__brand p {
  max-width: 32ch;
  margin-top: 18px;
  font-size: .94rem;
  font-weight: 500;
  line-height: 1.65;
}

.site-footer__col h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.site-footer__col a {
  display: block;
  width: fit-content;
  color: rgba(255, 255, 255, .62);
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  margin: 0 0 10px;
  transition: color .2s;
}

.site-footer__col a:hover {
  color: #fff;
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .82rem;
  font-weight: 600;
}

@media (max-width: 980px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .site-nav {
    min-height: 64px;
  }

  .site-nav__links,
  .site-nav__right .site-btn {
    display: none;
  }

  .site-menu-toggle {
    display: inline-flex;
  }
}

@media (max-width: 640px) {
  .site-logo__tagline {
    display: none;
  }

  .site-logo__wordmark {
    font-size: 1rem;
  }

  .site-logo__mark {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  .site-footer {
    margin-top: 56px;
    padding-top: 42px;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .site-footer__bottom {
    flex-direction: column;
    gap: 8px;
  }
}


/* Legal pages */
.legal-page {
  background: #fff;
}

.legal-main,
.legal-main * {
  box-sizing: border-box;
}

.legal-hero {
  padding: 72px 0 34px;
  background:
    radial-gradient(circle at 12% 15%, rgba(37, 99, 235, .12), transparent 34%),
    linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
  border-bottom: 1px solid rgba(229, 231, 235, .8);
}

.legal-hero__inner {
  max-width: 920px;
}

.legal-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--site-muted);
  font-size: .82rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.legal-breadcrumbs a {
  color: var(--site-ink-soft);
  text-decoration: none;
}

.legal-breadcrumbs a:hover {
  color: var(--site-accent);
}

.legal-kicker {
  display: inline-flex;
  align-items: center;
  margin: 0 0 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--site-accent-soft);
  color: var(--site-accent);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.legal-hero h1 {
  max-width: 780px;
  margin: 0;
  color: var(--site-ink);
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  line-height: .96;
  letter-spacing: -.06em;
  font-weight: 900;
}

.legal-lead {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--site-ink-soft);
  font-size: 1.06rem;
  line-height: 1.75;
  font-weight: 500;
}

.legal-updated {
  margin: 18px 0 0;
  color: var(--site-muted);
  font-size: .9rem;
  font-weight: 700;
}

.legal-content-section {
  padding: 44px 0 26px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

.legal-aside {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--site-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 60px -50px rgba(10, 10, 10, .35);
}

.legal-aside a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 11px 13px;
  border-radius: 13px;
  color: var(--site-ink-soft);
  font-size: .9rem;
  font-weight: 800;
  text-decoration: none;
  transition: background .2s, color .2s;
}

.legal-aside a:hover,
.legal-aside a.active {
  background: var(--site-accent-soft);
  color: var(--site-accent);
}

.legal-article {
  min-width: 0;
  padding: 34px;
  border: 1px solid var(--site-line);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 24px 70px -56px rgba(10, 10, 10, .35);
}

.legal-note {
  margin: 0 0 30px;
  padding: 16px 18px;
  border: 1px solid rgba(37, 99, 235, .16);
  border-radius: 18px;
  background: var(--site-accent-soft);
  color: #1F2937;
  font-size: .92rem;
  line-height: 1.65;
  font-weight: 500;
}

.legal-section + .legal-section {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--site-line);
}

.legal-section h2 {
  margin: 0 0 14px;
  color: var(--site-ink);
  font-size: 1.26rem;
  line-height: 1.25;
  letter-spacing: -.03em;
  font-weight: 900;
}

.legal-section p {
  margin: 0;
  color: var(--site-ink-soft);
  font-size: .98rem;
  line-height: 1.82;
  font-weight: 500;
}

.legal-section p + p {
  margin-top: 12px;
}

@media (max-width: 860px) {
  .legal-hero {
    padding: 52px 0 28px;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .legal-aside {
    position: static;
    grid-template-columns: 1fr;
  }

  .legal-article {
    padding: 24px;
    border-radius: 22px;
  }
}

@media (max-width: 560px) {
  .legal-hero h1 {
    font-size: clamp(2rem, 13vw, 3.2rem);
  }

  .legal-lead {
    font-size: .98rem;
  }

  .legal-content-section {
    padding-top: 28px;
  }

  .legal-article {
    padding: 20px;
  }
}

/* Language switcher — i18n foundation */
.site-lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 4px;
  border: 1px solid rgba(229, 231, 235, .9);
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
}

.site-lang-switcher a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 28px;
  padding: 0 9px;
  border-radius: 999px;
  color: var(--site-muted);
  font-size: .72rem;
  font-weight: 900;
  text-decoration: none;
  line-height: 1;
}

.site-lang-switcher a:hover,
.site-lang-switcher a.active {
  background: var(--site-ink);
  color: #fff;
}

.site-mobile-lang-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 0 4px;
}

.site-mobile-lang-switcher a {
  min-height: 36px;
  justify-content: center;
  width: auto;
  min-width: 52px;
  padding: 0 14px;
  border: 1px solid rgba(229, 231, 235, .95);
  border-radius: 999px;
  background: #fff;
  color: var(--site-ink-soft);
  font-size: .78rem;
  font-weight: 900;
}

.site-mobile-lang-switcher a.active {
  background: var(--site-ink);
  color: #fff;
  border-color: var(--site-ink);
}

@media (max-width: 1120px) {
  .site-lang-switcher {
    display: none;
  }
}
