/* ==========================================================================
   BDI — shared site styles (reset, typography, nav, buttons, footer)
   Page-specific styles live in each page's inline <style>, which loads after
   this file and can override anything here.
   ========================================================================== */

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

body {
  background: var(--bg, #FFFFFF);
  color: var(--text, #050505);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s;
}

a:hover {
  opacity: 0.7;
}

*:focus-visible {
  outline: 2px solid #000;
  outline-offset: 4px;
  border-radius: 4px;
}

h1,
h2,
h3,
h4 {
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-soft, #555555);
  letter-spacing: -0.01em;
}

.container {
  width: var(--container-width, 92%);
  max-width: var(--max-width, 1400px);
  margin: 0 auto;
}

.badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 100px;
  background: #F4F4F4;
  border: 1px solid var(--border, rgba(0, 0, 0, 0.06));
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
  color: #111;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  background: #111;
  color: #fff;
  border-radius: 100px;
  font-weight: 500;
  font-size: 14px;
  transition: transform 0.2s var(--ease, ease);
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.btn:hover {
  transform: scale(1.02);
  opacity: 1;
}

/* --- NAV --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding: 20px 0;
}

.nav__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__brand img {
  height: 26px;
  width: auto;
  display: block;
}

.nav__links {
  display: flex;
  gap: 40px;
  align-items: center;
}

.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-soft, #555555);
  transition: color 0.3s ease;
}

.nav__link:hover {
  color: #000;
  opacity: 1;
}

.nav__btn {
  padding: 10px 20px;
  font-size: 13px;
  background: #000;
  color: #fff;
  font-weight: 500;
}

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: #050505;
  padding: 10px;
  margin-right: -10px;
}

.nav__toggle svg {
  width: 24px;
  height: 24px;
}

.nav__toggle-close {
  display: none;
}

.nav.menu-open .nav__toggle-open {
  display: none;
}

.nav.menu-open .nav__toggle-close {
  display: block;
}

.nav__mobile {
  display: none;
  flex-direction: column;
  padding: 8px 4% 20px;
  background: rgba(255, 255, 255, 0.97);
}

.nav.menu-open .nav__mobile {
  display: flex;
}

.nav__mobile-link {
  padding: 14px 8px;
  font-size: 16px;
  font-weight: 500;
  color: #050505;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav__mobile-link--cta {
  color: #fff;
  background: #111;
  border-radius: 100px;
  text-align: center;
  margin-top: 16px;
  border-bottom: none;
  padding: 14px 20px;
}

/* --- FOOTER --- */
.footer {
  padding: 80px 0 40px 0;
  border-top: 1px solid var(--border, rgba(0, 0, 0, 0.06));
  color: var(--text, #050505);
  background: #fff;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 60px;
}

.footer__brand {
  max-width: 300px;
}

.footer__logo {
  height: 22px;
  width: auto;
  margin-bottom: 16px;
  display: block;
}

.footer__brand p {
  font-size: 0.9rem;
  color: var(--text-soft, #555555);
  margin-bottom: 20px;
}

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

.footer__column h4 {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  color: var(--text, #050505);
}

.footer__column ul {
  list-style: none;
}

.footer__column ul li {
  margin-bottom: 12px;
}

.footer__column ul li a {
  font-size: 0.9rem;
  color: var(--text-soft, #555555);
  transition: color 0.3s ease;
}

.footer__column ul li a:hover {
  color: var(--text, #050505);
  opacity: 1;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 12px;
  color: var(--text-soft, #555555);
}

/* --- SHARED RESPONSIVE --- */
@media (max-width: 900px) {
  .nav__links {
    display: none;
  }

  .nav__toggle {
    display: inline-flex;
  }

  .footer__top {
    flex-direction: column;
    gap: 40px;
  }

  .footer__links {
    flex-direction: column;
    gap: 30px;
    width: 100%;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  a,
  .btn {
    transition: none;
  }
}
