/* === tokens.css === */
:root {
  --font-family-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-family-body: 'Jost', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-family-sans: var(--font-family-body);
  --font-family-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

  --brand-primary: #874EFF;
  --brand-secondary: #38B6FF;
  --color-orange: #FF751F;
  --color-blue: #38B6FF;
  --color-pink: #FF51BC;
  --color-yellow: #FFD703;
  --color-green: #B5E861;
  --color-purple: #874EFF;
  --dark-environment: #1E0457;
  --light-environment: #EBE4FA;
  --surface-background: #1E0457;
  --surface-card: #26076B;
  --surface-elevated: #2E0B80;
  --text-primary: #FFFFFF;
  --text-secondary: #C4B5FD;
  --border-subtle: rgba(135, 78, 255, 0.25);
  --cycle-node-a: #38B6FF;
  --cycle-node-b: #B5E861;
  --cycle-node-c: #FF751F;
  --status-success: #B5E861;
  --status-warning: #FFD703;
  --status-error: #FF51BC;

  --lead-primary: #B5E861;
  --lead-secondary: #FFD703;
  --support-primary: #38B6FF;
  --support-secondary: #FF751F;
  --highlight: #FF51BC;

  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-xxl: 48px;

  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-button: 12px;
  --radius-card: 16px;
  --radius-full: 9999px;

  --font-size-display-large: 32px;
  --font-weight-display-large: 700;
  --line-height-display-large: 40px;
  --typography-display-large-font-size: 32px;
  --typography-display-large-font-weight: 700;
  --typography-display-large-line-height: 40px;
  --font-size-heading-large: 24px;
  --font-weight-heading-large: 700;
  --line-height-heading-large: 32px;
  --typography-heading-large-font-size: 24px;
  --typography-heading-large-font-weight: 700;
  --typography-heading-large-line-height: 32px;
  --font-size-heading-medium: 18px;
  --font-weight-heading-medium: 600;
  --line-height-heading-medium: 24px;
  --typography-heading-medium-font-size: 18px;
  --typography-heading-medium-font-weight: 600;
  --typography-heading-medium-line-height: 24px;
  --font-size-body-medium: 14px;
  --font-weight-body-medium: 400;
  --line-height-body-medium: 20px;
  --typography-body-medium-font-size: 14px;
  --typography-body-medium-font-weight: 400;
  --typography-body-medium-line-height: 20px;
  --font-size-body-small: 12px;
  --font-weight-body-small: 400;
  --line-height-body-small: 16px;
  --typography-body-small-font-size: 12px;
  --typography-body-small-font-weight: 400;
  --typography-body-small-line-height: 16px;
  --font-size-caption-small: 10px;
  --font-weight-caption-small: 500;
  --line-height-caption-small: 14px;
  --typography-caption-small-font-size: 10px;
  --typography-caption-small-font-weight: 500;
  --typography-caption-small-line-height: 14px;

  --elevation-card: 0 2px 8px rgba(0, 0, 0, 0.4);
  --elevation-modal: 0 12px 32px rgba(0, 0, 0, 0.6);
}

@media (prefers-color-scheme: dark) {
  :root {
    --surface-background: #1E0457;
    --surface-card: #26076B;
    --surface-elevated: #2E0B80;
    --text-primary: #FFFFFF;
    --text-secondary: #C4B5FD;
    --border-subtle: rgba(135, 78, 255, 0.25);
    --lead-primary: #B5E861;
    --lead-secondary: #FFD703;
    --support-primary: #38B6FF;
    --support-secondary: #FF751F;
    --highlight: #FF51BC;
    --elevation-card: 0 2px 8px rgba(0, 0, 0, 0.4);
    --elevation-modal: 0 12px 32px rgba(0, 0, 0, 0.6);
  }
}

[data-theme="dark"] {
  --surface-background: #1E0457;
  --surface-card: #26076B;
  --surface-elevated: #2E0B80;
  --text-primary: #FFFFFF;
  --text-secondary: #C4B5FD;
  --border-subtle: rgba(135, 78, 255, 0.25);
  --lead-primary: #B5E861;
  --lead-secondary: #FFD703;
  --support-primary: #38B6FF;
  --support-secondary: #FF751F;
  --highlight: #FF51BC;
  --elevation-card: 0 2px 8px rgba(0, 0, 0, 0.4);
  --elevation-modal: 0 12px 32px rgba(0, 0, 0, 0.6);
}

[data-theme="light"] {
  --surface-background: #EBE4FA;
  --surface-card: #FFFFFF;
  --surface-elevated: #F5F0FF;
  --text-primary: #1E0457;
  --text-secondary: #5B418A;
  --border-subtle: rgba(135, 78, 255, 0.15);
  --lead-primary: #874EFF;
  --lead-secondary: #38B6FF;
  --support-primary: #FF751F;
  --highlight: #FF51BC;
  --elevation-card: 0 2px 8px rgba(0, 0, 0, 0.06);
  --elevation-modal: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.text-display-large,
.type-display-large {
  font-size: var(--font-size-display-large);
  font-weight: var(--font-weight-display-large);
  line-height: var(--line-height-display-large);
}

.text-heading-large,
.type-heading-large {
  font-size: var(--font-size-heading-large);
  font-weight: var(--font-weight-heading-large);
  line-height: var(--line-height-heading-large);
}

.text-heading-medium,
.type-heading-medium {
  font-size: var(--font-size-heading-medium);
  font-weight: var(--font-weight-heading-medium);
  line-height: var(--line-height-heading-medium);
}

.text-body-medium,
.type-body-medium {
  font-size: var(--font-size-body-medium);
  font-weight: var(--font-weight-body-medium);
  line-height: var(--line-height-body-medium);
}

.text-body-small,
.type-body-small {
  font-size: var(--font-size-body-small);
  font-weight: var(--font-weight-body-small);
  line-height: var(--line-height-body-small);
}

.text-caption-small,
.type-caption-small {
  font-size: var(--font-size-caption-small);
  font-weight: var(--font-weight-caption-small);
  line-height: var(--line-height-caption-small);
}


/* === reset.css === */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  tab-size: 4;
}

body {
  min-height: 100vh;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--surface-background);
  color: var(--text-primary);
  line-height: 1.5;
  overflow-x: hidden;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 2px;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
    transition-duration: 0.01ms;
    scroll-behavior: auto;
  }
}


/* === typography.css === */
:root {
  --font-family-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-family-body: 'Jost', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-family-sans: var(--font-family-body);
  --font-family-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --text-inverse: #FFFFFF;
}

body {
  font-family: var(--font-family-body);
  font-size: var(--font-size-body-medium);
  font-weight: var(--font-weight-body-medium);
  line-height: var(--line-height-body-medium);
}

h1,
h2,
h3,
h4,
h5,
h6,
.nh-hero__title,
.nh-section__title,
.nh-cta-banner__title,
.nh-card__title,
.nh-feature-card__title,
.nh-pillar-card__title,
.nh-showcase-card__title,
.nh-btn,
.nh-badge,
.nh-nav-brand,
.nh-nav-brand__text,
.nh-nav-link,
.nh-display-large,
.nh-heading-large,
.nh-heading-medium {
  font-family: var(--font-family-heading);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text-primary);
}

h1 {
  font-size: var(--font-size-display-large);
  font-weight: 800;
  line-height: var(--line-height-display-large);
  letter-spacing: -0.025em;
  margin-bottom: var(--spacing-md);
}

h2 {
  font-size: var(--font-size-heading-large);
  font-weight: 700;
  line-height: var(--line-height-heading-large);
  letter-spacing: -0.02em;
  margin-bottom: var(--spacing-md);
}

h3 {
  font-size: var(--font-size-heading-medium);
  font-weight: 700;
  line-height: var(--line-height-heading-medium);
  letter-spacing: -0.015em;
  margin-bottom: var(--spacing-sm);
}

h4 {
  font-size: var(--font-size-body-medium);
  font-weight: 600;
  line-height: var(--line-height-heading-medium);
  margin-bottom: var(--spacing-xs);
}

h5 {
  font-size: var(--font-size-body-small);
  font-weight: 600;
  line-height: var(--line-height-body-small);
  margin-bottom: var(--spacing-xs);
}

h6 {
  font-size: var(--font-size-caption-small);
  font-weight: 600;
  line-height: var(--line-height-caption-small);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-xs);
}

p,
.nh-hero__subtitle,
.nh-card__description,
.nh-feature-card__description,
.nh-input,
table {
  font-family: var(--font-family-body);
}

p {
  font-size: var(--font-size-body-medium);
  font-weight: var(--font-weight-body-medium);
  line-height: var(--line-height-body-medium);
  margin-bottom: var(--spacing-md);
  color: var(--text-primary);
}

p:last-child {
  margin-bottom: 0;
}

strong,
b {
  font-weight: 600;
  color: var(--text-primary);
}

small {
  font-size: var(--font-size-body-small);
  line-height: var(--line-height-body-small);
  color: var(--text-secondary);
}

blockquote {
  border-left: 3px solid var(--brand-primary);
  padding-left: var(--spacing-md);
  margin-top: var(--spacing-md);
  margin-bottom: var(--spacing-md);
  color: var(--text-secondary);
  font-style: italic;
}

code,
kbd,
samp,
pre {
  font-family: var(--font-family-mono);
}

code {
  font-size: 0.875em;
  background-color: var(--surface-card);
  color: var(--brand-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  padding: 0.125em 0.375em;
}

pre {
  background-color: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: var(--spacing-md);
  overflow-x: auto;
  margin-bottom: var(--spacing-md);
  box-shadow: var(--elevation-card);
}

pre code {
  font-size: var(--font-size-body-small);
  line-height: var(--line-height-body-small);
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
  color: var(--text-primary);
}

ul,
ol {
  padding-left: var(--spacing-lg);
  margin-bottom: var(--spacing-md);
}

li {
  margin-bottom: var(--spacing-xs);
}

li:last-child {
  margin-bottom: 0;
}

.nh-display-large {
  font-family: var(--font-family-heading);
  font-size: var(--font-size-display-large);
  font-weight: 800;
  line-height: var(--line-height-display-large);
  letter-spacing: -0.025em;
}

.nh-heading-large {
  font-family: var(--font-family-heading);
  font-size: var(--font-size-heading-large);
  font-weight: 700;
  line-height: var(--line-height-heading-large);
  letter-spacing: -0.02em;
}

.nh-heading-medium {
  font-family: var(--font-family-heading);
  font-size: var(--font-size-heading-medium);
  font-weight: 700;
  line-height: var(--line-height-heading-medium);
  letter-spacing: -0.015em;
}

.nh-body-medium {
  font-family: var(--font-family-body);
  font-size: var(--font-size-body-medium);
  font-weight: var(--font-weight-body-medium);
  line-height: var(--line-height-body-medium);
}

.nh-body-small {
  font-family: var(--font-family-body);
  font-size: var(--font-size-body-small);
  font-weight: var(--font-weight-body-small);
  line-height: var(--line-height-body-small);
}

.nh-caption-small {
  font-family: var(--font-family-body);
  font-size: var(--font-size-caption-small);
  font-weight: var(--font-weight-caption-small);
  line-height: var(--line-height-caption-small);
}

.nh-lead {
  font-size: var(--font-size-heading-medium);
  font-weight: var(--font-weight-body-medium);
  line-height: var(--line-height-heading-medium);
  color: var(--text-secondary);
  margin-bottom: var(--spacing-lg);
}

.nh-text-primary {
  color: var(--text-primary);
}

.nh-text-secondary {
  color: var(--text-secondary);
}

.nh-text-brand {
  color: var(--brand-primary);
}

.nh-text-gradient {
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nh-text-mono {
  font-family: var(--font-family-mono);
}

.nh-text-center {
  text-align: center;
}

.nh-text-left {
  text-align: left;
}

.nh-text-right {
  text-align: right;
}

@media (min-width: 768px) {
  .nh-display-large,
  h1 {
    font-size: calc(var(--font-size-display-large) * 1.25);
    line-height: calc(var(--line-height-display-large) * 1.25);
  }
}


/* === layout.css === */
.nh-container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--spacing-md);
  padding-right: var(--spacing-md);
}

