/* Navis public corporate website. Isolated from the authenticated application. */
body.public-page {
  --nw-ink: #0b1426;
  --nw-ink-soft: #17243b;
  --nw-copy: #4a5870;
  --nw-muted: #76839a;
  --nw-line: #dce3eb;
  --nw-soft: #f3f6f8;
  --nw-teal: #00a9a9;
  --nw-teal-dark: #08777d;
  --nw-coral: #d14b5b;
  --nw-gold: #c99437;
  --nw-white: #ffffff;
  margin: 0;
  color: var(--nw-ink);
  background: var(--nw-white);
  font-family: "Inter", sans-serif;
}

body.public-page * {
  box-sizing: border-box;
}

.nw-site-shell {
  min-width: 0;
  overflow: hidden;
  background: var(--nw-white);
}

.nw-container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.nw-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(11, 20, 38, 0.08);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
}

.nw-header-inner {
  min-height: 72px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.nw-brand {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--nw-ink);
  text-decoration: none;
}

.nw-brand-mark {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  color: var(--nw-white);
  background: linear-gradient(145deg, #d64261 0%, #087f88 62%, #11b8b2 100%);
  box-shadow: 0 8px 18px rgba(8, 127, 136, 0.18);
  font-size: 13px;
  font-weight: 800;
}

.nw-brand-word {
  font-size: 18px;
  font-weight: 800;
}

.nw-main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nw-main-nav a,
.nw-login-link {
  color: var(--nw-copy);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: color 160ms ease;
}

.nw-main-nav a:hover,
.nw-login-link:hover {
  color: var(--nw-ink);
}

.nw-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.nw-menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 10px;
  border: 1px solid var(--nw-line);
  border-radius: 7px;
  background: var(--nw-white);
}

.nw-menu-toggle span {
  width: 100%;
  height: 1px;
  display: block;
  margin: 5px 0;
  background: var(--nw-ink);
}

.nw-button {
  min-height: 44px;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 7px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.nw-button:hover {
  transform: translateY(-1px);
}

.nw-button-primary {
  color: var(--nw-white);
  background: var(--nw-teal-dark);
  box-shadow: 0 10px 24px rgba(8, 119, 125, 0.17);
}

.nw-button-primary:hover {
  color: var(--nw-white);
  background: #05666c;
  box-shadow: 0 14px 28px rgba(8, 119, 125, 0.24);
}

.nw-button-secondary {
  color: var(--nw-ink);
  border-color: var(--nw-line);
  background: var(--nw-white);
}

.nw-button-secondary:hover {
  color: var(--nw-ink);
  border-color: #b9c5d2;
  background: #f8fafb;
}

.nw-button-light {
  color: var(--nw-ink);
  background: var(--nw-white);
}

.nw-button-small {
  min-height: 38px;
  padding: 0 14px;
}

.nw-hero {
  position: relative;
  background:
    linear-gradient(90deg, rgba(11, 20, 38, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(11, 20, 38, 0.035) 1px, transparent 1px),
    #f9fbfc;
  background-size: 56px 56px;
}

.nw-hero-grid {
  min-height: calc(100vh - 72px);
  max-height: 900px;
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(480px, 0.9fr);
  align-items: center;
  gap: 58px;
  padding-top: 64px;
  padding-bottom: 64px;
}

.nw-eyebrow {
  display: block;
  margin-bottom: 16px;
  color: var(--nw-teal-dark);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.nw-hero-copy h1,
.nw-page-hero h1,
.nw-demo-copy h1 {
  max-width: 760px;
  margin: 0;
  color: var(--nw-ink);
  font-size: 58px;
  line-height: 1.02;
  font-weight: 750;
  letter-spacing: 0;
}

.nw-hero-copy > p,
.nw-page-hero-grid > div:first-child > p,
.nw-demo-copy > p {
  max-width: 670px;
  margin: 24px 0 0;
  color: var(--nw-copy);
  font-size: 17px;
  line-height: 1.65;
}

.nw-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.nw-trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 38px;
  color: var(--nw-muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.nw-trust-line span {
  position: relative;
}

.nw-trust-line span:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 4px;
  right: -12px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--nw-teal);
}

.nw-hero-console,
.nw-product-visual,
.nw-policy-workbench,
.nw-scenario-matrix {
  border: 1px solid rgba(11, 20, 38, 0.1);
  border-radius: 8px;
  background: #fbfcfd;
  box-shadow: 0 30px 70px rgba(11, 20, 38, 0.13);
}

.nw-hero-console {
  transform: perspective(1200px) rotateY(-3deg) rotateX(1deg);
}

.nw-screenshot-frame {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(11, 20, 38, 0.12);
  border-radius: 8px;
  background: var(--nw-white);
  box-shadow: 0 24px 60px rgba(11, 20, 38, 0.12);
}

.nw-screenshot-bar {
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  border-bottom: 1px solid var(--nw-line);
  color: var(--nw-muted);
  background: #f8fafb;
  font-size: 9px;
  font-weight: 700;
}

.nw-screenshot-bar > span {
  width: 6px;
  height: 6px;
  display: block;
  border-radius: 50%;
  background: #cbd4de;
}

.nw-screenshot-bar strong {
  margin-left: 6px;
  color: var(--nw-copy);
  font-size: 9px;
}

.nw-screenshot-bar b {
  margin-left: auto;
  color: var(--nw-teal-dark);
}

.nw-screenshot-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.nw-hero-screenshot {
  transform: perspective(1200px) rotateY(-3deg) rotateX(1deg);
}

.nw-hero-screenshot img {
  aspect-ratio: 1.78 / 1;
  object-fit: cover;
  object-position: top left;
}

.nw-console-nav,
.nw-visual-topline {
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border-bottom: 1px solid var(--nw-line);
  color: var(--nw-copy);
  font-size: 11px;
  font-weight: 700;
}

.nw-console-nav b,
.nw-visual-topline span:last-child {
  margin-left: auto;
}

.nw-console-nav b {
  color: var(--nw-teal-dark);
}

.nw-console-brand {
  width: 23px;
  height: 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  color: var(--nw-white);
  background: var(--nw-ink);
  font-size: 8px;
}

.nw-console-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 12px;
}

.nw-console-summary,
.nw-console-metric,
.nw-console-wide {
  border: 1px solid var(--nw-line);
  border-radius: 6px;
  background: var(--nw-white);
}

.nw-console-summary {
  grid-column: span 2;
  padding: 18px;
  background: var(--nw-ink);
  color: var(--nw-white);
}

.nw-console-summary span,
.nw-console-metric span {
  display: block;
  color: #99a6ba;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.nw-console-summary strong {
  display: block;
  margin-top: 6px;
  font-size: 27px;
}

.nw-console-summary p {
  margin: 7px 0 0;
  color: #b9c4d2;
  font-size: 11px;
}

.nw-console-metric {
  min-height: 128px;
  position: relative;
  padding: 14px;
}

.nw-console-metric strong {
  display: block;
  margin-top: 7px;
  font-size: 23px;
}

.nw-mini-bars {
  height: 44px;
  display: flex;
  align-items: flex-end;
  gap: 5px;
  margin-top: 14px;
}

.nw-mini-bars b {
  width: 13%;
  display: block;
  border-radius: 2px 2px 0 0;
  background: var(--nw-coral);
}

.nw-mini-bars b:nth-child(1) { height: 32%; }
.nw-mini-bars b:nth-child(2) { height: 47%; }
.nw-mini-bars b:nth-child(3) { height: 58%; }
.nw-mini-bars b:nth-child(4) { height: 75%; }
.nw-mini-bars b:nth-child(5) { height: 92%; }

.nw-donut {
  width: 50px;
  height: 50px;
  position: absolute;
  right: 18px;
  bottom: 18px;
  border: 9px solid #e6ebf0;
  border-top-color: var(--nw-teal);
  border-right-color: var(--nw-teal);
  border-bottom-color: var(--nw-gold);
  border-radius: 50%;
}

.nw-console-wide {
  grid-column: span 2;
  padding: 6px 14px 10px;
}

.nw-console-wide-head,
.nw-risk-line {
  display: grid;
  align-items: center;
}

.nw-console-wide-head {
  grid-template-columns: 1fr auto;
  min-height: 42px;
  border-bottom: 1px solid var(--nw-line);
  color: var(--nw-copy);
  font-size: 10px;
  font-weight: 700;
}

.nw-console-wide-head b {
  color: var(--nw-teal-dark);
}

.nw-risk-line {
  grid-template-columns: 8px minmax(0, 1fr) auto 24px;
  gap: 8px;
  min-height: 40px;
  border-bottom: 1px solid #edf1f4;
  font-size: 9px;
}

.nw-risk-line:last-child {
  border-bottom: 0;
}

.nw-risk-line strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 10px;
}

