/* ============================================================
   NextDBI — modern homepage design system
   Brand-preserving redesign: keeps the NextDBI logo, the
   #00628c blue + teal palette and the Oswald/Lato typefaces
   (all already loaded by the migrated Enfold font CSS).
   Signature: the logo's faceted forward-arrow becomes the
   page's structural motif — the four business fields each
   carry one facet colour.
   Everything is namespaced under #nx-page so it never
   collides with the leftover WordPress/Enfold CSS.
   ============================================================ */

/* The migrated Enfold theme locks html to min-width:910px and only frees it
   when its (non-running) JS adds html.responsive — which breaks mobile layout.
   This stylesheet loads last and only on the redesigned homepage, so lifting
   the lock here restores true responsive behaviour without touching other pages. */
html { min-width: 0; }

#nx-page {
  /* palette */
  --ink: #12232b;
  --blue: #00628c;
  --blue-d: #004b6b;
  --blue-deep: #00293b;
  --blue-deep2: #013a52;
  --teal: #2997ab;
  --teal-l: #55adbd;
  --paper: #ffffff;
  --mist: #f3f7f9;
  --mist-2: #e9f1f4;
  --line: #e0e8ec;
  --muted: #5c6b73;
  --muted-2: #85959c;

  /* logo facet colours (business-field coding) */
  --fc-cyan: #4bb4d1;
  --fc-teal: #5a8f6d;
  --fc-gold: #c9a24b;
  --fc-red: #bb3521;
  --fc-orange: #e2610f;
  --fc-olive: #7a7a2e;
  --fc-lime: #a6c62b;

  /* type */
  --display: "Oswald", "Helvetica Neue", Arial, sans-serif;
  --body: "Lato", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1180px;
  --radius: 14px;
  --shadow: 0 18px 50px -20px rgba(0, 41, 59, .35);
  --shadow-sm: 0 8px 24px -14px rgba(0, 41, 59, .35);

  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

#nx-page img { max-width: 100%; display: block; }
#nx-page a { color: inherit; text-decoration: none; }
#nx-page h1, #nx-page h2, #nx-page h3, #nx-page h4, #nx-page p, #nx-page ul, #nx-page figure { margin: 0; }
#nx-page ul { list-style: none; padding: 0; }
#nx-page button { font: inherit; }

.nx-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* prevent grid/flex min-content blowout (keeps the page within the viewport) */
#nx-page .nx-hero > .nx-wrap > *,
#nx-page .nx-intro > *,
#nx-page .nx-cta > *,
#nx-page .nx-field,
#nx-page .nx-partner,
#nx-page .nx-event,
#nx-page .nx-study,
#nx-page .nx-step,
#nx-page .nx-stat { min-width: 0; }

/* ---------- shared type ---------- */
.nx-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--body);
  font-weight: 700;
  font-size: .74rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--teal);
}
.nx-eyebrow--light { color: var(--teal-l); }

/* little faceted-arrow tick that echoes the logo */
.nx-tick { flex: 0 0 auto; width: 26px; height: 12px; }

.nx-h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3rem);
  line-height: 1.06;
  letter-spacing: .005em;
  color: var(--ink);
}
.nx-lead {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 62ch;
  font-weight: 400;
}

