/* Thirdlayer landing — VD6 hero + scroll-spy sidebar */

@font-face {
  font-family: "Aeonik";
  src:
    local("Aeonik Regular"),
    local("Aeonik-Regular");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Aeonik Medium";
  src:
    local("Aeonik Medium"),
    local("Aeonik-Medium");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

body[data-page="thirdlayer"],
body[data-page="research"],
body[data-page="careers"],
body[data-page="company"],
body[data-page="blog"],
body[data-page="blog-post"],
body[data-page="docs"],
body[data-page="legal"],
body[data-site="nitrode"] {
  --white: #fcfcfc;
  --black: #181818;
  --border: #e5e5e5;
  --text-muted: #5c5c5c;
  --green: #3f5a24;
  --green-mid: #5b7d31;
  --green-pale: #eaeef0;
  --canvas-bg: #141414;
  --sidebar-width: 168px;
  --sidebar-text-inset: 24px;
  --sidebar-icon-size: 14px;
  --content-gap: 64px;
  --site-pad-x: clamp(56px, 5vw, 80px);
  --site-pad-top: clamp(56px, 5.5vw, 72px);
  --sticky-top: 160px;
  --panel-bg: #f4f3ef;
  --cta-base: #2a3818;
  --body-footer-radius: 28px;
  --body-size: 1.05rem;
  --body-line: 1.55;
  --body-tracking: -0.01em;
  --body-color: var(--text-muted);
  --mono: "SF Mono", "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace;
  --vd5-grain-fine: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='256' height='256'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --nl-pill-pad-y: 12px;
  --nl-pill-pad-x: 20px;
  --vd5-grain-coarse: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='256' height='256'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.42' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");

  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
  background: var(--white);
  color: var(--black);
  font-family: "Aeonik", system-ui, sans-serif;
  letter-spacing: -0.02em;
  -webkit-font-smoothing: antialiased;
}

body[data-page="thirdlayer"] ::selection,
body[data-page="research"] ::selection,
body[data-page="careers"] ::selection,
body[data-page="company"] ::selection,
body[data-page="blog"] ::selection,
body[data-page="blog-post"] ::selection,
body[data-page="docs"] ::selection,
body[data-page="legal"] ::selection,
body[data-site="nitrode"] ::selection {
  background: var(--green);
  color: var(--white);
}

body[data-page="thirdlayer"] ::-moz-selection,
body[data-page="research"] ::-moz-selection,
body[data-page="careers"] ::-moz-selection,
body[data-page="company"] ::-moz-selection,
body[data-page="blog"] ::-moz-selection,
body[data-page="blog-post"] ::-moz-selection,
body[data-page="docs"] ::-moz-selection,
body[data-page="legal"] ::-moz-selection,
body[data-site="nitrode"] ::-moz-selection {
  background: var(--green);
  color: var(--white);
}

/* ── Sitewide motion ── */

@keyframes nl-fade-up {
  from {
    opacity: 0;
    transform: translate3d(0, 20px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes nl-fade-up-ex {
  from {
    opacity: 0;
    transform: translate3d(0, 52px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.nl-enter {
  transform: translate3d(0, 20px, 0);
}

.nl-enter--ex {
  transform: translate3d(0, 52px, 0);
}

/* Hide enter targets before JS adds .nl-enter — prevents visible-then-animate flash */
html.nl-motion-armed .nl-fixed-actions,
html.nl-motion-armed .nl-hero__top,
html.nl-motion-armed .nl-canvas-wrap,
html.nl-motion-armed .vd6-canvas-wrap,
html.nl-motion-armed .nl-article__title,
html.nl-motion-armed .nl-careers-heading,
html.nl-motion-armed .nd-hero:not(.nd-hero--banner),
html.nl-motion-armed .nd-hero--banner .nd-hero__copy,
html.nl-motion-armed .nd-block__head {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
}

html.nl-motion-armed .nl-hero--paint .nl-hero__top {
  opacity: 1;
  transform: none;
}

html.nl-motion-armed .nl-hero--paint .nl-hero__mark-wrap,
html.nl-motion-armed .nl-hero--paint .nl-hero__eyebrow,
html.nl-motion-armed .nl-hero--paint .nl-hero__title,
html.nl-motion-armed .nl-hero--paint .nl-hero__lead,
html.nl-motion-armed .nl-hero--paint .nl-btn--hero,
html.nl-motion-armed .nl-hero--paint .nl-hero-logos {
  opacity: 0;
  transform: translate3d(0, 52px, 0);
}

html.nl-motion-armed .nl-hero--paint .nl-hero__mark-wrap.is-entered,
html.nl-motion-armed .nl-hero--paint .nl-hero__eyebrow.is-entered,
html.nl-motion-armed .nl-hero--paint .nl-hero__title.is-entered,
html.nl-motion-armed .nl-hero--paint .nl-hero__lead.is-entered,
html.nl-motion-armed .nl-hero--paint .nl-btn--hero.is-entered,
html.nl-motion-armed .nl-hero--paint .nl-hero-logos.is-entered {
  opacity: 1;
  transform: none;
}

html.nl-motion-armed .nl-hero--paint .nl-hero__mark-wrap.nl-enter-quick,
html.nl-motion-armed .nl-hero--paint .nl-hero__eyebrow.nl-enter-quick,
html.nl-motion-armed .nl-hero--paint .nl-hero__title.nl-enter-quick,
html.nl-motion-armed .nl-hero--paint .nl-hero__lead.nl-enter-quick,
html.nl-motion-armed .nl-hero--paint .nl-btn--hero.nl-enter-quick,
html.nl-motion-armed .nl-hero--paint .nl-hero-logos.nl-enter-quick {
  transform: none;
}

body.nl-entered .nl-enter {
  animation: nl-fade-up 780ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

body.nl-entered .nl-enter--1 {
  animation-delay: 90ms;
}

body.nl-entered .nl-enter--2 {
  animation-delay: 190ms;
}

body.nl-entered .nl-enter--3 {
  animation-delay: 290ms;
}

body.nl-entered .nl-enter--ex {
  animation: nl-fade-up-ex 720ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

body.nl-entered .nl-enter--ex.nl-enter--1 {
  animation-delay: 140ms;
}

body.nl-entered .nl-enter--ex.nl-enter--2 {
  animation-delay: 260ms;
}

body.nl-entered .nl-enter--ex.nl-enter--3 {
  animation-delay: 380ms;
}

body.nl-entered .nl-enter--ex.nl-enter--4 {
  animation-delay: 500ms;
}

body.nl-entered .nl-enter--ex.nl-enter--5 {
  animation-delay: 620ms;
}

@keyframes nl-fade-in-quick {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

body.nl-entered .nl-enter-quick {
  animation: nl-fade-in-quick 380ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

[data-nl-reveal] {
  transition:
    opacity 720ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 720ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--nl-reveal-delay, 0ms);
}

/* Hide scroll-reveal blocks before JS adds data-nl-reveal */
html.nl-motion-armed .nl-section:not(.is-revealed),
html.nl-motion-armed .nl-cta:not(.is-revealed),
html.nl-motion-armed .nl-site-footer:not(.is-revealed),
html.nl-motion-armed .nl-close:not(.is-revealed),
html.nl-motion-armed .nl-article:not(.is-revealed) {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
}

body:has(.nl-hero--paint) [data-nl-reveal] {
  transition-duration: 560ms;
}

[data-nl-reveal].is-quick {
  transform: none;
  transition: opacity 380ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: 0ms;
}

html.nl-motion-armed body:has(.nl-hero--paint) [data-nl-reveal].is-quick:not(.is-revealed) {
  transform: none;
}

html.nl-motion-armed body:has(.nl-hero--paint) .nl-section:not(.is-revealed),
html.nl-motion-armed body:has(.nl-hero--paint) .nl-cta:not(.is-revealed),
html.nl-motion-armed body:has(.nl-hero--paint) .nl-site-footer:not(.is-revealed),
html.nl-motion-armed body:has(.nl-hero--paint) .nl-close:not(.is-revealed) {
  transform: translate3d(0, 48px, 0);
}

html.nl-motion-armed .nl-close .nl-cta,
html.nl-motion-armed .nl-close .nl-site-footer,
html.nl-motion-armed body:has(.nl-hero--paint) .nl-close .nl-cta,
html.nl-motion-armed body:has(.nl-hero--paint) .nl-close .nl-site-footer {
  opacity: 1;
  transform: none;
}

[data-nl-reveal].is-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

html:has(body[data-page="thirdlayer"]),
html:has(body[data-page="research"]),
html:has(body[data-page="careers"]),
html:has(body[data-page="company"]),
html:has(body[data-page="blog"]),
html:has(body[data-page="blog-post"]),
html:has(body[data-page="docs"]),
html:has(body[data-page="legal"]),
html:has(body[data-site="nitrode"]) {
  overflow-x: clip;
  background: #fcfcfc;
}

html:has(body[data-page="thirdlayer"])::before,
html:has(body[data-page="research"])::before,
html:has(body[data-page="careers"])::before,
html:has(body[data-page="company"])::before,
html:has(body[data-page="blog"])::before,
html:has(body[data-page="blog-post"])::before,
html:has(body[data-page="docs"])::before,
html:has(body[data-page="legal"])::before,
html:has(body[data-site="nitrode"])::before {
  content: "";
  position: fixed;
  top: -100vh;
  left: 0;
  right: 0;
  height: 100vh;
  background: #fcfcfc;
  pointer-events: none;
}

body[data-page="thirdlayer"] *,
body[data-page="thirdlayer"] *::before,
body[data-page="thirdlayer"] *::after,
body[data-page="research"] *,
body[data-page="research"] *::before,
body[data-page="research"] *::after,
body[data-page="careers"] *,
body[data-page="careers"] *::before,
body[data-page="careers"] *::after,
body[data-page="company"] *,
body[data-page="company"] *::before,
body[data-page="company"] *::after,
body[data-page="blog"] *,
body[data-page="blog"] *::before,
body[data-page="blog"] *::after,
body[data-page="blog-post"] *,
body[data-page="blog-post"] *::before,
body[data-page="blog-post"] *::after,
body[data-page="docs"] *,
body[data-page="docs"] *::before,
body[data-page="docs"] *::after,
body[data-page="legal"] *,
body[data-page="legal"] *::before,
body[data-page="legal"] *::after,
body[data-site="nitrode"] *,
body[data-site="nitrode"] *::before,
body[data-site="nitrode"] *::after {
  box-sizing: border-box;
}

/* ── Fixed header actions ── */

.nl-fixed-actions {
  position: fixed;
  top: var(--site-pad-top);
  right: var(--site-pad-x);
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 36px;
}

.nl-fixed-actions__link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--black);
  line-height: 1;
  transition: color 180ms ease, opacity 180ms ease;
}

.nl-fixed-actions__link.is-over-dark {
  color: var(--white);
}

.nl-fixed-actions__link:hover {
  opacity: 0.72;
}

.nl-fixed-actions__sep {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  font-size: 11px;
  line-height: 1;
  color: var(--black);
  opacity: 0.32;
  user-select: none;
  transition: color 180ms ease, opacity 180ms ease;
}

.nl-fixed-actions__sep.is-over-dark {
  color: var(--white);
  opacity: 0.45;
}

.nl-fixed-actions__dropdown {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 36px;
}

.nl-fixed-actions__dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: max(100%, 156px);
  height: 14px;
}

.nl-fixed-actions__menu-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 36px;
  padding: 0;
  margin: 0;
  border: none;
  background: none;
  cursor: pointer;
  line-height: 1;
  appearance: none;
  -webkit-appearance: none;
}

.nl-fixed-actions__menu-trigger.is-over-dark {
  color: var(--white);
}

.nl-fixed-actions__menu-trigger:hover {
  opacity: 0.72;
}

.nl-fixed-actions__chevron {
  width: 10px;
  height: 10px;
  margin-top: 1px;
  flex-shrink: 0;
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.nl-fixed-actions__dropdown.is-open .nl-fixed-actions__chevron {
  transform: rotate(180deg);
}

.nl-fixed-actions__menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  right: auto;
  z-index: 30;
  min-width: 156px;
  padding: 6px;
  border-radius: 16px;
  background: rgba(252, 252, 252, 0.58);
  border: 1px solid rgba(252, 252, 252, 0.72);
  box-shadow:
    0 16px 44px rgba(24, 24, 24, 0.12),
    inset 0 1px 0 rgba(252, 252, 252, 0.82);
  backdrop-filter: blur(22px) saturate(165%);
  -webkit-backdrop-filter: blur(22px) saturate(165%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px) scale(0.96);
  transform-origin: top left;
  transition:
    opacity 220ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 220ms;
}

.nl-fixed-actions__menu::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    148deg,
    rgba(252, 252, 252, 0.72) 0%,
    rgba(252, 252, 252, 0.08) 42%,
    rgba(184, 196, 235, 0.16) 100%
  );
  pointer-events: none;
}

.nl-fixed-actions__dropdown.is-open .nl-fixed-actions__menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.nl-fixed-actions__menu-link {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 11px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--black);
  transition: background-color 160ms ease, color 160ms ease;
}

.nl-fixed-actions__menu-link:hover,
.nl-fixed-actions__menu-link:focus-visible {
  background: rgba(24, 24, 24, 0.06);
  outline: none;
}

.nl-fixed-actions__dropdown.is-over-dark .nl-fixed-actions__menu {
  background: rgba(24, 24, 24, 0.52);
  border-color: rgba(252, 252, 252, 0.14);
  box-shadow:
    0 16px 44px rgba(24, 24, 24, 0.34),
    inset 0 1px 0 rgba(252, 252, 252, 0.12);
}

.nl-fixed-actions__dropdown.is-over-dark .nl-fixed-actions__menu::before {
  background: linear-gradient(
    148deg,
    rgba(252, 252, 252, 0.14) 0%,
    rgba(252, 252, 252, 0.02) 42%,
    rgba(79, 112, 197, 0.18) 100%
  );
}

.nl-fixed-actions__dropdown.is-over-dark .nl-fixed-actions__menu-link {
  color: var(--white);
}

.nl-fixed-actions__dropdown.is-over-dark .nl-fixed-actions__menu-link:hover,
.nl-fixed-actions__dropdown.is-over-dark .nl-fixed-actions__menu-link:focus-visible {
  background: rgba(252, 252, 252, 0.1);
}

.nl-btn {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 18px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.nl-btn--green {
  background: var(--green);
  color: var(--white);
}

.nl-btn--green:hover {
  background: var(--green-mid);
}

.nl-fixed-actions .nl-btn--green {
  transition: background-color 180ms ease, color 180ms ease, opacity 180ms ease;
}

.nl-fixed-actions .nl-btn--green.is-over-dark {
  background: var(--white);
  color: var(--black);
}

.nl-fixed-actions .nl-btn--green.is-over-dark:hover {
  background: var(--white);
  opacity: 0.72;
}

/* ── Mobile navigation ── */

.nl-mobile-nav {
  display: none;
}

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

.nl-mobile-nav__toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  color: var(--black);
  cursor: pointer;
  transition: color 180ms ease;
}

.nl-mobile-nav__toggle.is-over-dark {
  color: var(--white);
}

.nl-mobile-nav__bars {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 20px;
  height: 14px;
}

.nl-mobile-nav__bars span {
  display: block;
  width: 100%;
  height: 1.5px;
  border-radius: 1px;
  background: currentColor;
  transition:
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 180ms ease;
}

.nl-mobile-nav.is-open .nl-mobile-nav__bars span:nth-child(1) {
  transform: translateY(3.75px) rotate(45deg);
}

.nl-mobile-nav.is-open .nl-mobile-nav__bars span:nth-child(2) {
  transform: translateY(-3.75px) rotate(-45deg);
}

.nl-mobile-nav__panel {
  position: fixed;
  inset: 0;
  z-index: 280;
  pointer-events: none;
  visibility: hidden;
}

.nl-mobile-nav.is-open .nl-mobile-nav__panel {
  pointer-events: auto;
  visibility: visible;
}

.nl-mobile-nav__backdrop {
  position: absolute;
  inset: 0;
  border: none;
  padding: 0;
  background: rgba(24, 24, 24, 0.42);
  opacity: 0;
  cursor: pointer;
  transition: opacity 280ms ease;
}

.nl-mobile-nav.is-open .nl-mobile-nav__backdrop {
  opacity: 1;
}

.nl-mobile-nav__sheet {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: min(320px, 88vw);
  height: 100%;
  padding: calc(var(--site-pad-top) + 56px) var(--site-pad-x) 32px;
  overflow-y: auto;
  background: var(--white);
  box-shadow: -18px 0 48px rgba(24, 24, 24, 0.08);
  transform: translate3d(100%, 0, 0);
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.nl-mobile-nav.is-open .nl-mobile-nav__sheet {
  transform: translate3d(0, 0, 0);
}

.nl-mobile-nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  color: var(--black);
  border-radius: 10px;
  transition: background-color 160ms ease, color 160ms ease;
}

.nl-mobile-nav__brand:hover,
.nl-mobile-nav__brand:focus-visible {
  background: rgba(24, 24, 24, 0.06);
  outline: none;
}

.nl-mobile-nav__brand .nl-sidebar__icon,
.nl-mobile-nav__sublink .nl-sidebar__icon {
  position: static;
  transform: none;
  opacity: 1;
  flex-shrink: 0;
  width: var(--sidebar-icon-size);
  height: var(--sidebar-icon-size);
}

.nl-mobile-nav__group {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
}

.nl-mobile-nav__group-label {
  margin: 0 0 6px;
  padding: 0 12px;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nl-mobile-nav__link,
.nl-mobile-nav__sublink {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 0 12px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-transform: none;
  text-decoration: none;
  color: var(--black);
  transition: background-color 160ms ease, color 160ms ease;
}

.nl-mobile-nav__link:hover,
.nl-mobile-nav__link:focus-visible,
.nl-mobile-nav__sublink:hover,
.nl-mobile-nav__sublink:focus-visible {
  background: rgba(24, 24, 24, 0.06);
  outline: none;
}

.nl-mobile-nav__link.is-active {
  color: var(--green);
}

.nl-mobile-nav__group--secondary {
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

.nl-mobile-nav__group--secondary .nl-mobile-nav__group-label {
  margin-top: 14px;
}

.nl-mobile-nav__sublink {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nl-mobile-nav__sublink.is-active {
  color: var(--black);
}

.nl-mobile-nav__actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.nl-mobile-nav__contact {
  display: inline-flex;
  align-items: center;
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 10px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--black);
  transition: background-color 160ms ease, color 160ms ease;
}

.nl-mobile-nav__contact:hover,
.nl-mobile-nav__contact:focus-visible {
  background: rgba(24, 24, 24, 0.06);
  outline: none;
}

.nl-mobile-nav__cta {
  justify-content: center;
  gap: 0.5em;
  width: 100%;
}

body.nl-mobile-nav-open {
  overflow: hidden;
}

.nl-btn--dark {
  background: var(--black);
  color: var(--white);
}

.nl-btn--dark:hover {
  opacity: 0.88;
}

/* ── Hero ── */

.nl-hero {
  padding: var(--site-pad-top) var(--site-pad-x) 0;
  max-width: 100%;
  overflow-x: clip;
  background: var(--white);
}

.nl-hero__top {
  padding: 16px 0 36px;
}

.nl-hero__title {
  margin: 0;
  max-width: 100%;
  font-size: clamp(2.4rem, 5.2vw, 4.25rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.nl-hero--paint {
  position: relative;
  z-index: 1;
  padding: 0;
  overflow: visible;
  background: transparent;
}

.nl-hero__stage {
  --nl-hero-cta-logos-gap: clamp(56px, 6vw + 5vh, 128px);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: var(--nl-hero-cta-logos-gap);
  min-height: 112svh;
  padding: clamp(132px, 18vh, 200px) var(--site-pad-x) clamp(28vh, 30vh, 34vh);
  border-radius: 0;
  overflow: hidden;
  background: #0a120c;
}

.nl-hero__paint {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.nl-hero__stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.28;
  background-image: var(--vd5-grain-fine), var(--vd5-grain-coarse);
  background-size: 180px 180px, 240px 240px;
  mix-blend-mode: overlay;
}

.nl-hero__stage.is-paint-fallback .nl-hero__paint {
  display: none;
}

.nl-hero__stage.is-paint-fallback {
  background-image:
    var(--vd5-grain-fine),
    var(--vd5-grain-coarse),
    radial-gradient(ellipse 26% 20% at 16% 14%, #c47848 0%, transparent 64%),
    radial-gradient(ellipse 20% 16% at 8% 48%, #a8643c 0%, transparent 60%),
    radial-gradient(ellipse 18% 14% at 22% 86%, #c89068 0%, transparent 58%),
    radial-gradient(ellipse 28% 20% at 88% 78%, #d4e838 0%, transparent 60%),
    radial-gradient(ellipse 20% 16% at 78% 86%, #b4dc28 0%, transparent 58%),
    radial-gradient(ellipse 18% 14% at 96% 72%, #e8f04a 0%, transparent 56%),
    radial-gradient(ellipse 48% 40% at 78% 28%, #142818 0%, transparent 66%),
    radial-gradient(ellipse 44% 38% at 88% 72%, #2a3820 0%, transparent 64%),
    radial-gradient(ellipse 40% 34% at 36% 88%, #3a4228 0%, transparent 62%),
    linear-gradient(155deg, #1c2214 0%, #0a120c 48%, #141c12 100%);
  background-size: 180px 180px, 240px 240px, auto, auto, auto, auto, auto, auto, auto, auto, auto, auto;
}

.nl-hero--paint .nl-hero__parallax {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: var(--nl-hero-cta-logos-gap);
  width: 100%;
  will-change: transform;
}

.nl-hero--paint .nl-hero__top {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  padding: 0;
  text-align: center;
  pointer-events: none;
}

.nl-hero__mark-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  max-width: 100%;
  min-height: 30px;
  margin: 0 auto 28px;
  overflow: visible;
  pointer-events: auto;
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

.nl-hero__mark {
  position: relative;
  z-index: 2;
  display: block;
  flex-shrink: 0;
  width: 32px;
  height: 30px;
}

.nl-hero__yc {
  display: grid;
  grid-template-columns: 0fr;
  margin-left: 0;
  opacity: 0;
  color: rgba(252, 252, 252, 0.88);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  pointer-events: none;
  transition:
    grid-template-columns 420ms cubic-bezier(0.33, 1, 0.68, 1),
    margin-left 420ms cubic-bezier(0.33, 1, 0.68, 1),
    opacity 320ms cubic-bezier(0.33, 1, 0.68, 1);
}

.nl-hero__yc-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
}

@media (hover: hover) and (pointer: fine) {
  .nl-hero__mark-wrap:hover .nl-hero__yc {
    grid-template-columns: 1fr;
    margin-left: 12px;
    opacity: 1;
  }
}

.nl-hero__yc-logo {
  display: block;
  width: auto;
  height: 17.6px;
  flex-shrink: 0;
}

.nl-hero__eyebrow {
  margin: 0 0 32px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(252, 252, 252, 0.88);
}

.nl-hero--paint .nl-hero__title {
  margin: 0 0 28px;
  font-family: "Aeonik Medium", "Aeonik", system-ui, sans-serif;
  font-weight: 500;
  font-size: clamp(2.85rem, 6vw, 4.85rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: var(--white);
  text-shadow: 0 2px 28px rgba(24, 24, 24, 0.22);
}

.nl-hero__lead {
  margin: 0 0 44px;
  max-width: 38ch;
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: var(--body-tracking);
  color: rgba(252, 252, 252, 0.92);
}

.nl-btn--hero {
  pointer-events: auto;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  height: auto;
  min-height: calc(1em + (var(--nl-pill-pad-y) * 2));
  padding: var(--nl-pill-pad-y) var(--nl-pill-pad-x);
  border-radius: 999px;
  border: none;
  background: transparent;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1;
  gap: 0;
  box-sizing: border-box;
}

.nl-btn--hero__canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  pointer-events: none;
}

.nl-btn--hero__label {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  visibility: hidden;
  white-space: nowrap;
}

.nl-btn--hero__text {
  display: block;
}

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

.nl-btn--hero:hover .nl-btn--hero__canvas,
.nl-btn--hero:focus-visible .nl-btn--hero__canvas {
  opacity: 0.88;
}

.nl-btn--hero:focus-visible {
  outline: none;
}

.nl-btn--hero:focus-visible .nl-btn--hero__canvas {
  box-shadow: 0 0 0 2px rgba(252, 252, 252, 0.55);
}

.nl-hero-logos {
  position: relative;
  z-index: 1;
  width: 100%;
  flex-shrink: 0;
  pointer-events: none;
}

.nl-hero-logos__viewport {
  overflow: hidden;
  mask-image: linear-gradient(
    90deg,
    transparent,
    var(--black) 14%,
    var(--black) 86%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    var(--black) 14%,
    var(--black) 86%,
    transparent
  );
}

.nl-hero-logos__track {
  display: flex;
  width: max-content;
  animation: nl-hero-logos-scroll 42s linear infinite;
}

.nl-hero-logos__list {
  display: flex;
  align-items: center;
  gap: 56px;
  margin: 0;
  padding: 10px 28px;
  list-style: none;
}

.nl-hero-logos__list li {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  overflow: visible;
}

.nl-hero-logos__list img {
  display: block;
  height: 21.6px;
  width: auto;
}

.nl-hero-logos__list img[src*="stripe"],
.nl-hero-logos__list img[src*="anthropic"] {
  height: 26.4px;
}

.nl-hero-logos__lockup {
  gap: 8px;
  color: var(--white);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.nl-hero-logos__lockup img {
  height: 19.2px;
  width: 19.2px;
}

@keyframes nl-hero-logos-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.nl-hero--paint + .nl-body {
  z-index: 2;
  margin-top: -26vh;
  border-radius: 40px 40px var(--body-footer-radius) var(--body-footer-radius);
}

.nl-canvas-wrap {
  min-height: 420px;
  max-height: min(58vh, 680px);
  border-radius: 28px;
  overflow: hidden;
  background: var(--canvas-bg);
  position: relative;
  cursor: crosshair;
}

.nl-canvas-wrap canvas {
  display: block;
  width: 100%;
  height: 100%;
}

/* ── Body layout ── */

.nl-body {
  position: relative;
  z-index: 2;
  flex: 1 0 auto;
  padding: 112px var(--site-pad-x) 56px;
  max-width: 100%;
  overflow-x: clip;
  background: var(--white);
  border-radius: 0 0 var(--body-footer-radius) var(--body-footer-radius);
}

.nl-body__grid {
  display: grid;
  grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
  gap: var(--content-gap);
  align-items: stretch;
}

/* ── Sidebar ── */

.nl-sidebar {
  position: relative;
  align-self: stretch;
  min-height: 100%;
  margin: 0;
  padding: 0;
}

body[data-page="thirdlayer"] .nl-sidebar {
  align-self: start;
}

body[data-page="thirdlayer"] .nl-sidebar__rail {
  position: relative;
  width: 100%;
  overflow: visible;
}

.nl-sidebar__brand {
  position: relative;
  display: flex;
  align-items: center;
  min-height: var(--sidebar-icon-size);
  margin: 0;
  padding: 0;
  padding-left: var(--sidebar-text-inset);
  font-family: inherit;
  font-size: var(--body-size);
  font-weight: 400;
  line-height: var(--body-line);
  letter-spacing: var(--body-tracking);
  text-transform: none;
  text-decoration: none;
  color: var(--text-muted);
  transition: color 180ms ease;
}

.nl-sidebar__brand:hover {
  color: var(--black);
}

.nl-sidebar__nav {
  position: sticky;
  top: var(--sticky-top);
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: calc(100svh - (var(--sticky-top) * 2));
  overflow: visible;
  z-index: 10;
}

.nl-sidebar__nav > *:not(.nl-sidebar__cta) {
  flex-shrink: 0;
}

.nl-sidebar__indicator-bar {
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 18px;
  border-radius: 2px;
  background: var(--green);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, var(--indicator-y, 0), 0);
  transition:
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 220ms ease;
  will-change: transform;
}

.nl-sidebar__indicator-bar.is-visible {
  opacity: 1;
}

.nl-sidebar__indicator-bar.is-traveling {
  transition-duration: 0.55s;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

.nl-sidebar__link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-left: var(--sidebar-text-inset);
  font-family: inherit;
  font-size: var(--body-size);
  font-weight: 400;
  line-height: var(--body-line);
  letter-spacing: var(--body-tracking);
  text-transform: none;
  text-decoration: none;
  color: var(--text-muted);
  transition: color 180ms ease;
}

.nl-sidebar__link:hover {
  color: var(--black);
}

.nl-sidebar__link.is-active {
  color: var(--black);
}

.nl-sidebar__divider {
  height: 1px;
  margin: 8px 0 8px var(--sidebar-text-inset);
  background: var(--border);
}

.nl-sidebar__secondary {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nl-sidebar__sub-link {
  position: relative;
  display: flex;
  align-items: center;
  min-height: var(--sidebar-icon-size);
  height: auto;
  padding-left: var(--sidebar-text-inset);
  font-family: inherit;
  font-size: var(--body-size);
  font-weight: 400;
  line-height: var(--body-line);
  letter-spacing: var(--body-tracking);
  text-transform: none;
  text-decoration: none;
  color: var(--text-muted);
  transition: color 180ms ease;
}

.nl-sidebar__sub-link:hover {
  color: var(--black);
}

.nl-sidebar__sub-link.is-active {
  color: var(--black);
}

.nl-sidebar__sub-link.is-active .nl-sidebar__icon {
  opacity: 1;
}

.nl-sidebar__icon {
  position: absolute;
  left: 0;
  top: 50%;
  display: block;
  width: var(--sidebar-icon-size);
  height: var(--sidebar-icon-size);
  transform: translateY(-50%);
  opacity: 0.55;
}

.nl-sidebar__icon--logo {
  object-fit: contain;
  opacity: 1;
}

.nl-sidebar__icon--mark {
  overflow: visible;
}

.nl-sidebar__brand:hover .nl-sidebar__icon--logo {
  opacity: 0.72;
}

.nl-sidebar__sub-link:hover .nl-sidebar__icon {
  opacity: 0.85;
}

.nl-sidebar__dropdown {
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: gap 280ms cubic-bezier(0.33, 1, 0.68, 1);
}

.nl-sidebar__dropdown.is-open {
  gap: 12px;
}

.nl-sidebar__menu-trigger {
  width: 100%;
  height: auto;
  min-height: var(--sidebar-icon-size);
  padding-top: 0;
  padding-right: 0;
  padding-bottom: 0;
  border: none;
  background: none;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  font-family: inherit;
  font-size: var(--body-size);
  font-weight: 400;
  line-height: var(--body-line);
  letter-spacing: var(--body-tracking);
  text-transform: none;
  color: var(--text-muted);
  text-align: left;
}

.nl-sidebar__chevron {
  width: 10px;
  height: 10px;
  margin-left: auto;
  margin-top: 1px;
  flex-shrink: 0;
  opacity: 0.55;
  pointer-events: none;
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.nl-sidebar__dropdown.is-open .nl-sidebar__chevron {
  transform: rotate(180deg);
}

.nl-sidebar__menu-items {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 280ms cubic-bezier(0.33, 1, 0.68, 1);
}

.nl-sidebar__dropdown.is-open .nl-sidebar__menu-items {
  grid-template-rows: 1fr;
}

.nl-sidebar__menu-items-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
  overflow: hidden;
}

.nl-sidebar__cta.nl-btn {
  margin-top: 14px;
  margin-left: 0;
  align-self: stretch;
  width: 100%;
  justify-content: flex-start;
  gap: 0.5em;
  height: auto;
  min-height: calc(1em + (var(--nl-pill-pad-y) * 2));
  padding: var(--nl-pill-pad-y) var(--nl-pill-pad-x) var(--nl-pill-pad-y) var(--sidebar-text-inset);
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1;
  flex-shrink: 0;
  background: var(--black);
  color: var(--white);
  transition: background-color 180ms ease;
}

.nl-sidebar__cta .nl-nexus-actions__arrow {
  margin-left: auto;
}

.nl-sidebar__cta.nl-btn:hover,
.nl-sidebar__cta.nl-btn:focus-visible {
  background: var(--green);
  color: var(--white);
  opacity: 1;
  outline: none;
}

/* ── Main content ── */

.nl-main {
  min-width: 0;
  margin: 0;
  padding: 0;
}

.nl-section {
  margin: 0;
  padding-top: 0;
  padding-bottom: clamp(72px, 10vw, 120px);
  scroll-margin-top: var(--sticky-top);
}

.nl-section-break {
  display: block;
  width: 100%;
  height: 0;
  margin: 0 0 clamp(72px, 10vw, 120px);
  border: 0;
  border-top: 1px solid var(--border);
}

.nl-section--sidebar-bound {
  padding-bottom: 0;
}

#research.nl-section--sidebar-bound {
  padding-bottom: clamp(72px, 10vw, 120px);
}

.nl-sidebar-anchor {
  width: 100%;
  height: 0;
  pointer-events: none;
}

.nl-section__eyebrow {
  display: flex;
  align-items: center;
  height: auto;
  min-height: var(--sidebar-icon-size);
  margin: 0 0 20px;
  padding: 0;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nl-section__title {
  margin: 0 0 28px;
  max-width: 18ch;
  font-size: clamp(1.75rem, 3.2vw, 2.75rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.nl-prose {
  max-width: 52ch;
}

.nl-section__intro {
  margin: -8px 0 clamp(32px, 4vw, 48px);
}

body[data-page="thirdlayer"] .nl-prose p,
body[data-page="thirdlayer"] .nl-section__closing,
body[data-page="thirdlayer"] .nl-problem-row__body,
body[data-page="thirdlayer"] .nl-step__content p,
body[data-page="thirdlayer"] .nl-use-case-tab__lead,
body[data-page="thirdlayer"] .nl-use-case-tab__list li,
body[data-page="thirdlayer"] .nl-nexus-card__desc,
body[data-page="research"] .nl-prose p,
body[data-page="research"] .nl-section__closing,
body[data-page="careers"] .nl-prose p,
body[data-page="careers"] .nl-section__closing,
body[data-page="company"] .nl-prose p,
body[data-page="company"] .nl-section__closing,
body[data-page="careers"] .nl-careers-role-meta,
body[data-page="careers"] .nl-careers-group-label,
body[data-page="careers"] .nl-careers-note p,
body[data-page="research"] .nl-careers-group-label,
body[data-page="company"] .nl-careers-group-label,
body[data-page="blog"] .nl-careers-group-label,
body[data-page="blog"] .nl-prose p,
body[data-page="blog"] .nl-section__closing,
body[data-page="blog-post"] .nl-prose--article p,
body[data-page="blog-post"] .nl-prose--article li,
body[data-page="docs"] .nl-prose p,
body[data-page="docs"] .nl-section__closing,
body[data-page="docs"] .nl-docs-row-meta,
body[data-page="docs"] .nl-resource-item__desc,
body[data-site="nitrode"] .nl-prose p,
body[data-site="nitrode"] .nl-section__closing,
body[data-site="nitrode"] .nl-careers-group-label,
body[data-site="nitrode"] .nl-careers-note p,
body[data-site="nitrode"] .nd-lead,
body[data-site="nitrode"] .nd-card__body,
body[data-site="nitrode"] .nd-takeaway,
body[data-site="nitrode"] .nd-method__body,
body[data-site="nitrode"] .nd-fail__body {
  font-family: "Aeonik", system-ui, sans-serif;
  font-size: var(--body-size);
  line-height: var(--body-line);
  letter-spacing: var(--body-tracking);
  color: var(--body-color);
}

.nl-prose p {
  margin: 0 0 16px;
}

.nl-section__closing {
  margin: 40px 0 0;
  max-width: 52ch;
}

/* ── Problem: title + body row, then 4 cards ── */

.nl-problem {
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 4.5vw, 48px);
}

.nl-problem__intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
}

.nl-problem__intro .nl-section__title {
  margin: 0;
  max-width: none;
}

.nl-problem__intro .nl-prose {
  max-width: none;
}

.nl-problem__intro .nl-prose p:first-child {
  margin-top: 0;
}

.nl-problem__visual {
  margin: 0;
}

.nl-problem-rows {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--border);
}

.nl-problem-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding: 22px 20px 24px;
  background: var(--white);
  transition: background-color 0.35s ease;
}

.nl-problem-row:hover {
  background: var(--panel-bg);
}

.nl-problem-row__icon {
  display: block;
  width: 28px;
  height: 28px;
  color: var(--green);
}

.nl-problem-row__icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.nl-problem-row__label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
}

.nl-problem-row__content {
  min-width: 0;
}

.nl-problem-row__title {
  margin: 0 0 10px;
  font-size: var(--body-size);
  font-weight: 500;
  line-height: 1.35;
  color: var(--black);
}

.nl-problem-row__body {
  margin: 0;
}

/* ── Platform split + layers graphic ── */

.nl-platform {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: clamp(32px, 4.5vw, 64px);
  align-items: start;
}

.nl-platform__copy {
  min-width: 0;
}

.nl-platform__copy .nl-section__title {
  max-width: none;
}

.nl-platform__copy .nl-prose,
.nl-platform__copy .nl-flow {
  max-width: none;
}

.nl-platform__graphic {
  margin: 0;
  position: sticky;
  top: var(--sticky-top);
}

.nl-platform-block {
  margin-top: clamp(56px, 8vw, 96px);
}

.nl-platform__layers {
  position: relative;
  width: 100%;
  min-height: clamp(440px, 46vw, 580px);
  aspect-ratio: 16 / 11;
  border-radius: 20px;
  overflow: hidden;
  contain: paint;
  background-color: #1c2e1a;
  background-image: url("../assets/slicedbg.png");
  background-position: center;
  background-size: 103% 103%;
  background-repeat: no-repeat;
  box-shadow: 0 18px 48px rgba(24, 24, 24, 0.08);
}

.nl-platform__layers canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

/* ── Platform flow ── */

.nl-flow {
  position: relative;
  margin-top: 48px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  padding-left: 18px;
  box-sizing: border-box;
}

.nl-flow__step {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 18px 22px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  box-sizing: border-box;
  transition:
    border-color 0.35s ease,
    background 0.35s ease,
    box-shadow 0.35s ease;
}

.nl-flow__rail {
  position: absolute;
  left: -18px;
  top: 0;
  bottom: 0;
  width: 2px;
  overflow: hidden;
  background: var(--border);
  pointer-events: none;
}

.nl-flow__rail-fill {
  display: block;
  width: 100%;
  height: 0%;
  background: var(--green);
}

.nl-flow__step.is-active {
  border-color: rgba(63, 90, 36, 0.42);
  background: rgba(63, 90, 36, 0.07);
  box-shadow: 0 8px 24px rgba(63, 90, 36, 0.08);
}

.nl-flow__label {
  display: block;
  min-width: 0;
  font-size: var(--body-size);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: var(--black);
  overflow-wrap: break-word;
}

.nl-flow__body {
  display: block;
  min-width: 0;
  margin: 8px 0 0;
  font-size: var(--body-size);
  line-height: var(--body-line);
  letter-spacing: var(--body-tracking);
  color: var(--text-muted);
  overflow-wrap: break-word;
}

.nl-flow__step.is-active .nl-flow__label {
  color: var(--black);
}

.nl-flow__step.is-active .nl-flow__body {
  color: var(--text-muted);
}

/* ── Features (organic blur cards) ── */

.nl-enterprise-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
  margin-bottom: clamp(28px, 3.5vw, 40px);
}

.nl-enterprise-intro .nl-section__title {
  max-width: none;
  margin: 0;
}

.nl-enterprise-intro__body {
  margin: 0;
  font-size: var(--body-size);
  line-height: var(--body-line);
  letter-spacing: var(--body-tracking);
  color: var(--body-color);
}

.nl-section-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.nl-section-actions .nl-btn--dark {
  height: auto;
  min-height: calc(1em + (var(--nl-pill-pad-y) * 2));
  padding: var(--nl-pill-pad-y) var(--nl-pill-pad-x);
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1;
  gap: 0.5em;
  transition: background-color 180ms ease;
}

.nl-section-actions .nl-btn--dark:hover,
.nl-section-actions .nl-btn--dark:focus-visible {
  background: var(--green);
  opacity: 1;
  outline: none;
}

.nl-features-grid.vd5-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 100%;
  min-width: 0;
  margin: 8px 0 0;
  padding: 0;
  overflow: hidden;
}

body[data-page="thirdlayer"] .nl-features-grid .vd5-panel {
  min-height: 425px;
  min-width: 0;
  padding: 22px 18px 20px;
  border-radius: 28px;
  font-family: "Aeonik", system-ui, sans-serif;
  border: none;
  box-shadow: none;
  background: var(--black);
  transition:
    color 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

body[data-page="thirdlayer"] .nl-features-grid .vd5-panel::before {
  inset: 0;
  transform: none;
  filter: none;
  opacity: 1;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

body[data-page="thirdlayer"] .nl-features-grid .vd5-panel::after {
  background-image: var(--vd5-grain-fine), var(--vd5-grain-coarse);
  background-size: 88px 88px, 144px 144px;
  background-blend-mode: screen;
  mix-blend-mode: overlay;
  filter: brightness(1.45) contrast(108%);
  opacity: 0.26;
}

body[data-page="thirdlayer"] .nl-features-grid .vd5-panel[data-vd5-panel="phase1"]::before {
  background-image: url("../assets/organic-blurs/box1%201.png");
}

body[data-page="thirdlayer"] .nl-features-grid .vd5-panel[data-vd5-panel="phase2"]::before {
  background-image: url("../assets/organic-blurs/box2%201.png");
}

body[data-page="thirdlayer"] .nl-features-grid .vd5-panel[data-vd5-panel="phase3"]::before {
  background-image: url("../assets/organic-blurs/box3%201.png");
}

body[data-page="thirdlayer"] .nl-features-grid .vd5-panel[data-vd5-panel="feature4"]::before {
  background-image: url("../assets/organic-blurs/box4%201.png");
}

body[data-page="thirdlayer"] .nl-features-grid .vd5-panel__ascii-wrap {
  min-height: 175px;
  overflow: hidden;
}

body[data-page="thirdlayer"] .nl-features-grid .vd5-panel__title {
  font-size: 0.95rem;
}

body[data-page="thirdlayer"] .nl-features-grid .vd5-panel__desc {
  overflow-wrap: anywhere;
}

body[data-page="thirdlayer"] .nl-features-grid .vd5-panel__title,
body[data-page="thirdlayer"] .nl-features-grid .vd5-panel__desc {
  font-family: "Aeonik", system-ui, sans-serif;
  color: var(--white);
}

.nl-compound > .nl-section__title {
  max-width: none;
  margin-bottom: 32px;
}

.nl-compound-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-width: 0;
  border-radius: 20px;
  overflow: hidden;
  background: var(--panel-bg);
  color: var(--black);
}

.nl-compound-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-width: 0;
  min-height: 520px;
  padding: 28px 28px 16px;
}

.nl-compound-card + .nl-compound-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 28px;
  bottom: 16px;
  width: 1px;
  background: var(--border);
  pointer-events: none;
}

.nl-compound-card__num {
  position: absolute;
  top: 24px;
  left: 28px;
  z-index: 1;
  margin: 0;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  pointer-events: none;
}

.nl-compound-card__illust {
  flex: 1;
  display: grid;
  place-items: center;
  min-height: 220px;
  margin: 36px 0 24px;
  overflow: visible;
}

.nl-compound-layers {
  overflow: visible;
  transform: translateY(16px);
}

.nl-compound-slab,
.nl-compound-dots {
  transition: transform 480ms cubic-bezier(0.22, 1, 0.36, 1);
}

.nl-compound-slab--base {
  transform: translate(0, 82.28px);
}

.nl-compound-slab--mid,
.nl-compound-dots--lower {
  transform: translate(0, 41.14px);
}

.nl-compound-slab--top,
.nl-compound-dots--upper {
  transform: translate(0, 0);
}

.nl-compound-layers:hover .nl-compound-slab--top,
.nl-compound-layers:hover .nl-compound-dots--upper {
  transform: translate(0, -16px);
}

.nl-compound-layers:hover .nl-compound-slab--mid,
.nl-compound-layers:hover .nl-compound-dots--lower {
  transform: translate(0, 32.14px);
}

.nl-compound-card__illust > svg,
.nl-compound-card__illust .vd8-agents {
  width: 100%;
  max-width: 280px;
  height: auto;
  max-height: 240px;
  color: #8d8d87;
  transition: color 480ms cubic-bezier(0.22, 1, 0.36, 1);
}

.nl-compound-card__illust :is(path, circle, line) {
  stroke: currentColor !important;
}

.nl-compound-layers:hover,
.nl-compound-agents:hover,
.nl-compound-card__illust .vd8-momentum:hover {
  color: var(--white);
}

.nl-compound-dex {
  fill: none;
  transition: fill 480ms cubic-bezier(0.22, 1, 0.36, 1);
}

.nl-compound-layers:hover .nl-compound-dex {
  fill: var(--white);
}

.nl-compound-card__illust path[fill]:not([fill="none"]):not(.nl-compound-wash) {
  fill: var(--panel-bg) !important;
}

.nl-compound-card__illust path.nl-compound-wash {
  fill-opacity: 0;
  stroke: none !important;
  pointer-events: none;
  transition: fill-opacity 480ms cubic-bezier(0.22, 1, 0.36, 1);
}

.nl-compound-layers:hover path.nl-compound-wash,
.nl-compound-agents:hover path.nl-compound-wash,
.nl-compound-card__illust .vd8-momentum:hover path.nl-compound-wash {
  fill-opacity: 0.72;
}

.nl-compound-card__illust g {
  filter: none !important;
}

.nl-compound-card__copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nl-compound-card__title {
  margin: 0;
  font-size: var(--body-size);
  font-weight: 500;
  line-height: 1.35;
  color: var(--black);
}

.nl-compound-card__body {
  margin: 0;
  min-height: calc(var(--body-size) * 1.5 * 4);
  font-size: var(--body-size);
  line-height: 1.5;
  color: var(--text-muted);
}

.nl-compound-card .vd8-agents {
  position: relative;
  display: flex;
  perspective: 1000px;
}

.nl-compound-card .vd8-grid-loader {
  position: absolute;
  width: 5.26%;
  height: auto;
  opacity: 0.7;
  transform: rotateX(60deg) rotateY(3deg) scale(0.85) rotate(43deg);
  pointer-events: none;
}

.nl-compound-card .vd8-grid-loader--updown {
  bottom: 42%;
  left: 47.4%;
}

.nl-compound-card .vd8-grid-loader--pong {
  top: 19.9%;
  bottom: auto;
  left: 26.6%;
  transform: rotateX(60deg) rotateY(3deg) scale(0.87) rotate(43deg);
}

.nl-compound-card .vd8-grid-loader--agent {
  top: 1.4%;
  bottom: auto;
  left: 47.4%;
  transform: rotateX(60deg) rotateY(3deg) scale(0.9) rotate(43deg);
}

.nl-ops > .nl-section__title {
  max-width: none;
  margin-bottom: 36px;
  white-space: nowrap;
}

.nl-ops-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  min-width: 0;
}

.nl-ops-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--white);
}

.nl-ops-card__media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 11;
  padding: 22px;
  overflow: hidden;
}

.nl-ops-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image: var(--vd5-grain-fine), var(--vd5-grain-coarse);
  background-size: 72px 72px, 128px 128px;
  mix-blend-mode: overlay;
  opacity: 0.55;
  pointer-events: none;
}

.nl-ops-blur {
  position: absolute;
  inset: -42%;
  z-index: 0;
  pointer-events: none;
  filter: blur(58px) saturate(1.04) contrast(1.04);
}

.nl-ops-blur__blob {
  position: absolute;
  display: block;
  border-radius: 50%;
}

.nl-ops-card__media--customer {
  background: #2a3824;
}

.nl-ops-card__media--customer .nl-ops-blur__blob[data-b="1"] {
  width: 68%;
  height: 72%;
  top: -18%;
  left: -22%;
  background: #5e9a8c;
  border-radius: 62% 38% 48% 52%;
}

.nl-ops-card__media--customer .nl-ops-blur__blob[data-b="2"] {
  width: 58%;
  height: 52%;
  top: -22%;
  left: 22%;
  background: #f6f1e4;
  border-radius: 48% 52% 40% 60%;
}

.nl-ops-card__media--customer .nl-ops-blur__blob[data-b="3"] {
  width: 62%;
  height: 58%;
  top: -16%;
  right: -20%;
  background: #efc97a;
  border-radius: 40% 60% 55% 45%;
}

.nl-ops-card__media--customer .nl-ops-blur__blob[data-b="4"] {
  width: 78%;
  height: 70%;
  bottom: -18%;
  left: 8%;
  background: #6f8c4a;
  border-radius: 55% 45% 48% 52%;
}

.nl-ops-card__media--customer .nl-ops-blur__blob[data-b="5"] {
  width: 48%;
  height: 56%;
  bottom: -22%;
  left: -16%;
  background: #1a2818;
  border-radius: 58% 42% 60% 40%;
}

.nl-ops-card__media--customer .nl-ops-blur__blob[data-b="6"] {
  width: 46%;
  height: 52%;
  bottom: -20%;
  right: -14%;
  background: #1e2c1c;
  border-radius: 42% 58% 50% 50%;
}

.nl-ops-card__media--customer .nl-ops-blur__blob[data-b="7"] {
  width: 42%;
  height: 38%;
  top: 28%;
  left: 28%;
  background: #7a8c48;
  border-radius: 60% 40% 55% 45%;
}

.nl-ops-card__media--revenue {
  background: #6a7a48;
}

.nl-ops-card__media--revenue .nl-ops-blur__blob[data-b="1"] {
  width: 42%;
  height: 58%;
  top: 12%;
  left: 30%;
  background: #7a9428;
  border-radius: 48% 52% 46% 54%;
}

.nl-ops-card__media--revenue .nl-ops-blur__blob[data-b="2"] {
  width: 40%;
  height: 44%;
  top: -14%;
  left: -4%;
  background: #6c902a;
  border-radius: 55% 45% 50% 50%;
}

.nl-ops-card__media--revenue .nl-ops-blur__blob[data-b="3"] {
  width: 54%;
  height: 50%;
  bottom: -8%;
  left: -14%;
  background: #5c9294;
  border-radius: 42% 58% 48% 52%;
}

.nl-ops-card__media--revenue .nl-ops-blur__blob[data-b="4"] {
  width: 52%;
  height: 48%;
  top: -10%;
  right: -12%;
  background: #7aa2a8;
  border-radius: 50% 50% 42% 58%;
}

.nl-ops-card__media--revenue .nl-ops-blur__blob[data-b="5"] {
  width: 62%;
  height: 54%;
  top: -8%;
  left: 22%;
  background: #d6d4b8;
  border-radius: 58% 42% 55% 45%;
}

.nl-ops-card__media--revenue .nl-ops-blur__blob[data-b="6"] {
  width: 78%;
  height: 50%;
  bottom: -24%;
  left: 16%;
  background: #20470f;
  border-radius: 48% 52% 40% 60%;
}

.nl-ops-card__media--revenue .nl-ops-blur__blob[data-b="7"] {
  width: 38%;
  height: 36%;
  top: 38%;
  left: 16%;
  background: #84a32a;
  border-radius: 60% 40% 48% 52%;
}

.nl-ops-card__media--recruiting {
  background: #3d5a52;
}

.nl-ops-card__media--recruiting .nl-ops-blur__blob[data-b="1"] {
  width: 42%;
  height: 58%;
  top: 12%;
  left: 30%;
  background: #4a7a58;
  border-radius: 48% 52% 46% 54%;
}

.nl-ops-card__media--recruiting .nl-ops-blur__blob[data-b="2"] {
  width: 40%;
  height: 44%;
  top: -14%;
  left: -4%;
  background: #3d6e62;
  border-radius: 55% 45% 50% 50%;
}

.nl-ops-card__media--recruiting .nl-ops-blur__blob[data-b="3"] {
  width: 54%;
  height: 50%;
  bottom: -8%;
  left: -14%;
  background: #5c9294;
  border-radius: 42% 58% 48% 52%;
}

.nl-ops-card__media--recruiting .nl-ops-blur__blob[data-b="4"] {
  width: 52%;
  height: 48%;
  top: -10%;
  right: -12%;
  background: #7aa2a8;
  border-radius: 50% 50% 42% 58%;
}

.nl-ops-card__media--recruiting .nl-ops-blur__blob[data-b="5"] {
  width: 62%;
  height: 54%;
  top: -8%;
  left: 22%;
  background: #d0d6d4;
  border-radius: 58% 42% 55% 45%;
}

.nl-ops-card__media--recruiting .nl-ops-blur__blob[data-b="6"] {
  width: 78%;
  height: 50%;
  bottom: -24%;
  left: 16%;
  background: #16382a;
  border-radius: 48% 52% 40% 60%;
}

.nl-ops-card__media--recruiting .nl-ops-blur__blob[data-b="7"] {
  width: 38%;
  height: 36%;
  top: 38%;
  left: 16%;
  background: #4e8a78;
  border-radius: 60% 40% 48% 52%;
}

.nl-ops-mock {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 260px;
}

.nl-ops-mock--chat,
.nl-ops-mock--status {
  padding: 16px 16px 14px;
  border-radius: 12px;
  background: rgba(252, 252, 252, 0.92);
  box-shadow: 0 10px 28px rgba(24, 24, 24, 0.08);
}

.nl-ops-mock__chrome {
  display: flex;
  gap: 5px;
  margin-bottom: 12px;
}

.nl-ops-mock__chrome span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(24, 24, 24, 0.42);
}

.nl-ops-mock__chrome span:nth-child(2) {
  background: rgba(24, 24, 24, 0.22);
}

.nl-ops-mock__chrome span:nth-child(3) {
  background: rgba(24, 24, 24, 0.1);
}

.nl-ops-mock__line {
  margin: 0 0 6px;
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--black);
}

.nl-ops-mock__line:last-child {
  margin-bottom: 0;
}

.nl-ops-mock__line--muted,
.nl-ops-mock__sub {
  color: var(--text-muted);
}

.nl-ops-mock__prompt {
  margin-right: 0.35em;
  color: var(--green);
}

.nl-ops-mock--status {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 22px 18px;
}

.nl-ops-mock__avatar {
  width: 36px;
  height: 36px;
  margin-bottom: 10px;
  border-radius: 8px;
  background: linear-gradient(160deg, #c2b45c, #3f5a24);
}

.nl-ops-mock__name {
  margin: 0 0 4px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--black);
}

.nl-ops-mock__sub {
  margin: 0;
  font-size: 0.78rem;
}

.nl-ops-mock--grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.nl-ops-mock__tile {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 10px;
  background: rgba(24, 24, 24, 0.28);
  color: var(--white);
}

.nl-ops-mock__tile svg {
  width: 46%;
  height: 46%;
}

.nl-ops-card__copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 22px 24px;
}

.nl-ops-card__title {
  margin: 0;
  font-size: var(--body-size);
  font-weight: 500;
  line-height: 1.35;
  color: var(--black);
}

.nl-ops-card__body {
  margin: 0;
  font-size: var(--body-size);
  line-height: 1.5;
  color: var(--text-muted);
}

.nl-nitrode-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  grid-template-rows: auto 1fr;
  column-gap: 20px;
  row-gap: 20px;
  align-items: stretch;
}

.nl-nitrode__copy {
  display: flex;
  flex-direction: column;
  grid-column: 1;
  grid-row: 2;
  min-width: 0;
  padding-right: 28px;
}

.nl-nitrode__copy .nl-section__title {
  max-width: 22ch;
}

.nl-nitrode__eyebrow {
  display: flex;
  align-items: center;
  grid-column: 1;
  grid-row: 1;
  gap: 8px;
  height: auto;
  min-height: var(--sidebar-icon-size);
  margin: 0;
  padding: 0;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nl-nitrode__eyebrow-logo {
  display: block;
  width: 10px;
  height: 11px;
  flex-shrink: 0;
  background: currentColor;
  -webkit-mask-image: url("../assets/nitrodevector.svg");
  mask-image: url("../assets/nitrodevector.svg");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.nl-nitrode__copy .nl-prose {
  max-width: 36ch;
  margin-bottom: 28px;
}

.nl-nitrode-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}

.nl-nitrode-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--body-size);
  font-weight: 500;
  line-height: 1.4;
  color: var(--black);
}

.nl-nitrode-list svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 0.15em;
  color: var(--black);
}

