/* ==========================================================================
   NexDial theme — main stylesheet
   ========================================================================== */

:root {
	--acc: #3DF5E0;
	--acc2: #8B7CFF;
	--acc2-text: #B3A8FF;
	--bg: #05070F;
	--bg-alt: #070A16;
	--bg-deep: #04060C;
	--panel: #0A0F20;
	--panel-2: #0D1326;
	--card: rgba(13, 19, 38, .7);
	--line: rgba(140, 160, 220, .14);
	--line-2: rgba(140, 160, 220, .22);
	--text: #E8ECF7;
	--text-2: #DDE3F3;
	--head: #F6F8FE;
	--muted: #AEB7D2;
	--dim: #9AA4C2;
	--faint: #8E98B8;
	--on-acc: #04121A;
	--font: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-head: "Space Grotesk", Inter, sans-serif;
	--font-mono: "JetBrains Mono", ui-monospace, monospace;
	--radius: 22px;
	--container: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: var(--acc); }
a:hover { color: #B8FFF6; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }
.screen-reader-text, .nx-sr {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; z-index: 100; top: 10px; left: 10px;
	background: var(--acc); color: var(--on-acc); padding: 10px 16px; border-radius: 8px;
}
.nx-hp { position: absolute; left: -9999px; }

/* ---------- Layout ---------- */
.nx-container { max-width: var(--container); margin: 0 auto; padding: 0 32px; position: relative; }
.nx-container--narrow { max-width: 900px; }
.nx-section { padding: 120px 0; position: relative; }
.nx-section--alt { background: var(--bg-alt); border-top: 1px solid rgba(140,160,220,.1); border-bottom: 1px solid rgba(140,160,220,.1); }
.nx-section--tight-top { padding-top: 0; }
.nx-section--md { padding: 56px 0; }
.nx-grid-bg {
	background-image: linear-gradient(rgba(120,140,200,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(120,140,200,.07) 1px, transparent 1px);
	background-size: 56px 56px;
}
.nx-split { display: flex; flex-wrap: wrap; align-items: center; gap: 64px; }
.nx-split--rev { flex-direction: row-reverse; }
.nx-split > * { flex: 1 1 440px; min-width: 0; }
.nx-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.nx-grid--3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.nx-span-2 { grid-column: span 2; }
@media (max-width: 760px) { .nx-span-2 { grid-column: auto; } }
.nx-center { text-align: center; }
.nx-center .nx-lead { margin-left: auto; margin-right: auto; }
.nx-head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }

/* ---------- Type ---------- */
.nx-kicker { font-family: var(--font-mono); font-size: 13px; letter-spacing: .12em; color: var(--acc); text-transform: uppercase; }
.nx-kicker--violet { color: var(--acc2-text); }
.nx-h1, .nx-h2, .nx-h3 { font-family: var(--font-head); color: var(--head); margin: 0; }
.nx-h1 { font-weight: 600; font-size: clamp(42px, 6vw, 76px); line-height: 1.02; letter-spacing: -.035em; margin-top: 20px; }
.nx-h2 { font-weight: 600; font-size: clamp(32px, 4.2vw, 52px); line-height: 1.08; letter-spacing: -.03em; margin-top: 14px; max-width: 780px; }
.nx-h2--sm { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.1; }
.nx-h3 { font-weight: 600; font-size: 22px; line-height: 1.25; margin-top: 18px; }
.nx-lead { font-size: 19px; color: var(--muted); margin: 22px 0 0; max-width: 580px; }
.nx-text { color: var(--muted); margin: 10px 0 0; }
.nx-mono { font-family: var(--font-mono); }
.nx-acc { color: var(--acc); }

/* ---------- Buttons ---------- */
.nx-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.nx-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 52px; padding: 14px 28px; border-radius: 999px;
	font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; border: 0;
	transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.nx-btn:hover { transform: translateY(-2px); }
.nx-btn--primary { background: var(--acc); color: var(--on-acc); }
.nx-btn--primary:hover { color: var(--on-acc); box-shadow: 0 0 0 4px color-mix(in srgb, var(--acc) 22%, transparent), 0 12px 40px color-mix(in srgb, var(--acc) 35%, transparent); }
.nx-btn--ghost { color: #F4F6FC; background: rgba(13,19,38,.6); border: 1px solid rgba(180,195,240,.28); font-weight: 500; }
.nx-btn--ghost:hover { color: #fff; border-color: color-mix(in srgb, var(--acc) 50%, transparent); }
.nx-btn--sm { min-height: 44px; padding: 10px 20px; font-size: 15px; }
.nx-btn--block { width: 100%; }

/* pills (toggle buttons) */
.nx-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.nx-pill {
	min-height: 44px; padding: 10px 20px; border-radius: 999px; cursor: pointer;
	border: 1px solid rgba(180,195,240,.24); background: rgba(13,19,38,.7); color: var(--text-2);
	font: inherit; font-size: 15px; font-weight: 500; transition: background .2s, color .2s, border-color .2s;
}
.nx-pill:hover { border-color: color-mix(in srgb, var(--acc) 50%, transparent); }
.nx-pill[aria-pressed="true"], .nx-pill[aria-selected="true"], .nx-pill[aria-checked="true"] {
	background: var(--acc); border-color: var(--acc); color: var(--on-acc); font-weight: 600;
}
.nx-segment { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: var(--panel-2); border: 1px solid rgba(140,160,220,.2); }
.nx-segment .nx-pill { border: 0; background: transparent; }
.nx-segment .nx-pill[aria-checked="true"], .nx-segment .nx-pill[aria-pressed="true"] { background: var(--acc); color: var(--on-acc); }

.nx-chip { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 8px 14px; font-size: 13.5px; background: var(--panel-2); border: 1px solid rgba(140,160,220,.2); color: var(--text); }
.nx-chip--acc { background: color-mix(in srgb, var(--acc) 12%, var(--panel-2)); border-color: color-mix(in srgb, var(--acc) 40%, transparent); }
.nx-chip svg { color: var(--acc); }

/* checklist */
.nx-checks { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-direction: column; gap: 12px; }
.nx-checks li { display: flex; gap: 12px; color: var(--text-2); }
.nx-checks svg { flex: none; margin-top: 3px; color: var(--acc); }
.nx-checks--violet svg { color: var(--acc2-text); }

/* ---------- Cards ---------- */
.nx-card {
	border-radius: var(--radius); padding: 30px; background: var(--card); border: 1px solid var(--line);
	transition: transform .35s ease, border-color .35s ease, background .35s ease;
}
.nx-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--acc) 50%, transparent); background: rgba(20,28,52,.75); }
.nx-card > svg { color: var(--acc); }
.nx-card--violet > svg { color: var(--acc2-text); }
.nx-panel { border-radius: 24px; padding: 28px; background: var(--panel); border: 1px solid var(--line); position: relative; overflow: hidden; }
.nx-tile { border-radius: 14px; padding: 14px; background: var(--panel-2); border: 1px solid var(--line); }
.nx-tile__label { font-family: var(--font-mono); font-size: 11.5px; color: var(--dim); letter-spacing: .06em; }
.nx-tile__value { font-weight: 600; color: #F4F6FC; }

/* ---------- Header ---------- */
.nx-header { position: sticky; top: 0; z-index: 50; background: rgba(5,7,15,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(140,160,220,.12); }
.admin-bar .nx-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .nx-header { top: 46px; } }
.nx-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; }
.nx-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #F4F6FC; }
.nx-brand:hover { color: #fff; }
.nx-brand__mark { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--panel-2); border: 1px solid color-mix(in srgb, var(--acc) 55%, transparent); color: var(--acc); }
.nx-brand__name { font-family: var(--font-head); font-weight: 700; font-size: 21px; letter-spacing: -.02em; }
.nx-brand .custom-logo { max-height: 40px; width: auto; }
.nx-nav__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 28px; }
.nx-nav__link { color: #B9C1D9; text-decoration: none; font-size: 15px; padding-bottom: 2px; border-bottom: 2px solid transparent; }
.nx-nav__link:hover { color: #F4F6FC; }
.nx-nav__link[aria-current="page"] { color: #F4F6FC; border-bottom-color: var(--acc); }
.nx-header__cta { display: flex; align-items: center; gap: 12px; }
.nx-login { color: var(--text); text-decoration: none; font-size: 15px; padding: 10px 14px; }
.nx-menu-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--panel-2); color: var(--text); cursor: pointer; place-items: center; }
@media (max-width: 1020px) {
	.nx-menu-toggle { display: grid; }
	.nx-nav { position: absolute; left: 0; right: 0; top: 100%; background: rgba(5,7,15,.97); border-bottom: 1px solid var(--line); padding: 16px 32px 24px; display: none; }
	.nx-nav.is-open { display: block; }
	.nx-nav__list { flex-direction: column; gap: 4px; }
	.nx-nav__link { display: block; padding: 12px 0; font-size: 17px; }
	.nx-login { display: none; }
}
@media (max-width: 520px) { .nx-header__cta .nx-btn { display: none; } }

/* ---------- Glows & motion primitives ---------- */
.nx-glow { position: absolute; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, color-mix(in srgb, var(--acc) 22%, transparent) 0%, transparent 62%); animation: nxGlow 5s ease-in-out infinite; }
.nx-glow--violet { background: radial-gradient(circle, rgba(139,124,255,.18) 0%, transparent 62%); animation-delay: -2.5s; }
@keyframes nxGlow { 0%,100% { opacity: .55 } 50% { opacity: 1 } }
@keyframes nxWave { 0%,100% { transform: scaleY(.22) } 50% { transform: scaleY(1) } }
@keyframes nxPulse { 0% { transform: scale(.6); opacity: .8 } 100% { transform: scale(1.9); opacity: 0 } }
@keyframes nxFloat { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-12px) } }
@keyframes nxMarq { from { transform: translateX(0) } to { transform: translateX(-50%) } }
@keyframes nxSpin { to { transform: rotate(360deg) } }
@keyframes nxRise { from { opacity: 0; transform: translateY(10px) } to { opacity: 1; transform: none } }
@keyframes nxLoop { 0%,8% { opacity: 0; transform: translateY(10px) } 16%,88% { opacity: 1; transform: none } 100% { opacity: 0 } }
@keyframes nxTravel { 0% { left: 0; opacity: 0 } 12% { opacity: 1 } 88% { opacity: 1 } 100% { left: calc(100% - 8px); opacity: 0 } }
@keyframes nxFlowV { 0% { top: 0; opacity: 0 } 15% { opacity: 1 } 85% { opacity: 1 } 100% { top: calc(100% - 8px); opacity: 0 } }
@keyframes nxBlink { 50% { opacity: .2 } }
@keyframes nxSweep { from { transform: translateX(-100%) } to { transform: translateX(100%) } }
@keyframes nxScanX { 0% { left: 0 } 100% { left: calc(100% - 2px) } }
@keyframes nxGrow { 0%,100% { transform: scaleY(.55) } 50% { transform: scaleY(1) } }
@keyframes nxCycle { 0%,30% { opacity: 1 } 33%,97% { opacity: .35 } 100% { opacity: 1 } }
@keyframes nxDrift { 0%,100% { transform: translate(0,0) rotate(0) } 50% { transform: translate(-18px,12px) rotate(20deg) } }
@keyframes nxTwinkle { 0%,100% { opacity: .25 } 50% { opacity: 1 } }
@keyframes nxPop { 0% { transform: scale(.6); opacity: 0 } 60% { transform: scale(1.08); opacity: 1 } 100% { transform: scale(1) } }