.nw-risk-line em {
  color: var(--nw-muted);
  font-style: normal;
}

.nw-risk-line > b {
  text-align: right;
}

.nw-severity {
  width: 6px;
  height: 6px;
  display: block;
  border-radius: 50%;
}

.nw-severity-high { background: var(--nw-coral); }
.nw-severity-med { background: var(--nw-gold); }
.nw-severity-low { background: var(--nw-teal); }

.nw-band {
  padding: 104px 0;
  border-top: 1px solid rgba(11, 20, 38, 0.08);
}

.nw-band-soft {
  background: var(--nw-soft);
}

.nw-band-ink {
  color: var(--nw-white);
  border-top-color: rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    var(--nw-ink);
  background-size: 56px 56px;
}

.nw-section-heading {
  max-width: 720px;
}

.nw-section-heading h2,
.nw-preview-cta h2 {
  margin: 0;
  color: var(--nw-ink);
  font-size: 42px;
  line-height: 1.08;
  font-weight: 720;
  letter-spacing: 0;
}

.nw-section-heading p,
.nw-preview-cta p {
  margin: 18px 0 0;
  color: var(--nw-copy);
  font-size: 16px;
  line-height: 1.65;
}

.nw-section-heading-light h2 {
  color: var(--nw-white);
}

.nw-section-heading-light p {
  color: #aeb9c8;
}

.nw-section-heading-light .nw-eyebrow,
.nw-band-ink .nw-eyebrow {
  color: #52d5cf;
}

