/* ==========================================================================
   NextHub website design system  ·  site.css
   Plain CSS, no build step. Dark brand (NextHub Brand Guide v1.0).
   Square corners, 1px panel lines, Poppins / DM Sans / JetBrains Mono.

   Contents
   01 Fonts            08 Buttons, links        15 Comparison table   22 Flow animation
   02 Tokens           09 Eyebrow, chips, rule  16 Pricing            23 Device frames
   03 Reset + base     10 Cards, icons          17 FAQ                24 Product mock-ups
   04 Layout           11 Hero                  18 Forms              25 Media + video
   05 Header + nav     12 Proof strip           19 Badge row          26 Motion hooks
   06 Footer           13 Features, problems    20 Case study, quote  27 Utilities
   07 Typography       14 Steps, markets        21 CTA band           28 Draft flags, print
   ========================================================================== */

/* 01 Fonts -----------------------------------------------------------------
   Self-hosted latin subsets (SIL Open Font Licence), 84 KB in total.
   font-display: swap so text paints at once on slow connections.
   Only the two fonts used above the fold are preloaded in the HTML head. */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/poppins-500-latin.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/poppins-600-latin.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("../fonts/dm-sans-latin.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url("../fonts/jetbrains-mono-latin.woff2") format("woff2"); }

/* 02 Tokens ---------------------------------------------------------------- */
:root {
  color-scheme: dark;

  /* Colour: surfaces */
  --nh-night: #050607;      /* page background */
  --nh-surface: #111418;    /* cards, raised sections */
  --nh-surface-2: #0B0D10;  /* quiet alternate band */
  --nh-panel: #2A3139;      /* 1px lines on cards */
  --nh-line: #1E2429;       /* hairlines between sections */

  /* Colour: text (contrast on night / on surface, WCAG 2.2) */
  --nh-ink: #FFFFFF;        /* 20.3 / 18.5 */
  --nh-body: #C5CCD3;       /* 12.5 / 11.4  default paragraph colour */
  --nh-muted: #A3ACB6;      /*  8.8 /  8.0  secondary text */
  --nh-faint: #8A949E;      /*  6.5 /  5.9  smallest allowed text colour */
  --nh-dim: #5E6873;        /*  3.5 /  3.2  decoration only, never body text */
  --nh-control: #77828E;    /*  5.1 /  4.6  form field borders (needs 3:1) */

  /* Colour: signal accents (all pass 4.5:1 as text on night and surface) */
  --nh-blue: #1AA0F0;       /* primary action */
  --nh-blue-hover: #4DB6F4;
  --nh-teal: #20B7C4;       /* eyebrows, data */
  --nh-green: #5CC34A;      /* live, synced, success */
  --nh-yellow: #F1D44C;     /* queued, attention */
  --nh-red: #E8735F;        /* errors only */
  --nh-gradient: linear-gradient(135deg, #20B7C4, #5CC34A 55%, #F1D44C);

  /* Type */
  --font-display: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-text: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --fs-display: clamp(2.375rem, 1.55rem + 3.9vw, 4.5rem);   /* 38 to 72 */
  --fs-h1: clamp(2.125rem, 1.6rem + 2.6vw, 3.5rem);         /* 34 to 56 */
  --fs-h2: clamp(1.75rem, 1.4rem + 1.7vw, 2.75rem);         /* 28 to 44 */
  --fs-h3: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);         /* 20 to 24 */
  --fs-h4: 1.125rem;                                        /* 18 */
  --fs-lead: clamp(1.0625rem, 1rem + 0.45vw, 1.25rem);      /* 17 to 20 */
  --fs-body: 1.0625rem;                                     /* 17 */
  --fs-small: 0.9375rem;                                    /* 15 */
  --fs-micro: 0.8125rem;                                    /* 13 */
  --fs-figure: clamp(2.25rem, 1.6rem + 3vw, 3.75rem);       /* proof numbers */

  /* Space (4px base) */
  --sp-1: 0.25rem; --sp-2: 0.5rem; --sp-3: 0.75rem; --sp-4: 1rem; --sp-5: 1.5rem;
  --sp-6: 2rem; --sp-7: 3rem; --sp-8: 4rem; --sp-9: 6rem; --sp-10: 8rem;
  --section-y: clamp(4rem, 2.4rem + 7vw, 8rem);
  --gutter: clamp(1.25rem, 0.6rem + 2.6vw, 2rem);

  /* Layout */
  --w-container: 75rem;   /* 1200 */
  --w-wide: 85rem;        /* 1360 */
  --w-prose: 40rem;
  --header-h: 4rem;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --t-fast: 150ms; --t-med: 300ms; --t-slow: 700ms;

  --focus: 0 0 0 2px var(--nh-night), 0 0 0 4px var(--nh-yellow);
}

/* 03 Reset + base ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0; min-height: 100vh; min-height: 100dvh;
  background: var(--nh-night); color: var(--nh-body);
  font-family: var(--font-text); font-size: var(--fs-body); line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img, video { height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
a { color: var(--nh-blue); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--nh-blue-hover); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
table { border-collapse: collapse; width: 100%; }
::selection { background: var(--nh-blue); color: var(--nh-night); }
[hidden] { display: none !important; }

/* Visible focus on everything interactive (WCAG 2.4.7 / 2.4.11). */
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--nh-yellow); outline-offset: 3px; }

.skip-link {
  position: absolute; left: var(--sp-4); top: -6rem; z-index: 100;
  padding: var(--sp-3) var(--sp-4); background: var(--nh-yellow); color: var(--nh-night);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: var(--sp-3); color: var(--nh-night); }

/* 04 Layout ---------------------------------------------------------------- */
.container { width: 100%; max-width: calc(var(--w-container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.container--wide { max-width: calc(var(--w-wide) + 2 * var(--gutter)); }
.container--narrow { max-width: calc(50rem + 2 * var(--gutter)); }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: calc(var(--section-y) * 0.6); }
.section--flush-top { padding-top: 0; }
.section--surface { background: var(--nh-surface-2); border-block: 1px solid var(--nh-line); }
.section--line { border-top: 1px solid var(--nh-line); }

.section__head { display: flex; flex-direction: column; gap: var(--sp-4); max-width: 46rem; margin-bottom: clamp(2rem, 1.2rem + 3vw, 4rem); }
.section__head--center { margin-inline: auto; text-align: center; align-items: center; }
.section__head--row { max-width: none; }
@media (min-width: 60rem) {
  .section__head--row { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: var(--sp-7); }
  .section__head--row > :first-child { max-width: 46rem; display: flex; flex-direction: column; gap: var(--sp-4); }
}

.grid { display: grid; gap: var(--sp-5); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 40rem) { .grid--2, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 60rem) { .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.grid--gap-lg { gap: clamp(1.5rem, 1rem + 2vw, 3rem); }

/* Joined grid: cells share 1px lines, the brand's "panel" look. */
.grid--joined { gap: 1px; background: var(--nh-panel); border: 1px solid var(--nh-panel); }
.grid--joined > * { background: var(--nh-night); border: 0; }

/* Text beside a product visual. Visual gets the larger share. */
.split { display: grid; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 60rem) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .split--even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split--reverse > :first-child { order: 2; }
  .split--top { align-items: start; }
}
.split__text { display: flex; flex-direction: column; gap: var(--sp-5); align-items: flex-start; }
.split__media { min-width: 0; }

.stack { display: flex; flex-direction: column; gap: var(--sp-4); }
.stack--sm { gap: var(--sp-2); } .stack--lg { gap: var(--sp-6); }
.cluster { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; }

/* 05 Header + nav ---------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5, 6, 7, 0.92); border-bottom: 1px solid var(--nh-line);
  padding-top: env(safe-area-inset-top);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header { background: rgba(5, 6, 7, 0.8); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
}
.site-header__bar { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 0.625rem; text-decoration: none; color: var(--nh-ink); flex-shrink: 0; }
.brand:hover { color: var(--nh-ink); }
.brand__tile { width: 2.125rem; height: 2.125rem; }
.brand__word { font-family: var(--font-display); font-weight: 600; font-size: 1.375rem; letter-spacing: -0.01em; line-height: 1; }
.brand__word span { color: var(--nh-blue); }

.site-nav { display: none; }
.site-nav__list { display: flex; align-items: center; gap: var(--sp-1); }
.site-nav__link {
  display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 0.75rem;
  color: var(--nh-muted); font-size: var(--fs-small); font-weight: 500; text-decoration: none;
  transition: color var(--t-fast);
}
.site-nav__link:hover, .site-nav__link[aria-current="page"] { color: var(--nh-ink); }
.site-nav__link[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--nh-blue); }

.site-header__actions { display: flex; align-items: center; gap: var(--sp-2); }
.site-header__actions .btn--ghost { display: none; }

.nav-toggle {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  width: 2.75rem; height: 2.75rem; padding: 0; background: transparent; border: 1px solid var(--nh-panel);
}
.nav-toggle__bar { width: 1.25rem; height: 2px; background: var(--nh-ink); transition: transform var(--t-med) var(--ease), opacity var(--t-fast); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu panel. Works without JS through :target as a fallback. */
.mobile-menu {
  display: none; position: fixed; inset: calc(var(--header-h) + env(safe-area-inset-top) + 1px) 0 0 0; z-index: 49;
  background: var(--nh-night); overflow-y: auto; overscroll-behavior: contain;
  padding: var(--sp-4) var(--gutter) calc(var(--sp-7) + env(safe-area-inset-bottom));
}
.mobile-menu.is-open, .mobile-menu:target { display: block; }
.mobile-menu__link {
  display: flex; align-items: center; justify-content: space-between; min-height: 3.5rem;
  border-bottom: 1px solid var(--nh-line); color: var(--nh-ink); text-decoration: none;
  font-family: var(--font-display); font-weight: 500; font-size: 1.25rem;
}
.mobile-menu__link[aria-current="page"] { color: var(--nh-blue); }
.mobile-menu__actions { display: grid; gap: var(--sp-3); margin-top: var(--sp-5); }
body.has-menu-open { overflow: hidden; }

@media (min-width: 68.75rem) { /* 1100px: full navigation */
  .site-nav { display: block; }
  .nav-toggle, .mobile-menu, .mobile-menu.is-open, .mobile-menu:target { display: none; }
  .site-header__actions .btn--ghost { display: inline-flex; }
}

/* 06 Footer ---------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--nh-line); background: var(--nh-night); font-size: var(--fs-small); }
.site-footer__top { display: grid; gap: var(--sp-7); padding-block: var(--sp-8) var(--sp-7); grid-template-columns: minmax(0, 1fr); }
.site-footer__brand { display: flex; flex-direction: column; gap: var(--sp-4); max-width: 22rem; }
.site-footer__cols { display: grid; gap: var(--sp-6) var(--sp-5); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.site-footer__title { font-family: var(--font-mono); font-size: var(--fs-micro); font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--nh-faint); margin-bottom: var(--sp-3); }
.site-footer__list { display: flex; flex-direction: column; }
.site-footer__list a { display: inline-flex; align-items: center; min-height: 2.25rem; color: var(--nh-body); text-decoration: none; }
.site-footer__list a:hover { color: var(--nh-ink); text-decoration: underline; }
.site-footer__bottom { display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-5); justify-content: space-between; align-items: center; padding-block: var(--sp-5); border-top: 1px solid var(--nh-line); color: var(--nh-faint); font-family: var(--font-mono); font-size: var(--fs-micro); }
.site-footer__bottom a { color: var(--nh-muted); }
@media (min-width: 60rem) {
  .site-footer__top { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
  .site-footer__cols { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* 07 Typography ------------------------------------------------------------ */
h1, h2, h3, h4, .h1, .h2, .h3, .h4, .display {
  font-family: var(--font-display); font-weight: 600; color: var(--nh-ink);
  text-wrap: balance;
}
.display { font-size: var(--fs-display); line-height: 1.04; letter-spacing: -0.03em; }
h1, .h1 { font-size: var(--fs-h1); line-height: 1.08; letter-spacing: -0.025em; }
h2, .h2 { font-size: var(--fs-h2); line-height: 1.12; letter-spacing: -0.02em; }
h3, .h3 { font-size: var(--fs-h3); line-height: 1.25; letter-spacing: -0.01em; font-weight: 500; }
h4, .h4 { font-size: var(--fs-h4); line-height: 1.35; font-weight: 500; }
p { text-wrap: pretty; }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--nh-body); max-width: 36em; }
.small { font-size: var(--fs-small); }
.micro { font-size: var(--fs-micro); }
strong, b { font-weight: 600; color: var(--nh-ink); }
.accent { color: var(--nh-blue); }
.figure { font-family: var(--font-mono); font-weight: 500; font-variant-numeric: tabular-nums; color: var(--nh-ink); line-height: 1; letter-spacing: -0.02em; }

