:root {
  --nf-deep: #071e2b;
  --nf-deep-2: #0b2f3c;
  --nf-ink: #102839;
  --nf-teal: #147a76;
  --nf-teal-dark: #0b625f;
  --nf-mint: #6ee0b1;
  --nf-mint-soft: #beeedd;
  --nf-pale: #eff6f4;
  --nf-paper: #f7f9fa;
  --nf-warm: #f7f5ef;
  --nf-slate: #526875;
  --nf-muted: #758792;
  --nf-line: #d4dde2;
  --nf-white: #fff;
  --nf-amber: #a96d2a;
  --nf-font-heading: "Libre Franklin", Inter, Arial, sans-serif;
  --nf-font-body: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --nf-radius-control: 6px;
  --nf-radius-card: 14px;
  --nf-radius-panel: 20px;
  --nf-content-width: 1180px;
  --nf-shadow-sm: 0 8px 24px rgba(7, 30, 43, 0.08);
  --nf-shadow-lg: 0 24px 70px rgba(0, 16, 24, 0.2);
  --nf-header-height: 76px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nf-header-height) + 24px);
}

body.nf-site,
body.site-v2 {
  margin: 0;
  padding-top: 0 !important;
  color: var(--nf-ink);
  background: var(--nf-white);
  font-family: var(--nf-font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.nf-nav-open {
  overflow: hidden;
}

body.nf-site img,
body.site-v2 .nf-header img,
body.site-v2 .nf-footer img {
  max-width: 100%;
}

body.nf-site a {
  color: inherit;
}

.nf-site h1,
.nf-site h2,
.nf-site h3,
.nf-site h4 {
  margin: 0;
  color: var(--nf-ink);
  font-family: var(--nf-font-heading);
  font-weight: 700;
  line-height: 1.13;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

body.nf-site p,
body.nf-site ul,
body.nf-site ol,
body.nf-site figure {
  margin-top: 0;
}

body.nf-site figure {
  margin-right: 0;
  margin-bottom: 0;
  margin-left: 0;
}

body.nf-site p:last-child,
body.nf-site ul:last-child,
body.nf-site ol:last-child {
  margin-bottom: 0;
}

.nf-container {
  width: min(calc(100% - 40px), var(--nf-content-width));
  margin-inline: auto;
}

.nf-narrow {
  width: min(calc(100% - 40px), 820px);
  margin-inline: auto;
}

.nf-skip-link {
  position: fixed;
  z-index: 10000;
  top: 10px;
  left: 12px;
  padding: 10px 14px;
  color: var(--nf-deep);
  background: var(--nf-mint);
  border-radius: var(--nf-radius-control);
  font-weight: 750;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.nf-skip-link:focus {
  transform: translateY(0);
}

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

/* Header and primary navigation */
.nf-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  height: var(--nf-header-height);
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(212, 221, 226, 0.92);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.nf-header-inner {
  display: flex;
  align-items: center;
  min-height: var(--nf-header-height);
  gap: 24px;
}

.nf-brand {
  display: inline-flex;
  flex: 0 0 auto;
  flex-direction: column;
  color: var(--nf-ink);
  text-decoration: none;
}

.nf-brand-mark {
  font-family: var(--nf-font-heading);
  font-size: 1.58rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.07em;
}

.nf-brand-mark span {
  color: var(--nf-teal);
}

.nf-brand-sub {
  margin-top: 5px;
  color: var(--nf-slate);
  font-size: 0.58rem;
  font-weight: 650;
  line-height: 1;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.nf-nav {
  display: flex;
  flex: 1;
  justify-content: center;
  align-self: stretch;
}

.nf-nav-list {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nf-nav-item {
  position: relative;
  display: flex;
  align-items: stretch;
}

.nf-nav-link,
.nf-nav-trigger {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 10px;
  color: var(--nf-ink);
  background: transparent;
  border: 0;
  border-radius: var(--nf-radius-control);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 680;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}

.nf-nav-trigger::after {
  width: 6px;
  height: 6px;
  margin: -3px 0 0 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  content: "";
  transform: rotate(45deg);
  transition: transform 160ms ease;
}

.nf-nav-link:hover,
.nf-nav-trigger:hover,
.nf-nav-link[aria-current="page"],
.nf-nav-trigger[aria-current="page"],
.nf-nav-item.is-open > .nf-nav-trigger {
  color: var(--nf-teal-dark);
  background: var(--nf-pale);
}

.nf-nav-item.is-open > .nf-nav-trigger::after {
  transform: translateY(3px) rotate(225deg);
}

.nf-dropdown {
  position: absolute;
  z-index: 1010;
  top: calc(100% - 2px);
  left: 0;
  display: none;
  width: 330px;
  padding: 10px;
  color: var(--nf-ink);
  background: var(--nf-white);
  border: 1px solid var(--nf-line);
  border-radius: 0 0 var(--nf-radius-card) var(--nf-radius-card);
  box-shadow: var(--nf-shadow-lg);
}

.nf-dropdown--services {
  left: 50%;
  width: min(620px, calc(100vw - 48px));
  transform: translateX(-50%);
}

.nf-nav-item.is-open > .nf-dropdown {
  display: block;
}

.nf-dropdown-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.nf-dropdown--services .nf-dropdown-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nf-dropdown-group {
  padding: 8px;
}

.nf-dropdown-group + .nf-dropdown-group {
  border-left: 1px solid var(--nf-line);
}

.nf-dropdown-label {
  display: block;
  margin: 0 8px 7px;
  color: var(--nf-muted);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nf-dropdown a {
  display: block;
  padding: 9px 10px;
  border-radius: 7px;
  color: var(--nf-ink);
  font-size: 0.78rem;
  font-weight: 620;
  line-height: 1.32;
  text-decoration: none;
}

.nf-dropdown a:hover,
.nf-dropdown a:focus-visible,
.nf-dropdown a[aria-current="page"] {
  color: var(--nf-teal-dark);
  background: var(--nf-pale);
}

.nf-dropdown a strong,
.nf-dropdown a span {
  display: block;
}

.nf-dropdown a span {
  margin-top: 3px;
  color: var(--nf-slate);
  font-size: 0.7rem;
  font-weight: 480;
}

.nf-dropdown a.nf-dropdown-featured {
  color: var(--nf-white);
  background: var(--nf-deep);
}

.nf-dropdown a.nf-dropdown-featured span {
  color: var(--nf-mint-soft);
}

.nf-header-cta,
.nf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.72rem 1.1rem;
  border: 1px solid transparent;
  border-radius: var(--nf-radius-control);
  font-size: 0.84rem;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease, transform 150ms ease;
}

.nf-header-cta,
.nf-btn--primary {
  color: var(--nf-white) !important;
  background: var(--nf-teal);
}

.nf-header-cta:hover,
.nf-btn--primary:hover {
  background: var(--nf-teal-dark);
  transform: translateY(-1px);
}

.nf-nav-mobile-cta {
  display: none !important;
}

.nf-btn--secondary {
  color: var(--nf-ink) !important;
  background: var(--nf-white);
  border-color: var(--nf-line);
}

.nf-btn--secondary:hover {
  color: var(--nf-teal-dark) !important;
  border-color: var(--nf-teal);
}

.nf-btn--ghost {
  color: var(--nf-white) !important;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
}

.nf-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--nf-white);
}

.nf-nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  margin-left: auto;
  padding: 0;
  background: var(--nf-white);
  border: 1px solid var(--nf-line);
  border-radius: var(--nf-radius-control);
  cursor: pointer;
}

.nf-nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--nf-ink);
  transition: transform 160ms ease, opacity 160ms ease;
}

.nf-nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nf-nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nf-nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Shared content */
.nf-eyebrow,
.nf-kicker {
  margin-bottom: 14px;
  color: var(--nf-teal);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nf-hero .nf-eyebrow,
.nf-dark .nf-kicker {
  color: var(--nf-mint);
}

.nf-hero {
  position: relative;
  overflow: hidden;
  color: var(--nf-white);
  background:
    radial-gradient(circle at 88% 14%, rgba(110, 224, 177, 0.18), transparent 42%),
    linear-gradient(135deg, var(--nf-deep) 0%, var(--nf-deep-2) 74%, var(--nf-teal-dark) 132%);
}

.nf-hero::before,
.nf-dark::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  content: "";
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 88%);
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

.nf-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  align-items: center;
  min-height: 610px;
  gap: clamp(38px, 6vw, 82px);
  padding-block: 64px;
}