.nw-pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 52px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.nw-pillar-card {
  min-height: 270px;
  padding: 26px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.nw-card-index,
.nw-cycle-grid article > span,
.nw-scenario-grid article > span,
.nw-belief-grid article > span {
  color: #52d5cf;
  font-size: 10px;
  font-weight: 800;
}

.nw-pillar-card h3 {
  min-height: 54px;
  margin: 90px 0 0;
  color: var(--nw-white);
  font-size: 19px;
  line-height: 1.35;
}

.nw-pillar-card p,
.nw-belief-grid p {
  margin: 12px 0 0;
  color: #aeb9c8;
  font-size: 13px;
  line-height: 1.6;
}

.nw-problem-band {
  background: #ffffff;
}

.nw-evidence-band {
  background: #f7f9fb;
}

.nw-evidence-grid {
  display: grid;
  gap: 72px;
  margin-top: 54px;
}

.nw-evidence-feature {
  display: grid;
  grid-template-columns: minmax(250px, 0.52fr) minmax(0, 1.25fr);
  align-items: center;
  gap: 54px;
}

.nw-evidence-feature-reverse {
  grid-template-columns: minmax(0, 1.25fr) minmax(250px, 0.52fr);
}

.nw-evidence-copy > span {
  display: block;
  margin-bottom: 14px;
  color: var(--nw-teal-dark);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.nw-evidence-copy h3 {
  margin: 0;
  color: var(--nw-ink);
  font-size: 27px;
  line-height: 1.16;
}

.nw-evidence-copy p {
  margin: 16px 0 0;
  color: var(--nw-copy);
  font-size: 13px;
  line-height: 1.7;
}

.nw-evidence-feature .nw-screenshot-frame img {
  aspect-ratio: 1.88 / 1;
  object-fit: cover;
  object-position: top left;
}

.nw-experience-band {
  overflow: hidden;
  background: #f7f9fb;
}

.nw-site-preview {
  max-height: 640px;
  margin-top: 48px;
}

.nw-site-preview img {
  object-fit: cover;
  object-position: top;
}

.nw-problem-grid,
.nw-split,
.nw-feature-split,
.nw-about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1fr);
  gap: 88px;
  align-items: center;
}

.nw-problem-grid {
  align-items: start;
}

.nw-problem-list {
  border-top: 1px solid var(--nw-line);
}

.nw-problem-list span {
  min-height: 65px;
  display: grid;
  grid-template-columns: 46px 1fr;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--nw-line);
  color: var(--nw-ink-soft);
  font-size: 14px;
  font-weight: 650;
}

.nw-problem-list b {
  color: var(--nw-teal-dark);
  font-size: 10px;
}

.nw-text-link {
  width: fit-content;
  display: inline-block;
  position: relative;
  margin-top: 26px;
  padding-bottom: 5px;
  color: var(--nw-teal-dark);
  border-bottom: 1px solid rgba(8, 119, 125, 0.35);
  text-decoration: none;
  font-size: 13px;
  font-weight: 750;
}

.nw-connection-map {
  min-height: 440px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--nw-line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(11, 20, 38, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(11, 20, 38, 0.04) 1px, transparent 1px),
    #f9fbfc;
  background-size: 32px 32px;
}

.nw-map-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(8, 119, 125, 0.22);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.nw-map-orbit-one {
  width: 260px;
  height: 260px;
}

.nw-map-orbit-two {
  width: 430px;
  height: 430px;
}

.nw-map-core,
.nw-map-node {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--nw-line);
  border-radius: 7px;
  background: var(--nw-white);
  box-shadow: 0 12px 30px rgba(11, 20, 38, 0.08);
}

.nw-map-core {
  width: 128px;
  height: 84px;
  top: 50%;
  left: 50%;
  flex-direction: column;
  color: var(--nw-white);
  border-color: var(--nw-ink);
  background: var(--nw-ink);
  transform: translate(-50%, -50%);
}

.nw-map-core strong {
  font-size: 20px;
}

.nw-map-core span {
  margin-top: 4px;
  color: #9facbd;
  font-size: 9px;
}

.nw-map-node {
  min-width: 88px;
  min-height: 38px;
  padding: 0 12px;
  color: var(--nw-copy);
  font-size: 10px;
  font-weight: 750;
}

.nw-node-docs { top: 13%; left: 39%; }
.nw-node-risks { top: 38%; right: 8%; }
.nw-node-controls { right: 18%; bottom: 13%; }
.nw-node-objectives { bottom: 13%; left: 13%; }
.nw-node-scenarios { top: 35%; left: 5%; }

.nw-feature-split {
  grid-template-columns: minmax(440px, 1fr) minmax(0, 0.82fr);
}

.nw-feature-reverse {
  grid-template-columns: minmax(0, 0.82fr) minmax(440px, 1fr);
}

.nw-product-visual {
  overflow: hidden;
}

.nw-policy-file {
  margin: 16px;
  padding: 22px;
  border: 1px solid var(--nw-line);
  border-radius: 6px;
  background: var(--nw-white);
}

.nw-policy-file-head,
.nw-policy-score-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.nw-policy-file-head strong {
  font-size: 15px;
}

.nw-policy-file-head span,
.nw-policy-score-row {
  color: var(--nw-muted);
  font-size: 10px;
  font-weight: 700;
}

.nw-policy-score-row {
  margin-top: 28px;
}

.nw-policy-score-row strong {
  color: var(--nw-teal-dark);
}

.nw-progress {
  height: 5px;
  margin: 8px 0 24px;
  border-radius: 3px;
  background: #e7edf1;
}

.nw-progress span {
  height: 100%;
  display: block;
  border-radius: 3px;
  background: var(--nw-teal);
}

.nw-policy-clause {
  min-height: 62px;
  display: grid;
  grid-template-columns: 32px 1fr auto;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--nw-line);
  font-size: 10px;
}

