/* Shared public-site shell. The landing page is the visual source of truth. */
:root {
  --bg: #fbfaf9;
  --s1: #fff;
  --s2: #f5f4f2;
  --s3: #eceae6;
  --border: rgba(0, 0, 0, 0.08);
  --border2: rgba(0, 0, 0, 0.10);
  --text: #111;
  --text2: #555;
  --text3: #999;
  --volt: #54d74d;
  --volt-dark: #40a43b;
  --volt-light: #7de876;
  --volt-dim: rgba(84, 215, 77, 0.08);
  --volt-glow: rgba(84, 215, 77, 0.16);
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 18px;
  --radius-pill: 999px;
  --btn-volt: linear-gradient(180deg, #5cdc55 0%, #47c340 100%);
  --btn-volt-shadow: 0 1px 2px rgba(61, 46, 37, 0.10), 0 4px 14px rgba(84, 215, 77, 0.22);
  --btn-volt-shadow-hover: 0 2px 6px rgba(61, 46, 37, 0.12), 0 9px 24px rgba(84, 215, 77, 0.30);
  --shadow-card: 0 0 0 1px rgba(61, 46, 37, 0.08), 0 1px 2px rgba(61, 46, 37, 0.14), 0 20px 28.9px -6px rgba(61, 46, 37, 0.08);
  --shadow-raised: 0 0 0 1px rgba(61, 46, 37, 0.08), 0 2px 8px rgba(61, 46, 37, 0.12), 0 1px 3px rgba(61, 46, 37, 0.06), 0 20px 28.9px -6px rgba(61, 46, 37, 0.10);
  --shadow-float: 0 0 0 1px rgba(61, 46, 37, 0.08), 0 8px 24px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
  --font: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', 'SFMono-Regular', 'JetBrains Mono', Consolas, monospace;
  --display: 'Bebas Neue', 'Arial Narrow', 'Helvetica Neue Condensed', Impact, sans-serif;
  --ui: 'Instrument Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --maxw: 1140px;

  /* Compatibility aliases used by the existing blog art direction. */
  --bg-card: var(--s1);
  --bg-soft: var(--s2);
  --text-2: var(--text2);
  --text-3: var(--text3);
  --border-2: var(--border2);
  --shadow-sm: 0 1px 2px rgba(61, 46, 37, 0.08);
  --shadow-md: 0 1px 3px rgba(61, 46, 37, 0.08), 0 8px 20px rgba(61, 46, 37, 0.06);
  --shadow-lg: var(--shadow-raised);
}

.marketing-page {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border: 0;
  border-radius: var(--radius-pill);
  font-family: var(--ui);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: var(--btn-volt);
  color: #3d3d3d;
  box-shadow: var(--btn-volt-shadow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--btn-volt-shadow-hover);
}

.btn-outline {
  background: var(--s1);
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--border2), 0 1px 2px rgba(0, 0, 0, 0.05);
}

.btn-outline:hover {
  color: var(--volt-dark);
  transform: translateY(-2px);
  box-shadow: inset 0 0 0 1px var(--volt), 0 6px 16px rgba(84, 215, 77, 0.14);
}

/* Canonical landing navigation */
.nav {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 100;
  display: flex;
  width: calc(100% - 40px);
  max-width: 940px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px 10px 18px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-float);
  transform: translateX(-50%);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  animation: marketingNavIn 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease;
}

