/* neurmorph.css — full-site styles for neurmorph.com */

/* === CUSTOM PROPERTIES === */
:root {
  --bg-void: #0D1117;
  --bg-surface: #131B24;
  --bg-panel: #1A2433;
  --bg-lift: #22304A;
  --text-primary-dark: #EEF2F7;
  --text-muted-dark: #7A8FA6;
  --text-primary-light: #131B24;
  --text-muted-light: #4B627A;
  --accent-jade: #2DA882;
  --accent-jade-muted: #1E7A5F;
  --accent-amber: #D4883A;
  --accent-amber-muted: #A0622A;
  --border-dark: #263345;
  --border-light: #D4DCE6;
  --bg-page-light: #F4F7FB;
  --bg-card-light: #FFFFFF;
  --max-width: 1160px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --section-gap: clamp(64px, 8vw, 120px);
}

/* === CSS RESET + BASE === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'IBM Plex Sans', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  background-color: var(--bg-void);
  color: var(--text-primary-dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.nrm-page--light-top {
  background-color: var(--bg-page-light);
  color: var(--text-primary-light);
}

img {
  display: block;
  max-width: 100%;
}

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

button {
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
}

ul, ol {
  list-style: none;
}

address {
  font-style: normal;
}

/* === TYPOGRAPHY BASE === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'IBM Plex Serif', Georgia, serif;
  line-height: 1.2;
  font-weight: 600;
}

code, pre, .nrm-mono {
  font-family: 'IBM Plex Mono', 'Courier New', monospace;
}

/* === LAYOUT CONTAINER === */
.nrm-container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

/* === NAV === */
.nrm-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.nrm-page--dark-top .nrm-nav {
  background-color: transparent;
  border-bottom: 1px solid transparent;
}

.nrm-page--dark-top .nrm-nav.nrm-nav--scrolled {
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-dark);
  box-shadow: 0 2px 16px rgba(0,0,0,0.4);
}

.nrm-page--light-top .nrm-nav {
  background-color: var(--bg-card-light);
  border-bottom: 1px solid var(--border-light);
}

.nrm-page--light-top .nrm-nav.nrm-nav--scrolled {
  background-color: var(--bg-card-light);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.nrm-nav__inner {
  display: flex;
  align-items: center;
  height: 64px;
  gap: 2rem;
}

.nrm-nav__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.nrm-nav__logo img {
  height: 32px;
  width: auto;
}

.nrm-nav__links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}

.nrm-nav__link {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 400;
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background-color 0.2s;
}

.nrm-page--dark-top .nrm-nav__link {
  color: var(--text-muted-dark);
}

.nrm-page--dark-top .nrm-nav__link:hover {
  color: var(--text-primary-dark);
  background-color: rgba(255,255,255,0.06);
}

.nrm-page--light-top .nrm-nav__link {
  color: var(--text-muted-light);
}

.nrm-page--light-top .nrm-nav__link:hover {
  color: var(--text-primary-light);
  background-color: rgba(0,0,0,0.04);
}

.nrm-nav__ctas {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.nrm-nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  gap: 5px;
  margin-left: auto;
  padding: 0;
}

.nrm-nav__hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  border-radius: 1px;
  transition: transform 0.25s, opacity 0.25s;
}

.nrm-page--dark-top .nrm-nav__hamburger span {
  background-color: var(--text-primary-dark);
}

.nrm-page--light-top .nrm-nav__hamburger span {
  background-color: var(--text-primary-light);
}

.nrm-nav--open .nrm-nav__hamburger span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nrm-nav--open .nrm-nav__hamburger span:nth-child(2) {
  opacity: 0;
}

.nrm-nav--open .nrm-nav__hamburger span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* === BUTTONS === */
.nrm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, opacity 0.2s;
  text-decoration: none;
  white-space: nowrap;
}

.nrm-btn--primary {
  background-color: var(--accent-jade);
  border-color: var(--accent-jade);
  color: #fff;
}

.nrm-btn--primary:hover {
  background-color: var(--accent-jade-muted);
  border-color: var(--accent-jade-muted);
  color: #fff;
}

.nrm-btn--ghost-dark {
  background-color: transparent;
  border-color: rgba(238,242,247,0.3);
  color: var(--text-primary-dark);
}

.nrm-btn--ghost-dark:hover {
  border-color: rgba(238,242,247,0.6);
  background-color: rgba(255,255,255,0.05);
  color: var(--text-primary-dark);
}

.nrm-btn--ghost-light {
  background-color: transparent;
  border-color: var(--border-light);
  color: var(--text-primary-light);
}

.nrm-btn--ghost-light:hover {
  border-color: var(--text-muted-light);
  background-color: rgba(0,0,0,0.03);
  color: var(--text-primary-light);
}

.nrm-btn--outline-dark {
  background-color: transparent;
  border-color: var(--border-dark);
  color: var(--text-primary-dark);
}

.nrm-btn--outline-dark:hover {
  border-color: var(--accent-jade);
  color: var(--accent-jade);
}

.nrm-btn--lg {
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
}

.nrm-btn--sm {
  padding: 0.375rem 0.875rem;
  font-size: 0.8125rem;
}

/* Nav CTAs: sign in = ghost, register = primary */
.nrm-page--dark-top .nrm-nav .nrm-btn--ghost-dark {
  color: var(--text-muted-dark);
  border-color: rgba(238,242,247,0.2);
}

.nrm-page--dark-top .nrm-nav .nrm-btn--ghost-dark:hover {
  color: var(--text-primary-dark);
  border-color: rgba(238,242,247,0.4);
}

.nrm-page--light-top .nrm-nav .nrm-btn--ghost-light {
  color: var(--text-muted-light);
  border-color: var(--border-light);
}

.nrm-page--light-top .nrm-nav .nrm-btn--ghost-light:hover {
  color: var(--text-primary-light);
}

/* === SECTION BACKGROUNDS === */
.nrm-section--dark {
  background-color: var(--bg-void);
  color: var(--text-primary-dark);
}

.nrm-section--dark-alt {
  background-color: var(--bg-surface);
  color: var(--text-primary-dark);
}

.nrm-section--light {
  background-color: var(--bg-page-light);
  color: var(--text-primary-light);
}

.nrm-section--white {
  background-color: var(--bg-card-light);
  color: var(--text-primary-light);
}

/* Section padding */
.nrm-section {
  padding-block: var(--section-gap);
}

.nrm-section--sm {
  padding-block: clamp(40px, 5vw, 72px);
}

/* === SECTION HEADINGS === */
.nrm-section-label--light {
  color: var(--accent-jade-muted);
}

.nrm-section-title--constrained {
  max-width: 520px;
}