.nw-policy-clause span {
  color: var(--nw-muted);
  font-weight: 800;
}

.nw-policy-clause p {
  margin: 0;
  line-height: 1.4;
}

.nw-policy-clause b,
.nw-live-dot {
  color: var(--nw-teal-dark);
  font-size: 9px;
}

.nw-check-list {
  display: grid;
  gap: 11px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.nw-check-list li {
  position: relative;
  padding-left: 22px;
  color: var(--nw-copy);
  font-size: 13px;
  font-weight: 650;
}

.nw-check-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  position: absolute;
  top: 6px;
  left: 0;
  border-radius: 50%;
  background: var(--nw-teal);
}

.nw-response-row {
  min-height: 68px;
  display: grid;
  grid-template-columns: 60px 1fr 38px;
  align-items: center;
  gap: 12px;
  margin: 0 16px;
  border-bottom: 1px solid var(--nw-line);
}

.nw-response-row > span,
.nw-decision-axis span {
  color: var(--nw-muted);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.nw-response-row strong {
  font-size: 12px;
}

.nw-response-row b {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  font-size: 10px;
}

.nw-score-good { color: #08776b; background: #e3f4f0; }
.nw-score-watch { color: #916413; background: #f9f0df; }
.nw-score-risk { color: #a33b4b; background: #f8e8eb; }

.nw-decision-axis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 18px 16px;
}

.nw-event-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 24px;
}

.nw-event-chips span {
  padding: 7px 9px;
  border: 1px solid var(--nw-line);
  border-radius: 5px;
  color: var(--nw-copy);
  background: var(--nw-white);
  font-size: 10px;
  font-weight: 650;
}

.nw-audience-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-top: 48px;
}

.nw-audience-grid article {
  min-height: 210px;
  grid-column: span 2;
  padding: 22px;
  border: 1px solid var(--nw-line);
  border-radius: 7px;
  background: var(--nw-white);
}

.nw-audience-grid article:nth-child(4),
.nw-audience-grid article:nth-child(5) {
  grid-column: span 3;
}

.nw-audience-grid h3,
.nw-cycle-grid h3,
.nw-scenario-grid h3,
.nw-belief-grid h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.35;
}

.nw-audience-grid p,
.nw-cycle-grid p,
.nw-scenario-grid p {
  margin: 46px 0 0;
  color: var(--nw-copy);
  font-size: 12px;
  line-height: 1.6;
}

.nw-preview-cta {
  padding: 96px 0;
  color: var(--nw-white);
  background: var(--nw-teal-dark);
  text-align: center;
}

.nw-preview-cta .nw-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.nw-preview-cta .nw-eyebrow {
  color: #9be5df;
}

.nw-preview-cta h2 {
  max-width: 680px;
  color: var(--nw-white);
}

.nw-preview-cta p {
  max-width: 640px;
  color: #c3e5e4;
}

.nw-preview-cta .nw-button {
  margin-top: 28px;
}

.nw-page-hero {
  padding: 96px 0 88px;
  background:
    linear-gradient(90deg, rgba(11, 20, 38, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(11, 20, 38, 0.035) 1px, transparent 1px),
    #f9fbfc;
  background-size: 56px 56px;
}

.nw-page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(460px, 0.86fr);
  align-items: center;
  gap: 72px;
}

.nw-page-hero h1 {
  font-size: 52px;
}

.nw-cycle-grid,
.nw-feature-grid,
.nw-scenario-grid,
.nw-belief-grid {
  display: grid;
  margin-top: 48px;
}

.nw-cycle-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--nw-line);
  border-left: 1px solid var(--nw-line);
}

.nw-cycle-grid article {
  min-height: 250px;
  padding: 24px;
  border-right: 1px solid var(--nw-line);
  border-bottom: 1px solid var(--nw-line);
  background: var(--nw-white);
}

.nw-cycle-grid article > span,
.nw-scenario-grid article > span {
  display: block;
  margin-bottom: 82px;
  color: var(--nw-teal-dark);
}

.nw-policy-workbench {
  overflow: hidden;
}

.nw-workbench-nav {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 18px;
  border-bottom: 1px solid var(--nw-line);
  background: var(--nw-white);
  font-size: 11px;
}

.nw-workbench-nav span {
  color: var(--nw-coral);
  font-size: 9px;
  font-weight: 750;
}

.nw-workbench-body {
  display: grid;
  grid-template-columns: 1fr 150px;
  gap: 10px;
  padding: 12px;
}

.nw-workbench-doc,
.nw-workbench-body aside {
  min-height: 250px;
  padding: 18px;
  border: 1px solid var(--nw-line);
  border-radius: 6px;
  background: var(--nw-white);
}

.nw-workbench-doc span,
.nw-workbench-body aside > span {
  color: var(--nw-muted);
  font-size: 9px;
  font-weight: 750;
  text-transform: uppercase;
}

.nw-workbench-doc h3 {
  margin: 64px 0 0;
  font-size: 15px;
}

.nw-workbench-doc p {
  margin: 12px 0 0;
  color: var(--nw-copy);
  font-size: 10px;
  line-height: 1.6;
}

.nw-workbench-body aside strong {
  display: block;
  margin-top: 13px;
  padding: 7px;
  border: 1px solid var(--nw-line);
  border-radius: 4px;
  color: var(--nw-copy);
  font-size: 9px;
}

