/* Nexus Metrology site design system (2026-11 redesign). One stylesheet for every public page.
   Tokens and components follow the HVAC Utility Calibration page: navy hero with a signal-yellow eyebrow,
   white and paper sections with an eyebrow + H2 + lead, cards with a yellow top rule, steps, proof lists,
   quote band, form, footer. No framework; class prefix nx-. */

/* ---------- Tokens ---------- */
:root {
  --nx-ink: #10243A; --nx-ink-2: #1B3550; --nx-ink-3: #0A1828;
  --nx-steel: #56677A; --nx-rule: #D9E0E7; --nx-paper: #F4F6F8; --nx-white: #fff;
  --nx-signal: #F2B33D; --nx-signal-hi: #FFC85C; --nx-link: #1D5FB8;
  --nx-ok: #1E7A46; --nx-err: #B42318;
  --nx-on-dark: rgba(255,255,255,.88); --nx-on-dark-2: rgba(255,255,255,.74);
  --nx-font: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --nx-radius: 8px; --nx-radius-sm: 4px;
  --nx-shadow: 0 18px 40px -18px rgba(16,36,58,.35);
  --nx-wrap: 1200px; --nx-gutter: 28px; --nx-header: 76px;
  --nx-sec: 88px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--nx-header) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; font: 400 16px/1.6 var(--nx-font); color: var(--nx-ink); background: #fff; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, h4 { margin: 0; color: var(--nx-ink); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
h1 { letter-spacing: -0.03em; }
p { margin: 0 0 1em; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--nx-link); }
a:hover { color: var(--nx-ink); }
:focus-visible { outline: 3px solid var(--nx-signal); outline-offset: 3px; }
button, input, select, textarea { font: inherit; }
ul, ol { margin: 0; padding: 0; }
.nx-visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nx-wrap { max-width: var(--nx-wrap); margin: 0 auto; padding: 0 var(--nx-gutter); }
.nx-narrow { max-width: 820px; }

/* Skip link */
.nx-skip { position: absolute; left: 12px; top: -80px; z-index: 2000; background: var(--nx-signal); color: var(--nx-ink); padding: 12px 18px; border-radius: var(--nx-radius-sm); font-weight: 600; text-decoration: none; }
.nx-skip:focus { top: 12px; color: var(--nx-ink); }
#main:focus { outline: none; }