.nh-container--narrow {
  max-width: 800px;
}

.nh-container--wide {
  max-width: 1400px;
}

.nh-container--full {
  max-width: 100%;
}

@media (min-width: 768px) {
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.nh-main {
  flex: 1 0 auto;
  width: 100%;
}

.nh-container {
    padding-left: var(--spacing-lg);
    padding-right: var(--spacing-lg);
  }
}

.nh-section {
  padding-top: var(--spacing-xl);
  padding-bottom: var(--spacing-xl);
}

@media (min-width: 768px) {
  .nh-section {
    padding-top: var(--spacing-xxl);
    padding-bottom: var(--spacing-xxl);
  }
}

.nh-section--alt {
  background-color: var(--surface-elevated);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.nh-grid {
  display: grid;
  gap: var(--spacing-md);
}

.nh-grid--gap-lg {
  gap: var(--spacing-lg);
}

.nh-grid--gap-xl {
  gap: var(--spacing-xl);
}

.nh-grid--2 {
  grid-template-columns: 1fr;
}

.nh-grid--3 {
  grid-template-columns: 1fr;
}

.nh-grid--4 {
  grid-template-columns: 1fr;
}

.nh-grid--auto-fit {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-md);
}

@media (min-width: 640px) {
  .nh-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .nh-grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .nh-grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .nh-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .nh-grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.nh-flex {
  display: flex;
}

.nh-flex-col {
  display: flex;
  flex-direction: column;
}

.nh-flex-1 {
  flex: 1 1 0%;
}

.nh-flex-wrap {
  flex-wrap: wrap;
}

.nh-items-start {
  align-items: flex-start;
}

.nh-items-center {
  align-items: center;
}

.nh-items-end {
  align-items: flex-end;
}

.nh-items-stretch {
  align-items: stretch;
}

.nh-justify-start {
  justify-content: flex-start;
}

.nh-justify-center {
  justify-content: center;
}

.nh-justify-end {
  justify-content: flex-end;
}

.nh-justify-between {
  justify-content: space-between;
}

.nh-gap-xs {
  gap: var(--spacing-xs);
}

.nh-gap-sm {
  gap: var(--spacing-sm);
}

.nh-gap-md {
  gap: var(--spacing-md);
}

.nh-gap-lg {
  gap: var(--spacing-lg);
}

.nh-gap-xl {
  gap: var(--spacing-xl);
}

.nh-gap-xxl {
  gap: var(--spacing-xxl);
}

.nh-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(30, 4, 87, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(135, 78, 255, 0.25);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

[data-theme="dark"] .nh-header {
  background: rgba(30, 4, 87, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(135, 78, 255, 0.25);
}

[data-theme="light"] .nh-header {
  background: rgba(235, 228, 250, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(135, 78, 255, 0.15);
}

.nh-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nh-nav-brand {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-family: var(--font-family-heading);
  font-weight: 700;
  font-size: var(--font-size-heading-medium);
  line-height: var(--line-height-heading-medium);
  color: var(--text-primary);
  min-height: 44px;
}

.nh-nav-brand:hover {
  color: var(--brand-primary);
}

.nh-nav-links {
  display: none;
  list-style: none;
  gap: var(--spacing-lg);
  align-items: center;
  margin: 0;
  padding: 0;
}

.nh-nav-link {
  font-family: var(--font-family-heading);
  font-size: var(--font-size-body-medium);
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.15s ease-in-out;
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--radius-xs);
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.nh-nav-link:hover,
.nh-nav-link.is-active {
  color: var(--brand-primary);
}

.nh-nav-actions {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.nh-nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: var(--spacing-sm);
  border-radius: var(--radius-button);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  background-color: var(--surface-card);
  box-shadow: var(--elevation-card);
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.nh-nav-toggle:hover {
  background-color: var(--surface-background);
  border-color: var(--brand-primary);
}

.nh-theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: var(--spacing-sm);
  border-radius: var(--radius-button);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  background-color: var(--surface-card);
  box-shadow: var(--elevation-card);
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.nh-theme-toggle:hover {
  background-color: var(--surface-background);
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}

.nh-theme-toggle .nh-theme-icon-sun {
  display: none;
}

.nh-theme-toggle .nh-theme-icon-moon {
  display: block;
}

[data-theme="dark"] .nh-theme-toggle .nh-theme-icon-sun {
  display: block;
}

[data-theme="dark"] .nh-theme-toggle .nh-theme-icon-moon {
  display: none;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .nh-theme-toggle .nh-theme-icon-sun {
    display: block;
  }

  :root:not([data-theme="light"]) .nh-theme-toggle .nh-theme-icon-moon {
    display: none;
  }
}

@media (min-width: 768px) {
  .nh-nav-links {
    display: flex;
  }

  .nh-nav-toggle {
    display: none;
  }
}

.nh-footer {
  background-color: var(--surface-card);
  border-top: 1px solid var(--border-subtle);
  padding-top: var(--spacing-xxl);
  padding-bottom: var(--spacing-xl);
  margin-top: auto;
}

.nh-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

.nh-footer-col {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.nh-footer-title {
  font-size: var(--font-size-body-small);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  margin-bottom: var(--spacing-xs);
}

.nh-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.nh-footer-link {
  font-size: var(--font-size-body-small);
  color: var(--text-secondary);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transition: color 0.15s ease-in-out;
}

.nh-footer-link:hover {
  color: var(--brand-primary);
}

.nh-footer-bottom {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  padding-top: var(--spacing-lg);
  border-top: 1px solid var(--border-subtle);
  align-items: center;
  text-align: center;
}

.nh-footer-copy {
  font-size: var(--font-size-body-small);
  color: var(--text-secondary);
}

@media (min-width: 768px) {
  .nh-footer-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }

  .nh-footer-link {
    min-height: auto;
    padding: var(--spacing-xs) 0;
  }

  .nh-footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}


/* === components.css === */
.nh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  font-family: var(--font-family-heading);
  font-size: var(--font-size-body-medium);
  font-weight: 600;
  line-height: 1;
  border-radius: var(--radius-button);
  min-height: 44px;
  padding: var(--spacing-sm) var(--spacing-lg);
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  user-select: none;
  border: 1px solid transparent;
  white-space: nowrap;
}

.nh-btn:active {
  transform: scale(0.98);
}

.nh-btn--primary {
  background-color: var(--brand-primary);
  color: #FFFFFF;
  box-shadow: var(--elevation-card);
}

.nh-btn--primary:hover {
  filter: brightness(1.08);
  box-shadow: 0 8px 24px -4px rgba(135, 78, 255, 0.4);
  transform: translateY(-1px);
}

.nh-btn--secondary {
  background-color: var(--brand-secondary);
  color: #1E0457;
  font-weight: 700;
  box-shadow: var(--elevation-card);
}

.nh-btn--secondary:hover {
  filter: brightness(1.08);
  box-shadow: 0 4px 14px color-mix(in srgb, var(--brand-secondary) 35%, transparent);
  transform: translateY(-1px);
}

.nh-btn--outline {
  background-color: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
}

.nh-btn--outline:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
  background-color: var(--surface-card);
}

.nh-btn--ghost {
  background-color: transparent;
  border-color: transparent;
  color: var(--text-secondary);
}

.nh-btn--ghost:hover {
  color: var(--text-primary);
  background-color: var(--surface-card);
}

.nh-btn--sm {
  min-height: 36px;
  padding: var(--spacing-xs) var(--spacing-md);
  font-size: var(--font-size-body-small);
  border-radius: var(--radius-sm);
}

.nh-btn--lg {
  min-height: 52px;
  padding: var(--spacing-md) var(--spacing-xl);
  font-size: var(--font-size-heading-medium);
  border-radius: var(--radius-button);
}

.nh-btn--full {
  width: 100%;
}

.nh-card {
  background-color: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  box-shadow: var(--elevation-card);
  padding: var(--spacing-lg);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.nh-card:hover {
  border-color: var(--brand-primary);
}

.nh-card--interactive {
  cursor: pointer;
}

.nh-card--interactive:hover {
  transform: translateY(-2px);
  box-shadow: var(--elevation-modal);
  border-color: var(--brand-primary);
}

.nh-card--glass {
  background-color: color-mix(in srgb, var(--surface-card) 75%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nh-card__header {
  margin-bottom: var(--spacing-md);
  padding-bottom: var(--spacing-sm);
  border-bottom: 1px solid var(--border-subtle);
}

.nh-card__footer {
  margin-top: var(--spacing-md);
  padding-top: var(--spacing-sm);
  border-top: 1px solid var(--border-subtle);
}

.nh-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  font-family: var(--font-family-heading);
  font-size: var(--font-size-caption-small);
  font-weight: var(--font-weight-caption-small);
  line-height: var(--line-height-caption-small);
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  background-color: var(--surface-card);
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.nh-badge__dot {
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background-color: currentColor;
}

.nh-badge--primary {
  background-color: rgba(135, 78, 255, 0.16);
  color: var(--brand-primary);
  border: 1px solid rgba(135, 78, 255, 0.3);
}

.nh-badge--secondary {
  background-color: rgba(56, 182, 255, 0.16);
  color: var(--color-blue);
  border: 1px solid rgba(56, 182, 255, 0.3);
}

.nh-badge--success {
  background-color: rgba(181, 232, 97, 0.16);
  color: var(--color-green);
  border: 1px solid rgba(181, 232, 97, 0.3);
}

.nh-badge--warning {
  background-color: rgba(255, 215, 3, 0.16);
  color: var(--color-yellow);
  border: 1px solid rgba(255, 215, 3, 0.3);
}

.nh-badge--error {
  background-color: rgba(255, 81, 188, 0.16);
  color: var(--color-pink);
  border: 1px solid rgba(255, 81, 188, 0.3);
}

.nh-badge--info {
  background-color: rgba(56, 182, 255, 0.16);
  color: var(--color-blue);
  border: 1px solid rgba(56, 182, 255, 0.3);
}

.nh-badge--outline {
  background-color: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

[data-theme="light"] .nh-badge--success {
  color: color-mix(in srgb, var(--color-green) 35%, var(--text-primary));
  border-color: rgba(181, 232, 97, 0.4);
}

[data-theme="light"] .nh-badge--warning {
  color: color-mix(in srgb, var(--color-yellow) 35%, var(--text-primary));
  border-color: rgba(255, 215, 3, 0.4);
}

[data-theme="light"] .nh-badge--info,
[data-theme="light"] .nh-badge--secondary {
  color: color-mix(in srgb, var(--color-blue) 45%, var(--text-primary));
  border-color: rgba(56, 182, 255, 0.4);
}

[data-theme="light"] .nh-badge--error {
  color: color-mix(in srgb, var(--color-pink) 45%, var(--text-primary));
  border-color: rgba(255, 81, 188, 0.4);
}

.nh-accordion {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  overflow: hidden;
  background-color: var(--surface-card);
  margin-bottom: var(--spacing-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nh-accordion:hover {
  border-color: var(--border-subtle);
}

.nh-accordion > summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-md) var(--spacing-lg);
  font-weight: 600;
  font-size: var(--font-size-heading-medium);
  line-height: var(--line-height-heading-medium);
  color: var(--text-primary);
  cursor: pointer;
  min-height: 44px;
  user-select: none;
  transition: background-color 0.15s ease;
}

.nh-accordion > summary::-webkit-details-marker {
  display: none;
}

.nh-accordion > summary:hover {
  background-color: var(--surface-background);
}

.nh-accordion[open] > summary {
  border-bottom: 1px solid var(--border-subtle);
}

.nh-accordion__icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
  color: var(--text-secondary);
}

.nh-accordion[open] .nh-accordion__icon {
  transform: rotate(180deg);
}

.nh-accordion__content {
  padding: var(--spacing-lg);
  color: var(--text-secondary);
  font-size: var(--font-size-body-medium);
  line-height: 1.6;
}

.nh-drawer-overlay {
  position: fixed;
  inset: 0;
  background-color: color-mix(in srgb, var(--text-primary) 50%, transparent);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.nh-drawer-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.nh-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 320px;
  max-width: 85vw;
  background-color: var(--surface-card);
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--elevation-modal);
  display: flex;
  flex-direction: column;
  padding: var(--spacing-lg);
  overflow-y: auto;
}

.nh-drawer.is-open {
  transform: translateX(0);
}

.nh-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--spacing-xl);
  padding-bottom: var(--spacing-md);
  border-bottom: 1px solid var(--border-subtle);
}

.nh-drawer__close {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-button);
  border: 1px solid var(--border-subtle);
  background-color: var(--surface-background);
  color: var(--text-primary);
  font-size: 20px;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.nh-drawer__close:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}

.nh-drawer__nav {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.nh-drawer__link {
  font-size: var(--font-size-heading-medium);
  font-weight: 600;
  color: var(--text-primary);
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--radius-sm);
  transition: background-color 0.15s ease, color 0.15s ease;
}

.nh-drawer__link:hover,
.nh-drawer__link.is-active {
  background-color: var(--surface-background);
  color: var(--brand-primary);
}

.nh-drawer__footer {
  margin-top: auto;
  padding-top: var(--spacing-xl);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.nh-hero {
  padding-top: var(--spacing-xxl);
  padding-bottom: var(--spacing-xxl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.nh-hero__badge {
  margin-bottom: var(--spacing-md);
  display: inline-flex;
}

.nh-hero__title {
  font-size: calc(var(--font-size-display-large) * 1.25);
  font-weight: var(--font-weight-display-large);
  line-height: 1.15;
  margin-bottom: var(--spacing-lg);
  letter-spacing: -0.03em;
}

@media (min-width: 768px) {
  .nh-hero__title {
    font-size: calc(var(--font-size-display-large) * 1.6);
  }
}

.nh-hero__subtitle {
  font-size: var(--font-size-heading-medium);
  font-weight: var(--font-weight-body-medium);
  line-height: 1.5;
  color: var(--text-secondary);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--spacing-xl);
}

.nh-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--spacing-md);
}

.nh-feature-card {
  background-color: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: var(--spacing-xl);
  box-shadow: var(--elevation-card);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  height: 100%;
}

.nh-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--elevation-modal);
  border-color: var(--brand-primary);
}

