/* ============================================================================
   chrome.css — shared site chrome (nav + footer + CTA) for the /docs/* pages.
   Loaded alongside docs.css so the ~530 documentation pages use the SAME
   header/footer as the marketing pages and the live homepage.

   NOTE: these nav/footer/cta rules mirror the ones in marketing.css (which is
   self-contained for the commercial pages). Keep the two in sync if you change
   the chrome. Tokens here are scoped to the chrome's own var names
   (--background/--foreground/etc.) and do not collide with docs.css (--doc-*).
   ============================================================================ */

:root {
  --background: 38 30% 96%;
  --foreground: 225 45% 14%;
  --muted-foreground: 225 15% 40%;
  --border: 30 14% 84%;
  --border-soft: 225 45% 14%;
  --trust-link: 220 60% 42%;
  --shadow-lg: 0 10px 15px -3px hsl(222 47% 11% / 0.06),
    0 4px 6px -4px hsl(222 47% 11% / 0.03);
  --nav-h: 64px;
}

/* ── Book a demo / CTA ──────────────────────────────────────────── */
.mkt-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
  font-family: "Outfit", sans-serif;
  transition: opacity 0.15s ease;
}
.mkt-cta--filled {
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 20px;
  background: hsl(var(--foreground));
  color: hsl(var(--background));
}
.mkt-cta--filled.mkt-cta--lg {
  font-size: 16px;
  font-weight: 600;
  padding: 16px 32px;
}
.mkt-cta--filled:hover {
  opacity: 0.85;
}
.mkt-cta--text {
  background: transparent;
  padding: 0;
  font-size: 14px;
  color: hsl(var(--foreground) / 0.4);
  text-align: left;
}
.mkt-cta--text:hover {
  opacity: 0.7;
}

/* ── Nav (LandingNavbar parity) ─────────────────────────────────── */
.mkt-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--nav-h);
  background: hsl(var(--background) / 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.mkt-nav-inner {
  position: relative;
  max-width: 1440px;
  height: 100%;
  margin: 0 auto;
}
.mkt-nav-logo {
  position: absolute;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  color: hsl(var(--foreground));
  text-decoration: none;
}
.mkt-nav-logo-mark svg {
  width: 28px;
  height: 38px;
  display: block;
}
.mkt-nav-wordmark {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-family: "Outfit", sans-serif;
}
.mkt-nav-actions {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 14px;
}
.mkt-nav-links {
  display: none;
  align-items: center;
  gap: 24px;
}
.mkt-nav-link {
  font-size: 14px;
  font-weight: 500;
  color: hsl(var(--foreground));
  text-decoration: none;
  transition: opacity 0.15s ease;
}
.mkt-nav-link:hover {
  opacity: 0.6;
}
.mkt-nav-pipe {
  display: none;
  width: 2px;
  height: 18px;
  border-radius: 1px;
  background: hsl(var(--foreground) / 0.25);
}
.mkt-nav-help {
  position: relative;
}
.mkt-nav-help-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: hsl(var(--foreground) / 0.7);
  cursor: pointer;
  transition: all 0.15s ease;
}
.mkt-nav-help-btn:hover {
  color: hsl(var(--foreground));
  background: hsl(var(--foreground) / 0.05);
}
.mkt-nav-menu {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: 8px;
  min-width: 220px;
  padding: 8px 0;
  border-radius: 16px;
  background: hsl(var(--background));
  box-shadow: 0 0 0 1px hsl(var(--border) / 0.5), var(--shadow-lg);
  z-index: 50;
}
.mkt-nav-menu.open {
  display: block;
}
.mkt-nav-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  font-size: 14px;
  color: hsl(var(--foreground) / 0.8);
  text-decoration: none;
  transition: color 0.1s ease;
}
.mkt-nav-menu a:hover {
  color: hsl(var(--foreground));
}
.mkt-nav-menu a svg {
  color: hsl(var(--muted-foreground));
}
.mkt-nav-menu-divider {
  height: 1px;
  margin: 6px 0;
  background: hsl(var(--border) / 0.3);
}
@media (min-width: 640px) {
  .mkt-nav-logo {
    left: 88px;
    gap: 12px;
  }
  .mkt-nav-logo-mark svg {
    width: 36px;
    height: 49px;
  }
  .mkt-nav-wordmark {
    font-size: 26px;
  }
  .mkt-nav-links {
    display: flex;
  }
  .mkt-nav-pipe {
    display: inline-block;
  }
  .mkt-nav-menu-mobile {
    display: none !important;
  }
}

/* ── Footer (Footer.tsx parity) ─────────────────────────────────── */
.mkt-footer {
  padding: 64px 20px;
  border-top: 1px solid hsl(var(--foreground) / 0.06);
  font-family: "Outfit", sans-serif;
}
.mkt-footer-inner {
  max-width: 1224px;
  margin: 0 auto;
}
.mkt-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
.mkt-footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: hsl(var(--foreground));
  font-size: 16px;
  font-weight: 600;
}
.mkt-footer-brand-logo svg {
  width: 20px;
  height: 27px;
}
.mkt-footer-tagline {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.55;
  color: hsl(var(--foreground) / 0.4);
}
.mkt-footer-trust {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: hsl(var(--foreground) / 0.5);
}
.mkt-footer-dot {
  opacity: 0.4;
}
.mkt-footer-trust-link {
  color: hsl(var(--trust-link));
  text-decoration: none;
}
.mkt-footer-s7 {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  text-decoration: none;
  color: hsl(var(--foreground) / 0.4);
  transition: opacity 0.15s ease;
}
.mkt-footer-s7:hover {
  opacity: 0.7;
}
.mkt-footer-s7 span:first-child {
  font-size: 13px;
}
.mkt-footer-s7-name {
  font-size: 13px;
  font-weight: 500;
  color: hsl(var(--foreground));
}
.mkt-footer-s7 svg {
  color: hsl(var(--foreground) / 0.3);
}
.mkt-footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mkt-footer-col-label {
  margin: 0 0 2px;
  font-size: 14px;
  font-weight: 500;
  color: hsl(var(--foreground));
}
.mkt-footer-col a {
  font-size: 14px;
  text-decoration: none;
  color: hsl(var(--foreground) / 0.4);
  transition: opacity 0.15s ease;
}
.mkt-footer-col a:hover {
  opacity: 0.7;
}
/* "Talk to us" is a button; keep it flush-left with the column's links. */
.mkt-footer-col .mkt-cta--text {
  justify-content: flex-start;
  align-self: flex-start;
}
.mkt-footer-divider {
  margin-top: 48px;
  border-top: 1px solid hsl(var(--foreground) / 0.08);
}
.mkt-footer-bottom {
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.mkt-footer-copy {
  margin: 0;
  font-size: 13px;
  color: hsl(var(--foreground) / 0.25);
}
.mkt-footer-socials {
  display: flex;
  align-items: center;
  gap: 16px;
}
.mkt-footer-socials a {
  color: hsl(var(--foreground) / 0.35);
  transition: color 0.15s ease;
}
.mkt-footer-socials a:hover {
  color: hsl(var(--foreground) / 0.7);
}
.mkt-footer-socials svg {
  width: 18px;
  height: 18px;
}
@media (min-width: 768px) {
  .mkt-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .mkt-footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 48px;
  }
}