@keyframes marketingNavIn {
  from { opacity: 0; transform: translateX(-50%) translateY(-16px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.nav.nav-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-165%);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  color: var(--text);
  text-decoration: none;
}

.nav-brand img { width: 26px; height: 26px; object-fit: contain; }
.nav-brand span { font-family: var(--font); font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.nav-links { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; }

.nav-links a {
  display: block;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  color: var(--text2);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.18s ease, background 0.18s ease;
}

.nav-links a:hover,
.nav-links a[aria-current='page'] {
  color: var(--volt-dark);
  background: rgba(84, 215, 77, 0.10);
}

.nav-cta-group { display: flex; align-items: center; gap: 6px; }
.nav-login { padding: 8px 14px; color: var(--text2); font-family: var(--ui); font-size: 14px; font-weight: 600; text-decoration: none; }
.nav-login:hover { color: var(--text); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  background: var(--btn-volt);
  color: #3d3d3d;
  box-shadow: var(--btn-volt-shadow);
  font-family: var(--ui);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.nav-cta:hover { transform: translateY(-2px); box-shadow: var(--btn-volt-shadow-hover); }

.mcp-pill-nav {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 5px 11px 5px 7px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
  box-shadow: 0 1px 1px rgba(61, 46, 37, 0.05), 0 2px 8px rgba(61, 46, 37, 0.06);
  font-family: var(--mono);
  text-decoration: none;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.mcp-pill-nav:hover,
.mcp-pill-nav[aria-current='page'] {
  border-color: rgba(84, 215, 77, 0.45);
  box-shadow: 0 1px 1px rgba(61, 46, 37, 0.05), 0 8px 20px rgba(84, 215, 77, 0.14);
}

.mcp-model-rotator {
  position: relative;
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  overflow: hidden;
  border-radius: 7px;
  background: var(--volt-dim);
}

.mcp-model-rotator .model-mark {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.84);
  opacity: 0;
  transform: translateY(13px) scale(0.92);
  animation: marketingModelCycle 6.4s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.mcp-model-rotator .model-mark img { width: 16px; height: 16px; object-fit: contain; }
.mcp-model-rotator .model-claude { animation-delay: 0s; }
.mcp-model-rotator .model-codex { animation-delay: 1.6s; }
.mcp-model-rotator .model-cursor { animation-delay: 3.2s; }
.mcp-model-rotator .model-chatgpt { animation-delay: 4.8s; }

@keyframes marketingModelCycle {
  0% { opacity: 0; transform: translateY(13px) scale(0.92); }
  5%, 20% { opacity: 1; transform: translateY(0) scale(1); }
  25%, 100% { opacity: 0; transform: translateY(-13px) scale(0.92); }
}

.mcp-pill-nav code { color: #222; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.04em; }
.mcp-launch { width: 15px; height: 15px; color: var(--text3); }

.hamburger {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--text);
}

.hamburger svg { width: 22px; height: 22px; }
.mobile-menu { position: fixed; inset: 0; z-index: 200; display: flex; flex-direction: column; gap: 6px; padding: 90px 32px 32px; background: rgba(251, 250, 249, 0.98); transform: translateY(-100%); transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a { padding: 10px 0; border-bottom: 1px solid var(--border); color: var(--text); font-family: var(--display); font-size: 32px; letter-spacing: 0.02em; text-decoration: none; text-transform: uppercase; }
.mobile-menu a:hover,
.mobile-menu a[aria-current='page'] { color: var(--volt-dark); }
.mobile-menu .mm-cta { margin-top: 18px; }
.mobile-close { position: absolute; top: 26px; right: 26px; display: grid; width: 44px; height: 44px; place-items: center; border: 0; border-radius: 50%; background: var(--s2); color: var(--text); font-size: 22px; }

/* Canonical landing footer */
.footer.marketing-footer { padding: 56px 0 40px; background: #0a0a0a; color: #f5f2eb; }
.marketing-footer .footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; width: auto; max-width: none; margin: 0; padding: 0; }
.marketing-footer .footer-brand { display: flex; align-items: center; gap: 8px; color: #f5f2eb; text-decoration: none; }
.marketing-footer .footer-brand img { width: 30px; height: 30px; padding: 4px; border-radius: 7px; background: #fff; object-fit: contain; box-sizing: border-box; }
.marketing-footer .footer-brand span { color: #f5f2eb; font-family: var(--font); font-size: 18px; font-weight: 600; }
.marketing-footer .footer-links,
.marketing-footer .footer-legal { display: flex; gap: 22px; flex-wrap: wrap; margin: 0; }
.marketing-footer .footer-links a,
.marketing-footer .footer-legal a { color: #8d8a80; font-family: var(--font); font-size: 14px; text-decoration: none; transition: color 0.18s ease; }
.marketing-footer .footer-links a:hover,
.marketing-footer .footer-legal a:hover { color: var(--volt); }
.marketing-footer .footer-social { display: flex; gap: 12px; }
.marketing-footer .footer-social a { display: flex; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 50%; background: #1a1a1a; color: #8d8a80; transition: color 0.18s ease, background 0.18s ease; }
.marketing-footer .footer-social a:hover { color: var(--volt); background: #242424; }
.marketing-footer .footer-copy { display: flex; width: 100%; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin-top: 8px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.09); color: #555249; font-family: var(--font); font-size: 13px; }

@media (max-width: 800px) {
  .nav-links,
  .nav-cta-group { display: none; }
  .hamburger { display: inline-flex; }
}

@media (max-width: 640px) {
  .container { padding-inline: 20px; }
  .nav { top: 12px; width: calc(100% - 24px); padding: 8px 8px 8px 14px; }
  .nav-brand img { width: 24px; height: 24px; }
  .nav-brand span { font-size: 17px; }
  .mobile-menu { padding-inline: 24px; }
  .marketing-footer .footer-inner { align-items: flex-start; flex-direction: column; }
  .marketing-footer .footer-copy { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .nav { animation: none; }
  .mobile-menu { transition-duration: 0.01ms; }
  .mcp-model-rotator .model-mark { animation: none; }
  .mcp-model-rotator .model-claude { opacity: 1; transform: none; }
}