.nl-nitrode__actions {
  margin-top: 0;
}

.nl-nitrode__visual {
  position: relative;
  display: block;
  grid-column: 2;
  grid-row: 2;
  margin: 0;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.nl-nitrode__frame {
  --nd-mono: var(--mono);
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--black);
  border-radius: 20px;
  background: #101210;
  color: var(--white);
}

.nl-nitrode__frame::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  height: 72px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(16, 18, 16, 0) 0%, #101210 100%);
}

.nl-nd-chart__stars {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.nl-nd-chart__glow {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 1;
  height: 42%;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 80% at 50% -8%, rgba(111, 175, 134, 0.58), transparent 72%),
    linear-gradient(180deg, rgba(111, 175, 134, 0.26) 0%, transparent 70%);
}

.nl-nd-chart {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
  padding: 48px 24px 0;
}

.nl-nd-chart__hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  margin: 8px 0 36px;
}

.nl-nd-chart__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.nl-nd-chart__brand img {
  display: block;
  height: clamp(36px, 4.4vw, 52px);
  width: auto;
  filter: invert(1);
}

.nl-nd-chart__brand span {
  font-size: clamp(2.35rem, 4.2vw, 3.35rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}

.nl-nd-chart__tag {
  margin: 12px 0 0;
  text-align: center;
  font-size: clamp(0.92rem, 1.4vw, 1.08rem);
  line-height: 1.35;
  color: rgba(252, 252, 252, 0.82);
}

.nl-nd-chart__screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  padding: 14px 16px 0;
  border: 1px solid rgba(252, 252, 252, 0.16);
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
  background: rgba(14, 16, 14, 0.88);
  box-shadow:
    0 16px 40px rgba(24, 24, 24, 0.28),
    inset 0 1px 0 rgba(252, 252, 252, 0.06);
}