.nrm-section-label {
  display: inline-block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-jade);
  margin-bottom: 0.75rem;
}

.nrm-section-title {
  font-family: 'IBM Plex Serif', serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.nrm-section--dark .nrm-section-title,
.nrm-section--dark-alt .nrm-section-title {
  color: var(--text-primary-dark);
}

.nrm-section--light .nrm-section-title,
.nrm-section--white .nrm-section-title {
  color: var(--text-primary-light);
}

.nrm-section-body {
  font-size: 1rem;
  line-height: 1.7;
  max-width: 600px;
}

.nrm-section--dark .nrm-section-body,
.nrm-section--dark-alt .nrm-section-body {
  color: var(--text-muted-dark);
}

.nrm-section--light .nrm-section-body,
.nrm-section--white .nrm-section-body {
  color: var(--text-muted-light);
}

/* === HERO SECTION (index.html) === */
#nrm-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background-color: var(--bg-void);
  padding-top: 80px;
}

.nrm-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.nrm-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.18;
}

.nrm-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 45fr 55fr;
  gap: 3rem;
  align-items: center;
  padding-block: clamp(60px, 8vw, 100px);
}

.nrm-hero__content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.nrm-hero__eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-jade);
}

.nrm-hero__h1 {
  font-family: 'IBM Plex Serif', serif;
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.12;
  color: var(--text-primary-dark);
}

.nrm-hero__h1 strong {
  font-weight: 600;
  font-style: normal;
  color: #fff;
}

.nrm-hero__sub {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.7;
  color: var(--text-muted-dark);
  max-width: 480px;
}

.nrm-hero__ctas {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

/* DICOM mock panel */
.nrm-hero__panel {
  display: flex;
  justify-content: center;
  align-items: center;
}

.nrm-dicom-mock {
  position: relative;
  width: 100%;
  max-width: 520px;
  background-color: #000;
  border: 1px solid #1E3050;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.nrm-dicom-mock__scan {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 48% 52%, #2a2a2a 0%, #141414 40%, #000 70%);
}

.nrm-dicom-mock__scan::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 35% 42% at 30% 55%, rgba(80,80,80,0.4) 0%, transparent 70%),
    radial-gradient(ellipse 30% 38% at 70% 50%, rgba(60,60,60,0.35) 0%, transparent 70%);
}

.nrm-dicom-mock__scanline {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, transparent, rgba(45,168,130,0.6), transparent);
  animation: nrm-scanline 4s ease-in-out infinite;
}

@keyframes nrm-scanline {
  0% { top: 0%; opacity: 0.8; }
  50% { top: 96%; opacity: 0.6; }
  100% { top: 0%; opacity: 0.8; }
}

.nrm-dicom-mock__annotation {
  position: absolute;
  top: 28%;
  left: 22%;
  width: 38%;
  aspect-ratio: 1.3;
  border: 1.5px solid var(--accent-amber);
  border-radius: 2px;
}

.nrm-dicom-mock__crosshair-h {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background-color: rgba(212,136,58,0.5);
  transform: translateY(-50%);
}

.nrm-dicom-mock__crosshair-v {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background-color: rgba(212,136,58,0.5);
  transform: translateX(-50%);
}

.nrm-dicom-mock__callout {
  position: absolute;
  top: 18%;
  left: 62%;
  background-color: rgba(13,17,23,0.92);
  border: 1px solid var(--accent-jade);
  border-radius: 2px;
  padding: 0.375rem 0.5rem;
  min-width: 140px;
}

.nrm-dicom-mock__callout-line {
  position: absolute;
  top: 50%;
  left: -16px;
  width: 16px;
  height: 1px;
  background-color: var(--accent-jade);
  transform: translateY(-50%);
}

.nrm-dicom-mock__callout-dot {
  position: absolute;
  top: 50%;
  left: -19px;
  width: 4px;
  height: 4px;
  background-color: var(--accent-jade);
  border-radius: 50%;
  transform: translateY(-50%);
}

.nrm-dicom-mock__callout p {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.6rem;
  line-height: 1.5;
  color: var(--accent-jade);
  white-space: nowrap;
}

.nrm-dicom-mock__callout p strong {
  color: #fff;
}

.nrm-dicom-mock__info-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(13,17,23,0.85);
  border-top: 1px solid rgba(38,51,69,0.6);
  padding: 0.375rem 0.75rem;
  display: flex;
  gap: 1.5rem;
}

.nrm-dicom-mock__info-bar span {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.6rem;
  color: var(--text-muted-dark);
}

/* === PROOF BAR === */
#nrm-proof-bar {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
  padding-block: clamp(36px, 5vw, 56px);
}

.nrm-proof-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background-color: var(--border-dark);
}

.nrm-proof-bar__item {
  background-color: var(--bg-surface);
  padding: 1.5rem 2rem;
  text-align: center;
}

.nrm-proof-bar__metric {
  font-family: 'IBM Plex Serif', serif;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  color: var(--text-primary-dark);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.nrm-proof-bar__label {
  font-size: 0.8125rem;
  color: var(--text-muted-dark);
  line-height: 1.4;
}

/* === PROBLEM SECTION === */
#nrm-problem {
  background-color: var(--bg-void);
  color: var(--text-primary-dark);
}

.nrm-problem__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.nrm-problem__prose .nrm-section-title {
  color: var(--text-primary-dark);
}

.nrm-problem__prose p {
  color: var(--text-muted-dark);
  font-size: 1rem;
  line-height: 1.75;
  margin-top: 1.25rem;
}

.nrm-timeline-diagram {
  background-color: var(--bg-panel);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.nrm-timeline-diagram__title {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted-dark);
  margin-bottom: 1.25rem;
}

.nrm-timeline-bar {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.nrm-timeline-bar__row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 0.75rem;
  align-items: center;
}

.nrm-timeline-bar__label {
  font-size: 0.75rem;
  color: var(--text-muted-dark);
  text-align: right;
}

.nrm-timeline-bar__track {
  height: 20px;
  background-color: var(--bg-lift);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.nrm-timeline-bar__fill {
  height: 100%;
  border-radius: 2px;
  transition: width 0.8s ease;
}

.nrm-timeline-bar__fill--amber {
  background-color: var(--accent-amber);
}

.nrm-timeline-bar__fill--muted {
  background-color: rgba(45,168,130,0.35);
}

.nrm-timeline-bar__fill--jade {
  background-color: var(--accent-jade);
}

.nrm-timeline-diagram__note {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--accent-amber);
  font-family: 'IBM Plex Mono', monospace;
}

/* === HOW IT WORKS PREVIEW === */
#nrm-how-it-works-preview {
  background-color: var(--bg-surface);
  color: var(--text-primary-dark);
}

