:root {
  --blue: #0071e3;
  --blue-dk: #0077ed;
  --txt: #1d1d1f;
  --txt2: #6e6e73;
  --txt3: #86868b;
  --bg: #ffffff;
  --bg2: #f5f5f7;
  --border: #d2d2d7;
  --radius: 18px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "SF Pro Display",
    "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  background: #fff;
  color: #1d1d1f;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ─── GLOBAL NAVBAR ────────────────────────────
   52px height, blur backdrop, sin sombra  */
.navbar {
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  z-index: 9000;
  height: 52px;
  display: flex;
  align-items: center;
  padding: 0 22px;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: .5px solid rgba(0,0,0,.12);
}

.navbar.is-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.navbar__mark {
  font-size: 18px;
  font-weight: 700;
  color: var(--txt);
  letter-spacing: -.01em;
}

.navbar__links {
  display: flex;
  gap: 0;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.navbar__links a {
  font-size: 13px;
  font-weight: 400;
  color: var(--txt2);
  text-decoration: none;
  padding: 0 14px;
  transition: color .15s;
  white-space: nowrap;
}

.navbar__links a.active {
  color: var(--txt);
}

.navbar__links a:hover {
  color: var(--txt);
}

.navbar__end {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.navbar__cta {
  font-size: 13px;
  font-weight: 400;
  color: var(--blue);
  text-decoration: none;
  transition: opacity .15s;
}

.navbar__cta:hover {
  opacity: .7;
}

.navbar__toggle {
  display: none;
  margin-left: auto;
  width: 36px;
  height: 36px;
  border: none;
  background: none;
  padding: 0;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.navbar__toggle-line {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--txt);
  border-radius: 999px;
  transition: transform .2s ease, opacity .2s ease;
}

.navbar__toggle span + span {
  margin-top: 4px;
}

.mobile-nav {
  position: fixed;
  top: 52px;
  left: 0;
  right: 0;
  z-index: 8500;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 8px 22px 16px;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: .5px solid rgba(0,0,0,.12);
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  visibility: hidden;
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
}

.mobile-nav__overlay {
  position: fixed;
  inset: 52px 0 0 0;
  background: rgba(0, 0, 0, 0.24);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease, visibility .25s ease;
  z-index: 7990;
}

.mobile-nav__overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-nav a {
  display: block;
  width: 100%;
  padding: 16px 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--txt);
  text-decoration: none;
  border-bottom: .5px solid rgba(0,0,0,.08);
}

.mobile-nav a:last-child {
  border-bottom: none;
}

.mobile-nav.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  visibility: visible;
}

body.menu-open {
  overflow: hidden;
}

/* ─── FOOTER ─────────────────────────────────── */
footer {
  background: #f5f5f7;
  border-top: .5px solid var(--border);
  padding: 24px 22px;
}

.footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__copy {
  font-size: 12px;
  color: var(--txt3);
}

.footer__links {
  display: flex;
  gap: 20px;
}

.footer__links a {
  font-size: 12px;
  color: var(--txt3);
  text-decoration: none;
  transition: color .15s;
}

.footer__links a:hover {
  color: var(--txt2);
}

.footer__coords {
  font-size: 12px;
  color: var(--txt3);
  letter-spacing: .04em;
}

.legal-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 140px 22px 96px;
  color: var(--txt);
}

.legal-page h1 {
  font-size: clamp(40px, 7vw, 56px);
  line-height: 1.05;
  letter-spacing: -.02em;
  margin-bottom: 20px;
}

.legal-page h2 {
  font-size: clamp(24px, 4vw, 32px);
  line-height: 1.15;
  letter-spacing: -.015em;
  margin: 48px 0 16px;
}

.legal-page p,
.legal-page li {
  font-size: 17px;
  line-height: 1.7;
  color: var(--txt2);
}

.legal-page p + p {
  margin-top: 16px;
}

.legal-page ul {
  margin: 16px 0 0 20px;
}

.legal-page li + li {
  margin-top: 10px;
}

.legal-page a {
  color: var(--blue);
  text-decoration: none;
}

.legal-page a:hover {
  text-decoration: underline;
}

.legal-page__intro {
  font-size: 19px;
}

@media (max-width: 768px) {
  .navbar__links {
    display: none;
  }

  .navbar__end {
    display: none;
  }

  .navbar__toggle {
    display: inline-flex;
    flex-direction: column;
  }

  .legal-page {
    padding-top: 120px;
    padding-bottom: 80px;
  }
}

.kaux-maintenance {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: #00336e;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #f5f5f7;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, "Inter", sans-serif;
  text-align: center;
  padding: 24px;
}

.kaux-maintenance__logo {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  margin-bottom: 1.5rem;
}

.kaux-maintenance__title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.kaux-maintenance__subtitle {
  font-size: 1rem;
  opacity: 0.7;
}
