/* Nexus Network Services — professional shared layer */
:root {
  --nexus-deep: #020f1d;
  --nexus-navy: #03284c;
  --nexus-blue: #17679f;
  --nexus-sky: #76b5e6;
  --nexus-ice: #eef6fc;
  --nexus-ink: #102133;
  --nexus-muted: #607487;
  --nexus-line: #dce6ee;
  --nexus-paper: #ffffff;
  --nexus-shadow: 0 24px 70px rgba(5, 36, 63, .10);
  --header-height: 100px;
}

html {
  scroll-padding-top: calc(var(--header-height) + 28px);
}

body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #66b8f0;
  outline-offset: 3px;
}

.site-header {
  background: linear-gradient(105deg, #f9fbfd 0%, #e4eaf0 23%, #6f8ca8 56%, #234f78 78%, #02254a 100%);
  border-bottom: 1px solid rgba(255, 255, 255, .18);
}

.header-inner {
  min-height: var(--header-height) !important;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-logo {
  width: 270px !important;
  height: auto !important;
  max-width: 270px !important;
  margin-left: 0 !important;
}

.main-nav {
  gap: clamp(14px, 1.75vw, 26px) !important;
}

.main-nav > a:not(.nav-cta) {
  position: relative;
  padding: 12px 0;
}

.main-nav > a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  content: "";
  background: #fff;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .2s ease;
}

.main-nav > a:hover::after,
.main-nav > a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  border-color: rgba(255, 255, 255, .58) !important;
  background: rgba(1, 24, 46, .22) !important;
  box-shadow: 0 12px 28px rgba(0, 20, 41, .13);
}

.nav-cta:hover {
  background: #fff !important;
  color: var(--nexus-navy);
}

.footer-grid-pro {
  grid-template-columns: minmax(280px, 1fr) auto;
}

/* Preserve the footer logo's natural aspect ratio when its width is reduced. */
.footer-logo {
  height: auto !important;
}

.footer-links-pro {
  grid-template-columns: repeat(3, minmax(135px, 1fr));
  gap: 44px;
}

.footer-links-pro a {
  line-height: 1.45;
}

.footer-links a:hover {
  color: #d7e9f7;
}

.footer-support {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
  margin-top: 22px;
  font-size: 11px;
}

.footer-support span {
  color: #7f9bb3;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.footer-support a {
  color: #cfe7f8;
  font-weight: 800;
}

.footer-address {
  margin-top: 18px !important;
  color: #8ba1b5 !important;
}

.brand-experience {
  padding: 86px 0;
  border-top: 1px solid var(--nexus-line);
  border-bottom: 1px solid var(--nexus-line);
  background: #fff;
}

.brand-experience-layout {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 90px;
  align-items: center;
}

.brand-experience h2 {
  margin-top: 15px;
  font-size: clamp(34px, 3.5vw, 50px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -.043em;
}

.brand-experience p {
  margin: 18px 0 0;
  color: var(--nexus-muted);
  font-size: 12px;
  line-height: 1.75;
}

.brand-name-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--nexus-line);
  border-left: 1px solid var(--nexus-line);
}

.brand-name-grid span {
  min-height: 90px;
  display: grid;
  place-items: center;
  padding: 18px;
  border-right: 1px solid var(--nexus-line);
  border-bottom: 1px solid var(--nexus-line);
  color: #385873;
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

/* Existing-page polish */
.solutions-grid .card {
  overflow: hidden;
  position: relative;
}

.solutions-grid .card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, #96caef, #2a78b2);
  opacity: .65;
}

.solutions-grid .card a {
  font-size: 12px;
}

.about-proof strong,
.hero-tech .hud small {
  font-variant-numeric: tabular-nums;
}