.nl-nd-chart__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-shrink: 0;
  margin-bottom: 12px;
}

.nl-nd-chart__toggles {
  display: flex;
}

.nl-nd-chart__toggle {
  min-height: 26px;
  padding: 0 11px;
  border: 1px solid rgba(252, 252, 252, 0.18);
  margin-left: -1px;
  background: transparent;
  color: rgba(252, 252, 252, 0.55);
  font-family: var(--nd-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
}

.nl-nd-chart__toggle:first-child {
  margin-left: 0;
  border-radius: 6px 0 0 6px;
}

.nl-nd-chart__toggle:last-child {
  border-radius: 0 6px 6px 0;
}

.nl-nd-chart__toggle.is-active {
  background: rgba(252, 252, 252, 0.92);
  border-color: rgba(252, 252, 252, 0.92);
  color: var(--black);
}

.nl-nd-chart__cols,
.nl-nd-chart__row {
  display: grid;
  grid-template-columns:
    minmax(118px, 1.15fr)
    minmax(72px, 1.35fr)
    52px
    48px
    40px
    34px;
  gap: 8px;
  align-items: center;
}

.nl-nd-chart__cols {
  flex-shrink: 0;
  margin-bottom: 6px;
  font-family: var(--nd-mono);
  font-size: 0.58rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(252, 252, 252, 0.38);
}

.nl-nd-chart__cols span:nth-child(n + 3) {
  text-align: right;
}

.nl-nd-chart__list {
  flex: 1;
  min-height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  list-style: none;
}

.nl-nd-chart__row {
  min-height: 34px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(252, 252, 252, 0.08);
}

.nl-nd-chart__row:last-child {
  border-bottom: none;
}

.nl-nd-chart__model {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.nl-nd-chart__logo {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  object-fit: contain;
}

.nl-nd-chart__logo--invert {
  filter: invert(1);
}

.nl-nd-chart__name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--nd-mono);
  font-size: 0.72rem;
  letter-spacing: 0;
  color: var(--white);
}