.nrm-hiw-preview__heading {
  text-align: center;
  margin-bottom: 3.5rem;
}

.nrm-hiw-preview__heading .nrm-section-title {
  color: var(--text-primary-dark);
  max-width: 700px;
  margin-inline: auto;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.nrm-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.nrm-step {
  padding: 1.5rem 1.25rem;
  position: relative;
}

.nrm-step + .nrm-step::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.5rem;
  bottom: 1.5rem;
  width: 1px;
  background-color: var(--border-dark);
}

.nrm-step__num {
  font-family: 'IBM Plex Serif', serif;
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--accent-jade);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.nrm-step--featured .nrm-step__num {
  font-size: 3rem;
}

.nrm-step__title {
  font-family: 'IBM Plex Serif', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary-dark);
  margin-bottom: 0.5rem;
}

.nrm-step__body {
  font-size: 0.875rem;
  color: var(--text-muted-dark);
  line-height: 1.65;
}

.nrm-hiw-preview__cta {
  text-align: center;
  margin-top: 3rem;
}

/* === PRODUCT FEATURES === */
#nrm-product-features {
  background-color: var(--bg-page-light);
  color: var(--text-primary-light);
}

.nrm-features__grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 4rem;
  align-items: start;
}

.nrm-features__prose .nrm-section-title {
  color: var(--text-primary-light);
}

.nrm-feature-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

.nrm-feature-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}

.nrm-feature-item__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-jade);
  margin-top: 0.5rem;
  flex-shrink: 0;
}

.nrm-feature-item__title {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-primary-light);
  margin-bottom: 0.25rem;
}

.nrm-feature-item__body {
  font-size: 0.875rem;
  color: var(--text-muted-light);
  line-height: 1.65;
}

.nrm-features__diagram {
  position: sticky;
  top: 80px;
}

.nrm-finding-types {
  background-color: var(--bg-card-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.nrm-finding-types__title {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted-light);
  margin-bottom: 1.25rem;
}

.nrm-finding-type {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0;
  border-bottom: 1px solid var(--border-light);
}

.nrm-finding-type:last-child {
  border-bottom: none;
}

.nrm-finding-type__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.125rem 0.5rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.65rem;
  font-weight: 400;
  border-radius: 2px;
  flex-shrink: 0;
}

.nrm-finding-type__badge--jade {
  background-color: rgba(45,168,130,0.12);
  color: var(--accent-jade-muted);
  border: 1px solid rgba(45,168,130,0.25);
}

.nrm-finding-type__badge--amber {
  background-color: rgba(212,136,58,0.1);
  color: var(--accent-amber-muted);
  border: 1px solid rgba(212,136,58,0.2);
}

.nrm-finding-type__text {
  font-size: 0.8125rem;
  color: var(--text-primary-light);
}

/* === TESTIMONIALS === */
#nrm-testimonials {
  background-color: var(--bg-page-light);
  color: var(--text-primary-light);
}

.nrm-testimonials__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.nrm-testimonial-card {
  background-color: var(--bg-card-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.nrm-testimonial-card__quote {
  font-family: 'IBM Plex Serif', serif;
  font-size: 1.0625rem;
  font-style: italic;
  font-weight: 300;
  line-height: 1.65;
  color: var(--text-primary-light);
}

.nrm-testimonial-card__quote::before {
  content: '\201C';
  font-size: 2rem;
  color: var(--accent-jade);
  line-height: 0;
  vertical-align: -0.5rem;
  margin-right: 0.25rem;
}

.nrm-testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.nrm-testimonial-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--bg-panel);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'IBM Plex Serif', serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary-dark);
  flex-shrink: 0;
}

.nrm-testimonial-card__name {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary-light);
}

.nrm-testimonial-card__role {
  font-size: 0.8125rem;
  color: var(--text-muted-light);
}

/* === INTEGRATIONS === */
#nrm-integration {
  background-color: var(--bg-void);
  color: var(--text-primary-dark);
}

.nrm-integration__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 4rem;
  align-items: start;
}

.nrm-integration__prose .nrm-section-title {
  color: var(--text-primary-dark);
}

.nrm-integration__prose p {
  color: var(--text-muted-dark);
  font-size: 1rem;
  line-height: 1.75;
  margin-top: 1rem;
}

.nrm-pacs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  align-content: start;
}

.nrm-pacs-badge {
  background-color: var(--bg-panel);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-muted-dark);
  text-align: center;
  transition: border-color 0.2s, color 0.2s;
}

.nrm-pacs-badge:hover {
  border-color: var(--accent-jade);
  color: var(--text-primary-dark);
}

/* === CTA CLOSE SECTION === */
#nrm-cta-footer {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-dark);
}

.nrm-cta-block {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
}

.nrm-cta-block__title {
  font-family: 'IBM Plex Serif', serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 300;
  font-style: italic;
  color: var(--text-primary-dark);
  margin-bottom: 0.875rem;
  line-height: 1.2;
}

.nrm-cta-block__sub {
  font-size: 1rem;
  color: var(--text-muted-dark);
  margin-bottom: 2rem;
  line-height: 1.65;
}

.nrm-cta-block__actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* === FOOTER === */
.nrm-footer {
  background-color: var(--bg-void);
  border-top: 1px solid var(--border-dark);
  padding-top: clamp(48px, 6vw, 80px);
  padding-bottom: 0;
}

.nrm-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: clamp(40px, 5vw, 64px);
}

.nrm-footer__brand .nrm-footer__logo {
  height: 30px;
  width: auto;
  margin-bottom: 1rem;
}

.nrm-footer__tagline {
  font-size: 0.875rem;
  color: var(--text-muted-dark);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  max-width: 280px;
}

.nrm-footer__contact p {
  font-size: 0.8125rem;
  color: var(--text-muted-dark);
  margin-bottom: 0.25rem;
  line-height: 1.5;
}

.nrm-footer__contact a {
  color: var(--text-muted-dark);
  transition: color 0.2s;
}

.nrm-footer__contact a:hover {
  color: var(--accent-jade);
}

.nrm-footer__col {
  display: flex;
  flex-direction: column;
}

.nrm-footer__col-title {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted-dark);
  margin-bottom: 1rem;
}

.nrm-footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nrm-footer__links a {
  font-size: 0.875rem;
  color: var(--text-muted-dark);
  transition: color 0.2s;
}

.nrm-footer__links a:hover {
  color: var(--text-primary-dark);
}