.team-photo {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

/* Shared service page system */
.service-page main,
.services-hub-page main,
.error-page main {
  display: block;
}

.service-hero,
.services-hub-hero,
.error-hero {
  overflow: hidden;
  position: relative;
  padding: 190px 0 100px;
  color: #fff;
  background:
    radial-gradient(circle at 79% 34%, rgba(78, 153, 211, .25), transparent 27%),
    linear-gradient(120deg, #020e1b 0%, #032442 52%, #075085 100%);
}

.service-hero-grid,
.services-hub-grid {
  position: absolute;
  inset: 0;
  opacity: .28;
  background-image:
    linear-gradient(rgba(150, 199, 235, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(150, 199, 235, .08) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 35%, #000 100%);
}

.service-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, .62fr);
  gap: 82px;
  align-items: end;
  position: relative;
  z-index: 1;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 36px;
  color: rgba(211, 229, 243, .62);
  font-size: 11px;
}

.breadcrumbs a:hover {
  color: #fff;
}

.service-hero h1,
.services-hub-hero h1,
.error-hero h1 {
  max-width: 850px;
  margin-top: 20px;
  font-size: clamp(48px, 5.2vw, 78px);
  font-weight: 600;
  line-height: 1.01;
  letter-spacing: -.052em;
}

.service-hero-copy > p,
.services-hub-hero > .wrap > p,
.error-hero p {
  max-width: 720px;
  margin: 26px 0 0;
  color: rgba(225, 237, 246, .82);
  font-size: 17px;
  line-height: 1.75;
}

.service-hero-panel {
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 22px;
  background: rgba(1, 20, 38, .55);
  box-shadow: 0 28px 70px rgba(0, 8, 19, .28);
  backdrop-filter: blur(18px);
}

.service-index {
  display: block;
  margin-bottom: 45px;
  color: #84bce4;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
}

.service-hero-panel h2 {
  font-size: 25px;
}

.service-hero-panel p {
  margin: 13px 0 21px;
  color: rgba(222, 235, 245, .7);
  font-size: 13px;
  line-height: 1.72;
}

.service-hero-panel ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-hero-panel li {
  padding: 11px 0;
  border-top: 1px solid rgba(255, 255, 255, .08);
  color: #d7e8f5;
  font-size: 12px;
  font-weight: 700;
}

.proof-strip {
  border-bottom: 1px solid var(--nexus-line);
  background: #fff;
}

.proof-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.proof-strip-grid > div {
  min-height: 105px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px 26px;
}

.proof-strip-grid > div + div {
  border-left: 1px solid var(--nexus-line);
}

.proof-strip strong {
  color: var(--nexus-navy);
  font-family: "Space Grotesk", sans-serif;
  font-size: 20px;
  font-variant-numeric: tabular-nums;
}

.proof-strip span {
  margin-top: 6px;
  color: var(--nexus-muted);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.service-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .55fr);
  gap: 72px;
  align-items: end;
  margin-bottom: 48px;
}

.service-section-head h2,
.service-scope h2,
.service-difference h2,
.faq-heading h2,
.related-head h2 {
  margin-top: 16px;
  font-size: clamp(38px, 4.2vw, 58px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -.045em;
}

.service-section-head > p,
.faq-heading > p {
  color: var(--nexus-muted);
  font-size: 14px;
  line-height: 1.8;
}

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

.outcome-grid article {
  min-height: 285px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--nexus-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 14px 42px rgba(7, 42, 70, .055);
}

.outcome-grid article > span,
.service-process-grid article > span {
  color: #7299b9;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
}

.outcome-grid h3 {
  margin-top: auto;
  font-size: 22px;
}

.outcome-grid p {
  margin: 12px 0 0;
  color: var(--nexus-muted);
  font-size: 13px;
  line-height: 1.75;
}

.service-scope {
  padding: 108px 0;
  color: #fff;
  background:
    radial-gradient(circle at 15% 20%, rgba(83, 159, 216, .15), transparent 26%),
    linear-gradient(125deg, #031426, #07375f);
}

.service-scope-layout {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 90px;
  align-items: start;
}

.service-scope-layout > div > p {
  max-width: 510px;
  margin-top: 22px;
  color: rgba(218, 233, 244, .73);
  font-size: 14px;
  line-height: 1.8;
}

.text-link.light {
  color: #b9dcf4;
}

.scope-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 28px;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, .13);
}

.scope-list li {
  position: relative;
  min-height: 70px;
  display: flex;
  align-items: center;
  padding: 14px 12px 14px 30px;
  border-bottom: 1px solid rgba(255, 255, 255, .10);
  color: #dcecf7;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.scope-list li::before {
  position: absolute;
  left: 2px;
  width: 10px;
  height: 10px;
  content: "";
  border: 2px solid #72b5e6;
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(114, 181, 230, .38);
}

.service-process {
  background: #f7fafc;
}

.service-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--nexus-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--nexus-shadow);
}

.service-process-grid article {
  min-height: 270px;
  padding: 28px;
}

.service-process-grid article + article {
  border-left: 1px solid var(--nexus-line);
}

.service-process-grid h3 {
  margin-top: 70px;
  font-size: 21px;
}

.service-process-grid p {
  margin: 12px 0 0;
  color: var(--nexus-muted);
  font-size: 12px;
  line-height: 1.75;
}

