/* Shared nav + footer, copied verbatim from index.html */
:root{--font-display:'Outfit',system-ui,sans-serif;--font-body:'Outfit',system-ui,sans-serif;--shadow:0 24px 80px rgba(0,0,0,0.45);}
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 500;
  height: 72px;
  padding: 0 clamp(20px, 4vw, 48px);
  display: flex; align-items: center; justify-content: space-between;
  transition: all 0.5s var(--ease);
}
nav.scrolled {
  height: 64px;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--text);
  z-index: 2;
}
.nav-logo-img {
  width: 36px; height: 36px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}
/* theme-swapped logo layers */
.nav-logo-img-wrap {
  position: relative;
  width: 36px; height: 36px;
  flex-shrink: 0;
}
.nav-logo-img-wrap img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  filter: none;
  transition: opacity 0.35s var(--ease);
}
.nav-logo-img-wrap .logo-white { opacity: 1; }
.nav-logo-img-wrap .logo-black { opacity: 0; }
[data-theme="light"] .nav-logo-img-wrap .logo-white { opacity: 0; }
[data-theme="light"] .nav-logo-img-wrap .logo-black { opacity: 1; }
.loader-logo-wrap {
  position: relative;
  width: 72px; height: 72px;
}
.loader-logo-wrap img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  filter: none;
  transition: opacity 0.35s var(--ease);
}
.loader-logo-wrap .logo-white { opacity: 1; }
.loader-logo-wrap .logo-black { opacity: 0; }
[data-theme="light"] .loader-logo-wrap .logo-white { opacity: 0; }
[data-theme="light"] .loader-logo-wrap .logo-black { opacity: 1; }
.nav-logo-text {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.nav-logo-text span { opacity: 0.5; font-weight: 400; }
.nav-links {
  display: flex; align-items: center; gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--text); }
.nav-right {
  display: flex; align-items: center; gap: 10px;
}
.ctrl-btn {
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text);
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 999px;
  display: inline-flex; align-items: center; gap: 6px;
  transition: all 0.3s var(--ease);
}
.ctrl-btn:hover {
  border-color: var(--text);
  background: var(--text);
  color: var(--accent-inv);
}
.ctrl-btn svg { width: 14px; height: 14px; }
.lang-toggle {
  display: flex; align-items: center;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  overflow: hidden;
  height: 36px;
}
.lang-toggle button {
  border: none; background: transparent;
  color: var(--muted);
  font-family: 'Outfit', sans-serif;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.08em;
  padding: 0 12px;
  height: 100%;
  cursor: pointer;
  transition: all 0.3s;
}
.lang-toggle button.active {
  background: var(--text);
  color: var(--accent-inv);
}
.nav-cta {
  height: 44px;
  padding: 0 22px;
  background: var(--text);
  color: var(--accent-inv);
  border: none;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: none;
  text-decoration: none;
  display: inline-flex; align-items: center;
  white-space: nowrap;
  transition: all 0.35s var(--ease);
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(255,255,255,0.12) inset;
}
.nav-cta:hover { transform: translateY(-1px); opacity: 0.92; box-shadow: var(--shadow); }
.menu-toggle {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--border-strong);
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
}
.menu-toggle span {
  position: absolute; left: 11px; right: 11px;
  height: 1px; background: var(--text);
  transition: all 0.3s;
}
.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 20px; }
.menu-toggle span:nth-child(3) { top: 25px; }
nav.open .menu-toggle span:nth-child(1) { top: 20px; transform: rotate(45deg); }
nav.open .menu-toggle span:nth-child(2) { opacity: 0; }
nav.open .menu-toggle span:nth-child(3) { top: 20px; transform: rotate(-45deg); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px;
  padding: 0 32px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.4s var(--ease);
}
.btn-primary {
  background: var(--text);
  color: var(--accent-inv);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover {
  border-color: var(--text);
  background: var(--text);
  color: var(--accent-inv);
}
footer {
  border-top: 1px solid var(--border);
  padding: 48px clamp(24px, 5vw, 80px) 36px;
  position: relative;
  z-index: 2;
}
.footer-top {
  max-width: 1200px;
  margin: 0 auto 40px;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.footer-brand {
  max-width: 360px;
}
.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-brand p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
  font-weight: 300;
}
.footer-links {
  display: flex; gap: 48px; flex-wrap: wrap;
}
.footer-col h4 {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted2);
  margin-bottom: 16px;
  font-weight: 500;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-soft);
  text-decoration: none;
  margin-bottom: 10px;
  font-weight: 300;
  transition: color 0.3s;
}
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  align-items: flex-start;
}
.footer-disclaimer {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted2);
  font-weight: 300;
  max-width: 720px;
}
.footer-copy {
  font-size: 12px;
  color: var(--muted2);
  font-weight: 300;
  white-space: nowrap;
}
/* Mobile nav */
.mobile-panel {
  display: none;
  position: fixed; inset: 0;
  background: var(--bg);
  z-index: 400;
  padding: 100px 28px 40px;
  flex-direction: column;
  gap: 8px;
}
nav.open + .mobile-panel { display: flex; }
.mobile-panel a {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 300;
  color: var(--text);
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.mobile-panel .mobile-cta {
  color: var(--accent-inv);
  border-bottom: none;
  margin-top: 24px;
  text-align: center;
  height: 52px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) { .nav-links { display: none; } .menu-toggle { display: block; } }
@media (max-width: 768px) { .nav-cta { display: none; } .footer-top { flex-direction: column; } .footer-bottom { flex-direction: column; } }