.nh-feature-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-button);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: color-mix(in srgb, var(--brand-primary) 10%, transparent);
  color: var(--brand-primary);
  margin-bottom: var(--spacing-md);
  font-size: 24px;
  flex-shrink: 0;
}

.nh-feature-card__title {
  font-size: var(--font-size-heading-medium);
  font-weight: var(--font-weight-heading-medium);
  line-height: var(--line-height-heading-medium);
  margin-bottom: var(--spacing-xs);
  color: var(--text-primary);
}

.nh-feature-card__description {
  font-size: var(--font-size-body-medium);
  color: var(--text-secondary);
  line-height: var(--line-height-body-medium);
  flex: 1 1 auto;
}

.nh-feature-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  margin-top: var(--spacing-md);
  font-size: var(--font-size-body-small);
  font-weight: 600;
  color: var(--brand-primary);
  text-decoration: none;
  transition: gap 0.15s ease, color 0.15s ease;
}

.nh-feature-card__link:hover {
  gap: var(--spacing-sm);
  color: var(--brand-secondary);
}

.nh-feature-card__arrow {
  transition: transform 0.15s ease;
}

.nh-feature-card__link:hover .nh-feature-card__arrow {
  transform: translateX(2px);
}

.nh-error-page {
  text-align: center;
  padding-top: var(--spacing-xxl);
  padding-bottom: var(--spacing-xxl);
}

.nh-error-page__title {
  margin-top: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

.nh-error-page__desc {
  margin-bottom: var(--spacing-xl);
  color: var(--text-secondary);
}

.nh-demo-container {
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nh-input {
  width: 100%;
  min-height: 46px;
  padding: var(--spacing-sm) var(--spacing-md);
  font-family: var(--font-family-body);
  font-size: var(--font-size-body-medium);
  color: var(--text-primary);
  background-color: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-button);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nh-input:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-primary) 20%, transparent);
}

.nh-input::placeholder {
  color: var(--text-secondary);
  opacity: 0.7;
}

.nh-waitlist-form {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  width: 100%;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 640px) {
  .nh-waitlist-form {
    flex-direction: row;
    align-items: center;
  }

  .nh-waitlist-form .nh-input {
    flex: 1 1 auto;
  }

  .nh-waitlist-form .nh-btn {
    flex-shrink: 0;
  }
}

.nh-waitlist-note {
  font-size: var(--font-size-caption-small);
  color: var(--text-secondary);
  margin-top: var(--spacing-xs);
  text-align: center;
}

.nh-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.nh-hero--flagship {
  padding-top: var(--spacing-xxl);
  padding-bottom: var(--spacing-xxl);
  text-align: center;
  position: relative;
  background: radial-gradient(circle at 50% 10%, color-mix(in srgb, var(--brand-primary) 8%, transparent) 0%, transparent 65%);
}

.nh-hero__waitlist {
  margin-top: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

.nh-hero__preview-container {
  margin-top: var(--spacing-xxl);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.nh-mini-cycle-card {
  background-color: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  box-shadow: var(--elevation-modal);
  padding: var(--spacing-lg);
  overflow: hidden;
  position: relative;
}

.nh-mini-cycle-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: var(--spacing-md);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: var(--spacing-md);
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.nh-mini-cycle-card__title {
  font-size: var(--font-size-heading-medium);
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.nh-mini-cycle-card__meta {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.nh-mini-cycle-svg-wrap {
  width: 100%;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  padding: var(--spacing-md) 0;
}

.nh-mini-cycle-svg {
  width: 100%;
  height: auto;
  display: block;
}

.nh-mini-cycle-card__footer {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-sm);
  padding-top: var(--spacing-md);
  border-top: 1px solid var(--border-subtle);
  margin-top: var(--spacing-md);
}

@media (min-width: 640px) {
  .nh-mini-cycle-card__footer {
    grid-template-columns: repeat(3, 1fr);
  }
}

.nh-mini-cycle-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--spacing-xs);
}

.nh-mini-cycle-stat__label {
  font-size: var(--font-size-caption-small);
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.nh-mini-cycle-stat__value {
  font-family: var(--font-family-mono);
  font-size: var(--font-size-body-medium);
  font-weight: 700;
  color: var(--text-primary);
}

.nh-section-header {
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--spacing-xxl);
}

.nh-section-header__badge {
  margin-bottom: var(--spacing-sm);
  display: inline-flex;
}

.nh-section-header__title {
  font-size: var(--font-size-display-large);
  font-weight: var(--font-weight-display-large);
  line-height: var(--line-height-display-large);
  color: var(--text-primary);
  margin-bottom: var(--spacing-md);
  letter-spacing: -0.02em;
}

.nh-section-header__subtitle {
  font-size: var(--font-size-heading-medium);
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-secondary);
}

.nh-showcase-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-xl);
}

@media (min-width: 900px) {
  .nh-showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.nh-showcase-card {
  background-color: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  box-shadow: var(--elevation-card);
  padding: var(--spacing-xl);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}

.nh-showcase-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--elevation-modal);
  border-color: var(--brand-primary);
}

.nh-showcase-card__header {
  margin-bottom: var(--spacing-lg);
}

.nh-showcase-card__platform {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--spacing-sm);
}

.nh-showcase-card__title {
  font-size: var(--font-size-heading-large);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--spacing-xs);
}

.nh-showcase-card__desc {
  font-size: var(--font-size-body-medium);
  color: var(--text-secondary);
  line-height: 1.5;
}

.nh-showcase-card__specs {
  list-style: none;
  padding: 0;
  margin: var(--spacing-md) 0 var(--spacing-lg) 0;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.nh-showcase-card__spec-item {
  font-size: var(--font-size-body-small);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.nh-showcase-card__spec-icon {
  color: var(--status-success);
  font-weight: bold;
  flex-shrink: 0;
}

.nh-showcase-card__mockup-wrap {
  margin: auto;
  padding-top: var(--spacing-md);
  padding-bottom: var(--spacing-md);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.nh-showcase-card__mockup-img {
  width: 100%;
  max-width: 320px;
  height: auto;
  display: block;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.2));
  transition: transform 0.3s ease;
}

.nh-showcase-card:hover .nh-showcase-card__mockup-img {
  transform: scale(1.02);
}

.nh-pillar-card {
  background-color: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: var(--spacing-xl);
  box-shadow: var(--elevation-card);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  height: 100%;
}

.nh-pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--elevation-modal);
  border-color: var(--brand-primary);
}

.nh-pillar-card__icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-button);
  background-color: color-mix(in srgb, var(--brand-primary) 12%, transparent);
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: var(--spacing-md);
}

.nh-pillar-card--secondary .nh-pillar-card__icon-wrap {
  background-color: color-mix(in srgb, var(--brand-secondary) 12%, transparent);
  color: var(--brand-secondary);
}

.nh-pillar-card--success .nh-pillar-card__icon-wrap {
  background-color: color-mix(in srgb, var(--status-success) 12%, transparent);
  color: var(--status-success);
}

.nh-pillar-card__formula {
  font-family: var(--font-family-mono);
  font-size: var(--font-size-body-small);
  color: var(--brand-primary);
  background-color: color-mix(in srgb, var(--brand-primary) 8%, transparent);
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  display: inline-block;
  margin-bottom: var(--spacing-sm);
}

.nh-pillar-card__title {
  font-size: var(--font-size-heading-large);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--spacing-sm);
}

.nh-pillar-card__body {
  font-size: var(--font-size-body-medium);
  color: var(--text-secondary);
  line-height: 1.6;
}

.nh-metrics-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-md);
}

