main { text-align: left; }

nav {
  position: sticky;
  top: 0;
  z-index: 2002;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  background: #FDFBF5;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, backdrop-filter 0.2s, background 0.2s;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  padding: 0 24px;
  margin: 0 auto;
}
nav.scrolled {
  border-color: #e0e0e0;
  background: rgba(253, 251, 245, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nav-wordmark {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: #1a1a1a;
  text-decoration: none;
  font-family: 'Inter', system-ui, sans-serif;
}
.nav-wordmark span { color: #06B6D4; }
@media (min-width: 960px) {
  .nav-wordmark img { content: url('/icons/bv_woodmark_black_full.svg'); height: 32px; }
}

.nav-links {
  display: none;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: #1a1a1a;
  text-decoration: none;
  font-family: 'Inter', system-ui, sans-serif;
  transition: color 0.15s;
}
.nav-links a:hover { color: #06B6D4; }
@media (min-width: 960px) {
  .nav-links { display: flex; }
}

.nav-burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-burger span { display: block; width: 20px; height: 2px; background: #1a1a1a; transition: transform 0.3s ease, opacity 0.3s ease; }
.nav-burger span + span { margin-top: 5px; }
.nav-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 960px) {
  .nav-burger { display: none; }
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1999;
}
.nav-overlay.open { display: block; }

.nav-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 2000;
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  padding: 80px 24px 24px;
  box-sizing: border-box;
  font-family: 'Inter', system-ui, sans-serif;
}
.nav-panel.open { transform: translateY(0); }

.nav-panel-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  display: flex;
  align-items: center;
  padding: 0 24px;
  background: #fff;
  z-index: 2001;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0s;
}
.nav-panel-header.open {
  opacity: 1;
  pointer-events: auto;
}
.nav-panel-wordmark {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: #1a1a1a;
  text-decoration: none;
}


.nav-panel-ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.nav-btn-primary {
  display: block;
  text-align: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  background: #1a1a1a;
  color: #fff;
  transition: opacity 0.15s;
  box-sizing: border-box;
  font-family: 'Inter', system-ui, sans-serif;
}
.nav-btn-primary:hover { opacity: 0.88; }
.nav-btn-ghost {
  display: block;
  text-align: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  background: transparent;
  color: #1a1a1a;
  border: 1px solid #1a1a1a;
  transition: border-color 0.15s;
  box-sizing: border-box;
  font-family: 'Inter', system-ui, sans-serif;
}
.nav-btn-ghost:hover { border-color: #666; }

.nav-btn-try { display: none; }
@media (min-width: 960px) {
  .nav-btn-try {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
    background: #1a1a1a;
    border: 1px solid #1a1a1a;
    font-family: 'Inter', system-ui, sans-serif;
    transition: opacity 0.15s;
  }
  .nav-btn-try:hover { opacity: 0.85; }
  .nav-links a.nav-btn-try { color: #fff; }
}

.nav-panel-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 0;
}
.nav-panel-links a {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
  text-decoration: none;
  padding: 10px 0;
  font-family: 'Inter', system-ui, sans-serif;
}
.nav-panel-divider {
  height: 1px;
  background: #e0e0e0;
  margin: 16px 0;
}

.article-pill {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(0,0,0,0.07);
  color: rgba(0,0,0,0.45);
  position: relative;
  top: -1px;
}
