/* ── Wealthly shared nav ─────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

:root {
  --mono: 'Roboto', system-ui, sans-serif;
}

/* ── Top bar ─────────────────────────────────────────────────────────────── */
.wly-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 52px;
  background: #0a0a09;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  z-index: 200;
  font-family: 'Open Sans', system-ui, sans-serif;
  box-sizing: border-box;
}

.wly-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1148px;
  margin: 0 auto;
  padding: 0 24px;
}

.wly-nav__left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.wly-nav__hamburger {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  padding: 5px 7px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 0;
  transition: background 0.15s, color 0.15s;
  flex-shrink: 0;
}

.wly-nav__hamburger:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.wly-nav__wordmark {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-decoration: none;
  padding: 6px 0;
}

.wly-nav__right {
  display: flex;
  align-items: center;
}

/* Push page content below the fixed bar */
body {
  padding-top: 52px;
}

/* ── Overlay ─────────────────────────────────────────────────────────────── */
.wly-drawer__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.wly-drawer__overlay.wly-open {
  opacity: 1;
  pointer-events: auto;
}

/* ── Drawer ──────────────────────────────────────────────────────────────── */
.wly-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 280px;
  background: #0f0f0e;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 400;
  transform: translateX(-100%);
  transition: transform 0.25s ease;
  display: flex;
  flex-direction: column;
  font-family: 'Open Sans', system-ui, sans-serif;
}

.wly-drawer.wly-open {
  transform: translateX(0);
}

.wly-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
  padding: 0 16px 0 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  flex-shrink: 0;
}

.wly-drawer__wordmark {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-decoration: none;
}

.wly-drawer__close {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  cursor: pointer;
  padding: 6px;
  color: rgba(255, 255, 255, 0.55);
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.wly-drawer__close:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.wly-drawer__links {
  list-style: none;
  margin: 0;
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow-y: auto;
}

.wly-drawer__link {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  padding: 9px 12px;
  border-radius: 7px;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}

.wly-drawer__link:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
}

.wly-drawer__link--active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

/* ── Mobile adjustments ──────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .wly-nav__inner {
    padding: 0 16px;
  }

  .wly-drawer {
    width: 260px;
  }
}