.service-difference {
  padding: 110px 0;
  color: #fff;
  background:
    radial-gradient(circle at 78% 26%, rgba(93, 164, 220, .17), transparent 27%),
    linear-gradient(120deg, #062640, #0d4b79);
}

.service-difference-layout {
  display: grid;
  grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr);
  gap: 92px;
  align-items: center;
}

.service-difference-copy > p {
  max-width: 570px;
  margin-top: 23px;
  color: rgba(219, 233, 244, .76);
  font-size: 14px;
  line-height: 1.82;
}

.difference-list {
  border-top: 1px solid rgba(255, 255, 255, .15);
}

.difference-list article {
  display: grid;
  grid-template-columns: minmax(170px, .65fr) 1fr;
  gap: 30px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.difference-list strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 17px;
}

.difference-list p {
  margin: 0;
  color: rgba(220, 234, 245, .68);
  font-size: 12px;
  line-height: 1.7;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(260px, .65fr) minmax(0, 1.35fr);
  gap: 90px;
  align-items: start;
}

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

.faq-list details {
  border-bottom: 1px solid var(--nexus-line);
}

.faq-list summary {
  min-height: 86px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  cursor: pointer;
  color: var(--nexus-ink);
  font-family: "Space Grotesk", sans-serif;
  font-size: 17px;
  font-weight: 600;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid #cbdbe7;
  border-radius: 50%;
  color: #3978a9;
  font-family: "Manrope", sans-serif;
  transition: transform .2s ease;
}

.faq-list details[open] summary span {
  transform: rotate(45deg);
}

.faq-list details > p {
  max-width: 720px;
  margin: -4px 55px 28px 0;
  color: var(--nexus-muted);
  font-size: 13px;
  line-height: 1.8;
}

.related-services {
  padding: 92px 0;
  color: #fff;
  background: var(--nexus-deep);
}

.related-head {
  margin-bottom: 35px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 18px;
  overflow: hidden;
}

.related-grid a {
  min-height: 110px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 24px;
  background: rgba(255, 255, 255, .025);
  transition: background .18s ease;
}

.related-grid a + a {
  border-left: 1px solid rgba(255, 255, 255, .10);
}

.related-grid a:hover {
  background: rgba(99, 170, 222, .10);
}

.related-grid span {
  color: #6f96b4;
  font-size: 9px;
  font-weight: 800;
}

.related-grid strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 16px;
}

.related-grid i {
  color: #8ec4e9;
  font-style: normal;
}

.service-cta {
  background: #f5f8fb;
}

/* Service hub */
.services-hub-hero > .wrap {
  position: relative;
  z-index: 1;
}

.services-hub-hero h1 {
  max-width: 920px;
}

.service-hub-section {
  background: #f7fafc;
}

.service-hub-grid-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.service-hub-card {
  min-height: 340px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--nexus-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 13px 38px rgba(6, 39, 66, .05);
  transition: transform .2s ease, box-shadow .2s ease;
}

.service-hub-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 55px rgba(6, 39, 66, .11);
}

.service-hub-card > span {
  color: #6f96b4;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
}

.service-hub-card h2 {
  margin-top: 52px;
  font-size: 23px;
  line-height: 1.15;
}

.service-hub-card p {
  margin: 13px 0 24px;
  color: var(--nexus-muted);
  font-size: 12px;
  line-height: 1.75;
}

.service-hub-card a {
  margin-top: auto;
  color: #276b9f;
  font-size: 11px;
  font-weight: 800;
}

.service-hub-card i {
  margin-left: 5px;
  font-style: normal;
}

/* Service area and legal pages */
.service-area-section {
  background: #f7fafc;
}

.service-area-layout {
  display: grid;
  grid-template-columns: minmax(280px, .62fr) minmax(0, 1.38fr);
  gap: 86px;
  align-items: start;
}

.service-area-layout h2 {
  margin-top: 16px;
  font-size: clamp(38px, 4vw, 56px);
  line-height: 1.04;
  letter-spacing: -.045em;
}

.service-area-layout > div > p {
  color: var(--nexus-muted);
  font-size: 13px;
  line-height: 1.8;
}

.state-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--nexus-line);
  border-left: 1px solid var(--nexus-line);
  list-style: none;
}

.state-grid li {
  min-height: 56px;
  display: flex;
  align-items: center;
  padding: 12px 17px;
  border-right: 1px solid var(--nexus-line);
  border-bottom: 1px solid var(--nexus-line);
  background: #fff;
  color: #35536c;
  font-size: 12px;
  font-weight: 700;
}