.nf-hero-copy {
  max-width: 700px;
}

.nf-hero h1 {
  max-width: 760px;
  color: var(--nf-white);
  font-size: clamp(2.75rem, 5vw, 4.9rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.nf-hero h1 span {
  color: var(--nf-mint-soft);
}

.nf-hero-value {
  margin: 28px 0 13px;
  color: #edf7f7;
  font-family: var(--nf-font-heading);
  font-size: clamp(1.05rem, 1.5vw, 1.24rem);
  font-weight: 650;
  line-height: 1.45;
}

.nf-hero-lead {
  max-width: 690px;
  margin-bottom: 0;
  color: #bdd0d5;
  font-size: 1rem;
  line-height: 1.65;
}

.nf-action-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}

.nf-proof-line {
  margin: 24px 0 0;
  color: #b4c7cc;
  font-size: 0.8rem;
  font-weight: 550;
  letter-spacing: 0.015em;
}

.nf-hero-visual {
  position: relative;
  padding: 20px;
  background: rgba(8, 38, 49, 0.92);
  border: 1px solid rgba(110, 224, 177, 0.32);
  border-radius: var(--nf-radius-panel);
  box-shadow: var(--nf-shadow-lg);
}

.nf-hero-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.nf-hero-visual > .nf-diagram-shell {
  padding: 0;
  border: 0;
  box-shadow: none;
}

.nf-hero-visual .nf-evidence-routes {
  grid-template-columns: 1fr;
  gap: 12px;
}

.nf-hero-visual .nf-evidence-routes .nf-card {
  min-height: 0;
  padding: 20px;
}

.nf-hero--compact .nf-hero-grid {
  min-height: 490px;
}

.nf-hero--compact h1 {
  font-size: clamp(2.45rem, 4.4vw, 4rem);
}

.nf-hero--light {
  color: var(--nf-ink);
  background: linear-gradient(135deg, var(--nf-paper), var(--nf-pale));
}

.nf-hero--light::before {
  background-image: none;
}

.nf-hero--light h1 {
  color: var(--nf-ink);
}

.nf-hero--light .nf-hero-lead {
  color: var(--nf-slate);
}

.nf-hero--light .nf-hero-value {
  color: var(--nf-ink);
}

.nf-hero--light .nf-proof-line {
  color: var(--nf-slate);
}

.nf-section {
  position: relative;
  padding-block: clamp(76px, 8vw, 112px);
}

.nf-section--tight {
  padding-block: clamp(56px, 6vw, 82px);
}

.nf-section--paper {
  background: var(--nf-paper);
}

.nf-section--pale {
  background: var(--nf-pale);
}

.nf-section--warm {
  background: var(--nf-warm);
}

.nf-dark {
  position: relative;
  overflow: hidden;
  color: #ccdcdf;
  background: var(--nf-deep);
}

.nf-dark > * {
  position: relative;
}

.nf-dark h2,
.nf-dark h3 {
  color: var(--nf-white);
}

.nf-section-heading {
  max-width: 780px;
  margin-bottom: 42px;
}

.nf-section-heading--wide {
  max-width: 960px;
}

.nf-section-heading h2 {
  font-size: clamp(2rem, 3.4vw, 3.25rem);
}

.nf-section-heading > p:not(.nf-kicker) {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--nf-slate);
  font-size: 1.02rem;
}

