:root {
  --nsg-navy: #0b1220;
  --nsg-navy-2: #111827;
  --nsg-slate: #334155;
  --nsg-muted: #64748b;
  --nsg-blue: #2563eb;
  --nsg-cyan: #06b6d4;
  --nsg-green: #10b981;
  --nsg-gray: #f8fafc;
  --nsg-border: #dbe3ef;
  --nsg-white: #ffffff;
  --nsg-shadow: 0 18px 50px rgba(15, 23, 42, 0.14);
  --nsg-radius: 8px;
  --nsg-radius-sm: 6px;
  --nsg-container: 1180px;
  --nsg-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--nsg-slate);
  background: var(--nsg-white);
  font-family: var(--nsg-font);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--nsg-blue);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #1d4ed8;
}

:focus-visible {
  outline: 3px solid rgba(6, 182, 212, 0.6);
  outline-offset: 3px;
}

.skip-link,
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.skip-link:focus {
  z-index: 9999;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  clip: auto;
  padding: 10px 14px;
  color: var(--nsg-white);
  background: var(--nsg-blue);
  border-radius: var(--nsg-radius-sm);
}

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

.container.narrow {
  width: min(100% - 40px, 820px);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 16px;
  color: var(--nsg-navy);
  font-weight: 750;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.45rem, 4.8vw, 4.7rem);
}

h2 {
  font-size: clamp(2rem, 3vw, 3.1rem);
}

h3 {
  font-size: clamp(1.25rem, 1.7vw, 1.55rem);
}

p {
  margin: 0 0 18px;
}

ul,
ol {
  margin-top: 0;
}

.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(219, 227, 239, 0.9);
  backdrop-filter: saturate(160%) blur(16px);
}

.admin-bar .site-header {
  top: 32px;
}

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

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--nsg-navy);
  text-decoration: none;
}

.brand-symbol {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--nsg-white);
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.98), rgba(6, 182, 212, 0.94)),
    var(--nsg-blue);
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.25);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand-text {
  display: grid;
  gap: 1px;
}

.brand-text strong {
  color: var(--nsg-navy);
  font-size: 1rem;
  line-height: 1.1;
}

.brand-text span {
  color: var(--nsg-muted);
  font-size: 0.78rem;
  line-height: 1.2;
}

.main-navigation {
  justify-self: end;
  min-width: 0;
  display: flex;
  align-items: center;
}

.menu,
.footer-menu {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 4px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-navigation > ul.menu {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
}

.main-navigation a {
  display: block;
  padding: 8px 8px;
  color: var(--nsg-slate);
  border-radius: 6px;
  font-size: 0.84rem;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
  color: var(--nsg-blue);
  background: rgba(37, 99, 235, 0.08);
}

.header-actions,
.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 0.95rem;
  font-weight: 750;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

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

.button-primary {
  color: var(--nsg-white);
  background: var(--nsg-blue);
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.22);
}

.button-primary:hover {
  color: var(--nsg-white);
  background: #1d4ed8;
}

.button-secondary {
  color: var(--nsg-navy);
  background: var(--nsg-white);
  border-color: var(--nsg-border);
}

.button-secondary:hover {
  color: var(--nsg-blue);
  border-color: rgba(37, 99, 235, 0.45);
}

.button-ghost {
  color: var(--nsg-slate);
  background: transparent;
  border-color: var(--nsg-border);
}

.button-ghost:hover {
  color: var(--nsg-blue);
  background: rgba(37, 99, 235, 0.07);
}

.button-light {
  color: var(--nsg-white);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
}

.button-light:hover {
  color: var(--nsg-white);
  background: rgba(255, 255, 255, 0.18);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--nsg-navy);
  background: var(--nsg-white);
  border: 1px solid var(--nsg-border);
  border-radius: 7px;
}

.menu-toggle-bars,
.menu-toggle-bars::before,
.menu-toggle-bars::after {
  display: block;
  width: 19px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  content: "";
}

.menu-toggle-bars {
  position: relative;
}