.nrm-footer__bottom {
  border-top: 1px solid var(--border-dark);
  padding-block: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.nrm-footer__copy {
  font-size: 0.8125rem;
  color: var(--text-muted-dark);
}

.nrm-footer__legal-links {
  display: flex;
  gap: 1.25rem;
}

.nrm-footer__legal-links a {
  font-size: 0.8125rem;
  color: var(--text-muted-dark);
  transition: color 0.2s;
}

.nrm-footer__legal-links a:hover {
  color: var(--text-primary-dark);
}

/* Light-page footer overrides: footer is always dark regardless of page */
.nrm-page--light-top .nrm-footer {
  background-color: var(--bg-void);
  color: var(--text-primary-dark);
}

/* === PAGE HERO (sub-pages) === */
.nrm-page-hero {
  padding-top: calc(64px + clamp(48px, 6vw, 80px));
  padding-bottom: clamp(48px, 6vw, 80px);
}

.nrm-page-hero--dark {
  background-color: var(--bg-void);
  color: var(--text-primary-dark);
}

.nrm-page-hero--light {
  background-color: var(--bg-page-light);
  color: var(--text-primary-light);
  border-bottom: 1px solid var(--border-light);
}

.nrm-page-hero__eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-jade);
  margin-bottom: 0.75rem;
}

.nrm-page-hero__h1 {
  font-family: 'IBM Plex Serif', serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.nrm-page-hero--dark .nrm-page-hero__h1 {
  color: var(--text-primary-dark);
}

.nrm-page-hero--light .nrm-page-hero__h1 {
  color: var(--text-primary-light);
}

.nrm-page-hero__sub {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.7;
  max-width: 600px;
}

.nrm-page-hero--dark .nrm-page-hero__sub {
  color: var(--text-muted-dark);
}

.nrm-page-hero--light .nrm-page-hero__sub {
  color: var(--text-muted-light);
}

/* Sub-page hero split layout */
.nrm-page-hero__inner--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

/* Sub-page hero visual anchor */
.nrm-page-hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.nrm-hero-stat-block {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  background-color: var(--bg-card-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
}

.nrm-hero-stat-block--dark {
  background-color: var(--bg-panel);
  border-color: var(--border-dark);
}

.nrm-hero-stat {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.nrm-hero-stat__val {
  font-family: 'IBM Plex Serif', serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--accent-jade);
  line-height: 1;
}

.nrm-hero-stat__label {
  font-size: 0.8rem;
  color: var(--text-muted-light);
}

.nrm-hero-stat-block--dark .nrm-hero-stat__label {
  color: var(--text-muted-dark);
}

/* === HOW IT WORKS PAGE === */
#nrm-hiw-pipeline {
  background-color: var(--bg-surface);
  color: var(--text-primary-dark);
}

.nrm-pipeline-steps {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-top: 2.5rem;
}

.nrm-pipeline-step {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 2rem;
  align-items: start;
  padding: 2rem;
  background-color: var(--bg-panel);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
}

.nrm-pipeline-step__num {
  font-family: 'IBM Plex Serif', serif;
  font-size: 3.5rem;
  font-weight: 300;
  color: rgba(45,168,130,0.4);
  line-height: 1;
}

.nrm-pipeline-step__content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nrm-pipeline-step__title {
  font-family: 'IBM Plex Serif', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary-dark);
}

.nrm-pipeline-step__body {
  font-size: 0.9375rem;
  color: var(--text-muted-dark);
  line-height: 1.7;
}

.nrm-pipeline-step__time {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  color: var(--accent-jade);
  white-space: nowrap;
  padding: 0.25rem 0.5rem;
  background-color: rgba(45,168,130,0.08);
  border: 1px solid rgba(45,168,130,0.2);
  border-radius: 2px;
  align-self: start;
}

/* pipeline inline SVG diagrams */
.nrm-pipeline-svg {
  display: flex;
  justify-content: center;
  padding: 1rem 0;
}

/* HIW override section */
#nrm-hiw-override {
  background-color: var(--bg-page-light);
  color: var(--text-primary-light);
}

.nrm-hiw-override__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.nrm-hiw-override__prose .nrm-section-title {
  color: var(--text-primary-light);
}

.nrm-hiw-override__prose p {
  color: var(--text-muted-light);
  font-size: 1rem;
  line-height: 1.75;
  margin-top: 1rem;
}

/* Override panel mock */
.nrm-override-mock {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.nrm-override-mock__header {
  background-color: var(--bg-panel);
  border-bottom: 1px solid var(--border-dark);
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nrm-override-mock__header span {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  color: var(--text-muted-dark);
}

.nrm-override-mock__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.nrm-override-mock__finding {
  background-color: var(--bg-panel);
  border: 1px solid var(--accent-amber);
  border-radius: 2px;
  padding: 0.75rem;
}

.nrm-override-mock__finding p {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  color: var(--text-muted-dark);
  line-height: 1.5;
}

.nrm-override-mock__finding p strong {
  color: var(--accent-amber);
}

.nrm-override-mock__actions {
  display: flex;
  gap: 0.5rem;
}

.nrm-override-btn {
  flex: 1;
  padding: 0.375rem 0.5rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  border-radius: 2px;
  border: 1px solid;
  background: transparent;
  cursor: pointer;
  transition: background 0.2s;
  color: var(--text-primary-dark);
}

.nrm-override-btn--accept {
  border-color: var(--accent-jade);
  color: var(--accent-jade);
}

.nrm-override-btn--adjust {
  border-color: var(--accent-amber);
  color: var(--accent-amber);
}

.nrm-override-btn--dismiss {
  border-color: var(--text-muted-dark);
  color: var(--text-muted-dark);
}

/* HIW Deployment section */
#nrm-hiw-deployment {
  background-color: var(--bg-page-light);
  color: var(--text-primary-light);
}

.nrm-deployment-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 2rem;
  max-width: 640px;
}

.nrm-deployment-step {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-light);
}

.nrm-deployment-step:last-child {
  border-bottom: none;
}

.nrm-deployment-step__num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: rgba(45,168,130,0.1);
  border: 1px solid rgba(45,168,130,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.65rem;
  color: var(--accent-jade);
  flex-shrink: 0;
}

.nrm-deployment-step__text {
  font-size: 0.9375rem;
  color: var(--text-primary-light);
  padding-top: 0.125rem;
}

.nrm-deployment-note {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  background-color: var(--bg-card-light);
  border: 1px solid var(--border-light);
  border-left: 3px solid var(--accent-jade);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: var(--text-muted-light);
  max-width: 640px;
}

/* === PRODUCT PAGE === */
#nrm-prod-hero {
  background-color: var(--bg-void);
  color: var(--text-primary-dark);
}

.nrm-prod-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border-dark);
  margin-top: 2.5rem;
  overflow-x: auto;
  overflow-y: hidden;
}

.nrm-prod-tab {
  padding: 0.625rem 1.25rem;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-muted-dark);
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
  margin-bottom: -1px;
}

.nrm-prod-tab:hover {
  color: var(--text-primary-dark);
}