.nf-dark .nf-section-heading > p:not(.nf-kicker) {
  color: #b9ccd1;
}

.nf-grid-2,
.nf-grid-3,
.nf-grid-4 {
  display: grid;
  gap: 20px;
}

.nf-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nf-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.nf-card {
  position: relative;
  padding: 28px;
  background: var(--nf-white);
  border: 1px solid var(--nf-line);
  border-radius: var(--nf-radius-card);
  box-shadow: 0 1px 0 rgba(7, 30, 43, 0.02);
}

.nf-card h3 {
  margin-bottom: 12px;
  font-size: 1.24rem;
}

.nf-card p {
  color: var(--nf-slate);
  font-size: 0.92rem;
}

.nf-card--dark {
  color: #c7d9dc;
  background: #0a2935;
  border-color: #2d6a67;
}

.nf-card--dark h3 {
  color: var(--nf-white);
}

.nf-card--dark p {
  color: #b8ccd1;
}

.nf-card--featured {
  background: linear-gradient(150deg, var(--nf-deep), var(--nf-deep-2));
  border-color: var(--nf-deep);
  box-shadow: var(--nf-shadow-sm);
}

.nf-card--featured h3,
.nf-card--featured p,
.nf-card--featured .nf-card-link {
  color: var(--nf-white);
}

.nf-card--featured .nf-card-label {
  color: var(--nf-mint);
}

.nf-card-number,
.nf-card-label {
  display: block;
  margin-bottom: 16px;
  color: var(--nf-teal);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nf-card-link,
.nf-text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  color: var(--nf-teal-dark) !important;
  font-size: 0.84rem;
  font-weight: 750;
  text-decoration: none;
}

.nf-card-link::after,
.nf-text-link::after {
  content: "→";
  transition: transform 150ms ease;
}

.nf-card-link:hover::after,
.nf-text-link:hover::after {
  transform: translateX(3px);
}

.nf-card--featured .nf-card-link {
  color: var(--nf-mint) !important;
}

.nf-check-list,
.nf-arrow-list,
.nf-source-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nf-check-list li,
.nf-arrow-list li {
  position: relative;
  padding-left: 28px;
  color: var(--nf-slate);
}

.nf-check-list li + li,
.nf-arrow-list li + li {
  margin-top: 10px;
}

.nf-check-list li::before {
  position: absolute;
  top: 0.1em;
  left: 0;
  color: var(--nf-teal);
  font-weight: 800;
  content: "✓";
}

.nf-arrow-list li::before {
  position: absolute;
  top: 0.1em;
  left: 0;
  color: var(--nf-teal);
  font-weight: 800;
  content: "→";
}

.nf-callout {
  padding: 24px 26px;
  background: var(--nf-pale);
  border-left: 4px solid var(--nf-teal);
  border-radius: 0 var(--nf-radius-card) var(--nf-radius-card) 0;
}

.nf-callout--dark {
  color: #c9dade;
  background: #0a2935;
  border-left-color: var(--nf-mint);
}