.menu-toggle-bars::before {
  position: absolute;
  top: -6px;
}

.menu-toggle-bars::after {
  position: absolute;
  top: 6px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(82px, 10vw, 132px) 0 clamp(58px, 8vw, 96px);
  color: rgba(255, 255, 255, 0.84);
  background:
    linear-gradient(120deg, rgba(11, 18, 32, 0.96) 0%, rgba(15, 23, 42, 0.92) 48%, rgba(15, 68, 112, 0.88) 100%),
    var(--nsg-navy);
}

.hero::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.075) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.3), #000 42%, rgba(0, 0, 0, 0.75));
  content: "";
}

.hero::after {
  position: absolute;
  right: max(24px, calc((100vw - var(--nsg-container)) / 2));
  bottom: 52px;
  width: min(420px, 36vw);
  height: min(420px, 36vw);
  background: url("../img/abstract-network.svg") center / contain no-repeat;
  opacity: 0.72;
  content: "";
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 770px;
}

.hero h1,
.hero h2,
.hero h3,
.dark-section h2,
.dark-section h3,
.site-footer h2,
.site-footer h3 {
  color: var(--nsg-white);
}

.hero-copy {
  max-width: 760px;
  color: inherit;
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
  line-height: 1.65;
}

.hero .button-group {
  margin-top: 30px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--nsg-blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow,
.dark-section .eyebrow,
.site-footer .eyebrow {
  color: #67e8f9;
}

.eyebrow::before {
  display: inline-block;
  width: 24px;
  height: 2px;
  background: currentColor;
  border-radius: 4px;
  content: "";
}

.page-hero {
  padding: clamp(72px, 8vw, 114px) 0;
  background: var(--nsg-gray);
}

.compact-hero {
  padding: clamp(56px, 7vw, 86px) 0;
  border-bottom: 1px solid var(--nsg-border);
  background:
    linear-gradient(120deg, rgba(248, 250, 252, 0.98), rgba(239, 246, 255, 0.9)),
    var(--nsg-gray);
}

.split-hero,
.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.hero-panel {
  padding: 28px;
  color: var(--nsg-slate);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(219, 227, 239, 0.95);
  border-radius: var(--nsg-radius);
  box-shadow: var(--nsg-shadow);
}

.hero-panel h2 {
  color: var(--nsg-navy);
  font-size: 1.35rem;
}

.section {
  padding: clamp(64px, 8vw, 104px) 0;
}

.section-tight {
  padding: clamp(44px, 5vw, 68px) 0;
}

.section-gray {
  background: var(--nsg-gray);
}

.dark-section {
  color: rgba(255, 255, 255, 0.78);
  background:
    linear-gradient(130deg, rgba(11, 18, 32, 0.98), rgba(17, 24, 39, 0.96)),
    var(--nsg-navy);
}

.section-header {
  max-width: 810px;
  margin-bottom: 36px;
}

.section-header.center {
  margin-inline: auto;
  text-align: center;
}

.section-header.center .eyebrow {
  justify-content: center;
}

.lead {
  color: var(--nsg-slate);
  font-size: 1.14rem;
}

.dark-section .lead,
.dark-section p {
  color: rgba(255, 255, 255, 0.78);
}

.trust-bar {
  background: var(--nsg-white);
  border-bottom: 1px solid var(--nsg-border);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--nsg-border);
}

.trust-item {
  min-height: 116px;
  padding: 26px;
  background: var(--nsg-white);
}

.trust-item strong {
  display: block;
  margin-bottom: 8px;
  color: var(--nsg-navy);
}

.trust-item p {
  margin: 0;
  color: var(--nsg-muted);
  font-size: 0.95rem;
}

.card-grid {
  display: grid;
  gap: 20px;
}

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

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

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

.content-card,
.service-card,
.industry-card,
.process-card,
.resource-card,
.faq-card,
.stat-card {
  padding: 26px;
  background: var(--nsg-white);
  border: 1px solid var(--nsg-border);
  border-radius: var(--nsg-radius);
}

