/* ==========================================================================
   NorthShift theme — design system + all section styles.
   Navy #16233A / Cards #1C2B45 / Amber #D9A548 / Green #4C8C6B (bright #5A9B76)
   Light bg #E9EAEC / Dark text #1B2436. Fonts: Plus Jakarta Sans + Sora
   (self-hosted, see fonts.css). No CDN.
   ========================================================================== */

:root {
	--ns-navy: #16233A;
	--ns-navy-card: #1C2B45;
	--ns-navy-card-2: #22335073;
	--ns-amber: #D9A548;
	--ns-green: #4C8C6B;
	--ns-green-bright: #5A9B76;
	--ns-light-bg: #E9EAEC;
	--ns-dark-text: #1B2436;
	--ns-white: #FFFFFF;
	--ns-gray-body: #8C93A3;
	--ns-gray-body-light: #5C6478;
	--ns-border-light: #D7DAE0;
	--ns-border-navy: #2B3B57;

	--ns-font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--ns-font-display: 'Plus Jakarta Sans', -apple-system, sans-serif;

	--ns-container: 1280px;
	--ns-radius-lg: 28px;
	--ns-radius-md: 18px;
	--ns-radius-sm: 12px;
	--ns-radius-pill: 999px;

	--ns-ease: cubic-bezier(.16,.84,.44,1);
}

/* -------------------------------------------------------------------------
   Reset / base
   ---------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--ns-font-body);
	color: var(--ns-dark-text);
	background: var(--ns-light-bg);
	-webkit-font-smoothing: antialiased;
	line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--ns-font-display); margin: 0; line-height: 1.15; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
.screen-reader-text {
	position: absolute !important; clip: rect(1px,1px,1px,1px); width: 1px; height: 1px; overflow: hidden;
}

.ns-container {
	max-width: var(--ns-container);
	margin: 0 auto;
	padding: 0 24px;
}

.ns-section { position: relative; }

/* Scroll-reveal base state (JS toggles .is-visible) */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ns-ease), transform .7s var(--ns-ease); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal-child] { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ns-ease) .1s, transform .7s var(--ns-ease) .1s; }
[data-reveal-child].is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
	[data-reveal], [data-reveal-child] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* -------------------------------------------------------------------------
   Eyebrow pills + buttons
   ---------------------------------------------------------------------- */
.ns-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 16px;
	border-radius: var(--ns-radius-pill);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	background: var(--ns-green);
	color: var(--ns-white);
}
.ns-eyebrow--navy { background: var(--ns-navy); color: var(--ns-white); }
.ns-eyebrow__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ns-white); flex-shrink: 0; }
.ns-eyebrow--navy .ns-eyebrow__dot { background: var(--ns-amber); }

.ns-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 22px;
	border-radius: var(--ns-radius-pill);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .02em;
	transition: transform .2s var(--ns-ease), box-shadow .2s var(--ns-ease), background .2s;
	white-space: nowrap;
}
.ns-btn:hover { transform: translateY(-2px); }
.ns-btn--amber { background: var(--ns-amber); color: var(--ns-navy); }
.ns-btn--amber:hover { box-shadow: 0 8px 22px rgba(217,165,72,.35); }
.ns-btn--green { background: var(--ns-green); color: var(--ns-white); text-transform: uppercase; font-size: 12px; letter-spacing: .08em; padding: 12px 24px; }
.ns-btn--green:hover { box-shadow: 0 8px 22px rgba(76,140,107,.35); }
.ns-btn--light { background: var(--ns-light-bg); color: var(--ns-dark-text); }
.ns-btn--light:hover { box-shadow: 0 8px 22px rgba(0,0,0,.12); }
.ns-btn--outline { background: transparent; border: 1.5px solid currentColor; }
.ns-btn__icon { width: 16px; height: 16px; }

.ns-rule { border: none; height: 2px; background: var(--ns-border-light); margin: 20px 0; width: 64px; }
.ns-rule--green { background: var(--ns-green); }

/* -------------------------------------------------------------------------
   Logo lockup
   ---------------------------------------------------------------------- */
.ns-logo-plaque { display: inline-flex; align-items: center; gap: 12px; }
.ns-logo-img { display: block; height: 52px; width: auto; }
.ns-footer .ns-logo-img { height: 60px; }
.ns-mountain-mark { flex-shrink: 0; }
.ns-logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.ns-logo-wordmark { font-family: var(--ns-font-display); font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.ns-logo-wordmark sup { font-size: 10px; }
.ns-logo-tag { font-size: 10.5px; letter-spacing: .01em; opacity: .75; font-style: italic; }
.ns-logo-plaque--white .ns-logo-wordmark, .ns-logo-plaque--white .ns-logo-tag { color: var(--ns-white); }
.ns-logo-plaque--navy .ns-logo-wordmark, .ns-logo-plaque--navy .ns-logo-tag { color: var(--ns-dark-text); }

.ns-aiscent-mark { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; }
.ns-aiscent-mark__text { font-family: var(--ns-font-display); font-weight: 700; font-size: 15px; letter-spacing: .01em; }
.ns-aiscent-mark__text sup { font-size: 9px; }

/* -------------------------------------------------------------------------
   HEADER / NAV
   ---------------------------------------------------------------------- */
.ns-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--ns-navy);
	border-bottom: 1px solid rgba(255,255,255,.08);
}
.ns-header__inner {
	max-width: var(--ns-container);
	margin: 0 auto;
	padding: 14px 24px;
	display: flex;
	align-items: center;
	gap: 28px;
}
.ns-nav-inline { flex: 1; display: flex; justify-content: center; }
.ns-nav-inline__list { display: flex; align-items: center; gap: 8px; }
.ns-menu-item { position: relative; }
.ns-menu-link {
	display: flex;
	align-items: center;
	gap: 5px;
	padding: 10px 16px;
	color: var(--ns-white);
	font-size: 14px;
	font-weight: 600;
	border-radius: var(--ns-radius-pill);
	transition: background .2s;
}
.ns-menu-link:hover, .ns-menu-item.ns-has-children:hover > .ns-menu-link { background: rgba(255,255,255,.08); }
.ns-menu-caret { width: 13px; height: 13px; transition: transform .2s; }
.ns-has-children:hover .ns-menu-caret { transform: rotate(180deg); }

.ns-submenu {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	min-width: 280px;
	background: var(--ns-navy-card);
	border: 1px solid var(--ns-border-navy);
	border-radius: var(--ns-radius-md);
	padding: 10px;
	box-shadow: 0 24px 48px rgba(0,0,0,.35);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	transition: opacity .18s var(--ns-ease), transform .18s var(--ns-ease), visibility .18s;
	z-index: 50;
}
.ns-has-children:hover .ns-submenu,
.ns-has-children:focus-within .ns-submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.ns-submenu__label {
	padding: 8px 14px 6px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--ns-green-bright);
}
.ns-submenu__link {
	display: block;
	padding: 9px 14px;
	border-radius: var(--ns-radius-sm);
	color: var(--ns-white);
	font-size: 14px;
	font-weight: 500;
}
.ns-submenu__link:hover { background: rgba(255,255,255,.06); }
.ns-submenu li + li.ns-submenu__label { margin-top: 6px; border-top: 1px solid var(--ns-border-navy); padding-top: 12px; }

.ns-header__cta { flex-shrink: 0; }

.ns-burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 8px; }
.ns-burger span { width: 22px; height: 2px; background: var(--ns-white); border-radius: 2px; }

.ns-nav-overlay {
	position: fixed; inset: 0; background: rgba(10,15,26,.55); z-index: 90;
	opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
}
.ns-nav-overlay.is-open { opacity: 1; visibility: visible; }

.ns-navpanel {
	position: fixed; top: 0; right: 0; height: 100%; width: min(340px, 86vw);
	background: var(--ns-navy); z-index: 95; padding: 28px 24px;
	transform: translateX(100%); transition: transform .3s var(--ns-ease);
	display: flex; flex-direction: column; gap: 6px; overflow-y: auto;
}
.ns-navpanel.is-open { transform: translateX(0); }
.ns-navpanel-close { position: absolute; top: 18px; right: 20px; background: none; border: none; color: var(--ns-white); font-size: 28px; line-height: 1; }
.ns-navpanel .ns-menu { display: flex; flex-direction: column; gap: 2px; margin-top: 48px; }
.ns-navpanel .ns-menu-link { justify-content: space-between; padding: 14px 10px; font-size: 16px; white-space: nowrap; }
.ns-navpanel .ns-menu-caret { flex-shrink: 0; }
.ns-navpanel .ns-submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; display: none; margin: 4px 0 4px 12px; }
.ns-navpanel .ns-has-children.is-open .ns-submenu { display: block; }
.ns-navpanel__cta { margin-top: 20px; justify-content: center; }

