:root {
  --we-blue: #35bbcf;
  --we-blue-dark: #289fb1;
  --we-ink: #01071a;
  --we-text: #272727;
  --we-muted: #666b73;
  --we-line: #e4e6e8;
  --we-soft: #f2f2f2;
  --we-white: #ffffff;
  --we-green: #0bdea4;
  --we-container: 1200px;
  --we-gutter: clamp(20px, 3vw, 32px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--we-text);
  background: var(--we-white);
  font-family: Manrope, Arial, sans-serif;
  overflow-x: hidden;
}

a { color: inherit; }

.we-header {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: 74px;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
}

.we-header__inner,
.we-footer__inner,
.legacy-wrap {
  width: min(var(--we-container), calc(100% - (var(--we-gutter) * 2)));
  margin: 0 auto;
}

.we-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 74px;
}

.we-logo {
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 28px;
  color: var(--we-ink);
  text-decoration: none;
  line-height: 1;
}

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

.we-nav a {
  text-decoration: none;
  font-weight: 650;
  font-size: 15px;
  color: var(--we-ink);
}

.we-langs {
  display: flex;
  align-items: center;
  gap: 6px;
}

.we-langs a {
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 6px 8px;
  border-radius: 999px;
  color: var(--we-ink);
}

.we-langs a[aria-current="true"] {
  background: var(--we-blue);
  color: white;
}

.we-menu-btn {
  display: none;
  border: 0;
  background: transparent;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  cursor: pointer;
}

.we-menu-btn span,
.we-menu-btn span::before,
.we-menu-btn span::after {
  display: block;
  height: 2px;
  width: 18px;
  background: var(--we-blue);
  position: relative;
}

.we-menu-btn span::before,
.we-menu-btn span::after {
  content: "";
  position: absolute;
  left: 0;
}

.we-menu-btn span::before { top: -6px; }
.we-menu-btn span::after { top: 6px; }

.we-footer {
  background: var(--we-ink);
  color: white;
  padding: 48px 0 28px;
}

.we-footer a { color: white; text-decoration: none; }
.we-footer__inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.we-footer__links { display: flex; gap: 18px; flex-wrap: wrap; font-weight: 600; }
.we-footer small { color: rgba(255,255,255,.7); }

.legacy-wrap { padding: 48px 0 80px; }
.legacy-wrap h1 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--we-ink);
  margin: 0 0 24px;
}
.legacy-body { font-size: 18px; line-height: 1.65; }
.legacy-body img { max-width: 100%; height: auto; }
.legacy-body a { color: var(--we-blue-dark); }

@media (max-width: 800px) {
  .we-menu-btn { display: grid; place-items: center; }
  .we-nav {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--we-line);
  }
  .we-nav.is-open { display: flex; }
}