.nf-callout strong {
  color: var(--nf-ink);
}

.nf-callout--dark strong {
  color: var(--nf-white);
}

.nf-diagram-shell {
  position: relative;
  padding: clamp(16px, 3vw, 32px);
  background: #082631;
  border: 1px solid #316e6a;
  border-radius: var(--nf-radius-panel);
  box-shadow: var(--nf-shadow-lg);
}

.nf-diagram-shell img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 180ms ease;
}

.nf-diagram-shell.is-zoomable img {
  cursor: zoom-in;
}

.nf-diagram-expand {
  position: absolute;
  z-index: 3;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 8px 12px;
  color: var(--nf-deep);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(7, 30, 43, 0.18);
  border-radius: var(--nf-radius-control);
  box-shadow: 0 8px 24px rgba(0, 16, 24, 0.2);
  font: inherit;
  font-size: 0.74rem;
  font-weight: 780;
  line-height: 1;
  cursor: zoom-in;
}

.nf-diagram-expand:hover {
  color: var(--nf-white);
  background: var(--nf-teal-dark);
  border-color: var(--nf-teal-dark);
}

.nf-diagram-expand-icon {
  font-size: 1rem;
  line-height: 0;
}

.nf-diagram-dialog {
  width: min(96vw, 1380px);
  max-width: none;
  max-height: 94vh;
  padding: 0;
  color: var(--nf-white);
  background: transparent;
  border: 0;
  overflow: visible;
}

.nf-diagram-dialog::backdrop {
  background: rgba(2, 15, 22, 0.86);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.nf-diagram-dialog-panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  max-height: 94vh;
  background: var(--nf-deep);
  border: 1px solid #397c76;
  border-radius: var(--nf-radius-panel);
  box-shadow: 0 28px 90px rgba(0, 10, 16, 0.55);
  overflow: hidden;
}

.nf-diagram-dialog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 60px;
  padding: 12px 16px 12px 22px;
  background: #092833;
  border-bottom: 1px solid #2d6966;
}

.nf-diagram-dialog-title {
  margin: 0;
  color: var(--nf-white);
  font-family: var(--nf-font-heading);
  font-size: clamp(0.96rem, 1.4vw, 1.2rem);
  font-weight: 700;
  letter-spacing: -0.015em;
}

.nf-diagram-dialog-close {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 12px;
  color: var(--nf-white);
  background: transparent;
  border: 1px solid #648b91;
  border-radius: var(--nf-radius-control);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 720;
  cursor: pointer;
}

.nf-diagram-dialog-close:hover {
  color: var(--nf-deep);
  background: var(--nf-mint-soft);
  border-color: var(--nf-mint-soft);
}

.nf-diagram-dialog-figure {
  display: grid;
  min-height: 0;
  margin: 0;
  padding: clamp(10px, 2vw, 24px);
  place-items: center;
  background: #082631;
  overflow: auto;
}

.nf-diagram-dialog-image {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: calc(94vh - 88px);
  object-fit: contain;
}

body.nf-diagram-open {
  overflow: hidden;
}

@media (hover: hover) and (pointer: fine) {
  .nf-diagram-shell.is-zoomable:hover > img {
    transform: scale(1.012);
  }
}

.nf-diagram-caption {
  margin: 14px 0 0;
  color: var(--nf-slate);
  font-size: 0.8rem;
  line-height: 1.5;
}

.nf-dark .nf-diagram-caption {
  color: #a9c0c5;
}

.nf-diagram-desktop {
  display: block;
}

.nf-diagram-compact {
  display: none !important;
}

.nf-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(36px, 7vw, 88px);
}

.nf-split--reverse {
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
}

.nf-sticky-copy {
  position: sticky;
  top: calc(var(--nf-header-height) + 28px);
}

.nf-sticky-copy h2 {
  font-size: clamp(2rem, 3.2vw, 3rem);
}

.nf-sticky-copy > p:not(.nf-kicker) {
  margin: 18px 0 0;
  color: var(--nf-slate);
}

.nf-dark .nf-sticky-copy > p:not(.nf-kicker) {
  color: #b9ccd1;
}

.nf-failure-list {
  display: grid;
  gap: 12px;
  counter-reset: failure;
}

.nf-failure {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 18px;
  padding: 22px;
  background: var(--nf-white);
  border: 1px solid var(--nf-line);
  border-radius: var(--nf-radius-card);
  counter-increment: failure;
}

.nf-failure::before {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--nf-teal-dark);
  background: var(--nf-pale);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 800;
  content: "0" counter(failure);
}

.nf-failure h3 {
  margin-bottom: 6px;
  font-size: 1rem;
}

.nf-failure p {
  margin: 0;
  color: var(--nf-slate);
  font-size: 0.88rem;
}

.nf-pillars .nf-card {
  display: flex;
  flex-direction: column;
  min-height: 330px;
}

.nf-pillars .nf-card-link {
  margin-top: auto;
  padding-top: 22px;
}

