/*
 * NodeSpace family redesign v2.1
 * Parent-brand interpretation of the sshVM design language:
 * darker navy, editorial typography, stronger hierarchy, conventional product architecture.
 */
:root {
  --ns2-navy-950: #061625;
  --ns2-navy-900: #081d30;
  --ns2-navy-850: #0b2741;
  --ns2-navy-800: #0d3154;
  --ns2-blue: #318fff;
  --ns2-blue-dark: #176fc8;
  --ns2-cyan: #8ddcff;
  --ns2-cyan-bright: #bcecff;
  --ns2-ink: #172432;
  --ns2-text: #33485a;
  --ns2-muted: #657585;
  --ns2-line: #d5e0e8;
  --ns2-line-dark: rgba(190, 222, 246, .22);
  --ns2-soft: #f2f7fa;
  --ns2-soft-blue: #eaf5fd;
  --ns2-white: #fff;
  --ns2-width: 1180px;
  --ns2-radius: 6px;

  --ns-primary: var(--ns2-blue);
  --ns-primary-hover: var(--ns2-blue-dark);
  --ns-primary-light: var(--ns2-soft-blue);
  --ns-dark: var(--ns2-ink);
  --ns-text: var(--ns2-text);
  --ns-text-muted: var(--ns2-muted);
  --ns-light: var(--ns2-soft);
  --ns-border: var(--ns2-line);
  --ns-radius-sm: 4px;
  --ns-radius: 6px;
  --ns-radius-md: 8px;
  --ns-radius-lg: 10px;
  --ns-radius-xl: 12px;
  --ns-shadow-sm: 0 1px 2px rgba(6,22,37,.05);
  --ns-shadow: 0 8px 24px rgba(6,22,37,.07);
  --ns-shadow-md: 0 14px 36px rgba(6,22,37,.09);
  --ns-gradient: linear-gradient(135deg, var(--ns2-blue) 0%, #1d6fc6 100%);
  --ns-gradient-hero: var(--ns2-navy-900);
  --ns-gradient-cta: var(--ns2-navy-900);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body {
  margin: 0;
  background: #fff;
  color: var(--ns2-ink);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body, button, input, textarea, select { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Helvetica, sans-serif; }
a { color: var(--ns2-blue-dark); text-underline-offset: 4px; }
a:hover { color: var(--ns2-navy-800); }
::selection { color: var(--ns2-navy-950); background: var(--ns2-cyan); }
:focus-visible { outline: 3px solid #f0a33b; outline-offset: 3px; }
h1, h2, h3, .ns-hero-title, .ns-section-title, .ns-cta-title {
  margin-top: 0;
  color: var(--ns2-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.07;
  letter-spacing: -.034em;
}
h1 { font-size: clamp(3.2rem, 5vw, 5.1rem); }
h2 { font-size: clamp(2.25rem, 3.4vw, 3.55rem); }
h3 { font-size: 1.6rem; }
.container {
  width: min(var(--ns2-width), calc(100% - 80px));
  max-width: none !important;
  margin-inline: auto;
  padding-inline: 0;
}

/* Header */
.ns-skip-link { position: absolute; top: -100px; left: 12px; z-index: 300; padding: 12px 16px; color: #fff; background: #000; }
.ns-skip-link:focus { top: 12px; }
.ns-family-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8,29,48,.97);
  border-bottom: 1px solid rgba(255,255,255,.11);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.ns-family-header-inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-block: 11px; }
.ns-family-brand { display: block; flex-shrink: 0; line-height: 0; }
.ns-family-brand img { width: 182px; height: auto; object-fit: contain; }
.ns-family-nav { display: flex; align-items: center; gap: 22px; }
.ns-family-nav > a:not(.ns-family-login) {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 0 7px;
  color: #dce8f1;
  border-bottom: 2px solid transparent;
  font-size: .84rem;
  font-weight: 560;
  text-decoration: none;
  white-space: nowrap;
}
.ns-family-nav > a:not(.ns-family-login):hover,
.ns-family-nav > a[aria-current='page']:not(.ns-family-login) { color: #fff; border-bottom-color: var(--ns2-cyan); }
.ns-family-nav > a[aria-current='page'] { font-weight: 700; }
.ns-family-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 42px;
  padding: 9px 14px;
  color: #fff;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.38);
  border-radius: 4px;
  font-size: .83rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.ns-family-login:hover { color: var(--ns2-navy-950); background: var(--ns2-cyan); border-color: var(--ns2-cyan); }
.ns-family-menu-toggle { display: none; min-height: 42px; padding: 8px 13px; color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.35); border-radius: 4px; }

/* Shared components */
.ns-family-section, .ns-section { padding-block: 76px !important; }
.ns-section.bg-light, .bg-light { background-color: var(--ns2-soft) !important; }
.ns-section.bg-white, .bg-white { background-color: #fff !important; }
.ns-family-eyebrow, .simple-kicker, .simple-eyebrow, .ns2-kicker {
  margin: 0 0 17px;
  color: var(--ns2-blue-dark) !important;
  font: 750 .74rem/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
  letter-spacing: .125em !important;
  text-transform: uppercase;
}
.ns2-kicker-on-dark { color: var(--ns2-cyan) !important; }
.ns-family-section-heading, .ns2-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 42px;
}
.ns-family-section-heading h2, .ns2-section-heading h2 { margin-bottom: 0; }
.ns-family-section-heading > p, .ns2-section-heading > p { max-width: 380px; margin: 0; color: var(--ns2-muted); font-size: .96rem; }
.ns-text-link, .ns2-text-link { display: inline-flex; align-items: center; gap: 18px; padding-bottom: 4px; color: var(--ns2-blue-dark); border-bottom: 1px solid currentColor; font-size: .9rem; font-weight: 700; text-decoration: none; }
.ns-text-link:hover, .ns2-text-link:hover { color: var(--ns2-navy-800); }

.btn, .ns-btn-gradient, .ns-btn-outline, .ns-family-button, .ns2-button { border-radius: 4px !important; box-shadow: none !important; transform: none !important; transition: background-color .15s, border-color .15s, color .15s !important; }
.btn-primary, .ns-btn-gradient, .ns-family-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 48px;
  padding: 12px 20px;
  color: #fff !important;
  background: var(--ns2-blue-dark) !important;
  border: 1px solid var(--ns2-blue-dark) !important;
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
}
.btn-primary:hover, .ns-btn-gradient:hover, .ns-family-button:hover { color: #fff !important; background: var(--ns2-navy-800) !important; border-color: var(--ns2-navy-800) !important; }
.btn-outline-primary, .btn-outline-secondary, .ns-btn-outline, .ns-family-button-outline { color: var(--ns2-navy-800) !important; background: #fff !important; border: 1px solid #8aa0b2 !important; }
.btn-outline-primary:hover, .btn-outline-secondary:hover, .ns-btn-outline:hover, .ns-family-button-outline:hover { color: var(--ns2-navy-950) !important; background: var(--ns2-soft-blue) !important; border-color: var(--ns2-blue-dark) !important; }
.btn-sm { min-height: 38px; padding: 7px 12px; }
.btn-lg { min-height: 52px; padding: 13px 22px; }

/* Breadcrumbs and secondary-page heroes */
nav[aria-label='breadcrumb'] { margin: 0 !important; padding-block: 17px; background: #fff; }
.breadcrumb { margin: 0; font-size: .78rem; --bs-breadcrumb-divider-color: #91a0ad; }
.breadcrumb a { color: var(--ns2-muted) !important; text-decoration: none; }
.breadcrumb a:hover { color: var(--ns2-blue-dark) !important; text-decoration: underline; }
.breadcrumb-item.active { color: var(--ns2-ink); }
.ns-hero {
  position: relative;
  overflow: hidden;
  padding: 68px 0 64px !important;
  color: #fff !important;
  background-color: var(--ns2-navy-900) !important;
  background-image:
    linear-gradient(rgba(141,220,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(141,220,255,.055) 1px, transparent 1px),
    radial-gradient(circle at 88% 12%, rgba(49,143,255,.18), transparent 30%);
  background-size: 42px 42px, 42px 42px, auto;
  border: 0 !important;
}
.ns-hero::before, .ns-hero::after, .ns-hero-pattern { display: none !important; }
.ns-hero-content, .ns-hero-inner { position: relative; z-index: 1; max-width: 930px; }
.ns-hero-centered { margin-inline: auto; text-align: center; }
.ns-hero-title { max-width: 930px; margin: 0 0 22px; color: #fff !important; font-size: clamp(3.05rem, 5.2vw, 5.2rem) !important; text-shadow: none !important; }
.ns-hero-subtitle { max-width: 750px; margin: 0 0 26px; color: #c6d7e5 !important; font-size: 1.08rem; line-height: 1.7; }
.ns-hero-centered .ns-hero-subtitle { margin-inline: auto; }
.ns-hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.ns-hero-centered .ns-hero-ctas { justify-content: center; }
.ns-hero .btn-primary, .ns-hero .ns-btn-gradient { color: var(--ns2-navy-950) !important; background: var(--ns2-cyan) !important; border-color: var(--ns2-cyan) !important; }
.ns-hero .btn-primary:hover, .ns-hero .ns-btn-gradient:hover { background: #c8f0ff !important; border-color: #c8f0ff !important; }
.ns-hero .btn-outline-light, .ns-hero .ns-btn-outline-light { color: #fff !important; background: transparent !important; border: 1px solid rgba(255,255,255,.55) !important; }
.ns-hero .btn-outline-light:hover, .ns-hero .ns-btn-outline-light:hover { background: rgba(255,255,255,.08) !important; }
.ns-hero-trust { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 28px; color: #b9ccdb !important; font-size: .82rem; }
.ns-hero-centered .ns-hero-trust { justify-content: center; }
.ns-hero-trust i { color: var(--ns2-cyan) !important; margin-right: 6px; }
.ns-gradient-text { color: var(--ns2-cyan) !important; background: none !important; -webkit-text-fill-color: currentColor !important; }

.ns-section-title { margin-bottom: 12px !important; color: var(--ns2-ink) !important; font-size: clamp(2.15rem, 3.1vw, 3.2rem) !important; }
.ns-section-subtitle { max-width: 720px; margin: 0 auto 36px; color: var(--ns2-muted) !important; font-size: 1rem; }

/* Cards are more conventional than sshVM: quiet depth and small radius. */
.ns-card, .ns-pricing-card {
  overflow: hidden;
  background: #fff !important;
  border: 1px solid var(--ns2-line) !important;
  border-radius: 8px !important;
  box-shadow: 0 8px 25px rgba(6,22,37,.055) !important;
  transform: none !important;
  transition: border-color .15s, box-shadow .15s !important;
}
a.ns-card:hover, .ns-card:hover { border-color: #a6c8df !important; box-shadow: 0 12px 32px rgba(6,22,37,.09) !important; }
.ns-card-icon, .ns-feature-icon { border-radius: 6px !important; color: var(--ns2-blue-dark) !important; background: var(--ns2-soft-blue) !important; }
.ns-card-title, .ns-feature-title { color: var(--ns2-ink) !important; }
.ns-card-text, .ns-feature-text { color: var(--ns2-muted) !important; }
.ns-pricing-card.popular { border-color: var(--ns2-blue) !important; background: #fff !important; box-shadow: 0 14px 34px rgba(23,111,200,.14) !important; }
.ns-pricing-badge { border-radius: 0 0 4px 4px !important; background: var(--ns2-blue-dark) !important; color: #fff !important; }
.ns-pricing-header { border-bottom: 1px solid var(--ns2-line) !important; }
.ns-pricing-amount, .ns-pricing-price { color: var(--ns2-ink) !important; }
.ns-pricing-features li::before, .billing-check { color: var(--ns2-blue-dark) !important; }

.accordion-item, .accordion-button, .form-control, .form-select, .alert, .nav-pills .nav-link { border-radius: 5px !important; }
.accordion-item { margin-bottom: 9px; overflow: hidden; border-color: var(--ns2-line) !important; }
.accordion-button { color: var(--ns2-ink); box-shadow: none !important; }
.accordion-button:not(.collapsed) { color: var(--ns2-navy-800); background: var(--ns2-soft-blue); }
.form-control, .form-select { border-color: #9aabba; }
.form-control:focus, .form-select:focus { border-color: var(--ns2-blue); box-shadow: 0 0 0 3px rgba(49,143,255,.13); }
.nav-pills .nav-link.active { color: #fff; background: var(--ns2-blue-dark); }
.alert-info { color: #17466c; background: var(--ns2-soft-blue); border-color: #b6dff6; }
.table { --bs-table-striped-bg: #f7fafc; --bs-table-hover-bg: #edf6fb; }
.table > :not(caption) > * > * { border-color: var(--ns2-line); }
.table-light { --bs-table-bg: var(--ns2-soft); --bs-table-color: var(--ns2-ink); }
.table-responsive { border-radius: 7px !important; }
.text-primary { color: var(--ns2-blue-dark) !important; }
.bg-primary { background-color: var(--ns2-blue-dark) !important; }
.border-primary { border-color: var(--ns2-blue-dark) !important; }

/* General CTA */
.ns-cta {
  padding: 60px 0 !important;
  color: #fff !important;
  background: var(--ns2-navy-900) !important;
  border: 0 !important;
}
.ns-cta::before, .ns-cta::after { display: none !important; }
.ns-cta-inner, .ns-cta-content { display: flex; align-items: center; justify-content: space-between; gap: 40px; text-align: left !important; }
.ns-cta-title { margin-bottom: 10px; color: #fff !important; font-size: clamp(2.2rem, 3.1vw, 3.25rem) !important; }
.ns-cta-text { max-width: 680px; margin: 0; color: #bfd0de !important; }
.ns-cta-buttons { display: flex; flex-wrap: wrap; gap: 12px; flex-shrink: 0; }
.ns-cta .btn-light { color: var(--ns2-navy-950) !important; background: var(--ns2-cyan) !important; border-color: var(--ns2-cyan) !important; }
.ns-cta .btn-light:hover { background: #c8f0ff !important; border-color: #c8f0ff !important; }
.ns-btn-outline-light { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 20px; color: #fff !important; background: transparent !important; border: 1px solid rgba(255,255,255,.5) !important; border-radius: 4px !important; font-size: .9rem; font-weight: 700; text-decoration: none; }
.ns-btn-outline-light:hover { color: #fff !important; background: rgba(255,255,255,.08) !important; }

/* Homepage */
.ns2-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background-color: var(--ns2-navy-900);
  background-image:
    linear-gradient(rgba(141,220,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(141,220,255,.045) 1px, transparent 1px),
    radial-gradient(circle at 78% 22%, rgba(49,143,255,.22), transparent 34%);
  background-size: 46px 46px, 46px 46px, auto;
}
.ns2-hero-grid { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(340px,.7fr); gap: 82px; align-items: end; padding: 86px 0 66px; }
.ns2-hero-copy { max-width: 750px; }
.ns2-hero-copy .ns2-kicker { color: var(--ns2-cyan) !important; }
.ns2-hero h1 { max-width: 760px; margin: 0 0 26px; color: #fff; font-size: clamp(4.1rem, 6.8vw, 7.35rem); line-height: .94; letter-spacing: -.052em; }
.ns2-hero-lead { max-width: 650px; margin: 0; color: #c6d6e3; font-size: 1.09rem; line-height: 1.72; }
.ns2-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.ns2-button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 50px; padding: 12px 19px; border: 1px solid transparent; border-radius: 4px; font-size: .88rem; font-weight: 750; text-decoration: none; }
.ns2-button-bright { color: var(--ns2-navy-950); background: var(--ns2-cyan); border-color: var(--ns2-cyan); }
.ns2-button-bright:hover { color: var(--ns2-navy-950); background: #c7efff; border-color: #c7efff; }
.ns2-button-ghost { color: #fff; background: rgba(255,255,255,.035); border-color: rgba(255,255,255,.45); }
.ns2-button-ghost:hover { color: #fff; background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.65); }
.ns2-quick-start { overflow: hidden; border: 1px solid rgba(181,218,242,.35); border-radius: 7px; background: rgba(3,16,27,.28); }
.ns2-quick-start-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; padding: 17px 19px; border-bottom: 1px solid rgba(181,218,242,.22); }
.ns2-quick-start-heading span { color: #fff; font-size: .78rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.ns2-quick-start-heading small { color: #9eb6c8; font-size: .7rem; }
.ns2-quick-start > a { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 19px; color: #fff; border-bottom: 1px solid rgba(181,218,242,.17); text-decoration: none; transition: background .15s; }
.ns2-quick-start > a:last-child { border-bottom: 0; }
.ns2-quick-start > a:hover { color: #fff; background: rgba(141,220,255,.08); }
.ns2-quick-start > a > span:first-child { font-size: .93rem; font-weight: 700; }
.ns2-quick-price { color: #a9c0d1; font-size: .72rem; white-space: nowrap; }
.ns2-quick-price strong { color: var(--ns2-cyan); font-size: 1.12rem; }
.ns2-quick-price b { margin-left: 9px; color: var(--ns2-cyan); font-weight: 700; }
.ns2-trust-strip { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border-top: 1px solid rgba(181,218,242,.22); }
.ns2-trust-strip span { min-height: 72px; display: flex; align-items: center; gap: 8px; padding: 17px 20px 17px 0; color: #94adbf; border-right: 1px solid rgba(181,218,242,.16); font-size: .76rem; }
.ns2-trust-strip span + span { padding-left: 20px; }
.ns2-trust-strip span:last-child { border-right: 0; }
.ns2-trust-strip strong { color: #fff; font-size: .8rem; }

.ns2-family-section { padding: 86px 0 92px; background: #fff; }
.ns2-family-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border-top: 1px solid var(--ns2-line); border-left: 1px solid var(--ns2-line); }
.ns2-family-card { min-height: 470px; padding: 34px 35px 30px; border-right: 1px solid var(--ns2-line); border-bottom: 1px solid var(--ns2-line); background: #fff; }
.ns2-family-card:nth-child(2), .ns2-family-card:nth-child(3) { background: #fbfdfe; }
.ns2-family-card-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 46px; }
.ns2-family-number { color: #91a5b5; font-size: .75rem; font-weight: 700; }
.ns2-family-label { margin: 0; color: var(--ns2-blue-dark); font-size: .73rem; font-weight: 750; letter-spacing: .095em; text-transform: uppercase; }
.ns2-family-card h3 { max-width: 470px; margin: 0 0 17px; font-size: clamp(2rem, 2.8vw, 3rem); }
.ns2-family-description { max-width: 500px; min-height: 78px; margin: 0 0 31px; color: var(--ns2-muted); font-size: .92rem; }
.ns2-family-links { border-top: 1px solid var(--ns2-line); }
.ns2-family-links a { display: grid; grid-template-columns: minmax(0,1fr) auto 18px; gap: 16px; align-items: center; padding: 13px 0; color: var(--ns2-ink); border-bottom: 1px solid var(--ns2-line); text-decoration: none; }
.ns2-family-links a:hover { color: var(--ns2-blue-dark); }
.ns2-family-links a span { font-size: .84rem; font-weight: 700; }
.ns2-family-links a small { color: var(--ns2-muted); font-size: .72rem; }
.ns2-family-links a b { color: var(--ns2-blue-dark); font-size: .82rem; text-align: right; }

.ns2-why { padding: 88px 0; color: #fff; background: var(--ns2-navy-850); }
.ns2-why-intro { display: grid; grid-template-columns: 1fr 1.05fr; gap: 80px; align-items: end; padding-bottom: 52px; }
.ns2-why-intro .ns2-kicker { grid-column: 1 / -1; margin-bottom: -35px; }
.ns2-why-intro h2 { max-width: 600px; margin: 0; color: #fff; font-size: clamp(2.7rem, 4.2vw, 4.4rem); }
.ns2-why-intro > p:last-child { max-width: 520px; margin: 0; color: #b9cbd8; }
.ns2-pillar-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-top: 1px solid var(--ns2-line-dark); }
.ns2-pillar-grid > div { padding: 30px 30px 0 0; }
.ns2-pillar-grid > div + div { padding-left: 30px; border-left: 1px solid var(--ns2-line-dark); }
.ns2-pillar-grid span { display: block; margin-bottom: 42px; color: var(--ns2-cyan); font-size: .72rem; font-weight: 700; }
.ns2-pillar-grid h3 { margin: 0 0 15px; color: #fff; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 1.05rem; font-weight: 750; letter-spacing: -.01em; }
.ns2-pillar-grid p { margin: 0; color: #aebfcd; font-size: .86rem; }

.ns2-locations { padding: 86px 0 92px; background: var(--ns2-soft); border-bottom: 1px solid var(--ns2-line); }
.ns2-location-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.ns2-location-grid article { display: grid; grid-template-columns: 116px minmax(0,1fr); gap: 30px; min-height: 290px; padding: 31px; background: #fff; border: 1px solid var(--ns2-line); border-radius: 7px; box-shadow: 0 8px 24px rgba(6,22,37,.04); }
.ns2-location-code { color: var(--ns2-blue-dark); font-size: 2.45rem; font-weight: 800; letter-spacing: -.06em; }
.ns2-location-region { margin: 5px 0 17px; color: var(--ns2-blue-dark); font-size: .73rem; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
.ns2-location-copy h3 { margin: 0 0 18px; font-size: 1.72rem; }
.ns2-location-copy > p:not(.ns2-location-region) { color: var(--ns2-muted); font-size: .86rem; }
.ns2-location-copy > div { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 25px; }
.ns2-location-copy a { font-size: .8rem; font-weight: 700; }

.ns2-proof { padding: 88px 0 94px; background: #fff; }
.ns2-proof-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 46px; margin-bottom: 43px; }
.ns2-proof-heading h2 { margin: 0; }
.ns2-awards { display: flex; align-items: center; gap: 16px; }
.ns2-awards img { display: block; max-width: 92px; max-height: 84px; object-fit: contain; }
.ns2-testimonial-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.ns2-testimonial-grid blockquote { display: flex; flex-direction: column; justify-content: space-between; min-height: 300px; margin: 0; padding: 28px; background: var(--ns2-soft); border: 1px solid var(--ns2-line); border-radius: 7px; }
.ns2-testimonial-grid blockquote p { margin: 0 0 26px; color: var(--ns2-ink); font-family: Georgia, "Times New Roman", serif; font-size: 1.12rem; line-height: 1.55; }
.ns2-testimonial-grid footer { display: flex; flex-direction: column; gap: 3px; color: var(--ns2-muted); font-size: .75rem; }
.ns2-testimonial-grid footer strong { color: var(--ns2-ink); font-size: .8rem; }

.ns2-closing { padding: 72px 0; color: #fff; background: var(--ns2-navy-900); }
.ns2-closing-inner { display: flex; align-items: center; justify-content: space-between; gap: 60px; }
.ns2-closing h2 { max-width: 700px; margin: 0 0 16px; color: #fff; font-size: clamp(2.5rem,4vw,4.25rem); }
.ns2-closing p:last-child { max-width: 640px; margin: 0; color: #b7c9d7; }
.ns2-closing-actions { display: flex; flex-wrap: wrap; gap: 12px; flex-shrink: 0; }

/* Footer: parent brand gets a substantial dark footer. */
.ns-family-footer { padding: 54px 0 26px; color: #d3e0ea; background: var(--ns2-navy-950); border-top: 1px solid rgba(255,255,255,.1); }
.ns-family-footer-main { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1fr; gap: 42px; padding-bottom: 39px; }
.ns-family-footer-logo { display: inline-flex; line-height: 0; }
.ns-family-footer-logo img { width: 180px; height: auto; }
.ns-family-footer-about p { max-width: 300px; margin: 18px 0 0; color: #8fa6b8; font-size: .78rem; }
.ns-family-footer-about a { color: #bcd6e8; }
.ns-family-footer-main h2 { margin: 3px 0 17px; color: #fff; font: 750 .73rem/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.ns-family-footer-main > div:not(.ns-family-footer-about) > a { display: block; margin: 9px 0; color: #91a8ba; font-size: .78rem; text-decoration: none; }
.ns-family-footer-main > div > a:hover { color: var(--ns2-cyan); text-decoration: none; }
.ns-family-footer-bottom { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding-top: 22px; color: #71899b; border-top: 1px solid rgba(255,255,255,.12); font-size: .68rem; }
.ns-family-footer-bottom p { margin: 0; }
.ns-family-footer-bottom > div { display: flex; flex-wrap: wrap; gap: 10px 16px; }
.ns-family-footer-bottom a { color: #8ba2b4; }

.preview-banner, .preview-mode { border-radius: 0 !important; box-shadow: none !important; }
.simple-home-hero, .simple-services, .simple-additional-services, .simple-why, .simple-testimonials, .simple-support-strip, .simple-awards { border-radius: 0 !important; box-shadow: none !important; }
.ns-family-header .holiday-lights { position: absolute; inset: 0 0 auto; pointer-events: none; }

@media (max-width: 1250px) {
  .container { width: calc(100% - 64px); }
  .ns-family-footer-main { grid-template-columns: 1.2fr 1fr 1fr; }
  .ns-family-footer-about { grid-column: 1 / -1; }
}
@media (max-width: 1180px) {
  .ns-family-header-inner { flex-wrap: wrap; gap: 0; min-height: 70px; }
  .ns-family-menu-toggle:not([hidden]) { display: inline-flex; align-items: center; gap: 14px; }
  .ns-family-nav { width: 100%; flex-direction: column; align-items: stretch; gap: 0; margin-top: 13px; padding: 9px 0 15px; border-top: 1px solid rgba(255,255,255,.2); }
  .js .ns-family-nav { display: none; }
  .js .ns-family-nav.is-open { display: flex; }
  .ns-family-nav > a:not(.ns-family-login) { padding: 11px 0; }
  .ns-family-login { align-self: flex-start; margin-top: 10px; }
  .ns2-hero-grid { grid-template-columns: 1fr .62fr; gap: 48px; }
}
@media (max-width: 950px) {
  .ns-family-section, .ns-section { padding-block: 60px !important; }
  .ns2-hero-grid { grid-template-columns: 1fr; gap: 42px; padding-top: 62px; }
  .ns2-quick-start { max-width: 650px; }
  .ns2-trust-strip { grid-template-columns: repeat(2,1fr); }
  .ns2-trust-strip span:nth-child(2) { border-right: 0; }
  .ns2-trust-strip span:nth-child(3), .ns2-trust-strip span:nth-child(4) { border-top: 1px solid rgba(181,218,242,.16); }
  .ns2-family-card { min-height: auto; }
  .ns2-why-intro { grid-template-columns: 1fr; gap: 24px; }
  .ns2-why-intro .ns2-kicker { grid-column: auto; margin-bottom: -5px; }
  .ns2-location-grid { grid-template-columns: 1fr; }
  .ns2-testimonial-grid { grid-template-columns: 1fr; }
  .ns2-testimonial-grid blockquote { min-height: auto; }
  .ns2-closing-inner { flex-direction: column; align-items: flex-start; }
  .ns-cta-inner, .ns-cta-content { align-items: flex-start; flex-direction: column; gap: 25px; }
}
@media (max-width: 760px) {
  .container { width: calc(100% - 40px); }
  .ns-family-section-heading, .ns2-section-heading, .ns2-proof-heading { flex-direction: column; align-items: flex-start; gap: 22px; }
  .ns-family-section-heading > p, .ns2-section-heading > p { max-width: 100%; }
  .ns2-hero h1 { font-size: clamp(3.55rem, 14.5vw, 5.8rem); }
  .ns2-hero-grid { padding-top: 48px; }
  .ns2-trust-strip { grid-template-columns: 1fr; }
  .ns2-trust-strip span, .ns2-trust-strip span + span { min-height: 56px; padding: 13px 0; border-right: 0; border-top: 1px solid rgba(181,218,242,.16); }
  .ns2-family-section, .ns2-why, .ns2-locations, .ns2-proof { padding-block: 62px; }
  .ns2-family-grid { grid-template-columns: 1fr; }
  .ns2-family-card { padding: 28px 24px; }
  .ns2-family-card-top { margin-bottom: 30px; }
  .ns2-family-description { min-height: 0; }
  .ns2-family-links a { grid-template-columns: minmax(0,1fr) 18px; }
  .ns2-family-links a small { grid-column: 1; grid-row: 2; }
  .ns2-family-links a b { grid-column: 2; grid-row: 1 / span 2; }
  .ns2-pillar-grid { grid-template-columns: 1fr; }
  .ns2-pillar-grid > div, .ns2-pillar-grid > div + div { padding: 26px 0; border-left: 0; border-bottom: 1px solid var(--ns2-line-dark); }
  .ns2-pillar-grid span { margin-bottom: 22px; }
  .ns2-location-grid article { grid-template-columns: 1fr; gap: 14px; }
  .ns2-location-code { font-size: 2rem; }
  .ns2-closing-actions { width: 100%; }
  .ns2-closing-actions .ns2-button { flex: 1; }
  .ns-hero { padding: 52px 0 48px !important; }
  .ns-hero-title { font-size: 3rem !important; }
  .ns-family-footer-main { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .ns-family-footer-about { grid-column: 1 / -1; }
  .ns-family-footer-bottom { flex-direction: column; }
}
@media (max-width: 500px) {
  .ns2-hero-actions, .ns2-closing-actions { flex-direction: column; }
  .ns2-hero-actions .ns2-button, .ns2-closing-actions .ns2-button { width: 100%; }
  .ns2-quick-start > a { align-items: flex-start; flex-direction: column; gap: 5px; }
  .ns2-location-grid article { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
@media print {
  .ns-family-header, .ns-family-footer, .preview-banner, #cookieConsentBar, .ns-family-button, .btn { display: none !important; }
  .container { width: 100%; }
  .ns-family-section, .ns-section { padding: 20px 0 !important; }
}

/* v2.1 refinement — quieter, cleaner, more premium. */

/* Breadcrumbs should align with the readable page content, not the outer edge
   of the full desktop canvas. */
nav.container[aria-label='breadcrumb'] {
  width: min(930px, calc(100% - 80px));
  padding-block: 15px;
}

/* Remove decorative graph-paper/grid treatments. Depth comes from a restrained
   radial wash instead of visible lines. */
.ns-hero {
  background-image: radial-gradient(circle at 86% 8%, rgba(49,143,255,.16), transparent 34%) !important;
  background-size: auto !important;
}
.ns2-hero {
  background-image: radial-gradient(circle at 80% 18%, rgba(49,143,255,.20), transparent 36%);
  background-size: auto;
}

/* Homepage: replace the line-heavy matrix with independent, quiet surfaces. */
.ns2-family-grid {
  gap: 22px;
  border: 0;
}
.ns2-family-card {
  min-height: 450px;
  padding: 36px;
  border: 0;
  border-radius: 10px;
  background: var(--ns2-soft);
  box-shadow: 0 10px 30px rgba(6,22,37,.045);
}
.ns2-family-card:nth-child(2),
.ns2-family-card:nth-child(3) {
  background: var(--ns2-soft);
}
.ns2-family-card-top { margin-bottom: 38px; }
.ns2-family-links { border-top: 0; }
.ns2-family-links a {
  padding: 11px 0;
  border-bottom: 0;
}
.ns2-family-links a + a { margin-top: 2px; }
.ns2-family-links a:hover { transform: translateX(2px); }

/* Let the hero and proof points breathe instead of dividing them into cells. */
.ns2-quick-start {
  border-color: rgba(181,218,242,.22);
  background: rgba(3,16,27,.22);
}
.ns2-quick-start-heading { border-bottom-color: rgba(181,218,242,.13); }
.ns2-quick-start > a { border-bottom-color: rgba(181,218,242,.10); }
.ns2-trust-strip {
  gap: 26px;
  border-top: 0;
  padding: 24px 0 28px;
}
.ns2-trust-strip span,
.ns2-trust-strip span + span {
  min-height: 0;
  padding: 0;
  border: 0;
}

/* Dark value section: no column rules. */
.ns2-pillar-grid {
  gap: 46px;
  border-top: 0;
}
.ns2-pillar-grid > div,
.ns2-pillar-grid > div + div {
  padding: 12px 0 0;
  border: 0;
}
.ns2-pillar-grid span { margin-bottom: 28px; }

/* Locations and testimonials should read as calm content surfaces, not cells. */
.ns2-locations { border-bottom: 0; }
.ns2-location-grid { gap: 26px; }
.ns2-location-grid article {
  border: 0;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(6,22,37,.045);
}
.ns2-testimonial-grid { gap: 26px; }
.ns2-testimonial-grid blockquote {
  border: 0;
  border-radius: 10px;
  box-shadow: none;
}

/* Existing shared cards: soften the boxed-in feel while keeping structure for
   dense product and pricing pages. */
.ns-card,
.ns-pricing-card,
.card {
  border-color: rgba(213,224,232,.62) !important;
  box-shadow: 0 7px 24px rgba(6,22,37,.035) !important;
}

@media (max-width: 760px) {
  nav.container[aria-label='breadcrumb'] { width: calc(100% - 40px); }
  .ns2-family-grid { gap: 16px; }
  .ns2-family-card { padding: 28px 24px; }
  .ns2-trust-strip { gap: 0; padding-top: 18px; }
  .ns2-trust-strip span,
  .ns2-trust-strip span + span {
    padding: 8px 0;
    border: 0;
  }
  .ns2-pillar-grid { gap: 14px; }
  .ns2-pillar-grid > div,
  .ns2-pillar-grid > div + div {
    padding: 18px 0;
    border: 0;
  }
}

/* The base breadcrumb rule intentionally clears Bootstrap's vertical margins,
   but it must not clear the container's horizontal auto margins. */
nav.container[aria-label='breadcrumb'] {
  margin-left: auto !important;
  margin-right: auto !important;
}

/* More Services navigation */
.ns-family-dropdown {
  position: relative;
  display: flex;
  align-items: stretch;
}
.ns-family-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 9px 0 7px;
  color: #dce8f1;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  font: inherit;
  font-size: .84rem;
  font-weight: 560;
  white-space: nowrap;
  cursor: pointer;
}
.ns-family-dropdown-toggle:hover,
.ns-family-dropdown-toggle:focus-visible,
.ns-family-dropdown.is-active .ns-family-dropdown-toggle,
.ns-family-dropdown.is-open .ns-family-dropdown-toggle {
  color: #fff;
  border-bottom-color: var(--ns2-cyan);
  outline: none;
}
.ns-family-dropdown.is-active .ns-family-dropdown-toggle { font-weight: 700; }
.ns-family-dropdown-chevron {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .18s ease;
}
.ns-family-dropdown.is-open .ns-family-dropdown-chevron { transform: translateY(2px) rotate(225deg); }
.ns-family-dropdown-menu {
  position: absolute;
  top: calc(100% + 13px);
  left: 50%;
  z-index: 130;
  width: min(670px, calc(100vw - 48px));
  padding: 20px;
  color: var(--ns2-ink);
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 22px 55px rgba(3,18,31,.22);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}
.ns-family-dropdown-menu::before {
  content: '';
  position: absolute;
  inset: -14px 0 auto;
  height: 14px;
}
.ns-family-dropdown.is-open .ns-family-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.ns-family-dropdown-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 12px;
  padding: 0 4px 13px;
  border-bottom: 1px solid #e5ebef;
}
.ns-family-dropdown-heading > span {
  color: var(--ns2-navy-950);
  font-size: .77rem;
  font-weight: 800;
  letter-spacing: .085em;
  text-transform: uppercase;
}
.ns-family-dropdown-heading a {
  color: var(--ns2-blue-dark);
  font-size: .79rem;
  font-weight: 700;
  text-decoration: none;
}
.ns-family-dropdown-heading a:hover { text-decoration: underline; }
.ns-family-dropdown-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3px 8px;
}
.ns-family-dropdown-item {
  display: block;
  padding: 10px 11px;
  color: var(--ns2-ink);
  border-radius: 5px;
  text-decoration: none;
}
.ns-family-dropdown-item strong,
.ns-family-dropdown-item span { display: block; }
.ns-family-dropdown-item strong {
  margin-bottom: 2px;
  color: var(--ns2-navy-950);
  font-size: .86rem;
  font-weight: 720;
}
.ns-family-dropdown-item span {
  color: #667985;
  font-size: .74rem;
  line-height: 1.35;
}
.ns-family-dropdown-item:hover,
.ns-family-dropdown-item:focus-visible,
.ns-family-dropdown-item[aria-current='page'] {
  background: #f3f7f9;
  outline: none;
}

@media (min-width: 1181px) {
  .ns-family-dropdown:hover .ns-family-dropdown-menu,
  .ns-family-dropdown:focus-within .ns-family-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
  }
}

@media (max-width: 1180px) {
  .ns-family-dropdown {
    display: block;
    width: 100%;
  }
  .ns-family-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 11px 0;
    border-bottom: 0;
  }
  .ns-family-dropdown-toggle:hover,
  .ns-family-dropdown-toggle:focus-visible,
  .ns-family-dropdown.is-active .ns-family-dropdown-toggle,
  .ns-family-dropdown.is-open .ns-family-dropdown-toggle { border-bottom-color: transparent; }
  .ns-family-dropdown-menu {
    position: static;
    width: 100%;
    padding: 6px 0 13px 14px;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }
  .ns-family-dropdown.is-open .ns-family-dropdown-menu { display: block; transform: none; }
  .ns-family-dropdown-heading { margin-bottom: 4px; padding: 4px 0 10px; border-bottom-color: rgba(255,255,255,.13); }
  .ns-family-dropdown-heading > span { display: none; }
  .ns-family-dropdown-heading a { color: var(--ns2-cyan); }
  .ns-family-dropdown-grid { grid-template-columns: 1fr 1fr; gap: 2px 12px; }
  .ns-family-dropdown-item { padding: 9px 0; }
  .ns-family-dropdown-item strong { color: #fff; }
  .ns-family-dropdown-item span { color: #a9bbc8; }
  .ns-family-dropdown-item:hover,
  .ns-family-dropdown-item:focus-visible,
  .ns-family-dropdown-item[aria-current='page'] { background: transparent; }
}

@media (max-width: 620px) {
  .ns-family-dropdown-grid { grid-template-columns: 1fr; }
}

/* v2.3 — breadcrumbs are page context, not a second navigation bar. */
.ns-breadcrumbs {
  font-size: .76rem;
  line-height: 1.35;
}

.ns-breadcrumbs .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  background: transparent;
  font-size: inherit;
  --bs-breadcrumb-divider: "›";
  --bs-breadcrumb-divider-color: currentColor;
}

.ns-breadcrumbs .breadcrumb-item + .breadcrumb-item::before {
  padding-right: .55rem;
  padding-left: .55rem;
  color: inherit;
  opacity: .48;
}

.ns-breadcrumbs a {
  text-decoration: none !important;
}

.ns-breadcrumbs a:hover {
  text-decoration: none !important;
}

/* Standard pages: visually integrate the trail into the hero. */
.ns-breadcrumbs-hero {
  margin: 0 0 18px;
  color: rgba(224, 237, 248, .62);
}

.ns-breadcrumbs-hero .breadcrumb {
  justify-content: flex-start;
}

.ns-hero-centered .ns-breadcrumbs-hero .breadcrumb {
  justify-content: center;
}

.ns-breadcrumbs-hero a,
.ns-breadcrumbs-hero .breadcrumb-item.active {
  color: inherit !important;
}

.ns-breadcrumbs-hero a:hover {
  color: #fff !important;
}

.ns-breadcrumbs-hero .breadcrumb-item.active {
  color: rgba(255, 255, 255, .88) !important;
}

/* Non-standard pages: compact fallback with no panel, border or boxed strip. */
.ns-breadcrumbs-standalone {
  width: min(1120px, calc(100% - 80px));
  margin: 0 auto;
  padding: 18px 0 0;
  color: #728294;
}

.ns-breadcrumbs-standalone .breadcrumb-item.active {
  color: var(--ns2-ink) !important;
}

.ns-breadcrumbs-standalone a {
  color: #728294 !important;
}

.ns-breadcrumbs-standalone a:hover {
  color: var(--ns2-blue-dark) !important;
}

/* Retire the earlier breadcrumb strip/container rules. */
nav.container[aria-label='breadcrumb'],
nav[aria-label='breadcrumb'].container {
  width: auto;
  margin: 0 !important;
  padding: 0;
  background: transparent;
}

@media (max-width: 760px) {
  .ns-breadcrumbs-standalone {
    width: calc(100% - 40px);
    padding-top: 14px;
  }
  .ns-breadcrumbs-hero {
    margin-bottom: 14px;
  }
}

/* Custom/legacy heroes: keep the breadcrumb visually inside the dark hero area. */
.ns-breadcrumbs-hero-prelude {
  width: min(1120px, calc(100% - 80px));
  margin: 0 auto;
  padding: 18px 0 3px;
  color: rgba(224, 237, 248, .62);
  background: var(--ns2-navy-900);
  box-shadow: 0 0 0 100vmax var(--ns2-navy-900);
  clip-path: inset(0 -100vmax);
}

.ns-breadcrumbs-hero-prelude .breadcrumb {
  justify-content: center;
}

.ns-breadcrumbs-hero-prelude a,
.ns-breadcrumbs-hero-prelude .breadcrumb-item.active {
  color: inherit !important;
}

.ns-breadcrumbs-hero-prelude a:hover {
  color: #fff !important;
}

.ns-breadcrumbs-hero-prelude .breadcrumb-item.active {
  color: rgba(255, 255, 255, .88) !important;
}

.ns-breadcrumbs-hero-prelude + .ns-hero {
  padding-top: 48px !important;
}

@media (max-width: 760px) {
  .ns-breadcrumbs-hero-prelude {
    width: calc(100% - 40px);
    padding-top: 14px;
  }
}


/* v2.4 — contrast and icon-color polish. */
.ns-card-dark-accent {
  color: #fff !important;
  background: var(--ns2-navy-850) !important;
  border-color: rgba(141,220,255,.18) !important;
  box-shadow: 0 12px 30px rgba(6,22,37,.11) !important;
}
.ns-card-dark-accent h1,
.ns-card-dark-accent h2,
.ns-card-dark-accent h3,
.ns-card-dark-accent h4,
.ns-card-dark-accent h5,
.ns-card-dark-accent h6,
.ns-card-dark-accent p,
.ns-card-dark-accent .lead,
.ns-card-dark-accent strong {
  color: #fff !important;
}
.ns-card-dark-accent .bi {
  color: var(--ns2-cyan) !important;
}
.ns-card-dark-accent p.opacity-75,
.ns-card-dark-accent .opacity-75 {
  color: rgba(231,242,250,.78) !important;
  opacity: 1 !important;
}

/* Feature/check icons are part of the NodeSpace visual language, not status lights. */
.site-page .bi.text-success,
.site-page .bi.text-info,
.site-page .bi.text-secondary {
  color: var(--ns2-blue-dark) !important;
}

/* Keep actual warnings and errors semantic while avoiding Bootstrap's louder defaults. */
.site-page .bi.text-warning {
  color: #a66b16 !important;
}
.site-page .bi.text-danger {
  color: #b34552 !important;
}

/* Software Licensing platform selector
   Keep the selected state refined and readable. The general card system uses
   a white background with !important, so the Bootstrap nav-pill active state
   must be defined at the component level rather than relying on Bootstrap's
   white-on-blue defaults. */
#license-platforms .nav-pills .nav-link.ns-card {
  color: var(--ns2-blue-dark) !important;
}
#license-platforms .nav-pills .nav-link.ns-card strong {
  color: inherit !important;
}
#license-platforms .nav-pills .nav-link.ns-card.active {
  color: var(--ns2-navy-850) !important;
  background: #f1f7fb !important;
  border-color: #8fbfdd !important;
  box-shadow: 0 10px 28px rgba(6, 22, 37, .07) !important;
}
#license-platforms .nav-pills .nav-link.ns-card.active .ns-feature-icon {
  color: #fff !important;
  background: var(--ns2-blue-dark) !important;
}
#license-platforms .nav-pills .nav-link.ns-card:hover:not(.active) {
  color: var(--ns2-navy-850) !important;
  background: #f8fbfd !important;
}