/* buttons */
.nx-btn {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  font-family: var(--body);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .01em;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease, color .18s ease, border-color .18s ease;
}
.nx-btn svg { width: 15px; height: 15px; }
.nx-btn--primary { background: var(--blue); color: #fff; box-shadow: 0 12px 26px -12px rgba(0, 98, 140, .8); }
.nx-btn--primary:hover { background: var(--blue-d); transform: translateY(-2px); }
.nx-btn--ghost { border-color: rgba(255, 255, 255, .45); color: #fff; }
.nx-btn--ghost:hover { background: rgba(255, 255, 255, .12); transform: translateY(-2px); }
.nx-btn--outline { border-color: var(--line); color: var(--ink); background: #fff; }
.nx-btn--outline:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }

/* ============================================================
   TOP META BAR
   ============================================================ */
.nx-meta {
  background: var(--blue-deep);
  color: rgba(255, 255, 255, .82);
  font-size: .82rem;
}
.nx-meta .nx-wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 42px; }
.nx-meta a { transition: color .15s ease; }
.nx-meta a:hover { color: #fff; }
.nx-meta-contact { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.nx-meta-contact span { display: inline-flex; align-items: center; gap: 7px; }
.nx-meta-social { display: flex; align-items: center; gap: 14px; }
.nx-meta-social a { display: inline-flex; }
.nx-meta svg { width: 14px; height: 14px; opacity: .85; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.nx-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nx-header .nx-wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 78px; }
.nx-logo img { height: 46px; width: auto; }
.nx-nav { display: flex; align-items: center; gap: 30px; }
.nx-nav-links { display: flex; align-items: center; gap: 26px; }
.nx-nav-links a {
  position: relative;
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 6px 0;
}
.nx-nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 2px;
  background: var(--blue);
  transition: right .22s ease;
}
.nx-nav-links a:hover { color: var(--blue); }
.nx-nav-links a:hover::after { right: 0; }
.nx-nav-toggle { display: none; }
#nx-page #nx-menu { display: none; }

/* ============================================================
   HERO
   ============================================================ */
.nx-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 130% at 88% 8%, rgba(41, 151, 171, .35), transparent 55%),
    linear-gradient(155deg, var(--blue-deep) 0%, var(--blue-deep2) 55%, #024a68 100%);
  color: #fff;
  isolation: isolate;
}
.nx-hero::before {
  /* faint faceted-arrow field, echoes the logo */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(135deg, transparent 46%, rgba(255, 255, 255, .04) 46%, rgba(255, 255, 255, .04) 54%, transparent 54%),
    linear-gradient(45deg, transparent 46%, rgba(255, 255, 255, .03) 46%, rgba(255, 255, 255, .03) 54%, transparent 54%);
  background-size: 46px 46px;
  opacity: .6;
  z-index: -1;
}
.nx-hero .nx-wrap {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 54px;
  align-items: center;
  padding-top: 84px;
  padding-bottom: 88px;
}
.nx-hero-h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.4rem, 1.3rem + 4.2vw, 4rem);
  line-height: 1.02;
  letter-spacing: .004em;
  margin: 20px 0 22px;
}
.nx-hero-h1 em { font-style: normal; color: var(--fc-orange); }
.nx-hero-sub { font-size: 1.16rem; color: rgba(255, 255, 255, .86); max-width: 46ch; font-weight: 300; }
.nx-hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.nx-hero-figure { position: relative; }
.nx-hero-figure img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
}
/* facet chevron accent overlapping the image */
.nx-hero-facet {
  position: absolute;
  bottom: -22px;
  left: -22px;
  width: 120px;
  height: 92px;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .35));
}
.nx-hero-badge {
  position: absolute;
  top: 20px; right: -14px;
  background: #fff;
  color: var(--ink);
  border-radius: 12px;
  padding: 14px 18px;
  box-shadow: var(--shadow-sm);
  max-width: 210px;
}
.nx-hero-badge b { font-family: var(--display); font-weight: 600; display: block; font-size: 1.05rem; color: var(--blue); }
.nx-hero-badge span { font-size: .82rem; color: var(--muted); }

/* trust strip under hero */
.nx-trust {
  background: rgba(255, 255, 255, .06);
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.nx-trust .nx-wrap { display: flex; align-items: center; gap: 18px 40px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 20px; }
.nx-trust span { color: rgba(255, 255, 255, .62); font-weight: 700; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; }
.nx-trust ul { display: flex; gap: 26px 40px; flex-wrap: wrap; }
.nx-trust li { color: rgba(255, 255, 255, .9); font-weight: 600; display: inline-flex; align-items: center; gap: 9px; }
.nx-trust li::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--fc-cyan); transform: rotate(45deg); }
.nx-trust li:nth-child(2)::before { background: var(--fc-orange); }
.nx-trust li:nth-child(3)::before { background: var(--fc-lime); }
.nx-trust li:nth-child(4)::before { background: var(--fc-red); }