.nl-nd-chart__metric {
  font-family: var(--nd-mono);
  font-size: 0.62rem;
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
  color: var(--white);
}

.nl-nd-chart__metric--score {
  display: flex;
  justify-content: flex-end;
  align-items: baseline;
  gap: 3px;
}

.nl-nd-chart__err {
  font-size: 0.52rem;
  color: rgba(252, 252, 252, 0.42);
}

.nl-nd-chart__bar-wrap {
  position: relative;
  height: 8px;
  background: rgba(252, 252, 252, 0.06);
}

.nl-nd-chart__bar {
  display: block;
  height: 100%;
  width: var(--w);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--i) * 75ms);
}

.nl-nd-chart.is-in .nl-nd-chart__bar {
  transform: scaleX(1);
}

.nl-nd-chart__whisker {
  position: absolute;
  top: 50%;
  height: 1px;
  background: rgba(252, 252, 252, 0.7);
  transform: translateY(-50%) scaleX(0);
  transform-origin: left center;
  pointer-events: none;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--i) * 75ms);
}

.nl-nd-chart.is-in .nl-nd-chart__whisker {
  transform: translateY(-50%) scaleX(1);
}

/* ── Use cases — demo left + switcher right (mirrors §03 platform, reversed) ── */

.nl-use-cases-split {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: clamp(32px, 4.5vw, 64px);
  align-items: start;
}