.hq-card {
  display: grid;
  gap: 6px;
  margin-top: 30px;
  padding: 24px;
  border: 1px solid var(--nexus-line);
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 15px 40px rgba(5, 40, 68, .06);
}

.hq-card span {
  color: #6e8da7;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .14em;
}

.hq-card strong {
  margin-top: 8px;
  color: var(--nexus-navy);
  font-family: "Space Grotesk", sans-serif;
  font-size: 18px;
}

.hq-card p {
  margin: 0;
  color: var(--nexus-muted);
  font-size: 12px;
}

.hq-card a {
  margin-top: 10px;
  color: #226b9f;
  font-size: 11px;
  font-weight: 800;
}

.legal-hero {
  padding: 175px 0 72px;
  color: #fff;
  background: linear-gradient(120deg, #020e1b, #06375f);
}

.legal-hero h1 {
  max-width: 760px;
  margin-top: 18px;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.03;
  letter-spacing: -.05em;
}

.legal-hero p {
  color: #a9c0d2;
  font-size: 12px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 760px);
  gap: 86px;
  justify-content: center;
  align-items: start;
}

.legal-layout aside {
  display: grid;
  gap: 9px;
  position: sticky;
  top: 130px;
  padding: 22px;
  border: 1px solid var(--nexus-line);
  border-radius: 16px;
  background: #f7fafc;
  color: var(--nexus-muted);
  font-size: 11px;
  line-height: 1.6;
}

.legal-layout aside strong {
  color: var(--nexus-ink);
  font-family: "Space Grotesk", sans-serif;
  font-size: 17px;
}

.legal-layout aside a,
.legal-layout article a {
  color: #216b9f;
  font-weight: 700;
}

.legal-layout article h2 {
  margin: 42px 0 12px;
  font-size: 25px;
}

.legal-layout article h2:first-child {
  margin-top: 0;
}

.legal-layout article p {
  color: var(--nexus-muted);
  font-size: 14px;
  line-height: 1.82;
}

.quote-privacy {
  max-width: 580px;
  margin: 12px 0 0 auto;
  color: #718596;
  font-size: 10px;
  line-height: 1.55;
  text-align: right;
}

.quote-privacy a {
  color: #286d9e;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* 404 */
.error-hero {
  min-height: 76vh;
  display: flex;
  align-items: center;
}

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

.error-hero .wrap > span {
  position: absolute;
  right: 0;
  top: 50%;
  color: rgba(255, 255, 255, .055);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(150px, 28vw, 370px);
  font-weight: 700;
  line-height: .7;
  transform: translateY(-50%);
}

.error-hero h1,
.error-hero p,
.error-hero .hero-actions,
.error-hero .eyebrow {
  position: relative;
  z-index: 2;
}

@media (max-width: 1120px) {
  .brand-logo {
    width: 220px !important;
    max-width: 220px !important;
  }

  .main-nav {
    font-size: 12px !important;
  }

  .service-hub-grid-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 950px) {
  :root {
    --header-height: 88px;
  }

  .brand-logo {
    width: 225px !important;
    max-width: 225px !important;
  }

  .main-nav {
    top: var(--header-height) !important;
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
    box-shadow: 0 24px 55px rgba(0, 14, 29, .3);
  }

  .main-nav > a:not(.nav-cta)::after {
    display: none;
  }

  .service-hero-layout,
  .service-scope-layout,
  .service-difference-layout,
  .faq-layout,
  .brand-experience-layout,
  .service-area-layout,
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .service-hero-panel {
    max-width: 620px;
  }

  .proof-strip-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .proof-strip-grid > div:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--nexus-line);
  }

  .proof-strip-grid > div:nth-child(4) {
    border-top: 1px solid var(--nexus-line);
  }

  .outcome-grid {
    grid-template-columns: 1fr;
  }

  .outcome-grid article {
    min-height: 230px;
  }

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

  .service-process-grid article:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--nexus-line);
  }

  .service-process-grid article:nth-child(4) {
    border-top: 1px solid var(--nexus-line);
  }

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

  .brand-name-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .legal-layout aside {
    position: static;
  }
}

