/* ─── DESIGN TOKENS ─── */
:root {
  --black:        #000000;
  --bg-0:         #ffffff;
  --bg-1:         #fafafa;
  --bg-2:         #f4f4f5;
  --border-0:     #e4e4e7;
  --border-1:     #d1d1d6;
  --white:        #000000;
  --gray-400:     #52525b;
  --gray-500:     #71717a;
  --gray-600:     #a1a1aa;
  --gray-700:     #d4d4d8;
  --green:        #16a34a;
  --radius-xs:    4px;
  --radius-sm:    8px;
  --radius-md:    12px;
  --radius-lg:    16px;
  --radius-xl:    20px;
  --radius-pill:  100px;
  --max-w:        1160px;
  --pad-x:        40px;
}

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

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-0);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  transition: all 0.18s ease;
  letter-spacing: -0.01em;
}
.btn-white {
  background: var(--black);
  color: #ffffff;
  padding: 11px 22px;
  border-radius: var(--radius-pill);
}
.btn-white:hover { background: #27272a; }
.btn-ghost {
  background: transparent;
  color: var(--gray-400);
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-1);
}
.btn-ghost:hover { border-color: #a1a1aa; color: var(--black); }
.btn-lg { font-size: 0.95rem; padding: 14px 30px; }

/* ─── HEADER (promo + nav) ─── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid var(--border-0);
}
.promo-bar {
  background: #dc2626;
  color: #ffffff;
  text-align: center;
  padding: 8px var(--pad-x);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}
nav {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 16px var(--pad-x);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  transition: padding 0.3s ease;
}
.site-header.scrolled .promo-bar { display: none; }
.site-header.scrolled nav {
  padding-top: 13px;
  padding-bottom: 13px;
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  flex-shrink: 0;
}
.nav-logo img { height: 26px; width: auto; display: block; }
.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--gray-500);
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--white); }
.nav-actions { display: flex; align-items: center; gap: 18px; }
.nav-link-action {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--gray-500);
  transition: color 0.15s ease;
}
.nav-link-action:hover { color: var(--white); }
.nav-desktop-only { display: inline-flex; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white);
  border-radius: 2px;
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg-0);
  z-index: 1500;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.mobile-menu.open { display: flex; }
.mobile-menu-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: 36px;
}
.mobile-menu a {
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--gray-400);
  transition: color 0.15s ease;
  padding: 8px 0;
}
.mobile-menu a:hover { color: var(--white); }
.mobile-menu-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
  width: 240px;
}
.mobile-menu-btns .btn {
  width: 100%;
  justify-content: center;
  padding: 14px 22px;
  font-size: 0.95rem;
  box-sizing: border-box;
}
.mobile-menu-btns .btn-white,
.mobile-menu-btns .btn-white:hover { color: #ffffff; }
.mobile-menu-close {
  position: absolute;
  top: 22px; right: 24px;
  background: none;
  border: 1px solid var(--border-0);
  color: var(--gray-400);
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.15s;
}
.mobile-menu-close:hover { background: var(--bg-2); }

/* ─── FOOTER ─── */
footer {
  border-top: 1px solid var(--border-0);
  padding: 60px var(--pad-x) 36px;
}
.footer-inner { max-width: var(--max-w); margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 80px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--border-0);
  margin-bottom: 28px;
}
.footer-logo { line-height: 0; margin-bottom: 10px; }
.footer-logo img { height: 22px; width: auto; display: block; }
.footer-tagline { font-size: 0.8rem; color: var(--gray-600); max-width: 180px; }
.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-col h4 {
  font-size: 0.68rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--gray-600); margin-bottom: 14px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col ul li a { font-size: 0.82rem; color: var(--gray-600); transition: color 0.15s ease; }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-copy { font-size: 0.76rem; color: var(--gray-700); }
.footer-socials { display: flex; gap: 10px; }
.social-link {
  width: 32px; height: 32px; border-radius: var(--radius-sm);
  border: 1px solid var(--border-0);
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.15s, background 0.15s;
}
.social-link:hover { border-color: var(--border-1); background: var(--bg-2); }
.social-link svg { width: 14px; height: 14px; fill: var(--gray-500); transition: fill 0.15s; }
.social-link:hover svg { fill: var(--white); }

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  :root { --pad-x: 24px; }
  nav { grid-template-columns: auto 1fr auto; }
  .nav-links { display: none; }
  .nav-desktop-only { display: none !important; }
  .nav-hamburger { display: flex; }
  .nav-actions { grid-column: 3; justify-self: end; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .site-header.scrolled .promo-bar { display: none; }
}
@media (max-width: 480px) {
  .footer-nav { grid-template-columns: 1fr; }
}