.nl-use-cases-stage {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

#nexus .nl-use-cases-split {
  align-items: stretch;
}

.nl-nexus-layout {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 3.5vw, 40px);
}

.nl-nexus-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
}

.nl-nexus-layout__title,
.nl-nexus-layout > .nl-section__title {
  max-width: none;
  margin: 0;
}

.nl-nexus-intro__body {
  margin: 0;
  font-size: var(--body-size);
  line-height: var(--body-line);
  letter-spacing: var(--body-tracking);
  color: var(--body-color);
}

.nl-nexus-layout__title-lead {
  color: rgba(24, 24, 24, 0.42);
}

.nl-nexus-layout > .nl-use-cases-demo {
  width: 100%;
  min-height: clamp(420px, 52vw, 680px);
  aspect-ratio: 21 / 9;
}

.nl-nexus-layout > .nl-nexus-cards {
  width: 100%;
}

.nl-nexus-layout > .nl-nexus-footer {
  --nl-nexus-stack-gap: 24px;
  display: flex;
  flex-direction: column;
  gap: var(--nl-nexus-stack-gap);
  min-width: 0;
  margin-top: calc(var(--nl-nexus-stack-gap) - clamp(28px, 3.5vw, 40px));
}

.nl-nexus-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.nl-nexus-actions .nl-btn--dark,
.nl-nitrode__actions .nl-btn--dark {
  height: auto;
  min-height: calc(1em + (var(--nl-pill-pad-y) * 2));
  padding: var(--nl-pill-pad-y) var(--nl-pill-pad-x);
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1;
  gap: 0.5em;
  transition: background-color 180ms ease;
}

.nl-nexus-actions .nl-btn--dark:hover,
.nl-nexus-actions .nl-btn--dark:focus-visible,
.nl-nitrode__actions .nl-btn--dark:hover,
.nl-nitrode__actions .nl-btn--dark:focus-visible {
  background: var(--green);
  opacity: 1;
  outline: none;
}

.nl-nexus-actions__arrow {
  width: 0.95em;
  height: 0.53em;
  display: block;
  flex-shrink: 0;
}

.nl-nexus-actions__link {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.35;
  text-decoration: none;
  color: var(--black);
  transition: opacity 180ms ease;
}

.nl-nexus-actions__link:hover {
  opacity: 0.55;
}

.nl-use-cases-bars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.nl-use-cases-bar {
  padding: 6px 0;
  border: none;
  background: none;
  cursor: pointer;
}

.nl-use-cases-bar__track {
  display: block;
  height: 3px;
  border-radius: 999px;
  background: var(--border);
  overflow: hidden;
}

.nl-use-cases-bar__fill {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: var(--green);
}

.nl-use-cases-bar.is-complete .nl-use-cases-bar__fill {
  width: 100%;
  animation: none;
}

.nl-use-cases-bar.is-active .nl-use-cases-bar__fill {
  animation: nl-uc-bar-fill var(--uc-interval, 4s) linear forwards;
}

.nl-use-cases-split.is-paused .nl-use-cases-bar.is-active .nl-use-cases-bar__fill,
.nl-nexus-layout.is-paused .nl-use-cases-bar.is-active .nl-use-cases-bar__fill {
  animation-play-state: paused;
}

@keyframes nl-uc-bar-fill {
  from {
    width: 0%;
  }

  to {
    width: 100%;
  }
}

.nl-use-cases-demo {
  position: relative;
  width: 100%;
  min-height: clamp(380px, 38vw, 460px);
  aspect-ratio: 17 / 10;
  border-radius: 20px;
  overflow: hidden;
  contain: paint;
  background-color: #1c2e1a;
  background-image: url("../assets/slicedbg.png");
  background-position: center;
  background-size: 103% 103%;
  background-repeat: no-repeat;
  box-shadow: 0 18px 48px rgba(24, 24, 24, 0.08);
}

.nl-use-cases-demo.nl-nexus-tour {
  background: #050505;
  background-image: none;
  contain: strict;
}

.nl-nexus-tour .nexusdemo-canvas-wrap {
  --white: #fcfcfc;
  --scan: #c6ed3a;
  --cat-person: #f0c9a0;
  --cat-skill: #c6ed3a;
  --cat-workflow: #5fa83a;
  --cat-decision: #e88850;
  --cat-conversation: #c45a28;
  --cat-app: #8fb83a;
  --cat-hub: #e8ff6a;
  --canvas-bg: #050505;
  position: absolute;
  inset: 0;
  cursor: default;
  pointer-events: none;
  background: #050505;
}

.nl-nexus-tour .nexusdemo-canvas-wrap canvas,
.nl-nexus-tour .nexusdemo-canvas-wrap.is-inspect canvas,
.nl-nexus-tour .nexusdemo-canvas-wrap.is-dragging canvas {
  filter: none;
}

.nl-use-cases-panel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.nl-use-cases-panel.is-active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nl-uc-mock {
  position: absolute;
  inset: 0;
  display: flex;
  padding: clamp(32px, 4.5vw, 48px) clamp(20px, 3vw, 32px);
  align-items: stretch;
}

.nl-uc-mock__chrome {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(24, 24, 24, 0.18);
  opacity: 0;
  transform: translateY(14px) scale(0.985);
  transition:
    opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.nl-use-cases-panel.is-active .nl-uc-mock__chrome {
  opacity: 1;
  transform: none;
}

@keyframes nl-uc-reveal {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.nl-use-cases-panel.is-active .nl-uc-mock__feed-row,
.nl-use-cases-panel.is-active .nl-uc-mock__signal,
.nl-use-cases-panel.is-active .nl-uc-mock__step,
.nl-use-cases-panel.is-active .nl-uc-mock__perm,
.nl-use-cases-panel.is-active .nl-uc-mock__graph-query,
.nl-use-cases-panel.is-active .nl-uc-mock__graph-nodes,
.nl-use-cases-panel.is-active .nl-uc-mock__graph-meta {
  animation: nl-uc-reveal 0.42s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.nl-use-cases-panel.is-active .nl-uc-mock__feed-row:nth-child(1),
.nl-use-cases-panel.is-active .nl-uc-mock__signal:nth-child(1),
.nl-use-cases-panel.is-active .nl-uc-mock__step:nth-child(1),
.nl-use-cases-panel.is-active .nl-uc-mock__perm:nth-child(1) {
  animation-delay: 0.06s;
}

.nl-use-cases-panel.is-active .nl-uc-mock__feed-row:nth-child(2),
.nl-use-cases-panel.is-active .nl-uc-mock__signal:nth-child(2),
.nl-use-cases-panel.is-active .nl-uc-mock__step:nth-child(2),
.nl-use-cases-panel.is-active .nl-uc-mock__perm:nth-child(2) {
  animation-delay: 0.1s;
}

.nl-use-cases-panel.is-active .nl-uc-mock__feed-row:nth-child(3),
.nl-use-cases-panel.is-active .nl-uc-mock__signal:nth-child(3),
.nl-use-cases-panel.is-active .nl-uc-mock__step:nth-child(3),
.nl-use-cases-panel.is-active .nl-uc-mock__perm:nth-child(3) {
  animation-delay: 0.14s;
}

.nl-use-cases-panel.is-active .nl-uc-mock__feed-row:nth-child(4),
.nl-use-cases-panel.is-active .nl-uc-mock__signal:nth-child(4),
.nl-use-cases-panel.is-active .nl-uc-mock__step:nth-child(4),
.nl-use-cases-panel.is-active .nl-uc-mock__perm:nth-child(4) {
  animation-delay: 0.18s;
}

.nl-use-cases-panel.is-active .nl-uc-mock__graph-query {
  animation-delay: 0.06s;
}

.nl-use-cases-panel.is-active .nl-uc-mock__graph-nodes {
  animation-delay: 0.12s;
}

.nl-use-cases-panel.is-active .nl-uc-mock__graph-meta {
  animation-delay: 0.18s;
}

.nl-uc-mock__toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(252, 252, 252, 0.96);
}

.nl-uc-mock__dots {
  display: inline-flex;
  gap: 5px;
}

.nl-uc-mock__dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(24, 24, 24, 0.12);
}

.nl-uc-mock__tab {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-muted);
}

.nl-uc-mock__tab.is-active {
  color: var(--black);
}

.nl-uc-mock__body {
  flex: 1;
  min-height: 0;
  padding: 20px;
  overflow: auto;
}

.nl-uc-mock__feed,
.nl-uc-mock__signals {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nl-uc-mock__feed-row,
.nl-uc-mock__signal {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--green-pale);
}

.nl-uc-mock__feed-row.is-new {
  background: rgba(63, 90, 36, 0.1);
}

.nl-uc-mock__feed-row.is-muted,
.nl-uc-mock__signal:nth-child(4) {
  opacity: 0.72;
}

.nl-uc-mock__tag,
.nl-uc-mock__signal-src {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green);
}

.nl-uc-mock__feed-text,
.nl-uc-mock__signal-text {
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--black);
}

.nl-uc-mock__workflow {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.nl-uc-mock__step {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}

.nl-uc-mock__step:last-child {
  border-bottom: none;
}

.nl-uc-mock__step.is-done {
  color: var(--black);
}

.nl-uc-mock__step.is-active {
  color: var(--black);
  background: rgba(63, 90, 36, 0.06);
  margin: 0 -20px;
  padding-left: 20px;
  padding-right: 20px;
}

.nl-uc-mock__step-dot {
  width: 8px;
  height: 8px;
  margin-top: 5px;
  border-radius: 50%;
  background: rgba(24, 24, 24, 0.16);
}

.nl-uc-mock__step.is-done .nl-uc-mock__step-dot {
  background: var(--green);
}

.nl-uc-mock__step.is-active .nl-uc-mock__step-dot {
  background: var(--green-mid);
  box-shadow: 0 0 0 3px rgba(91, 125, 49, 0.2);
}

.nl-uc-mock__step-label {
  font-size: 0.88rem;
  line-height: 1.45;
}

.nl-uc-mock__graph {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.nl-uc-mock__graph-query {
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--green-pale);
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--black);
}

.nl-uc-mock__graph-nodes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.nl-uc-mock__node {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--black);
  background: var(--white);
}

.nl-uc-mock__node.is-primary {
  border-color: rgba(63, 90, 36, 0.35);
  background: rgba(63, 90, 36, 0.08);
  color: var(--green);
}

.nl-uc-mock__edge {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.nl-uc-mock__graph-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.nl-uc-mock__perms {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nl-uc-mock__perm {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--green-pale);
}

.nl-uc-mock__perm.is-active {
  background: rgba(63, 90, 36, 0.1);
}

.nl-uc-mock__perm-scope {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green);
}

.nl-uc-mock__perm-text {
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--black);
}

.nl-use-cases-nav {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.nl-use-case-tab {
  width: 100%;
  text-align: left;
  padding: 24px;
  border: none;
  border-bottom: 1px solid var(--border);
  background: var(--white);
  color: inherit;
  cursor: pointer;
  transition:
    background-color 0.35s ease,
    padding 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.nl-use-case-tab:last-child {
  border-bottom: none;
}

.nl-use-case-tab.is-active {
  background: var(--panel-bg);
}

.nl-use-case-tab__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}

.nl-use-case-tab__title {
  font-size: var(--body-size);
  font-weight: 500;
  line-height: 1.35;
}

.nl-use-case-tab__icon {
  flex-shrink: 0;
  width: 18px;
  font-size: 16px;
  line-height: 1;
  color: var(--text-muted);
  text-align: center;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), color 0.35s ease;
}