.nf-pillar-cue {
  margin-top: 16px;
  padding-top: 16px;
  color: var(--nf-ink) !important;
  border-top: 1px solid var(--nf-line);
  font-size: 0.84rem !important;
  font-weight: 650;
}

.nf-lifecycle-strip {
  margin-top: 32px;
}

.nf-route-grid {
  display: grid;
  grid-template-columns: 1.12fr 1fr 1fr;
  gap: 20px;
}

.nf-route {
  display: flex;
  flex-direction: column;
  padding: 30px;
  background: var(--nf-white);
  border: 1px solid var(--nf-line);
  border-radius: var(--nf-radius-card);
}

.nf-route--featured {
  color: #c4d7db;
  background: var(--nf-deep);
  border-color: var(--nf-deep);
  box-shadow: var(--nf-shadow-lg);
}

.nf-route h3 {
  margin-bottom: 12px;
  font-size: 1.32rem;
}

.nf-route--featured h3 {
  color: var(--nf-white);
}

.nf-route p {
  color: var(--nf-slate);
  font-size: 0.9rem;
}

.nf-route--featured p {
  color: #b9ccd1;
}

.nf-route ul {
  margin: 14px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--nf-line);
  list-style: none;
}

.nf-route--featured ul {
  border-top-color: #31505b;
}

.nf-route li + li {
  margin-top: 9px;
}

.nf-route li a {
  color: var(--nf-teal-dark);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.nf-route--featured li a {
  color: var(--nf-mint);
}

.nf-route > .nf-card-link {
  margin-top: auto;
  padding-top: 18px;
}

.nf-evidence-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  overflow: hidden;
  background: var(--nf-white);
  border: 1px solid var(--nf-line);
  border-radius: var(--nf-radius-panel);
  box-shadow: var(--nf-shadow-sm);
}

.nf-evidence-principal {
  padding: clamp(30px, 5vw, 58px);
  color: #c5d6da;
  background: var(--nf-deep);
}

.nf-evidence-principal h2 {
  margin-bottom: 17px;
  color: var(--nf-white);
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.nf-evidence-principal p {
  color: #b8ccd1;
}

.nf-evidence-list {
  display: grid;
  gap: 0;
  padding: 18px clamp(28px, 4vw, 48px);
}

.nf-evidence-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--nf-line);
}

.nf-evidence-item:last-child {
  border-bottom: 0;
}

.nf-evidence-item h3 {
  margin-bottom: 7px;
  font-size: 1.02rem;
}

.nf-evidence-item p {
  margin: 0;
  color: var(--nf-slate);
  font-size: 0.88rem;
}

.nf-final-cta {
  color: var(--nf-white);
  background:
    radial-gradient(circle at 88% 18%, rgba(110, 224, 177, 0.18), transparent 44%),
    var(--nf-deep);
}

.nf-final-cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 48px;
}

.nf-final-cta h2 {
  color: var(--nf-white);
  font-size: clamp(2rem, 3.4vw, 3.1rem);
}

.nf-final-cta p {
  max-width: 760px;
  margin: 16px 0 0;
  color: #b9ccd1;
}

.nf-final-cta .nf-action-row {
  margin-top: 0;
}

/* Core inner pages */
.nf-page-intro {
  max-width: 780px;
  margin-bottom: 42px;
}

.nf-page-intro h2 {
  font-size: clamp(2rem, 3.4vw, 3.1rem);
}

.nf-page-intro p:not(.nf-kicker) {
  margin: 17px 0 0;
  color: var(--nf-slate);
}

.nf-model-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.nf-model-item {
  padding: 20px;
  background: var(--nf-pale);
  border-radius: 10px;
}

.nf-model-item span {
  display: block;
  margin-bottom: 8px;
  color: var(--nf-teal);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.nf-model-item h3 {
  font-size: 1rem;
}

.nf-model-item p {
  margin: 8px 0 0;
  color: var(--nf-slate);
  font-size: 0.82rem;
}

.nf-source-note {
  margin-top: 34px;
  padding-top: 22px;
  color: var(--nf-slate);
  border-top: 1px solid var(--nf-line);
  font-size: 0.78rem;
}

.nf-source-note strong {
  color: var(--nf-ink);
}

.nf-source-note a {
  color: var(--nf-teal-dark);
  text-underline-offset: 3px;
}

.nf-buyer-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--nf-line);
}

.nf-buyer-card:last-child {
  border-bottom: 0;
}

.nf-buyer-card dt {
  color: var(--nf-muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nf-buyer-card dd {
  margin: 0;
  color: var(--nf-ink);
  font-size: 0.92rem;
  font-weight: 620;
}

.nf-diagnostic-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
  counter-reset: diagnostic;
}

.nf-diagnostic-step {
  position: relative;
  padding: 70px 18px 22px;
  text-align: center;
  background: var(--nf-white);
  border: 1px solid var(--nf-line);
  border-radius: var(--nf-radius-card);
  counter-increment: diagnostic;
}

.nf-diagnostic-step::before {
  position: absolute;
  top: 17px;
  left: 50%;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--nf-white);
  background: var(--nf-teal);
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 800;
  content: "0" counter(diagnostic);
  transform: translateX(-50%);
}

