/* Oxide site chrome — nav, anchors, footer links, page background. CSP-safe (no inline). */
:root {
  --nav-h: 64px;
}
html {
  scroll-padding-top: calc(var(--nav-h) + 16px);
}
html,
body {
  background: #12161f;
}
[id],
#pricing,
#pricingSection,
#support,
#about,
#social-proof {
  scroll-margin-top: calc(var(--nav-h) + 16px);
}

.ox-quicknav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
  height: var(--nav-h);
  padding: 0 20px;
  box-sizing: border-box;
  background: rgba(11, 14, 20, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #2a3348;
  font-family: "IBM Plex Mono", "JetBrains Mono", monospace;
  font-size: 12px;
  flex-wrap: nowrap;
}
.ox-quicknav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #f3f6fc;
  font-family: "Space Grotesk", "Syne", sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.08em;
  flex-shrink: 0;
  white-space: nowrap;
}
.ox-quicknav-brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}
.ox-quicknav-links {
  display: flex;
  align-items: center;
  gap: 4px 10px;
  flex-wrap: nowrap;
  min-width: 0;
}
.ox-quicknav-links a {
  color: #b8c2d6;
  text-decoration: none;
  padding: 6px 8px;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}
.ox-quicknav-links a:hover {
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.08);
}
.ox-quicknav-links a.ox-nav-highlight {
  color: var(--amber, #f59e0b);
  font-weight: 700;
}
.ox-quicknav-links a.cta-studio,
a.cta-studio {
  background: linear-gradient(180deg, #f59e0b, #c2410c);
  color: #0a0c10;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid #fbbf24;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.25);
  text-decoration: none;
  white-space: nowrap;
}
.ox-quicknav-links a.cta-studio:hover,
a.cta-studio:hover {
  color: #0a0c10;
  background: linear-gradient(180deg, #fbbf24, #d97706);
}
.ox-nav-cta-bar {
  display: none;
  flex-shrink: 0;
  font-family: "IBM Plex Mono", "JetBrains Mono", monospace;
  font-size: 12px;
}
.ox-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-left: auto;
  padding: 0;
  border: 1px solid #2a3348;
  border-radius: 8px;
  background: #12161f;
  color: #f3f6fc;
  cursor: pointer;
  flex-shrink: 0;
}
.ox-nav-toggle:focus-visible {
  outline: 2px solid #fbbf24;
  outline-offset: 2px;
}
.ox-nav-toggle-bars,
.ox-nav-toggle-bars::before,
.ox-nav-toggle-bars::after {
  display: block;
  width: 16px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  position: relative;
  content: "";
}
.ox-nav-toggle-bars::before {
  position: absolute;
  top: -5px;
}
.ox-nav-toggle-bars::after {
  position: absolute;
  top: 5px;
}
.ox-nav-backdrop {
  display: none;
}
.ox-nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.ox-nav-dropdown > summary {
  list-style: none;
  cursor: pointer;
  color: #b8c2d6;
  padding: 6px 8px;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
  user-select: none;
  white-space: nowrap;
}
.ox-nav-dropdown > summary::-webkit-details-marker,
.ox-nav-dropdown > summary::marker {
  display: none;
  content: "";
}
.ox-nav-dropdown > summary:hover,
.ox-nav-dropdown[open] > summary {
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.08);
}
.ox-nav-dropdown > summary:focus-visible {
  outline: 2px solid #fbbf24;
  outline-offset: 2px;
}
.ox-nav-dropdown > summary::after {
  content: " ▾";
  font-size: 10px;
  opacity: 0.8;
}
.ox-nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 300px;
  background: #12161f;
  border: 1px solid #2a3348;
  border-radius: 8px;
  padding: 6px;
  z-index: 200;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.55);
  max-height: calc(100vh - var(--nav-h) - 16px);
  overflow: auto;
}
.ox-nav-dropdown[open] > .ox-nav-dropdown-menu,
.ox-nav-dropdown:hover > .ox-nav-dropdown-menu {
  display: block;
}
.ox-nav-dropdown-menu a {
  display: block;
  white-space: nowrap;
  padding: 8px 12px;
}

.footer-bar a,
a.footer-link {
  color: #94a3b8;
  text-decoration: underline;
}

@media (max-width: 1180px) {
  .ox-quicknav {
    padding: 0 14px;
    gap: 8px;
    font-size: 11px;
  }
  .ox-quicknav-links {
    gap: 2px 4px;
  }
  .ox-quicknav-links a {
    padding: 6px 6px;
  }
}

@media (max-width: 900px) {
  .ox-quicknav {
    padding: 0 8px;
    gap: 4px;
    font-size: 10px;
  }
  .ox-quicknav-brand {
    font-size: 13px;
    letter-spacing: 0.04em;
    gap: 6px;
  }
  .ox-quicknav-brand img {
    width: 26px;
    height: 26px;
  }
  .ox-quicknav-links {
    gap: 0 2px;
  }
  .ox-quicknav-links a,
  .ox-nav-dropdown > summary {
    padding: 6px 5px;
  }
  .ox-quicknav-links a.cta-studio,
  a.cta-studio {
    padding: 6px 8px;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-h: 56px;
  }
  .ox-quicknav {
    height: 56px;
    max-height: 56px;
    padding: 0 10px 0 12px;
    gap: 8px;
  }
  .ox-nav-toggle,
  .ox-nav-cta-bar {
    display: inline-flex;
  }
  .ox-nav-backdrop {
    display: block;
    position: fixed;
    inset: 56px 0 0 0;
    background: rgba(7, 8, 12, 0.64);
    z-index: 150;
    border: 0;
    padding: 0;
    cursor: pointer;
  }
  .ox-nav-backdrop[hidden] {
    display: none;
  }
  .ox-quicknav-links {
    display: none;
    position: fixed;
    top: 56px;
    right: 0;
    left: auto;
    width: min(320px, 100vw);
    height: calc(100vh - 56px);
    height: calc(100dvh - 56px);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    flex-wrap: nowrap;
    padding: 16px 14px 24px;
    background: #12161f;
    border-left: 1px solid #2a3348;
    z-index: 160;
    overflow: auto;
    box-shadow: -16px 0 32px rgba(0, 0, 0, 0.45);
  }
  body.ox-nav-open {
    overflow: hidden;
  }
  body.ox-nav-open .ox-quicknav-links {
    display: flex;
  }
  .ox-quicknav-links a,
  .ox-quicknav-links .ox-nav-dropdown > summary {
    padding: 10px 12px;
    font-size: 14px;
  }
  .ox-quicknav-links a.cta-studio {
    text-align: center;
    margin-top: 8px;
  }
  .ox-nav-dropdown {
    display: block;
  }
  .ox-nav-dropdown-menu {
    position: static;
    display: none;
    min-width: 0;
    box-shadow: none;
    margin: 4px 0 8px;
    max-height: none;
  }
  .ox-nav-dropdown[open] > .ox-nav-dropdown-menu {
    display: block;
  }
  .ox-nav-dropdown:hover > .ox-nav-dropdown-menu {
    display: none;
  }
  .ox-nav-dropdown[open]:hover > .ox-nav-dropdown-menu,
  .ox-nav-dropdown[open] > .ox-nav-dropdown-menu {
    display: block;
  }
  .ox-nav-dropdown-menu a {
    white-space: normal;
  }
}