.nx-bar { flex: 1; min-width: 2px; border-radius: 3px; background: var(--acc); transform-origin: center; animation: nxWave 1.1s ease-in-out infinite; }
.nx-bar--alt { background: var(--acc2); }
.nx-ring { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--acc); animation: nxPulse 2.4s ease-out infinite; }
.nx-ring--violet { border-color: var(--acc2); }
.nx-ring--fill { background: var(--acc); border: 0; }
.nx-float { animation: nxFloat 6s ease-in-out infinite; }
.nx-spin { animation: nxSpin 22s linear infinite; }
.nx-spin-r { animation: nxSpin 30s linear infinite reverse; }
.nx-blink { animation: nxBlink 1.4s steps(2) infinite; }
.nx-line { opacity: 0; animation: nxRise .7s ease forwards; }
.nx-loop { opacity: 0; animation: nxLoop 7s ease infinite; }
.nx-sweep { position: absolute; inset: 0; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--acc) 18%, transparent), transparent); animation: nxSweep 3.2s ease-in-out infinite; }
.nx-track { position: relative; height: 2px; background: rgba(140,160,220,.18); }
.nx-dot { position: absolute; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 14px var(--acc); animation: nxTravel 2.6s linear infinite; }
.nx-dot--violet { background: var(--acc2); box-shadow: 0 0 14px var(--acc2); }
.nx-live-dot { position: relative; width: 8px; height: 8px; display: inline-block; }
.nx-live-dot::before, .nx-live-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--acc); }
.nx-live-dot::before { animation: nxPulse 2.4s ease-out infinite; }

/* reveal on scroll (JS adds .is-visible) */
.nx-reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.nx-reveal.is-visible { opacity: 1; transform: none; }
.no-js .nx-reveal { opacity: 1; transform: none; }

/* motion off */
.nx-nomotion *, .nx-nomotion *::before, .nx-nomotion *::after { animation: none !important; transition: none !important; }
.nx-nomotion .nx-line, .nx-nomotion .nx-loop, .nx-nomotion .nx-reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.nx-line, .nx-loop, .nx-reveal { opacity: 1; transform: none; }
}

/* ---------- Hero (home) ---------- */
.nx-hero { padding: 96px 0 120px; position: relative; overflow: hidden; }
.nx-hero__grid { display: flex; flex-wrap: wrap; align-items: center; gap: 64px; }
.nx-hero__copy { flex: 1 1 480px; min-width: 0; }
.nx-hero__visual { flex: 1 1 460px; min-width: 0; position: relative; }
.nx-eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(13,19,38,.7); font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .08em; color: #C9D1E8; }
.nx-trust { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 48px; font-family: var(--font-mono); font-size: 13px; color: var(--dim); }
.nx-trust span { display: flex; align-items: center; gap: 8px; }
.nx-trust svg { color: var(--acc); }
.nx-page-hero { padding: 104px 0 72px; position: relative; overflow: hidden; }