.nf-diagnostic-step h3 {
  font-size: 0.96rem;
}

.nf-diagnostic-step p {
  margin: 8px 0 0;
  color: var(--nf-slate);
  font-size: 0.78rem;
  line-height: 1.5;
}

.nf-boundary {
  padding: 25px 28px;
  color: #c7d8dc;
  background: var(--nf-deep);
  border-radius: var(--nf-radius-card);
}

.nf-boundary strong {
  display: block;
  margin-bottom: 7px;
  color: var(--nf-mint);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nf-boundary p {
  margin: 0;
}

.nf-evidence-routes .nf-card {
  min-height: 300px;
}

.nf-profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 7vw, 84px);
}

.nf-profile-statement h2 {
  font-size: clamp(2rem, 3.2vw, 3rem);
}

.nf-profile-statement p:not(.nf-kicker) {
  color: var(--nf-slate);
}

.nf-profile-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.nf-profile-fact {
  padding: 24px;
  background: var(--nf-paper);
  border: 1px solid var(--nf-line);
  border-radius: var(--nf-radius-card);
}

.nf-profile-fact strong {
  display: block;
  margin-bottom: 8px;
  color: var(--nf-teal-dark);
  font-family: var(--nf-font-heading);
  font-size: 1.18rem;
}

.nf-profile-fact span {
  color: var(--nf-slate);
  font-size: 0.85rem;
}

.nf-role-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--nf-white);
  border: 1px solid var(--nf-line);
  border-radius: var(--nf-radius-card);
  overflow: hidden;
}

.nf-role-table th,
.nf-role-table td {
  padding: 20px 22px;
  border-bottom: 1px solid var(--nf-line);
  text-align: left;
  vertical-align: top;
}

.nf-role-table th {
  width: 28%;
  color: var(--nf-ink);
  background: var(--nf-pale);
  font-family: var(--nf-font-heading);
  font-size: 0.92rem;
}

.nf-role-table td {
  color: var(--nf-slate);
  font-size: 0.9rem;
}

.nf-role-table tr:last-child th,
.nf-role-table tr:last-child td {
  border-bottom: 0;
}

/* Contact */
.nf-contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: clamp(34px, 6vw, 72px);
}

.nf-contact-context {
  position: sticky;
  top: calc(var(--nf-header-height) + 28px);
}

.nf-contact-context h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.nf-contact-context > p:not(.nf-kicker) {
  color: var(--nf-slate);
}

.nf-contact-context .nf-callout {
  margin-top: 25px;
}

.nf-contact-form-shell {
  padding: clamp(26px, 5vw, 48px);
  background: var(--nf-white);
  border: 1px solid var(--nf-line);
  border-radius: var(--nf-radius-panel);
  box-shadow: var(--nf-shadow-sm);
}

.nf-contact-form-shell h2 {
  margin-bottom: 8px;
  font-size: 1.8rem;
}

.nf-form-intro {
  margin-bottom: 28px;
  color: var(--nf-slate);
  font-size: 0.88rem;
}

.nf-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 19px;
}

.nf-field {
  min-width: 0;
}

.nf-field--wide {
  grid-column: 1 / -1;
}

.nf-field label,
.nf-field legend {
  display: block;
  margin-bottom: 7px;
  color: var(--nf-ink);
  font-size: 0.8rem;
  font-weight: 720;
}

.nf-field input,
.nf-field select,
.nf-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 12px;
  color: var(--nf-ink);
  background: var(--nf-white);
  border: 1px solid #b8c5cc;
  border-radius: var(--nf-radius-control);
  font: inherit;
  font-size: 0.92rem;
}

.nf-field textarea {
  min-height: 150px;
  resize: vertical;
}

.nf-field input:focus,
.nf-field select:focus,
.nf-field textarea:focus {
  border-color: var(--nf-teal);
  outline: 3px solid rgba(20, 122, 118, 0.16);
}

.nf-field-hint {
  margin: 7px 0 0;
  color: var(--nf-muted);
  font-size: 0.74rem;
}

.nf-consent {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  grid-column: 1 / -1;
  color: var(--nf-slate);
  font-size: 0.8rem;
}

.nf-consent input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--nf-teal);
}

.nf-consent a {
  color: var(--nf-teal-dark) !important;
}

.nf-form-message {
  display: none;
  margin: 18px 0 0;
  padding: 12px 14px;
  border-radius: var(--nf-radius-control);
  font-size: 0.84rem;
}

.nf-form-message.is-visible {
  display: block;
}

.nf-form-message.error {
  color: #7b211d;
  background: #fbeceb;
  border: 1px solid #e6b6b2;
}