@media (min-width: 640px) {
  .nh-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .nh-metrics-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.nh-metric-box {
  background-color: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: var(--spacing-lg);
  box-shadow: var(--elevation-card);
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.nh-metric-box:hover {
  transform: translateY(-2px);
  border-color: var(--brand-primary);
}

.nh-metric-box__stat {
  font-family: var(--font-family-mono);
  font-size: calc(var(--font-size-display-large) * 0.9);
  font-weight: 800;
  color: var(--brand-primary);
  line-height: 1.1;
  margin-bottom: var(--spacing-xs);
}

.nh-metric-box:nth-child(2) .nh-metric-box__stat {
  color: var(--brand-secondary);
}

.nh-metric-box:nth-child(3) .nh-metric-box__stat {
  color: var(--status-success);
}

.nh-metric-box:nth-child(4) .nh-metric-box__stat {
  color: var(--cycle-node-c);
}

.nh-metric-box__title {
  font-size: var(--font-size-heading-medium);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--spacing-xs);
}

.nh-metric-box__desc {
  font-size: var(--font-size-body-small);
  color: var(--text-secondary);
  line-height: 1.45;
}

.nh-demo-preview-card {
  background-color: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  box-shadow: var(--elevation-card);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  height: 100%;
}

.nh-demo-preview-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--elevation-modal);
  border-color: var(--brand-primary);
}

.nh-demo-preview-card__visual {
  height: 180px;
  background-color: var(--surface-background);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.nh-demo-preview-card__body {
  padding: var(--spacing-lg);
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.nh-demo-preview-card__badge-row {
  margin-bottom: var(--spacing-xs);
  display: flex;
  gap: var(--spacing-xs);
  flex-wrap: wrap;
}

.nh-demo-preview-card__title {
  font-size: var(--font-size-heading-large);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--spacing-xs);
}

.nh-demo-preview-card__desc {
  font-size: var(--font-size-body-medium);
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: var(--spacing-md);
  flex: 1 1 auto;
}

.nh-demo-preview-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--spacing-lg) 0;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.nh-demo-preview-card__feature-item {
  font-size: var(--font-size-body-small);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.nh-demo-preview-card__feature-dot {
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background-color: var(--brand-primary);
  flex-shrink: 0;
}

.nh-demo-preview-card__footer {
  margin-top: auto;
}

.nh-cta-banner {
  background: linear-gradient(135deg, color-mix(in srgb, var(--brand-primary) 12%, var(--surface-card)) 0%, color-mix(in srgb, var(--brand-secondary) 12%, var(--surface-card)) 100%);
  border: 1px solid color-mix(in srgb, var(--brand-primary) 30%, var(--border-subtle));
  border-radius: var(--radius-card);
  padding: var(--spacing-xxl) var(--spacing-lg);
  box-shadow: var(--elevation-modal);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.nh-cta-banner:hover {
  border-color: var(--brand-primary);
}

@media (min-width: 768px) {
  .nh-cta-banner {
    padding: calc(var(--spacing-xxl) * 1.5) var(--spacing-xxl);
  }
}

.nh-cta-banner__badge {
  display: inline-flex;
  margin-bottom: var(--spacing-sm);
}

.nh-cta-banner__title {
  font-size: var(--font-size-display-large);
  font-weight: var(--font-weight-display-large);
  line-height: var(--line-height-display-large);
  color: var(--text-primary);
  margin-bottom: var(--spacing-md);
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .nh-cta-banner__title {
    font-size: calc(var(--font-size-display-large) * 1.3);
  }
}

.nh-cta-banner__desc {
  font-size: var(--font-size-heading-medium);
  color: var(--text-secondary);
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--spacing-xl);
  line-height: 1.5;
}

.nh-cta-banner__form {
  margin-bottom: var(--spacing-md);
}

.nh-cta-banner__links {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
  flex-wrap: wrap;
  margin-top: var(--spacing-md);
}

.nh-page-hero {
  text-align: center;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--spacing-xl);
}

.nh-page-hero__badge {
  display: inline-flex;
  margin-bottom: var(--spacing-sm);
}

.nh-page-hero__title {
  font-size: var(--font-size-display-large);
  font-weight: var(--font-weight-display-large);
  line-height: var(--line-height-display-large);
  color: var(--text-primary);
  margin-top: var(--spacing-xs);
  margin-bottom: var(--spacing-md);
  letter-spacing: -0.02em;
}

.nh-page-hero__desc {
  font-size: var(--font-size-heading-medium);
  line-height: 1.5;
  color: var(--text-secondary);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.nh-page-actions {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
  flex-wrap: wrap;
  margin-top: var(--spacing-lg);
}

.nh-section-heading-center {
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--spacing-xl);
}

.nh-feature-list {
  margin-top: var(--spacing-sm);
  padding-left: var(--spacing-md);
}

.nh-formula-highlight {
  font-family: var(--font-family-mono);
  font-weight: 700;
  color: var(--brand-primary);
  margin-top: var(--spacing-xs);
  margin-bottom: var(--spacing-xs);
}

.nh-faq-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-xxl);
}

.nh-faq-header {
  margin-bottom: var(--spacing-lg);
}

.nh-contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
}

.nh-form-group {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.nh-form-label {
  font-weight: 600;
  font-size: var(--font-size-body-medium);
  color: var(--text-primary);
}

.nh-form-select {
  cursor: pointer;
}

.nh-form-textarea {
  min-height: 120px;
  resize: vertical;
}

.nh-form-submit {
  align-self: flex-start;
}

.nh-contact-meta {
  font-size: var(--font-size-body-small);
  color: var(--text-secondary);
  margin-top: var(--spacing-md);
}

.nh-contact-meta a {
  color: var(--brand-primary);
  font-weight: 600;
}

.nh-dispute-list {
  margin: var(--spacing-xs) 0 0 0;
  padding-left: var(--spacing-md);
  font-size: var(--font-size-body-small);
}

.nh-dispute-list li {
  margin-bottom: var(--spacing-xs);
}

.nh-dossier-intro {
  margin-bottom: var(--spacing-sm);
}

.nh-dossier-box {
  background-color: var(--surface-background);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: var(--spacing-md);
  font-family: var(--font-family-mono);
  font-size: var(--font-size-body-small);
}

.nh-dossier-box__label {
  color: var(--text-secondary);
}

.nh-dossier-box__item {
  color: var(--brand-primary);
}

.nh-pgp-block {
  margin-top: var(--spacing-md);
}

.nh-pgp-code {
  font-size: 11px;
  line-height: 1.4;
  padding: var(--spacing-sm);
  background-color: var(--surface-background);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  overflow-x: auto;
}

.nh-pgp-fingerprint {
  font-size: 10px;
}

.nh-trade-loop-wrapper {
  margin-bottom: var(--spacing-xxl);
}

.nh-trade-loop-intro {
  font-size: var(--font-size-body-medium);
  color: var(--text-secondary);
  margin-bottom: var(--spacing-lg);
  line-height: 1.6;
}

.nh-trade-loop-grid {
  margin-bottom: var(--spacing-xl);
}

.nh-trade-loop-card {
  background-color: var(--surface-background);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: var(--spacing-lg);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.nh-trade-loop-card:hover {
  transform: translateY(-2px);
}

.nh-trade-loop-card--node-a {
  border-color: color-mix(in srgb, var(--cycle-node-a) 40%, transparent);
}

.nh-trade-loop-card--node-b {
  border-color: color-mix(in srgb, var(--cycle-node-b) 40%, transparent);
}

.nh-trade-loop-card--node-c {
  border-color: color-mix(in srgb, var(--cycle-node-c) 40%, transparent);
}

.nh-trade-loop-card__header {
  margin-bottom: var(--spacing-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nh-trade-loop-card__badge-a {
  color: var(--cycle-node-a);
  border-color: var(--cycle-node-a);
  background-color: color-mix(in srgb, var(--cycle-node-a) 12%, transparent);
}

.nh-trade-loop-card__badge-b {
  color: var(--cycle-node-b);
  border-color: var(--cycle-node-b);
  background-color: color-mix(in srgb, var(--cycle-node-b) 12%, transparent);
}

.nh-trade-loop-card__badge-c {
  color: var(--cycle-node-c);
  border-color: var(--cycle-node-c);
  background-color: color-mix(in srgb, var(--cycle-node-c) 12%, transparent);
}

.nh-trade-loop-card__row {
  font-size: var(--font-size-body-small);
  margin-bottom: var(--spacing-xs);
  line-height: 1.5;
}

.nh-trade-loop-card__label {
  font-weight: 700;
  color: var(--text-primary);
}

.nh-trade-loop-card__val-offer {
  color: var(--status-success);
  font-weight: 600;
}

.nh-trade-loop-card__val-need-a {
  color: var(--brand-primary);
  font-weight: 600;
}

.nh-trade-loop-card__val-need-b {
  color: var(--brand-secondary);
  font-weight: 600;
}

.nh-trade-loop-card__val-need-c {
  color: var(--cycle-node-c);
  font-weight: 600;
}

.nh-trade-loop-card__transfer {
  font-size: var(--font-size-body-small);
  color: var(--text-secondary);
  margin-top: var(--spacing-sm);
  padding-top: var(--spacing-xs);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.nh-trade-loop-visual-container {
  background-color: var(--surface-background);
  border-radius: var(--radius-sm);
  padding: var(--spacing-md);
  border: 1px solid var(--border-subtle);
}

.nh-hero--landing {
  padding-top: calc(var(--spacing-xxl) * 1.25);
  padding-bottom: var(--spacing-xxl);
  text-align: center;
  position: relative;
  background: radial-gradient(circle at 50% 15%, color-mix(in srgb, var(--brand-primary) 9%, transparent) 0%, transparent 68%);
}

.nh-hero__breadcrumbs {
  justify-content: center;
  margin-bottom: var(--spacing-md);
}

.nh-hero__breadcrumbs .nh-breadcrumbs__list {
  justify-content: center;
}

.nh-hero-trust {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-md);
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  margin-top: calc(var(--spacing-xxl) * 1.2);
  padding: var(--spacing-lg);
  background-color: color-mix(in srgb, var(--surface-card) 75%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  box-shadow: var(--elevation-card);
}

@media (min-width: 640px) {
  .nh-hero-trust {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .nh-hero-trust {
    grid-template-columns: repeat(3, 1fr);
    padding: var(--spacing-lg) var(--spacing-xl);
  }
}

.nh-hero-trust__item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
  text-align: left;
  padding: var(--spacing-xs);
}

.nh-hero-trust__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background-color: color-mix(in srgb, var(--brand-primary) 12%, transparent);
  color: var(--brand-primary);
  border: 1px solid color-mix(in srgb, var(--brand-primary) 25%, transparent);
}

.nh-hero-trust__content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nh-hero-trust__title {
  font-size: var(--font-size-body-medium);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.35;
}

.nh-hero-trust__desc {
  font-size: var(--font-size-caption-small);
  color: var(--text-secondary);
  line-height: 1.45;
}

.nh-hero__custom-content {
  margin-top: var(--spacing-xxl);
}

.nh-exchange-bridge {
  padding-top: var(--spacing-xxl);
  padding-bottom: var(--spacing-xxl);
  position: relative;
}

.nh-bridge-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-xl);
  margin-top: var(--spacing-xl);
}

@media (min-width: 900px) {
  .nh-bridge-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
  }
}

.nh-bridge-card {
  background-color: var(--surface-card);
  border-radius: var(--radius-card);
  padding: var(--spacing-xl);
  display: flex;
  flex-direction: column;
  box-shadow: var(--elevation-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
  overflow: hidden;
}

.nh-bridge-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--elevation-modal);
}