@media (max-width: 680px) {
  .service-hero,
  .services-hub-hero,
  .error-hero {
    padding: 145px 0 72px;
  }

  .service-hero h1,
  .services-hub-hero h1,
  .error-hero h1 {
    font-size: clamp(41px, 12vw, 56px);
  }

  .service-hero-copy > p,
  .services-hub-hero > .wrap > p,
  .error-hero p {
    font-size: 15px;
  }

  .service-hero-panel {
    padding: 24px;
  }

  .proof-strip-grid {
    grid-template-columns: 1fr;
  }

  .proof-strip-grid > div + div,
  .proof-strip-grid > div:nth-child(3) {
    border-top: 1px solid var(--nexus-line);
    border-left: 0;
  }

  .service-section-head {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .scope-list {
    grid-template-columns: 1fr;
  }

  .service-process-grid {
    grid-template-columns: 1fr;
  }

  .service-process-grid article + article,
  .service-process-grid article:nth-child(3) {
    border-top: 1px solid var(--nexus-line);
    border-left: 0;
  }

  .service-process-grid article {
    min-height: 230px;
  }

  .service-process-grid h3 {
    margin-top: 48px;
  }

  .difference-list article {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .related-grid a + a {
    border-top: 1px solid rgba(255, 255, 255, .10);
    border-left: 0;
  }

  .service-hub-grid-cards {
    grid-template-columns: 1fr;
  }

  .footer-links-pro {
    grid-template-columns: 1fr 1fr;
    gap: 36px 22px;
  }

  .footer-links-pro > div:last-child {
    grid-column: 1 / -1;
  }

  .brand-name-grid {
    grid-template-columns: 1fr;
  }

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

  .legal-hero {
    padding: 140px 0 62px;
  }

  .quote-privacy {
    margin: 10px 0 0;
    text-align: left;
  }
}

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

/* =========================================================
   PROOF + NEXUS CORE PRODUCT STORY
   ========================================================= */
.home-proof {
  position: relative;
  z-index: 3;
  box-shadow: 0 24px 55px rgba(3, 28, 51, .08);
}

.core-showcase {
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 20%, rgba(53, 129, 185, .09), transparent 30%),
    #f5f8fb;
}

.core-showcase-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .65fr);
  gap: 80px;
  align-items: end;
  margin-bottom: 44px;
}

.core-showcase-head h2,
.confidence-heading h2 {
  max-width: 760px;
  margin-top: 14px;
  font-size: clamp(40px, 5vw, 66px);
  line-height: 1.02;
  letter-spacing: -.05em;
}

.core-showcase-head p {
  color: var(--nexus-muted);
  font-size: 14px;
  line-height: 1.75;
}

.core-product-preview {
  padding: 28px;
  border: 1px solid rgba(122, 177, 216, .24);
  border-radius: 24px;
  color: #e7f2fa;
  background:
    radial-gradient(circle at 78% 5%, rgba(10, 203, 222, .08), transparent 28%),
    linear-gradient(145deg, #061423, #081c2e 62%, #0b263c);
  box-shadow: 0 34px 80px rgba(2, 20, 37, .22);
}

.core-preview-top {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  padding: 5px 4px 24px;
}

.core-preview-top div {
  display: grid;
  gap: 5px;
}

.core-preview-top small,
.core-preview-metrics span,
.core-preview-list > span,
.core-preview-chart span {
  color: #5cc9eb;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .13em;
}

.core-preview-top strong {
  font: 600 clamp(23px, 3vw, 34px)/1.1 "Space Grotesk", sans-serif;
  letter-spacing: -.035em;
}

.core-preview-top span {
  color: #849caf;
  font-size: 11px;
}

.core-preview-top b {
  padding: 8px 12px;
  border: 1px solid rgba(16, 199, 145, .22);
  border-radius: 999px;
  color: #23d4a0;
  background: rgba(14, 128, 98, .12);
  font-size: 9px;
  letter-spacing: .09em;
}

.core-preview-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.core-preview-metrics article {
  min-height: 132px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
  border: 1px solid rgba(128, 175, 208, .15);
  border-radius: 15px;
  background: rgba(17, 48, 73, .76);
}

.core-preview-metrics strong {
  margin: 11px 0 5px;
  font: 700 28px/1 "Space Grotesk", sans-serif;
}

.core-preview-metrics small {
  color: #7891a5;
  font-size: 9px;
}

.core-preview-lower {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 12px;
  margin-top: 12px;
}

.core-preview-chart,
.core-preview-list {
  padding: 21px;
  border: 1px solid rgba(128, 175, 208, .15);
  border-radius: 15px;
  background: rgba(15, 44, 68, .7);
}

.core-preview-chart > div,
.core-preview-list {
  display: grid;
  gap: 7px;
}

.core-preview-chart strong {
  font-size: 13px;
}

.core-preview-chart svg {
  width: 100%;
  height: 145px;
  margin-top: 8px;
  overflow: visible;
}

.core-preview-chart .grid {
  fill: none;
  stroke: rgba(139, 180, 207, .11);
  stroke-width: 1;
  stroke-dasharray: 4 6;
}

.core-preview-chart .line {
  fill: none;
  stroke: #13c1ec;
  stroke-width: 3;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 5px rgba(19, 193, 236, .2));
}