.nw-workbench-body aside button {
  width: 100%;
  min-height: 34px;
  margin-top: 24px;
  border: 0;
  border-radius: 5px;
  color: var(--nw-white);
  background: var(--nw-teal-dark);
  font-size: 9px;
  font-weight: 750;
}

.nw-feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.nw-feature-grid article {
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--nw-line);
  border-radius: 7px;
}

.nw-feature-grid article > span {
  width: 8px;
  height: 8px;
  display: block;
  margin-bottom: 78px;
  border-radius: 50%;
  background: var(--nw-teal);
}

.nw-feature-grid h3 {
  margin: 0;
  font-size: 17px;
}

.nw-feature-grid p {
  margin: 12px 0 0;
  color: var(--nw-copy);
  font-size: 12px;
  line-height: 1.6;
}

.nw-scenario-matrix {
  padding: 16px;
}

.nw-matrix-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 0 10px;
  border-bottom: 1px solid var(--nw-line);
  font-size: 10px;
}

.nw-matrix-head span,
.nw-matrix-axis {
  color: var(--nw-muted);
  font-size: 9px;
  font-weight: 750;
  text-transform: uppercase;
}

.nw-matrix-axis,
.nw-matrix-row {
  display: grid;
  grid-template-columns: 1fr repeat(3, 42px);
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 10px;
  border-bottom: 1px solid var(--nw-line);
}

.nw-matrix-row strong {
  font-size: 10px;
}

.nw-matrix-row i {
  width: 28px;
  height: 7px;
  border-radius: 4px;
}

.nw-matrix-row i.high { background: var(--nw-teal); }
.nw-matrix-row i.med { background: var(--nw-gold); }
.nw-matrix-row i.low { background: var(--nw-coral); }

.nw-scenario-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.nw-scenario-grid article {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--nw-line);
  border-radius: 7px;
  background: var(--nw-white);
}

.nw-scenario-grid article > span {
  margin-bottom: 74px;
}

.nw-about-hero {
  padding-top: 128px;
  padding-bottom: 128px;
}

.nw-about-grid {
  align-items: end;
}

.nw-about-grid h1 {
  font-size: 64px;
}

.nw-about-grid > div:last-child {
  padding-bottom: 6px;
}

.nw-about-grid p {
  margin: 0 0 16px;
  color: var(--nw-copy);
  font-size: 16px;
  line-height: 1.7;
}

.nw-belief-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.nw-belief-grid article {
  min-height: 280px;
  padding: 26px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.nw-belief-grid h3 {
  margin-top: 94px;
  color: var(--nw-white);
}

.nw-demo-main {
  min-height: calc(100vh - 72px);
  background:
    linear-gradient(90deg, rgba(11, 20, 38, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(11, 20, 38, 0.035) 1px, transparent 1px),
    #f9fbfc;
  background-size: 56px 56px;
}

.nw-demo-section {
  padding: 88px 0 112px;
}

.nw-demo-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(480px, 0.8fr);
  align-items: start;
  gap: 88px;
}

.nw-demo-copy {
  padding-top: 22px;
}

.nw-demo-copy h1 {
  font-size: 50px;
}

.nw-demo-notes {
  display: grid;
  gap: 0;
  margin-top: 42px;
  border-top: 1px solid var(--nw-line);
}

.nw-demo-notes span {
  min-height: 58px;
  display: grid;
  grid-template-columns: 40px 1fr;
  align-items: center;
  border-bottom: 1px solid var(--nw-line);
  color: var(--nw-copy);
  font-size: 12px;
  font-weight: 650;
}

.nw-demo-notes b {
  color: var(--nw-teal-dark);
  font-size: 9px;
}

.nw-demo-form {
  padding: 28px;
  border: 1px solid var(--nw-line);
  border-radius: 8px;
  background: var(--nw-white);
  box-shadow: 0 26px 60px rgba(11, 20, 38, 0.09);
}

.nw-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.nw-demo-form label {
  display: block;
  margin-bottom: 17px;
}

.nw-demo-form label > span {
  display: block;
  margin-bottom: 7px;
  color: var(--nw-ink-soft);
  font-size: 11px;
  font-weight: 750;
}

.nw-demo-form input,
.nw-demo-form textarea {
  width: 100%;
  border: 1px solid #ccd5df;
  border-radius: 6px;
  color: var(--nw-ink);
  background: #fbfcfd;
  font: inherit;
  font-size: 13px;
  outline: none;
}

.nw-demo-form input {
  height: 44px;
  padding: 0 11px;
}

.nw-demo-form textarea {
  min-height: 120px;
  padding: 11px;
  resize: vertical;
}

.nw-demo-form input:focus,
.nw-demo-form textarea:focus {
  border-color: var(--nw-teal-dark);
  box-shadow: 0 0 0 3px rgba(8, 119, 125, 0.09);
}

.nw-form-status {
  margin-bottom: 16px;
  padding: 11px 12px;
  border: 1px solid #b8ded9;
  border-radius: 6px;
  color: #096b64;
  background: #edf8f6;
  font-size: 11px;
  line-height: 1.5;
}

.nw-form-note {
  margin: 13px 0 0;
  color: var(--nw-muted);
  font-size: 10px;
}

.nw-footer {
  color: #b6c1cf;
  background: var(--nw-ink);
}

.nw-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 48px;
  padding-top: 68px;
  padding-bottom: 68px;
}

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

