/* Shared NeverMind brand and accessible navigation across product and data pages. */
:root {
  --nm-font-display:
    "Bahnschrift", "Microsoft YaHei UI", "Noto Sans SC", sans-serif;
  --nm-font-body:
    "Bahnschrift", "Microsoft YaHei UI", "Noto Sans SC", sans-serif;
  --nm-font-wordmark: "Bahnschrift SemiCondensed", "Bahnschrift", sans-serif;
  --nm-font-mono: "Cascadia Code", "Consolas", monospace;
  --nm-bg-0: #080e18;
  --nm-bg-1: #111d2d;
  --nm-bg-2: #17273b;
  --nm-accent-400: #a8d9f2;
  --nm-accent-500: #86bfdf;
  --nm-fg-1: #eef5ff;
  --nm-fg-2: #c1cedf;
  --nm-fg-3: #8d9cb0;
  --nm-border-subtle: #243247;
  --nm-border-default: #34485e;
  --nm-border-strong: #536d87;
  --nm-radius-lg: 8px;
  --nm-radius-xl: 10px;
}
body.nm {
  background:
    radial-gradient(ellipse at 70% 0, #19334b55, transparent 45%), #080e18;
}
.nm .brand-mark {
  width: 30px;
  height: 30px;
  background: url("/assets/brand/mark.png") center/contain no-repeat;
  border-radius: 0;
}
.nm .brand-mark::after {
  display: none;
}
.nm .brand-copy strong {
  font-family: var(--nm-font-wordmark);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 18px;
}
.nm .topbar {
  height: 80px;
  margin-bottom: 32px;
  background: #080e18e8;
  border-bottom: 1px solid #243247;
}
.nm a:focus-visible,
.nm button:focus-visible,
.nm input:focus-visible,
.nm summary:focus-visible {
  outline: 2px solid #a8d9f2;
  outline-offset: 4px;
}
.nm .hero-title,
.nm .hero-copy h1,
.nm .section-heading h2 {
  font-family: var(--nm-font-display);
  letter-spacing: -0.035em;
}
.nm .hero-panel {
  border-color: #243247;
}
.nm .topnav a:hover {
  color: #a8d9f2;
}
.nm .search-button,
.nm .action-primary {
  background: #a8d9f2;
  color: #0b1a29;
}
.nm .topbar .back-link {
  white-space: nowrap;
}
.nm .empty-state {
  color: #a2b4c8;
  border: 1px dashed #34485e;
  background: #101c2c;
}
.nm .hero-subtitle {
  color: #8d9cb0;
}
@media (max-width: 760px) {
  .nm .topbar {
    height: auto;
    min-height: 72px;
    padding: 16px 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
  }
  .nm .topnav {
    margin-left: auto;
    gap: 16px;
    font-size: 12px;
  }
  .nm .topbar-search-form {
    flex: 1 1 100%;
    min-width: 0;
  }
  .nm .brand-copy strong {
    font-size: 16px;
  }
  .nm .brand-mark {
    width: 25px;
    height: 25px;
  }
  .nm .page-shell {
    width: calc(100% - 32px);
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 760px) {
  .nm .topnav {
    display: flex;
    order: 2;
    width: 100%;
    margin: 0;
    justify-content: space-between;
  }
  .nm .topbar-search-form {
    order: 3;
  }
  .nm .home-section {
    margin-top: 60px;
  }
  .nm .section-heading h2 {
    font-size: 29px;
  }
}
