*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --black: #171717;
  --white: #ffffff;
  --gray-900: #171717;
  --gray-600: #4d4d4d;
  --gray-500: #666666;
  --gray-400: #808080;
  --gray-100: #ebebeb;
  --gray-50: #fafafa;
  --accent-blue: #0072f5;
  --accent-red: #ff5b4f;
  --focus-blue: hsla(212, 100%, 48%, 1);
  --shadow-border: rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
  --shadow-card: rgba(0,0,0,0.08) 0px 0px 0px 1px, rgba(0,0,0,0.04) 0px 2px 2px, #fafafa 0px 0px 0px 1px;
  --shadow-card-hover: rgba(0,0,0,0.08) 0px 0px 0px 1px, rgba(0,0,0,0.06) 0px 4px 4px, rgba(0,0,0,0.04) 0px 12px 16px -8px;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  color: var(--black);
  background: var(--white);
  line-height: 1.56;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent-blue); text-decoration: none; transition: opacity .15s; }
a:hover { opacity: .7; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--black);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.3px;
}
.nav__logo-icon {
  width: 32px; height: 32px;
  background: var(--black); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-family: var(--font-mono);
  font-size: 14px; font-weight: 600;
}
.nav__links { display: flex; align-items: center; gap: 32px; }
.nav__link {
  font-size: 14px; font-weight: 500;
  color: var(--black); text-decoration: none;
  transition: opacity .15s;
}
.nav__link:hover { opacity: .55; color: var(--black); }
.nav__cta {
  display: inline-flex; align-items: center;
  padding: 8px 16px; background: var(--black);
  color: white; font-size: 14px; font-weight: 500;
  border-radius: 6px; border: none; cursor: pointer;
  text-decoration: none; transition: all .15s;
}
.nav__cta:hover { opacity: .85; color: white; transform: translateY(-1px); }
.nav__menu-btn {
  display: none; width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border: none; background: transparent; cursor: pointer;
  border-radius: 8px; font-size: 20px; color: var(--black);
}
@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__menu-btn { display: flex; }
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: white;
  padding: 80px 32px 40px;
}
.mobile-menu.active { display: block; }
.mobile-menu__link {
  display: block;
  font-size: 22px;
  font-weight: 600;
  color: var(--black);
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-100);
  letter-spacing: -0.3px;
}
.mobile-menu__close {
  position: absolute;
  top: 18px; right: 18px;
  width: 40px; height: 40px;
  border: none; background: var(--gray-50);
  border-radius: 8px; font-size: 20px;
  cursor: pointer; display: flex;
  align-items: center; justify-content: center;
  color: var(--black);
}

.footer {
  border-top: 1px solid var(--gray-100);
  padding: 40px 0;
  text-align: center;
}
.footer p { font-size: 13px; color: var(--gray-400); }