.nw-footer p {
  margin: 15px 0 0;
  color: #8e9caf;
  font-size: 11px;
  line-height: 1.6;
}

.nw-footer-grid > div:not(.nw-footer-brand) {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nw-footer strong {
  margin-bottom: 6px;
  color: var(--nw-white);
  font-size: 10px;
  text-transform: uppercase;
}

.nw-footer a {
  width: fit-content;
  color: #98a6b8;
  text-decoration: none;
  font-size: 11px;
}

.nw-footer a:hover {
  color: var(--nw-white);
}

.nw-footer-bottom {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #78879b;
  font-size: 10px;
}

@media (max-width: 1040px) {
  .nw-header-inner {
    grid-template-columns: 1fr auto;
  }

  .nw-main-nav {
    display: none;
  }

  .nw-hero-grid,
  .nw-page-hero-grid {
    grid-template-columns: 1fr;
    max-height: none;
  }

  .nw-hero-grid {
    min-height: auto;
  }

  .nw-hero-copy {
    max-width: 800px;
  }

  .nw-hero-console,
  .nw-hero-screenshot,
  .nw-policy-workbench,
  .nw-scenario-matrix {
    max-width: 720px;
    transform: none;
  }

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

  .nw-problem-grid,
  .nw-split,
  .nw-feature-split,
  .nw-feature-reverse,
  .nw-about-grid,
  .nw-demo-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .nw-evidence-feature,
  .nw-evidence-feature-reverse {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .nw-evidence-feature-reverse .nw-screenshot-frame {
    order: 2;
  }

  .nw-evidence-feature-reverse .nw-evidence-copy {
    order: 1;
  }

  .nw-feature-reverse .nw-section-heading {
    order: 1;
  }

  .nw-feature-reverse .nw-product-visual {
    order: 2;
  }

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

  .nw-audience-grid article,
  .nw-audience-grid article:nth-child(4),
  .nw-audience-grid article:nth-child(5) {
    grid-column: span 1;
  }

  .nw-audience-grid article:last-child {
    grid-column: span 2;
  }

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

  .nw-footer-preview {
    display: none !important;
  }
}

@media (max-width: 720px) {
  .nw-container {
    width: min(100% - 32px, 1180px);
  }

  .nw-header-inner {
    min-height: 64px;
    grid-template-columns: 1fr auto auto;
    gap: 10px;
  }

  .nw-menu-toggle {
    display: block;
  }

  .nw-main-nav {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 8px 16px 16px;
    border-bottom: 1px solid var(--nw-line);
    background: var(--nw-white);
  }

  .nw-main-nav.is-open {
    display: flex;
  }

  .nw-main-nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #edf1f4;
  }

  .nw-login-link {
    display: none;
  }

  .nw-button-small {
    min-height: 36px;
    padding: 0 11px;
    font-size: 11px;
  }

  .nw-hero-grid {
    gap: 0;
    padding-top: 34px;
    padding-bottom: 30px;
  }

  .nw-hero-copy h1,
  .nw-page-hero h1,
  .nw-demo-copy h1,
  .nw-about-grid h1 {
    font-size: 39px;
    line-height: 1.05;
  }

  .nw-hero-copy > p,
  .nw-page-hero-grid > div:first-child > p,
  .nw-demo-copy > p {
    margin-top: 18px;
    font-size: 15px;
  }

  .nw-actions {
    flex-direction: column;
  }

  .nw-actions .nw-button {
    width: 100%;
  }

  .nw-trust-line {
    display: none;
  }

  .nw-hero-console {
    display: none;
  }

  .nw-hero-screenshot {
    width: 100%;
    max-height: 130px;
    transform: none;
  }

  .nw-hero-screenshot .nw-screenshot-bar {
    min-height: 30px;
  }

  .nw-hero-screenshot img {
    min-height: 108px;
    object-position: 18% 12%;
  }

  .nw-band {
    padding: 68px 0;
  }

  .nw-section-heading h2,
  .nw-preview-cta h2 {
    font-size: 32px;
  }

  .nw-pillar-grid,
  .nw-cycle-grid,
  .nw-feature-grid,
  .nw-scenario-grid,
  .nw-belief-grid,
  .nw-audience-grid {
    grid-template-columns: 1fr;
  }

  .nw-pillar-card {
    min-height: 210px;
  }

  .nw-pillar-card h3 {
    margin-top: 58px;
  }

  .nw-audience-grid article,
  .nw-audience-grid article:last-child {
    grid-column: span 1;
  }

  .nw-connection-map {
    min-height: 360px;
  }

  .nw-evidence-grid {
    gap: 48px;
    margin-top: 36px;
  }

  .nw-evidence-copy h3 {
    font-size: 24px;
  }

  .nw-site-preview {
    max-height: 460px;
    margin-top: 34px;
  }

  .nw-map-orbit-one {
    width: 210px;
    height: 210px;
  }

  .nw-map-orbit-two {
    width: 330px;
    height: 330px;
  }

  .nw-node-docs { top: 10%; left: 35%; }
  .nw-node-risks { top: 35%; right: 3%; }
  .nw-node-controls { right: 8%; bottom: 10%; }
  .nw-node-objectives { bottom: 10%; left: 5%; }
  .nw-node-scenarios { top: 35%; left: 2%; }

  .nw-page-hero {
    padding: 68px 0 58px;
  }

  .nw-page-hero-grid {
    gap: 42px;
  }

  .nw-workbench-body {
    grid-template-columns: 1fr;
  }

  .nw-workbench-body aside {
    min-height: auto;
  }

  .nw-matrix-axis,
  .nw-matrix-row {
    grid-template-columns: minmax(0, 1fr) repeat(3, 28px);
    gap: 5px;
  }

  .nw-matrix-row i {
    width: 22px;
  }

  .nw-about-hero {
    padding-top: 82px;
    padding-bottom: 82px;
  }

  .nw-demo-section {
    padding: 48px 0 72px;
  }

  .nw-demo-form {
    padding: 20px;
  }

  .nw-demo-notes {
    display: none;
  }

  .nw-field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .nw-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 38px 24px;
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .nw-footer-brand {
    grid-column: span 2;
  }

  .nw-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 16px 0;
  }
}

