@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap');

:root {
  --sectionY: 120px;
  --sectionY-tight: 80px;
  --bg0: #050508;
  --bg1: #0A0B12;
  --bg2: #121420;
  --card: rgba(255, 255, 255, 0.03);
  --stroke: rgba(255, 255, 255, 0.08);
  --text: rgba(255, 255, 255, 0.9);
  --muted: rgba(255, 255, 255, 0.55);
  --accent: #ffffff;
  --accent-glow: rgba(0, 150, 255, 0.15);
  --radius: 16px;
  --max: 1200px;
  --pad: 24px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--bg0);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  width: min(var(--max), calc(100% - 2 * var(--pad)));
  margin-inline: auto;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(5, 5, 8, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--stroke);
  transition: background 0.3s var(--ease);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.brand { display: flex; align-items: center; }
.brand__logo { height: 32px; width: auto; }
.nav { display: flex; gap: 32px; align-items: center; }
.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}
.nav__link:hover { color: var(--text); }
.topbar__actions { display: flex; gap: 12px; align-items: center; }

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--stroke);
  background: var(--card);
  transition: all 0.2s var(--ease);
  cursor: pointer;
}
.pill:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}
.pill--primary {
  background: var(--text);
  color: var(--bg0);
  border-color: var(--text);
}
.pill--primary:hover {
  background: #e0e0e0;
  color: var(--bg0);
}

.burger {
  display: none;
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  cursor: pointer;
  position: relative;
}
.burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  position: absolute;
  left: 10px;
  transition: 0.3s;
}
.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 24px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-5px) rotate(-45deg); }

.mobileNav {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg0);
  z-index: 99;
  padding: 24px;
}
.mobileNav.is-open { display: block; }
.mobileNav__link {
  display: block;
  font-size: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--stroke);
  color: var(--text);
}

.section { padding: var(--sectionY) 0; }
.sectionHead { max-width: 800px; margin-bottom: 64px; }
.eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
  display: block;
  margin-bottom: 16px;
}
.h2 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.sub {
  font-size: 18px;
  color: var(--muted);
  margin-top: 24px;
  max-width: 600px;
}

.footer {
  padding: 60px 0;
  border-top: 1px solid var(--stroke);
  background: var(--bg1);
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
}
.footer__logo { height: 24px; margin-bottom: 16px; }
.footer__text { color: var(--muted); font-size: 14px; max-width: 300px; }
.footer__links { display: flex; gap: 24px; }
.footer__link { font-size: 14px; color: var(--muted); transition: color 0.2s; }
.footer__link:hover { color: var(--text); }
.footer__bottom {
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid var(--stroke);
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 768px) {
  .nav { display: none; }
  .topbar__actions .pill { display: none; }
  .burger { display: block; }
  .footer__inner { flex-direction: column; }
}