.nf-form-message.success {
  color: #194d3b;
  background: #e8f7f0;
  border: 1px solid #afdcca;
}

.nf-contact-success {
  padding: 36px;
  text-align: center;
  background: var(--nf-pale);
  border-radius: var(--nf-radius-card);
}

.nf-contact-success h2 {
  margin-bottom: 12px;
}

.nf-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* Footer */
.nf-footer {
  color: #b6c9ce;
  background: #061821;
  border-top: 1px solid #153744;
}

.nf-footer-main {
  display: grid;
  grid-template-columns: 1.35fr repeat(4, 1fr);
  gap: clamp(26px, 4vw, 54px);
  padding-block: 64px 50px;
}

.nf-footer-brand p {
  max-width: 300px;
  margin: 17px 0 0;
  color: #abc0c5;
  font-size: 0.83rem;
}

.nf-footer .nf-brand-mark {
  color: var(--nf-white);
}

.nf-footer h2,
.nf-footer h3 {
  margin: 0 0 16px;
  color: var(--nf-white);
  font-family: var(--nf-font-body);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nf-footer nav a {
  display: block;
  margin: 9px 0;
  color: #b8cbd0;
  font-size: 0.78rem;
  line-height: 1.4;
  text-decoration: none;
}

.nf-footer nav a:hover,
.nf-footer nav a:focus-visible {
  color: var(--nf-mint);
}

.nf-footer-bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  padding-block: 22px;
  border-top: 1px solid #183541;
}

.nf-footer-bottom p {
  max-width: 770px;
  margin: 0;
  color: #8fa8ae;
  font-size: 0.72rem;
}

.nf-footer-legal {
  display: flex;
  flex-wrap: wrap;
  flex: 0 0 auto;
  gap: 16px;
}

.nf-footer-legal a {
  color: #a8bec3;
  font-size: 0.72rem;
  text-decoration: none;
}

.nf-footer-note {
  margin: 0;
  padding: 0 0 24px;
  color: #769098;
  font-size: 0.68rem;
}

/* Focus and reduced motion */
.nf-site :focus-visible,
.site-v2 .nf-header :focus-visible,
.site-v2 .nf-footer :focus-visible {
  outline: 3px solid rgba(110, 224, 177, 0.82);
  outline-offset: 3px;
}

.nf-back-to-top {
  position: fixed;
  z-index: 900;
  right: 18px;
  bottom: 18px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--nf-white);
  background: var(--nf-deep);
  border: 1px solid #31515e;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.nf-back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  :root {
    --nf-header-height: 68px;
  }

  .nf-header-inner {
    gap: 14px;
  }

  .nf-brand-sub {
    display: none;
  }

  .nf-nav-link,
  .nf-nav-trigger {
    padding-inline: 7px;
    font-size: 0.76rem;
  }

  .nf-header-cta {
    padding-inline: 0.86rem;
    font-size: 0.76rem;
  }

  .nf-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.88fr);
  }

  .nf-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nf-footer-main {
    grid-template-columns: 1.25fr repeat(2, 1fr);
  }
}