/* -------------------------------------------------------------------------
   HERO
   ---------------------------------------------------------------------- */
.ns-hero {
	background: var(--ns-light-bg);
	padding: 76px 0 90px;
	text-align: center;
	overflow: hidden;
}
.ns-hero__grid {
	position: absolute; inset: 0;
	background-image: radial-gradient(circle, rgba(27,36,54,.14) 1.4px, transparent 1.4px);
	background-size: 22px 22px;
	mask-image: linear-gradient(to bottom, black, transparent 85%);
	pointer-events: none;
}
.ns-hero__inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.ns-hero__headline {
	font-size: clamp(36px, 5.4vw, 68px);
	font-weight: 700;
	color: var(--ns-dark-text);
	margin: 22px 0 18px;
	max-width: 900px;
	letter-spacing: 0;
}
.ns-hero__headline[data-kinetic-active="1"] { letter-spacing: 0em; }
.ns-hero__sub {
	max-width: 640px;
	color: var(--ns-gray-body-light);
	font-size: 17px;
	margin-bottom: 44px;
}
.ns-hero__panel {
	width: 100%;
	max-width: 1080px;
	border-radius: var(--ns-radius-lg);
	overflow: hidden;
	box-shadow: 0 40px 80px rgba(22,35,58,.22);
	aspect-ratio: 16/8.2;
	background: var(--ns-navy);
	position: relative;
}
.ns-hero__video, .ns-hero__fallback-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ns-hero__embed-wrap { position: relative; width: 100%; height: 100%; }
.ns-hero__embed-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* -------------------------------------------------------------------------
   POWER OF AI
   ---------------------------------------------------------------------- */
.ns-power-of-ai {
	position: relative;
	min-height: 640px;
	display: flex;
	align-items: center;
	overflow: hidden;
}
.ns-power-of-ai__bg {
	position: absolute; inset: 0;
	background-size: cover;
	background-position: center;
}
.ns-power-of-ai__scrim {
	position: absolute; inset: 0;
	background: linear-gradient(90deg, rgba(10,14,22,.55) 0%, rgba(10,14,22,.15) 55%, rgba(10,14,22,.05) 100%);
}
.ns-power-of-ai__inner { position: relative; width: 100%; display: flex; justify-content: flex-end; padding: 90px 24px; }
.ns-power-of-ai__headline {
	color: var(--ns-white);
	font-size: clamp(30px, 4vw, 46px);
	font-weight: 700;
	text-align: right;
	max-width: 620px;
	line-height: 1.2;
}

/* -------------------------------------------------------------------------
   WHO WE ARE
   ---------------------------------------------------------------------- */
.ns-who-we-are { background: var(--ns-light-bg); padding: 100px 0; }
.ns-who-we-are__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: start; }
.ns-who-we-are__heading { font-size: clamp(24px, 3vw, 32px); font-weight: 700; margin-top: 18px; color: var(--ns-dark-text); line-height: 1.35; }
.ns-who-we-are__subline { display: flex; flex-direction: column; gap: 4px; margin-bottom: 32px; }
.ns-who-we-are__subline-item { font-family: var(--ns-font-display); font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; color: var(--ns-dark-text); }

.ns-stat-grid--2x2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.ns-stat-grid--stacked { display: flex; flex-direction: column; gap: 16px; }

.ns-stat-card {
	background: var(--ns-navy-card);
	border-radius: var(--ns-radius-md);
	padding: 26px 22px;
	position: relative;
	border-top: 3px solid var(--ns-green);
	overflow: hidden;
}
.ns-stat-card::before {
	content: ''; position: absolute; top: 0; left: 0; right: 0; height: 60px;
	background: radial-gradient(ellipse at top, rgba(76,140,107,.35), transparent 70%);
}
.ns-stat-card__number {
	display: block;
	font-family: var(--ns-font-display);
	font-size: clamp(28px, 3.4vw, 38px);
	font-weight: 700;
	color: var(--ns-white);
	position: relative;
}
.ns-stat-card__label { display: block; margin-top: 8px; font-size: 13.5px; color: #B7BECC; position: relative; line-height: 1.4; }

.ns-stat-card--row { display: flex; align-items: center; gap: 20px; padding: 20px 22px; border-top: none; border-left: 3px solid var(--ns-green); }
.ns-stat-card--row .ns-stat-card__number { min-width: 92px; flex-shrink: 0; }
.ns-stat-card--row .ns-stat-card__label { margin-top: 0; }

/* -------------------------------------------------------------------------
   WHY IT MATTERS
   ---------------------------------------------------------------------- */
.ns-why-it-matters { background: var(--ns-light-bg); padding: 40px 0 110px; }
.ns-why-it-matters__inner { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; }
.ns-why-it-matters__narrative {
	font-family: var(--ns-font-display);
	font-size: clamp(26px, 3.4vw, 38px);
	font-weight: 700;
	color: var(--ns-dark-text);
	margin: 22px 0 30px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	line-height: 1.3;
}
.ns-kinetic-line { display: inline-block; letter-spacing: 0; transition: letter-spacing .9s var(--ns-ease); }
.ns-kinetic-line[data-kinetic-active="1"] { letter-spacing: 0em; }
.ns-kinetic-line--accent { color: var(--ns-green); }

/* -------------------------------------------------------------------------
   HOW WE DO IT (native dashboard)
   ---------------------------------------------------------------------- */
.ns-how-we-do-it { background: var(--ns-navy); padding: 100px 0; text-align: center; }
.ns-how-we-do-it .ns-eyebrow { margin-bottom: 36px; }

.ns-dashboard-panel {
	background: var(--ns-navy-card);
	border: 1px solid var(--ns-border-navy);
	border-radius: var(--ns-radius-lg);
	padding: 36px 30px;
	display: grid;
	grid-template-columns: 1fr 1.2fr 1fr;
	gap: 28px;
	text-align: left;
}
.ns-dashboard-panel__col-label { display: block; font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--ns-green-bright); margin-bottom: 14px; }
.ns-dashboard-panel__col--chart { display: flex; flex-direction: column; align-items: center; text-align: center; justify-content: flex-start; gap: 16px; }