@media (max-width: 390px) {
  .nw-header-actions .nw-button {
    padding: 0 8px;
  }

  .nw-brand-word {
    font-size: 16px;
  }

  .nw-brand-mark {
    width: 29px;
    height: 29px;
  }

  .nw-hero-copy h1,
  .nw-page-hero h1,
  .nw-demo-copy h1,
  .nw-about-grid h1 {
    font-size: 35px;
  }
}

/* Redesigned Homepage & Walkthrough Video CSS */

/* CSS Fallback Mockups (Bloomberg / Palantir / Linear-like dark terminal console layout) */
.nw-screenshot-fallback {
  display: none;
  width: 100%;
  height: 100%;
}

.no-image .nw-screenshot-fallback {
  display: block;
}

.nw-mockup-placeholder {
  width: 100%;
  font-family: 'Inter', monospace;
  background: #090e1a;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  color: #c5d1e6;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.nw-mockup-header {
  height: 38px;
  background: #0d1527;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 16px;
}

.nw-mockup-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.nw-mockup-dot:nth-child(1) { background: #ff5f56; }
.nw-mockup-dot:nth-child(2) { background: #ffbd2e; }
.nw-mockup-dot:nth-child(3) { background: #27c93f; }

.nw-mockup-title {
  font-size: 11px;
  font-weight: 600;
  margin-left: 8px;
  color: #7b8eaf;
}

.nw-mockup-badge {
  margin-left: auto;
  font-size: 8px;
  font-weight: 800;
  background: rgba(0, 169, 169, 0.15);
  color: #00bebe;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.nw-mockup-body {
  flex-grow: 1;
  display: flex;
  min-height: 220px;
}

.nw-mockup-sidebar {
  width: 44px;
  background: #0b1120;
  border-right: 1px solid rgba(255, 255, 255, 0.04);
  padding: 12px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.nw-mockup-item {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
}

.nw-mockup-item.active {
  background: rgba(0, 169, 169, 0.25);
  border: 1px solid rgba(0, 169, 169, 0.5);
}

.nw-mockup-main {
  flex-grow: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: radial-gradient(circle at 10% 10%, rgba(0, 169, 169, 0.03) 0%, transparent 80%);
}

.nw-mockup-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.nw-mockup-stat-card {
  background: #0d1527;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 6px;
  padding: 10px;
}

.nw-mockup-stat-card span {
  display: block;
  font-size: 8px;
  color: #7b8eaf;
  text-transform: uppercase;
}

.nw-mockup-stat-card strong {
  display: block;
  font-size: 13px;
  margin-top: 4px;
  color: #fff;
}

.nw-mockup-chart-placeholder {
  height: 110px;
  border: 1px solid rgba(255, 255, 255, 0.03);
  background: rgba(255, 255, 255, 0.01);
  border-radius: 6px;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  padding: 12px;
}

.nw-mockup-bar {
  width: 14%;
  background: linear-gradient(180deg, rgba(0, 169, 169, 0.7) 0%, rgba(0, 169, 169, 0.2) 100%);
  border-radius: 3px 3px 0 0;
  border: 1px solid rgba(0, 169, 169, 0.4);
}

/* Policy mockup specific */
.nw-mockup-doc-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 8px;
}

.nw-mockup-doc-header strong {
  display: block;
  font-size: 13px;
  color: #fff;
}

.nw-mockup-doc-header span {
  font-size: 9px;
  color: #7b8eaf;
}

.nw-mockup-clause-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nw-mockup-clause {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 6px;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.nw-mockup-clause-num {
  font-weight: 700;
  font-size: 11px;
  color: #00bebe;
}

.nw-mockup-clause-text {
  font-size: 10px;
  color: #a4b3cc;
  flex-grow: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nw-mockup-clause-status {
  font-size: 7px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
}

.nw-mockup-clause-status.active {
  background: rgba(39, 201, 63, 0.15);
  color: #27c93f;
}

.nw-mockup-clause-status.pending {
  background: rgba(255, 189, 46, 0.15);
  color: #ffbd2e;
}

/* Decision mockup specific */
.nw-mockup-scenario-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 8px;
}

.nw-mockup-scenario-header strong {
  display: block;
  font-size: 12px;
  color: #fff;
}

.nw-mockup-scenario-header span {
  font-size: 9px;
  color: #ff5f56;
}

.nw-mockup-response-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nw-mockup-option {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 6px;
  padding: 10px;
}

.nw-mockup-option span {
  display: block;
  font-size: 10px;
  color: #c5d1e6;
  margin-bottom: 6px;
}

.nw-mockup-bar-confidence {
  height: 6px;
  border-radius: 3px;
  background: #00a9a9;
  font-size: 0;
}

/* Ask mockup specific */
.nw-mockup-chat {
  width: 100%;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nw-mockup-message {
  border-radius: 8px;
  padding: 10px 14px;
  max-width: 85%;
  font-size: 10px;
  line-height: 1.5;
}

.nw-mockup-message.user {
  background: #0d1527;
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #fff;
  align-self: flex-end;
}

.nw-mockup-message.assistant {
  background: rgba(0, 169, 169, 0.06);
  border: 1px solid rgba(0, 169, 169, 0.15);
  color: #a4b3cc;
  align-self: flex-start;
}

.nw-mockup-message.assistant ul {
  margin: 6px 0 0;
  padding-left: 14px;
}

/* See Navis in Action section layout & visual structure */
.nw-preview-section {
  padding: 104px 0 64px;
  background: #ffffff;
}

.nw-main-preview-card {
  max-width: 900px;
  margin: 0 auto 72px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(11, 20, 38, 0.08);
  box-shadow: 0 30px 70px rgba(11, 20, 38, 0.07);
}

.nw-main-preview-media {
  background: #0b1426;
  padding: 24px;
}

.nw-main-preview-frame {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.nw-main-preview-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.nw-play-overlay-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(0, 169, 169, 0.95);
  color: #fff;
  font-size: 24px;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 169, 169, 0.35);
  transition: transform 160ms ease, background 160ms ease;
  padding-left: 4px;
}

.nw-play-overlay-btn:hover {
  transform: translate(-50%, -50%) scale(1.08);
  background: #00bebe;
}

.nw-main-preview-info {
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: #ffffff;
  border-top: 1px solid rgba(11, 20, 38, 0.06);
}

.nw-main-preview-caption {
  font-size: 14px;
  line-height: 1.6;
  color: var(--nw-copy);
  margin: 0;
  text-align: left;
}

/* Chapters layout - treating screenshots as hero assets */
.nw-chapters-section {
  padding: 0 0 104px;
  background: #ffffff;
}

.nw-chapters-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.nw-chapter-card {
  border: 1px solid rgba(11, 20, 38, 0.08);
  border-radius: 10px;
  overflow: hidden;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
  cursor: pointer;
  text-align: left;
}

.nw-chapter-card:hover {
  border-color: rgba(11, 20, 38, 0.16);
  box-shadow: 0 15px 35px rgba(11, 20, 38, 0.05);
  transform: translateY(-2px);
}

.nw-chapter-media {
  position: relative;
  background: #0b1426;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 1px solid rgba(11, 20, 38, 0.06);
}

.nw-chapter-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nw-chapter-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 20, 38, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 150ms ease;
}

.nw-chapter-card:hover .nw-chapter-overlay {
  opacity: 1;
}

.nw-chapter-play-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0, 169, 169, 0.95);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  padding-left: 3px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.nw-chapter-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.nw-chapter-time {
  font-size: 9px;
  font-weight: 800;
  color: var(--nw-teal-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.nw-chapter-content h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--nw-ink);
  margin: 0 0 10px;
  line-height: 1.4;
}

.nw-chapter-content p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--nw-copy);
  margin: 0 0 20px;
  flex-grow: 1;
}