.nh-bridge-card--friction {
  border: 1px solid color-mix(in srgb, var(--status-error) 28%, var(--border-subtle));
  background: linear-gradient(180deg, color-mix(in srgb, var(--status-error) 4%, var(--surface-card)) 0%, var(--surface-card) 100%);
}

.nh-bridge-card--solution {
  border: 1px solid color-mix(in srgb, var(--status-success) 35%, var(--border-subtle));
  background: linear-gradient(180deg, color-mix(in srgb, var(--status-success) 5%, var(--surface-card)) 0%, var(--surface-card) 100%);
}

.nh-bridge-card__header {
  margin-bottom: var(--spacing-lg);
  padding-bottom: var(--spacing-md);
  border-bottom: 1px solid var(--border-subtle);
}

.nh-bridge-card__tag-wrap {
  margin-bottom: var(--spacing-sm);
}

.nh-bridge-card__tag {
  display: inline-flex;
  align-items: center;
  padding: 3px var(--spacing-sm);
  font-size: var(--font-size-caption-small);
  font-weight: 700;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.2;
}

.nh-bridge-card__tag--friction {
  background-color: color-mix(in srgb, var(--status-error) 12%, transparent);
  color: var(--status-error);
  border: 1px solid color-mix(in srgb, var(--status-error) 30%, transparent);
}

.nh-bridge-card__tag--solution {
  background-color: color-mix(in srgb, var(--status-success) 12%, transparent);
  color: var(--status-success);
  border: 1px solid color-mix(in srgb, var(--status-success) 30%, transparent);
}

.nh-bridge-card__title {
  font-size: var(--font-size-heading-large);
  font-weight: var(--font-weight-heading-large);
  color: var(--text-primary);
  margin-bottom: var(--spacing-xs);
  line-height: var(--line-height-heading-large);
}

.nh-bridge-card__summary {
  font-size: var(--font-size-body-small);
  color: var(--text-secondary);
  line-height: var(--line-height-body-small);
  margin: 0;
}

.nh-bridge-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  flex: 1;
}

.nh-bridge-card__item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
  padding: var(--spacing-sm);
  border-radius: var(--radius-sm);
  transition: background-color 0.15s ease;
}

.nh-bridge-card__item:hover {
  background-color: color-mix(in srgb, var(--text-primary) 3%, transparent);
}

.nh-bridge-card__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.nh-bridge-card__icon--friction {
  background-color: color-mix(in srgb, var(--status-error) 14%, transparent);
  color: var(--status-error);
  border: 1px solid color-mix(in srgb, var(--status-error) 25%, transparent);
}

.nh-bridge-card__icon--solution {
  background-color: color-mix(in srgb, var(--status-success) 14%, transparent);
  color: var(--status-success);
  border: 1px solid color-mix(in srgb, var(--status-success) 25%, transparent);
}

.nh-bridge-card__item-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.nh-bridge-card__item-heading {
  font-size: var(--font-size-body-medium);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
}

.nh-bridge-card__item-desc {
  font-size: var(--font-size-body-small);
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

.nh-bridge-custom-content {
  margin-top: var(--spacing-xl);
}

.nh-section--cta {
  padding-top: var(--spacing-xxl);
  padding-bottom: calc(var(--spacing-xxl) * 1.5);
}

.nh-cta-card {
  background-color: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.nh-cta-card:hover {
  border-color: var(--brand-primary);
}

.nh-usecase-card {
  background-color: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  box-shadow: var(--elevation-card);
  padding: var(--spacing-xl);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}

.nh-usecase-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--elevation-modal);
  border-color: var(--brand-primary);
}

.nh-usecase-card__header {
  margin-bottom: var(--spacing-md);
  padding-bottom: var(--spacing-md);
  border-bottom: 1px solid var(--border-subtle);
}

.nh-usecase-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--spacing-sm);
  flex-wrap: wrap;
  gap: var(--spacing-xs);
}

.nh-usecase-card__val {
  display: inline-flex;
  align-items: center;
  font-size: var(--font-size-caption-small);
  font-weight: 700;
  color: var(--brand-primary);
  font-family: var(--font-family-mono, monospace);
  background: color-mix(in srgb, var(--brand-primary) 10%, transparent);
  padding: 3px var(--spacing-sm);
  border-radius: var(--radius-full);
  letter-spacing: 0.02em;
}

.nh-usecase-card__title {
  font-size: var(--font-size-heading-large);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--spacing-xs);
  line-height: 1.3;
}

.nh-usecase-card__summary {
  font-size: var(--font-size-body-medium);
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: var(--spacing-md);
}

.nh-usecase-card__trade-matrix {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.nh-usecase-card__trade-item {
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--radius-sm);
  font-size: var(--font-size-body-small);
  line-height: 1.4;
}

.nh-usecase-card__trade-item--have {
  background-color: color-mix(in srgb, var(--brand-primary) 8%, var(--surface-card));
  border: 1px solid color-mix(in srgb, var(--brand-primary) 20%, var(--border-subtle));
}

.nh-usecase-card__trade-item--need {
  background-color: color-mix(in srgb, var(--status-success) 8%, var(--surface-card));
  border: 1px solid color-mix(in srgb, var(--status-success) 20%, var(--border-subtle));
}

.nh-usecase-card__trade-label {
  display: block;
  font-size: var(--font-size-caption-small);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.nh-usecase-card__trade-label--have {
  color: var(--brand-primary);
}

.nh-usecase-card__trade-label--need {
  color: var(--status-success);
}

.nh-usecase-card__trade-val-text {
  font-weight: 600;
  color: var(--text-primary);
}

.nh-usecase-card__loop {
  background-color: color-mix(in srgb, var(--text-primary) 3%, transparent);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

.nh-usecase-card__loop-heading {
  font-size: var(--font-size-caption-small);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nh-usecase-card__loop-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.nh-usecase-step {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-sm);
  font-size: var(--font-size-body-small);
  line-height: 1.45;
}

.nh-usecase-step__badge {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-caption-small);
  font-weight: 700;
  color: #FFFFFF;
  margin-top: 1px;
}

.nh-usecase-step__badge--a {
  background-color: var(--cycle-node-a);
}

.nh-usecase-step__badge--b {
  background-color: var(--cycle-node-b);
}

.nh-usecase-step__badge--c {
  background-color: var(--cycle-node-c);
}

.nh-usecase-step__content {
  flex: 1;
  color: var(--text-secondary);
}

.nh-usecase-step__entity {
  font-weight: 700;
  color: var(--text-primary);
}

.nh-usecase-card__footer {
  margin-top: auto;
  padding-top: var(--spacing-sm);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--spacing-xs);
}

.nh-usecase-card__metric {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--font-size-body-small);
  font-weight: 600;
  color: var(--status-success);
}

.nh-usecase-card__link {
  font-size: var(--font-size-body-small);
  font-weight: 600;
  color: var(--brand-primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
}

.nh-usecase-card__link:hover {
  text-decoration: underline;
}

:root {
  --space-xs: var(--spacing-xs, 4px);
  --space-sm: var(--spacing-sm, 8px);
  --space-md: var(--spacing-md, 16px);
  --space-lg: var(--spacing-lg, 24px);
  --space-xl: var(--spacing-xl, 32px);
  --space-xxl: var(--spacing-xxl, 48px);
}

.nh-image-wrap {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-card, 16px);
  background: linear-gradient(135deg, rgba(135, 78, 255, 0.08) 0%, rgba(56, 182, 255, 0.08) 100%);
}

[data-theme="dark"] .nh-image-wrap {
  background: linear-gradient(135deg, rgba(135, 78, 255, 0.14) 0%, rgba(56, 182, 255, 0.12) 100%);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .nh-image-wrap {
    background: linear-gradient(135deg, rgba(135, 78, 255, 0.14) 0%, rgba(56, 182, 255, 0.12) 100%);
  }
}

.nh-image-wrap[data-aspect="16-9"] {
  aspect-ratio: 16 / 9;
}

.nh-image-wrap[data-aspect="4-3"] {
  aspect-ratio: 4 / 3;
}

.nh-image-wrap[data-aspect="1-1"] {
  aspect-ratio: 1 / 1;
}

.nh-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.nh-hero__visual-wrap {
  margin-top: var(--space-xl, 32px);
  margin-bottom: var(--space-xl, 32px);
  border-radius: var(--radius-card, 16px);
  overflow: hidden;
  border: 1px solid var(--border-subtle, rgba(229, 231, 235, 0.5));
  box-shadow: 0 16px 48px -12px rgba(135, 78, 255, 0.18);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

[data-theme="dark"] .nh-hero__visual-wrap {
  border-color: rgba(135, 78, 255, 0.25);
  box-shadow: 0 16px 48px -12px rgba(135, 78, 255, 0.3);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .nh-hero__visual-wrap {
    border-color: rgba(135, 78, 255, 0.25);
    box-shadow: 0 16px 48px -12px rgba(135, 78, 255, 0.3);
  }
}

.nh-feature-card__media {
  margin: calc(var(--space-md, 16px) * -1) calc(var(--space-md, 16px) * -1) var(--space-md, 16px) calc(var(--space-md, 16px) * -1);
  border-top-left-radius: var(--radius-card, 16px);
  border-top-right-radius: var(--radius-card, 16px);
  overflow: hidden;
}

.nh-feature-card__media .nh-image-wrap {
  border-radius: 0;
}

.nh-feature-card:hover .nh-image {
  transform: scale(1.04);
}

@media (prefers-reduced-motion: reduce) {
  .nh-image,
  .nh-feature-card:hover .nh-image {
    transition: none;
    transform: none;
  }
}




/* === docs.css === */
.nh-docs-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-xl);
  padding-top: var(--spacing-lg);
  padding-bottom: var(--spacing-xxl);
}

@media (min-width: 1024px) {
  .nh-docs-layout {
    grid-template-columns: 260px minmax(0, 1fr);
  }
}

.nh-docs-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

@media (min-width: 1024px) {
  .nh-docs-sidebar {
    position: sticky;
    top: 80px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    padding-right: var(--spacing-md);
  }
}

.nh-docs-sidebar__group {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.nh-docs-sidebar__title {
  font-size: var(--font-size-caption-small);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  padding: var(--spacing-xs) var(--spacing-sm);
  margin-bottom: var(--spacing-xs);
}

.nh-docs-sidebar__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nh-docs-sidebar__item {
  margin: 0;
}

.nh-docs-sidebar__link {
  font-size: var(--font-size-body-small);
  line-height: var(--line-height-body-small);
  color: var(--text-secondary);
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  min-height: 38px;
  border-left: 3px solid transparent;
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.nh-docs-sidebar__link:hover {
  color: var(--brand-primary);
  background-color: var(--surface-card);
}

.nh-docs-sidebar__link.is-active {
  color: var(--brand-primary);
  font-weight: 600;
  background-color: rgba(135, 78, 255, 0.12);
  border-left-color: var(--brand-primary);
}

[data-theme="dark"] .nh-docs-sidebar__link:hover {
  color: var(--brand-secondary);
}

[data-theme="dark"] .nh-docs-sidebar__link.is-active {
  color: var(--brand-secondary);
  background-color: rgba(135, 78, 255, 0.16);
  border-left-color: var(--brand-secondary);
}

[data-theme="light"] .nh-docs-sidebar__link:hover {
  color: var(--brand-primary);
}

[data-theme="light"] .nh-docs-sidebar__link.is-active {
  color: var(--brand-primary);
  background-color: rgba(135, 78, 255, 0.1);
  border-left-color: var(--brand-primary);
}

.nh-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--spacing-xs);
  font-size: var(--font-size-body-small);
  color: var(--text-secondary);
  margin-bottom: var(--spacing-lg);
}