.nl-use-case-tab.is-active .nl-use-case-tab__icon {
  color: var(--green);
  transform: rotate(0deg);
}

.nl-use-case-tab:not(.is-active) .nl-use-case-tab__icon {
  transform: rotate(-90deg);
}

.nl-use-case-tab__body {
  display: grid;
  grid-template-rows: 0fr;
  margin-top: 0;
  text-align: left;
  opacity: 0;
  overflow: hidden;
  transition:
    grid-template-rows 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.35s ease,
    margin-top 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.nl-use-case-tab.is-active .nl-use-case-tab__body {
  grid-template-rows: 1fr;
  margin-top: 12px;
  opacity: 1;
}

.nl-use-case-tab__body-inner {
  min-height: 0;
  overflow: hidden;
}

.nl-use-case-tab:not(.is-active) .nl-use-case-tab__body {
  pointer-events: none;
}

.nl-use-case-tab__lead {
  margin: 0 0 14px;
}

.nl-use-case-tab__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nl-use-case-tab__list li::before {
  content: "→ ";
  color: var(--green);
}

.nl-nexus-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--border);
}

.nl-nexus-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 12px;
  width: 100%;
  min-height: 0;
  padding: 22px 20px 24px;
  border: none;
  background: var(--white);
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.35s ease;
}

.nl-nexus-card:last-child {
  border-bottom: none;
}

.nl-nexus-card.is-active {
  background: var(--panel-bg);
}

.nl-nexus-card__head {
  display: flex;
  align-items: flex-start;
  width: 100%;
  flex-shrink: 0;
}

.nl-nexus-card__title {
  font-size: var(--body-size);
  font-weight: 500;
  line-height: 1.35;
}

.nl-nexus-card__body {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.nl-nexus-card:not(.is-active) .nl-nexus-card__body {
  pointer-events: none;
}

.nl-nexus-card__body-inner {
  min-height: 0;
  opacity: 1;
}

.nl-nexus-card__desc {
  margin: 0;
  font-size: var(--body-size);
  line-height: var(--body-line);
  letter-spacing: var(--body-tracking);
  color: var(--body-color);
}

/* ── Three Layers split ── */

.nl-layers-split {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: clamp(32px, 4.5vw, 64px);
  align-items: start;
}

.nl-layers-split__copy {
  min-width: 0;
}

.nl-layers-split__copy .nl-section__title,
.nl-layers-split__copy .nl-prose {
  max-width: none;
}

.nl-layers-split .nl-steps {
  margin: 0;
}

.nl-layers-split .nl-step__content p {
  max-width: none;
}

/* ── Compounding steps ── */

.nl-steps {
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border);
}

.nl-step {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}

.nl-step__num {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--green);
}

.nl-step__title {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 500;
}

.nl-step__content p {
  margin: 0;
  max-width: 48ch;
}

/* ── Moat ── */

.nl-moat-tagline {
  margin: 36px 0 0;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--green);
}

/* ── CTA + footer close ── */

.nl-close {
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  margin-top: calc(-1 * var(--body-footer-radius));
}

.nl-close .nl-cta {
  margin-top: 0;
}

/* ── CTA (full-width hero-style) ── */

.nl-cta {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  margin-top: calc(-1 * var(--body-footer-radius));
  scroll-margin-top: var(--sticky-top);
  overflow-x: clip;
  user-select: none;
  -webkit-user-select: none;
}

.nl-cta__canvas {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 100%;
  min-height: min(58vh, 640px);
  background: var(--cta-base);
  overflow: hidden;
}

.nl-cta__parallax {
  position: absolute;
  inset: 0;
  z-index: 2;
  will-change: transform;
}

.nl-cta__hero {
  position: absolute;
  top: clamp(40px, 6vw, 72px);
  left: 0;
  right: 0;
  z-index: 3;
  padding: 0 var(--site-pad-x);
  padding-right: max(var(--site-pad-x), 220px);
  pointer-events: none;
}

.nl-cta__hero .nl-cta__actions a {
  pointer-events: auto;
}

.nl-cta__title {
  margin: 0 0 32px;
  max-width: 100%;
  font-size: clamp(2.4rem, 5.2vw, 4.25rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-wrap: balance;
  color: var(--white);
}

.nl-cta__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.nl-cta__link {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.35;
  text-decoration: none;
  color: var(--white);
  transition: opacity 180ms ease;
}

.nl-cta__link:hover {
  opacity: 0.55;
}

.nl-cta__btn {
  height: auto;
  min-height: calc(1em + (var(--nl-pill-pad-y) * 2));
  padding: var(--nl-pill-pad-y) var(--nl-pill-pad-x);
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1;
  gap: 0.5em;
  background: var(--white);
  color: var(--black);
  transition: background-color 180ms ease, color 180ms ease;
}

.nl-cta__btn:hover,
.nl-cta__btn:focus-visible {
  background: var(--green);
  color: var(--white);
  opacity: 1;
  outline: none;
}

.nl-cta__gradient {
  position: absolute;
  inset: -80px 0 0;
  z-index: 0;
  background: var(--cta-base);
  overflow: hidden;
  pointer-events: none;
}

.nl-cta__gradient::before {
  content: "";
  position: absolute;
  inset: -30%;
  z-index: 0;
  background:
    radial-gradient(ellipse 64% 56% at 6% 46%, rgba(63, 90, 36, 0.98) 0%, transparent 68%),
    radial-gradient(ellipse 56% 50% at 16% 22%, rgba(91, 125, 49, 0.92) 0%, transparent 64%),
    radial-gradient(ellipse 58% 54% at 8% 84%, rgba(63, 90, 36, 0.95) 0%, transparent 66%),
    radial-gradient(ellipse 48% 52% at 2% 96%, rgba(42, 56, 24, 0.92) 0%, transparent 68%),
    radial-gradient(ellipse 58% 50% at 38% 48%, rgba(214, 85, 36, 0.98) 0%, transparent 66%),
    radial-gradient(ellipse 48% 42% at 90% 38%, rgba(45, 108, 94, 0.82) 0%, transparent 58%),
    radial-gradient(ellipse 46% 40% at 94% 88%, rgba(200, 155, 126, 0.9) 0%, transparent 60%),
    radial-gradient(ellipse 38% 34% at 96% 6%, rgba(252, 252, 252, 0.28) 0%, transparent 52%),
    linear-gradient(118deg, var(--green) 0%, #324820 20%, #2d6c5e 38%, #d65524 60%, #c89b7e 100%);
  filter: blur(64px);
  transform: scale(1.12);
  pointer-events: none;
}

.nl-cta__gradient::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 108% 98% at 50% 48%, transparent 50%, rgba(24, 24, 24, 0.2) 100%),
    linear-gradient(90deg, rgba(24, 24, 24, 0.16) 0%, transparent 14%),
    linear-gradient(270deg, rgba(24, 24, 24, 0.12) 0%, transparent 12%),
    linear-gradient(180deg, rgba(252, 252, 252, 0.04) 0%, transparent 28%),
    linear-gradient(180deg, transparent 68%, rgba(24, 24, 24, 0.24) 100%);
  pointer-events: none;
}

.nl-cta__iso {
  position: absolute;
  top: -120px;
  right: 0;
  bottom: -100px;
  left: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: calc(100% + 220px);
  shape-rendering: geometricPrecision;
  --iso-left-mask: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0) 14%,
    rgba(0, 0, 0, 0.06) 24%,
    rgba(0, 0, 0, 0.22) 38%,
    rgba(0, 0, 0, 0.48) 52%,
    rgba(0, 0, 0, 0.72) 64%,
    #000 76%
  );
}

.nl-cta__iso .grid-lines,
.nl-cta__iso .tile-field {
  -webkit-mask-image: var(--iso-left-mask);
  mask-image: var(--iso-left-mask);
}

.nl-cta__iso .grid-lines line {
  stroke: rgba(252, 252, 252, 0.1);
  stroke-width: 1;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  pointer-events: none;
}

.nl-cta__iso .tile {
  cursor: default;
}

.nl-cta__iso .hit {
  fill: transparent;
  stroke: none;
  pointer-events: all;
}

.nl-cta__iso .top {
  fill: transparent;
  stroke: transparent;
  stroke-width: 1;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  pointer-events: none;
  transition: fill 0.22s ease, stroke 0.2s ease;
}

.nl-cta__iso .side {
  opacity: 0;
  stroke: none;
  stroke-width: 0;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  pointer-events: none;
}

.nl-cta__iso .left {
  fill: var(--tile-left, #3f5a24);
}

.nl-cta__iso .right {
  fill: var(--tile-right, #324818);
}

/* Green shades — tones 0, 2, 4, 6 */
.nl-cta__iso .tone-0 {
  --tile-top: #5b7d31;
  --tile-left: #3f5a24;
  --tile-right: #324818;
  --tile-stroke: #486828;
}

.nl-cta__iso .tone-2 {
  --tile-top: #6a9038;
  --tile-left: #486828;
  --tile-right: #3a5820;
  --tile-stroke: #588030;
}

.nl-cta__iso .tone-4 {
  --tile-top: #7a9848;
  --tile-left: #5b7d31;
  --tile-right: #486828;
  --tile-stroke: #688838;
}

.nl-cta__iso .tone-6 {
  --tile-top: #4a6828;
  --tile-left: #3f5a24;
  --tile-right: #2e4018;
  --tile-stroke: #426020;
}

/* Orange shades — tones 1, 3, 5, 7 */
.nl-cta__iso .tone-1 {
  --tile-top: #d86830;
  --tile-left: #a84818;
  --tile-right: #883810;
  --tile-stroke: #c05828;
}

.nl-cta__iso .tone-3 {
  --tile-top: #e87838;
  --tile-left: #b85020;
  --tile-right: #984018;
  --tile-stroke: #d06030;
}

.nl-cta__iso .tone-5 {
  --tile-top: #c85828;
  --tile-left: #983818;
  --tile-right: #782810;
  --tile-stroke: #b04820;
}

.nl-cta__iso .tone-7 {
  --tile-top: #f08848;
  --tile-left: #c86028;
  --tile-right: #a85020;
  --tile-stroke: #e07038;
}

.nl-cta__iso .tile.is-raised .top,
.nl-cta__iso .tile.is-rippled .top,
.nl-cta__iso .tile.is-descending .top {
  fill: var(--tile-top);
  stroke: none;
}

.nl-cta__iso .tile.is-rippled .top {
  transition-duration: 0.08s;
}

.nl-cta__iso .tile.ripple-return .top {
  transition-duration: 0.12s;
}

/* ── Site footer ── */

.nl-site-footer {
  position: relative;
  isolation: isolate;
  z-index: 2;
  flex-shrink: 0;
  max-width: 100%;
  margin-top: clamp(-56px, -7vw, -88px);
  padding: clamp(56px, 7vw, 88px) var(--site-pad-x) 40px;
  overflow: hidden;
  background: var(--black);
  color: var(--white);
}

.nl-site-footer::before {
  content: "";
  position: absolute;
  inset: -45% -18% 0;
  z-index: 0;
  background:
    linear-gradient(108deg, transparent 36%, rgba(252, 252, 252, 0.07) 47%, rgba(214, 85, 36, 0.14) 50%, transparent 62%),
    linear-gradient(172deg, transparent 52%, rgba(91, 125, 49, 0.14) 60%, rgba(252, 252, 252, 0.04) 62%, transparent 72%),
    linear-gradient(94deg, transparent 68%, rgba(200, 155, 126, 0.1) 74%, transparent 82%),
    radial-gradient(ellipse 72% 58% at 8% 0%, rgba(63, 90, 36, 0.48) 0%, transparent 64%),
    radial-gradient(ellipse 68% 54% at 88% 6%, rgba(45, 108, 94, 0.34) 0%, transparent 60%),
    radial-gradient(ellipse 58% 48% at 52% 18%, rgba(200, 155, 126, 0.22) 0%, transparent 58%),
    radial-gradient(ellipse 90% 70% at 50% 100%, rgba(24, 24, 24, 0.98) 0%, var(--black) 58%),
    linear-gradient(180deg, rgba(63, 90, 36, 0.38) 0%, rgba(24, 24, 24, 0.82) 42%, var(--black) 100%);
  filter: blur(52px) saturate(1.12);
  transform: scale(1.08);
  pointer-events: none;
}

.nl-site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    var(--vd5-grain-fine),
    var(--vd5-grain-coarse),
    linear-gradient(112deg, transparent 28%, rgba(252, 252, 252, 0.05) 42%, transparent 56%),
    linear-gradient(168deg, transparent 58%, rgba(214, 85, 36, 0.06) 66%, transparent 74%),
    linear-gradient(86deg, transparent 72%, rgba(252, 252, 252, 0.04) 78%, transparent 84%);
  background-size: 88px 88px, 144px 144px, 100% 100%, 100% 100%, 100% 100%;
  background-blend-mode: screen, overlay, normal, normal, normal;
  mix-blend-mode: overlay;
  opacity: 0.32;
  pointer-events: none;
}

.nl-site-footer > * {
  position: relative;
  z-index: 2;
}

.nl-site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
  min-width: 0;
}

.nl-site-footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.nl-site-footer__logo img {
  display: block;
  width: 28px;
  height: auto;
  flex-shrink: 0;
}

.nl-site-footer__col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.nl-site-footer__heading {
  margin: 0;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(252, 252, 252, 0.42);
}

.nl-site-footer__col a {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: rgba(252, 252, 252, 0.68);
  transition: color 180ms ease;
}

.nl-site-footer__col a:hover {
  color: var(--white);
}

.nl-site-footer__copy {
  margin: clamp(32px, 4vw, 48px) 0 0;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: rgba(252, 252, 252, 0.45);
}

/* ── Subpages (research, careers, blog, docs) ── */

body[data-page="research"] .nl-body,
body[data-page="careers"] .nl-body,
body[data-page="company"] .nl-body,
body[data-page="blog"] .nl-body,
body[data-page="blog-post"] .nl-body,
body[data-page="docs"] .nl-body,
body[data-page="legal"] .nl-body {
  padding-top: var(--sticky-top);
  border-radius: 0 0 var(--body-footer-radius) var(--body-footer-radius);
}

body[data-page="research"] .nl-site-footer,
body[data-page="careers"] .nl-site-footer,
body[data-page="company"] .nl-site-footer,
body[data-page="blog"] .nl-site-footer,
body[data-page="blog-post"] .nl-site-footer,
body[data-page="docs"] .nl-site-footer,
body[data-page="legal"] .nl-site-footer {
  margin-top: calc(-1 * var(--body-footer-radius));
  z-index: 1;
}

.nl-section__title--wide {
  max-width: none;
}