.nrm-prod-tab--active {
  color: var(--accent-jade);
  border-bottom-color: var(--accent-jade);
  font-weight: 500;
}

#nrm-prod-chest-ct {
  background-color: var(--bg-surface);
  color: var(--text-primary-dark);
}

.nrm-prod-ct__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.nrm-prod-ct__features {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-top: 1.5rem;
}

.nrm-prod-ct__feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--text-muted-dark);
}

.nrm-prod-ct__feature::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--accent-jade);
  margin-top: 0.55rem;
  flex-shrink: 0;
}

#nrm-prod-prior {
  background-color: var(--bg-page-light);
  color: var(--text-primary-light);
}

.nrm-prior-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.nrm-prior-panel {
  background-color: #000;
  border: 1px solid #263345;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
}

.nrm-prior-panel__label {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  background-color: rgba(13,17,23,0.85);
  border: 1px solid var(--border-dark);
  padding: 0.125rem 0.375rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.6rem;
  color: var(--text-muted-dark);
  border-radius: 2px;
}

.nrm-prior-panel__scan {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 55% at 45% 50%, #252525 0%, #111 50%, #000 75%);
}

.nrm-prior-panel__annotation {
  position: absolute;
  top: 30%;
  left: 28%;
  width: 32%;
  aspect-ratio: 1.2;
  border: 1.5px solid var(--accent-amber);
  border-radius: 2px;
}

.nrm-prior-panel__measurement {
  position: absolute;
  bottom: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.6rem;
  color: var(--accent-jade);
  white-space: nowrap;
  background-color: rgba(13,17,23,0.85);
  padding: 0.125rem 0.375rem;
  border-radius: 2px;
}

#nrm-prod-reporting {
  background-color: var(--bg-page-light);
  color: var(--text-primary-light);
}

.nrm-reporting-systems {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.nrm-reporting-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 0.75rem;
  background-color: var(--bg-card-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  color: var(--text-primary-light);
}

#nrm-prod-roadmap {
  background-color: var(--bg-void);
  color: var(--text-primary-dark);
}

.nrm-roadmap-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 640px;
  margin-top: 2rem;
}

.nrm-roadmap-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1.5rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border-dark);
  align-items: center;
}

.nrm-roadmap-item:last-child {
  border-bottom: none;
}

.nrm-status-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.625rem;
  border-radius: 2px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.nrm-status-badge--available {
  background-color: rgba(45,168,130,0.12);
  color: var(--accent-jade);
  border: 1px solid rgba(45,168,130,0.25);
}

.nrm-status-badge--pilot {
  background-color: rgba(212,136,58,0.1);
  color: var(--accent-amber);
  border: 1px solid rgba(212,136,58,0.2);
}

.nrm-status-badge--development {
  background-color: rgba(122,143,166,0.1);
  color: var(--text-muted-dark);
  border: 1px solid rgba(122,143,166,0.2);
}

.nrm-status-badge--planned {
  background-color: rgba(38,51,69,0.5);
  color: var(--text-muted-dark);
  border: 1px solid var(--border-dark);
}

.nrm-roadmap-item__text {
  font-size: 0.9375rem;
  color: var(--text-primary-dark);
}

/* === SECURITY PAGE === */
#nrm-sec-hero {
  background-color: var(--bg-page-light);
  color: var(--text-primary-light);
}

#nrm-sec-data-flow {
  background-color: var(--bg-page-light);
  color: var(--text-primary-light);
}

.nrm-dataflow-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.nrm-dataflow-card {
  background-color: var(--bg-card-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.75rem;
}

.nrm-dataflow-card__title {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary-light);
  margin-bottom: 0.5rem;
}

.nrm-dataflow-card__desc {
  font-size: 0.875rem;
  color: var(--text-muted-light);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.nrm-dataflow-svg {
  display: block;
  width: 100%;
}

#nrm-sec-controls {
  background-color: var(--bg-page-light);
  color: var(--text-primary-light);
}

.nrm-controls-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.nrm-control-card {
  background-color: var(--bg-card-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.nrm-control-card__icon {
  width: 32px;
  height: 32px;
  background-color: rgba(45,168,130,0.08);
  border: 1px solid rgba(45,168,130,0.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  color: var(--accent-jade);
  margin-bottom: 0.875rem;
}

.nrm-control-card__title {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary-light);
  margin-bottom: 0.375rem;
}

.nrm-control-card__body {
  font-size: 0.8125rem;
  color: var(--text-muted-light);
  line-height: 1.6;
}

#nrm-sec-faq {
  background-color: var(--bg-page-light);
  color: var(--text-primary-light);
}

/* === FAQ COMPONENT (shared: security + pricing) === */
.nrm-faq-panel {
  max-width: 720px;
  margin-top: 2rem;
}

.nrm-faq-item {
  border-bottom: 1px solid var(--border-light);
}

.nrm-sec-faq .nrm-faq-item,
.nrm-pricing-faq .nrm-faq-item {
  border-bottom: 1px solid var(--border-light);
}

.nrm-faq-item:first-child {
  border-top: 1px solid var(--border-light);
}

.nrm-faq-item__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.125rem 0;
  background: none;
  border: none;
  text-align: left;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s;
}

.nrm-section--dark .nrm-faq-item__question,
.nrm-section--dark-alt .nrm-faq-item__question {
  color: var(--text-primary-dark);
}

.nrm-section--light .nrm-faq-item__question,
.nrm-section--white .nrm-faq-item__question,
#nrm-sec-faq .nrm-faq-item__question,
#nrm-pricing-faq .nrm-faq-item__question {
  color: var(--text-primary-light);
}

.nrm-faq-item__icon {
  flex-shrink: 0;
  font-size: 1rem;
  transition: transform 0.25s;
  color: var(--accent-jade);
}

.nrm-faq-item--open .nrm-faq-item__icon {
  transform: rotate(45deg);
}

.nrm-faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.nrm-faq-item--open .nrm-faq-item__answer {
  max-height: 400px;
}

.nrm-faq-item__answer-inner {
  padding-bottom: 1.25rem;
  font-size: 0.9rem;
  line-height: 1.7;
}

.nrm-section--dark .nrm-faq-item__answer-inner,
.nrm-section--dark-alt .nrm-faq-item__answer-inner {
  color: var(--text-muted-dark);
}

#nrm-sec-faq .nrm-faq-item__answer-inner,
#nrm-pricing-faq .nrm-faq-item__answer-inner {
  color: var(--text-muted-light);
}

/* === PRICING PAGE === */
#nrm-pricing-hero {
  background-color: var(--bg-page-light);
  color: var(--text-primary-light);
}