.nh-breadcrumbs__list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: var(--spacing-xs);
}

.nh-breadcrumb-item {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.nh-breadcrumb-item a {
  color: var(--text-secondary);
  transition: color 0.15s ease;
}

.nh-breadcrumb-item a:hover {
  color: var(--brand-primary);
}

.nh-breadcrumb-separator {
  color: var(--border-subtle);
  user-select: none;
}

.nh-prose {
  max-width: 760px;
  color: var(--text-primary);
  line-height: 1.7;
  font-size: var(--font-size-body-medium);
}

.nh-prose h1 {
  font-size: var(--font-size-display-large);
  margin-bottom: var(--spacing-md);
  padding-bottom: var(--spacing-xs);
  border-bottom: 1px solid var(--border-subtle);
}

.nh-prose h2 {
  font-size: var(--font-size-heading-large);
  margin-top: var(--spacing-xl);
  margin-bottom: var(--spacing-sm);
  padding-bottom: var(--spacing-xs);
  border-bottom: 1px solid var(--border-subtle);
}

.nh-prose h3 {
  font-size: var(--font-size-heading-medium);
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-xs);
}

.nh-prose p {
  margin-bottom: var(--spacing-md);
}

.nh-prose ul,
.nh-prose ol {
  margin-bottom: var(--spacing-md);
  padding-left: var(--spacing-lg);
}

.nh-prose li {
  margin-bottom: var(--spacing-xs);
}

.nh-prose table {
  width: 100%;
  margin-top: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--elevation-card);
}

.nh-prose th,
.nh-prose td {
  padding: var(--spacing-sm) var(--spacing-md);
  border-bottom: 1px solid var(--border-subtle);
  text-align: left;
  font-size: var(--font-size-body-small);
}

.nh-prose th {
  background-color: var(--surface-card);
  font-weight: 600;
  color: var(--text-primary);
}

.nh-prose tr:last-child td {
  border-bottom: none;
}

.nh-code-block {
  position: relative;
  margin-top: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background-color: var(--surface-card);
  box-shadow: var(--elevation-card);
}

.nh-code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-xs) var(--spacing-md);
  background-color: var(--surface-background);
  border-bottom: 1px solid var(--border-subtle);
  font-size: var(--font-size-caption-small);
  font-family: var(--font-family-mono);
  color: var(--text-secondary);
}

.nh-code-copy {
  min-height: 28px;
  padding: 2px var(--spacing-xs);
  font-size: var(--font-size-caption-small);
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-subtle);
  background-color: var(--surface-card);
  color: var(--text-secondary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.nh-code-copy:hover {
  color: var(--brand-primary);
  border-color: var(--brand-primary);
}

.nh-code-block pre {
  margin: 0;
  padding: var(--spacing-md);
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  overflow-x: auto;
}

.nh-token-keyword {
  color: var(--brand-secondary);
  font-weight: 600;
}

.nh-token-string {
  color: var(--status-success);
}

.nh-token-comment {
  color: var(--text-secondary);
  font-style: italic;
}

.nh-token-function {
  color: var(--brand-primary);
}

.nh-token-number {
  color: var(--status-warning);
}

.nh-token-operator {
  color: var(--text-primary);
}

[data-theme="light"] .nh-token-keyword {
  color: var(--brand-primary);
}

[data-theme="light"] .nh-token-string {
  color: color-mix(in srgb, var(--status-success) 35%, var(--text-primary));
}

[data-theme="light"] .nh-token-number {
  color: color-mix(in srgb, var(--status-warning) 35%, var(--text-primary));
}

.nh-callout {
  display: flex;
  gap: var(--spacing-md);
  padding: var(--spacing-md) var(--spacing-lg);
  border-radius: var(--radius-card);
  border-left: 4px solid var(--brand-primary);
  background-color: var(--surface-card);
  border-top: 1px solid var(--border-subtle);
  border-right: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  margin-top: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
  box-shadow: var(--elevation-card);
}

.nh-callout__icon {
  font-size: 20px;
  flex-shrink: 0;
  color: var(--brand-primary);
  line-height: 1.4;
}

.nh-callout__body {
  font-size: var(--font-size-body-medium);
  line-height: 1.5;
  color: var(--text-primary);
}

.nh-callout__title {
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
  color: var(--text-primary);
}

.nh-callout--primary {
  border-left-color: var(--brand-primary);
}

.nh-callout--primary .nh-callout__icon {
  color: var(--brand-primary);
}

.nh-callout--info {
  border-left-color: var(--color-blue);
}

.nh-callout--info .nh-callout__icon {
  color: var(--color-blue);
}

.nh-callout--warning {
  border-left-color: var(--status-warning);
}

.nh-callout--warning .nh-callout__icon {
  color: var(--status-warning);
}

.nh-callout--success {
  border-left-color: var(--status-success);
}

.nh-callout--success .nh-callout__icon {
  color: var(--status-success);
}

.nh-callout--error {
  border-left-color: var(--status-error);
}

.nh-callout--error .nh-callout__icon {
  color: var(--status-error);
}

.nh-docs-pagination {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-md);
  margin-top: var(--spacing-xxl);
  padding-top: var(--spacing-lg);
  border-top: 1px solid var(--border-subtle);
}

@media (min-width: 640px) {
  .nh-docs-pagination {
    grid-template-columns: 1fr 1fr;
  }
}

.nh-docs-page-link {
  display: flex;
  flex-direction: column;
  padding: var(--spacing-md);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  background-color: var(--surface-card);
  box-shadow: var(--elevation-card);
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  min-height: 64px;
}

.nh-docs-page-link:hover {
  transform: translateY(-2px);
  border-color: var(--brand-primary);
  box-shadow: var(--elevation-modal);
}

.nh-docs-page-link--next {
  text-align: right;
  align-items: flex-end;
}

.nh-docs-page-link__label {
  font-size: var(--font-size-caption-small);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-xs);
}

.nh-docs-page-link__title {
  font-size: var(--font-size-heading-medium);
  font-weight: 600;
  color: var(--brand-primary);
}

.nh-edu-section-gap {
  padding-top: var(--spacing-2xl);
}

.nh-edu-card-grid {
  margin-top: var(--spacing-xl);
  gap: var(--spacing-lg);
}

.nh-edu-subgrid {
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
  gap: var(--spacing-md);
}

.nh-edu-meta {
  margin-bottom: var(--spacing-sm);
}

.nh-edu-list {
  margin: var(--spacing-md) 0;
  padding-left: var(--spacing-md);
}

.nh-edu-actions {
  margin-top: var(--spacing-md);
}

.nh-edu-diagram {
  margin-top: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
  padding: var(--spacing-lg);
}

.nh-edu-diagram svg {
  display: block;
  font-family: var(--font-family-sans, system-ui);
}

.nh-edu-formula {
  text-align: center;
  font-family: var(--font-family-mono);
  font-weight: 600;
  padding: var(--spacing-sm);
  background: var(--surface-card);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  margin: var(--spacing-sm) 0;
}

.nh-edu-code-line {
  font-family: var(--font-family-mono);
  margin: var(--spacing-xs) 0;
}




/* === widgets.css === */
.nh-cycle-graph {
  position: relative;
  width: 100%;
  min-height: 380px;
  background-color: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  box-shadow: var(--elevation-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.nh-cycle-graph__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-sm) var(--spacing-md);
  border-bottom: 1px solid var(--border-subtle);
  background-color: var(--surface-background);
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.nh-cycle-graph__canvas-wrap {
  position: relative;
  width: 100%;
  flex: 1;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nh-cycle-graph__canvas {
  width: 100%;
  height: 100%;
  min-height: 320px;
  display: block;
}

.nh-node-a {
  color: var(--cycle-node-a);
  background-color: color-mix(in srgb, var(--cycle-node-a) 12%, transparent);
  border-color: var(--cycle-node-a);
}

.nh-node-b {
  color: var(--cycle-node-b);
  background-color: color-mix(in srgb, var(--cycle-node-b) 12%, transparent);
  border-color: var(--cycle-node-b);
}

.nh-node-c {
  color: var(--cycle-node-c);
  background-color: color-mix(in srgb, var(--cycle-node-c) 12%, transparent);
  border-color: var(--cycle-node-c);
}

.nh-cycle-legend {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
}

.nh-cycle-legend__item {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  font-size: var(--font-size-caption-small);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background-color: var(--surface-card);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.nh-cycle-legend__item:hover {
  border-color: currentColor;
  transform: translateY(-1px);
}

.nh-cycle-legend__item.is-selected {
  border-color: currentColor;
  box-shadow: 0 0 0 2px color-mix(in srgb, currentColor 25%, transparent);
}

.nh-cycle-legend__item--node-a {
  color: var(--cycle-node-a);
}

.nh-cycle-legend__item--node-b {
  color: var(--cycle-node-b);
}

.nh-cycle-legend__item--node-c {
  color: var(--cycle-node-c);
}

.nh-cycle-legend__dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background-color: currentColor;
}

.nh-cycle-controls {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  flex-wrap: wrap;
}

.nh-cycle-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: 6px 12px;
  font-size: var(--font-size-body-small);
  font-weight: 600;
  border-radius: var(--radius-sm);
  background-color: var(--surface-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.nh-cycle-btn:hover {
  border-color: var(--brand-primary);
  color: var(--text-primary);
}

.nh-cycle-btn.is-active {
  background-color: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #FFFFFF;
}

.nh-cycle-btn--danger {
  border-color: color-mix(in srgb, var(--status-error) 40%, transparent);
  color: var(--status-error);
}

.nh-cycle-btn--danger:hover {
  background-color: color-mix(in srgb, var(--status-error) 10%, transparent);
  border-color: var(--status-error);
  color: var(--status-error);
}

.nh-cycle-inspector {
  background-color: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: var(--spacing-lg);
  box-shadow: var(--elevation-card);
  margin-top: var(--spacing-md);
  transition: all 0.2s ease;
}

.nh-cycle-inspector__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: var(--spacing-md);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: var(--spacing-md);
  flex-wrap: wrap;
  gap: var(--spacing-md);
}

.nh-cycle-inspector__participant {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.nh-cycle-inspector__avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--font-size-heading-medium);
  color: #FFFFFF;
  border: 2px solid var(--border-subtle);
  flex-shrink: 0;
}

.nh-cycle-inspector__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-md);
}