.core-preview-list strong {
  padding: 12px 0;
  border-top: 1px solid rgba(146, 184, 211, .11);
  color: #d9e7f0;
  font-size: 11px;
}

.core-preview-note {
  margin: 16px 3px 0;
  color: #6f879a;
  font-size: 9px;
  line-height: 1.5;
}

.field-proof {
  background: #fff;
}

.field-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.field-proof-grid figure {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--nexus-line);
  border-radius: 20px;
  background: #f7fafc;
  box-shadow: 0 18px 42px rgba(4, 38, 66, .07);
}

.field-proof-grid img {
  width: 100%;
  height: 340px;
  display: block;
  object-fit: cover;
}

.field-proof-grid figcaption {
  display: grid;
  gap: 7px;
  padding: 22px;
}

.field-proof-grid figcaption strong {
  color: var(--nexus-navy);
  font: 600 21px/1.2 "Space Grotesk", sans-serif;
}

.field-proof-grid figcaption span {
  color: var(--nexus-muted);
  font-size: 11px;
  line-height: 1.65;
}

.confidence-band {
  padding: 95px 0;
  color: #fff;
  background:
    radial-gradient(circle at 15% 15%, rgba(61, 144, 203, .17), transparent 30%),
    #031525;
}

.confidence-heading {
  max-width: 850px;
  margin-bottom: 42px;
}

.confidence-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(159, 199, 226, .15);
  border-radius: 18px;
  overflow: hidden;
}

.confidence-grid article {
  min-height: 230px;
  padding: 27px;
  background: rgba(255, 255, 255, .025);
}

.confidence-grid article + article {
  border-left: 1px solid rgba(159, 199, 226, .13);
}

.confidence-grid span {
  color: #65a7d4;
  font-size: 10px;
  font-weight: 900;
}

.confidence-grid strong {
  display: block;
  margin: 50px 0 12px;
  font: 600 21px/1.2 "Space Grotesk", sans-serif;
}

.confidence-grid p {
  color: #9eb3c3;
  font-size: 11px;
  line-height: 1.7;
}

.confidence-grid-light {
  border-color: var(--nexus-line);
  background: #fff;
  box-shadow: 0 20px 50px rgba(4, 38, 66, .06);
}

.confidence-grid-light article {
  color: var(--nexus-navy);
  background: #fff;
}

.confidence-grid-light article + article {
  border-left-color: var(--nexus-line);
}

.confidence-grid-light p {
  color: var(--nexus-muted);
}

/* Nexus Core page */
.core-hero {
  overflow: hidden;
  padding: 190px 0 105px;
  color: #fff;
  background:
    radial-gradient(circle at 78% 10%, rgba(25, 189, 224, .14), transparent 30%),
    linear-gradient(125deg, #020d18, #062844 68%, #073659);
}

.core-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 90px;
  align-items: end;
}

.core-hero h1 {
  max-width: 880px;
  margin: 19px 0 25px;
  font-size: clamp(52px, 6.2vw, 88px);
  line-height: .96;
  letter-spacing: -.06em;
}

.core-hero h1 span {
  color: #78bde8;
}

.core-hero-copy > p {
  max-width: 750px;
  color: #afc4d3;
  font-size: 16px;
  line-height: 1.75;
}

.core-hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid rgba(157, 200, 228, .17);
  border-radius: 20px;
  overflow: hidden;
  background: rgba(2, 17, 30, .35);
}

.core-hero-stats article {
  min-height: 138px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px;
}

.core-hero-stats article:nth-child(even) {
  border-left: 1px solid rgba(157, 200, 228, .14);
}

.core-hero-stats article:nth-child(n+3) {
  border-top: 1px solid rgba(157, 200, 228, .14);
}

.core-hero-stats strong {
  font: 700 30px/1 "Space Grotesk", sans-serif;
}

.core-hero-stats span {
  margin-top: 8px;
  color: #8fa9bb;
  font-size: 10px;
  line-height: 1.4;
}

.core-detail-section {
  background: #f4f8fb;
}