#nrm-pricing-tiers {
  background-color: var(--bg-page-light);
  color: var(--text-primary-light);
}

.nrm-pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

.nrm-pricing-card {
  background-color: var(--bg-card-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.nrm-pricing-card--highlighted {
  background-color: var(--bg-panel);
  border-color: var(--accent-jade);
  border-width: 2px;
  box-shadow: 0 0 24px rgba(45,168,130,0.12);
  position: relative;
}

.nrm-pricing-card--highlighted::before {
  content: 'Most Popular';
  position: absolute;
  top: -1px;
  right: 1.25rem;
  background-color: var(--accent-jade);
  color: #fff;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.625rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.nrm-pricing-card__name {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.875rem;
}

.nrm-pricing-card .nrm-pricing-card__name {
  color: var(--text-muted-light);
}

.nrm-pricing-card--highlighted .nrm-pricing-card__name {
  color: var(--text-muted-dark);
}

.nrm-pricing-card__price {
  font-family: 'IBM Plex Serif', serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.nrm-pricing-card .nrm-pricing-card__price {
  color: var(--text-primary-light);
}

.nrm-pricing-card--highlighted .nrm-pricing-card__price {
  color: var(--text-primary-dark);
}

.nrm-pricing-card__billing {
  font-size: 0.75rem;
  margin-bottom: 0.5rem;
}

.nrm-pricing-card .nrm-pricing-card__billing {
  color: var(--text-muted-light);
}

.nrm-pricing-card--highlighted .nrm-pricing-card__billing {
  color: var(--text-muted-dark);
}

.nrm-pricing-card__cap {
  font-size: 0.75rem;
  font-family: 'IBM Plex Mono', monospace;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid;
}

.nrm-pricing-card .nrm-pricing-card__cap {
  color: var(--text-muted-light);
  border-color: var(--border-light);
}

.nrm-pricing-card--highlighted .nrm-pricing-card__cap {
  color: var(--text-muted-dark);
  border-color: var(--border-dark);
}

.nrm-pricing-card__features {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-bottom: 1.75rem;
}

.nrm-pricing-card__feature {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.8125rem;
  line-height: 1.5;
}

.nrm-pricing-card .nrm-pricing-card__feature {
  color: var(--text-muted-light);
}

.nrm-pricing-card--highlighted .nrm-pricing-card__feature {
  color: var(--text-muted-dark);
}

.nrm-pricing-card__feature i {
  color: var(--accent-jade);
  font-size: 0.7rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.nrm-pricing-card__note {
  font-size: 0.75rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.nrm-pricing-card .nrm-pricing-card__note {
  color: var(--text-muted-light);
}

.nrm-pricing-card--highlighted .nrm-pricing-card__note {
  color: var(--text-muted-dark);
}

#nrm-pricing-faq {
  background-color: var(--bg-page-light);
  color: var(--text-primary-light);
}

/* === ABOUT PAGE === */
#nrm-about-hero,
#nrm-about-story,
#nrm-about-team,
#nrm-about-funding {
  background-color: var(--bg-page-light);
  color: var(--text-primary-light);
}

.nrm-about-story__inner {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: start;
}

.nrm-about-story__prose .nrm-section-title {
  color: var(--text-primary-light);
}

.nrm-about-story__prose p {
  font-size: 1rem;
  color: var(--text-muted-light);
  line-height: 1.75;
  margin-top: 1rem;
}

.nrm-founded-card {
  background-color: var(--bg-card-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.nrm-founded-card__year {
  font-family: 'IBM Plex Serif', serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--accent-jade);
  line-height: 1;
}

.nrm-founded-card__label {
  font-size: 0.8125rem;
  color: var(--text-muted-light);
}

.nrm-founded-card__detail {
  font-size: 0.875rem;
  color: var(--text-primary-light);
  padding-top: 0.5rem;
  border-top: 1px solid var(--border-light);
}

.nrm-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

.nrm-team-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.nrm-team-card__portrait {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--bg-panel);
}

.nrm-team-card__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.nrm-team-card__name {
  font-family: 'IBM Plex Serif', serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary-light);
}

.nrm-team-card__title {
  font-size: 0.8125rem;
  color: var(--accent-jade);
  font-weight: 400;
  margin-top: 0.125rem;
}

.nrm-team-card__bio {
  font-size: 0.875rem;
  color: var(--text-muted-light);
  line-height: 1.65;
}

.nrm-funding-block {
  max-width: 720px;
}

.nrm-funding-block .nrm-section-title {
  color: var(--text-primary-light);
}

.nrm-funding-block p {
  color: var(--text-muted-light);
  font-size: 1rem;
  line-height: 1.75;
  margin-top: 1rem;
}

.nrm-funding-stat {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding: 1rem 1.5rem;
  background-color: var(--bg-card-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
}

.nrm-funding-stat__amount {
  font-family: 'IBM Plex Serif', serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--text-primary-light);
}

.nrm-funding-stat__label {
  font-size: 0.875rem;
  color: var(--text-muted-light);
}

/* === CONTACT PAGE === */
#nrm-contact-hero {
  background-color: var(--bg-page-light);
  padding-top: calc(64px + clamp(48px, 6vw, 80px));
  padding-bottom: clamp(48px, 6vw, 80px);
}

.nrm-contact-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 4rem;
  align-items: start;
  margin-top: 2.5rem;
}

.nrm-contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.nrm-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.nrm-form-group label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-primary-light);
}

.nrm-form-input,
.nrm-form-select,
.nrm-form-textarea {
  width: 100%;
  padding: 0.625rem 0.875rem;
  background-color: var(--bg-card-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.9375rem;
  color: var(--text-primary-light);
  transition: border-color 0.2s;
  outline: none;
  appearance: none;
}

.nrm-form-input:focus,
.nrm-form-select:focus,
.nrm-form-textarea:focus {
  border-color: var(--accent-jade);
}

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

.nrm-contact-details {
  position: sticky;
  top: 80px;
}

.nrm-contact-card {
  background-color: var(--bg-card-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  margin-bottom: 1rem;
}

.nrm-contact-card__title {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted-light);
  margin-bottom: 1.25rem;
}

.nrm-contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--text-primary-light);
}

.nrm-contact-detail:last-child {
  margin-bottom: 0;
}

.nrm-contact-detail i {
  color: var(--accent-jade);
  width: 16px;
  font-size: 0.875rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.nrm-contact-detail a {
  color: var(--accent-jade);
  transition: opacity 0.2s;
}

.nrm-contact-detail a:hover {
  opacity: 0.8;
}

.nrm-baa-note {
  padding: 1rem 1.25rem;
  background-color: var(--bg-card-light);
  border: 1px solid var(--border-light);
  border-left: 3px solid var(--accent-jade);
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  color: var(--text-muted-light);
  line-height: 1.6;
}

/* === BLOG INDEX PAGE === */
#nrm-blog-hero {
  background-color: var(--bg-page-light);
  padding-top: calc(64px + clamp(48px, 6vw, 80px));
  padding-bottom: clamp(40px, 5vw, 64px);
  border-bottom: 1px solid var(--border-light);
}

