/* ───────── BYCRANES — design tokens & base ───────── */
:root {
  --bg: #FAFAFA;
  --surface: #FFFFFF;
  --surface-alt: #F4F4F5;
  --border: #E5E5E7;
  --text: #0A0A0A;
  --text-muted: #6B7280;
  --accent: #111111;
  --accent-hover: #1F1F1F;
  --success: #10B981;
  --danger: #EF4444;
  --highlight: #C7F25A;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 1px 2px rgba(0, 0, 0, 0.04), 0 16px 48px rgba(0, 0, 0, 0.08);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;

  --maxw: 1200px;
  --pad: clamp(20px, 5vw, 48px);

  --font-display: "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
}
h1 { font-size: clamp(2.5rem, 6vw, 5.5rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.75rem); letter-spacing: -0.025em; }
h3 { font-size: clamp(1.125rem, 1.6vw, 1.375rem); }

p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img, svg { display: block; max-width: 100%; }

.tabular { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
.muted { color: var(--text-muted); }
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}
section { padding: clamp(64px, 10vw, 128px) 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--success);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

/* ───── Buttons ───── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px;
  border-radius: var(--radius-md);
  font-weight: 500;
  font-size: 15px;
  transition: transform 180ms ease, box-shadow 220ms ease, background 180ms ease, border-color 180ms ease;
  white-space: nowrap;
  min-height: 48px;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--accent-hover); transform: scale(1.02); box-shadow: var(--shadow-md); }
.btn-ghost { border: 1px solid var(--border); background: var(--surface); }
.btn-ghost:hover { border-color: #c8c8cd; transform: translateY(-1px); }
.btn-lg { padding: 18px 28px; font-size: 16px; min-height: 56px; }
.btn .arrow { transition: transform 180ms ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ───── Navbar ───── */
.nav {
  position: sticky; top: 0; z-index: 50;
  transition: background 220ms ease, border-color 220ms ease, backdrop-filter 220ms ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(250, 250, 250, 0.72);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.logo {
  font-family: var(--font-display);
  font-weight: 700; letter-spacing: -0.04em;
  font-size: 20px;
  display: inline-flex; align-items: center; gap: 10px;
}
.logo-mark {
  width: 28px; height: 28px; border-radius: 8px;
  background: var(--accent);
  display: inline-grid; place-items: center;
  color: var(--highlight);
  font-size: 14px;
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-size: 14px; color: var(--text-muted);
  transition: color 160ms ease;
}
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-login { font-size: 14px; padding: 10px 14px; }
.nav-get { padding: 10px 16px; font-size: 14px; min-height: 0; }
.hamburger {
  display: none;
  width: 44px; height: 44px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
}
.hamburger span {
  display: block; width: 16px; height: 1.5px; background: var(--text); margin: 3px auto;
}
.mobile-menu {
  position: fixed; inset: 0; background: rgba(250,250,250,0.98);
  backdrop-filter: blur(10px);
  z-index: 60;
  display: none;
  padding: 80px 32px 32px;
  flex-direction: column;
}
.mobile-menu.open { display: flex; }
.mobile-menu .mm-close {
  position: absolute; top: 20px; right: 20px;
  width: 44px; height: 44px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 18px;
}
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 36px; font-weight: 600; letter-spacing: -0.03em;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  opacity: 0; transform: translateY(8px);
  animation: mmIn 360ms cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
.mobile-menu.open a:nth-child(1) { animation-delay: 60ms; }
.mobile-menu.open a:nth-child(2) { animation-delay: 120ms; }
.mobile-menu.open a:nth-child(3) { animation-delay: 180ms; }
.mobile-menu.open a:nth-child(4) { animation-delay: 240ms; }
.mobile-menu.open a:nth-child(5) { animation-delay: 300ms; }
.mobile-menu .mm-foot { margin-top: auto; display: flex; flex-direction: column; gap: 12px; }
@keyframes mmIn { to { opacity: 1; transform: translateY(0); } }

@media (max-width: 860px) {
  .nav-links, .nav-login { display: none; }
  .hamburger { display: inline-flex; align-items: center; justify-content: center; flex-direction: column; }
}