/* Long-form text (Privacy, Terms, About, case study body). */
.prose { max-width: var(--w-prose); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: var(--fs-h3); margin-top: 2.2em; }
.prose h3 { font-size: var(--fs-h4); margin-top: 1.8em; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li + li { margin-top: 0.4em; }
.prose li::marker { color: var(--nh-teal); }

/* 08 Buttons, links -------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  min-height: 3rem; padding: 0.75rem 1.375rem; border: 1px solid transparent; border-radius: 0;
  font-family: var(--font-text); font-size: 1rem; font-weight: 600; line-height: 1.2; text-align: center; text-decoration: none;
  transition: background-color var(--t-fast), border-color var(--t-fast), color var(--t-fast), transform var(--t-fast);
  -webkit-tap-highlight-color: transparent; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--nh-blue); border-color: var(--nh-blue); color: var(--nh-night); }
.btn--primary:hover { background: var(--nh-blue-hover); border-color: var(--nh-blue-hover); color: var(--nh-night); }
.btn--ghost { background: transparent; border-color: var(--nh-control); color: var(--nh-ink); font-weight: 500; }
.btn--ghost:hover { border-color: var(--nh-ink); color: var(--nh-ink); background: rgba(255, 255, 255, 0.04); }
.btn--green { background: var(--nh-green); border-color: var(--nh-green); color: var(--nh-night); }
.btn--green:hover { filter: brightness(1.1); color: var(--nh-night); }
.btn--lg { min-height: 3.5rem; padding-inline: 1.75rem; font-size: 1.0625rem; }
.btn--sm { min-height: 2.75rem; padding: 0.5rem 1rem; font-size: var(--fs-small); }
.btn--block { display: flex; width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { background: var(--nh-panel); border-color: var(--nh-panel); color: var(--nh-muted); cursor: not-allowed; }
.btn.is-loading { pointer-events: none; opacity: 0.8; }
.btn.is-loading::after { content: ""; width: 1em; height: 1em; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: nh-spin 0.7s linear infinite; }
.btn__arrow { transition: transform var(--t-fast); }
.btn:hover .btn__arrow { transform: translateX(3px); }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; }
@media (max-width: 26rem) { .btn-row--stack > .btn { flex: 1 1 100%; } }
.btn-note { font-size: var(--fs-small); color: var(--nh-muted); }

.link-arrow { display: inline-flex; align-items: center; gap: 0.4em; min-height: 2.75rem; font-weight: 500; color: var(--nh-ink); text-decoration: none; border-bottom: 1px solid transparent; }
.link-arrow::after { content: "\2192"; color: var(--nh-blue); transition: transform var(--t-fast); }
.link-arrow:hover { color: var(--nh-ink); } .link-arrow:hover::after { transform: translateX(4px); }

/* 09 Eyebrow, chips, brand rule, dot pattern ------------------------------- */
.eyebrow { display: inline-block; font-family: var(--font-mono); font-size: var(--fs-micro); font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--nh-teal); line-height: 1.4; }
.eyebrow--muted { color: var(--nh-muted); } .eyebrow--green { color: var(--nh-green); }
.eyebrow--yellow { color: var(--nh-yellow); } .eyebrow--blue { color: var(--nh-blue); }
.eyebrow--num::before { content: attr(data-num) " \00B7  "; color: var(--nh-faint); }

.chip { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.25rem 0.5rem; border: 1px solid var(--nh-panel); border-radius: 4px; font-family: var(--font-mono); font-size: 0.75rem; line-height: 1.3; color: var(--nh-ink); white-space: nowrap; background: var(--nh-night); }
.chip__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--nh-green); flex-shrink: 0; }
.chip--live .chip__dot { animation: nh-blink 1.6s ease-in-out infinite; }
.chip--yellow { color: var(--nh-yellow); } .chip--yellow .chip__dot { background: var(--nh-yellow); }
.chip--green { color: var(--nh-green); } .chip--teal { color: var(--nh-teal); } .chip--teal .chip__dot { background: var(--nh-teal); }
.chip--muted { color: var(--nh-muted); } .chip--muted .chip__dot { background: var(--nh-faint); }

/* Four-colour rule: teal, green, yellow, blue in equal parts. */
.brand-rule { display: block; height: 3px; width: 100%; border: 0; margin: 0;
  background: linear-gradient(90deg, var(--nh-teal) 0 25%, var(--nh-green) 25% 50%, var(--nh-yellow) 50% 75%, var(--nh-blue) 75% 100%); }
.brand-rule--short { width: 4.5rem; } .brand-rule--thick { height: 4px; }