@media (min-width: 768px) {
  .nh-cycle-inspector__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.nh-cycle-inspector__panel {
  background-color: var(--surface-background);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: var(--spacing-md);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.nh-cycle-inspector__delta {
  grid-column: 1 / -1;
  background-color: color-mix(in srgb, var(--status-success) 8%, var(--surface-card));
  border: 1px solid color-mix(in srgb, var(--status-success) 30%, transparent);
  border-radius: var(--radius-sm);
  padding: var(--spacing-md);
}

.nh-cycle-callout {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
  padding: var(--spacing-lg);
  border-radius: var(--radius-card);
  border: 1px solid var(--border-subtle);
  background-color: var(--surface-card);
  box-shadow: var(--elevation-card);
  margin-top: var(--spacing-md);
  position: relative;
}

.nh-cycle-callout--violation {
  border-color: var(--status-error);
  background-color: color-mix(in srgb, var(--status-error) 6%, var(--surface-card));
}

.nh-cycle-callout__icon {
  font-size: 24px;
  line-height: 1;
  flex-shrink: 0;
}

.nh-cycle-callout__content {
  flex: 1;
}

.nh-cycle-callout__title {
  font-size: var(--font-size-heading-medium);
  font-weight: 700;
  margin: 0 0 var(--spacing-xs) 0;
  color: var(--text-primary);
}

.nh-cycle-callout--violation .nh-cycle-callout__title {
  color: var(--status-error);
}

.nh-cycle-callout__desc {
  font-size: var(--font-size-body-medium);
  color: var(--text-secondary);
  margin: 0 0 var(--spacing-sm) 0;
  line-height: 1.5;
}

.nh-cycle-callout__list {
  margin: var(--spacing-sm) 0 0 0;
  padding-left: var(--spacing-lg);
  font-size: var(--font-size-body-small);
  color: var(--text-secondary);
}

.nh-cycle-callout__list li {
  margin-bottom: var(--spacing-xs);
}

.nh-cycle-callout.nh-cycle-callout--hidden {
  display: none;
}

.nh-cycle-callout__btn {
  margin-top: var(--spacing-sm);
}

.nh-cycle-deep-dive {
  margin-top: var(--spacing-xl);
}

.nh-cycle-formula {
  margin: var(--spacing-sm) 0;
  padding: var(--spacing-xs) var(--spacing-sm);
  background-color: var(--surface-background);
  border-radius: var(--radius-sm);
  font-family: var(--font-family-mono);
  font-size: var(--font-size-body-small);
  text-align: center;
  color: var(--text-primary);
}

.nh-cycle-cta {
  margin-top: var(--spacing-lg);
  text-align: center;
  background-color: color-mix(in srgb, var(--brand-primary) 5%, var(--surface-card));
}

.nh-cycle-cta__title {
  margin: 0 0 var(--spacing-sm) 0;
  font-size: var(--font-size-heading-medium);
  color: var(--text-primary);
}

.nh-cycle-cta__text {
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto var(--spacing-md) auto;
  font-size: var(--font-size-body-medium);
}

.nh-cycle-cta__actions {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.nh-stepper {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  background-color: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: var(--spacing-lg);
  box-shadow: var(--elevation-card);
}

.nh-step-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  position: relative;
  flex: 1;
  cursor: pointer;
  min-height: 44px;
}

.nh-step-indicator {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  border: 2px solid var(--border-subtle);
  background-color: var(--surface-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-body-small);
  font-weight: 700;
  color: var(--text-secondary);
  z-index: 2;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.nh-step-item.is-active .nh-step-indicator {
  border-color: var(--brand-primary);
  color: var(--text-inverse);
  background-color: var(--brand-primary);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand-primary) 20%, transparent);
}

.nh-step-item.is-completed .nh-step-indicator {
  border-color: var(--status-success);
  color: var(--text-inverse);
  background-color: var(--status-success);
}

.nh-step-label {
  display: flex;
  flex-direction: column;
}

.nh-step-title {
  font-size: var(--font-size-caption-small);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  transition: color 0.15s ease;
}

.nh-step-desc {
  font-size: var(--font-size-body-small);
  color: var(--text-secondary);
}

.nh-step-item.is-active .nh-step-title {
  color: var(--brand-primary);
}

.nh-step-item.is-completed .nh-step-title {
  color: var(--text-primary);
}

@media (min-width: 768px) {
  .nh-stepper {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0;
  }

  .nh-step-item {
    flex-direction: column;
    text-align: center;
    gap: var(--spacing-xs);
  }

  .nh-step-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 18px;
    left: calc(50% + 20px);
    right: calc(-50% + 20px);
    height: 2px;
    background-color: var(--border-subtle);
    z-index: 1;
    transition: background-color 0.2s ease;
  }

  .nh-step-item.is-completed:not(:last-child)::after {
    background-color: var(--status-success);
  }
}

.nh-credit-gauge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-lg);
  background-color: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  box-shadow: var(--elevation-card);
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nh-credit-gauge__visual {
  position: relative;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.nh-credit-gauge__svg {
  width: 100%;
  height: auto;
  max-height: 240px;
  overflow: visible;
  display: block;
}

.nh-credit-gauge__track-bg {
  transition: stroke 0.3s ease;
}

.nh-credit-gauge__segment {
  transition: stroke-opacity 0.3s ease;
}

.nh-credit-gauge__segment--breach {
  animation: nh-breach-pulse 2s infinite ease-in-out;
}

.nh-credit-gauge__fill {
  transition: stroke 0.3s ease, opacity 0.25s ease;
}

.nh-credit-gauge__tick-text {
  font-family: var(--font-family-mono, monospace);
  font-size: 10px;
  font-weight: 600;
  fill: var(--text-secondary);
  user-select: none;
}

.nh-credit-gauge__needle-group {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: transform;
}

.nh-credit-gauge__needle-body {
  fill: var(--text-primary);
  transition: fill 0.3s ease;
}

.nh-credit-gauge__needle-tip,
.nh-credit-gauge__needle-hub-inner {
  transition: fill 0.3s ease;
}

.nh-credit-gauge__center-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: calc(-1 * var(--spacing-lg));
  z-index: 2;
  position: relative;
}

.nh-credit-gauge__balance-val {
  font-size: var(--font-size-display-large);
  font-weight: 700;
  line-height: 1.1;
  font-family: var(--font-family-mono, monospace);
  color: var(--text-primary);
  transition: color 0.25s ease;
  letter-spacing: -0.02em;
}

.nh-credit-gauge__balance-val--surplus,
.nh-credit-gauge__balance-val--safe {
  color: var(--status-success);
}

.nh-credit-gauge__balance-val--elevated {
  color: var(--status-warning);
}

.nh-credit-gauge__balance-val--critical,
.nh-credit-gauge__balance-val--breach {
  color: var(--status-error);
}

.nh-credit-gauge__unit-label {
  font-size: var(--font-size-caption-small);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-top: 2px;
  margin-bottom: var(--spacing-xs);
}

.nh-credit-gauge__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: var(--font-size-caption-small);
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: all 0.25s ease;
  user-select: none;
}

.nh-credit-gauge__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background-color: currentColor;
  display: inline-block;
}

.nh-badge--safe {
  color: var(--status-success);
  background-color: color-mix(in srgb, var(--status-success) 12%, var(--surface-card));
  border: 1px solid color-mix(in srgb, var(--status-success) 30%, transparent);
}

.nh-badge--warning {
  color: var(--status-warning);
  background-color: color-mix(in srgb, var(--status-warning) 12%, var(--surface-card));
  border: 1px solid color-mix(in srgb, var(--status-warning) 30%, transparent);
}

.nh-badge--critical {
  color: var(--status-error);
  background-color: color-mix(in srgb, var(--status-error) 12%, var(--surface-card));
  border: 1px solid color-mix(in srgb, var(--status-error) 30%, transparent);
}

.nh-badge--breach {
  color: var(--status-error);
  background-color: color-mix(in srgb, var(--status-error) 16%, var(--surface-card));
  border: 1px solid var(--status-error);
  animation: nh-breach-pulse 2s infinite ease-in-out;
}

@keyframes nh-breach-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--status-error) 40%, transparent);
  }
  50% {
    box-shadow: 0 0 0 6px color-mix(in srgb, var(--status-error) 0%, transparent);
  }
}

.nh-credit-gauge__metrics {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-lg);
  padding-top: var(--spacing-md);
  border-top: 1px solid var(--border-subtle);
}

@media (min-width: 480px) {
  .nh-credit-gauge__metrics {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .nh-credit-gauge__metrics {
    grid-template-columns: repeat(4, 1fr);
  }
}

.nh-credit-gauge__metric-card {
  background-color: var(--surface-background);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: var(--spacing-sm) var(--spacing-md);
  display: flex;
  flex-direction: column;
  gap: 2px;
  transition: border-color 0.2s ease;
}

.nh-credit-gauge__metric-label {
  font-size: var(--font-size-caption-small);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
}

.nh-credit-gauge__metric-value {
  font-size: var(--font-size-heading-medium);
  font-weight: 700;
  font-family: var(--font-family-mono, monospace);
  color: var(--text-primary);
  line-height: 1.2;
}

.nh-credit-gauge__metric-value--headroom {
  color: var(--brand-primary);
}

.nh-credit-gauge__metric-value.nh-credit-gauge__metric-value--deficit {
  color: var(--status-error);
}

.nh-credit-gauge__metric-sub {
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.2;
}

.nh-gauge-preset-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-xs);
  margin-bottom: var(--spacing-lg);
  justify-content: center;
}

.nh-gauge-preset-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: 8px 14px;
  font-size: var(--font-size-body-small);
  font-weight: 600;
  border-radius: var(--radius-sm);
  background-color: var(--surface-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.nh-gauge-preset-btn:hover {
  border-color: var(--brand-primary);
  color: var(--text-primary);
  transform: translateY(-1px);
}

.nh-gauge-preset-btn.is-active {
  background-color: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #FFFFFF;
  box-shadow: 0 2px 8px color-mix(in srgb, var(--brand-primary) 30%, transparent);
}

.nh-gauge-controls-card {
  background-color: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: var(--spacing-lg);
  box-shadow: var(--elevation-card);
  margin-top: var(--spacing-lg);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.nh-gauge-limit-pills {
  display: flex;
  gap: var(--spacing-xs);
  flex-wrap: wrap;
  margin-top: var(--spacing-xs);
}

.nh-gauge-limit-pill {
  flex: 1;
  min-width: 65px;
  padding: 6px 12px;
  font-size: var(--font-size-body-small);
  font-weight: 600;
  font-family: var(--font-family-mono, monospace);
  border-radius: var(--radius-xs);
  background-color: var(--surface-background);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: center;
}

.nh-gauge-limit-pill:hover {
  border-color: var(--brand-primary);
  color: var(--text-primary);
}

.nh-gauge-limit-pill.is-active {
  background-color: color-mix(in srgb, var(--brand-primary) 15%, var(--surface-card));
  border-color: var(--brand-primary);
  color: var(--brand-primary);
  font-weight: 700;
}

.nh-sponsor-alert {
  margin-top: var(--spacing-lg);
  border-radius: var(--radius-card);
  border: 1px solid var(--status-error);
  background-color: color-mix(in srgb, var(--status-error) 8%, var(--surface-card));
  padding: var(--spacing-lg);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  transition: all 0.3s ease;
}

.nh-sponsor-alert.nh-sponsor-alert--hidden {
  display: none;
}

.nh-sponsor-alert__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
}

.nh-sponsor-alert__title {
  font-size: var(--font-size-heading-medium);
  font-weight: 700;
  color: var(--status-error);
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  margin: 0;
}

.nh-sponsor-alert__desc {
  font-size: var(--font-size-body-medium);
  color: var(--text-primary);
  margin: 0;
  line-height: 1.5;
}

.nh-sponsor-alert__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-sm);
}