/* ---------- Buttons and links ---------- */
.nx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 20px; font: 600 16px/1 var(--nx-font); border-radius: var(--nx-radius-sm); text-decoration: none; background: var(--nx-signal); color: var(--nx-ink); border: 2px solid var(--nx-signal); white-space: nowrap; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.nx-btn:hover { background: var(--nx-signal-hi); border-color: var(--nx-signal-hi); color: var(--nx-ink); }
.nx-btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.nx-btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }
.nx-btn--ink { background: var(--nx-ink); border-color: var(--nx-ink); color: #fff; }
.nx-btn--ink:hover { background: var(--nx-ink-2); border-color: var(--nx-ink-2); color: #fff; }
.nx-btn--outline { background: transparent; border-color: var(--nx-ink); color: var(--nx-ink); }
.nx-btn--outline:hover { background: var(--nx-ink); color: #fff; }
.nx-btn--block { width: 100%; }
.nx-actions-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.nx-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--nx-link); text-decoration: none; }
.nx-more::after { content: "→"; transition: transform .2s; }
.nx-more:hover { color: var(--nx-ink); }
.nx-more:hover::after { transform: translateX(3px); }

/* ---------- Header ---------- */
.nx-header { position: fixed; inset: 0 0 auto 0; z-index: 1000; background: var(--nx-ink); box-shadow: 0 1px 0 rgba(255,255,255,.08); }
.nx-header .nx-inner { display: flex; align-items: center; justify-content: space-between; height: var(--nx-header); }
.nx-logo { display: inline-flex; align-items: baseline; text-decoration: none; color: #fff; font-size: 22px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.nx-logo:hover { color: #fff; }
.nx-logo span { font-weight: 400; color: rgba(255,255,255,.78); }
.nx-logo .nx-bar { color: var(--nx-signal); margin: 0 6px 0 4px; }
.nx-nav { display: flex; align-items: center; gap: 2px; }
.nx-nav-link { color: rgba(255,255,255,.9); text-decoration: none; font-size: 15px; font-weight: 500; padding: 10px 13px; border-radius: var(--nx-radius-sm); display: inline-flex; align-items: center; gap: 6px; line-height: 1.2; }
.nx-nav-link:hover, .nx-nav-link.nx-current, .nx-nav-link[aria-current="page"] { color: #fff; background: rgba(255,255,255,.1); }
.nx-caret { width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translate(-2px,-2px); display: inline-block; }
.nx-dd { position: relative; }
.nx-dd-menu { position: absolute; top: calc(100% + 6px); left: 0; min-width: 290px; background: #fff; border-radius: 10px; padding: 10px; box-shadow: 0 20px 50px -12px rgba(16,36,58,.4); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; }
.nx-dd-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.nx-dd-menu.nx-wide { min-width: 540px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 6px; }
.nx-dd:hover .nx-dd-menu, .nx-dd:focus-within .nx-dd-menu { opacity: 1; visibility: visible; transform: none; }
.nx-dd-menu a { display: block; padding: 9px 12px; color: var(--nx-ink); text-decoration: none; font-size: 15px; border-radius: 6px; line-height: 1.35; }
.nx-dd-menu a:hover, .nx-dd-menu a[aria-current="page"] { background: var(--nx-paper); color: var(--nx-ink); }
.nx-dd-group { grid-column: 1 / -1; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--nx-steel); padding: 10px 12px 4px; border-top: 1px solid var(--nx-rule); margin-top: 6px; }
.nx-dd-group:first-child { border-top: 0; margin-top: 0; padding-top: 4px; }
.nx-head-actions { display: flex; align-items: center; gap: 8px; margin-left: 14px; }
.nx-phone { color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; padding: 10px 12px; white-space: nowrap; }
.nx-phone:hover { color: var(--nx-signal); }
.nx-head-actions .nx-btn { padding: 11px 18px; font-size: 15px; }
.nx-menu-btn { display: none; background: none; border: 0; color: #fff; padding: 10px; cursor: pointer; }
.nx-menu-btn span { display: block; width: 24px; height: 2px; background: currentColor; margin: 5px 0; transition: .2s; }
.nx-mobile { display: none; }

/* ---------- Hero ---------- */
.nx-hero { position: relative; display: flex; align-items: center; min-height: 600px; padding: calc(var(--nx-header) + 72px) 0 80px; color: #fff; background: var(--nx-ink); overflow: hidden; isolation: isolate; }
.nx-hero > img, .nx-hero > picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.nx-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(16,36,58,.95) 0%, rgba(16,36,58,.89) 55%, rgba(16,36,58,.84) 100%); }
.nx-hero--plain::after { background: radial-gradient(circle at 85% 20%, rgba(29,95,184,.35), transparent 55%), linear-gradient(160deg, #10243A 0%, #0A1828 100%); }
.nx-hero--short { min-height: 0; padding: calc(var(--nx-header) + 56px) 0 56px; }
.nx-hero .nx-wrap { width: 100%; }
.nx-hero-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.nx-hero-grid--single { grid-template-columns: minmax(0, 1fr); max-width: 820px; }
.nx-hero .nx-eyebrow { color: var(--nx-signal); }
.nx-hero h1 { color: #fff; font-size: clamp(38px, 5.2vw, 60px); line-height: 1.05; font-weight: 700; margin: 0 0 20px; }
.nx-hero--short h1 { font-size: clamp(34px, 4.4vw, 52px); }
.nx-hero p { font-size: 19px; line-height: 1.6; color: var(--nx-on-dark); max-width: 60ch; margin: 0 0 28px; }
.nx-hero p.nx-eyebrow { font-size: 14px; margin: 0 0 12px; color: var(--nx-signal); }
.nx-hero a:not(.nx-btn) { color: #fff; }
.nx-crumbs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; padding: 0; list-style: none; font-size: 14px; color: var(--nx-on-dark-2); }
.nx-crumbs li + li::before { content: "/"; margin-right: 6px; color: rgba(255,255,255,.5); }
.nx-crumbs a { color: var(--nx-on-dark); text-decoration: none; }
.nx-crumbs a:hover { color: #fff; text-decoration: underline; }
.nx-hero-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 28px 0 0; padding: 0; list-style: none; font-size: 15px; color: var(--nx-on-dark); }
.nx-hero-meta li { display: flex; align-items: center; gap: 8px; }
.nx-hero-meta li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--nx-signal); }

/* Scope panel (hero aside) */
.nx-panel { background: rgba(16,36,58,.72); border: 1px solid rgba(255,255,255,.24); border-radius: var(--nx-radius); padding: 26px 28px; }
.nx-panel h2, .nx-panel .nx-panel-title { font-size: 15px; letter-spacing: .08em; text-transform: uppercase; color: var(--nx-signal); margin: 0 0 14px; font-weight: 600; }
.nx-panel ul { list-style: none; }
.nx-panel li { color: #fff; font-size: 16px; padding: 9px 0; border-top: 1px solid rgba(255,255,255,.16); }
.nx-panel li:first-child { border-top: 0; }
.nx-panel a { color: #fff; }
.nx-panel-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,.16); border-radius: var(--nx-radius); overflow: hidden; border: 1px solid rgba(255,255,255,.24); }
.nx-panel-stats div { background: rgba(16,36,58,.78); padding: 22px 20px; }
.nx-panel-stats strong { display: block; font-size: 30px; line-height: 1.1; color: #fff; font-weight: 700; letter-spacing: -0.02em; }
.nx-panel-stats span { display: block; font-size: 14px; color: var(--nx-on-dark); margin-top: 4px; }

/* ---------- Sections ---------- */
.nx-section { padding: var(--nx-sec) 0; background: #fff; }
.nx-section--alt { background: var(--nx-paper); }
.nx-section--dark { background: var(--nx-ink); color: var(--nx-on-dark); }
.nx-section--dark h2, .nx-section--dark h3 { color: #fff; }
.nx-section--dark .nx-eyebrow { color: var(--nx-signal); }
.nx-section--tight { padding: 56px 0; }
.nx-eyebrow { margin: 0 0 10px; font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--nx-link); }
.nx-head { margin: 0 0 40px; max-width: 780px; }
.nx-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.nx-head h2, .nx-section h2.nx-h2 { font-size: clamp(28px, 3.4vw, 40px); margin: 0 0 16px; }
.nx-lead { font-size: 18px; line-height: 1.6; color: var(--nx-steel); margin: 0; }
.nx-section--dark .nx-lead { color: var(--nx-on-dark); }
.nx-section p, .nx-section li { color: var(--nx-steel); }
.nx-section h3 { font-size: 19px; line-height: 1.3; margin: 0 0 8px; }
.nx-section.nx-section--dark p, .nx-section.nx-section--dark li { color: var(--nx-on-dark); }
/* Light surfaces inside a dark section keep dark text */
.nx-section--dark :is(.nx-card, .nx-form-card, .nx-quote) :is(h2, h3, h4, strong) { color: var(--nx-ink); }
.nx-section.nx-section--dark :is(.nx-card, .nx-form-card, .nx-quote) :is(p, li) { color: var(--nx-steel); }
.nx-section.nx-section--dark .nx-quote blockquote { color: var(--nx-ink); }
.nx-section strong { color: var(--nx-ink); }
.nx-section--dark strong { color: #fff; }
.nx-note { font-size: 14px; color: var(--nx-steel); margin-top: 24px; }
.nx-mt { margin-top: 20px; } .nx-mt-2 { margin-top: 28px; } .nx-mt-3 { margin-top: 64px; }

/* Grids and cards */
.nx-grid { display: grid; gap: 20px; list-style: none; padding: 0; margin: 0; }
.nx-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.nx-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nx-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.nx-card { position: relative; background: #fff; border: 1px solid var(--nx-rule); border-top: 3px solid var(--nx-signal); border-radius: 6px; padding: 24px 24px 22px; }
.nx-section--alt .nx-card { background: #fff; }
.nx-card p { margin: 0 0 10px; }
.nx-card p:last-child { margin-bottom: 0; }
.nx-card ul { list-style: disc; padding-left: 18px; margin: 8px 0 0; }
.nx-card li { font-size: 15px; line-height: 1.5; margin: 2px 0; }
.nx-card .nx-kicker { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--nx-steel); margin: 0 0 8px; }
.nx-card--plain { border-top-width: 1px; border-top-color: var(--nx-rule); }
.nx-card--link { transition: border-color .2s, box-shadow .2s, transform .2s; }
.nx-card--link:hover { box-shadow: var(--nx-shadow); border-color: var(--nx-ink); border-top-color: var(--nx-signal); }
.nx-card--link a.nx-card-cover { color: var(--nx-ink); text-decoration: none; }
.nx-card--link a.nx-card-cover::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.nx-card--link .nx-more { margin-top: 12px; }
.nx-card-media { margin: -24px -24px 20px; border-radius: 4px 4px 0 0; overflow: hidden; aspect-ratio: 16 / 9; background: var(--nx-paper); }
.nx-card-media img { width: 100%; height: 100%; object-fit: cover; }
.nx-card-num { display: block; font-size: 14px; font-weight: 600; color: var(--nx-steel); margin-bottom: 6px; }

/* Split: text beside a photo */
.nx-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; align-items: center; }
.nx-split--flip { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.nx-split-media img { width: 100%; border-radius: var(--nx-radius); object-fit: cover; max-height: 560px; }
.nx-points { list-style: none; margin: 24px 0 0; display: grid; gap: 18px; }
.nx-points li { padding-left: 18px; border-left: 3px solid var(--nx-link); }
.nx-section--dark .nx-points li { border-left-color: var(--nx-signal); }
.nx-points strong { display: block; color: var(--nx-ink); font-size: 17px; margin-bottom: 2px; }
.nx-section--dark .nx-points strong { color: #fff; }

/* Check lists and tags */
.nx-checks { list-style: none; display: grid; gap: 12px; }
.nx-checks--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; }
.nx-checks li, .nx-proof li { position: relative; padding-left: 30px; font-size: 16px; line-height: 1.55; color: var(--nx-ink); }
.nx-section--dark .nx-checks li { color: #fff; }
.nx-checks li::before, .nx-proof li::before { content: ""; position: absolute; left: 1px; top: 5px; width: 16px; height: 9px; border-left: 2.5px solid var(--nx-link); border-bottom: 2.5px solid var(--nx-link); transform: rotate(-45deg); }
.nx-section--dark .nx-checks li::before { border-color: var(--nx-signal); }
.nx-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; }
.nx-tags li { font-size: 14px; font-weight: 500; color: var(--nx-ink); background: var(--nx-paper); border: 1px solid var(--nx-rule); border-radius: 999px; padding: 6px 12px; }
.nx-section--alt .nx-tags li { background: #fff; }

/* How it works */
.nx-steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: nxstep; }
.nx-steps li { counter-increment: nxstep; border-top: 3px solid var(--nx-signal); padding: 18px 4px 0; font-size: 16px; line-height: 1.55; color: var(--nx-steel); }
.nx-steps li::before { content: "0" counter(nxstep); display: block; font-size: 14px; font-weight: 600; color: var(--nx-steel); margin-bottom: 6px; }
.nx-steps strong { display: block; font-size: 18px; color: var(--nx-ink); margin-bottom: 6px; }
.nx-steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nx-section--dark .nx-steps li, .nx-section--dark .nx-steps li::before { color: var(--nx-on-dark); }
.nx-section--dark .nx-steps strong { color: #fff; }

/* What you get */
.nx-proof { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 32px; }
.nx-subhead, .nx-section .nx-subhead { font-size: 22px; margin: 56px 0 20px; }

/* Stats strip */
.nx-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; list-style: none; }
.nx-stats li { border-left: 3px solid var(--nx-signal); padding: 4px 0 4px 18px; }
.nx-stats strong { display: block; font-size: clamp(28px, 3vw, 38px); line-height: 1.1; color: var(--nx-ink); font-weight: 700; letter-spacing: -0.02em; }
.nx-stats span { display: block; font-size: 15px; color: var(--nx-steel); margin-top: 4px; }
.nx-section--dark .nx-stats strong { color: #fff; }
.nx-section--dark .nx-stats span { color: var(--nx-on-dark); }

/* Testimonial */
.nx-quote { margin: 0; background: #fff; border: 1px solid var(--nx-rule); border-radius: var(--nx-radius); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.nx-quote blockquote { margin: 0; font-size: 18px; line-height: 1.6; color: var(--nx-ink); }
.nx-quote blockquote::before { content: "“"; display: block; font-size: 56px; line-height: .6; color: var(--nx-signal); margin-bottom: 10px; font-weight: 700; }
.nx-quote figcaption { font-size: 15px; color: var(--nx-steel); }
.nx-quote figcaption strong { display: block; color: var(--nx-ink); }

/* FAQ */
.nx-faq { border-top: 1px solid var(--nx-rule); max-width: 880px; }
.nx-faq details { border-bottom: 1px solid var(--nx-rule); }
.nx-faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; font-size: 18px; font-weight: 600; color: var(--nx-ink); position: relative; }
.nx-faq summary::-webkit-details-marker { display: none; }
.nx-faq summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font-size: 26px; font-weight: 400; color: var(--nx-link); }
.nx-faq details[open] summary::after { content: "–"; }
.nx-faq details > div { padding: 0 0 22px; max-width: 72ch; }
.nx-faq details > div p:last-child { margin-bottom: 0; }

/* CTA band (dark) */
.nx-cta { background: var(--nx-ink); color: #fff; padding: 72px 0; position: relative; overflow: hidden; isolation: isolate; }
.nx-cta > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.nx-cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(16,36,58,.95), rgba(16,36,58,.86)); }
.nx-cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px 48px; flex-wrap: wrap; }
.nx-cta h2 { color: #fff; font-size: clamp(26px, 3vw, 36px); margin: 0 0 8px; }
.nx-cta p { color: var(--nx-on-dark); margin: 0; font-size: 17px; max-width: 60ch; }
.nx-cta .nx-eyebrow { color: var(--nx-signal); }

/* Quote band (trust strip before the footer) */
.nx-quote-band { background: var(--nx-paper); border-top: 1px solid var(--nx-rule); padding: 36px 0; }
.nx-quote-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }
.nx-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.nx-trust li { font-size: 15px; font-weight: 500; color: var(--nx-ink); }
.nx-trust li strong { font-weight: 700; }
.nx-quote-cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.nx-quote-phone { color: var(--nx-ink); font-weight: 600; text-decoration: none; white-space: nowrap; }
.nx-quote-phone:hover { text-decoration: underline; color: var(--nx-ink); }

/* ---------- Contact block and forms ---------- */
.nx-contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 48px; align-items: start; }
.nx-contact-info h2 { font-size: clamp(28px, 3.4vw, 40px); margin: 0 0 16px; }
.nx-contact-list { list-style: none; margin: 28px 0 0; display: grid; gap: 18px; }
.nx-contact-list li { padding-left: 18px; border-left: 3px solid var(--nx-signal); }
.nx-contact-list strong { display: block; color: var(--nx-ink); font-size: 15px; }
.nx-section--dark .nx-contact-list strong { color: #fff; }
.nx-contact-list span, .nx-contact-list a { font-size: 16px; }
.nx-section--dark .nx-contact-list a { color: #fff; }
.nx-form-card { background: #fff; color: var(--nx-ink); border: 1px solid var(--nx-rule); border-radius: var(--nx-radius); padding: 32px; box-shadow: var(--nx-shadow); position: relative; }
.nx-form-card h3 { font-size: 22px; margin: 0 0 6px; }
.nx-form-card > p { color: var(--nx-steel); margin: 0 0 22px; font-size: 15px; }
.nx-form { display: grid; gap: 18px; }
.nx-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.nx-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.nx-field label, .nx-field legend { font-size: 14px; font-weight: 600; color: var(--nx-ink); }
.nx-field .nx-req { color: var(--nx-err); }
.nx-field input, .nx-field select, .nx-field textarea { width: 100%; padding: 12px 14px; border: 1.5px solid #B7C3CF; border-radius: 6px; background: #fff; color: var(--nx-ink); font-size: 16px; line-height: 1.4; transition: border-color .2s, box-shadow .2s; }
.nx-field textarea { resize: vertical; min-height: 120px; }
.nx-field input::placeholder, .nx-field textarea::placeholder { color: #6B7280; opacity: 1; }
.nx-field input:focus, .nx-field select:focus, .nx-field textarea:focus { outline: none; border-color: var(--nx-link); box-shadow: 0 0 0 3px rgba(29,95,184,.25); }
.nx-field input:focus-visible, .nx-field select:focus-visible, .nx-field textarea:focus-visible { outline: 3px solid var(--nx-signal); outline-offset: 1px; }
.nx-field-hint { font-size: 13px; color: var(--nx-steel); }
.nx-choices { display: flex; flex-wrap: wrap; gap: 10px; border: 0; padding: 0; margin: 0; }
.nx-choices label { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 15px; padding: 10px 14px; border: 1.5px solid #B7C3CF; border-radius: 6px; cursor: pointer; }
.nx-choices input { accent-color: var(--nx-ink); width: auto; }
.nx-form-note { font-size: 13px; color: var(--nx-steel); margin: 0; }
.nx-form-status { padding: 14px 16px; border-radius: 6px; font-size: 15px; font-weight: 500; }
.nx-form-status[hidden] { display: none; }
.nx-form-status.is-ok { background: #E7F4EC; color: #145232; border: 1px solid #A8D5B8; }
.nx-form-status.is-err { background: #FDECEA; color: #8A1C13; border: 1px solid #F3B4AD; }
.nx-form-status a { color: inherit; font-weight: 700; }
.nx-hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Long-form text (articles, legal) ---------- */
.nx-prose { max-width: 760px; font-size: 17px; line-height: 1.7; color: #2B3E52; }
.nx-prose h2 { font-size: clamp(24px, 2.6vw, 30px); margin: 48px 0 14px; }
.nx-prose h3 { font-size: 20px; margin: 32px 0 10px; }
.nx-prose p, .nx-prose li { color: #2B3E52; }
.nx-prose ul, .nx-prose ol { padding-left: 22px; margin: 0 0 1em; }
.nx-prose li { margin: 6px 0; }
.nx-prose a { color: var(--nx-link); }
.nx-prose > :first-child { margin-top: 0; }
.nx-prose-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; align-items: start; }
.nx-toc { position: sticky; top: calc(var(--nx-header) + 24px); border-left: 3px solid var(--nx-signal); padding: 4px 0 4px 18px; }
.nx-toc p { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--nx-steel); margin: 0 0 10px; }
.nx-toc ol { list-style: none; display: grid; gap: 8px; }
.nx-toc a { color: var(--nx-ink); text-decoration: none; font-size: 15px; }
.nx-toc a:hover { color: var(--nx-link); text-decoration: underline; }
.nx-callout { border: 1px solid var(--nx-rule); border-left: 4px solid var(--nx-signal); background: var(--nx-paper); border-radius: 6px; padding: 20px 22px; margin: 28px 0; }
.nx-callout p:last-child { margin-bottom: 0; }
.nx-table-wrap { overflow-x: auto; margin: 0 0 1.4em; }
.nx-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.nx-table th, .nx-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--nx-rule); vertical-align: top; }
.nx-table th { color: var(--nx-ink); background: var(--nx-paper); font-weight: 600; }
.nx-table td { color: var(--nx-steel); }
.nx-figure { margin: 32px 0; }
.nx-figure img { border-radius: var(--nx-radius); width: 100%; }
.nx-figure figcaption { font-size: 14px; color: var(--nx-steel); margin-top: 8px; }

/* ---------- Message pages (404, thank-you) ---------- */
.nx-message { min-height: 76vh; display: flex; align-items: center; padding: calc(var(--nx-header) + 72px) 0 96px; background: var(--nx-paper); }
.nx-message-code { display: inline-block; margin-bottom: 20px; font-size: 15px; font-weight: 600; color: var(--nx-steel); border-bottom: 2px solid var(--nx-signal); padding-bottom: 6px; }
.nx-message h1 { font-size: clamp(36px, 5vw, 58px); line-height: 1.08; max-width: 18ch; }
.nx-message p { margin: 18px 0 0; font-size: 18px; color: var(--nx-steel); max-width: 56ch; }
.nx-message .nx-actions-row { margin-top: 32px; }
.nx-message-links { margin-top: 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 32px; max-width: 780px; border-top: 1px solid var(--nx-rule); }
.nx-message-links a { display: block; padding: 14px 0; border-bottom: 1px solid var(--nx-rule); color: var(--nx-ink); text-decoration: none; font-weight: 500; }
.nx-message-links a:hover { color: var(--nx-link); }
.nx-message .nx-wrap { width: 100%; }

/* Meeting request calendar */
.nx-cal { border: 1px solid var(--nx-rule); border-radius: var(--nx-radius); overflow: hidden; margin-top: 4px; }
.nx-cal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--nx-ink); color: #fff; padding: 8px 10px; }
.nx-cal-head strong { font-size: 17px; font-weight: 600; color: #fff; }
.nx-cal-nav { width: 40px; height: 40px; border: 0; border-radius: var(--nx-radius-sm); background: transparent; color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }
.nx-cal-nav:hover { background: rgba(255,255,255,.12); }
.nx-cal-grid { width: 100%; border-collapse: collapse; table-layout: fixed; margin: 6px 0 10px; }
.nx-cal-grid th { padding: 8px 0 6px; font-size: 13px; font-weight: 600; color: var(--nx-steel); text-align: center; }
.nx-cal-grid abbr { text-decoration: none; }
.nx-cal-grid td { padding: 3px 0; text-align: center; }
.nx-cal-day { width: 40px; max-width: 100%; height: 40px; border: 0; border-radius: 50%; background: transparent; color: var(--nx-ink); font-size: 15px; cursor: pointer; }
.nx-cal-day:hover { background: var(--nx-rule); }
.nx-cal-day[aria-current="date"] { font-weight: 700; }
.nx-cal-day.is-selected { background: var(--nx-ink-2); color: #fff; }
.nx-cal-slots { display: grid; gap: 16px; margin-top: 16px; }
.nx-cal-slots h4 { font-size: 14px; font-weight: 600; color: var(--nx-ink); margin: 0 0 8px; }
.nx-cal-slots .nx-btn { padding: 10px 14px; font-size: 15px; }

/* ---------- Footer ---------- */
.nx-footer { background: var(--nx-ink); color: rgba(255,255,255,.76); padding: 80px 0 32px; font-size: 15px; line-height: 1.6; }
.nx-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; }
.nx-footer .nx-logo { margin-bottom: 16px; }
.nx-footer p { color: rgba(255,255,255,.76); margin: 0; font-size: 15px; }
.nx-footer h2 { margin: 0 0 16px; font-size: 15px; color: #fff; font-weight: 600; letter-spacing: 0; }
.nx-footer ul { list-style: none; }
.nx-footer li { margin: 0 0 9px; }
.nx-footer a { text-decoration: none; color: rgba(255,255,255,.76); }
.nx-footer a:hover { color: #fff; text-decoration: underline; }
.nx-footer-bottom { margin-top: 64px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 14px; }
.nx-footer-bottom nav { display: flex; gap: 22px; }
.nx-social { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; }
.nx-social svg { width: 18px; height: 18px; }

/* ---------- Insights (blog) ---------- */
.nx-post-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0 0 8px; font-size: 14px; line-height: 1.4; color: var(--nx-steel); }
.nx-section .nx-card .nx-post-meta { margin-bottom: 8px; }
.nx-post-meta .nx-post-topic { font-weight: 600; color: var(--nx-link); }
.nx-post-card h2, .nx-section .nx-post-card h3 { font-size: 19px; line-height: 1.3; margin: 0 0 8px; }
.nx-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 0 0 28px; }
.nx-filter[hidden] { display: none; }
.nx-section .nx-filter-label { margin: 0; font-size: 14px; font-weight: 600; color: var(--nx-ink); }
.nx-filter-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.nx-filter-buttons button { font: 500 15px/1 var(--nx-font); color: var(--nx-ink); background: #fff; border: 1px solid #8A99A8; border-radius: 999px; padding: 10px 14px; cursor: pointer; }
.nx-filter-buttons button:hover { border-color: var(--nx-ink); }
.nx-filter-buttons button[aria-pressed="true"] { background: var(--nx-ink); border-color: var(--nx-ink); color: #fff; }
.nx-section .nx-filter-count { margin: 0; font-size: 14px; color: var(--nx-steel); }
.nx-takeaways { border: 1px solid var(--nx-rule); border-top: 3px solid var(--nx-signal); background: var(--nx-paper); border-radius: 6px; padding: 22px 24px 18px; margin: 0 0 36px; }
.nx-prose .nx-takeaways h2 { font-size: 19px; margin: 0 0 10px; }
.nx-prose .nx-takeaways ul { margin: 0; }
.nx-sources { border-top: 1px solid var(--nx-rule); margin-top: 48px; padding-top: 8px; }
.nx-prose .nx-sources h2 { font-size: 20px; margin: 20px 0 8px; }
.nx-prose .nx-sources p, .nx-prose .nx-sources li { font-size: 15px; color: var(--nx-steel); }
.nx-prose .nx-sources a { overflow-wrap: anywhere; }
.nx-prose .nx-faq { margin: 8px 0 1em; }

/* ---------- Responsive ---------- */
/* Narrow desktops: the phone number leaves the header (it stays in the footer and quote band) so the nav fits. */
@media (max-width: 1260px) {
  .nx-phone { display: none; }
  .nx-nav-link { padding: 10px 10px; }
}
@media (max-width: 1080px) {
  .nx-nav, .nx-phone { display: none; }
  .nx-menu-btn { display: block; }
  .nx-head-actions { margin-left: auto; margin-right: 6px; }
  .nx-mobile { display: block; position: fixed; top: var(--nx-header); left: 0; right: 0; bottom: 0; background: var(--nx-ink); padding: 8px 28px 40px; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility .25s; z-index: 999; }
  .nx-mobile.open { transform: none; visibility: visible; }
  .nx-mobile a { display: block; color: #fff; text-decoration: none; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 18px; font-weight: 500; }
  .nx-mobile summary { list-style: none; color: #fff; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 18px; font-weight: 500; cursor: pointer; display: flex; justify-content: space-between; }
  .nx-mobile summary::-webkit-details-marker { display: none; }
  .nx-mobile summary::after { content: "+"; color: var(--nx-signal); }
  .nx-mobile details[open] summary::after { content: "–"; }
  .nx-mobile details a { padding-left: 16px; font-size: 16px; color: rgba(255,255,255,.86); }
  .nx-mobile a.nx-btn { margin-top: 24px; width: 100%; border-bottom: 2px solid var(--nx-signal); color: var(--nx-ink); justify-content: center; }
  .nx-open .nx-menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nx-open .nx-menu-btn span:nth-child(2) { opacity: 0; }
  .nx-open .nx-menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nx-footer-grid { grid-template-columns: 1fr 1fr; }
  .nx-grid--4, .nx-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  :root { --nx-sec: 72px; }
  .nx-hero-grid, .nx-split, .nx-split--flip, .nx-contact, .nx-prose-layout { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .nx-split--flip .nx-split-media { order: -1; }
  .nx-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nx-steps, .nx-steps--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nx-toc { position: static; }
  .nx-hero { min-height: 0; }
}
@media (max-width: 760px) {
  :root { --nx-gutter: 20px; --nx-sec: 60px; }
  .nx-head-actions .nx-btn { display: none; }
  .nx-footer-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .nx-grid--2, .nx-grid--3, .nx-grid--4, .nx-steps, .nx-steps--3, .nx-proof, .nx-checks--2, .nx-form-row { grid-template-columns: minmax(0, 1fr); }
  .nx-hero { padding: calc(var(--nx-header) + 44px) 0 52px; }
  .nx-hero p { font-size: 17px; }
  .nx-form-card { padding: 24px 20px; }
  .nx-cta { padding: 56px 0; }
  .nx-split-media img { max-height: 360px; }
}
@media (max-width: 420px) {
  .nx-stats, .nx-panel-stats { grid-template-columns: minmax(0, 1fr); }
  .nx-actions-row .nx-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .nx-header, .nx-mobile, .nx-footer, .nx-quote-band, .nx-cta, .nx-skip { display: none !important; }
  .nx-hero { color: #000; background: none; min-height: 0; padding: 0 0 24px; }
  .nx-hero::after, .nx-hero > img { display: none; }
  .nx-hero h1, .nx-hero p { color: #000; }
}