.core-product-preview-large {
  padding: 34px;
}

.core-capabilities {
  padding: 105px 0;
  color: #fff;
  background: #041626;
}

.core-service-callout {
  padding: 80px 0;
  color: #fff;
  background:
    radial-gradient(circle at 82% 20%, rgba(31, 182, 218, .14), transparent 32%),
    linear-gradient(125deg, #031322, #073352);
}

.core-service-callout-grid {
  display: grid;
  grid-template-columns: minmax(0, 760px) auto;
  gap: 70px;
  align-items: center;
  justify-content: space-between;
}

.core-service-callout h2 {
  margin: 14px 0 12px;
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1;
  letter-spacing: -.05em;
}

.core-service-callout p {
  max-width: 680px;
  color: #a7bdcc;
  font-size: 13px;
  line-height: 1.75;
}

.core-capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(163, 201, 226, .14);
  border-radius: 20px;
  overflow: hidden;
}

.core-capability-grid article {
  min-height: 260px;
  padding: 29px;
  border-right: 1px solid rgba(163, 201, 226, .12);
  border-bottom: 1px solid rgba(163, 201, 226, .12);
}

.core-capability-grid article:nth-child(3n) {
  border-right: 0;
}

.core-capability-grid article:nth-child(n+4) {
  border-bottom: 0;
}

.core-capability-grid span {
  color: #54b8df;
  font-size: 10px;
  font-weight: 900;
}

.core-capability-grid h3 {
  margin: 60px 0 12px;
  font-size: 25px;
}

.core-capability-grid p {
  color: #91aabd;
  font-size: 12px;
  line-height: 1.7;
}

.core-access-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 90px;
  align-items: start;
}

.core-access-grid h2 {
  margin: 15px 0 20px;
  font-size: clamp(40px, 5vw, 62px);
  line-height: 1.03;
  letter-spacing: -.05em;
}

.core-access-grid p {
  color: var(--nexus-muted);
  font-size: 14px;
  line-height: 1.8;
}

.core-access-steps {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--nexus-line);
  list-style: none;
}

.core-access-steps li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  padding: 25px 0;
  border-bottom: 1px solid var(--nexus-line);
}

.core-access-steps b {
  color: #4f8db9;
  font-size: 11px;
}

.core-access-steps span {
  color: var(--nexus-muted);
  font-size: 12px;
  line-height: 1.6;
}

.core-access-steps strong {
  display: block;
  margin-bottom: 5px;
  color: var(--nexus-navy);
  font: 600 19px/1.2 "Space Grotesk", sans-serif;
}

.core-cta-actions {
  display: grid;
  justify-items: end;
  gap: 15px;
}

.mobile-sales-bar {
  display: none;
}

.analytics-consent {
  position: fixed;
  right: 22px;
  bottom: 22px;
  left: 22px;
  z-index: 10000;
  max-width: 820px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 25px;
  align-items: center;
  margin: 0 auto;
  padding: 20px;
  border: 1px solid rgba(147, 190, 220, .25);
  border-radius: 15px;
  color: #fff;
  background: rgba(3, 22, 38, .97);
  box-shadow: 0 24px 70px rgba(0, 10, 20, .35);
  backdrop-filter: blur(16px);
}

.analytics-consent strong {
  font: 600 16px/1.2 "Space Grotesk", sans-serif;
}

.analytics-consent p {
  margin-top: 6px;
  color: #a7bccb;
  font-size: 10px;
  line-height: 1.55;
}

.analytics-consent a {
  color: #9ed1f2;
  text-decoration: underline;
}

.analytics-consent-actions {
  display: flex;
  gap: 8px;
}

.analytics-consent button {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  color: #fff;
  background: transparent;
  font: 800 10px "Manrope", sans-serif;
  cursor: pointer;
}

.analytics-consent button:last-child {
  border-color: #7ebbe5;
  color: #08243b;
  background: #7ebbe5;
}

@media (max-width: 950px) {
  .core-showcase-head,
  .core-hero-layout,
  .core-access-grid,
  .core-service-callout-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .core-preview-metrics,
  .confidence-grid,
  .field-proof-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .confidence-grid article:nth-child(3) {
    border-top: 1px solid rgba(159, 199, 226, .13);
    border-left: 0;
  }

  .confidence-grid article:nth-child(4) {
    border-top: 1px solid rgba(159, 199, 226, .13);
  }

  .core-capability-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .core-capability-grid article,
  .core-capability-grid article:nth-child(3n) {
    border-right: 1px solid rgba(163, 201, 226, .12);
    border-bottom: 1px solid rgba(163, 201, 226, .12);
  }

  .core-capability-grid article:nth-child(even) {
    border-right: 0;
  }

  .core-capability-grid article:nth-child(n+5) {
    border-bottom: 0;
  }
}