@media (min-width: 640px) {
  .nh-sponsor-alert__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.nh-sponsor-alert__hop-card {
  background-color: var(--surface-card);
  border: 1px solid color-mix(in srgb, var(--status-error) 25%, transparent);
  border-radius: var(--radius-sm);
  padding: var(--spacing-sm) var(--spacing-md);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nh-sponsor-alert__hop-title {
  font-size: var(--font-size-caption-small);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--status-error);
}

.nh-sponsor-alert__hop-factor {
  font-size: 11px;
  font-family: var(--font-family-mono, monospace);
  color: var(--text-secondary);
}

.nh-sponsor-alert__hop-amount {
  font-size: var(--font-size-heading-small, 16px);
  font-weight: 700;
  font-family: var(--font-family-mono, monospace);
  color: var(--text-primary);
}

.nh-sponsor-alert__footer {
  font-size: var(--font-size-body-small);
  color: var(--text-secondary);
  border-top: 1px solid color-mix(in srgb, var(--status-error) 20%, transparent);
  padding-top: var(--spacing-sm);
  margin: 0;
}

.nh-slider-control {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
  width: 100%;
}

.nh-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--font-size-body-small);
  font-weight: 500;
  color: var(--text-secondary);
}

.nh-slider-value {
  font-weight: 700;
  color: var(--text-primary);
  font-family: var(--font-family-mono);
}

.nh-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--border-subtle);
  outline: none;
  cursor: pointer;
  min-height: 44px;
  padding: 18px 0;
}

.nh-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand-primary);
  cursor: pointer;
  box-shadow: var(--elevation-card);
  border: 2px solid var(--text-inverse);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.nh-range::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--brand-primary) 20%, transparent);
}

.nh-range::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand-primary);
  cursor: pointer;
  box-shadow: var(--elevation-card);
  border: 2px solid var(--text-inverse);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.nh-range::-moz-range-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--brand-primary) 20%, transparent);
}

.nh-metric-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-xs) var(--spacing-md);
  border-radius: var(--radius-full);
  background-color: var(--surface-card);
  border: 1px solid var(--border-subtle);
  font-size: var(--font-size-body-small);
  color: var(--text-primary);
  box-shadow: var(--elevation-card);
}

.nh-metric-chip__label {
  color: var(--text-secondary);
  font-size: var(--font-size-caption-small);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nh-metric-chip__val {
  font-weight: 700;
  font-family: var(--font-family-mono);
  color: var(--brand-primary);
}

.nh-lifecycle-stepper {
  display: flex;
  flex-direction: column;
  background-color: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  box-shadow: var(--elevation-card);
  overflow: hidden;
  position: relative;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}

.nh-lifecycle-stepper__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-sm) var(--spacing-md);
  background-color: var(--surface-background);
  border-bottom: 1px solid var(--border-subtle);
  gap: var(--spacing-sm);
  flex-wrap: wrap;
}

.nh-lifecycle-stepper__status-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background-color: color-mix(in srgb, var(--brand-primary) 10%, var(--surface-card));
  border: 1px solid color-mix(in srgb, var(--brand-primary) 25%, transparent);
  font-size: var(--font-size-caption-small);
  font-weight: 600;
  color: var(--brand-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nh-lifecycle-stepper__status-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background-color: var(--brand-primary);
  display: inline-block;
  animation: nh-pulse-dot 2s infinite ease-in-out;
}

@keyframes nh-pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
}

.nh-lifecycle-stepper__controls {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  flex-wrap: wrap;
}

.nh-lifecycle-stepper__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xs);
  padding: 6px 14px;
  min-height: 36px;
  font-size: var(--font-size-body-small);
  font-weight: 600;
  border-radius: var(--radius-sm);
  background-color: var(--surface-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.nh-lifecycle-stepper__btn:hover:not(:disabled) {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
  background-color: color-mix(in srgb, var(--brand-primary) 6%, var(--surface-card));
}

.nh-lifecycle-stepper__btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.nh-lifecycle-stepper__btn:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 2px;
}

.nh-lifecycle-stepper__btn--primary {
  background-color: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #FFFFFF;
}

.nh-lifecycle-stepper__btn--primary:hover:not(:disabled) {
  filter: brightness(1.1);
  background-color: var(--brand-primary);
  color: #FFFFFF;
}

.nh-lifecycle-stepper__btn--autoplay.is-active {
  background-color: color-mix(in srgb, var(--status-success) 12%, var(--surface-card));
  border-color: var(--status-success);
  color: var(--status-success);
}

.nh-lifecycle-stepper__autoplay-timer {
  width: 100%;
  height: 3px;
  background-color: var(--border-subtle);
  position: relative;
  overflow: hidden;
}

.nh-lifecycle-stepper__autoplay-progress {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-secondary));
  transition: width 0.1s linear;
}

.nh-lifecycle-stepper__nav-wrap {
  position: relative;
  width: 100%;
  background-color: var(--surface-card);
  border-bottom: 1px solid var(--border-subtle);
  padding: var(--spacing-md) var(--spacing-sm);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.nh-lifecycle-stepper__nav {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  list-style: none;
  margin: 0;
  padding: 0;
  min-width: 720px;
  position: relative;
  gap: var(--spacing-xs);
}

.nh-lifecycle-stepper__step-item {
  flex: 1;
  display: flex;
}

.nh-lifecycle-stepper__rail {
  position: absolute;
  top: 18px;
  left: 36px;
  right: 36px;
  height: 3px;
  background-color: var(--border-subtle);
  z-index: 1;
  pointer-events: none;
}

.nh-lifecycle-stepper__rail-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-secondary));
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: var(--radius-full);
}

.nh-lifecycle-stepper__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 2;
  padding: 4px 6px;
  min-height: 52px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  color: var(--text-secondary);
  text-decoration: none;
}

.nh-lifecycle-stepper__step:hover {
  color: var(--text-primary);
}

.nh-lifecycle-stepper__step:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 4px;
}

.nh-lifecycle-stepper__step-indicator {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-full);
  border: 2px solid var(--border-subtle);
  background-color: var(--surface-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-body-small);
  font-weight: 700;
  color: var(--text-secondary);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--elevation-card);
  margin-bottom: 6px;
  flex-shrink: 0;
}

.nh-lifecycle-stepper__step.is-active .nh-lifecycle-stepper__step-indicator {
  background-color: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #FFFFFF;
  transform: scale(1.12);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand-primary) 22%, transparent);
}

.nh-lifecycle-stepper__step.is-completed .nh-lifecycle-stepper__step-indicator {
  background-color: var(--status-success);
  border-color: var(--status-success);
  color: #FFFFFF;
}

.nh-lifecycle-stepper__step-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  transition: color 0.15s ease;
  white-space: nowrap;
  text-align: center;
}

.nh-lifecycle-stepper__step.is-active .nh-lifecycle-stepper__step-title {
  color: var(--brand-primary);
  font-weight: 800;
}

.nh-lifecycle-stepper__step.is-completed .nh-lifecycle-stepper__step-title {
  color: var(--text-primary);
}

.nh-lifecycle-stepper__step-tag {
  font-size: 9px;
  font-family: var(--font-family-mono);
  color: var(--text-secondary);
  opacity: 0.8;
  white-space: nowrap;
  margin-top: 2px;
}

.nh-lifecycle-stepper__body {
  padding: var(--spacing-lg);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.nh-lifecycle-stepper__state-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--spacing-md);
  padding-bottom: var(--spacing-md);
  border-bottom: 1px solid var(--border-subtle);
}

.nh-lifecycle-stepper__state-info {
  flex: 1;
  min-width: 280px;
}

.nh-lifecycle-stepper__state-meta {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-xs);
  flex-wrap: wrap;
}

.nh-lifecycle-stepper__state-num {
  font-size: var(--font-size-caption-small);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-primary);
}

.nh-lifecycle-stepper__endpoint-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-family-mono);
  font-size: var(--font-size-caption-small);
  padding: 3px 10px;
  border-radius: var(--radius-xs);
  background-color: var(--surface-background);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
}

.nh-lifecycle-stepper__method {
  font-weight: 700;
  color: var(--brand-primary);
}

.nh-lifecycle-stepper__state-name {
  font-size: var(--font-size-heading-large);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 var(--spacing-xs) 0;
}

.nh-lifecycle-stepper__state-desc {
  font-size: var(--font-size-body-medium);
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
  max-width: 780px;
}

.nh-lifecycle-stepper__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
}

@media (min-width: 1024px) {
  .nh-lifecycle-stepper__grid {
    grid-template-columns: 1.1fr 1fr;
  }
}

.nh-lifecycle-stepper__spec {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.nh-lifecycle-stepper__card {
  background-color: var(--surface-background);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: var(--spacing-md);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.nh-lifecycle-stepper__card-title {
  font-size: var(--font-size-body-small);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  margin: 0;
}

.nh-lifecycle-stepper__card-body {
  font-size: var(--font-size-body-small);
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

.nh-lifecycle-stepper__card-list {
  margin: 4px 0 0 0;
  padding-left: var(--spacing-md);
  font-size: var(--font-size-body-small);
  color: var(--text-secondary);
}

.nh-lifecycle-stepper__card-list li {
  margin-bottom: 4px;
}

.nh-lifecycle-stepper__invariants-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: var(--font-size-caption-small);
  font-weight: 600;
  background-color: color-mix(in srgb, var(--brand-secondary) 10%, var(--surface-card));
  border: 1px solid color-mix(in srgb, var(--brand-secondary) 25%, transparent);
  color: var(--brand-secondary);
}

.nh-lifecycle-deep-dive {
  margin-top: var(--spacing-xl);
}

.nh-lifecycle-deep-dive--secondary {
  margin-top: var(--spacing-md);
}

.nh-json-viewer {
  background-color: #0d1117;
  border: 1px solid #30363d;
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--elevation-card);
}

.nh-json-viewer__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 12px;
  background-color: #161b22;
  border-bottom: 1px solid #30363d;
  gap: var(--spacing-sm);
}

.nh-json-viewer__tabs {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nh-json-viewer__tab {
  background: none;
  border: none;
  padding: 6px 12px;
  font-size: var(--font-size-caption-small);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #8b949e;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: all 0.15s ease;
}

.nh-json-viewer__tab:hover {
  color: #c9d1d9;
  background-color: rgba(255, 255, 255, 0.05);
}

.nh-json-viewer__tab.is-active {
  color: #58a6ff;
  background-color: rgba(56, 139, 253, 0.15);
}

.nh-json-viewer__copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 500;
  color: #c9d1d9;
  background-color: #21262d;
  border: 1px solid #30363d;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: all 0.15s ease;
}

.nh-json-viewer__copy-btn:hover {
  background-color: #30363d;
  border-color: #8b949e;
}

.nh-json-viewer__code-wrap {
  padding: var(--spacing-md);
  max-height: 380px;
  overflow: auto;
  scrollbar-width: thin;
  margin: 0;
}

.nh-json-viewer__code {
  font-family: var(--font-family-mono);
  font-size: 12px;
  line-height: 1.6;
  color: #c9d1d9;
  white-space: pre;
  display: block;
  tab-size: 2;
}

.nh-json-key {
  color: #79c0ff;
}

.nh-json-string {
  color: #a5d6ff;
}

.nh-json-number {
  color: #d2a8ff;
}

.nh-json-boolean {
  color: #ff7b72;
}

.nh-json-null {
  color: #8b949e;
  font-style: italic;
}