/* console */
.nx-orbit-ring { position: absolute; left: 50%; top: 50%; border-radius: 50%; pointer-events: none; }
.nx-orbit-ring--a { width: 560px; height: 560px; margin: -280px 0 0 -280px; border: 1px dashed rgba(140,160,220,.16); }
.nx-orbit-ring--b { width: 440px; height: 440px; margin: -220px 0 0 -220px; border: 1px solid rgba(139,124,255,.14); }
.nx-orbit-ring--b::after { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--acc2); box-shadow: 0 0 16px var(--acc2); }
.nx-console-frame { position: relative; border-radius: 22px; padding: 1px; background: linear-gradient(140deg, color-mix(in srgb, var(--acc) 60%, transparent), rgba(140,160,220,.12) 40%, rgba(139,124,255,.5)); }
.nx-console { border-radius: 21px; background: rgba(9,13,27,.94); padding: 22px; overflow: hidden; position: relative; }
.nx-console__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 12.5px; color: var(--dim); }
.nx-console__top span:first-child { display: flex; align-items: center; gap: 10px; }
.nx-red { width: 8px; height: 8px; border-radius: 50%; background: #FF6B6B; display: inline-block; }
.nx-agent { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.nx-agent__avatar { position: relative; width: 48px; height: 48px; flex: none; }
.nx-agent__avatar b { position: absolute; inset: 0; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--acc), var(--acc2)); color: var(--on-acc); font-family: var(--font-head); }
.nx-agent__name { font-family: var(--font-head); font-weight: 600; font-size: 17px; color: #F4F6FC; }
.nx-agent__meta { font-size: 13.5px; color: var(--dim); }
.nx-wave { height: 64px; margin-top: 18px; display: flex; align-items: center; gap: 4px; padding: 0 6px; border-radius: 12px; background: rgba(20,28,52,.6); }
.nx-transcript { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; font-size: 14px; }
.nx-transcript div { display: flex; gap: 10px; }
.nx-transcript b { font-family: var(--font-mono); font-size: 11.5px; font-weight: 400; width: 66px; flex: none; padding-top: 2px; color: var(--acc); }
.nx-transcript b.is-prospect { color: var(--acc2-text); }
.nx-transcript span { color: var(--text-2); }
.nx-tiles-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 20px; }
.nx-routing-bar { margin-top: 14px; position: relative; overflow: hidden; border-radius: 12px; padding: 12px 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; background: color-mix(in srgb, var(--acc) 12%, #0B1122); border: 1px solid color-mix(in srgb, var(--acc) 40%, transparent); font-size: 14px; }
.nx-routing-bar > * { position: relative; }
.nx-badge-float { position: absolute; border-radius: 16px; padding: 14px 18px; background: rgba(13,19,38,.92); border: 1px solid var(--line-2); box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.nx-badge-float--bl { left: -28px; bottom: -34px; }
.nx-badge-float--tr { right: -18px; top: -28px; animation-delay: -3s; display: flex; align-items: center; gap: 10px; font-size: 13px; border-color: rgba(139,124,255,.35); }
.nx-badge-float--tr svg { color: var(--acc2-text); }
.nx-badge-float__big { font-family: var(--font-head); font-weight: 700; font-size: 26px; color: var(--acc); line-height: 1; }
.nx-badge-float__small { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
@media (max-width: 640px) { .nx-badge-float--bl { left: 8px; } .nx-badge-float--tr { right: 8px; } .nx-orbit-ring { display: none; } }

/* marquee */
.nx-marquee { border-top: 1px solid rgba(140,160,220,.1); border-bottom: 1px solid rgba(140,160,220,.1); padding: 36px 0; background: var(--bg-alt); }
.nx-marquee__label { text-align: center; margin: 0 0 22px; font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .12em; color: var(--faint); }
.nx-marquee__mask { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.nx-marquee__track { display: flex; gap: 64px; width: max-content; animation: nxMarq 38s linear infinite; }
.nx-marquee__track span { font-family: var(--font-head); font-weight: 600; font-size: 22px; color: #6F7A99; white-space: nowrap; }

/* steps */
.nx-steps { position: relative; margin-top: 64px; }
.nx-steps__track { position: absolute; left: 4%; right: 4%; top: 61px; }
.nx-step-num { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: #0B1122; border: 1px solid color-mix(in srgb, var(--acc) 45%, transparent); font-family: var(--font-mono); color: var(--acc); font-size: 18px; }
.nx-step-num--violet { border-color: rgba(139,124,255,.5); color: var(--acc2-text); }
@media (max-width: 900px) { .nx-steps__track { display: none; } }

/* agents */
.nx-agents { display: flex; flex-wrap: wrap; gap: 32px; margin-top: 28px; align-items: stretch; }
.nx-agents__copy { flex: 1 1 440px; min-width: 0; border-radius: 24px; padding: 40px; background: var(--card); border: 1px solid var(--line); }
.nx-agents__orb { flex: 1 1 380px; min-width: 0; min-height: 360px; border-radius: 24px; position: relative; overflow: hidden; background: var(--panel); border: 1px solid var(--line); display: grid; place-items: center; }
.nx-orb { position: relative; width: 220px; height: 220px; }
.nx-orb__core { position: absolute; inset: 50px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff 0%, var(--acc) 30%, #6B5CF0 75%, #1A1545 100%); box-shadow: 0 0 80px color-mix(in srgb, var(--acc) 55%, transparent); }
.nx-orb .nx-ring:nth-child(2) { border-color: var(--acc2); animation-delay: -.8s; }
.nx-orb .nx-ring:nth-child(3) { animation-delay: -1.6s; }
.nx-orb-status { position: absolute; left: 20px; right: 20px; bottom: 20px; border-radius: 14px; padding: 12px 16px; background: rgba(9,13,27,.85); border: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 14px; }
.nx-orb-status em { font-style: normal; font-family: var(--font-mono); font-size: 12px; color: var(--acc); display: flex; align-items: center; gap: 6px; }
.nx-orb-status em i { width: 7px; height: 7px; border-radius: 50%; background: var(--acc); display: inline-block; animation: nxBlink 1.4s steps(2) infinite; }
.nx-agent-panel[hidden] { display: none; }
.nx-agent-panel { animation: nxRise .5s ease; }

/* routing */
.nx-router { margin-top: 56px; border-radius: 28px; padding: 48px 40px; background: var(--panel); border: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; }
.nx-router__col { flex: 1 1 210px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.nx-router__link { flex: 1 1 80px; min-width: 40px; }
.nx-router__hub { flex: 0 0 220px; height: 220px; display: grid; place-items: center; position: relative; margin: 0 auto; }
.nx-router__hub .nx-ring { inset: 20px; border-color: color-mix(in srgb, var(--acc) 70%, transparent); }
.nx-router__hub .nx-spin { position: absolute; inset: 10px; border-radius: 50%; border: 1px dashed rgba(139,124,255,.45); }
.nx-router__core { width: 140px; height: 140px; border-radius: 50%; display: grid; place-items: center; text-align: center; background: radial-gradient(circle at 40% 30%, #16204A, var(--panel)); border: 1px solid color-mix(in srgb, var(--acc) 60%, transparent); box-shadow: 0 0 60px color-mix(in srgb, var(--acc) 30%, transparent); position: relative; }
.nx-router__core strong { display: block; font-family: var(--font-head); font-size: 19px; color: #F4F6FC; }
.nx-router__core small { font-family: var(--font-mono); font-size: 11px; color: var(--acc); }
.nx-node { border-radius: 14px; padding: 14px 16px; background: rgba(13,19,38,.9); border: 1px solid rgba(140,160,220,.16); display: flex; justify-content: space-between; gap: 10px; align-items: center; color: #F4F6FC; font-weight: 500; }
.nx-node small { font-family: var(--font-mono); font-size: 11.5px; color: var(--dim); font-weight: 400; }
.nx-node--stack { display: block; }
.nx-node--stack small { display: block; }
.nx-node--acc { background: color-mix(in srgb, var(--acc) 10%, var(--panel-2)); border-color: color-mix(in srgb, var(--acc) 45%, transparent); }
.nx-node--acc small { color: var(--acc); }
@media (max-width: 900px) { .nx-router__link { flex-basis: 100%; height: 40px; } .nx-router__link .nx-track { display: none; } }
.nx-modebar { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px; border-radius: 20px; padding: 24px 28px; background: var(--card); border: 1px solid var(--line); }
.nx-modebar p { flex: 1 1 320px; margin: 0; color: var(--text-2); }

/* bento extras */
.nx-big-stat { font-family: var(--font-head); font-weight: 700; font-size: 54px; line-height: 1; letter-spacing: -.03em; color: var(--acc); }
.nx-chart { flex: 1 1 220px; height: 130px; display: flex; align-items: flex-end; gap: 8px; }
.nx-chart span { flex: 1; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--acc), rgba(139,124,255,.35)); transform-origin: bottom; animation: nxGrow 3.4s ease-in-out infinite; }
.nx-chart--tall { height: 150px; padding: 12px; border-radius: 14px; background: rgba(20,28,52,.5); margin-top: 18px; }

/* band / CTA */
.nx-band { border-radius: 28px; padding: 56px 48px; background: color-mix(in srgb, var(--acc) 10%, var(--panel)); border: 1px solid color-mix(in srgb, var(--acc) 35%, transparent); display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; align-items: center; }
.nx-band__title { margin: 0; font-size: clamp(28px, 3.4vw, 42px); max-width: 640px; }
.nx-why { position: relative; border-radius: 32px; padding: 72px 56px; overflow: hidden; background: var(--panel); border: 1px solid color-mix(in srgb, var(--acc) 30%, transparent); }
.nx-why__inner { position: relative; display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; align-items: center; }
.nx-choice { border-radius: 18px; padding: 20px 22px; text-decoration: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; transition: transform .2s ease, box-shadow .2s ease; }
.nx-choice:hover { transform: translateY(-2px); }
.nx-choice strong { display: block; font-size: 17px; }
.nx-choice small { font-size: 14px; }
.nx-choice--primary { background: var(--acc); color: var(--on-acc); }
.nx-choice--primary:hover { color: var(--on-acc); box-shadow: 0 12px 40px color-mix(in srgb, var(--acc) 35%, transparent); }
.nx-choice--ghost { background: rgba(13,19,38,.85); border: 1px solid rgba(180,195,240,.24); color: #F4F6FC; }
.nx-choice--ghost small { color: var(--muted); }
@media (max-width: 640px) { .nx-why, .nx-band { padding: 40px 24px; } }

/* ---------- Forms ---------- */
.nx-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.nx-form--card { border-radius: 24px; padding: 36px; background: var(--card); border: 1px solid var(--line-2); }
.nx-field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: #C9D1E8; }
.nx-field input, .nx-field textarea, .nx-input {
	height: 50px; border-radius: 12px; border: 1px solid rgba(140,160,220,.24); background: var(--panel);
	color: #F4F6FC; padding: 0 14px; font: inherit; font-size: 15px; width: 100%;
}
.nx-field textarea { height: auto; padding: 12px 14px; resize: vertical; }
.nx-field input::placeholder, .nx-field textarea::placeholder, .nx-input::placeholder { color: #7C86A3; }
.nx-field input:focus, .nx-field textarea:focus, .nx-input:focus { outline: 2px solid var(--acc); outline-offset: 1px; }
.nx-full { grid-column: 1 / -1; }
.nx-fieldset { border: 0; padding: 0; margin: 0; }
.nx-fieldset legend { font-size: 14px; color: #C9D1E8; margin-bottom: 10px; padding: 0; }
.nx-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); }
.nx-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--acc); flex: none; }
.nx-alert { grid-column: 1 / -1; border-radius: 14px; padding: 14px 16px; font-size: 15px; }
.nx-alert--ok { background: color-mix(in srgb, var(--acc) 12%, var(--panel-2)); border: 1px solid color-mix(in srgb, var(--acc) 45%, transparent); color: #F4F6FC; }
.nx-alert--err { background: rgba(255,92,108,.12); border: 1px solid rgba(255,92,108,.5); color: #FFD6DB; }
.nx-success { min-height: 520px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.nx-success__icon { position: relative; width: 96px; height: 96px; display: grid; place-items: center; animation: nxPop .6s ease forwards; }
.nx-success__icon span { width: 80px; height: 80px; border-radius: 50%; display: grid; place-items: center; background: var(--acc); color: var(--on-acc); }

/* ---------- Footer ---------- */
.nx-footer { border-top: 1px solid rgba(140,160,220,.12); background: var(--bg-deep); }
.nx-footer__top { padding-top: 64px; padding-bottom: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; }
.nx-footer__about { grid-column: span 2; min-width: 0; }
@media (max-width: 760px) { .nx-footer__about { grid-column: auto; } }
.nx-footer__about p { color: var(--faint); margin: 16px 0 0; max-width: 380px; font-size: 15px; }
.nx-footer__col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.nx-footer__col h2 { font-family: var(--font-mono); font-size: 12px; font-weight: 400; letter-spacing: .1em; color: var(--faint); margin: 0 0 4px; }
.nx-footer__col a { color: #C9D1E8; text-decoration: none; }
.nx-footer__col a:hover { color: var(--acc); }
.nx-footer__col .nx-nav__list { flex-direction: column; gap: 10px; }
.nx-footer__col .nx-nav__link { color: #C9D1E8; font-size: 15px; border: 0; }
.nx-footer__bottom { padding-top: 22px; padding-bottom: 36px; border-top: 1px solid rgba(140,160,220,.1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 13.5px; color: var(--faint); }
.nx-footer__bottom a { color: var(--faint); text-decoration: none; }
.nx-footer__bottom a:hover { color: var(--acc); }
.nx-footer__legal { display: flex; flex-wrap: wrap; gap: 22px; }

/* ---------- Platform page ---------- */
.nx-jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 18px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); }
.nx-jump a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 999px; background: var(--panel); border: 1px solid rgba(140,160,220,.2); color: var(--text-2); text-decoration: none; font-size: 14.5px; }
.nx-jump a:hover { border-color: var(--acc); color: #fff; }
.nx-bubbles { display: flex; flex-direction: column; gap: 14px; min-height: 340px; }
.nx-bubble { max-width: 80%; padding: 12px 16px; color: var(--text); }
.nx-bubble--ai { align-self: flex-start; border-radius: 16px 16px 16px 4px; background: color-mix(in srgb, var(--acc) 14%, var(--panel-2)); border: 1px solid color-mix(in srgb, var(--acc) 35%, transparent); }
.nx-bubble--you { align-self: flex-end; border-radius: 16px 16px 4px 16px; background: rgba(139,124,255,.14); border: 1px solid rgba(139,124,255,.35); }
.nx-bubble-tag { align-self: center; margin-top: auto; border-radius: 999px; padding: 8px 16px; font-family: var(--font-mono); font-size: 12.5px; color: var(--acc); background: var(--panel-2); border: 1px solid color-mix(in srgb, var(--acc) 40%, transparent); }
.nx-amd { position: relative; height: 110px; margin-top: 12px; border-radius: 14px; background: rgba(20,28,52,.6); display: flex; align-items: center; gap: 3px; padding: 0 10px; overflow: hidden; }
.nx-amd span { flex: 1; min-width: 2px; border-radius: 2px; background: var(--acc); }
.nx-amd span.is-tone { background: rgba(140,160,220,.35); }
.nx-amd i { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--acc); box-shadow: 0 0 16px var(--acc); animation: nxScanX 3.5s linear infinite; }
.nx-scale { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 12px; color: var(--dim); }
.nx-tr-row { display: grid; grid-template-columns: 54px 70px 1fr auto; gap: 10px; align-items: center; padding: 12px; border-radius: 12px; background: rgba(20,28,52,.6); font-size: 14.5px; }
.nx-tr-row .t { font-family: var(--font-mono); font-size: 12px; color: var(--dim); }
.nx-tr-row .s { font-family: var(--font-mono); font-size: 12px; color: var(--acc); }
.nx-tr-row .s.is-caller { color: var(--acc2-text); }
.nx-tr-row .m { font-size: 12px; color: var(--dim); }
.nx-tr-row mark { background: color-mix(in srgb, var(--acc) 30%, transparent); color: var(--head); border-radius: 4px; padding: 0 3px; }
@media (max-width: 560px) { .nx-tr-row { grid-template-columns: 1fr; gap: 2px; } }
.nx-softphone { width: 320px; max-width: 100%; margin: 0 auto; border-radius: 32px; padding: 26px; background: linear-gradient(180deg, #0F1630, var(--panel)); border: 1px solid rgba(140,160,220,.2); box-shadow: 0 40px 100px rgba(0,0,0,.5); }
.nx-keypad { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }
.nx-keypad button { height: 52px; border-radius: 16px; border: 1px solid rgba(140,160,220,.16); background: rgba(20,28,52,.7); color: var(--text); font-family: var(--font-head); font-size: 20px; cursor: pointer; transition: background .15s; }
.nx-keypad button:active, .nx-keypad button.is-press { background: color-mix(in srgb, var(--acc) 30%, var(--panel-2)); }
.nx-phone-display { font-family: var(--font-head); font-size: 26px; font-weight: 600; color: var(--head); margin-top: 8px; min-height: 40px; }
.nx-callbtns { display: flex; justify-content: space-between; gap: 10px; margin-top: 18px; }
.nx-callbtns button { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(140,160,220,.2); background: var(--panel-2); color: var(--text-2); display: grid; place-items: center; cursor: pointer; }
.nx-callbtns .is-end { background: #FF5C6C; border: 0; color: #fff; }
.nx-lanes { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.nx-lane { display: flex; align-items: center; gap: 12px; }
.nx-lane small { font-family: var(--font-mono); font-size: 12px; color: var(--dim); width: 70px; flex: none; }
.nx-lane div { flex: 1; height: 10px; border-radius: 999px; background: rgba(140,160,220,.12); overflow: hidden; position: relative; }
.nx-lane i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px; background: linear-gradient(90deg, var(--acc), var(--acc2)); transition: width .6s ease; }
.nx-codes { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.nx-codes span { height: 44px; display: grid; place-items: center; border-radius: 10px; font-family: var(--font-mono); font-size: 14px; color: var(--text); background: var(--panel-2); border: 1px solid rgba(140,160,220,.16); animation: nxCycle 6s ease infinite; }
.nx-codes span.is-acc { border-color: color-mix(in srgb, var(--acc) 50%, transparent); }
@media (max-width: 520px) { .nx-codes { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.nx-spark { width: 100%; height: 30px; margin-top: 8px; }
.nx-integrations { position: relative; height: 300px; display: grid; place-items: center; }
.nx-integrations .nx-spin { position: absolute; width: 260px; height: 260px; border-radius: 50%; border: 1px dashed rgba(140,160,220,.25); }
.nx-integrations .nx-ring { inset: auto; width: 120px; height: 120px; }
.nx-integrations__core { width: 104px; height: 104px; border-radius: 28px; display: grid; place-items: center; background: var(--panel-2); border: 1px solid color-mix(in srgb, var(--acc) 55%, transparent); box-shadow: 0 0 50px color-mix(in srgb, var(--acc) 30%, transparent); font-family: var(--font-head); font-weight: 700; color: #F4F6FC; position: relative; }
.nx-integrations__item { position: absolute; padding: 10px 18px; border-radius: 14px; background: var(--panel-2); border: 1px solid var(--line-2); font-family: var(--font-head); font-weight: 600; color: var(--text); }

/* ---------- Pricing ---------- */
.nx-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; align-items: stretch; }
.nx-plan { border-radius: 26px; padding: 36px; background: var(--card); border: 1px solid var(--line-2); display: flex; flex-direction: column; transition: transform .35s ease; }
.nx-plan:hover { transform: translateY(-6px); }
.nx-plan--enterprise { border-color: rgba(139,124,255,.3); }
.nx-plan--featured { position: relative; padding: 1.5px; overflow: hidden; border: 0; background: transparent; }
.nx-plan--featured::before { content: ""; position: absolute; inset: -60%; background: conic-gradient(from 0deg, transparent 0 60%, var(--acc) 75%, var(--acc2) 85%, transparent 100%); animation: nxSpin 6s linear infinite; }
.nx-plan__inner { position: relative; height: 100%; border-radius: 25px; padding: 36px; background: #0B1024; display: flex; flex-direction: column; }
.nx-plan__tier { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .1em; color: var(--dim); }
.nx-plan__name { font-family: var(--font-head); font-size: 26px; font-weight: 600; color: var(--head); margin-top: 6px; }
.nx-plan__price { display: flex; align-items: baseline; gap: 8px; margin-top: 24px; }
.nx-plan__price strong { font-family: var(--font-head); font-size: 46px; font-weight: 700; letter-spacing: -.03em; color: var(--head); }
.nx-plan__price span { color: var(--dim); font-size: 14px; }
.nx-plan .nx-btn, .nx-plan__inner .nx-btn { margin-top: 26px; }
.nx-plan hr { border: 0; height: 1px; background: var(--line); margin: 28px 0; }
.nx-plan__plus { font-size: 13.5px; color: var(--dim); margin-bottom: 0; }
.nx-tag { font-family: var(--font-mono); font-size: 11.5px; padding: 5px 10px; border-radius: 999px; background: var(--acc); color: var(--on-acc); }
.nx-table-wrap { margin-top: 28px; overflow-x: auto; border-radius: 22px; border: 1px solid var(--line); background: var(--panel); }
.nx-table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 15px; }
.nx-table thead tr { background: var(--panel-2); }
.nx-table th, .nx-table td { padding: 16px; text-align: center; }
.nx-table th:first-child { text-align: left; padding-left: 24px; font-weight: 400; color: var(--text-2); }
.nx-table thead th:first-child { font-family: var(--font-mono); font-size: 12.5px; color: var(--dim); letter-spacing: .08em; }
.nx-table tbody tr { border-top: 1px solid rgba(140,160,220,.1); }
.nx-yes { color: var(--acc); }
.nx-no { color: #5E6886; }
.nx-faq { display: flex; flex-direction: column; gap: 12px; margin-top: 36px; }
.nx-faq details { border-radius: 18px; background: var(--card); border: 1px solid var(--line); transition: border-color .3s; }
.nx-faq details[open] { border-color: color-mix(in srgb, var(--acc) 45%, transparent); }
.nx-faq summary { list-style: none; cursor: pointer; min-height: 64px; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; color: #F4F6FC; font-size: 17px; font-weight: 500; }
.nx-faq summary::-webkit-details-marker { display: none; }
.nx-faq summary::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; color: var(--acc); border: 1px solid var(--line-2); transition: transform .3s; }
.nx-faq details[open] summary::after { transform: rotate(45deg); }
.nx-faq p { margin: 0; padding: 0 22px 20px; color: var(--muted); }

/* ---------- Resources / posts ---------- */
.nx-featured { margin-top: 32px; text-decoration: none; display: flex; flex-wrap: wrap; border-radius: 28px; overflow: hidden; background: var(--panel); border: 1px solid var(--line); transition: transform .35s ease, border-color .35s; }
.nx-featured:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--acc) 50%, transparent); }
.nx-featured__media { flex: 1 1 460px; min-height: 320px; position: relative; overflow: hidden; background-color: var(--panel); background-image: radial-gradient(circle at 30% 40%, color-mix(in srgb, var(--acc) 35%, transparent), transparent 60%); }
.nx-featured__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nx-featured__media .nx-ring { inset: auto; left: 30%; top: 40%; width: 180px; height: 180px; margin: -90px 0 0 -90px; border-width: 2px; animation-duration: 3s; }
.nx-featured__body { flex: 1 1 420px; min-width: 0; padding: 44px; display: flex; flex-direction: column; justify-content: center; }
.nx-featured__body h2 { font-family: var(--font-head); font-weight: 600; font-size: clamp(28px, 3vw, 38px); letter-spacing: -.025em; line-height: 1.12; margin: 14px 0 0; color: var(--head); }
.nx-readmore { margin-top: 22px; color: var(--acc); font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.nx-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; }
@media (max-width: 400px) { .nx-posts { grid-template-columns: 1fr; } }
.nx-post { text-decoration: none; display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: var(--card); border: 1px solid var(--line); transition: transform .35s ease, border-color .35s ease; }
.nx-post:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--acc) 50%, transparent); }
.nx-post[hidden] { display: none; }
.nx-post__cover { height: 170px; position: relative; overflow: hidden; background-color: var(--panel); background-image: radial-gradient(circle at 30% 40%, color-mix(in srgb, var(--acc) 38%, transparent), transparent 55%), linear-gradient(rgba(120,140,200,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(120,140,200,.08) 1px, transparent 1px); background-size: auto, 28px 28px, 28px 28px; }
.nx-post:nth-child(even) .nx-post__cover { background-image: radial-gradient(circle at 70% 60%, rgba(139,124,255,.4), transparent 55%), linear-gradient(rgba(120,140,200,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(120,140,200,.08) 1px, transparent 1px); }
.nx-post__cover img { width: 100%; height: 100%; object-fit: cover; }
.nx-post__shape { position: absolute; right: 14%; top: 22%; width: 70px; height: 70px; border-radius: 18px; border: 1px solid var(--acc); background: color-mix(in srgb, var(--acc) 12%, transparent); animation: nxDrift 12s ease-in-out infinite; }
.nx-post:nth-child(even) .nx-post__shape { border-radius: 50%; border-color: var(--acc2); background: rgba(139,124,255,.12); animation-delay: -4s; }
.nx-post__body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.nx-post__cat { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; color: var(--acc); text-transform: uppercase; }
.nx-post:nth-child(even) .nx-post__cat { color: var(--acc2-text); }
.nx-post__title { font-family: var(--font-head); font-weight: 600; font-size: 21px; letter-spacing: -.015em; line-height: 1.25; margin: 0; color: #F4F6FC; }
.nx-post__excerpt { margin: 0; color: var(--muted); font-size: 15px; }
.nx-search { display: flex; align-items: center; gap: 10px; height: 54px; padding: 0 18px; border-radius: 999px; background: var(--panel-2); border: 1px solid var(--line-2); flex: 0 1 380px; min-width: 0; color: var(--dim); }
.nx-search input { flex: 1; min-width: 0; height: 100%; background: transparent; border: 0; color: #F4F6FC; font: inherit; outline: none; }
.nx-search:focus-within { outline: 2px solid var(--acc); outline-offset: 2px; }
.nx-quote { font-family: var(--font-head); font-size: 21px; line-height: 1.35; color: #F4F6FC; margin: 0; }
.nx-person { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.nx-person i { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--acc), var(--acc2)); flex: none; }
.nx-person strong { display: block; color: #F4F6FC; }
.nx-person small { font-size: 14px; color: var(--dim); }
.nx-story { display: flex; flex-direction: column; gap: 18px; }
.nx-pagination { margin-top: 40px; display: flex; gap: 8px; flex-wrap: wrap; }
.nx-pagination .page-numbers { min-width: 44px; height: 44px; display: grid; place-items: center; padding: 0 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line-2); color: var(--text); text-decoration: none; }
.nx-pagination .current { background: var(--acc); color: var(--on-acc); border-color: var(--acc); }

/* ---------- Company ---------- */
.nx-cosmos { flex: 1 1 420px; min-width: 0; height: 440px; position: relative; display: grid; place-items: center; }
.nx-cosmos .nx-glow { width: 420px; height: 420px; }
.nx-cosmos__orbit { position: absolute; border-radius: 50%; }
.nx-cosmos__orbit--a { width: 380px; height: 380px; border: 1px solid rgba(140,160,220,.18); animation: nxSpin 26s linear infinite; }
.nx-cosmos__orbit--a::before { content: ""; position: absolute; top: -7px; left: 50%; margin-left: -7px; width: 14px; height: 14px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 20px var(--acc); }
.nx-cosmos__orbit--a::after { content: ""; position: absolute; bottom: 40px; left: 18px; width: 10px; height: 10px; border-radius: 50%; background: var(--acc2); box-shadow: 0 0 16px var(--acc2); }
.nx-cosmos__orbit--b { width: 260px; height: 260px; border: 1px dashed rgba(139,124,255,.35); animation: nxSpin 38s linear infinite reverse; }
.nx-cosmos__orbit--b::after { content: ""; position: absolute; right: -6px; top: 50%; margin-top: -6px; width: 12px; height: 12px; border-radius: 50%; background: #F4F6FC; box-shadow: 0 0 14px #fff; }
.nx-cosmos .nx-ring { inset: auto; width: 140px; height: 140px; animation-duration: 3s; }
.nx-cosmos__core { width: 120px; height: 120px; border-radius: 34px; display: grid; place-items: center; background: var(--panel-2); border: 1px solid color-mix(in srgb, var(--acc) 55%, transparent); box-shadow: 0 0 60px color-mix(in srgb, var(--acc) 35%, transparent); color: var(--acc); position: relative; }
.nx-star { position: absolute; border-radius: 50%; background: #F4F6FC; animation: nxTwinkle 3s ease-in-out infinite; }
.nx-star:nth-child(even) { background: var(--acc2-text); }
@media (max-width: 520px) { .nx-cosmos { height: 320px; } .nx-cosmos__orbit--a { width: 280px; height: 280px; } .nx-cosmos__orbit--b { width: 200px; height: 200px; } }
.nx-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1px; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); background: var(--line); }
.nx-facts div { padding: 32px; background: var(--panel); }
.nx-facts strong { display: block; font-family: var(--font-head); font-weight: 700; font-size: 44px; letter-spacing: -.03em; color: var(--head); line-height: 1; }
.nx-facts div:first-child strong { color: var(--acc); }
.nx-facts div:last-child strong { color: var(--acc2-text); }
.nx-facts span { display: block; color: var(--muted); margin-top: 10px; }
.nx-mission { font-family: var(--font-head); font-weight: 500; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.22; letter-spacing: -.02em; margin: 22px 0 0; color: var(--head); }
.nx-team-card { border-radius: 22px; overflow: hidden; background: var(--card); border: 1px solid var(--line); transition: transform .35s ease, border-color .35s; }
.nx-team-card:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--acc) 50%, transparent); }
.nx-team-card__photo { height: 220px; display: grid; place-items: center; background: radial-gradient(circle at 50% 35%, color-mix(in srgb, var(--acc) 28%, var(--panel)), var(--panel) 70%); font-family: var(--font-mono); font-size: 12px; color: var(--dim); }
.nx-team-card:nth-child(even) .nx-team-card__photo { background: radial-gradient(circle at 50% 35%, rgba(139,124,255,.3), var(--panel) 70%); }
.nx-team-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.nx-team-card__body { padding: 20px 22px; }
.nx-team-card__body strong { display: block; font-family: var(--font-head); font-size: 19px; color: #F4F6FC; }
.nx-team-card__body span { color: var(--dim); font-size: 14.5px; }

/* ---------- Contact ---------- */
.nx-timeline { position: relative; margin-top: 18px; padding-left: 28px; }
.nx-timeline__line { position: absolute; left: 7px; top: 10px; bottom: 10px; width: 2px; background: rgba(140,160,220,.18); }
.nx-timeline__line i { position: absolute; left: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 12px var(--acc); animation: nxFlowV 3s linear infinite; }
.nx-timeline ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 24px; }
.nx-timeline li { position: relative; }
.nx-timeline li::before { content: ""; position: absolute; left: -28px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 2px solid var(--acc); }
.nx-timeline li:nth-child(2)::before { border-color: var(--acc2); }
.nx-timeline strong { display: block; color: #F4F6FC; }
.nx-timeline span { color: var(--muted); font-size: 15px; }
.nx-contact-card { text-decoration: none; border-radius: 18px; padding: 20px; background: rgba(13,19,38,.8); border: 1px solid var(--line); display: flex; gap: 14px; align-items: center; transition: transform .3s, border-color .3s; }
.nx-contact-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--acc) 50%, transparent); }
.nx-contact-card__icon { position: relative; width: 44px; height: 44px; flex: none; display: grid; place-items: center; color: var(--acc); }
.nx-contact-card small { display: block; font-family: var(--font-mono); font-size: 11.5px; color: var(--dim); }
.nx-contact-card strong { color: #F4F6FC; }
.nx-glass-frame { flex: 1 1 520px; min-width: 0; border-radius: 28px; padding: 1px; background: linear-gradient(140deg, color-mix(in srgb, var(--acc) 60%, transparent), rgba(140,160,220,.12) 40%, rgba(139,124,255,.5)); }
.nx-glass { border-radius: 27px; padding: 40px; background: rgba(9,13,27,.96); }
@media (max-width: 560px) { .nx-glass, .nx-form--card { padding: 24px; } }

/* ---------- Generic content (page.php / single.php) ---------- */
.nx-entry { max-width: 760px; margin: 0 auto; }
.nx-entry-meta { font-family: var(--font-mono); font-size: 13px; color: var(--dim); margin-top: 18px; }
.nx-entry-thumb { border-radius: 24px; overflow: hidden; margin: 40px 0 0; border: 1px solid var(--line); }
.nx-content { font-size: 18px; line-height: 1.75; color: var(--text-2); }
.nx-content h2, .nx-content h3, .nx-content h4 { font-family: var(--font-head); color: var(--head); letter-spacing: -.02em; line-height: 1.2; margin: 2em 0 .6em; }
.nx-content h2 { font-size: 34px; }
.nx-content h3 { font-size: 26px; }
.nx-content a { color: var(--acc); }
.nx-content blockquote { margin: 2em 0; padding: 20px 26px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); font-family: var(--font-head); font-size: 22px; color: var(--head); }
.nx-content pre, .nx-content code { font-family: var(--font-mono); background: var(--panel); border-radius: 8px; }
.nx-content code { padding: 2px 6px; font-size: .9em; }
.nx-content pre { padding: 18px; overflow-x: auto; border: 1px solid var(--line); }
.nx-content img { border-radius: 16px; }
.nx-content table { width: 100%; border-collapse: collapse; }
.nx-content th, .nx-content td { border: 1px solid var(--line); padding: 10px 12px; }
.nx-content hr { border: 0; height: 1px; background: var(--line); margin: 3em 0; }
.nx-content .alignwide { margin-left: -120px; margin-right: -120px; max-width: none; }
.nx-content .alignfull { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); max-width: 100vw; }
@media (max-width: 1000px) { .nx-content .alignwide { margin-left: 0; margin-right: 0; } }
.nx-content .wp-block-button__link { background: var(--acc); color: var(--on-acc); border-radius: 999px; padding: 14px 26px; font-weight: 600; text-decoration: none; }
.wp-caption-text, .wp-element-caption { color: var(--dim); font-size: 14px; text-align: center; }
.nx-tags { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 8px; }
.nx-tags a { text-decoration: none; }
.comment-list { list-style: none; padding: 0; }
.comment-respond input[type="text"], .comment-respond input[type="email"], .comment-respond input[type="url"], .comment-respond textarea { width: 100%; border-radius: 12px; border: 1px solid var(--line-2); background: var(--panel); color: var(--text); padding: 12px 14px; font: inherit; }
.comment-respond .submit { background: var(--acc); color: var(--on-acc); border: 0; border-radius: 999px; padding: 14px 26px; font: inherit; font-weight: 600; cursor: pointer; }

/* ---------- Pricing: custom quote ---------- */
.nx-ticket-wrap { flex: 1 1 400px; min-width: 0; display: flex; justify-content: center; }
.nx-ticket { position: relative; width: 380px; max-width: 100%; border-radius: 26px; padding: 1.5px; overflow: hidden; }
.nx-ticket::before { content: ""; position: absolute; inset: -60%; background: conic-gradient(from 0deg, transparent 0 60%, var(--acc) 75%, var(--acc2) 85%, transparent 100%); animation: nxSpin 7s linear infinite; }
.nx-ticket__inner { position: relative; border-radius: 25px; padding: 28px; background: #0B1024; }
.nx-ticket__top { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 12px; color: var(--dim); }
.nx-ticket__title { font-family: var(--font-head); font-size: 24px; font-weight: 600; color: var(--head); margin: 14px 0 6px; }
.nx-ticket__row { display: flex; justify-content: space-between; gap: 10px; padding: 12px 0; border-bottom: 1px dashed rgba(140,160,220,.2); color: var(--muted); }
.nx-ticket__row strong { color: #F4F6FC; }
.nx-ticket__row em { font-style: normal; color: var(--acc); }
.nx-ticket__price { margin-top: 18px; position: relative; overflow: hidden; height: 52px; border-radius: 14px; background: var(--panel-2); border: 1px solid rgba(140,160,220,.18); display: flex; align-items: center; justify-content: space-between; padding: 0 16px; color: var(--muted); }
.nx-ticket__price > span:not(.nx-sweep), .nx-ticket__price strong { position: relative; }
.nx-ticket__price strong { font-family: var(--font-head); font-weight: 600; color: var(--head); }
.nx-builder { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 44px; align-items: flex-start; }
.nx-builder__steps { flex: 1 1 620px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.nx-builder__summary { flex: 1 1 360px; min-width: 0; position: sticky; top: 96px; }
@media (max-width: 1020px) { .nx-builder__summary { position: static; } }
.nx-step-card { margin: 0; border-radius: 24px; padding: 30px; background: var(--card); border: 1px solid var(--line-2); min-width: 0; }
.nx-step-card__head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 0; margin-bottom: 18px; font-family: var(--font-head); font-size: 21px; font-weight: 600; color: #F4F6FC; float: left; width: 100%; }
.nx-step-card__head + * { clear: both; }
.nx-step-card__head small { margin-left: auto; font-size: 12px; font-weight: 400; color: var(--dim); }
.nx-step-badge { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: #0B1122; border: 1px solid color-mix(in srgb, var(--acc) 50%, transparent); font-family: var(--font-mono); color: var(--acc); font-size: 14px; font-weight: 400; }
.nx-step-badge--violet { border-color: rgba(139,124,255,.5); color: var(--acc2-text); }
.nx-choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.nx-option { text-align: left; min-height: 72px; padding: 14px 18px; border-radius: 16px; font: inherit; font-size: 15px; cursor: pointer; border: 1px solid rgba(180,195,240,.2); background: rgba(10,15,32,.8); color: var(--text-2); transition: border-color .2s, background .2s; }
.nx-option strong { display: block; font-weight: 600; }
.nx-option small { display: block; font-size: 13.5px; opacity: .8; }
.nx-option:hover { border-color: color-mix(in srgb, var(--acc) 50%, transparent); }
.nx-option[aria-checked="true"] { border-color: var(--acc); background: color-mix(in srgb, var(--acc) 14%, var(--panel)); color: var(--head); }
.nx-check-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 10px; }
.nx-tick { display: flex; align-items: center; gap: 12px; text-align: left; min-height: 52px; padding: 10px 14px; border-radius: 14px; font: inherit; font-size: 15px; cursor: pointer; border: 1px solid rgba(180,195,240,.2); background: rgba(10,15,32,.8); color: #C9D1E8; transition: border-color .2s, background .2s, color .2s; }
.nx-tick:hover { border-color: color-mix(in srgb, var(--acc) 50%, transparent); }
.nx-tick__box { flex: none; width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; border: 1.5px solid rgba(180,195,240,.35); color: transparent; transition: background .2s, border-color .2s; }
.nx-tick[aria-pressed="true"] { border-color: color-mix(in srgb, var(--acc) 70%, transparent); background: color-mix(in srgb, var(--acc) 10%, var(--panel)); color: var(--head); }
.nx-tick[aria-pressed="true"] .nx-tick__box { background: var(--acc); border-color: var(--acc); color: var(--on-acc); }
.nx-summary { margin: 16px 0 0; display: flex; flex-direction: column; gap: 12px; }
.nx-summary div { display: flex; justify-content: space-between; gap: 12px; }
.nx-summary dt { color: var(--muted); }
.nx-summary dd { margin: 0; color: #F4F6FC; font-weight: 600; text-align: right; }
.nx-summary__label { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.nx-summary__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; min-height: 28px; }
.nx-summary__chips span { font-size: 13px; padding: 5px 10px; border-radius: 999px; background: color-mix(in srgb, var(--acc) 12%, var(--panel-2)); border: 1px solid color-mix(in srgb, var(--acc) 35%, transparent); color: var(--text); animation: nxRise .35s ease; }
.nx-included { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.nx-included li { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); color: var(--text-2); }
.nx-included li > span { width: 28px; height: 28px; flex: none; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--acc) 15%, var(--panel-2)); border: 1px solid color-mix(in srgb, var(--acc) 40%, transparent); color: var(--acc); }
.nx-process { position: relative; margin-top: 48px; }
.nx-process__track { position: absolute; left: 12%; right: 12%; top: 27px; }
.nx-process ol { list-style: none; margin: 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; text-align: center; }
.nx-process b { width: 56px; height: 56px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; background: var(--panel-2); border: 1px solid color-mix(in srgb, var(--acc) 55%, transparent); font-family: var(--font-mono); font-weight: 400; color: var(--acc); }
.nx-process b.is-violet { border-color: rgba(139,124,255,.55); color: var(--acc2-text); }
.nx-process strong { display: block; font-family: var(--font-head); font-size: 20px; font-weight: 600; margin-top: 16px; color: #F4F6FC; }
.nx-process span { display: block; margin: 6px auto 0; color: var(--muted); max-width: 260px; }
@media (max-width: 760px) { .nx-process__track { display: none; } }

/* Turnstile ------------------------------------------------------------- */
.nx-turnstile:not(:empty) { margin: 4px 0 2px; min-height: 65px; }
.nx-turnstile iframe { max-width: 100%; }