#nrm-blog-grid {
  background-color: var(--bg-page-light);
}

.nrm-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 0;
}

.nrm-blog-card {
  display: flex;
  flex-direction: column;
  background-color: var(--bg-card-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
}

.nrm-blog-card:hover {
  border-color: rgba(45,168,130,0.3);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.nrm-blog-card__cover {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  height: auto;
  background-color: var(--bg-panel);
}

.nrm-blog-card__body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nrm-blog-card__tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-jade);
}

.nrm-blog-card__title {
  font-family: 'IBM Plex Serif', serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-primary-light);
}

.nrm-blog-card:hover .nrm-blog-card__title {
  color: var(--accent-jade-muted);
}

.nrm-blog-card__excerpt {
  font-size: 0.8125rem;
  color: var(--text-muted-light);
  line-height: 1.6;
  flex: 1;
}

.nrm-blog-card__date {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  color: var(--text-muted-light);
  margin-top: 0.5rem;
}

/* === ARTICLE PAGE === */
.nrm-article-hero {
  background-color: var(--bg-page-light);
  padding-top: calc(64px + clamp(48px, 6vw, 80px));
  padding-bottom: clamp(40px, 5vw, 56px);
  border-bottom: 1px solid var(--border-light);
}

.nrm-article-hero__tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-jade);
  margin-bottom: 1rem;
}

.nrm-article-hero__h1 {
  font-family: 'IBM Plex Serif', serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-primary-light);
  margin-bottom: 1rem;
  max-width: 780px;
}

.nrm-article-hero__meta {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.nrm-article-hero__date,
.nrm-article-hero__readtime {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  color: var(--text-muted-light);
}

.nrm-article-layout {
  background-color: var(--bg-page-light);
  padding-block: clamp(40px, 5vw, 72px);
}

.nrm-article-layout__inner {
  max-width: 780px;
  margin-inline: auto;
}

.nrm-article-cover {
  width: 100%;
  max-width: 780px;
  margin: 0 auto 2.5rem;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.nrm-article-cover img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

.nrm-article-body {
  max-width: 720px;
  margin: 0 auto;
  padding-inline: clamp(0rem, 2vw, 1rem);
  color: var(--text-primary-light);
}

.nrm-article-body h2 {
  font-family: 'IBM Plex Serif', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary-light);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.nrm-article-body h3 {
  font-family: 'IBM Plex Serif', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary-light);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.nrm-article-body p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-muted-light);
  margin-bottom: 1.25rem;
}

.nrm-article-body ul,
.nrm-article-body ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.nrm-article-body ul {
  list-style: disc;
}

.nrm-article-body ol {
  list-style: decimal;
}

.nrm-article-body li {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted-light);
  margin-bottom: 0.5rem;
}

.nrm-article-body blockquote {
  border-left: 3px solid var(--accent-jade);
  padding-left: 1.25rem;
  margin-block: 1.5rem;
  font-style: italic;
  color: var(--text-muted-light);
}

.nrm-article-body pre {
  background-color: var(--bg-panel);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 1rem;
  overflow-x: auto;
  margin-bottom: 1.25rem;
}

.nrm-article-body code {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.875rem;
  background-color: rgba(45,168,130,0.08);
  border: 1px solid rgba(45,168,130,0.15);
  border-radius: 2px;
  padding: 0.1em 0.35em;
  color: var(--accent-jade-muted);
}

.nrm-article-body pre code {
  background: none;
  border: none;
  padding: 0;
  color: var(--text-primary-light);
}

.nrm-article-body img {
  max-width: 100%;
  border-radius: var(--radius-sm);
  margin-block: 1.5rem;
}

/* === AUTH PAGES === */
.nrm-auth-page {
  min-height: 100vh;
  background-color: var(--bg-void);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
}

.nrm-auth-card {
  width: 100%;
  max-width: 420px;
  background-color: var(--bg-panel);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.nrm-auth-card__logo {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.nrm-auth-card__logo img {
  height: 30px;
  width: auto;
}

.nrm-auth-card__heading {
  font-family: 'IBM Plex Serif', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary-dark);
  margin-bottom: 0.25rem;
  text-align: center;
}

.nrm-auth-card__sub {
  font-size: 0.875rem;
  color: var(--text-muted-dark);
  text-align: center;
  margin-bottom: 2rem;
  line-height: 1.5;
}

.nrm-auth-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.nrm-auth-form__group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.nrm-auth-form__group label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-primary-dark);
}

.nrm-auth-form__input,
.nrm-auth-form__select,
.nrm-auth-form__textarea {
  width: 100%;
  padding: 0.625rem 0.875rem;
  background-color: var(--bg-lift);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.9375rem;
  color: var(--text-primary-dark);
  transition: border-color 0.2s;
  outline: none;
  appearance: none;
}

.nrm-auth-form__input::placeholder,
.nrm-auth-form__textarea::placeholder {
  color: var(--text-muted-dark);
}

.nrm-auth-form__input:focus,
.nrm-auth-form__select:focus,
.nrm-auth-form__textarea:focus {
  border-color: var(--accent-jade);
}

.nrm-auth-form__textarea {
  resize: vertical;
  min-height: 80px;
}

.nrm-auth-form__select option {
  background-color: var(--bg-panel);
  color: var(--text-primary-dark);
}

.nrm-auth-card__links {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nrm-auth-card__links p {
  font-size: 0.8125rem;
  color: var(--text-muted-dark);
}

.nrm-auth-card__links a {
  color: var(--accent-jade);
  font-size: 0.8125rem;
  transition: opacity 0.2s;
}

.nrm-auth-card__links a:hover {
  opacity: 0.8;
}

.nrm-auth-card__legal {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted-dark);
  line-height: 1.6;
}