.ns-dashboard-quant { background: rgba(255,255,255,.03); border: 1px solid var(--ns-border-navy); border-radius: var(--ns-radius-sm); padding: 14px 16px; }
.ns-dashboard-quant__tab {
	display: inline-block; background: var(--ns-green); color: var(--ns-white); font-size: 11px; font-weight: 700;
	padding: 4px 12px; border-radius: var(--ns-radius-pill); margin-bottom: 10px;
}
.ns-dashboard-quant__table { width: 100%; border-collapse: collapse; }
.ns-dashboard-quant__table tr { border-top: 1px solid var(--ns-border-navy); }
.ns-dashboard-quant__table tr:first-child { border-top: none; }
.ns-dashboard-quant__label { padding: 9px 0; font-size: 13px; color: #AFB7C6; }
.ns-dashboard-quant__value { padding: 9px 0; font-size: 13.5px; font-weight: 700; color: var(--ns-white); text-align: right; }

.ns-chart { width: 100%; max-width: 260px; }
.ns-chart__svg { width: 100%; height: auto; overflow: visible; }
.ns-chart__area { opacity: 0; transition: opacity .6s var(--ns-ease) .3s; }
.ns-chart__line {
	stroke-dasharray: 480;
	stroke-dashoffset: 480;
	transition: stroke-dashoffset 1.6s var(--ns-ease);
}
.ns-chart[data-chart-visible="1"] .ns-chart__line { stroke-dashoffset: 0; }
.ns-chart[data-chart-visible="1"] .ns-chart__area { opacity: 1; }

.ns-typewriter-box {
	background: rgba(255,255,255,.03);
	border-left: 3px solid var(--ns-amber);
	border-radius: 0 var(--ns-radius-sm) var(--ns-radius-sm) 0;
	padding: 18px 20px;
	min-height: 140px;
}
.ns-typewriter-box__text { font-size: 14.5px; line-height: 1.6; color: #DADFE8; }
.ns-typewriter-box__cursor { display: inline-block; margin-left: 2px; animation: ns-blink 1s steps(1) infinite; color: var(--ns-amber); font-weight: 700; }
@keyframes ns-blink { 0%, 50% { opacity: 1; } 50.01%, 100% { opacity: 0; } }

.ns-how-we-do-it__tagline { margin-top: 30px; font-size: clamp(18px, 2vw, 22px); font-weight: 600; color: #D2D7E1; }
.ns-tagline-highlight { font-weight: 700; }
.ns-tagline-highlight--green { color: var(--ns-green-bright); }
.ns-tagline-highlight--amber { color: var(--ns-amber); }

/* -------------------------------------------------------------------------
   DATA PRIVACY ARCHITECTURE (native diagram)
   ---------------------------------------------------------------------- */
.ns-data-privacy { background: var(--ns-navy); padding: 20px 0 110px; text-align: center; }
.ns-data-privacy__heading { color: var(--ns-white); font-size: clamp(24px, 3vw, 32px); font-weight: 700; max-width: 780px; margin: 0 auto 6px; line-height: 1.35; }
.ns-data-privacy__subheading { color: var(--ns-amber); font-size: clamp(18px, 2.2vw, 24px); font-weight: 700; margin-bottom: 48px; }

/* Desktop uses an uploaded image; mobile uses the native HTML diagram.
   Mobile-first: hide the desktop image, show the HTML diagram. At 980px+
   this flips (see the min-width media query below). If no image is set the
   diagram has no --mobile modifier and displays normally at all sizes. */
.ns-data-privacy__desktop-image { display: none; max-width: 980px; width: 100%; height: auto; margin: 0 auto; border-radius: 18px; }
@media (min-width: 980px) {
	.ns-data-privacy__desktop-image { display: block; }
	.ns-data-privacy .diagram--mobile { display: none; }
}

/* #9 — Security architecture diagram rebuilt as native HTML/CSS on a light
   card (matches sol-arch.png). Reflows to a vertical stack on mobile with an
   upward arrow linking the API box back up into the flow. */
.ns-diagram--light {
	max-width: 980px; margin: 0 auto; text-align: left;
	background: var(--ns-white); border-radius: 18px;
	padding: 34px 34px 26px; box-shadow: 0 30px 70px rgba(22,35,58,.22);
}
.ns-diagram__top { display: flex; justify-content: center; margin-bottom: 0; }
.ns-diagram__firm-box {
	display: inline-flex; align-items: center; gap: 12px;
	background: #F4F5F7; border: 1px solid #E2E5EA;
	padding: 14px 30px; border-radius: var(--ns-radius-pill);
	color: #9AA2B0; font-size: 14px; font-weight: 700; letter-spacing: .05em;
}
.ns-diagram__firm-box svg { width: 28px; height: 22px; color: #B4BAC5; }

/* flow row: two labelled arrows flanking the amber shield */
.ns-diagram__flow {
	display: grid; grid-template-columns: 1fr auto 1fr;
	align-items: center; gap: 18px; padding: 14px 4px 18px;
}
.ns-diagram__flow-col { display: flex; align-items: center; gap: 12px; }
.ns-diagram__flow-col--left { justify-content: flex-end; text-align: right; }
.ns-diagram__flow-col--right { justify-content: flex-start; text-align: left; }
.ns-diagram__flow-label { font-size: 12px; font-weight: 600; letter-spacing: .04em; color: #8A93A3; max-width: 260px; line-height: 1.4; }
.ns-diagram__flow-shield svg { width: 42px; height: 48px; display: block; }
.ns-diagram__arrow-glyph { width: 14px; height: 34px; position: relative; flex-shrink: 0; }
.ns-diagram__arrow-glyph::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; transform: translateX(-50%); background: #C3C9D3; }
.ns-diagram__arrow-glyph::after { content: ""; position: absolute; left: 50%; width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; transform: translateX(-50%); }
.ns-diagram__arrow-glyph--down::after { bottom: -1px; border-top: 7px solid #C3C9D3; }
.ns-diagram__arrow-glyph--up::after { top: -1px; border-bottom: 7px solid #C3C9D3; }

/* amber-bordered isolation container */
.ns-diagram__container {
	border: 2px solid var(--ns-amber);
	border-radius: 16px;
	padding: 46px 26px 26px;
	position: relative;
	background: #FCFCFD;
}
.ns-diagram__container-label {
	position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
	background: var(--ns-white); padding: 3px 18px;
	font-size: 12px; font-weight: 700; letter-spacing: .05em; color: #9AA2B0;
	white-space: nowrap;
}
.ns-diagram__container-strong { color: var(--ns-navy); }
.ns-diagram__row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: stretch; }
.ns-diagram__box {
	background: var(--ns-white); border-radius: 12px;
	padding: 20px 20px; border: 1.5px solid #D5DBE4;
}
.ns-diagram__box-icon { margin-bottom: 8px; }
.ns-diagram__box-icon svg { width: 26px; height: 26px; display: block; }
.ns-diagram__box-icon--data { color: #3B82C4; }
.ns-diagram__box-icon--api { color: #E06A56; }
.ns-diagram__box h3 { font-size: 14px; font-weight: 800; letter-spacing: .02em; margin-bottom: 4px; }
.ns-diagram__box--left h3 { color: #2F6BB0; }
.ns-diagram__box--right h3 { color: #D2603F; }
.ns-diagram__box-sub { font-size: 10.5px; font-weight: 700; letter-spacing: .05em; color: #A6AEBC; margin-bottom: 14px; text-transform: uppercase; }
.ns-diagram__box-h { font-size: 12.5px; font-weight: 700; color: #4A5468; line-height: 1.5; margin-bottom: 2px; }
.ns-diagram__box p { font-size: 12px; color: #7C8698; line-height: 1.5; margin-bottom: 10px; }
.ns-diagram__box p:last-child { margin-bottom: 0; }
.ns-diagram__box--left { border-color: rgba(59,130,196,.4); }
.ns-diagram__box--right { border-color: rgba(224,106,86,.4); }

.ns-diagram__center { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 0 4px; }
.ns-diagram__center-logo { display: flex; flex-direction: column; align-items: center; }
.ns-diagram__center-logo .ns-aiscent-mark__text { color: var(--ns-amber); font-size: 22px; }
.ns-diagram__center-logo svg { color: var(--ns-amber); }
.ns-diagram__center-arrow { width: 30px; height: 12px; position: relative; flex-shrink: 0; }
.ns-diagram__center-arrow::before { content: ""; position: absolute; top: 50%; left: 4px; right: 4px; height: 2px; transform: translateY(-50%); }
.ns-diagram__center-arrow::after { content: ""; position: absolute; top: 50%; width: 0; height: 0; transform: translateY(-50%); border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.ns-diagram__center-arrow--left::before { background: #7FA9D8; }
.ns-diagram__center-arrow--left::after { left: 0; border-right: 7px solid #7FA9D8; }
.ns-diagram__center-arrow--right::before { background: #E79A8A; }
.ns-diagram__center-arrow--right::after { right: 0; border-left: 7px solid #E79A8A; }

.ns-diagram__caption { text-align: center; margin-top: 22px; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; color: #9AA2B0; }

.ns-diagram__footer-note {
	margin-top: 24px; display: flex; align-items: flex-start; gap: 12px; justify-content: center;
	font-size: 13px; color: #8A93A3; max-width: 760px; margin-left: auto; margin-right: auto; text-align: left; line-height: 1.55;
}
.ns-diagram__footer-note svg { width: 26px; height: 30px; flex-shrink: 0; margin-top: 1px; }
.ns-diagram__footer-emphasis { color: var(--ns-amber); font-weight: 800; }

.ns-data-privacy__cta { margin-top: 40px; }

/* -------------------------------------------------------------------------
   SOLUTIONS CAROUSEL
   ---------------------------------------------------------------------- */
.ns-solutions { background: var(--ns-light-bg); padding: 100px 0; }
.ns-solutions__head { display: flex; justify-content: center; margin-bottom: 36px; }
/* #2: keep only the SOLUTIONS eyebrow pill — hide any redundant heading/subhead
   that may have been placed alongside it. */
.ns-solutions__head > h1,
.ns-solutions__head > h2,
.ns-solutions__head > h3,
.ns-solutions__head > p { display: none; }
.ns-carousel { display: flex; align-items: center; gap: 16px; }
.ns-carousel__viewport { flex: 1; overflow: hidden; border-radius: var(--ns-radius-lg); box-shadow: 0 30px 70px rgba(22,35,58,.18); }
.ns-carousel__track { display: flex; transition: transform .5s var(--ns-ease); }
.ns-carousel__slide { flex: 0 0 100%; width: 100%; }
.ns-carousel__slide img { width: 100%; height: auto; display: block; }
.ns-carousel__arrow {
	flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%;
	background: var(--ns-navy); color: var(--ns-white); border: none;
	display: flex; align-items: center; justify-content: center;
	transition: background .2s, transform .2s;
}
.ns-carousel__arrow:hover { background: var(--ns-green); transform: scale(1.05); }
.ns-chevron { width: 20px; height: 20px; }
.ns-carousel__dots { display: flex; justify-content: center; gap: 10px; margin-top: 26px; }
.ns-carousel__dot { width: 10px; height: 10px; border-radius: 50%; background: #C7CBD3; border: none; padding: 0; transition: background .2s, transform .2s; }
.ns-carousel__dot.is-active { background: var(--ns-green); transform: scale(1.2); }

/* -------------------------------------------------------------------------
   TESTIMONIALS
   ---------------------------------------------------------------------- */
.ns-testimonials { background: var(--ns-navy); padding: 100px 0; }
.ns-testimonials__head { text-align: center; margin-bottom: 48px; }
.ns-testimonials__head .ns-eyebrow { margin-bottom: 18px; }
.ns-testimonials__heading { color: var(--ns-white); font-size: clamp(28px, 3.6vw, 42px); font-weight: 700; }
.ns-testimonials__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ns-testimonial-card {
	background: var(--ns-white); border-radius: var(--ns-radius-md);
	padding: 26px 22px; border-top: 3px solid var(--ns-green);
	display: flex; flex-direction: column; gap: 18px;
}
.ns-testimonial-card__quote { font-size: 13.5px; line-height: 1.6; color: #3B4152; flex: 1; }
.ns-testimonial-card__person { display: flex; align-items: center; gap: 12px; }
.ns-testimonial-card__photo { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.ns-testimonial-card__meta { display: flex; flex-direction: column; }
.ns-testimonial-card__name { font-weight: 700; font-size: 13.5px; color: var(--ns-dark-text); }
.ns-testimonial-card__title { font-size: 12px; color: #7B8194; white-space: nowrap; }
.ns-testimonials__disclaimer { text-align: center; margin-top: 36px; font-size: 12px; font-style: italic; color: #8992A6; max-width: 720px; margin-left: auto; margin-right: auto; }

/* -------------------------------------------------------------------------
   INSIGHTS / INTELLIGENCE & PERSPECTIVES
   ---------------------------------------------------------------------- */
.ns-insights { background: var(--ns-navy); padding: 40px 0 100px; }
.ns-insights__head { text-align: center; margin-bottom: 48px; }
.ns-insights__head .ns-eyebrow { margin-bottom: 18px; }
.ns-insights__subline { color: #B9C0D0; font-size: 16px; max-width: 640px; margin: 0 auto; }
.ns-insights__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 56px; }
.ns-insight-card {
	background: var(--ns-navy-card); border-radius: var(--ns-radius-md); overflow: hidden;
	border: 1px solid var(--ns-border-navy); display: flex; flex-direction: column;
	transition: transform .2s var(--ns-ease);
}
a.ns-insight-card:hover { transform: translateY(-4px); }
.ns-insight-card__banner { height: 120px; }
.ns-insight-card__banner--green { background: linear-gradient(135deg, #4C8C6B, #1C2B45); }
.ns-insight-card__banner--amber { background: linear-gradient(135deg, #D9A548, #16233A); }
.ns-insight-card__banner--green-teal { background: linear-gradient(135deg, #4C8C6B, #1C4B5A); }
.ns-insight-card__body { padding: 22px 22px 26px; }
.ns-insight-card__label { display: block; font-size: 15px; font-weight: 700; letter-spacing: .08em; color: var(--ns-green-bright); margin-bottom: 10px; }
.ns-insight-card__title { color: var(--ns-white); font-size: 18px; font-weight: 700; margin-bottom: 10px; line-height: 1.35; }
.ns-insight-card__desc { color: #A9B1C2; font-size: 13.5px; line-height: 1.55; }

.ns-newsletter-bar {
	background: var(--ns-navy-card); border-radius: var(--ns-radius-lg);
	padding: 34px 38px; display: flex; align-items: center; justify-content: space-between; gap: 30px;
	flex-wrap: wrap; border: 1px solid var(--ns-border-navy);
}
.ns-newsletter-bar__text h3 { color: var(--ns-white); font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.ns-newsletter-bar__text p { color: #A9B1C2; font-size: 13.5px; }
.ns-newsletter-bar__form { display: flex; gap: 10px; flex: 1; max-width: 440px; min-width: 280px; }
.ns-newsletter-bar__form input {
	flex: 1; border: none; border-radius: var(--ns-radius-pill); padding: 13px 18px;
	background: rgba(255,255,255,.08); color: var(--ns-white); font-size: 14px;
}
.ns-newsletter-bar__form input::placeholder { color: #8E96A8; }

/* -------------------------------------------------------------------------
   FAQ
   ---------------------------------------------------------------------- */
.ns-faqs { background: var(--ns-light-bg); padding: 100px 0; }
.ns-faqs__inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; }
.ns-faqs__heading { font-size: clamp(24px, 3vw, 32px); font-weight: 700; color: var(--ns-dark-text); margin-top: 18px; line-height: 1.4; }

.ns-accordion__item {
	background: var(--ns-navy-card); border-radius: var(--ns-radius-sm); margin-bottom: 12px; overflow: hidden;
}
.ns-accordion__trigger {
	width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
	background: none; border: none; padding: 20px 22px; color: var(--ns-white); text-align: left;
}
.ns-accordion__question { font-size: 15px; font-weight: 600; }
.ns-accordion__toggle { flex-shrink: 0; width: 22px; height: 22px; position: relative; }
.ns-accordion__icon-plus, .ns-accordion__icon-close { position: absolute; inset: 0; width: 22px; height: 22px; transition: opacity .15s, transform .15s; }
.ns-accordion__icon-close { opacity: 0; transform: rotate(-90deg); }
.ns-accordion__item.is-open .ns-accordion__icon-plus { opacity: 0; transform: rotate(90deg); }
.ns-accordion__item.is-open .ns-accordion__icon-close { opacity: 1; transform: rotate(0); }
.ns-accordion__panel { max-height: 0; overflow: hidden; transition: max-height .35s var(--ns-ease); }
.ns-accordion__panel-inner { padding: 0 22px 22px; color: #C3C9D6; font-size: 14px; line-height: 1.65; }
.ns-accordion__placeholder-note { margin-top: 10px; font-size: 11.5px; font-style: italic; color: var(--ns-amber); }

/* -------------------------------------------------------------------------
   CONTACT / GET STARTED
   ---------------------------------------------------------------------- */
.ns-contact { background: var(--ns-navy); padding: 40px 0 110px; }
.ns-contact__eyebrow-row { display: flex; justify-content: flex-end; margin-bottom: 40px; }
.ns-contact__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.ns-contact__heading { color: var(--ns-white); font-size: clamp(28px, 3.6vw, 42px); font-weight: 700; margin-bottom: 16px; }
.ns-contact__sub { color: #B9C0D0; font-size: 16px; max-width: 460px; margin-bottom: 32px; }
.ns-contact__details p { color: #C7CCDA; font-size: 14px; margin: 6px 0; }
.ns-contact__details p a { color: var(--ns-green-bright); text-decoration: underline; }
.ns-contact__details-heading { display: block; color: var(--ns-white); font-weight: 700; font-size: 14px; margin-bottom: 8px; }

.ns-contact-form { display: flex; flex-direction: column; gap: 16px; }
.ns-contact-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ns-contact-form__field { display: flex; flex-direction: column; gap: 8px; }
.ns-contact-form__field label { color: var(--ns-white); font-size: 13px; font-weight: 600; }
.ns-contact-form__field input, .ns-contact-form__field textarea {
	background: var(--ns-light-bg); border: none; border-radius: var(--ns-radius-sm);
	padding: 13px 16px; font-size: 14px; font-family: inherit; color: var(--ns-dark-text); resize: vertical;
}
.ns-contact-form .ns-btn--light { align-self: flex-start; margin-top: 6px; }

/* -------------------------------------------------------------------------
   FOOTER
   ---------------------------------------------------------------------- */
.ns-footer { background: var(--ns-navy); padding: 60px 0 30px; position: relative; }
.ns-footer__inner { max-width: var(--ns-container); margin: 0 auto; padding: 0 24px; }
.ns-footer__top { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.ns-footer__links { display: flex; }
.ns-footer__list { display: flex; gap: 28px; }
.ns-footer__list a { color: #C7CCDA; font-size: 14px; font-weight: 500; transition: color .2s; }
.ns-footer__list a:hover { color: var(--ns-white); }
.ns-footer__social { display: flex; gap: 12px; }
.ns-social-icon {
	width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
	background: rgba(255,255,255,.06); color: var(--ns-white); transition: background .2s;
}
.ns-social-icon:hover { background: var(--ns-green); }
.ns-social-icon svg { width: 17px; height: 17px; fill: currentColor; }
.ns-footer__divider { border: none; height: 1px; background: rgba(255,255,255,.1); margin: 36px 0 24px; }
.ns-footer__bottom { display: flex; flex-direction: column; gap: 4px; }
.ns-footer__legal { color: #7C8499; font-size: 12px; line-height: 1.6; }
.ns-totop {
	position: fixed; right: 24px; bottom: 24px; z-index: 900; width: 48px; height: 48px; border-radius: 50%;
	background: var(--ns-amber); color: var(--ns-navy); border: none; display: flex; align-items: center; justify-content: center;
	box-shadow: 0 10px 24px rgba(0,0,0,.25); cursor: pointer;
	opacity: 0; visibility: hidden; transform: translateY(12px);
	transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
}
.ns-totop.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.ns-totop:hover { background: var(--ns-amber-bright, #E4B65C); }
.ns-totop svg { width: 20px; height: 20px; }
@media (max-width: 560px) { .ns-totop { right: 16px; bottom: 16px; width: 44px; height: 44px; } }

/* -------------------------------------------------------------------------
   RICH TEXT (Privacy Policy / One-Sheets)
   ---------------------------------------------------------------------- */
.ns-rich-text { padding: 90px 0; }
.ns-rich-text--light { background: var(--ns-light-bg); color: var(--ns-dark-text); }
.ns-rich-text--navy { background: var(--ns-navy); color: var(--ns-white); }
.ns-rich-text__inner { max-width: 760px; }
.ns-rich-text__title { font-size: clamp(28px, 3.6vw, 42px); font-weight: 700; margin-bottom: 30px; }
.ns-rich-text__content { font-size: 15.5px; line-height: 1.75; }
.ns-rich-text__content h2 { font-size: 22px; margin: 30px 0 12px; }
.ns-rich-text__content p { margin-bottom: 14px; }
.ns-rich-text__content ul { list-style: disc; padding-left: 22px; margin-bottom: 14px; }
.ns-rich-text--navy .ns-rich-text__content a { color: var(--ns-green-bright); }
.ns-rich-text--light .ns-rich-text__content a { color: var(--ns-green); }

/* -------------------------------------------------------------------------
   Responsive
   ---------------------------------------------------------------------- */
@media (max-width: 1080px) {
	.ns-who-we-are__inner,
	.ns-why-it-matters__inner,
	.ns-faqs__inner,
	.ns-contact__inner { grid-template-columns: 1fr; gap: 40px; }
	/* #6: on mobile, show the "Why It Matters" heading/narrative ABOVE the stat cards. */
	.ns-why-it-matters__col-right { order: -1; }
	.ns-testimonials__grid { grid-template-columns: repeat(2, 1fr); }
	.ns-insights__grid { grid-template-columns: 1fr 1fr; }
	.ns-dashboard-panel { grid-template-columns: 1fr; }
	/* #9: stack the three architecture boxes vertically. The center logo sits
	   between the data box and the API box; the API (right) box drops BELOW it
	   with an upward-pointing connector arrow back into the flow. */
	.ns-diagram__row { grid-template-columns: 1fr; gap: 0; }
	.ns-diagram__box--left { order: 1; }
	.ns-diagram__center { order: 2; flex-direction: column; padding: 6px 0; }
	.ns-diagram__center-arrow { transform: rotate(90deg); }
	.ns-diagram__box--right { order: 3; position: relative; margin-top: 34px; }
	.ns-diagram__box--right::before {
		content: ""; position: absolute; top: -22px; left: 50%; transform: translateX(-50%);
		width: 0; height: 0; border-left: 8px solid transparent; border-right: 8px solid transparent;
		border-bottom: 12px solid var(--ns-amber);
	}
	.ns-diagram__box--right::after {
		content: ""; position: absolute; top: -30px; left: 50%; transform: translateX(-50%);
		width: 2px; height: 12px; background: var(--ns-amber);
	}
	.ns-power-of-ai__inner { justify-content: center; }
	.ns-power-of-ai__headline { text-align: center; }
}

@media (max-width: 810px) {
	.ns-nav-inline, .ns-header__cta { display: none; }
	/* #6: push the hamburger to the far right once inline nav is hidden. */
	.ns-header__inner { justify-content: space-between; }
	.ns-burger { display: flex; margin-left: auto; }
	.ns-testimonials__grid, .ns-insights__grid { grid-template-columns: 1fr; }
	.ns-contact-form__row { grid-template-columns: 1fr; }
	/* #9: collapse the top flow arrows into a compact stacked column on mobile. */
	.ns-diagram__flow { grid-template-columns: 1fr; gap: 12px; justify-items: center; }
	.ns-diagram__flow-col { flex-direction: column; text-align: center; gap: 6px; }
	.ns-diagram__flow-col--left, .ns-diagram__flow-col--right { justify-content: center; text-align: center; }
	.ns-diagram__flow-shield { order: -1; }
	.ns-diagram--light { padding: 24px 18px 22px; }
	/* #9 mobile: let the container label flow inline (not absolutely positioned)
	   so its multi-line text no longer overlaps the first box. */
	.ns-diagram__container { padding: 18px 16px 22px; }
	.ns-diagram__container-label { position: static; transform: none; display: block; white-space: normal; text-align: center; max-width: 100%; margin: 0 auto 18px; background: transparent; }
	.ns-footer__top { flex-direction: column; align-items: flex-start; }
	.ns-newsletter-bar { flex-direction: column; align-items: flex-start; }
	.ns-newsletter-bar__form { width: 100%; max-width: none; }
}

@media (max-width: 560px) {
	.ns-hero { padding: 56px 0 60px; }
	.ns-who-we-are, .ns-why-it-matters, .ns-how-we-do-it, .ns-data-privacy, .ns-solutions, .ns-testimonials, .ns-insights, .ns-faqs, .ns-contact { padding-top: 60px; padding-bottom: 60px; }
	.ns-stat-grid--2x2 { grid-template-columns: 1fr; }
	.ns-header__inner { padding: 12px 16px; }
}

/* -------------------------------------------------------------------------
   #1 — NUMBERS / NARRATIVE ANIMATED COMPONENT (How We Do It)
   Namespaced under .ns-nn. Font inherits the theme's self-hosted
   Plus Jakarta Sans (no CDN). Scroll-triggered via IntersectionObserver
   in theme.js (initNumbersNarrative).
   ---------------------------------------------------------------------- */
.ns-nn {
	--nn-navy:  #0d293b;
	--nn-green: #0d9265;   /* NUMBERS */
	--nn-amber: #e7a701;   /* NARRATIVE */
	--nn-grey:  #e6e6e6;   /* LINE */
}
.ns-nn * { box-sizing: border-box; }
.ns-nn__stage {
	position: relative; width: 100%; max-width: 960px; aspect-ratio: 16/7;
	margin: 0 auto; overflow: hidden; border-radius: 14px;
	background: radial-gradient(120% 100% at 50% 20%, #123249 0%, var(--nn-navy) 66%);
	font-family: var(--ns-font-body); color: var(--nn-grey);
	container-type: inline-size;
}
.ns-nn__row { position: absolute; top: 8%; left: 3.5%; right: 3.5%; bottom: 16%;
	display: flex; align-items: center; gap: 2.2cqw; }
.ns-nn__col-num, .ns-nn__col-narr { flex: 0 0 25%; display: flex; flex-direction: column; gap: 1cqw; }
.ns-nn__col-chart { flex: 1 1 auto; align-self: center; position: relative; }

.ns-nn__eyebrow { display: flex; justify-content: space-between; align-items: baseline;
	font-size: 2.7cqw; font-weight: 700; text-transform: uppercase; opacity: 0; }
.ns-nn__col-num .ns-nn__eyebrow { color: var(--nn-green); }
.ns-nn__col-narr .ns-nn__eyebrow { color: var(--nn-amber); }
.ns-nn__stage.is-playing .ns-nn__col-num .ns-nn__eyebrow { animation: nnFadeIn .5s ease-out .55s both; }
.ns-nn__stage.is-playing .ns-nn__col-narr .ns-nn__eyebrow { animation: nnFadeIn .5s ease-out .55s both; }
@keyframes nnFadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.ns-nn__panel { height: 23cqw; border-radius: 4px 10px 10px 4px;
	background: rgba(230,230,230,.05); padding: 1.6cqw; }

.ns-nn__nums { border-left: 2px solid var(--nn-green); display: flex; flex-direction: column; opacity: 0; }
.ns-nn__stage.is-playing .ns-nn__nums { animation: nnFadeIn .5s ease-out .6s both; }
.ns-nn__ntitle { color: rgba(230,230,230,.62); font-weight: 600; letter-spacing: .02em; font-size: 1.25cqw;
	text-decoration: underline; text-underline-offset: .2em; margin-bottom: .4cqw; }
.ns-nn__nrows { flex: 1; display: flex; flex-direction: column; justify-content: space-evenly; }
.ns-nn__nrow { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.ns-nn__lbl { color: rgba(230,230,230,.62); font-weight: 600; letter-spacing: .02em; font-size: 1.25cqw; white-space: nowrap; }
.ns-nn__val { color: var(--nn-green); font-weight: 700; font-size: 1.85cqw; white-space: nowrap; }

.ns-nn__field { --fs: 1.5cqw; border-left: 2px solid var(--nn-amber);
	font-size: var(--fs); line-height: calc(var(--fs)*1.6);
	color: var(--nn-grey); font-weight: 500; opacity: 0; }
.ns-nn__stage.is-playing .ns-nn__field { animation: nnFadeIn .5s ease-out .6s both; }
.ns-nn__cursor { display: inline-block; width: 2px; height: 1.05em; margin-left: 1px; vertical-align: -2px;
	background: var(--nn-amber); animation: nnBlink 1s steps(1,end) infinite; }
@keyframes nnBlink { 0%,50% { opacity: 1; } 51%,100% { opacity: 0; } }

.ns-nn__chart-logo { position: absolute; top: calc(2% + 10px); left: calc(2% + 10px); width: 50%; opacity: 0; z-index: 2; }
.ns-nn__chart-logo svg { display: block; width: 100%; height: auto; }
.ns-nn__stage.is-playing .ns-nn__chart-logo { animation: nnPop .7s cubic-bezier(.2,.7,.2,1) .3s both; }
@keyframes nnPop { from { opacity: 0; transform: translateY(-6px) scale(.96); } to { opacity: 1; transform: none; } }

.ns-nn__chart { display: block; width: 100%; height: 29cqw; overflow: visible; }
.ns-nn__plot { clip-path: inset(0 100% 0 0); }
.ns-nn__stage.is-playing .ns-nn__plot { animation: nnReveal 1.9s cubic-bezier(.35,0,.25,1) 2.9s both; }
@keyframes nnReveal { to { clip-path: inset(0 0 0 0); } }
.ns-nn__axis { stroke: var(--nn-grey); stroke-width: 1; opacity: .22; }
.ns-nn__area { fill: url(#nnFillGrad); fill-opacity: .85; }
.ns-nn__line { fill: none; stroke: var(--nn-grey); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }

.ns-nn__headline { position: absolute; left: 0; right: 0; top: 79%; bottom: 0;
	display: flex; align-items: center; justify-content: center; text-align: center;
	font-weight: 600; font-size: 2.6cqw; color: var(--nn-grey); opacity: 0; }
.ns-nn__stage.is-playing .ns-nn__headline { animation: nnHeadIn 1.1s cubic-bezier(.2,.7,.2,1) 4.8s both; }
.ns-nn__headline em { font-style: normal; font-weight: 700; }
.ns-nn__headline em.n { color: var(--nn-green); }
.ns-nn__headline em.r { color: var(--nn-amber); }
@keyframes nnHeadIn { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
	.ns-nn__stage * { animation: none !important; }
	.ns-nn__eyebrow, .ns-nn__nrow, .ns-nn__nums, .ns-nn__field, .ns-nn__headline, .ns-nn__chart-logo { opacity: 1 !important; transform: none !important; }
	.ns-nn__cursor { display: none; }
	.ns-nn__plot { clip-path: none; }
}

/* -------------------------------------------------------------------------
   #3 — SOLUTIONS CAROUSEL PLUGIN OVERRIDES ([landscape_carousel] / .lic-*)
   Client feedback: remove the dark-navy card background and let the
   neighbouring slides peek in as partially-visible side cards.
   Scoped to .ns-solutions so other carousels are unaffected.
   ---------------------------------------------------------------------- */
/* Remove the dark-blue panel background; let the card sit on the light section. */
.ns-solutions .lic-carousel__panel {
	background: transparent !important;
	box-shadow: none !important;
}
/* Give the active panel a light card surface so text stays legible. */
.ns-solutions .lic-carousel__panel.is-active {
	background: var(--ns-white) !important;
	border-radius: var(--ns-radius-lg);
	box-shadow: 0 24px 60px rgba(22,35,58,.14) !important;
	overflow: hidden;
}
/* Text colours flip from white-on-navy to dark-on-light. */
.ns-solutions .lic-carousel__headline { color: var(--ns-dark-text) !important; }
.ns-solutions .lic-carousel__subheadline { color: var(--ns-green) !important; }
.ns-solutions .lic-carousel__bullets,
.ns-solutions .lic-carousel__bullets li { color: #46506A !important; }

/* Reveal more of the neighbouring slides as partial "side cards". */
.ns-solutions .lic-carousel__viewport { overflow: visible !important; }
.ns-solutions .lic-carousel__peek {
	width: clamp(90px, 12vw, 190px) !important;
	opacity: .78;
	transition: opacity .25s ease, transform .25s ease;
	filter: saturate(.92);
}
.ns-solutions .lic-carousel__peek:hover { opacity: 1; }
.ns-solutions .lic-carousel__peek--prev { transform: translateY(-50%) scale(.9); }
.ns-solutions .lic-carousel__peek--next { transform: translateY(-50%) scale(.9); }
.ns-solutions .lic-carousel__peek-frame {
	border-radius: var(--ns-radius-lg);
	overflow: hidden;
	box-shadow: 0 14px 34px rgba(22,35,58,.12);
}
.ns-solutions .lic-carousel__peek-image { width: 100%; height: auto; display: block; }

/* Keep the pager bars visible against the light background. */
.ns-solutions .lic-carousel__bar { background: rgba(22,35,58,.22) !important; }
.ns-solutions .lic-carousel__bar.is-active { background: var(--ns-navy) !important; }

@media (max-width: 810px) {
	/* On small screens the peeks crowd the card — hide them and center the slide. */
	.ns-solutions .lic-carousel__viewport { overflow: hidden !important; }
	.ns-solutions .lic-carousel__peek { display: none !important; }
}

/* Data Privacy Section */
.diagram__top {
	display: flex;
	justify-content: center;
}

.client-pill {
	display: inline-flex;
	align-items: center;
	gap: 16px;
	background: rgba(255, 255, 255, .02);
	border: 1.5px solid var(--border-navy);
	border-radius: 18px;
	padding: 18px clamp(24px, 4vw, 40px);
	box-shadow: var(--shadow);
}

.client-pill svg {
	width: 34px;
	height: 30px;
	flex-shrink: 0;
	color: var(--blue-soft);
}

.client-pill span {
	font-size: clamp(15px, 1.6vw, 21px);
	font-weight: 700;
	letter-spacing: .04em;
}

/* ------------------------------------------------------------------ */
/* Flow row: two labelled arrows flanking the amber shield             */
/* ------------------------------------------------------------------ */
.diagram__flow {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: clamp(12px, 2vw, 28px);
	padding: clamp(16px, 2.5vw, 28px) 0;
}

.flow-col {
	display: flex;
	align-items: center;
	gap: 16px;
}

.flow-col--left {
	justify-content: flex-end;
	text-align: right;
}

.flow-col--right {
	justify-content: flex-start;
	text-align: left;
}

.flow-label {
	font-size: clamp(11px, 1.15vw, 14px);
	letter-spacing: .04em;
	color: var(--ink-dim);
	line-height: 1.45;
	max-width: 300px;
}

.flow-arrow {
	width: 16px;
	height: clamp(48px, 6vw, 70px);
	position: relative;
	flex-shrink: 0;
}

.flow-arrow::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 4px;
	bottom: 4px;
	width: 2px;
	transform: translateX(-50%);
	background: var(--ink-dimmer);
}

.flow-arrow::after {
	content: "";
	position: absolute;
	left: 50%;
	width: 0;
	height: 0;
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	transform: translateX(-50%);
}

.flow-arrow--down::after {
	bottom: 0;
	border-top: 9px solid var(--ink-dimmer);
}

.flow-arrow--up::after {
	top: 0;
	border-bottom: 9px solid var(--ink-dimmer);
}

.shield {
	width: clamp(48px, 5vw, 62px);
	height: auto;
	display: block;
}

/* ------------------------------------------------------------------ */
/* Instance zone: gold container (LEFT) + external API box (RIGHT)     */
/* ------------------------------------------------------------------ */
.instance-zone {
	display: grid;
	/* gold container | coral arrow | external API box */
	grid-template-columns: minmax(0, 1fr) minmax(44px, 6%) minmax(240px, 26%);
	align-items: center;
	gap: 0;
}

/* Gold-bordered container now wraps ONLY data box + A(i)scent center */
.container-box {
	border: 2.5px solid var(--amber);
	border-radius: 20px;
	padding: clamp(48px, 5vw, 60px) clamp(18px, 3vw, 34px) clamp(24px, 3vw, 34px);
	position: relative;
	background: rgba(255, 255, 255, .015);
}

.container-box__label {
	position: absolute;
	top: clamp(16px, 2.4vw, 24px);
	left: 50%;
	transform: translateX(-50%);
	white-space: nowrap;
	font-size: clamp(13px, 1.5vw, 20px);
	font-weight: 700;
	letter-spacing: .02em;
	text-align: center;
}

.container-box__label .dim {
	color: var(--ink);
	font-weight: 700;
}

.container-box__label .sep {
	color: var(--amber);
	padding: 0 6px;
}

/* inner row inside gold box: data | <-> arrow | center */
.row {
	display: grid;
	grid-template-columns: 1fr minmax(40px, 9%) 1fr;
	gap: clamp(10px, 1.5vw, 20px);
	align-items: stretch;
}

/* data / api cards */
.card {
	background: var(--navy-2);
	border-radius: var(--radius-sm);
	padding: clamp(20px, 2.5vw, 30px);
	border: 1.5px solid var(--border-navy);
	text-align: center;
}

.card--left {
	border-color: rgba(110, 168, 222, .35);
}

.card--right {
	border-color: rgba(232, 132, 106, .40);
}

.card__icon {
	margin-bottom: 12px;
}

.card__icon svg {
	width: 30px;
	height: 30px;
}

.card--left .card__icon svg {
	color: var(--blue);
}

.card--right .card__icon svg {
	color: var(--coral);
}

.card__title {
	font-size: clamp(16px, 1.7vw, 22px);
	font-weight: 800;
	letter-spacing: .02em;
	margin: 0 0 4px;
}

.card--left .card__title {
	color: var(--blue-soft);
}

.card--right .card__title {
	color: var(--coral-soft);
}

.card__sub {
	font-size: clamp(11px, 1.1vw, 13px);
	font-weight: 700;
	letter-spacing: .03em;
	color: var(--ink-dim);
	margin: 0 0 20px;
}

.card__group {
	margin-bottom: 16px;
}

.card__group:last-child {
	margin-bottom: 0;
}

.card__h {
	font-size: clamp(13px, 1.35vw, 16px);
	font-weight: 700;
	color: var(--ink);
	margin: 0 0 2px;
}

.card__p {
	font-size: clamp(12px, 1.2vw, 14px);
	color: var(--ink-dimmer);
	line-height: 1.5;
	margin: 0;
}

/* center brand panel */
.center {
	background: var(--navy-3);
	border: 1.5px solid var(--border-navy);
	border-radius: var(--radius-sm);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: clamp(24px, 3vw, 40px) clamp(16px, 3vw, 40px);
	min-width: clamp(220px, 26vw, 360px);
}

.center__mark {
	width: clamp(90px, 11vw, 150px);
	height: auto;
	display: block;
	margin-bottom: 6px;
}

.center__word {
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(38px, 5.5vw, 72px);
	font-weight: 700;
	color: var(--amber);
	line-height: 1;
	position: relative;
	white-space: nowrap;
}

.center__word sup {
	font-size: .3em;
	top: -1.6em;
	left: .06em;
	font-weight: 400;
}

/* horizontal connector arrows between cards and center (desktop) */
.row__arrow {
	align-self: center;
	width: 100%;
	height: 14px;
	position: relative;
}

.row__arrow::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 8px;
	right: 8px;
	height: 2px;
	transform: translateY(-50%);
}

.row__arrow::after,
.row__arrow .head-2 {
	content: "";
	position: absolute;
	top: 50%;
	width: 0;
	height: 0;
	border-top: 6px solid transparent;
	border-bottom: 6px solid transparent;
	transform: translateY(-50%);
}

/* left connector is double-headed (data <-> center) */
.row__arrow--left::before {
	background: var(--blue);
}

.row__arrow--left::after {
	right: 0;
	border-left: 9px solid var(--blue);
}

.row__arrow--left .head-2 {
	left: 0;
	border-right: 9px solid var(--blue);
	border-left: 0;
}

/* External coral connector: API box -> into gold container (leftwards) */
.zone-arrow {
	align-self: center;
	height: 14px;
	position: relative;
}

.zone-arrow::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 6px;
	right: 6px;
	height: 2px;
	transform: translateY(-50%);
	background: var(--coral);
}

.zone-arrow::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	width: 0;
	height: 0;
	border-top: 6px solid transparent;
	border-bottom: 6px solid transparent;
	border-right: 9px solid var(--coral);
	transform: translateY(-50%);
}

/* API box sits OUTSIDE the gold container, on the right */
.card--api {
	align-self: center;
}

.container-box__caption {
	text-align: center;
	margin: clamp(22px, 3vw, 34px) 0 0;
	font-size: clamp(14px, 1.6vw, 21px);
	font-weight: 800;
	letter-spacing: .02em;
}

/* ------------------------------------------------------------------ */
/* Footnote                                                            */
/* ------------------------------------------------------------------ */
.footnote {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	justify-content: center;
	max-width: 1100px;
	margin: clamp(24px, 3vw, 40px) auto 0;
	padding: 0 8px;
}

.footnote svg {
	width: clamp(30px, 3vw, 40px);
	height: auto;
	flex-shrink: 0;
	margin-top: 2px;
}

.footnote p {
	margin: 0;
	text-align: center;
	font-size: clamp(13px, 1.4vw, 18px);
	line-height: 1.6;
	color: var(--ink);
}

.footnote .never {
	color: var(--amber);
	font-weight: 700;
}

/* ================================================================== */
/* RESPONSIVE — stack vertically on narrow screens                     */
/* ================================================================== */
@media (max-width: 860px) {

	/* Top flow arrows collapse into a centered column */
	.diagram__flow {
		grid-template-columns: 1fr;
		gap: 14px;
		justify-items: center;
	}

	.flow-col {
		flex-direction: column;
		text-align: center;
		gap: 8px;
	}

	.flow-col--left,
	.flow-col--right {
		justify-content: center;
		text-align: center;
	}

	.flow-label {
		max-width: 90%;
	}

	.shield {
		order: -1;
	}

	/* Container label wraps instead of overflowing */
	.container-box__label {
		position: static;
		transform: none;
		white-space: normal;
		max-width: 100%;
		display: block;
		margin-bottom: 22px;
	}

	.container-box__label br.mobile-break {
		display: block;
	}

	.container-box {
		padding-top: clamp(22px, 4vw, 30px);
	}

	/* Instance zone stacks: gold container, then external API box below */
	.instance-zone {
		grid-template-columns: 1fr;
	}

	/* Inside gold box: DATA -> center stack vertically */
	.row {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.card--left {
		order: 1;
	}

	.center {
		order: 2;
		margin: 18px 0 0;
		min-width: 0;
		position: relative;
	}

	/* hide desktop horizontal connector inside the row */
	.row__arrow {
		display: none;
	}

	/* Downward blue arrow: data -> center */
	.center::before {
		content: "";
		position: absolute;
		top: -30px;
		left: 50%;
		transform: translateX(-50%);
		width: 0;
		height: 0;
		border-left: 8px solid transparent;
		border-right: 8px solid transparent;
		border-top: 12px solid var(--blue);
	}

	/* External API box drops below the gold container */
	.card--api {
		position: relative;
		margin-top: 44px;
	}

	/* Upward coral arrow: api -> gold container (points up, per source layout) */
	.zone-arrow {
		display: none;
	}

	.card--api::before {
		content: "";
		position: absolute;
		top: -26px;
		left: 50%;
		transform: translateX(-50%);
		width: 0;
		height: 0;
		border-left: 8px solid transparent;
		border-right: 8px solid transparent;
		border-bottom: 12px solid var(--coral);
	}

	.card--api::after {
		content: "";
		position: absolute;
		top: -34px;
		left: 50%;
		transform: translateX(-50%);
		width: 2px;
		height: 14px;
		background: var(--coral);
	}
}

@media (max-width: 480px) {
	.client-pill {
		padding: 14px 20px;
		gap: 12px;
	}

	.center__word {
		font-size: clamp(34px, 12vw, 52px);
	}

	.footnote {
		flex-direction: column;
		align-items: center;
		gap: 8px;
	}
}

@media (prefers-reduced-motion: no-preference) {
	.diagram {
		animation: fade .5s ease both;
	}

	@keyframes fade {
		from {
			opacity: 0;
			transform: translateY(8px);
		}

		to {
			opacity: 1;
			transform: none;
		}
	}
}
/* =========================================================================
 * PERSONA LANDING ONE-SHEETER (page-landing.php)
 * Reuses site tokens: navy #16233A, amber #D9A548, green #4C8C6B, light #E9EAEC.
 * ====================================================================== */
.ns-lp { background: var(--ns-light-bg); }
.ns-lp section { position: relative; }

/* Hero band (navy, like the one-sheeter header) */
.ns-lp-hero {
	background: var(--ns-navy);
	color: var(--ns-white);
	padding: 72px 0 60px;
}
.ns-lp-hero__inner { text-align: center; max-width: 900px; margin: 0 auto; }
.ns-lp-hero__eyebrow { display: flex; justify-content: center; margin-bottom: 22px; }
.ns-lp-hero__title {
	color: var(--ns-amber);
	font-size: clamp(30px, 4.4vw, 48px);
	font-weight: 800;
	letter-spacing: -0.01em;
	line-height: 1.1;
}
.ns-lp-hero__subhead {
	margin: 20px auto 0;
	max-width: 760px;
	color: var(--ns-white);
	font-size: clamp(18px, 2.1vw, 24px);
	line-height: 1.55;
	font-weight: 600;
}

/* Hero with an image: two columns on desktop (text left, image right),
   stacked on mobile. Falls back to the centered text-only layout above
   when no image is set. */
.ns-lp-hero--has-image .ns-lp-hero__inner {
	display: flex;
	align-items: center;
	gap: 48px;
	text-align: left;
	max-width: 1180px;
}
.ns-lp-hero--has-image .ns-lp-hero__text { flex: 1 1 0; min-width: 0; }
.ns-lp-hero--has-image .ns-lp-hero__eyebrow { justify-content: flex-start; }
.ns-lp-hero--has-image .ns-lp-hero__subhead { margin-left: 0; margin-right: 0; }
.ns-lp-hero__media { flex: 1 1 0; min-width: 0; }
.ns-lp-hero__image {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--ns-radius-lg);
	box-shadow: 0 24px 60px rgba(0,0,0,.35);
}

/* Intro + three objectives (light) */
.ns-lp-objectives { padding: 56px 0 40px; }
.ns-lp-objectives__intro {
	max-width: 1080px;
	margin: 0 auto 44px;
	text-align: center;
	color: var(--ns-dark-text);
	font-size: clamp(18px, 2.2vw, 24px);
	font-weight: 700;
	line-height: 1.4;
}
.ns-lp-objectives__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
}
.ns-lp-objective { text-align: center; padding: 0 8px; }
.ns-lp-objective__kicker {
	font-size: clamp(15px, 1.7vw, 18px);
	font-weight: 800;
	letter-spacing: .06em;
	color: var(--ns-dark-text);
	text-transform: uppercase;
	line-height: 1.3;
}
.ns-lp-objective__kicker-em {
	display: block;
	text-decoration: underline;
	text-decoration-color: var(--ns-amber);
	text-underline-offset: 4px;
	text-decoration-thickness: 2px;
}
.ns-lp-objective__desc {
	margin: 16px auto 0;
	max-width: 300px;
	color: var(--ns-dark-text);
	font-size: clamp(16px, 1.8vw, 20px);
	line-height: 1.45;
	font-weight: 600;
}

/* Stat band (green) */
.ns-lp-statband { padding: 8px 0 48px; }
.ns-lp-statband__inner {
	max-width: 1080px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	gap: 28px;
	background: var(--ns-green);
	border-radius: var(--ns-radius-md);
	padding: 28px 40px;
	box-shadow: 0 18px 40px rgba(76,140,107,.25);
}
.ns-lp-statband__number {
	color: var(--ns-amber);
	font-size: clamp(48px, 7vw, 76px);
	font-weight: 800;
	line-height: 1;
	flex-shrink: 0;
}
.ns-lp-statband__text {
	color: var(--ns-white);
	font-size: clamp(17px, 2vw, 22px);
	font-weight: 700;
	font-style: italic;
	line-height: 1.35;
	margin: 0;
}
.ns-lp-statband__source {
	color: rgba(255,255,255,.75);
	font-size: 12px;
	font-style: italic;
	margin: 8px 0 0;
}

/* Feature cards (Founders style: 2 white cards) */
.ns-lp-features { padding: 8px 0 56px; }
.ns-lp-features__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 28px;
}
.ns-lp-feature {
	background: var(--ns-white);
	border-radius: var(--ns-radius-lg);
	padding: 34px 36px;
	box-shadow: 0 16px 40px rgba(22,35,58,.10);
}
.ns-lp-feature__title {
	display: flex;
	align-items: center;
	gap: 12px;
	color: var(--ns-dark-text);
	font-size: clamp(22px, 2.6vw, 28px);
	font-weight: 800;
	margin-bottom: 12px;
}
.ns-lp-feature__icon { display: inline-flex; color: var(--ns-amber); }
.ns-lp-feature__icon svg { width: 30px; height: 34px; }
.ns-lp-feature__body {
	color: var(--ns-gray-body-light);
	font-size: 16px;
	line-height: 1.6;
	font-weight: 500;
	margin: 0;
}

/* Numbered solutions (Sponsors / Bankers style) */
.ns-lp-solutions { padding: 8px 0 56px; }
.ns-lp-solutions .ns-container { max-width: 1080px; }
.ns-lp-solutions__heading {
	color: var(--ns-dark-text);
	font-size: clamp(20px, 2.4vw, 26px);
	font-weight: 800;
	letter-spacing: .04em;
	margin-bottom: 22px;
}
.ns-lp-solutions__list { display: flex; flex-direction: column; gap: 18px; }
.ns-lp-solution {
	display: grid;
	grid-template-columns: 56px 300px 1fr;
	align-items: center;
	gap: 24px;
	background: var(--ns-white);
	border-radius: var(--ns-radius-md);
	padding: 24px 30px;
	box-shadow: 0 12px 30px rgba(22,35,58,.08);
}
.ns-lp-solution__num {
	width: 44px; height: 44px;
	display: flex; align-items: center; justify-content: center;
	background: var(--ns-amber);
	color: var(--ns-navy);
	border-radius: 50%;
	font-weight: 800;
	font-size: 20px;
}
.ns-lp-solution__title {
	color: var(--ns-dark-text);
	font-size: clamp(19px, 2.2vw, 24px);
	font-weight: 800;
	margin: 0;
}
.ns-lp-solution__body {
	color: var(--ns-gray-body-light);
	font-size: 16px;
	line-height: 1.55;
	font-weight: 500;
	margin: 0;
}

/* The Unique NorthShift Difference (navy row) */
.ns-lp-diff {
	background: var(--ns-navy);
	color: var(--ns-white);
	padding: 56px 0;
}
.ns-lp-diff__heading {
	text-align: center;
	color: var(--ns-white);
	font-size: clamp(20px, 2.4vw, 28px);
	font-weight: 800;
	letter-spacing: .04em;
	margin-bottom: 36px;
}
.ns-lp-diff__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
}
.ns-lp-diff__title {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--ns-white);
	font-size: 18px;
	font-weight: 800;
	margin: 0 0 12px;
}
.ns-lp-diff__dot {
	width: 9px; height: 9px; border-radius: 50%;
	background: var(--ns-amber); flex-shrink: 0;
}
.ns-lp-diff__body {
	color: #B7BECC;
	font-size: 15px;
	line-height: 1.6;
	font-weight: 500;
	margin: 0;
}
.ns-lp-never { color: var(--ns-amber); font-weight: 800; }

/* CTA */
.ns-lp-cta {
	background: var(--ns-navy);
	padding: 8px 0 64px;
	text-align: center;
}
.ns-lp-cta__inner { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.ns-lp-cta__line {
	color: var(--ns-amber);
	font-size: clamp(22px, 2.8vw, 30px);
	font-weight: 800;
	font-style: italic;
	margin: 0;
}

/* Responsive */
@media (max-width: 900px) {
	.ns-lp-hero--has-image .ns-lp-hero__inner { flex-direction: column; text-align: center; gap: 32px; }
	.ns-lp-hero--has-image .ns-lp-hero__eyebrow { justify-content: center; }
	.ns-lp-hero--has-image .ns-lp-hero__subhead { margin-left: auto; margin-right: auto; }
	.ns-lp-objectives__grid { grid-template-columns: 1fr; gap: 30px; }
	.ns-lp-objective__desc { max-width: 460px; }
	.ns-lp-features__grid { grid-template-columns: 1fr; }
	.ns-lp-diff__grid { grid-template-columns: 1fr; gap: 28px; }
	.ns-lp-statband__inner { flex-direction: column; align-items: flex-start; gap: 12px; padding: 26px 26px; }
	.ns-lp-solution { grid-template-columns: 44px 1fr; grid-template-areas: "num title" "num body"; column-gap: 18px; row-gap: 6px; }
	.ns-lp-solution__num { grid-area: num; align-self: start; }
	.ns-lp-solution__title { grid-area: title; }
	.ns-lp-solution__body { grid-area: body; }
}
@media (max-width: 520px) {
	.ns-lp-hero { padding: 52px 0 44px; }
	.ns-lp-feature { padding: 26px 24px; }
}