/* ============================================================
   SECTION SCAFFOLD
   ============================================================ */
.nx-section { padding: 92px 0; }
.nx-section--mist { background: var(--mist); }
.nx-section--ink { background: var(--blue-deep); color: #fff; }
.nx-section-head { max-width: 720px; margin-bottom: 52px; }
.nx-section-head .nx-h2 { margin: 14px 0 16px; }
.nx-section--ink .nx-h2 { color: #fff; }
.nx-section--ink .nx-lead { color: rgba(255, 255, 255, .78); }

/* ---------- intro / value ---------- */
.nx-intro { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.nx-intro-copy p + p { margin-top: 18px; }
.nx-intro-copy .nx-h2 { margin: 16px 0 22px; }
.nx-intro-media { position: relative; }
.nx-intro-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 5/4; object-fit: cover; }
.nx-quote-card {
  position: absolute; right: -18px; bottom: -24px;
  background: var(--blue); color: #fff;
  border-radius: 12px; padding: 20px 22px; max-width: 260px;
  box-shadow: var(--shadow-sm);
}
.nx-quote-card p { font-family: var(--display); font-weight: 300; font-size: 1.02rem; line-height: 1.35; }
.nx-quote-card cite { display: block; margin-top: 10px; font-style: normal; font-size: .8rem; color: rgba(255, 255, 255, .8); font-family: var(--body); font-weight: 700; letter-spacing: .04em; }

/* ---------- stats band ---------- */
.nx-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.nx-stat { text-align: center; position: relative; padding: 8px 12px; }
.nx-stat b { display: block; font-family: var(--display); font-weight: 600; font-size: clamp(2.4rem, 1.6rem + 2.4vw, 3.4rem); line-height: 1; color: #fff; }
.nx-stat span { display: block; margin-top: 10px; font-size: .86rem; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .66); font-weight: 700; }
.nx-stat i { display: block; width: 30px; height: 4px; margin: 16px auto 0; border-radius: 2px; }

/* ---------- business fields ---------- */
.nx-fields { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.nx-field {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 32px 30px;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.nx-field::before { content: ""; position: absolute; top: 0; left: 0; width: 6px; height: 100%; background: var(--fc, var(--blue)); }
.nx-field:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.nx-field-num { font-family: var(--display); font-weight: 600; font-size: .9rem; letter-spacing: .1em; color: var(--fc, var(--blue)); }
.nx-field h3 { font-family: var(--display); font-weight: 600; font-size: 1.5rem; line-height: 1.1; margin: 8px 0 12px; color: var(--ink); }
.nx-field p { color: var(--muted); font-size: 1rem; }
.nx-field-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 700; font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; color: var(--fc, var(--blue)); }
.nx-field-more svg { width: 14px; height: 14px; transition: transform .18s ease; }
.nx-field:hover .nx-field-more svg { transform: translateX(4px); }

/* ---------- approach / process ---------- */
.nx-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.nx-step { position: relative; padding-top: 30px; }
.nx-step::before {
  content: "";
  position: absolute; top: 8px; left: 0; right: 0;
  height: 3px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.25) 0 10px, transparent 10px 18px);
}
.nx-step-n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 12px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  font-family: var(--display); font-weight: 600; font-size: 1.2rem; color: #fff;
  margin-bottom: 18px;
}
.nx-step h3 { font-family: var(--display); font-weight: 500; font-size: 1.28rem; margin-bottom: 10px; color: #fff; }
.nx-step p { color: rgba(255, 255, 255, .74); font-size: .96rem; font-weight: 300; }

/* ---------- team ---------- */
.nx-team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.nx-partner {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .2s ease, box-shadow .2s ease;
}
.nx-partner:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.nx-partner-photo { position: relative; aspect-ratio: 1 / 1; background: #0d1b22; }
.nx-partner-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.nx-partner-photo::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 5px; background: linear-gradient(90deg, var(--fc-cyan), var(--fc-teal), var(--fc-gold), var(--fc-orange), var(--fc-red)); }
.nx-partner-body { padding: 22px 24px 26px; }
.nx-partner-body h3 { font-family: var(--display); font-weight: 600; font-size: 1.3rem; color: var(--ink); }
.nx-partner-role { color: var(--teal); font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; margin-top: 4px; }
.nx-partner-body p { color: var(--muted); font-size: .95rem; margin-top: 12px; }

/* ---------- events / seminars ---------- */
.nx-events { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.nx-event {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 28px 26px; transition: transform .2s ease, box-shadow .2s ease;
}
.nx-event:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.nx-event-tag {
  align-self: flex-start;
  font-weight: 700; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue); background: var(--mist-2);
  padding: 6px 12px; border-radius: 999px;
}
.nx-event h3 { font-family: var(--display); font-weight: 500; font-size: 1.3rem; line-height: 1.15; color: var(--ink); margin: 16px 0 10px; }
.nx-event p { color: var(--muted); font-size: .96rem; flex: 1; }
.nx-event-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.nx-event-date { font-weight: 700; font-size: .84rem; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.nx-event-link { font-weight: 700; font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; color: var(--blue); display: inline-flex; align-items: center; gap: 6px; }
.nx-event-link svg { width: 13px; height: 13px; transition: transform .18s ease; }
.nx-event:hover .nx-event-link svg { transform: translateX(3px); }

/* ---------- studies split ---------- */
.nx-studies { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.nx-study {
  display: flex; gap: 20px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 28px; transition: border-color .2s ease, box-shadow .2s ease;
}
.nx-study:hover { border-color: var(--teal-l); box-shadow: var(--shadow-sm); }
.nx-study-icon { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 12px; background: var(--mist-2); display: grid; place-items: center; color: var(--blue); }
.nx-study-icon svg { width: 22px; height: 22px; }
.nx-study h3 { font-family: var(--display); font-weight: 500; font-size: 1.2rem; color: var(--ink); }
.nx-study p { color: var(--muted); font-size: .94rem; margin-top: 6px; }
.nx-study-meta { display: block; margin-top: 10px; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--teal); }

/* ---------- partners logos ---------- */
.nx-partners-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 30px 54px; }
.nx-partners-row img { height: 46px; width: auto; opacity: .8; }
.nx-partners-ph {
  height: 46px; min-width: 130px; border-radius: 8px;
  border: 1.5px dashed var(--line); display: grid; place-items: center;
  color: var(--muted-2); font-weight: 700; font-size: .82rem; letter-spacing: .05em;
}

/* ---------- final CTA ---------- */
.nx-cta {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--blue) 0%, var(--blue-deep2) 100%);
  color: #fff; border-radius: 22px;
  padding: 60px clamp(28px, 5vw, 72px);
  display: grid; grid-template-columns: 1.3fr auto; gap: 32px; align-items: center;
}
.nx-cta::after {
  content: ""; position: absolute; right: -40px; top: -40px; width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(255,255,255,.14), transparent 68%);
}
.nx-cta h2 { font-family: var(--display); font-weight: 600; font-size: clamp(1.8rem, 1.2rem + 2.2vw, 2.7rem); line-height: 1.05; position: relative; }
.nx-cta p { color: rgba(255, 255, 255, .85); margin-top: 12px; font-size: 1.08rem; font-weight: 300; position: relative; max-width: 48ch; }
.nx-cta-actions { display: flex; gap: 14px; flex-wrap: wrap; position: relative; }
.nx-cta .nx-btn--primary { background: #fff; color: var(--blue); box-shadow: 0 14px 30px -14px rgba(0,0,0,.5); }
.nx-cta .nx-btn--primary:hover { background: #eaf3f6; }

/* ============================================================
   FOOTER
   ============================================================ */
.nx-footer { background: var(--blue-deep); color: rgba(255, 255, 255, .72); padding: 68px 0 0; }
.nx-footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; padding-bottom: 48px; }
.nx-footer-brand img { height: 52px; width: auto; margin-bottom: 18px; filter: brightness(0) invert(1); opacity: .95; }
.nx-footer-brand p { font-size: .95rem; font-weight: 300; max-width: 34ch; }
.nx-footer-col h4 { font-family: var(--display); font-weight: 500; font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.nx-footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.nx-footer-col a { font-size: .94rem; transition: color .15s ease; }
.nx-footer-col a:hover { color: #fff; }
.nx-footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: .94rem; margin-bottom: 11px; }
.nx-footer-contact svg { width: 15px; height: 15px; flex: 0 0 auto; margin-top: 3px; color: var(--teal-l); }
.nx-footer-bar { border-top: 1px solid rgba(255, 255, 255, .12); padding: 22px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.nx-footer-bar p { font-size: .84rem; }
.nx-footer-legal { display: flex; gap: 22px; flex-wrap: wrap; }
.nx-footer-legal a { font-size: .84rem; }
.nx-footer-legal a:hover { color: #fff; }

/* ============================================================
   REVEAL ANIMATIONS (JS-gated; content visible without JS)
   ============================================================ */
html.js #nx-page .nx-reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
html.js #nx-page .nx-reveal.nx-in { opacity: 1; transform: none; }
html.js #nx-page .nx-reveal-2 { transition-delay: .08s; }
html.js #nx-page .nx-reveal-3 { transition-delay: .16s; }
html.js #nx-page .nx-reveal-4 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  #nx-page *, html.js #nx-page .nx-reveal { transition: none !important; animation: none !important; transform: none !important; }
  #nx-page .nx-btn:hover, #nx-page .nx-field:hover, #nx-page .nx-partner:hover, #nx-page .nx-event:hover { transform: none; }
}

/* focus visibility (quality floor) */
#nx-page a:focus-visible, #nx-page button:focus-visible {
  outline: 3px solid var(--teal-l);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .nx-hero .nx-wrap { grid-template-columns: 1fr; gap: 44px; padding-top: 60px; padding-bottom: 64px; }
  .nx-hero-figure { max-width: 520px; }
  .nx-intro { grid-template-columns: 1fr; gap: 44px; }
  .nx-quote-card { position: static; margin-top: 18px; max-width: none; }
  .nx-fields { grid-template-columns: 1fr; }
  .nx-steps { grid-template-columns: repeat(2, 1fr); gap: 30px 22px; }
  .nx-team { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .nx-events { grid-template-columns: 1fr; }
  .nx-studies { grid-template-columns: 1fr; }
  .nx-stats { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
  .nx-cta { grid-template-columns: 1fr; }
  .nx-footer-top { grid-template-columns: 1fr 1fr; gap: 34px; }
}

@media (max-width: 760px) {
  .nx-nav-links, .nx-meta-contact span.nx-hide-sm { display: none; }
  .nx-nav-toggle {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--blue); color: #fff; border: 0; border-radius: 999px;
    padding: 10px 18px; font-weight: 700; font-size: .82rem; letter-spacing: .04em; text-transform: uppercase;
  }
  /* mobile nav revealed via :target */
  #nx-page #nx-menu { position: fixed; inset: 0; z-index: 80; background: var(--blue-deep); display: none; flex-direction: column; padding: 90px 30px 40px; gap: 6px; }
  #nx-page #nx-menu:target { display: flex; }
  #nx-menu a { color: #fff; font-family: var(--display); font-weight: 500; font-size: 1.5rem; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.1); text-transform: uppercase; letter-spacing: .03em; }
  #nx-menu .nx-menu-close { position: absolute; top: 26px; right: 28px; font-size: 2rem; border-bottom: 0; }
}

@media (max-width: 520px) {
  .nx-section { padding: 64px 0; }
  .nx-stats { grid-template-columns: 1fr 1fr; }
  .nx-steps { grid-template-columns: 1fr; }
  .nx-footer-top { grid-template-columns: 1fr; }
  .nx-meta .nx-wrap { justify-content: center; }
  .nx-meta-social { display: none; }
}