.nl-coming-soon {
  margin: 8px 0 0;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nl-section__header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.nl-section__header-row .nl-section__title {
  margin-bottom: 0;
}

.nl-research-graph {
  --rg-green: #c6ed3a;
  --rg-green-mid: #6a9a2e;
  --rg-orange: #e88850;
  --rg-orange-hot: #f0a878;
  display: none;
  position: relative;
  width: 100%;
  margin: 24px 0 0;
  overflow: hidden;
  border: 1px solid rgba(252, 252, 252, 0.12);
  border-radius: 12px;
  background: var(--black);
  color: var(--white);
  box-shadow: 0 18px 48px rgba(24, 24, 24, 0.12);
}

.nl-research-graph__chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 14px;
  border-bottom: 1px solid rgba(252, 252, 252, 0.1);
  background: rgba(252, 252, 252, 0.04);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(252, 252, 252, 0.72);
}

.nl-research-graph__meta {
  color: var(--rg-green);
}

.nl-research-graph__canvas {
  display: block;
  width: 100%;
  height: clamp(200px, 32vw, 280px);
  vertical-align: top;
}

.nl-research-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  background: var(--border);
  box-shadow: 0 18px 48px rgba(24, 24, 24, 0.06);
}

.nl-research-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 24px;
  background: var(--white);
}

.nl-research-card--placeholder {
  opacity: 0.72;
}

.nl-research-card__thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 10;
  margin-bottom: 20px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--panel-bg);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nl-research-card__tag {
  margin: 0 0 10px;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
}

.nl-research-card__title {
  margin: 0 0 10px;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.nl-research-card__date {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.nl-careers-layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 7fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
}

.nl-careers-intro {
  min-width: 0;
}

.nl-careers-heading {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 28px;
}

.nl-careers-heading .nl-section__title {
  margin: 0;
  max-width: none;
}

.nl-careers-intro .nl-prose {
  max-width: none;
}

.nl-careers-openings {
  min-width: 0;
}

.nl-careers-group {
  margin-bottom: 0;
}

.nl-careers-group-label {
  margin: 0;
  padding: clamp(24px, 3vw, 32px) 0 14px;
  font-family: "Aeonik", system-ui, sans-serif;
  font-size: var(--body-size);
  line-height: var(--body-line);
  font-weight: 400;
  color: var(--text-muted);
}

.nl-careers-group:first-child .nl-careers-group-label {
  padding-top: 0;
}

.nl-careers-role-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nl-careers-role-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.nl-careers-role-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 0 20px;
  text-decoration: none;
  color: inherit;
}

.nl-careers-role-name {
  grid-column: 1;
  grid-row: 1;
  display: block;
  font-size: var(--body-size);
  font-weight: 500;
  line-height: var(--body-line);
  letter-spacing: -0.02em;
  color: var(--black);
  transition: color 180ms ease;
}

.nl-careers-role-link:hover .nl-careers-role-name {
  color: var(--text-muted);
}

.nl-careers-role-location {
  grid-column: 1;
  grid-row: 2;
  display: block;
  margin-top: 6px;
  font-family: "Aeonik", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nl-careers-role-link::after {
  content: "";
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  display: block;
  width: 56px;
  height: 12px;
  background-color: var(--text-muted);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 12' fill='none'%3E%3Cpath d='M0 6h48' stroke='%23fff' stroke-width='0.75'/%3E%3Cpath d='M48 6l-6 5M48 6l-6-5' stroke='%23fff' stroke-width='0.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 12' fill='none'%3E%3Cpath d='M0 6h48' stroke='%23fff' stroke-width='0.75'/%3E%3Cpath d='M48 6l-6 5M48 6l-6-5' stroke='%23fff' stroke-width='0.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  opacity: 0;
  transform: translateX(-6px);
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    background-color 180ms ease;
}

.nl-careers-role-link:hover::after {
  opacity: 1;
  transform: translateX(4px);
  background-color: var(--black);
}

.nl-careers-role-link--static {
  cursor: default;
}

.nl-careers-role-link--static::after {
  content: none;
}

.nl-careers-role-link--static .nl-careers-role-name {
  color: var(--black);
}

.nl-careers-role-meta {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.nl-careers-note {
  margin-top: clamp(28px, 4vw, 40px);
  text-align: left;
}

.nl-careers-note p {
  margin: 0;
  max-width: none;
}

.nl-careers-note a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.nl-careers-note a:hover {
  color: var(--black);
}

/* ── Career detail ── */

.nl-career-detail__back {
  display: inline-block;
  margin-bottom: clamp(42px, 6vw, 76px);
  color: var(--text-muted);
  font-size: 0.82rem;
  text-decoration: none;
  transition: color 180ms ease;
}

.nl-career-detail__back:hover {
  color: var(--black);
}

.nl-career-detail__header {
  max-width: 880px;
  margin-bottom: clamp(56px, 7vw, 92px);
}

.nl-career-detail__header .nl-section__title {
  margin: 8px 0 18px;
  max-width: none;
}

.nl-career-detail__meta {
  margin: 0;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nl-career-copy {
  min-width: 0;
  max-width: 780px;
}

.nl-career-copy__section + .nl-career-copy__section {
  margin-top: clamp(42px, 5vw, 64px);
}

.nl-career-copy__section h2,
.nl-career-application__heading h2,
.nl-career-application__success h3 {
  margin: 0 0 14px;
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.nl-career-copy__section p,
.nl-career-copy__section li,
.nl-career-application__success p {
  font-size: var(--body-size);
  line-height: var(--body-line);
  color: var(--text-muted);
}

.nl-career-copy__section p,
.nl-career-application__success p {
  margin: 0;
}

.nl-career-copy__section ul {
  margin: 0;
  padding-left: 1.15em;
}

.nl-career-copy__section li + li {
  margin-top: 10px;
}

.nl-career-application {
  max-width: 780px;
  box-sizing: border-box;
  margin-top: clamp(64px, 8vw, 104px);
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--white) 90%, transparent);
}

.nl-career-application [hidden] {
  display: none !important;
}

.nl-career-application__heading {
  margin-bottom: 28px;
}

.nl-career-application__heading .nl-careers-group-label {
  padding: 0 0 8px;
}

.nl-career-form {
  display: grid;
  gap: 18px;
}

.nl-career-form label {
  display: grid;
  gap: 7px;
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--black);
}

.nl-career-form input,
.nl-career-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 11px 12px;
  background: var(--white);
  color: var(--black);
  font: inherit;
  outline: none;
  transition: border-color 180ms ease;
}

.nl-career-form input:focus,
.nl-career-form textarea:focus {
  border-color: var(--black);
}

.nl-career-form input[type="file"] {
  color: var(--text-muted);
  padding: 9px;
}

.nl-career-form textarea {
  resize: vertical;
}

.nl-career-form .nl-btn {
  justify-self: start;
  margin-top: 4px;
  border: 0;
  cursor: pointer;
}

.nl-career-form .nl-btn:disabled {
  cursor: wait;
  opacity: 0.55;
}

.nl-career-form__error {
  margin: 0;
  color: #9f3227;
  font-size: 0.8rem;
  line-height: 1.4;
}

.nl-career-application__success {
  padding: 20px 0;
  border-top: 1px solid var(--border);
}

/* ── Blog index ── */

.nl-blog-index {
  display: flex;
  flex-direction: column;
  gap: clamp(36px, 4.5vw, 56px);
}

.nl-blog-index__header {
  max-width: 52ch;
}

.nl-blog-featured {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(20px, 2.5vw, 36px);
  align-items: stretch;
  padding: 8px;
  margin: -8px;
  text-decoration: none;
  color: inherit;
  border-radius: 20px;
}

.nl-blog-featured__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 100%;
  padding: 0;
}

.nl-blog-featured__copy {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 20px 0;
}

.nl-blog-featured__copy .nl-blog-card__excerpt {
  margin: 0;
}

.nl-blog-featured .nl-blog-card__meta {
  margin-top: auto;
}

.nl-blog-card__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin: 0 0 12px;
  padding: 7px 8px 4px;
  border-radius: 4px;
  background: var(--panel-bg);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nl-blog-featured .nl-blog-card__tag {
  margin: 0;
}

.nl-blog-featured__title {
  margin: 0;
  font-size: clamp(1.45rem, 2.4vw, 2.15rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--black);
}

.nl-blog-card__excerpt {
  margin: 0 0 18px;
  font-family: "Aeonik", system-ui, sans-serif;
  font-size: var(--body-size);
  line-height: var(--body-line);
  letter-spacing: var(--body-tracking);
  color: var(--body-color);
}

.nl-blog-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nl-blog-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--panel-bg);
}

.nl-blog-card__media img,
.nl-blog-card__media video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  transform: scale(1);
  transition: transform 720ms cubic-bezier(0.22, 1, 0.36, 1);
}

.nl-blog-featured:hover .nl-blog-card__media img,
.nl-blog-featured:hover .nl-blog-card__media video,
.nl-blog-card:hover .nl-blog-card__media img,
.nl-blog-card:hover .nl-blog-card__media video {
  transform: scale(1.06);
}

.nl-blog-card__media--featured {
  aspect-ratio: 16 / 9;
  min-height: 0;
  height: 100%;
  align-self: stretch;
}

.nl-blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nl-blog-filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 7px 8px 4px;
  border: none;
  border-radius: 4px;
  background: var(--panel-bg);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--black);
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease;
}

.nl-blog-filter:hover {
  color: var(--text-muted);
}

.nl-blog-filter:focus-visible {
  outline: 1px solid var(--black);
  outline-offset: 3px;
}

.nl-blog-filter.is-active {
  background: var(--black);
  color: var(--white);
}

.nl-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 3vw, 40px) 24px;
}

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

.nl-blog-card--static {
  cursor: default;
  pointer-events: none;
}

.nl-research-preview__media {
  display: grid;
  place-items: center;
  padding: 18px;
  background: var(--panel-bg);
}

.nl-research-preview__media svg {
  display: block;
  width: min(100%, 320px);
  height: auto;
}

.nl-research-preview__media--live {
  padding: 0;
  overflow: hidden;
  pointer-events: auto;
  cursor: crosshair;
  color: #8d8d87;
}

.nl-research-preview__media--live::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: var(--vd5-grain-fine), var(--vd5-grain-coarse);
  background-size: 88px 88px, 144px 144px;
  mix-blend-mode: overlay;
  opacity: 0.42;
}

.nl-research-preview__media--live svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
}

.nl-research-preview__media--live :is(path, line) {
  stroke: currentColor;
}

.nl-research-preview__media--live path[fill]:not([fill="none"]):not(.nl-compound-wash) {
  fill: var(--panel-bg);
}

.nl-research-preview__media--live path.nl-compound-wash {
  fill-opacity: 0.78;
  stroke: none !important;
  pointer-events: none;
}

.nl-research-preview__media--twins {
  padding: 0;
  overflow: hidden;
}

.nl-research-preview__media--twins svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.nl-research-preview__media--twins .nl-twin-solid {
  fill: none;
  stroke: #8d8d87;
  stroke-width: 0.5;
  vector-effect: non-scaling-stroke;
}

.nl-research-preview__media--twins .nl-twin-grid {
  fill: none;
  stroke: #8d8d87;
  stroke-width: 0.5;
  vector-effect: non-scaling-stroke;
}

.nl-blog-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}

.nl-blog-card .nl-blog-card__media {
  margin-bottom: 18px;
}

.nl-blog-card .nl-blog-card__title {
  margin: 0 0 10px;
  font-size: 1.12rem;
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: -0.02em;
  color: var(--black);
}

.nl-blog-card .nl-blog-card__excerpt {
  margin-bottom: 14px;
  font-size: 0.95rem;
}

.nl-blog-card[hidden],
.nl-blog-featured[hidden] {
  display: none;
}

/* ── Blog articles ── */

.nl-article {
  width: 50%;
  max-width: 50%;
}

.nl-article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nl-article__meta .nl-blog-card__tag {
  margin: 0;
}

.nl-article__meta > span:not(.nl-blog-card__tag) {
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  line-height: 1;
}

.nl-article__title {
  margin: 0 0 20px;
  font-size: clamp(1.75rem, 3.2vw, 2.75rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--black);
}

.nl-article__author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 clamp(32px, 5vw, 48px);
}

.nl-article__author-photo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.nl-article__author p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.nl-article__author strong {
  color: var(--black);
  font-weight: 500;
}

.nl-article__media {
  margin: 20px 0 24px;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--panel-bg);
}

.nl-article__video {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
}

.nl-prose--article h2[id],
.nl-prose--article h3[id] {
  scroll-margin-top: var(--sticky-top);
}

.nl-article--legal {
  width: 62%;
  max-width: 62%;
}

.nl-prose--legal a {
  color: var(--highlight);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.nl-prose--legal a:hover {
  color: var(--black);
}

.nl-prose--legal table {
  width: 100%;
  margin: 20px 0 24px;
  border-collapse: collapse;
  font-size: 0.88rem;
  line-height: 1.45;
}

.nl-prose--legal th,
.nl-prose--legal td {
  border: 1px solid var(--border);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.nl-prose--legal th {
  font-weight: 500;
  color: var(--black);
  background: rgba(24, 24, 24, 0.03);
}

.nl-prose--legal ul {
  margin: 0 0 16px;
  padding-left: 1.25rem;
}

.nl-prose--legal li {
  margin-bottom: 8px;
}

.nl-prose--article {
  max-width: none;
}

.nl-prose--article p {
  margin: 0 0 16px;
}

.nl-prose--article h2 {
  margin: clamp(32px, 5vw, 44px) 0 16px;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--black);
}

.nl-prose--article h2:first-child {
  margin-top: 0;
}

.nl-prose--article h3 {
  margin: 28px 0 12px;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--black);
}

.nl-prose--article ul,
.nl-prose--article ol {
  margin: 0 0 16px;
  padding-left: 1.35em;
}

.nl-prose--article li {
  margin-bottom: 8px;
}

.nl-prose--article li:last-child {
  margin-bottom: 0;
}

.nl-prose--article strong {
  color: var(--black);
  font-weight: 500;
}

.nl-prose--article hr {
  margin: clamp(28px, 4vw, 40px) 0;
  border: none;
  border-top: 1px solid var(--border);
}

.nl-prose--article em {
  font-style: italic;
}