.nw-chapter-cta {
  font-size: 12px;
  font-weight: 700;
  color: var(--nw-teal-dark);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nw-chapter-card:hover .nw-chapter-cta {
  color: var(--nw-teal);
}

/* Video Modal */
.nw-video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nw-video-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 20, 38, 0.85);
  backdrop-filter: blur(8px);
}

.nw-video-modal-container {
  position: relative;
  z-index: 1001;
  width: min(92%, 960px);
  aspect-ratio: 16 / 9;
  background: #000000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nw-video-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 1002;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 22px;
  font-weight: 300;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 150ms ease, transform 150ms ease;
  line-height: 1;
}

.nw-video-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.nw-video-modal-body {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nw-video-element {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000000;
}

/* Graceful missing video message styling */
.nw-video-placeholder-message {
  text-align: center;
  color: #ffffff;
  padding: 48px;
}

.nw-placeholder-icon {
  font-size: 38px;
  color: #00a9a9;
  display: block;
  margin-bottom: 16px;
}

.nw-video-placeholder-message h3 {
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 12px;
}

.nw-video-placeholder-message p {
  font-size: 14px;
  color: #8e9caf;
  max-width: 380px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Responsive adjustments for new layout */
.nw-hero-visual-container {
  width: 100%;
  display: flex;
  justify-content: center;
}

.nw-section-heading-centered {
  text-align: center;
  margin: 0 auto 52px;
}

.nw-section-subtitle {
  max-width: 640px;
  margin: 18px auto 0 !important;
}

@media (max-width: 1040px) {
  .nw-chapters-grid {
    grid-template-columns: 1fr;
    padding: 0 24px;
    gap: 24px;
  }
}

@media (max-width: 720px) {
  .nw-preview-section {
    padding: 68px 0 48px;
  }
  .nw-main-preview-info {
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    gap: 20px;
  }
  .nw-main-preview-caption {
    font-size: 13px;
  }
  .nw-play-overlay-btn {
    width: 58px;
    height: 58px;
    font-size: 20px;
    padding-left: 3px;
  }
}