.content-card,
.service-card,
.industry-card,
.resource-card,
.faq-card,
.stat-card {
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.06);
}

.service-card,
.industry-card,
.content-card {
  min-height: 100%;
}

a.service-card,
a.industry-card,
a.content-card {
  color: inherit;
  text-decoration: none;
}

.service-card h3,
.industry-card h3,
.content-card h3 {
  font-size: 1.25rem;
}

.service-card p,
.industry-card p,
.content-card p {
  color: var(--nsg-muted);
}

.card-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 18px;
  color: var(--nsg-blue);
  background: rgba(37, 99, 235, 0.09);
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 8px;
  font-weight: 800;
}

.dark-section .content-card,
.dark-section .service-card,
.dark-section .industry-card,
.dark-section .process-card,
.dark-section .resource-card,
.dark-section .stat-card {
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.dark-section .content-card h3,
.dark-section .service-card h3,
.dark-section .industry-card h3,
.dark-section .process-card h3,
.dark-section .stat-card h3 {
  color: var(--nsg-white);
}

.dark-section .content-card p,
.dark-section .service-card p,
.dark-section .industry-card p {
  color: rgba(255, 255, 255, 0.72);
}

.feature-list,
.check-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li,
.check-list li {
  position: relative;
  padding-left: 26px;
}

.feature-list li::before,
.check-list li::before {
  position: absolute;
  top: 0.74em;
  left: 0;
  width: 9px;
  height: 9px;
  background: var(--nsg-cyan);
  border-radius: 999px;
  content: "";
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  counter-reset: process;
}

.process-card {
  position: relative;
  min-height: 160px;
  padding: 24px 20px;
}

.process-card::before {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  margin-bottom: 18px;
  color: var(--nsg-white);
  background: var(--nsg-blue);
  border-radius: 8px;
  counter-increment: process;
  content: counter(process);
  font-size: 0.88rem;
  font-weight: 800;
}

.process-card h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.process-card p {
  margin: 0;
  color: var(--nsg-muted);
  font-size: 0.93rem;
  line-height: 1.55;
}

.cta-band {
  position: relative;
  overflow: hidden;
  padding: clamp(44px, 6vw, 70px);
  color: rgba(255, 255, 255, 0.82);
  background:
    linear-gradient(120deg, rgba(37, 99, 235, 0.94), rgba(8, 145, 178, 0.94)),
    var(--nsg-blue);
  border-radius: var(--nsg-radius);
}

.cta-band::after {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.45;
  content: "";
}

.cta-band > * {
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  color: var(--nsg-white);
}

.cta-band p {
  max-width: 720px;
}

.resource-list {
  display: grid;
  gap: 14px;
}

.resource-card {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
}

.resource-card h3 {
  margin-bottom: 5px;
  font-size: 1.08rem;
}

.resource-card p {
  margin: 0;
  color: var(--nsg-muted);
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list details {
  padding: 20px 22px;
  background: var(--nsg-white);
  border: 1px solid var(--nsg-border);
  border-radius: var(--nsg-radius);
}

.faq-list summary {
  color: var(--nsg-navy);
  cursor: pointer;
  font-weight: 750;
}

.faq-list details p {
  margin: 12px 0 0;
  color: var(--nsg-muted);
}

.nsg-form-wrap {
  padding: 30px;
  background: var(--nsg-white);
  border: 1px solid var(--nsg-border);
  border-radius: var(--nsg-radius);
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.06);
}

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

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

.nsg-field {
  display: grid;
  gap: 7px;
}

.nsg-field.full {
  grid-column: 1 / -1;
}

.nsg-field label,
.nsg-consent label {
  color: var(--nsg-navy);
  font-size: 0.94rem;
  font-weight: 720;
}

.nsg-field input,
.nsg-field select,
.nsg-field textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  color: var(--nsg-navy);
  background: var(--nsg-white);
  border: 1px solid var(--nsg-border);
  border-radius: 7px;
  font: inherit;
}