.nl-prose--article a {
  color: var(--black);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.nl-prose--article code {
  font-family: var(--mono);
  font-size: 0.88em;
  color: var(--black);
}

.nl-article__media,
.nl-autoagent-hero {
  width: 100%;
  box-sizing: border-box;
}

.nl-autoagent-hero {
  margin: 0 0 clamp(34px, 5vw, 52px);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: #f5f4ef;
}

.nl-autoagent-hero img {
  display: block;
  width: 100%;
  height: auto;
}

.nl-autoagent-results {
  margin: 20px 0 24px;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.nl-autoagent-results__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  padding: 13px 16px;
  border-top: 1px solid var(--border);
}

.nl-autoagent-results__row:first-child {
  border-top: 0;
}

.nl-autoagent-results__row strong {
  color: var(--black);
  font-family: var(--mono);
  font-weight: 500;
}

.nl-autoagent-results__head {
  background: rgba(24, 24, 24, 0.035);
  color: var(--text-muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.nl-article__nav {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: clamp(24px, 4vw, 48px);
  margin-top: clamp(40px, 6vw, 56px);
  padding-top: clamp(24px, 4vw, 32px);
  border-top: 1px solid var(--border);
}

.nl-article__nav-link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  max-width: min(100%, 280px);
  text-decoration: none;
  color: inherit;
}

.nl-article__nav-link--prev {
  align-items: flex-start;
  text-align: left;
}

.nl-article__nav-link--next {
  align-items: flex-end;
  text-align: right;
  margin-left: auto;
}

.nl-article__nav-label {
  display: block;
  margin: 0;
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nl-article__nav-title {
  display: block;
  margin: 0;
  width: 100%;
  max-width: 100%;
  font-size: var(--body-size);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--black);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 180ms ease;
}

.nl-article__nav-link:hover .nl-article__nav-title {
  color: var(--text-muted);
}

.nl-docs-list,
.nl-resource-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  background: var(--border);
  box-shadow: 0 18px 48px rgba(24, 24, 24, 0.06);
}

.nl-docs-row,
.nl-resource-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 28px 32px;
  background: var(--white);
  text-decoration: none;
  color: inherit;
  transition: background 180ms ease;
}

.nl-resource-item {
  grid-template-columns: 88px minmax(0, 1fr) auto;
}

.nl-docs-row:hover,
.nl-resource-item:hover {
  background: var(--panel-bg);
}

.nl-docs-row.is-muted {
  pointer-events: none;
  opacity: 0.72;
}

.nl-docs-row h3,
.nl-resource-item__title {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.nl-docs-row-meta,
.nl-resource-item__desc {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.nl-docs-row-arrow,
.nl-resource-item__arrow {
  font-size: 1.1rem;
  color: var(--text-muted);
  transition: color 180ms ease, transform 180ms ease;
}

.nl-docs-row:hover .nl-docs-row-arrow,
.nl-resource-item:hover .nl-resource-item__arrow {
  color: var(--black);
  transform: translateX(2px);
}

.nl-resource-item__type {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
}

@media (max-width: 720px) {
  .nl-resource-item {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .nl-resource-item__type {
    grid-column: 1 / -1;
    margin-bottom: 4px;
  }
}

/* ── Responsive ── */

@media (max-width: 1366px) {
  .nl-cta__canvas {
    min-height: min(64vh, 700px);
  }

  .nl-cta__parallax {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(28px, 5vh, 52px) 0 clamp(72px, 12vh, 120px);
    box-sizing: border-box;
  }

  .nl-cta__hero {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    width: 100%;
  }
}

@media (max-width: 960px) {
  body[data-page="thirdlayer"],
  body[data-page="research"],
  body[data-page="careers"],
  body[data-page="company"],
  body[data-page="blog"],
  body[data-page="blog-post"],
  body[data-page="docs"],
  body[data-page="legal"],
  body[data-site="nitrode"] {
    --site-pad-x: clamp(20px, 4vw, 28px);
    --site-pad-top: clamp(24px, 4vw, 36px);
    --sticky-top: 88px;
    --content-gap: 24px;
    --sidebar-width: 120px;
  }

  .nl-hero__top {
    padding-bottom: 28px;
  }

  .nl-hero--paint {
    overflow-x: clip;
  }

  .nl-hero--paint .nl-hero__top {
    max-width: 100%;
    padding-inline: 0;
  }

  .nl-hero__stage {
    --nl-hero-cta-logos-gap: clamp(28px, 5vh, 48px);
    min-height: 100svh;
    padding: clamp(88px, 12vh, 128px) var(--site-pad-x) clamp(96px, 16vh, 160px);
    border-radius: 0;
  }

  .nl-hero__eyebrow {
    max-width: 100%;
    margin-bottom: 20px;
    line-height: 1.45;
    letter-spacing: 0.1em;
    text-wrap: balance;
  }

  .nl-hero--paint .nl-hero__title {
    max-width: 100%;
    font-size: clamp(1.85rem, 8vw, 2.75rem);
    line-height: 1.08;
    overflow-wrap: break-word;
  }

  .nl-hero--paint .nl-hero__title br {
    display: none;
  }

  .nl-hero__lead {
    max-width: 40ch;
    margin-bottom: 28px;
    font-size: 1.02rem;
  }

  .nl-btn--hero {
    font-size: 0.9375rem;
    padding: 10px 18px;
  }

  .nl-hero--paint + .nl-body {
    margin-top: -72px;
    border-radius: 24px 24px var(--body-footer-radius) var(--body-footer-radius);
  }

  .nl-body {
    padding: 64px var(--site-pad-x) 40px;
  }

  .nl-hero-logos {
    bottom: auto;
    max-width: 100%;
  }

  .nl-hero-logos__list {
    gap: 28px;
    padding: 0 16px;
  }

  .nl-section {
    padding-bottom: clamp(48px, 8vw, 80px);
  }

  .nl-section-break {
    margin-bottom: clamp(48px, 8vw, 80px);
  }

  .nl-main,
  .nl-close,
  .nl-hero,
  .nl-section,
  .nl-platform,
  .nl-nexus-layout,
  .nl-compound-grid,
  .nl-ops-grid {
    min-width: 0;
    max-width: 100%;
  }

  .nl-main img,
  .nl-main svg,
  .nl-main canvas,
  .nl-compound-card__illust > svg,
  .nl-compound-card__illust .vd8-agents {
    max-width: 100%;
  }

  .nl-section__title,
  .nl-cta__title,
  .nl-problem-row__title,
  .nl-nexus-card__title,
  .nl-compound-card__title,
  .nl-ops-card__title,
  .nl-blog-card__title {
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .nl-ops-mock {
    max-width: min(260px, 100%);
  }

  .nl-ops-mock__line {
    overflow-wrap: break-word;
  }

  .nl-ops > .nl-section__title {
    white-space: normal;
  }

  .nl-nitrode__copy {
    padding-right: 0;
  }

  .nl-nitrode__copy .nl-section__title,
  .nl-nitrode__copy .nl-prose {
    max-width: none;
  }

  .nl-compound-card {
    min-height: 0;
  }

  .nl-compound-card__illust {
    overflow: hidden;
    min-height: 180px;
  }

  .nl-nd-chart {
    padding: 28px 16px 0;
  }

  .nl-nd-chart__brand span {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }

  .nl-nd-chart__tag {
    max-width: 28ch;
    padding-inline: 8px;
  }

  .nl-nd-chart__toolbar {
    flex-wrap: wrap;
  }

  .nl-nd-chart__cols,
  .nl-nd-chart__row {
    grid-template-columns:
      minmax(0, 1.35fr)
      minmax(0, 1fr)
      52px;
  }

  .nl-nd-chart__cols span:nth-child(n + 4),
  .nl-nd-chart__row > .nl-nd-chart__metric:not(.nl-nd-chart__metric--score) {
    display: none;
  }

  .nl-cta__title {
    font-size: clamp(1.75rem, 7.5vw, 2.6rem);
  }

  .nl-mobile-nav {
    display: block;
    position: fixed;
    top: var(--site-pad-top);
    right: var(--site-pad-x);
    z-index: 300;
  }

  .nl-fixed-actions {
    display: none;
  }

  .nl-body__grid {
    grid-template-columns: 1fr;
  }

  .nl-sidebar {
    display: none;
  }

  .nl-cta__hero {
    padding-right: var(--site-pad-x);
  }

  .nl-cta__parallax {
    padding-bottom: clamp(56px, 10vh, 88px);
  }

  .nl-cta__title {
    max-width: none;
  }

  .nl-problem__intro {
    grid-template-columns: 1fr;
  }

  .nl-problem-row {
    max-width: none;
  }

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

  .nl-platform {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    max-width: 100%;
  }

  .nl-platform__copy,
  .nl-platform__graphic {
    min-width: 0;
    max-width: 100%;
  }

  .nl-platform__copy .nl-prose,
  .nl-platform__copy .nl-flow {
    max-width: 100%;
  }

  .nl-flow {
    padding-left: 14px;
    margin-top: 32px;
  }

  .nl-flow__step {
    padding: 16px;
  }

  .nl-layers-split {
    grid-template-columns: 1fr;
  }

  .nl-platform__graphic {
    position: relative;
    top: auto;
  }

  .nl-platform__layers {
    width: 100%;
    max-width: 100%;
    min-height: 0;
    height: auto;
    aspect-ratio: 16 / 11;
  }

  .nl-use-cases-split,
  .nl-nitrode-split {
    grid-template-columns: 1fr;
  }

  .nl-nitrode-split {
    grid-template-rows: auto;
  }

  .nl-nitrode__eyebrow,
  .nl-nitrode__copy,
  .nl-nitrode__visual {
    grid-column: auto;
    grid-row: auto;
  }

  .nl-nitrode__visual {
    min-height: min(72vw, 400px);
  }

  .nl-nexus-intro,
  .nl-enterprise-intro {
    grid-template-columns: 1fr;
  }

  .nl-nexus-layout > .nl-use-cases-demo {
    width: 100%;
    max-width: 100%;
    min-height: 0;
    height: auto;
    aspect-ratio: 16 / 9;
  }

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

  .nl-careers-layout {
    grid-template-columns: 1fr;
    gap: clamp(36px, 5vw, 56px);
  }

  .nl-blog-featured {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .nl-blog-card__media--featured {
    aspect-ratio: 16 / 9;
    min-height: 0;
    height: auto;
  }

  .nl-blog-featured__body {
    padding: 0;
  }

  .nl-blog-featured__copy {
    flex: 0 0 auto;
    justify-content: flex-start;
    padding: 12px 0 16px;
  }

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

  .nl-article {
    width: 100%;
    max-width: none;
  }

  .nl-article--legal {
    width: 100%;
    max-width: none;
  }

  .nl-article__nav {
    flex-direction: column;
    gap: 28px;
  }

  .nl-article__nav-link {
    max-width: 100%;
  }

  .nl-article__nav-link--next {
    align-items: flex-start;
    text-align: left;
    margin-left: 0;
  }

  .nl-use-cases-demo {
    width: 100%;
    max-width: 100%;
    min-height: 0;
    height: auto;
    aspect-ratio: 17 / 10;
  }

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

  .nl-compound-grid,
  .nl-ops-grid {
    grid-template-columns: 1fr;
  }

  .nl-compound-card + .nl-compound-card::before {
    top: 0;
    bottom: auto;
    left: 28px;
    right: 28px;
    width: auto;
    height: 1px;
  }

  .nl-compound-card {
    min-height: 0;
  }

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

  .nl-research-graph__canvas {
    height: clamp(180px, 48vw, 240px);
  }

  .nl-site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 32px;
  }

  .nl-site-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  body[data-page="thirdlayer"],
  body[data-page="research"],
  body[data-page="careers"],
  body[data-page="company"],
  body[data-page="blog"],
  body[data-page="blog-post"],
  body[data-page="docs"],
  body[data-page="legal"],
  body[data-site="nitrode"] {
    --site-pad-x: 20px;
    --site-pad-top: 20px;
  }

  .nl-hero__stage {
    --nl-hero-cta-logos-gap: clamp(24px, 4vh, 40px);
    min-height: auto;
    padding: 96px var(--site-pad-x) 112px;
  }

  .nl-hero--paint .nl-hero__title {
    font-size: clamp(1.7rem, 8.4vw, 2.2rem);
  }

  .nl-hero__lead {
    font-size: 0.98rem;
  }

  .nl-hero--paint + .nl-body {
    margin-top: -56px;
    border-radius: 20px 20px var(--body-footer-radius) var(--body-footer-radius);
  }

  .nl-body {
    padding: 48px var(--site-pad-x) 32px;
  }

  .nl-section__title {
    max-width: none;
    font-size: clamp(1.45rem, 6.4vw, 2rem);
  }

  .nl-ops > .nl-section__title {
    white-space: normal;
  }

  .nl-problem-rows,
  .nl-nexus-cards,
  .nl-features-grid.vd5-grid,
  .nl-research-grid,
  .nl-blog-grid {
    grid-template-columns: 1fr;
  }

  .nl-problem-row,
  .nl-nexus-card,
  .nl-compound-card,
  .nl-ops-card__copy {
    padding-left: 18px;
    padding-right: 18px;
  }

  .nl-compound-card + .nl-compound-card::before {
    left: 18px;
    right: 18px;
  }

  body[data-page="thirdlayer"] .nl-features-grid .vd5-panel {
    min-height: 360px;
  }

  .nl-nitrode__visual {
    min-height: min(88vw, 360px);
  }

  .nl-nd-chart__hero {
    margin: 0 0 20px;
  }

  .nl-nd-chart__screen {
    padding: 12px 10px 0;
  }

  .nl-cta__actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .nl-cta__canvas {
    min-height: min(72vh, 560px);
  }

  .nl-section__header-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .nl-site-footer {
    padding-top: 56px;
  }

  .nl-site-footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 480px) {
  body[data-page="thirdlayer"],
  body[data-page="research"],
  body[data-page="careers"],
  body[data-page="company"],
  body[data-page="blog"],
  body[data-page="blog-post"],
  body[data-page="docs"],
  body[data-page="legal"],
  body[data-site="nitrode"] {
    --site-pad-x: 16px;
    --site-pad-top: 16px;
  }

  .nl-hero__stage {
    padding: 84px var(--site-pad-x) 112px;
  }

  .nl-hero--paint .nl-hero__title {
    font-size: clamp(1.55rem, 8.8vw, 1.9rem);
  }

  .nl-hero-logos__list img {
    height: 18px;
  }

  .nl-hero-logos__list img[src*="stripe"],
  .nl-hero-logos__list img[src*="anthropic"] {
    height: 22px;
  }

  .nl-nd-chart__cols,
  .nl-nd-chart__row {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) 44px;
    gap: 6px;
  }

  .nl-nd-chart__name,
  .nl-nd-chart__metric {
    font-size: 0.62rem;
  }

  .nl-mobile-nav__sheet {
    width: min(100vw, 360px);
  }
}

@media (max-width: 960px) and (max-height: 640px) {
  .nl-hero__stage {
    min-height: auto;
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .nl-hero--paint + .nl-body {
    margin-top: -40px;
  }

  .nl-hero--paint .nl-hero__title {
    font-size: clamp(1.5rem, 5.5vh, 2rem);
  }

  .nl-hero__lead {
    margin-bottom: 20px;
  }
}
