/* Secondary pages — share Prism Neon Void shell with home */
html.void-doc {
  background: #000;
  scroll-behavior: smooth;
}

body.void-page {
  margin: 0;
  min-height: 100vh;
  color: var(--pv-ink, #f4f5f2);
  font-family: var(--pv-body, "Figtree", ui-sans-serif, system-ui, sans-serif);
  font-size: 16.5px;
  line-height: 1.65;
  background: transparent !important;
  -webkit-font-smoothing: antialiased;
}

body.void-page.nx-nav-open,
body.void-page.nav-open { overflow: hidden; }

body.void-page .page-shell {
  background: transparent !important;
  overflow-x: clip;
  position: relative;
  z-index: 1;
  min-height: 100vh;
  color: inherit;
}

body.void-page .page-column,
body.void-page .page-canvas,
body.void-page .nx-page-body,
body.void-page .section-pad,
body.void-page .page-hero,
body.void-page .feat-hero,
body.void-page .guide-hero,
body.void-page .trust-hero,
body.void-page .faq-hero,
body.void-page .release-console {
  background: transparent !important;
}

body.void-page .page-lights,
body.void-page .page-cubes {
  display: none !important;
}

/* Fonts / type to match home */
body.void-page {
  --nx-font-display: var(--pv-display, "Space Grotesk", ui-sans-serif, system-ui, sans-serif);
  --nx-font-body: var(--pv-body, "Figtree", ui-sans-serif, system-ui, sans-serif);
  --nx-font-mono: var(--pv-mono, "JetBrains Mono", ui-monospace, monospace);
  --font-display: var(--nx-font-display);
  --font-body: var(--nx-font-body);
  --ink: var(--pv-ink, #f4f5f2);
  --muted: var(--pv-muted, #9aa0ad);
  --accent: var(--pv-pink, #ff4b72);
}

body.void-page .nx-h1,
body.void-page .nx-h2,
body.void-page h1,
body.void-page h2 {
  font-family: var(--nx-font-display);
  color: #f7f7f4;
  text-shadow:
    0 2px 16px rgba(0, 0, 0, 0.55),
    0 0 36px rgba(92, 127, 255, 0.08);
}

body.void-page .nx-h1 {
  text-align: center;
  margin-inline: auto;
}

body.void-page .nx-kicker {
  justify-content: center;
}

body.void-page .page-hero-inner,
body.void-page .feat-hero-inner,
body.void-page .guide-hero-inner,
body.void-page .trust-hero-inner,
body.void-page .faq-hero-inner {
  text-align: center;
}

body.void-page .page-hero-inner .nx-lead,
body.void-page .feat-hero-inner .nx-lead,
body.void-page .guide-hero-inner .nx-lead,
body.void-page .trust-hero-inner .nx-lead,
body.void-page .faq-hero-inner .nx-lead {
  margin-inline: auto;
  text-align: center;
}

body.void-page .feat-hero-actions,
body.void-page .page-hero-actions {
  justify-content: center;
}

/* Translucent cards / panels */
body.void-page .prism-card,
body.void-page .status-board,
body.void-page .tree,
body.void-page .trust-grid,
body.void-page .faq-row,
body.void-page .platform-row,
body.void-page .guide-card,
body.void-page .dl-card,
body.void-page .content-panel,
body.void-page .feat-shot,
body.void-page .nx-frame,
body.void-page .cap-table,
body.void-page .guide-rail,
body.void-page details.faq-item,
body.void-page .faq-category,
body.void-page .nx-item {
  background: linear-gradient(145deg, rgba(17, 19, 24, 0.84), rgba(7, 8, 11, 0.7)) !important;
  border-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

body.void-page .feat-hero::before,
body.void-page .feat-hero::after,
body.void-page .page-hero::before,
body.void-page .page-hero::after,
body.void-page .guide-hero::before,
body.void-page .guide-hero::after,
body.void-page .trust-hero::before,
body.void-page .trust-hero::after,
body.void-page .faq-hero::before,
body.void-page .faq-hero::after {
  opacity: 0.45;
}

body.void-page .nx-banner,
body.void-page .site-header {
  background: rgba(5, 6, 9, 0.82) !important;
}

body.void-page body,
body.shell-root.void-page {
  background: transparent !important;
}

/* Match home primary nav active cue */
body.void-page .primary-nav a[aria-current="page"] {
  position: relative;
  color: #f4f5f2;
  background: transparent;
}
body.void-page .primary-nav a[aria-current="page"]::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: .12rem;
  width: .28rem;
  height: .28rem;
  border-radius: 1px;
  background: #ff4b72;
  box-shadow: 0 0 10px rgba(255, 75, 114, 0.7);
  transform: translateX(-50%);
}

/* Features page exclusive background field */
body.features-page .global-prism-background {
  background-image: url("media/feat-void-field.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Download page exclusive background field */
body.download-page .global-prism-background {
  background-image: url("media/dl-void-field.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Guides page exclusive background field */
body.guides-page .global-prism-background {
  background-image: url("media/guides-void-field.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* FAQ page exclusive background field */
body.faq-page .global-prism-background {
  background-image: url("media/faq-void-field.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Trust page exclusive background field */
body.trust-page .global-prism-background {
  background-image: url("media/trust-void-field.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

body.void-page .site-footer,
body.void-page .nx-foot {
  background: rgba(4, 5, 7, 0.82) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

body.void-page .site-header {
  background: rgba(5, 6, 9, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.065);
}

body.void-page .site-header.is-pinned {
  background: rgba(5, 6, 9, 0.92);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}

body.void-page .nx-btn-primary,
body.void-page .pv-btn-primary {
  background: linear-gradient(135deg, #ff3d62, #ff6b4a 70%);
  border: 0;
  box-shadow: 0 8px 28px rgba(255, 61, 98, 0.28);
}

body.void-page .nx-btn-ghost,
body.void-page .pv-btn-ghost {
  background: rgba(8, 10, 14, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

body.void-page .crumb {
  text-align: center;
  padding-top: 1.5rem;
}

body.void-page .float-dl,
body.void-page .nx-float {
  opacity: 1;
  pointer-events: auto;
  transform: none;
  z-index: 70;
  background: linear-gradient(135deg, #ff3d62, #ff6b4a);
  box-shadow: 0 10px 28px rgba(255, 61, 98, 0.35);
}

body.void-page .wrap,
body.void-page .content-wrap,
body.void-page .nx-wrap {
  width: min(100% - 2.5rem, var(--pv-max, 1220px));
  margin-inline: auto;
}

/* Localized readability vignette behind heroes */
body.void-page .page-hero-inner,
body.void-page .feat-hero-inner,
body.void-page .guide-hero-inner,
body.void-page .trust-hero-inner,
body.void-page .faq-hero-inner {
  position: relative;
}
body.void-page .page-hero-inner::before,
body.void-page .feat-hero-inner::before,
body.void-page .guide-hero-inner::before,
body.void-page .trust-hero-inner::before,
body.void-page .faq-hero-inner::before {
  content: "";
  position: absolute;
  inset: -50px -20px;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(4, 5, 8, 0.78), rgba(4, 5, 8, 0.35) 55%, transparent 75%);
}

@media (prefers-reduced-motion: reduce) {
  body.void-page .global-prism-lighting {
    animation: none !important;
  }
}