.nrm-auth-card__legal a {
  color: var(--text-muted-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.nrm-auth-note {
  font-size: 0.75rem;
  color: var(--text-muted-dark);
  line-height: 1.5;
  text-align: center;
  margin-top: 0.75rem;
}

/* === LEGAL PAGES === */
.nrm-legal-main {
  background-color: var(--bg-page-light);
  min-height: calc(100vh - 200px);
  padding-top: calc(64px + clamp(40px, 5vw, 64px));
  padding-bottom: clamp(48px, 6vw, 80px);
}

.nrm-legal-content {
  max-width: 780px;
  margin-inline: auto;
}

.legal-article {
  color: var(--text-primary-light);
}

.legal-header {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

.legal-header h1 {
  font-family: 'IBM Plex Serif', serif;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  color: var(--text-primary-light);
  margin-bottom: 0.5rem;
}

.legal-meta {
  font-size: 0.8125rem;
  color: var(--text-muted-light);
  margin-bottom: 0.25rem;
}

.legal-article section {
  margin-bottom: 2rem;
}

.legal-article h2 {
  font-family: 'IBM Plex Serif', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary-light);
  margin-bottom: 0.75rem;
  margin-top: 0;
}

.legal-article h3 {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary-light);
  margin-bottom: 0.5rem;
  margin-top: 1rem;
}

.legal-article p {
  font-size: 0.9375rem;
  color: var(--text-muted-light);
  line-height: 1.75;
  margin-bottom: 0.875rem;
}

.legal-article ul,
.legal-article ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-article ul {
  list-style: disc;
}

.legal-article ol {
  list-style: decimal;
}

.legal-article li {
  font-size: 0.9375rem;
  color: var(--text-muted-light);
  line-height: 1.7;
  margin-bottom: 0.375rem;
}

.legal-article address {
  font-size: 0.9rem;
  color: var(--text-muted-light);
  line-height: 1.8;
  padding: 1rem 1.25rem;
  background-color: var(--bg-card-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  margin-top: 0.75rem;
}

.legal-article a {
  color: var(--accent-jade-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.legal-table th,
.legal-table td {
  padding: 0.625rem 0.875rem;
  border: 1px solid var(--border-light);
  text-align: left;
  color: var(--text-primary-light);
}

.legal-table th {
  background-color: var(--bg-card-light);
  font-weight: 500;
  color: var(--text-primary-light);
}

.legal-table td {
  color: var(--text-muted-light);
}

/* === COOKIE BANNER === */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background-color: var(--bg-panel);
  border-top: 1px solid var(--border-dark);
  padding: 0.875rem 0;
}

.cookie-banner__inner {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cookie-banner__text {
  font-size: 0.8125rem;
  color: var(--text-muted-dark);
  line-height: 1.5;
  flex: 1;
  min-width: 200px;
}

.cookie-banner__text a {
  color: var(--accent-jade);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__actions {
  flex-shrink: 0;
}

.cookie-banner__btn {
  padding: 0.5rem 1.125rem;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  background: transparent;
  color: var(--text-primary-dark);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
}

.cookie-banner__btn:hover {
  border-color: var(--accent-jade);
  color: var(--accent-jade);
}

.cookie-banner__btn--primary {
  background-color: var(--accent-jade);
  border-color: var(--accent-jade);
  color: #fff;
}

.cookie-banner__btn--primary:hover {
  background-color: var(--accent-jade-muted);
  border-color: var(--accent-jade-muted);
  color: #fff;
}

/* === FADE-IN ANIMATION === */
.nrm-fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.nrm-fade-in--visible {
  opacity: 1;
  transform: none;
}

/* === MOBILE NAV DRAWER === */
@media (max-width: 900px) {
  .nrm-nav__links,
  .nrm-nav__ctas {
    display: none;
  }

  .nrm-nav__hamburger {
    display: flex;
  }

  .nrm-nav--open .nrm-nav__links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background-color: var(--bg-surface);
    border-bottom: 1px solid var(--border-dark);
    padding: 1rem 1.5rem 1.5rem;
    gap: 0.25rem;
    z-index: 899;
  }

  .nrm-nav--open .nrm-nav__links .nrm-nav__link {
    color: var(--text-muted-dark);
    width: 100%;
    padding: 0.5rem 0;
  }

  .nrm-nav--open .nrm-nav__links .nrm-nav__link:hover {
    color: var(--text-primary-dark);
    background: none;
  }

  .nrm-nav--open .nrm-nav__ctas {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background-color: var(--bg-surface);
    padding: 0 1.5rem 1.5rem;
    gap: 0.5rem;
    z-index: 899;
    border-bottom: 1px solid var(--border-dark);
    padding-top: calc(6 * 2.25rem + 1rem + 1.5rem);
  }

  .nrm-nav--open .nrm-nav__ctas .nrm-btn {
    width: 100%;
    justify-content: center;
  }
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .nrm-hero__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .nrm-hero__h1 {
    font-size: clamp(2rem, 5vw, 3rem);
  }

  .nrm-hero__sub {
    max-width: 100%;
  }

  .nrm-dicom-mock {
    max-width: 100%;
  }

  .nrm-proof-bar__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nrm-problem__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

  .nrm-step + .nrm-step::before {
    display: none;
  }

  .nrm-features__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .nrm-features__diagram {
    position: static;
  }

  .nrm-testimonials__grid {
    grid-template-columns: 1fr;
  }

  .nrm-integration__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

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

  .nrm-contact-grid {
    grid-template-columns: 1fr;
  }

  .nrm-contact-details {
    position: static;
  }

  .nrm-about-story__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .nrm-dataflow-cards {
    grid-template-columns: 1fr;
  }

  .nrm-pipeline-step {
    grid-template-columns: 60px 1fr;
  }

  .nrm-pipeline-step__time {
    grid-column: 1 / -1;
    align-self: start;
  }
}

@media (max-width: 640px) {
  :root {
    --section-gap: 56px;
  }

  .nrm-proof-bar__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nrm-steps-grid {
    grid-template-columns: 1fr;
  }

  .nrm-pricing-grid {
    grid-template-columns: 1fr;
  }

  .nrm-prior-comparison {
    grid-template-columns: 1fr;
  }

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

  .nrm-controls-grid {
    grid-template-columns: 1fr;
  }

  .nrm-hiw-override__grid {
    grid-template-columns: 1fr;
  }

  .nrm-prod-ct__grid {
    grid-template-columns: 1fr;
  }

  .nrm-team-grid {
    grid-template-columns: 1fr;
  }

  .nrm-footer__grid {
    grid-template-columns: 1fr;
  }

  .nrm-page-hero__inner--split {
    grid-template-columns: 1fr;
  }

  .nrm-blog-grid {
    grid-template-columns: 1fr;
  }

  .nrm-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .nrm-auth-card {
    padding: 1.75rem 1.25rem;
  }

  .nrm-pipeline-step {
    grid-template-columns: 1fr;
  }

  .nrm-pipeline-step__num {
    font-size: 2.5rem;
  }

  .cookie-banner__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* === UTILITY === */
.nrm-text-center { text-align: center; }
.nrm-mt-sm { margin-top: 1rem; }
.nrm-mt-md { margin-top: 1.5rem; }
.nrm-mt-lg { margin-top: 2.5rem; }
.nrm-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}