.nsg-field textarea {
  min-height: 132px;
  resize: vertical;
}

.nsg-field input:focus,
.nsg-field select:focus,
.nsg-field textarea:focus {
  border-color: rgba(37, 99, 235, 0.75);
  outline: 3px solid rgba(37, 99, 235, 0.12);
}

.nsg-help,
.nsg-form-note,
.nsg-note {
  color: var(--nsg-muted);
  font-size: 0.88rem;
}

.nsg-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.nsg-consent input {
  width: 18px;
  height: 18px;
  margin-top: 4px;
}

.nsg-message {
  padding: 14px 16px;
  border-radius: 7px;
  font-weight: 650;
}

.nsg-message.success {
  color: #065f46;
  background: #d1fae5;
  border: 1px solid #a7f3d0;
}

.nsg-message.error {
  color: #991b1b;
  background: #fee2e2;
  border: 1px solid #fecaca;
}

.nsg-hp {
  position: absolute;
  left: -5000px;
  opacity: 0;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat-card strong {
  display: block;
  color: var(--nsg-navy);
  font-size: 1.5rem;
  line-height: 1.1;
}

.stat-card span {
  color: var(--nsg-muted);
}

.content-table,
.nsg-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  background: var(--nsg-white);
  border: 1px solid var(--nsg-border);
  border-radius: var(--nsg-radius);
}

.content-table th,
.content-table td,
.nsg-table th,
.nsg-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--nsg-border);
  text-align: left;
  vertical-align: top;
}

.content-table th,
.nsg-table th {
  width: 30%;
  color: var(--nsg-navy);
  background: var(--nsg-gray);
}

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

.blog-card .card-meta,
.card-meta {
  margin-bottom: 12px;
  color: var(--nsg-blue);
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-card h2 {
  font-size: 1.35rem;
}

.blog-card h2 a,
.result-item h2 a {
  color: var(--nsg-navy);
  text-decoration: none;
}

.blog-card h2 a:hover,
.result-item h2 a:hover {
  color: var(--nsg-blue);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--nsg-blue);
  font-weight: 780;
  text-decoration: none;
}

.text-link::after {
  content: "->";
}

.entry-content {
  color: var(--nsg-slate);
}

.entry-content > * + * {
  margin-top: 22px;
}

.entry-content h2,
.entry-content h3 {
  margin-top: 42px;
}

.entry-content ul,
.entry-content ol {
  padding-left: 1.25rem;
}

.single-article .entry-content {
  font-size: 1.05rem;
}

.article-cta {
  margin-top: 48px;
  padding: 28px;
  background: var(--nsg-gray);
  border: 1px solid var(--nsg-border);
  border-radius: var(--nsg-radius);
}

.result-list {
  display: grid;
  gap: 20px;
  margin-top: 28px;
}

.result-item {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--nsg-border);
}

.pagination-wrap {
  margin-top: 36px;
}

.site-footer {
  color: rgba(255, 255, 255, 0.76);
  background: var(--nsg-navy);
}