@media (max-width: 920px) {
  .nf-header {
    /*
     * backdrop-filter creates a containing block for fixed descendants in
     * WebKit and Chromium. Without this override the mobile navigation is
     * constrained to the sticky header instead of the phone viewport.
     */
    background: var(--nf-white);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .nf-header-cta {
    display: none;
  }

  .nf-nav-toggle {
    display: block;
  }

  .nf-nav {
    position: fixed;
    z-index: 1005;
    top: var(--nf-header-height);
    right: 0;
    bottom: auto;
    left: 0;
    display: none;
    width: 100%;
    height: calc(100vh - var(--nf-header-height));
    height: calc(100dvh - var(--nf-header-height));
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 18px max(20px, env(safe-area-inset-right)) calc(36px + env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
    background: var(--nf-white);
    border-top: 1px solid var(--nf-line);
  }

  .nf-nav.is-open {
    display: block;
  }

  .nf-nav-list {
    display: block;
    width: min(100%, 680px);
    margin-inline: auto;
  }

  .nf-nav-item {
    display: block;
    border-bottom: 1px solid var(--nf-line);
  }

  .nf-nav-link,
  .nf-nav-trigger {
    width: 100%;
    min-height: 52px;
    justify-content: space-between;
    padding: 10px 4px;
    font-size: 0.96rem;
    text-align: left;
  }

  .nf-dropdown,
  .nf-dropdown--services {
    position: static;
    display: none;
    width: auto;
    padding: 0 0 12px 12px;
    background: transparent;
    border: 0;
    box-shadow: none;
    transform: none;
  }

  .nf-nav-item.is-open > .nf-dropdown {
    display: block;
  }

  .nf-dropdown-grid,
  .nf-dropdown--services .nf-dropdown-grid {
    display: block;
  }

  .nf-dropdown-group {
    padding: 6px 0;
  }

  .nf-dropdown-group + .nf-dropdown-group {
    border: 0;
  }

  .nf-dropdown-label {
    margin-top: 9px;
  }

  .nf-dropdown a {
    min-height: 44px;
    padding: 11px 12px;
    font-size: 0.84rem;
  }

  .nf-nav-mobile-cta {
    display: flex !important;
    width: 100%;
    margin-top: 20px;
  }

  .nf-hero-grid,
  .nf-hero--compact .nf-hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 42px;
    padding-block: 58px;
  }

  .nf-hero-visual {
    max-width: 720px;
    margin-inline: auto;
  }

  .nf-split,
  .nf-split--reverse,
  .nf-profile-grid,
  .nf-contact-layout {
    grid-template-columns: 1fr;
  }

  .nf-sticky-copy,
  .nf-contact-context {
    position: static;
  }

  .nf-grid-3,
  .nf-route-grid {
    grid-template-columns: 1fr;
  }

  .nf-route {
    min-height: 0;
  }

  .nf-model-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nf-diagnostic-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .nf-evidence-panel {
    grid-template-columns: 1fr;
  }

  .nf-final-cta-grid {
    grid-template-columns: 1fr;
  }

  .nf-final-cta .nf-action-row {
    margin-top: 0;
  }
}

@media (max-width: 720px) {
  .nf-container,
  .nf-narrow {
    width: min(calc(100% - 30px), var(--nf-content-width));
  }

  .nf-brand-mark {
    font-size: 1.42rem;
  }

  .nf-hero h1 {
    font-size: clamp(2.52rem, 12vw, 3.5rem);
  }

  .nf-hero--compact h1 {
    font-size: clamp(2.25rem, 10vw, 3.1rem);
  }

  .nf-hero-value {
    margin-top: 22px;
  }

  .nf-action-row {
    align-items: stretch;
    flex-direction: column;
  }

  .nf-action-row .nf-btn {
    width: 100%;
  }

  .nf-proof-line {
    line-height: 1.55;
  }

  .nf-section {
    padding-block: 68px;
  }

  .nf-section--tight {
    padding-block: 52px;
  }

  .nf-grid-2,
  .nf-grid-4,
  .nf-profile-facts,
  .nf-model-grid,
  .nf-form-grid {
    grid-template-columns: 1fr;
  }

  .nf-card,
  .nf-route {
    padding: 24px;
  }

  .nf-pillars .nf-card {
    min-height: 0;
  }

  .nf-diagram-desktop {
    display: none !important;
  }

  .nf-diagram-compact {
    display: block !important;
  }

  .nf-diagram-shell {
    padding: 0;
    overflow: hidden;
  }

  .nf-diagram-expand {
    position: static;
    justify-content: center;
    width: calc(100% - 24px);
    min-height: 44px;
    margin: 12px;
    padding: 10px 14px;
  }

  .nf-diagram-expand-label {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
  }

  .nf-diagram-dialog {
    inset: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    max-height: none;
    margin: 0;
    overflow: hidden;
  }

  .nf-diagram-dialog-panel {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    max-height: none;
    border: 0;
    border-radius: 0;
  }

  .nf-diagram-dialog-toolbar {
    min-height: 56px;
    padding: calc(8px + env(safe-area-inset-top, 0px)) 10px 8px 14px;
  }

  .nf-diagram-dialog-title {
    min-width: 0;
    overflow: hidden;
    font-size: 0.95rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nf-diagram-dialog-close {
    min-width: 64px;
    min-height: 44px;
  }

  .nf-diagram-dialog-figure {
    display: block;
    padding: 0 0 env(safe-area-inset-bottom, 0px);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .nf-diagram-dialog-image {
    width: 100%;
    max-width: none;
    height: auto;
    max-height: none;
    object-fit: initial;
  }

  .nf-diagram-caption {
    margin: 0;
    padding: 12px 14px 0;
  }

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

  .nf-diagnostic-step {
    min-height: 100px;
    padding: 24px 20px 24px 78px;
    text-align: left;
  }

  .nf-diagnostic-step::before {
    top: 25px;
    left: 36px;
    transform: none;
  }

  .nf-buyer-card {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .nf-role-table,
  .nf-role-table tbody,
  .nf-role-table tr,
  .nf-role-table th,
  .nf-role-table td {
    display: block;
    width: 100%;
  }

  .nf-role-table tr + tr {
    border-top: 1px solid var(--nf-line);
  }

  .nf-role-table th,
  .nf-role-table td {
    border-bottom: 0;
  }

  .nf-role-table th {
    padding-bottom: 8px;
  }

  .nf-role-table td {
    padding-top: 8px;
  }

  .nf-footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 20px;
    padding-block: 52px 38px;
  }

  .nf-footer-brand {
    grid-column: 1 / -1;
  }

  .nf-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .nf-footer-note {
    line-height: 1.55;
  }
}

@media (max-width: 430px) {
  .nf-footer-main {
    grid-template-columns: 1fr;
  }

  .nf-footer-brand {
    grid-column: auto;
  }
}

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

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