@media (max-width: 680px) {
  body.has-mobile-sales-bar {
    padding-bottom: 66px;
  }

  .core-product-preview {
    padding: 17px;
    border-radius: 17px;
  }

  .core-preview-top {
    display: grid;
  }

  .core-preview-top b {
    justify-self: start;
  }

  .core-preview-metrics,
  .core-preview-lower,
  .field-proof-grid,
  .confidence-grid,
  .core-hero-stats,
  .core-capability-grid {
    grid-template-columns: 1fr;
  }

  .core-preview-metrics article {
    min-height: 104px;
  }

  .core-preview-chart svg {
    height: 110px;
  }

  .field-proof-grid img {
    height: 310px;
  }

  .confidence-grid article,
  .confidence-grid article + article,
  .confidence-grid article:nth-child(3),
  .confidence-grid article:nth-child(4) {
    min-height: 190px;
    border-top: 1px solid rgba(159, 199, 226, .13);
    border-left: 0;
  }

  .confidence-grid article:first-child {
    border-top: 0;
  }

  .confidence-grid strong,
  .core-capability-grid h3 {
    margin-top: 32px;
  }

  .core-hero {
    padding: 145px 0 80px;
  }

  .core-hero h1 {
    font-size: 47px;
  }

  .core-hero-stats article:nth-child(even) {
    border-left: 0;
  }

  .core-hero-stats article + article {
    border-top: 1px solid rgba(157, 200, 228, .14);
  }

  .core-capability-grid article,
  .core-capability-grid article:nth-child(3n),
  .core-capability-grid article:nth-child(n+5) {
    min-height: 210px;
    border-right: 0;
    border-bottom: 1px solid rgba(163, 201, 226, .12);
  }

  .core-capability-grid article:last-child {
    border-bottom: 0;
  }

  .core-cta-actions {
    justify-items: stretch;
  }

  .mobile-sales-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 9000;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 8px;
    border-top: 1px solid rgba(160, 194, 220, .24);
    background: rgba(3, 21, 37, .96);
    box-shadow: 0 -10px 30px rgba(0, 12, 23, .22);
    backdrop-filter: blur(14px);
  }

  .analytics-consent {
    right: 10px;
    bottom: 10px;
    left: 10px;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .analytics-consent-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .mobile-sales-bar a {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 11px;
    font-weight: 900;
  }

  .mobile-sales-bar a:last-child {
    border-radius: 8px;
    color: #06233c;
    background: #80bce5;
  }
}


/* NEXUS_JASON_AUDIT_MASTER_V1 */

/* Keep the services directory from hiding the actual catalog below a full
   screen of introductory copy. */
@media (min-width: 951px) {
  .services-hub-hero {
    min-height: auto !important;
    padding-top: calc(var(--header-height, 100px) + 64px) !important;
    padding-bottom: 64px !important;
  }

  .services-hub-hero h1 {
    max-width: 22ch;
    font-size: clamp(48px, 5.1vw, 76px) !important;
  }
}

/* On phones, lead with a compact service catalog instead of making visitors
   read a long hero before they can see what Nexus sells. */
@media (max-width: 650px) {
  .hero .hero-layout {
    display: flex !important;
    flex-direction: column;
    gap: 28px !important;
  }

  .hero .home-service-menu {
    order: -1;
    margin-top: 0 !important;
    padding: 16px !important;
    border-radius: 18px;
  }

  .home-service-menu-head {
    margin-bottom: 12px;
  }

  .home-service-menu-head h2 {
    max-width: 24ch;
    font-size: 1.15rem;
  }

  .home-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 7px !important;
  }

  .home-service-card {
    grid-template-columns: minmax(0, 1fr) auto !important;
    min-height: 58px !important;
    padding: 9px 10px !important;
  }

  .home-service-card img,
  .home-service-card small {
    display: none !important;
  }

  .home-service-card strong {
    font-size: 0.68rem !important;
    line-height: 1.2 !important;
  }

  .home-service-arrow {
    padding-right: 0 !important;
  }
}

/* Keep faces—not empty background—inside the circular team crops. */
.team-photo {
  object-position: 50% 22% !important;
}

.audience-solutions-grid .card {
  min-height: 280px;
}