/* Dot pattern. Use on a wrapper; .dots--fade masks it toward the edges. */
.dots { background-image: radial-gradient(circle, rgba(32, 183, 196, 0.2) 1.2px, transparent 1.6px); background-size: 14px 14px; }
.dots--green { background-image: radial-gradient(circle, rgba(92, 195, 74, 0.22) 1.2px, transparent 1.6px); }
.dots-layer { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.dots--fade { -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 10%, transparent 75%); mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 10%, transparent 75%); }
.dots--fade-right { -webkit-mask-image: radial-gradient(ellipse 60% 80% at 85% 40%, #000 10%, transparent 72%); mask-image: radial-gradient(ellipse 60% 80% at 85% 40%, #000 10%, transparent 72%); }
.section > .container { position: relative; z-index: 1; }

/* 2px brand-gradient frame for the one element per view that matters most. */
.gradient-frame { padding: 2px; background: var(--nh-gradient); }
.gradient-frame > * { background: var(--nh-surface); height: 100%; }

/* 10 Cards, icons ---------------------------------------------------------- */
.card { display: flex; flex-direction: column; gap: var(--sp-3); padding: clamp(1.25rem, 1rem + 1vw, 2rem); background: var(--nh-surface); border: 1px solid var(--nh-panel); position: relative; min-width: 0; }
.card--plain { background: var(--nh-night); }
.card--dots { background-color: var(--nh-surface); background-image: radial-gradient(circle, rgba(32, 183, 196, 0.16) 1.2px, transparent 1.6px); background-size: 14px 14px; }
.card__num { font-family: var(--font-mono); font-size: var(--fs-micro); color: var(--nh-blue); letter-spacing: 0.08em; }
.card__title { font-family: var(--font-display); font-weight: 500; font-size: var(--fs-h3); line-height: 1.25; color: var(--nh-ink); }
.card__text { color: var(--nh-body); font-size: 1rem; }
.card__foot { margin-top: auto; padding-top: var(--sp-3); }
a.card, .card--link { text-decoration: none; color: inherit; transition: border-color var(--t-fast), background-color var(--t-fast), transform var(--t-med) var(--ease); }
a.card:hover, .card--link:hover { border-color: var(--nh-control); background: #151A1F; color: inherit; }
/* Whole-card link with one real anchor inside. */
.card__link::after { content: ""; position: absolute; inset: 0; }
.card__link { color: var(--nh-ink); text-decoration: none; }
.card--accent-teal { border-top: 2px solid var(--nh-teal); } .card--accent-green { border-top: 2px solid var(--nh-green); }
.card--accent-yellow { border-top: 2px solid var(--nh-yellow); } .card--accent-blue { border-top: 2px solid var(--nh-blue); }

.icon-box { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border: 1px solid currentColor; color: var(--nh-teal); flex-shrink: 0; }
.icon-box--sm { width: 2rem; height: 2rem; } .icon-box--sm .icon { width: 1rem; height: 1rem; }
.icon-box--blue { color: var(--nh-blue); } .icon-box--green { color: var(--nh-green); } .icon-box--yellow { color: var(--nh-yellow); } .icon-box--muted { color: var(--nh-muted); }

/* Line icons. Drawn from inline data URIs so they cost no extra requests
   and take the current text colour. Source files: assets/img/icons/*.svg */
.icon { display: inline-block; width: 1.375rem; height: 1.375rem; flex-shrink: 0; background-color: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
.icon--sm { width: 1rem; height: 1rem; } .icon--lg { width: 2rem; height: 2rem; }
/* ICONS:START (generated from assets/img/icons by go-to-market/04-design/src/build-assets.cjs) */
.icon--arrow-right { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='square' stroke-linejoin='miter'%3E%3Cpath d='M4 12h16M14 6l6 6-6 6'/%3E%3C/svg%3E"); }
.icon--check { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='square' stroke-linejoin='miter'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E"); }
.icon--shield { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='square' stroke-linejoin='miter'%3E%3Cpath d='M12 3l8 3v6c0 4.5-3.2 7.9-8 9-4.8-1.1-8-4.5-8-9V6z'/%3E%3Cpath d='M8.5 12l2.5 2.5 4.5-5'/%3E%3C/svg%3E"); }
.icon--lock { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='square' stroke-linejoin='miter'%3E%3Crect x='5' y='10.5' width='14' height='10'/%3E%3Cpath d='M8 10.5V7a4 4 0 018 0v3.5M12 14.5v2.5'/%3E%3C/svg%3E"); }
.icon--map-pin { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='square' stroke-linejoin='miter'%3E%3Cpath d='M12 21s-7-6.3-7-11.5a7 7 0 0114 0C19 14.7 12 21 12 21z'/%3E%3Crect x='10' y='7.5' width='4' height='4'/%3E%3C/svg%3E"); }
.icon--users { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='square' stroke-linejoin='miter'%3E%3Ccircle cx='9' cy='8' r='3.5'/%3E%3Cpath d='M2.5 20c.5-3.5 3-5.5 6.5-5.5s6 2 6.5 5.5M16 4.8a3.5 3.5 0 010 6.4M18.5 14.8c1.8.8 2.8 2.6 3 5.2'/%3E%3C/svg%3E"); }
.icon--phone { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='square' stroke-linejoin='miter'%3E%3Crect x='6.5' y='2.5' width='11' height='19'/%3E%3Cpath d='M10.5 18h3'/%3E%3C/svg%3E"); }
.icon--wifi-off { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='square' stroke-linejoin='miter'%3E%3Cpath d='M3 3l18 18M5 12.5a10 10 0 013.5-2.3M12 9a10 10 0 017 3.5M8.5 16a5 5 0 017 0M2 8.5a15 15 0 014-2.7M10.5 5a15 15 0 0111.5 3.5'/%3E%3Crect x='11' y='18.5' width='2' height='2'/%3E%3C/svg%3E"); }
.icon--sync { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='square' stroke-linejoin='miter'%3E%3Cpath d='M20 5v5h-5M4 19v-5h5'/%3E%3Cpath d='M19.5 10A8 8 0 005.6 8M4.5 14a8 8 0 0013.9 2'/%3E%3C/svg%3E"); }
.icon--database { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='square' stroke-linejoin='miter'%3E%3Cellipse cx='12' cy='5.5' rx='7.5' ry='3'/%3E%3Cpath d='M4.5 5.5v6.5c0 1.7 3.4 3 7.5 3s7.5-1.3 7.5-3V5.5M4.5 12v6.5c0 1.7 3.4 3 7.5 3s7.5-1.3 7.5-3V12'/%3E%3C/svg%3E"); }
.icon--layers { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='square' stroke-linejoin='miter'%3E%3Cpath d='M12 3l9 4.5-9 4.5-9-4.5zM3 12l9 4.5 9-4.5M3 16.5L12 21l9-4.5'/%3E%3C/svg%3E"); }
.icon--chart { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='square' stroke-linejoin='miter'%3E%3Cpath d='M3.5 3.5v17h17'/%3E%3Crect x='7' y='12' width='3' height='5'/%3E%3Crect x='12' y='8' width='3' height='9'/%3E%3Crect x='17' y='5' width='3' height='12'/%3E%3C/svg%3E"); }
.icon--file { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='square' stroke-linejoin='miter'%3E%3Cpath d='M6 2.5h8l4.5 4.5v14.5H6z'/%3E%3Cpath d='M14 2.5V7h4.5M9 12h6M9 16h6'/%3E%3C/svg%3E"); }
.icon--clock { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='square' stroke-linejoin='miter'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3.5 2'/%3E%3C/svg%3E"); }
.icon--id { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='square' stroke-linejoin='miter'%3E%3Crect x='2.5' y='5' width='19' height='14'/%3E%3Ccircle cx='8.5' cy='11' r='2'/%3E%3Cpath d='M5.5 16c.5-1.5 1.5-2 3-2s2.5.5 3 2M14 10h4.5M14 14h4.5'/%3E%3C/svg%3E"); }
.icon--megaphone { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='square' stroke-linejoin='miter'%3E%3Cpath d='M4 9.5v5h3l8 4.5V5L7 9.5zM7 14.5V20h3v-3.8M18 9.5a3.5 3.5 0 010 5'/%3E%3C/svg%3E"); }
.icon--ballot { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='square' stroke-linejoin='miter'%3E%3Cpath d='M3.5 12.5h17V21h-17z'/%3E%3Cpath d='M8 12.5V4h8v8.5M10.5 8l1.5 1.5 2.5-3M9 16.5h6'/%3E%3C/svg%3E"); }
.icon--broadcast { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='square' stroke-linejoin='miter'%3E%3Ccircle cx='12' cy='12' r='2'/%3E%3Cpath d='M8 8a5.6 5.6 0 000 8M16 8a5.6 5.6 0 010 8M5 5a10 10 0 000 14M19 5a10 10 0 010 14'/%3E%3C/svg%3E"); }
.icon--key { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='square' stroke-linejoin='miter'%3E%3Ccircle cx='8' cy='15.5' r='4.5'/%3E%3Cpath d='M11.5 12.5L20 4M16 8l3 3M14 10l2 2'/%3E%3C/svg%3E"); }
.icon--eye { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='square' stroke-linejoin='miter'%3E%3Cpath d='M2 12s3.5-6.5 10-6.5S22 12 22 12s-3.5 6.5-10 6.5S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='2.8'/%3E%3C/svg%3E"); }
.icon--archive { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='square' stroke-linejoin='miter'%3E%3Crect x='3' y='4' width='18' height='5'/%3E%3Cpath d='M4.5 9v11h15V9M10 13h4'/%3E%3C/svg%3E"); }
.icon--download { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='square' stroke-linejoin='miter'%3E%3Cpath d='M12 3.5v12M7 11l5 5 5-5M4 20.5h16'/%3E%3C/svg%3E"); }
.icon--building { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='square' stroke-linejoin='miter'%3E%3Cpath d='M4 21V3.5h10V21M14 9h6v12M2.5 21h19M7.5 7.5h3M7.5 11.5h3M7.5 15.5h3M17 13v0M17 17v0'/%3E%3C/svg%3E"); }
.icon--heart { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='square' stroke-linejoin='miter'%3E%3Cpath d='M12 20.5S3.5 15 3.5 9a4.5 4.5 0 018.5-2 4.5 4.5 0 018.5 2c0 6-8.5 11.5-8.5 11.5z'/%3E%3C/svg%3E"); }
.icon--clipboard { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='square' stroke-linejoin='miter'%3E%3Crect x='5' y='4.5' width='14' height='17'/%3E%3Crect x='9' y='2.5' width='6' height='4'/%3E%3Cpath d='M8.5 12l1.5 1.5 2.5-3M14.5 12h2M8.5 17h8'/%3E%3C/svg%3E"); }
.icon--search { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='square' stroke-linejoin='miter'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5L21 21'/%3E%3C/svg%3E"); }
.icon--mail { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='square' stroke-linejoin='miter'%3E%3Crect x='3' y='5' width='18' height='14'/%3E%3Cpath d='M3 6l9 7 9-7'/%3E%3C/svg%3E"); }
.icon--merge { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='square' stroke-linejoin='miter'%3E%3Ccircle cx='5.5' cy='5' r='2'/%3E%3Ccircle cx='5.5' cy='19' r='2'/%3E%3Ccircle cx='18.5' cy='12' r='2'/%3E%3Cpath d='M5.5 7v10M5.5 9c0 3 4 3 11 3'/%3E%3C/svg%3E"); }
.icon--home { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='square' stroke-linejoin='miter'%3E%3Cpath d='M3 11l9-7.5 9 7.5M5.5 9.5V20.5h13V9.5M10 20.5v-6h4v6'/%3E%3C/svg%3E"); }
.icon--play { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='square' stroke-linejoin='miter'%3E%3Cpath d='M7 4.5v15l12-7.5z'/%3E%3C/svg%3E"); }
.icon--calendar { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='square' stroke-linejoin='miter'%3E%3Crect x='3.5' y='5' width='17' height='15.5'/%3E%3Cpath d='M3.5 10h17M8 2.5v4M16 2.5v4'/%3E%3C/svg%3E"); }
/* ICONS:END */

/* 11 Hero ------------------------------------------------------------------ */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--nh-line); padding-top: clamp(2.5rem, 1.2rem + 5.5vw, 6rem); }
.hero__grid { display: grid; gap: var(--sp-6); grid-template-columns: minmax(0, 1fr); align-items: center; position: relative; z-index: 1; }
.hero__copy { display: flex; flex-direction: column; gap: var(--sp-5); align-items: flex-start; }
.hero__title .accent { display: inline; }
.hero__proof { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-5); font-family: var(--font-mono); font-size: var(--fs-micro); color: var(--nh-muted); padding-top: var(--sp-2); }
.hero__proof li { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero__proof li::before { content: ""; width: 6px; height: 6px; background: var(--nh-green); border-radius: 50%; }

/* The canvas stage: dots gather into South Africa, then a ward. */
.hero__stage { position: relative; width: 100%; aspect-ratio: 4 / 3; max-height: 30rem; min-width: 0; }
.hero__stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__stage-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.js .hero__stage.is-ready .hero__stage-fallback { visibility: hidden; }
.hero__caption { position: absolute; left: 0; bottom: 0; display: flex; align-items: center; gap: var(--sp-2); font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--nh-muted); }
.hero__caption::before { content: ""; width: 1.5rem; height: 1px; background: var(--nh-teal); }

.hero__film { position: relative; z-index: 1; margin-top: clamp(2rem, 1rem + 4vw, 4.5rem); margin-bottom: calc(-1 * clamp(2rem, 6vw, 6rem)); }
.hero--no-film { padding-bottom: clamp(2.5rem, 1.2rem + 5.5vw, 6rem); }

@media (min-width: 60rem) {
  .hero__grid { grid-template-columns: minmax(0, 11fr) minmax(0, 9fr); gap: var(--sp-7); }
}
@media (max-width: 59.99rem) {
  .hero__stage { aspect-ratio: 16 / 10; max-height: 17rem; }
}

/* Inner-page hero (Platform, Elections, Solutions ...). */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(3rem, 2rem + 5vw, 6.5rem) clamp(2.5rem, 2rem + 3vw, 5rem); border-bottom: 1px solid var(--nh-line); }
.page-hero__inner { position: relative; z-index: 1; display: flex; flex-direction: column; gap: var(--sp-5); align-items: flex-start; max-width: 50rem; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 0.5rem; font-family: var(--font-mono); font-size: var(--fs-micro); color: var(--nh-faint); }
.breadcrumb a { color: var(--nh-muted); text-decoration: none; } .breadcrumb a:hover { color: var(--nh-ink); }
.breadcrumb li + li::before { content: "/"; margin-right: 0.5rem; color: var(--nh-dim); }

/* 12 Proof-number strip ---------------------------------------------------- */
.proof-strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--nh-panel); border: 1px solid var(--nh-panel); }
.proof { display: flex; flex-direction: column; gap: var(--sp-2); padding: clamp(1.125rem, 0.8rem + 1.4vw, 2rem); background: var(--nh-night); min-width: 0; }
.proof__figure { font-family: var(--font-mono); font-weight: 500; font-size: var(--fs-figure); line-height: 1; letter-spacing: -0.03em; color: var(--nh-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.proof__figure small { font-size: 0.5em; color: var(--nh-teal); letter-spacing: 0; }
.proof__label { font-size: var(--fs-small); color: var(--nh-body); line-height: 1.4; }
.proof__source { font-family: var(--font-mono); font-size: 0.75rem; color: var(--nh-faint); }
.proof--teal .proof__figure { color: var(--nh-teal); } .proof--green .proof__figure { color: var(--nh-green); }
.proof--yellow .proof__figure { color: var(--nh-yellow); } .proof--blue .proof__figure { color: var(--nh-blue); }
.proof-strip__note { margin-top: var(--sp-3); font-family: var(--font-mono); font-size: 0.75rem; color: var(--nh-faint); }
@media (min-width: 60rem) { .proof-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); } .proof-strip--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 22.5rem) { .proof__figure { font-size: 2rem; } }

/* 13 Feature sections, problems, lists ------------------------------------- */
.feature-list { display: flex; flex-direction: column; gap: var(--sp-3); }
.feature-list li { display: grid; grid-template-columns: 1.25rem minmax(0, 1fr); gap: var(--sp-3); align-items: start; color: var(--nh-body); }
.feature-list li::before { content: ""; width: 0.5rem; height: 0.5rem; margin-top: 0.6em; background: var(--nh-green); justify-self: center; }
.feature-list--teal li::before { background: var(--nh-teal); } .feature-list--yellow li::before { background: var(--nh-yellow); } .feature-list--blue li::before { background: var(--nh-blue); }

/* Module row for Platform / Elections: repeated .split with a rule between. */
.feature + .feature { margin-top: var(--section-y); padding-top: var(--section-y); border-top: 1px solid var(--nh-line); }

/* Problem card: the pain in muted text, the NextHub line in white. */
.problem { display: flex; flex-direction: column; gap: var(--sp-4); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); background: var(--nh-night); min-width: 0; }
.problem__pain { font-size: 1rem; color: var(--nh-muted); padding-left: var(--sp-4); border-left: 1px solid var(--nh-dim); }
.problem__line { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.375rem, 1.2rem + 0.9vw, 1.875rem); line-height: 1.15; letter-spacing: -0.015em; color: var(--nh-ink); }
.problem__fix { color: var(--nh-body); font-size: 1rem; }

/* 14 Steps (Capture / Verify / Command), markets --------------------------- */
.steps { display: grid; gap: var(--section-y); counter-reset: step; }
.step { display: grid; gap: clamp(1.5rem, 1rem + 3vw, 4rem); align-items: center; grid-template-columns: minmax(0, 1fr); }
.step__text { display: flex; flex-direction: column; gap: var(--sp-4); align-items: flex-start; }
.step__num { display: inline-flex; align-items: center; gap: var(--sp-3); font-family: var(--font-mono); font-size: var(--fs-micro); letter-spacing: 0.16em; text-transform: uppercase; color: var(--nh-teal); }
.step__num::before { counter-increment: step; content: "0" counter(step); display: inline-flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; border: 1px solid currentColor; font-size: 0.9375rem; letter-spacing: 0; }
.step:nth-child(2) .step__num { color: var(--nh-green); } .step:nth-child(3) .step__num { color: var(--nh-yellow); }
.step__media { min-width: 0; display: flex; justify-content: center; }
@media (min-width: 60rem) {
  .step { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .step:nth-child(even) .step__text { order: 2; }
}

.steps-rail { display: grid; gap: 1px; background: var(--nh-panel); border: 1px solid var(--nh-panel); grid-template-columns: minmax(0, 1fr); }
.steps-rail > * { background: var(--nh-night); padding: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-2); }
@media (min-width: 48rem) { .steps-rail { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.market { display: flex; flex-direction: column; gap: var(--sp-3); padding: var(--sp-5); background: var(--nh-night); min-width: 0; position: relative; transition: background-color var(--t-fast); }
.market:hover { background: var(--nh-surface); }
.market__title { font-family: var(--font-display); font-weight: 500; font-size: 1.1875rem; color: var(--nh-ink); line-height: 1.3; }
.market__text { font-size: var(--fs-small); color: var(--nh-body); }
.market__tag { position: absolute; top: var(--sp-5); right: var(--sp-5); }
.market--flagship { background: var(--nh-surface); box-shadow: inset 0 2px 0 var(--nh-blue); }

/* 15 Comparison table ------------------------------------------------------ */
.compare-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--nh-panel); }
.compare-wrap:focus-visible { outline-offset: 2px; }
.compare { min-width: 40rem; font-size: var(--fs-small); }
.compare caption { text-align: left; padding: var(--sp-4); color: var(--nh-muted); caption-side: bottom; font-size: var(--fs-micro); border-top: 1px solid var(--nh-panel); }
.compare th, .compare td { padding: 0.875rem 1rem; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--nh-line); }
.compare thead th { font-family: var(--font-mono); font-size: var(--fs-micro); font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--nh-muted); background: var(--nh-surface); border-bottom: 1px solid var(--nh-panel); }
.compare tbody th { font-weight: 500; color: var(--nh-ink); width: 34%; }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare .is-us { background: rgba(26, 160, 240, 0.07); color: var(--nh-ink); }
.compare thead .is-us { color: var(--nh-blue); box-shadow: inset 0 2px 0 var(--nh-blue); }
.yes, .no, .part { display: inline-flex; align-items: center; gap: 0.5rem; }
.yes::before, .no::before, .part::before { content: ""; width: 0.625rem; height: 0.625rem; flex-shrink: 0; }
.yes::before { background: var(--nh-green); }
.no::before { border: 1px solid var(--nh-faint); }
.part::before { background: linear-gradient(90deg, var(--nh-yellow) 50%, transparent 50%); border: 1px solid var(--nh-yellow); }
.no { color: var(--nh-muted); }

/* 16 Pricing --------------------------------------------------------------- */
.pricing { display: grid; gap: var(--sp-5); grid-template-columns: minmax(0, 1fr); align-items: stretch; }
@media (min-width: 60rem) { .pricing { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.price-card { display: flex; flex-direction: column; gap: var(--sp-5); padding: clamp(1.5rem, 1rem + 1.6vw, 2.25rem); background: var(--nh-surface); border: 1px solid var(--nh-panel); position: relative; min-width: 0; }
.price-card--featured { border-color: var(--nh-blue); box-shadow: inset 0 3px 0 var(--nh-blue); }
.price-card__flag { position: absolute; top: 0; right: var(--sp-5); transform: translateY(-50%); padding: 0.25rem 0.625rem; background: var(--nh-blue); color: var(--nh-night); font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; }
.price-card__name { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-h3); color: var(--nh-ink); }
.price-card__for { color: var(--nh-muted); font-size: var(--fs-small); min-height: 2.8em; }
.price-card__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.375rem; font-family: var(--font-mono); color: var(--nh-ink); }
.price-card__amount { font-size: clamp(2rem, 1.6rem + 1.6vw, 2.75rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1; }
.price-card__unit { font-size: var(--fs-small); color: var(--nh-muted); }
.price-card__alt { font-family: var(--font-mono); font-size: var(--fs-micro); color: var(--nh-faint); }
.price-card .btn { margin-top: auto; }
.price-toggle { display: inline-flex; border: 1px solid var(--nh-panel); }
.price-toggle button { min-height: 2.75rem; padding: 0 1rem; background: var(--nh-night); border: 0; color: var(--nh-muted); font-size: var(--fs-small); font-weight: 500; }
.price-toggle button[aria-pressed="true"] { background: var(--nh-blue); color: var(--nh-night); }

/* 17 FAQ accordion --------------------------------------------------------- */
.faq { border-top: 1px solid var(--nh-panel); }
.faq__item { border-bottom: 1px solid var(--nh-panel); }
.faq__q { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); width: 100%; min-height: 4rem; padding: var(--sp-4) 0; background: none; border: 0; text-align: left; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem); line-height: 1.35; color: var(--nh-ink); }
.faq__q:hover { color: var(--nh-blue-hover); }
.faq__icon { position: relative; width: 1.5rem; height: 1.5rem; flex-shrink: 0; border: 1px solid var(--nh-control); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 0.625rem; height: 1.5px; background: var(--nh-ink); transform: translate(-50%, -50%); transition: transform var(--t-med) var(--ease); }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__q[aria-expanded="true"] .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__q[aria-expanded="true"] .faq__icon { border-color: var(--nh-blue); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--t-med) var(--ease); }
.faq__a > div { overflow: hidden; min-height: 0; visibility: hidden; transition: visibility 0s var(--t-med); }
.faq__a > div > * { max-width: 44rem; padding-bottom: var(--sp-5); color: var(--nh-body); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__item.is-open .faq__a > div { visibility: visible; transition-delay: 0s; }
/* Without JS every answer is open and readable. */
html:not(.js) .faq__a { grid-template-rows: 1fr; } html:not(.js) .faq__a > div { visibility: visible; } html:not(.js) .faq__icon { display: none; }

/* 18 Forms ----------------------------------------------------------------- */
.form { display: grid; gap: var(--sp-5); }
.form__row { display: grid; gap: var(--sp-5); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 40rem) { .form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.form-card { padding: clamp(1.25rem, 0.8rem + 2vw, 2.5rem); background: var(--nh-surface); border: 1px solid var(--nh-panel); }
.field { display: flex; flex-direction: column; gap: var(--sp-2); min-width: 0; }
.label { font-size: var(--fs-small); font-weight: 500; color: var(--nh-ink); }
.label__opt { font-weight: 400; color: var(--nh-muted); }
.input, .select, .textarea {
  width: 100%; min-height: 3rem; padding: 0.75rem 0.875rem; border-radius: 0;
  background: var(--nh-night); border: 1px solid var(--nh-control); color: var(--nh-ink);
  font-size: 1rem; /* 16px minimum stops iOS zooming on focus */ line-height: 1.4;
  transition: border-color var(--t-fast), box-shadow var(--t-fast); -webkit-appearance: none; appearance: none;
}
.textarea { min-height: 7.5rem; resize: vertical; }
.select { padding-right: 2.5rem; background-image: linear-gradient(45deg, transparent 50%, var(--nh-ink) 50%), linear-gradient(135deg, var(--nh-ink) 50%, transparent 50%); background-position: calc(100% - 1.125rem) 55%, calc(100% - 0.8125rem) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.input::placeholder, .textarea::placeholder { color: var(--nh-faint); opacity: 1; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--nh-muted); }
.input:focus-visible, .select:focus-visible, .textarea:focus-visible { outline: 2px solid var(--nh-yellow); outline-offset: 2px; border-color: var(--nh-ink); }
.input[disabled], .select[disabled], .textarea[disabled] { background: var(--nh-surface); border-color: var(--nh-panel); color: var(--nh-faint); cursor: not-allowed; }
.field__hint { font-size: var(--fs-micro); color: var(--nh-muted); }
.field__error { display: none; font-size: var(--fs-micro); color: var(--nh-red); font-weight: 500; }
.field.is-invalid .input, .field.is-invalid .select, .field.is-invalid .textarea, .input[aria-invalid="true"] { border-color: var(--nh-red); box-shadow: inset 3px 0 0 var(--nh-red); }
.field.is-invalid .field__error { display: block; }
.field.is-valid .input { border-color: var(--nh-green); box-shadow: inset 3px 0 0 var(--nh-green); }
.check { display: grid; grid-template-columns: 1.5rem minmax(0, 1fr); gap: var(--sp-3); align-items: start; font-size: var(--fs-small); color: var(--nh-body); cursor: pointer; }
.check input { -webkit-appearance: none; appearance: none; width: 1.5rem; height: 1.5rem; margin: 0; background: var(--nh-night); border: 1px solid var(--nh-control); display: grid; place-content: center; cursor: pointer; }
.check input[type="radio"] { border-radius: 50%; }
.check input::after { content: ""; width: 0.75rem; height: 0.75rem; background: var(--nh-blue); transform: scale(0); transition: transform var(--t-fast); }
.check input[type="radio"]::after { border-radius: 50%; }
.check input:checked { border-color: var(--nh-blue); } .check input:checked::after { transform: scale(1); }
.form-status { display: none; padding: var(--sp-4); border: 1px solid; font-size: var(--fs-small); }
.form-status.is-success { display: block; border-color: var(--nh-green); color: var(--nh-ink); box-shadow: inset 3px 0 0 var(--nh-green); }
.form-status.is-error { display: block; border-color: var(--nh-red); color: var(--nh-ink); box-shadow: inset 3px 0 0 var(--nh-red); }
.form__legal { font-size: var(--fs-micro); color: var(--nh-muted); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; } /* spam honeypot */

/* 19 Badge row (security and POPIA) ---------------------------------------- */
.badge-row { display: grid; gap: 1px; background: var(--nh-panel); border: 1px solid var(--nh-panel); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.badge { display: flex; flex-direction: column; gap: var(--sp-3); padding: var(--sp-5) var(--sp-4); background: var(--nh-night); min-width: 0; color: var(--nh-teal); }
.badge__title { font-weight: 600; font-size: var(--fs-small); line-height: 1.3; color: var(--nh-ink); }
.badge__text { font-size: var(--fs-micro); color: var(--nh-muted); line-height: 1.45; }
@media (min-width: 40rem) { .badge-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 68.75rem) { .badge-row { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

/* 20 Case study block, quote ----------------------------------------------- */
.case { display: grid; grid-template-columns: minmax(0, 1fr); border: 1px solid var(--nh-panel); background: var(--nh-surface); }
.case__body { display: flex; flex-direction: column; gap: var(--sp-5); align-items: flex-start; padding: clamp(1.5rem, 1rem + 3vw, 3.5rem); min-width: 0; }
.case__stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--nh-panel); border-top: 1px solid var(--nh-panel); }
.case__stat { display: flex; flex-direction: column; gap: var(--sp-2); padding: clamp(1.125rem, 0.8rem + 1.5vw, 2rem); background: var(--nh-night); min-width: 0; }
.case__stat .figure { font-size: clamp(1.625rem, 1.3rem + 1.6vw, 2.5rem); }
.case__stat span:last-child { font-size: var(--fs-small); color: var(--nh-body); line-height: 1.4; }
.case__meta { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
@media (min-width: 60rem) {
  .case { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .case__stats { border-top: 0; border-left: 1px solid var(--nh-panel); }
}
.quote { display: flex; flex-direction: column; gap: var(--sp-4); padding-left: var(--sp-5); border-left: 2px solid var(--nh-teal); }
.quote__text { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.125rem, 1rem + 0.7vw, 1.5rem); line-height: 1.4; color: var(--nh-ink); }
.quote__by { font-family: var(--font-mono); font-size: var(--fs-micro); color: var(--nh-muted); letter-spacing: 0.06em; }
.quote--placeholder .quote__text { color: var(--nh-faint); font-style: italic; }

/* 21 CTA band (every page ends with this) ---------------------------------- */
.cta-band { position: relative; overflow: hidden; border-top: 1px solid var(--nh-line); background: var(--nh-surface-2); }
.cta-band__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--sp-5); padding-block: var(--section-y); }
.cta-band__inner .lead { margin-inline: auto; }

/* 22 "Single source of truth" flow ----------------------------------------- */
.flow { display: grid; gap: 0; grid-template-columns: minmax(0, 1fr); align-items: center; }
.flow__sources { display: grid; gap: var(--sp-3); }
.flow__card { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); padding: 0.875rem 1rem; background: var(--nh-night); border: 1px solid var(--nh-panel); font-family: var(--font-mono); font-size: var(--fs-micro); color: var(--nh-body); transition: border-color var(--t-med), transform var(--t-med) var(--ease); min-width: 0; }
.flow__card > span:first-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.flow__card b { font-family: var(--font-text); font-size: var(--fs-small); font-weight: 500; color: var(--nh-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.flow__card.is-firing { border-color: var(--nh-yellow); transform: translateX(4px); }
.flow__link { position: relative; justify-self: center; width: 1px; height: 3rem; background: var(--nh-panel); }
.flow__pulse { position: absolute; left: -4px; top: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--nh-yellow); opacity: 0; }
.flow__link--out .flow__pulse { background: var(--nh-blue); }
.flow__link.is-firing .flow__pulse { animation: nh-flow-y 0.8s var(--ease) both; }
.flow__db { text-align: left; }
.flow__db > div { display: flex; flex-direction: column; gap: var(--sp-3); padding: var(--sp-5); }
.flow__db .figure { font-size: clamp(2rem, 1.6rem + 1.6vw, 2.75rem); }
.flow__db.is-firing { animation: nh-bump 0.5s var(--ease); }
.flow__cc { display: flex; flex-direction: column; gap: var(--sp-3); padding: var(--sp-5); background: var(--nh-night); border: 1px solid var(--nh-panel); min-width: 0; }
.flow__cc .figure { font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem); }
.flow__rows { display: grid; gap: var(--sp-2); font-family: var(--font-mono); font-size: 0.75rem; color: var(--nh-muted); }
.flow__rows div { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr) 2.5rem; gap: var(--sp-2); align-items: center; }
.flow__rows div > :last-child { text-align: right; color: var(--nh-ink); }
.bar { height: 6px; background: var(--nh-panel); }
.bar > span { display: block; height: 100%; width: var(--v, 50%); background: var(--nh-blue); transition: width 0.6s var(--ease); }
.bar--green > span { background: var(--nh-green); } .bar--teal > span { background: var(--nh-teal); } .bar--yellow > span { background: var(--nh-yellow); }
@media (min-width: 60rem) {
  .flow { grid-template-columns: minmax(0, 5fr) 4rem minmax(0, 4fr) 4rem minmax(0, 5fr); }
  .flow__link { width: 100%; height: 1px; }
  .flow__pulse { left: 0; top: -4px; }
  .flow__link.is-firing .flow__pulse { animation-name: nh-flow-x; }
  .flow__card.is-firing { transform: translateX(6px); }
}

/* 23 Device frames --------------------------------------------------------- */
/* Browser frame: square, 1px line, mono address bar. Put an <img>, <video>
   or an HTML mock-up inside .frame-browser__screen. */
.frame-browser { border: 1px solid var(--nh-panel); background: var(--nh-surface); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.02); min-width: 0; }
.frame-browser__bar { display: flex; align-items: center; gap: var(--sp-3); padding: 0.5rem 0.75rem; border-bottom: 1px solid var(--nh-panel); }
.frame-browser__dots { display: flex; gap: 5px; }
.frame-browser__dots i { width: 8px; height: 8px; border: 1px solid var(--nh-dim); display: block; }
.frame-browser__url { flex: 1; min-width: 0; padding: 0.2rem 0.6rem; background: var(--nh-night); border: 1px solid var(--nh-line); font-family: var(--font-mono); font-size: 0.6875rem; color: var(--nh-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.frame-browser__screen { position: relative; background: var(--nh-night); overflow: hidden; container-type: inline-size; }
.frame-browser__screen > img, .frame-browser__screen > video { width: 100%; }
.frame-browser--glow { box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.9), 0 0 120px -30px rgba(32, 183, 196, 0.25); }

/* Phone frame: the one place a radius is allowed, because it depicts hardware. */
.frame-phone { position: relative; width: min(100%, 18.5rem); padding: 0.5rem; background: #0B0D10; border: 1px solid var(--nh-panel); border-radius: 2.25rem; box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.9), inset 0 0 0 1px rgba(255, 255, 255, 0.03); flex-shrink: 0; }
.frame-phone::before { content: ""; position: absolute; top: 0.95rem; left: 50%; transform: translateX(-50%); width: 3.5rem; height: 0.3rem; background: var(--nh-panel); border-radius: 1rem; z-index: 2; }
.frame-phone__screen { position: relative; aspect-ratio: 9 / 18.5; background: var(--nh-night); border-radius: 1.8rem; overflow: hidden; container-type: inline-size; }
.frame-phone__screen > img, .frame-phone__screen > video { width: 100%; height: 100%; object-fit: cover; }
.frame-phone--sm { width: min(100%, 14rem); }

/* Phone overlapping a browser frame. */
.device-pair { position: relative; padding-bottom: 8%; padding-right: 4%; }
.device-pair .frame-phone { position: absolute; right: 0; bottom: 0; width: 26%; min-width: 7.5rem; }

/* Slight 3D tilt on hover (pointer devices only; JS adds pointer tracking). */
.tilt-wrap { perspective: 1400px; }
.tilt { transition: transform var(--t-slow) var(--ease); transform-style: preserve-3d; will-change: transform; }
@media (hover: hover) and (pointer: fine) { .tilt:hover { transform: rotateX(var(--rx, 2deg)) rotateY(var(--ry, -3deg)) translateY(-4px); } }

/* 24 Product mock-ups (HTML, fictional demo data only) --------------------- */
/* All sizes are in em and the base size follows the frame width (cqw), so a
   mock-up scales like a screenshot but stays sharp and weighs almost nothing. */
.mock { font-family: var(--font-text); color: var(--nh-ink); line-height: 1.3; text-align: left; font-size: 1.6vw; font-size: 1cqw; }
.mock * { min-width: 0; }
.mock-demo-tag { position: absolute; right: 1em; bottom: 1em; z-index: 3; padding: 0.3em 0.7em; background: var(--nh-yellow); color: var(--nh-night); font-family: var(--font-mono); font-size: 0.85em; font-weight: 500; letter-spacing: 0.1em; }

/* Command Centre (browser) */
.cc { display: grid; grid-template-columns: 17em minmax(0, 1fr); aspect-ratio: 16 / 9.6; background: var(--nh-night); }
.cc__side { display: flex; flex-direction: column; border-right: 1px solid var(--nh-panel); overflow: hidden; }
.cc__brand { display: flex; align-items: center; gap: 0.8em; padding: 1.1em 1.1em 1em; }
.cc__brand img { width: 2.6em; height: 2.6em; }
.cc__brand b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.25em; line-height: 1.1; }
.cc__brand span { font-family: var(--font-mono); font-size: 0.72em; letter-spacing: 0.14em; color: var(--nh-muted); }
.cc__capture { margin: 1.1em; padding: 0.85em; background: var(--nh-blue); color: var(--nh-night); font-weight: 600; font-size: 1.05em; text-align: center; }
.cc__group { padding: 0.7em 1.1em 0.3em; font-family: var(--font-mono); font-size: 0.72em; letter-spacing: 0.16em; text-transform: uppercase; }
.cc__item { display: flex; align-items: center; gap: 0.7em; padding: 0.55em 1.1em; font-size: 0.98em; color: var(--nh-muted); }
.cc__item::before { content: ""; width: 0.9em; height: 0.9em; border: 1px solid currentColor; flex-shrink: 0; }
.cc__item.is-on { color: var(--nh-ink); background: var(--nh-surface); box-shadow: inset 2px 0 0 var(--nh-blue); }
.cc__main { display: flex; flex-direction: column; gap: 1.1em; padding: 1.4em 1.6em; overflow: hidden; }
.cc__top { display: flex; align-items: center; justify-content: space-between; gap: 1em; }
.cc__title { font-family: var(--font-display); font-weight: 600; font-size: 1.6em; line-height: 1.1; }
.cc__crumbs { display: flex; flex-wrap: wrap; gap: 0.5em; font-family: var(--font-mono); font-size: 0.8em; color: var(--nh-faint); margin-top: 0.4em; }
.cc__crumbs b { color: var(--nh-teal); font-weight: 500; }
.cc__chips { display: flex; gap: 0.6em; flex-shrink: 0; }
.mock .chip { font-size: 0.78em; padding: 0.35em 0.7em; border-radius: 0.3em; gap: 0.5em; }
.mock .chip__dot { width: 0.6em; height: 0.6em; }
.cc__total { display: flex; align-items: center; justify-content: space-between; gap: 1em; padding: 1.1em 1.3em; border: 1px solid var(--nh-panel); background-color: var(--nh-surface); background-image: radial-gradient(circle, rgba(32, 183, 196, 0.18) 0.1em, transparent 0.14em); background-size: 1.2em 1.2em; }
.cc__total .figure { font-size: 3em; }
.cc__label { font-family: var(--font-mono); font-size: 0.74em; letter-spacing: 0.14em; text-transform: uppercase; color: var(--nh-muted); }
.cc__split { font-size: 0.82em; color: var(--nh-muted); margin-top: 0.5em; }
.cc__split b { color: var(--nh-green); } .cc__split i { color: var(--nh-blue); font-style: normal; font-weight: 600; }
.cc__tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0.8em; }
.cc__tile { display: flex; flex-direction: column; gap: 0.6em; padding: 0.9em; border: 1px solid var(--nh-panel); background: var(--nh-surface); }
.cc__tile .figure { font-size: 1.55em; }
.cc__tile .cc__label { font-size: 0.64em; letter-spacing: 0.08em; }
.cc__tile i { width: 1.6em; height: 1.6em; border: 1px solid var(--c, var(--nh-teal)); display: block; position: relative; }
.cc__tile i::after { content: ""; position: absolute; inset: 0.4em; background: var(--c, var(--nh-teal)); }
.cc__panels { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1fr); gap: 0.8em; flex: 1; min-height: 0; }
.cc__panel { display: flex; flex-direction: column; gap: 0.75em; padding: 1em; border: 1px solid var(--nh-panel); background: var(--nh-surface); overflow: hidden; }
.cc__panel h5 { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 1.05em; display: flex; justify-content: space-between; align-items: center; gap: 0.5em; }
.cc__row { display: grid; grid-template-columns: 8.2em minmax(0, 1fr) 3.4em; gap: 0.7em; align-items: center; font-size: 0.84em; color: var(--nh-body); }
.cc__row > :last-child { font-family: var(--font-mono); text-align: right; color: var(--nh-ink); }
.cc__row .bar { height: 0.5em; }
.cc__rank { display: grid; grid-template-columns: 1.6em minmax(0, 1fr) auto; gap: 0.6em; align-items: center; font-size: 0.84em; color: var(--nh-body); padding-bottom: 0.55em; border-bottom: 1px solid var(--nh-line); }
.cc__rank > :first-child { font-family: var(--font-mono); color: var(--nh-faint); }
.cc__rank > :last-child { font-family: var(--font-mono); color: var(--nh-ink); }
.cc__rank small { display: block; font-size: 0.82em; color: var(--nh-faint); }
.cc__feed { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.2em 0.7em; font-size: 0.82em; color: var(--nh-body); padding-bottom: 0.55em; border-bottom: 1px solid var(--nh-line); }
.cc__feed time { font-family: var(--font-mono); color: var(--nh-faint); }
.cc__feed em { font-style: normal; color: var(--nh-green); } .cc__feed em.q { color: var(--nh-yellow); }
.cc__map { position: relative; flex: 1; min-height: 6em; background: url("../img/sa-dots.svg") center / contain no-repeat; }

/* Narrow frames (phones): drop the sidebar, keep the headline numbers. */
@container (max-width: 560px) {
  .cc { grid-template-columns: minmax(0, 1fr); aspect-ratio: auto; font-size: 2.55cqw; }
  .cc__side { display: none; }
  .cc__tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cc__panels { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .cc__panels > :nth-child(3) { display: none; }
  .cc__chips .chip:nth-child(n+2) { display: none; }
}

/* Field app (phone). Base size: 100cqw = 26em. */
.fa { position: absolute; inset: 0; display: flex; flex-direction: column; background: var(--nh-night); font-size: 5vw; font-size: 3.85cqw; }
.fa__status { display: flex; justify-content: space-between; padding: 2.4em 1.3em 0.5em; font-family: var(--font-mono); font-size: 0.72em; color: var(--nh-muted); }
.fa__head { display: flex; align-items: center; justify-content: space-between; gap: 0.6em; padding: 0.5em 1.1em 0.8em; }
.fa__head b { font-family: var(--font-display); font-weight: 600; font-size: 1.2em; }
.fa__head small { display: block; font-family: var(--font-mono); font-size: 0.66em; letter-spacing: 0.12em; color: var(--nh-teal); text-transform: uppercase; }
.fa__banner { display: flex; align-items: center; justify-content: space-between; gap: 0.6em; margin: 0.7em 1.1em 0; padding: 0.6em 0.8em; border: 1px solid var(--nh-yellow); color: var(--nh-yellow); font-family: var(--font-mono); font-size: 0.72em; }
.fa__banner--ok { border-color: var(--nh-green); color: var(--nh-green); }
.fa__body { display: flex; flex-direction: column; gap: 0.75em; padding: 0.9em 1.1em; flex: 1; overflow: hidden; }
.fa__field { display: flex; flex-direction: column; gap: 0.3em; }
.fa__field label, .fa__k { font-family: var(--font-mono); font-size: 0.62em; letter-spacing: 0.12em; text-transform: uppercase; color: var(--nh-muted); }
.fa__input { padding: 0.65em 0.75em; border: 1px solid var(--nh-panel); background: var(--nh-surface); font-size: 0.92em; display: flex; justify-content: space-between; align-items: center; gap: 0.5em; white-space: nowrap; }
.fa__input.is-focus { border-color: var(--nh-blue); }
.fa__input .caret { width: 1px; height: 1.1em; background: var(--nh-blue); animation: nh-blink 1.1s steps(2) infinite; margin-left: 1px; }
.fa__iec { display: flex; flex-direction: column; gap: 0.35em; padding: 0.7em 0.8em; border: 1px solid var(--nh-green); background: rgba(92, 195, 74, 0.08); font-size: 0.8em; color: var(--nh-body); }
.fa__iec b { display: flex; align-items: center; gap: 0.5em; color: var(--nh-green); font-size: 1.05em; }
.fa__iec b::before { content: ""; width: 0.7em; height: 0.7em; background: var(--nh-green); }
.fa__two { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6em; }
.fa__btn { margin: 0 1.1em 1.4em; padding: 0.9em; background: var(--nh-blue); color: var(--nh-night); font-weight: 600; text-align: center; font-size: 0.95em; }
.fa__btn--green { background: var(--nh-green); }
.fa__q { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.2em 0.6em; padding: 0.65em 0.75em; border: 1px solid var(--nh-panel); background: var(--nh-surface); font-size: 0.86em; }
.fa__q small { grid-column: 1; font-family: var(--font-mono); font-size: 0.74em; color: var(--nh-faint); }
.fa__q em { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-style: normal; font-family: var(--font-mono); font-size: 0.74em; color: var(--nh-yellow); }
.fa__q em.ok { color: var(--nh-green); }
.fa__stat { display: flex; align-items: baseline; justify-content: space-between; padding: 0.8em; border: 1px solid var(--nh-panel); background-color: var(--nh-surface); }
.fa__stat .figure { font-size: 2em; }

/* Duplicate merge card (data quality) and election-day card. */
.dq { display: grid; gap: 1em; padding: 1.6em; font-size: 1.6vw; font-size: 1.9cqw; aspect-ratio: 16 / 9.6; align-content: center; grid-template-columns: minmax(0, 1fr) 5em minmax(0, 1fr); align-items: center; }
.dq__col { display: grid; gap: 0.7em; }
.dq__rec { padding: 0.9em 1em; border: 1px solid var(--nh-panel); background: var(--nh-surface); display: grid; gap: 0.25em; }
.dq__rec b { font-size: 1.05em; font-weight: 500; }
.dq__rec span { font-family: var(--font-mono); font-size: 0.74em; color: var(--nh-muted); }
.dq__rec--dup { border-color: var(--nh-yellow); }
.dq__rec--one { border-color: var(--nh-green); padding: 1.3em; }
.dq__arrow { text-align: center; font-family: var(--font-mono); color: var(--nh-teal); font-size: 0.8em; letter-spacing: 0.1em; }
.dq__arrow::after { content: "\2192"; display: block; font-size: 2.4em; }
@container (max-width: 560px) { .dq { font-size: 2.9cqw; grid-template-columns: minmax(0, 1fr); aspect-ratio: auto; } .dq__arrow::after { content: "\2193"; } }

.ed { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 1em; padding: 1.6em; font-size: 1.6vw; font-size: 1.5cqw; aspect-ratio: 16 / 9.6; }
.ed__bars { display: flex; align-items: flex-end; gap: 0.5em; flex: 1; min-height: 8em; padding-top: 0.5em; border-bottom: 1px solid var(--nh-panel); }
.ed__bars i { flex: 1; height: var(--h); background: var(--nh-teal); display: block; }
.ed__bars i.now { background: var(--nh-yellow); }
.ed__axis { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 0.72em; color: var(--nh-faint); }
@container (max-width: 560px) { .ed { font-size: 2.7cqw; grid-template-columns: minmax(0, 1fr); aspect-ratio: auto; } }

/* 25 Media + video --------------------------------------------------------- */
.media { position: relative; border: 1px solid var(--nh-panel); background: var(--nh-surface); overflow: hidden; }
.media > img, .media > video { width: 100%; height: 100%; object-fit: cover; }
.media--16x9 { aspect-ratio: 16 / 9; } .media--4x3 { aspect-ratio: 4 / 3; } .media--1x1 { aspect-ratio: 1; }
.media__caption { margin-top: var(--sp-3); font-family: var(--font-mono); font-size: var(--fs-micro); color: var(--nh-faint); }

/* Video facade: a poster and a play button. site.js swaps in the <video>
   only when pressed (or when in view for [data-autoplay] silent loops). */
.video { position: relative; aspect-ratio: 16 / 9; background: var(--nh-night); overflow: hidden; }
.video > img, .video > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video__play { position: absolute; inset: 0; margin: auto; width: 4.5rem; height: 4.5rem; background: var(--nh-blue); border: 0; display: grid; place-content: center; transition: transform var(--t-fast), background-color var(--t-fast); }
.video__play::before { content: ""; border-left: 1.1rem solid var(--nh-night); border-block: 0.7rem solid transparent; margin-left: 0.25rem; }
.video__play:hover { background: var(--nh-blue-hover); transform: scale(1.05); }
.video__meta { position: absolute; left: var(--sp-3); bottom: var(--sp-3); }
.video__pause { position: absolute; right: var(--sp-3); bottom: var(--sp-3); min-width: 2.75rem; min-height: 2.75rem; background: rgba(5, 6, 7, 0.8); border: 1px solid var(--nh-control); color: var(--nh-ink); font-family: var(--font-mono); font-size: 0.75rem; }

/* 26 Motion hooks ---------------------------------------------------------- */
/* Scroll reveal: only hidden when JS is running (html.js). */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal--delay-1 { transition-delay: 90ms; } .js .reveal--delay-2 { transition-delay: 180ms; } .js .reveal--delay-3 { transition-delay: 270ms; }
/* Headline settles in on load. */
.js .settle { animation: nh-settle 0.9s var(--ease) both; }
.js .settle--2 { animation-delay: 0.12s; } .js .settle--3 { animation-delay: 0.24s; } .js .settle--4 { animation-delay: 0.36s; }

@keyframes nh-settle { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes nh-spin { to { transform: rotate(360deg); } }
@keyframes nh-blink { 50% { opacity: 0.25; } }
@keyframes nh-bump { 40% { transform: scale(1.025); } }
@keyframes nh-flow-x { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - 9px); opacity: 0; } }
@keyframes nh-flow-y { 0% { top: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { top: calc(100% - 9px); opacity: 0; } }

/* Reduced motion: everything is visible at once and nothing moves. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .tilt:hover { transform: none; }
  .chip--live .chip__dot, .fa__input .caret { animation: none; }
  .flow__pulse { display: none; }
}

/* 27 Utilities ------------------------------------------------------------- */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.u-center { text-align: center; } .u-left { text-align: left; }
.u-mx-auto { margin-inline: auto; }
.u-ink { color: var(--nh-ink); } .u-body { color: var(--nh-body); } .u-muted { color: var(--nh-muted); } .u-faint { color: var(--nh-faint); }
.u-teal { color: var(--nh-teal); } .u-green { color: var(--nh-green); } .u-yellow { color: var(--nh-yellow); } .u-blue { color: var(--nh-blue); } .u-red { color: var(--nh-red); }
.u-mono { font-family: var(--font-mono); } .u-nowrap { white-space: nowrap; }
.u-mt-0 { margin-top: 0; } .u-mt-2 { margin-top: var(--sp-2); } .u-mt-4 { margin-top: var(--sp-4); } .u-mt-5 { margin-top: var(--sp-5); } .u-mt-6 { margin-top: var(--sp-6); } .u-mt-7 { margin-top: var(--sp-7); } .u-mt-8 { margin-top: var(--sp-8); }
.u-mb-0 { margin-bottom: 0; } .u-mb-4 { margin-bottom: var(--sp-4); } .u-mb-6 { margin-bottom: var(--sp-6); }
.u-max-prose { max-width: var(--w-prose); } .u-full { width: 100%; }
.u-hide-mobile { display: none; } @media (min-width: 60rem) { .u-hide-mobile { display: revert; } .u-hide-desktop { display: none; } }
.u-border { border: 1px solid var(--nh-panel); } .u-surface { background: var(--nh-surface); }
.u-flex { display: flex; } .u-between { justify-content: space-between; } .u-items-center { align-items: center; } .u-gap-3 { gap: var(--sp-3); } .u-wrap { flex-wrap: wrap; }

/* 28 Draft flags, print ---------------------------------------------------- */
/* Add class="is-draft" to <html> while copy is unapproved. Anything marked
   data-pending="..." gets a yellow outline and label. Remove the class (or
   the attributes) before going live. */
.is-draft [data-pending] { outline: 1px dashed var(--nh-yellow); outline-offset: 4px; position: relative; }
.is-draft [data-pending]::after { content: "PENDING: " attr(data-pending); position: absolute; top: -0.6rem; right: 0.5rem; z-index: 5; padding: 0 0.375rem; background: var(--nh-yellow); color: var(--nh-night); font-family: var(--font-mono); font-size: 0.625rem; font-weight: 500; letter-spacing: 0.06em; line-height: 1.6; white-space: nowrap; max-width: calc(100% - 1rem); overflow: hidden; text-overflow: ellipsis; }

@media print {
  body { background: #fff; color: #000; }
  .site-header, .site-footer, .cta-band, .hero__stage, .nav-toggle { display: none; }
  h1, h2, h3, h4, strong { color: #000; }
}

/* 29 Builder additions (inner pages) ---------------------------------------- */
/* Four plans on the Pricing page: 1 column, then 2, then 4. */
@media (min-width: 40rem) { .pricing--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 75rem) { .pricing--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pricing--4 .price-card__amount { font-size: clamp(1.75rem, 1.5rem + 1vw, 2.25rem); }
/* Required checkbox left unticked. */
.check input[aria-invalid="true"] { border-color: var(--nh-red); box-shadow: inset 3px 0 0 var(--nh-red); }
/* Unfilled placeholders the founder must replace before launch. */
[data-tbc] { overflow-wrap: anywhere; }

/* ==========================================================================
   LIGHT THEME (16 Nov 2026). The website is light; app screens stay dark.
   ========================================================================== */
:root {
  --nh-night: #F5F6F4;
  --nh-surface: #FFFFFF;
  --nh-surface-2: #ECEEEA;
  --nh-panel: #D6DBE0;
  --nh-line: #E1E5E8;
  --nh-ink: #0B0F13;
  --nh-body: #2C343B;
  --nh-muted: #4A535C;
  --nh-faint: #5E6873;
  --nh-dim: #A9B1BA;
  --nh-control: #7A8590;
  --nh-blue: #1760B0;
  --nh-blue-hover: #124F93;
  --nh-teal: #0B7480;
  --nh-green: #2F7D23;
  --nh-yellow: #8A6A00;
  --nh-red: #B23A26;
  --focus: 0 0 0 2px #FFFFFF, 0 0 0 4px #1760B0;
}
/* Dark islands: app mock-ups, phones and the dark band keep the brand's dark palette */
.frame-browser, .frame-phone, .mock, .section--dark {
  --nh-night: #050607; --nh-surface: #111418; --nh-surface-2: #0B0D10;
  --nh-panel: #2A3139; --nh-line: #1E2429; --nh-ink: #FFFFFF; --nh-body: #C5CCD3;
  --nh-muted: #A3ACB6; --nh-faint: #8A949E; --nh-dim: #5E6873; --nh-control: #77828E;
  --nh-blue: #1AA0F0; --nh-blue-hover: #4DB6F4; --nh-teal: #20B7C4; --nh-green: #5CC34A;
  --nh-yellow: #F1D44C; --nh-red: #E8735F;
  color: var(--nh-body);
}
.section--dark { background: #07090B; }
.site-header { background: rgba(255, 255, 255, 0.92); }
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header { background: rgba(255, 255, 255, 0.82); }
}
.btn--primary, .btn--primary:hover, .btn--green, .btn--green:hover { color: #FFFFFF; }
.section--dark .btn--primary, .section--dark .btn--primary:hover { color: #050607; }
.btn--ghost:hover { background: rgba(11, 15, 19, 0.04); }
a.card:hover, .card--link:hover { background: #FAFBFA; }
.card, .problem, .market { box-shadow: 0 1px 2px rgba(11, 15, 19, 0.04), 0 8px 24px -16px rgba(11, 15, 19, 0.18); }
.frame-browser { box-shadow: 0 40px 90px -30px rgba(11, 15, 19, 0.45), 0 0 0 1px rgba(11, 15, 19, 0.06); }
.frame-phone { box-shadow: 0 40px 80px -28px rgba(11, 15, 19, 0.5); }
.dots { background-image: radial-gradient(circle, rgba(23, 96, 176, 0.16) 1.2px, transparent 1.6px); }
.card--dots { background-image: radial-gradient(circle, rgba(23, 96, 176, 0.08) 1.2px, transparent 1.6px); }

/* New blocks for the merged site */
.hero-tag { font-family: var(--font-display); font-weight: 500; color: var(--nh-teal); }
.fgrid { display: grid; gap: var(--sp-5); grid-template-columns: minmax(0,1fr); }
@media (min-width: 40rem) { .fgrid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 64rem) { .fgrid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.fcard { background: var(--nh-surface); border: 1px solid var(--nh-panel); padding: var(--sp-6); display: flex; flex-direction: column; gap: var(--sp-3); }
.fcard__icon { width: 2.5rem; height: 2.5rem; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--nh-panel); color: var(--nh-blue); font-family: var(--font-mono); font-weight: 600; }
.fcard h3 { font-size: var(--fs-h4); color: var(--nh-ink); }
.fcard p { color: var(--nh-muted); font-size: var(--fs-small); }
.facts { display: grid; gap: var(--sp-5); grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.fact { border-top: 3px solid var(--nh-blue); padding-top: var(--sp-4); }
.fact:nth-child(2) { border-color: var(--nh-teal); } .fact:nth-child(3) { border-color: var(--nh-green); } .fact:nth-child(4) { border-color: #D9B92A; }
.fact__big { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-h2); color: var(--nh-ink); line-height: 1.1; }
.fact__text { color: var(--nh-muted); font-size: var(--fs-small); margin-top: var(--sp-2); }
.team { display: grid; gap: var(--sp-5); grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); }
.person { background: var(--nh-surface); border: 1px solid var(--nh-panel); padding: var(--sp-6); display: flex; gap: var(--sp-5); align-items: flex-start; }
.person__photo { width: 5rem; height: 5rem; flex-shrink: 0; background: var(--nh-surface-2); border: 1px dashed var(--nh-control); display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: var(--fs-micro); color: var(--nh-faint); text-align: center; }
.person__name { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-h4); color: var(--nh-ink); }
.person__role { font-family: var(--font-mono); font-size: var(--fs-micro); letter-spacing: 0.12em; text-transform: uppercase; color: var(--nh-teal); margin: var(--sp-1) 0 var(--sp-3); }
.todo { background: #FFF6D6; border: 1px dashed #B8961A; color: #5A4500; padding: var(--sp-2) var(--sp-3); font-family: var(--font-mono); font-size: var(--fs-micro); }
@media (min-width: 40rem) { .pricing--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .pricing--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 80rem) { .pricing--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.pricing--5 .price-card__amount { font-size: clamp(1.6rem, 1.4rem + 0.8vw, 2rem); }
.price-card--featured { border-color: var(--nh-blue); box-shadow: 0 0 0 1px var(--nh-blue), 0 20px 40px -24px rgba(23, 96, 176, 0.45); }

img.person__photo { width: 6.5rem; height: 6.5rem; object-fit: cover; border: 1px solid var(--nh-panel); border-radius: 50%; }
/* Photos (16 Nov 2026) */
.hero__photo { margin: 0; width: 100%; min-width: 0; }
.hero__photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; max-height: 34rem; object-fit: cover; object-position: center 35%; border-radius: 28px; box-shadow: 0 40px 80px -40px rgba(11, 15, 19, 0.45); }
@media (max-width: 59.99rem) { .hero__photo img { aspect-ratio: 4 / 3; max-height: 22rem; } }
.photo-band { margin: 0 0 var(--sp-6); }
.photo-band img { display: block; width: 100%; height: clamp(14rem, 30vw, 24rem); object-fit: cover; object-position: center 40%; border-radius: 20px; }
.card__img { --pad: clamp(1.25rem, 1rem + 1vw, 2rem); display: block; width: calc(100% + 2 * var(--pad)); max-width: none; height: 12rem; object-fit: cover; margin: calc(-1 * var(--pad)) calc(-1 * var(--pad)) var(--sp-2); }