.footer-cta {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  padding: clamp(44px, 6vw, 70px) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-cta h2 {
  max-width: 780px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 42px;
  padding: 54px 0;
}

.footer-logo .brand-text strong,
.footer-logo .brand-text span {
  color: var(--nsg-white);
}

.footer-brand p {
  max-width: 420px;
  margin-top: 20px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
}

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

.footer-menu {
  display: grid;
  gap: 8px;
  align-items: start;
}

.footer-contact {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-contact span {
  display: block;
  color: #67e8f9;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-bottom {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.92rem;
}

.footer-bottom p {
  margin: 0;
}

/* Custom logo sizing — prevents the logo image from collapsing the nav grid column */
.custom-logo-link {
  display: flex;
  align-items: center;
}

.custom-logo {
  display: block;
  max-height: 50px;
  width: auto;
  max-width: 260px;
}

/* At medium desktops (1025–1280px) hide the CTA buttons so the nav has room */
@media (min-width: 1025px) and (max-width: 1280px) {
  .header-actions {
    display: none;
  }
}

@media (max-width: 1024px) {
  .header-inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .main-navigation {
    position: absolute;
    top: 100%;
    right: 20px;
    left: 20px;
    display: none;
    padding: 16px;
    background: var(--nsg-white);
    border: 1px solid var(--nsg-border);
    border-radius: 8px;
    box-shadow: var(--nsg-shadow);
  }

  .main-navigation.is-open {
    display: block;
  }

  .main-navigation .menu {
    display: grid;
    gap: 4px;
  }

  .header-actions {
    display: none;
  }

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

  .card-grid.four,
  .trust-grid,
  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  .container,
  .container.narrow {
    width: min(100% - 28px, var(--nsg-container));
  }

  .admin-bar .site-header {
    top: 46px;
  }

  .header-inner {
    min-height: 72px;
  }

  .brand-symbol {
    width: 42px;
    height: 42px;
  }

  .brand-text strong {
    font-size: 0.95rem;
  }

  .hero::after {
    display: none;
  }

  .split-hero,
  .split-layout,
  .card-grid.two,
  .card-grid.three,
  .card-grid.four,
  .process-grid,
  .trust-grid,
  .stat-grid,
  .nsg-form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .trust-item {
    min-height: auto;
  }

  .footer-cta,
  .footer-bottom,
  .resource-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .cta-band {
    padding: 32px 24px;
  }

  .nsg-form-wrap {
    padding: 22px;
  }

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

  .content-table th,
  .nsg-table th {
    border-bottom: 0;
  }
}

@media (max-width: 480px) {
  .button,
  .button-group {
    width: 100%;
  }

  .button {
    padding-right: 14px;
    padding-left: 14px;
  }

  .hero,
  .page-hero {
    padding-top: 52px;
  }

  .brand-text span {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* ==========================================================================
   NSG Design System v2 — Codex page redesign (nsg-* components)
   Scoped to .nsg-site wrapper present in all redesigned page content.
   ========================================================================== */

.nsg-site{--navy:#08111f;--ink:#111827;--slate:#334155;--muted:#64748b;--blue:#2563eb;--blue-2:#1d4ed8;--cyan:#06b6d4;--teal:#14b8a6;--green:#10b981;--gold:#f59e0b;--gray:#f8fafc;--soft:#eef5ff;--border:#dbe3ef;--white:#fff;--shadow:0 18px 55px rgba(15,23,42,.12);color:var(--slate);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px;line-height:1.65;letter-spacing:0}
.nsg-site *{box-sizing:border-box}.nsg-site a{color:var(--blue)}.nsg-container{width:min(100% - 40px,1180px);margin-inline:auto}.nsg-narrow{width:min(100% - 40px,840px);margin-inline:auto}
.nsg-site h1,.nsg-site h2,.nsg-site h3{margin:0 0 16px;color:var(--navy);font-weight:780;line-height:1.05;letter-spacing:0}.nsg-site h1{font-size:clamp(2.65rem,5.1vw,5.2rem)}.nsg-site h2{font-size:clamp(2rem,3vw,3.2rem)}.nsg-site h3{font-size:clamp(1.18rem,1.7vw,1.55rem)}
.nsg-site p{margin:0 0 18px}.nsg-eyebrow{display:inline-flex;align-items:center;gap:8px;margin-bottom:14px;color:var(--blue);font-size:.78rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.nsg-eyebrow:before{display:inline-block;width:24px;height:2px;background:currentColor;border-radius:4px;content:""}
.nsg-hero{position:relative;overflow:hidden;padding:clamp(86px,10vw,142px) 0 clamp(64px,8vw,102px);color:rgba(255,255,255,.84);background:radial-gradient(circle at 20% 12%,rgba(37,99,235,.28),transparent 34%),linear-gradient(120deg,rgba(8,17,31,.99),rgba(15,23,42,.97) 48%,rgba(11,73,95,.9)),#08111f}.nsg-hero:before{position:absolute;inset:0;pointer-events:none;background-image:linear-gradient(rgba(255,255,255,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.08) 1px,transparent 1px);background-size:54px 54px;mask-image:linear-gradient(90deg,rgba(0,0,0,.9),rgba(0,0,0,.55));content:""}.nsg-hero .nsg-container{position:relative;z-index:1}.nsg-hero h1,.nsg-dark h2,.nsg-dark h3,.nsg-cta h2{color:#fff}.nsg-hero h1{max-width:900px}.nsg-hero .nsg-eyebrow,.nsg-dark .nsg-eyebrow,.nsg-cta .nsg-eyebrow{color:#67e8f9}.nsg-hero-copy{max-width:780px;color:inherit;font-size:clamp(1.08rem,1.6vw,1.28rem);line-height:1.65}
.nsg-page-hero{padding:clamp(62px,7vw,94px) 0;border-bottom:1px solid var(--border);background:linear-gradient(120deg,rgba(248,250,252,.98),rgba(238,245,255,.95)),var(--gray)}.nsg-section{padding:clamp(64px,8vw,104px) 0}.nsg-section-tight{padding:clamp(44px,5vw,68px) 0}.nsg-gray{background:var(--gray)}.nsg-soft{background:linear-gradient(180deg,#fff 0%,#f7fbff 100%)}.nsg-dark{color:rgba(255,255,255,.78);background:linear-gradient(130deg,rgba(8,17,31,.99),rgba(17,24,39,.97)),#08111f}
.nsg-lead{color:var(--slate);font-size:1.14rem}.nsg-dark .nsg-lead,.nsg-dark p{color:rgba(255,255,255,.78)}.nsg-header{max-width:820px;margin-bottom:36px}.nsg-center{text-align:center;margin-inline:auto}.nsg-split{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr);gap:clamp(28px,5vw,64px);align-items:center}.nsg-grid{display:grid;gap:20px}.nsg-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.nsg-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.nsg-grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}
.nsg-card,.nsg-panel{padding:28px;background:#fff;border:1px solid var(--border);border-radius:8px;box-shadow:var(--shadow)}.nsg-card{min-height:100%;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.nsg-card:hover{transform:translateY(-2px);border-color:rgba(37,99,235,.28);box-shadow:0 22px 60px rgba(15,23,42,.14)}.nsg-card h3{font-size:1.25rem}.nsg-card p{color:var(--muted)}.nsg-card a{text-decoration:none}.nsg-icon{display:grid;width:42px;height:42px;place-items:center;margin-bottom:18px;color:#fff;background:linear-gradient(135deg,var(--blue),var(--cyan));border:1px solid rgba(255,255,255,.22);border-radius:8px;font-weight:800;box-shadow:0 12px 25px rgba(37,99,235,.18)}.nsg-dark .nsg-card{color:rgba(255,255,255,.78);background:rgba(255,255,255,.065);border-color:rgba(255,255,255,.14);box-shadow:none}.nsg-dark .nsg-card h3{color:#fff}.nsg-dark .nsg-card p{color:rgba(255,255,255,.72)}
.nsg-buttons{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-top:28px}.nsg-button{display:inline-flex;min-height:48px;align-items:center;justify-content:center;padding:13px 19px;border:1px solid transparent;border-radius:7px;font-size:.95rem;font-weight:780;line-height:1.1;text-align:center;text-decoration:none;transition:transform .16s ease,box-shadow .16s ease,background .16s ease}.nsg-button:hover{transform:translateY(-1px)}.nsg-primary{color:#fff!important;background:linear-gradient(135deg,var(--blue),var(--blue-2));box-shadow:0 14px 30px rgba(37,99,235,.26)}.nsg-secondary{color:var(--navy)!important;background:#fff;border-color:var(--border);box-shadow:0 8px 20px rgba(15,23,42,.06)}.nsg-light{color:#fff!important;background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.28)}
.nsg-list{display:grid;gap:10px;margin:0;padding:0;list-style:none}.nsg-list li{position:relative;padding-left:26px}.nsg-list li:before{position:absolute;top:.74em;left:0;width:9px;height:9px;background:var(--cyan);border-radius:999px;content:""}.nsg-process{display:grid;grid-template-columns:repeat(6,1fr);gap:14px;counter-reset:process}.nsg-process .nsg-card:before{display:grid;width:34px;height:34px;place-items:center;margin-bottom:18px;color:#fff;background:var(--blue);border-radius:8px;counter-increment:process;content:counter(process);font-size:.88rem;font-weight:800}
.nsg-cta{position:relative;overflow:hidden;padding:clamp(44px,6vw,70px);color:rgba(255,255,255,.82);background:linear-gradient(120deg,rgba(37,99,235,.94),rgba(8,145,178,.94));border-radius:8px}.nsg-form-panel{padding:28px;background:#fff;border:1px solid var(--border);border-radius:8px;box-shadow:0 12px 34px rgba(15,23,42,.06)}.nsg-site .wpcf7-form label{display:block;margin-bottom:14px;color:var(--navy);font-weight:700}.nsg-site .wpcf7-form input,.nsg-site .wpcf7-form select,.nsg-site .wpcf7-form textarea{width:100%;min-height:46px;padding:11px 12px;border:1px solid var(--border);border-radius:7px}.nsg-site .wpcf7-submit{width:auto!important;padding:12px 18px!important;color:#fff;background:var(--blue);border:0;border-radius:7px;font-weight:750}
.nsg-table{width:100%;border-collapse:collapse;background:#fff;border:1px solid var(--border);border-radius:8px;overflow:hidden}.nsg-table th,.nsg-table td{padding:14px 16px;border-bottom:1px solid var(--border);text-align:left;vertical-align:top}.nsg-table th{width:30%;color:var(--navy);background:var(--gray)}.nsg-note{color:var(--muted);font-size:.92rem}.nsg-faq details{padding:20px 22px;background:#fff;border:1px solid var(--border);border-radius:8px}.nsg-faq{display:grid;gap:14px}.nsg-faq summary{color:var(--navy);cursor:pointer;font-weight:750}
.nsg-hero-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(320px,.78fr);gap:clamp(34px,5vw,72px);align-items:center}.nsg-hero-panel{position:relative;padding:28px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.18);border-radius:8px;box-shadow:0 28px 80px rgba(0,0,0,.26);backdrop-filter:blur(14px)}.nsg-hero-panel h2{color:#fff;font-size:1.3rem}.nsg-signal-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-top:18px}.nsg-signal{padding:15px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);border-radius:8px}.nsg-signal strong{display:block;color:#fff;font-size:1rem}.nsg-signal span{display:block;color:rgba(255,255,255,.66);font-size:.85rem;line-height:1.45}.nsg-pills{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}.nsg-pill{display:inline-flex;align-items:center;min-height:34px;padding:7px 11px;color:#dbeafe;background:rgba(37,99,235,.16);border:1px solid rgba(147,197,253,.24);border-radius:999px;font-size:.86rem;font-weight:720}.nsg-proof-strip{border-bottom:1px solid var(--border);background:#fff}.nsg-proof-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--border)}.nsg-proof{padding:24px;background:#fff}.nsg-proof strong{display:block;color:var(--navy);font-size:1.05rem}.nsg-proof span{display:block;margin-top:5px;color:var(--muted);font-size:.92rem;line-height:1.45}.nsg-kicker{display:inline-flex;margin-bottom:12px;color:var(--teal);font-size:.78rem;font-weight:850;letter-spacing:.12em;text-transform:uppercase}.nsg-command{display:grid;gap:14px;padding:22px;background:#08111f;border:1px solid rgba(255,255,255,.12);border-radius:8px;box-shadow:0 26px 65px rgba(8,17,31,.18)}.nsg-command-row{display:grid;grid-template-columns:auto 1fr;gap:12px;align-items:start;padding:13px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);border-radius:8px}.nsg-command-dot{width:10px;height:10px;margin-top:8px;background:var(--teal);border-radius:999px;box-shadow:0 0 0 5px rgba(20,184,166,.12)}.nsg-command-row strong{display:block;color:#fff}.nsg-command-row span{display:block;color:rgba(255,255,255,.66);font-size:.9rem}.nsg-pathways{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.nsg-pathway{position:relative;overflow:hidden;padding:30px;background:#fff;border:1px solid var(--border);border-radius:8px;box-shadow:var(--shadow)}.nsg-pathway:before{position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,var(--blue),var(--cyan),var(--green));content:""}.nsg-pathway .nsg-kicker{color:var(--blue)}.nsg-outcome-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.nsg-outcome{padding:18px;background:rgba(37,99,235,.055);border:1px solid rgba(37,99,235,.12);border-radius:8px}.nsg-outcome strong{display:block;color:var(--navy);margin-bottom:4px}.nsg-outcome span{color:var(--muted);font-size:.92rem}.nsg-modern-band{background:linear-gradient(180deg,#f8fafc,#eef5ff)}.nsg-service-matrix{display:grid;grid-template-columns:1.05fr .95fr;gap:22px;align-items:stretch}.nsg-matrix-list{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.nsg-matrix-list div{padding:16px;background:#fff;border:1px solid var(--border);border-radius:8px}.nsg-matrix-list strong{display:block;color:var(--navy)}.nsg-matrix-list span{display:block;color:var(--muted);font-size:.9rem;line-height:1.45;margin-top:4px}
@media(max-width:1120px){.nsg-grid.four,.nsg-proof-grid{grid-template-columns:repeat(2,1fr)}.nsg-process{grid-template-columns:repeat(3,1fr)}.nsg-pathways{grid-template-columns:1fr}.nsg-service-matrix{grid-template-columns:1fr}}@media(max-width:820px){.nsg-container,.nsg-narrow{width:min(100% - 28px,1180px)}.nsg-split,.nsg-hero-grid,.nsg-grid.two,.nsg-grid.three,.nsg-grid.four,.nsg-process,.nsg-proof-grid,.nsg-outcome-grid,.nsg-matrix-list,.nsg-signal-grid{grid-template-columns:1fr}.nsg-buttons,.nsg-button{width:100%}.nsg-cta{padding:32px 24px}.nsg-table,.nsg-table tbody,.nsg-table tr,.nsg-table th,.nsg-table td{display:block;width:100%}.nsg-table th{border-bottom:0}}

/* === Dropdown submenus (added 2026-06-02) === */
.main-navigation .menu li.menu-item-has-children { position: relative; }
.main-navigation .menu li.menu-item-has-children > a::after {
  content: "";
  display: inline-block;
  width: 0; height: 0;
  margin-left: 5px;
  vertical-align: middle;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  opacity: .65;
}
.main-navigation .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 224px;
  margin: 0;
  padding: 8px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: var(--nsg-white);
  border: 1px solid var(--nsg-border);
  border-radius: 10px;
  box-shadow: var(--nsg-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 150ms ease, transform 150ms ease, visibility 150ms;
  z-index: 1000;
}
.main-navigation .sub-menu::before {
  content: "";
  position: absolute;
  top: -8px; left: 0; right: 0;
  height: 8px;
}
.main-navigation .menu li.menu-item-has-children:hover > .sub-menu,
.main-navigation .menu li.menu-item-has-children:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.main-navigation .sub-menu a { white-space: nowrap; }

@media (max-width: 1024px) {
  .main-navigation .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    min-width: 0;
    padding: 2px 0 2px 14px;
    background: transparent;
    border: none;
    box-shadow: none;
  }
  .main-navigation .menu li.menu-item-has-children > a::after { display: none; }
}

/* Anchor jump offset for sticky header (added 2026-06-02) */
.site-main h2[id], .site-main h3[id] { scroll-margin-top: 96px; }
