/* Nnovate tokens as CSS variables. Same names as the design system's tokens.json. */
.nn, .nn[data-theme="light"] {
  --bg: #f8fafc; --surface: #ffffff; --surface-2: #f1f5f9;
  --text: #0f172a; --text-2: #64748b; --text-2-strong: #475569;
  --border: #e2e8f0; --border-strong: #7c8ba1;
  --primary: #001854; --primary-hover: #000c3c; --primary-light: #1a3a6e; --on-primary: #ffffff;
  --tint: #e8eef8; --tint-2: #c5d0e8;
  --accent: #ea580c; --accent-text: #c2410c; --status: #0f766e; --status-tint: #e3f3f0;
  --inverse-bg: #0f172a; --hero-bg: #001854; --mark-bg: #001854; --focus: #1a3a6e;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --radius-sm: 6px; --radius-md: 8px; --radius-pill: 999px;
  --font-sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}
.nn[data-theme="dark"], .nn .nn-inverse {
  --bg: #0f172a; --surface: #1e293b; --surface-2: #172033;
  --text: #f8fafc; --text-2: #94a3b8; --text-2-strong: #cbd5e1;
  --border: #334155; --border-strong: #7c8ba1;
  --primary: #8ba4d4; --primary-hover: #a9bce0; --primary-light: #6e8cc4; --on-primary: #0f172a;
  --tint: #1c2a4a; --tint-2: #2a3d66;
  --accent: #fb923c; --accent-text: #fb923c; --status: #2dd4bf; --status-tint: #12332f;
  --focus: #8ba4d4;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.nn[data-theme="dark"] { --inverse-bg: #020617; --hero-bg: #00103a; --mark-bg: #1a3a6e; }
/* Nnovate component and section styles. Plain CSS, no build step.
   Every colour, radius and font is a token variable. Breakpoint: container width 760px. */

.nn { container-type: inline-size; container-name: nn; background: var(--bg); color: var(--text);
  font-family: var(--font-sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
.nn *, .nn *::before, .nn *::after { box-sizing: border-box; }
.nn h1, .nn h2, .nn h3, .nn p, .nn ul, .nn ol, .nn figure { margin: 0; padding: 0; }
.nn ul, .nn ol { list-style: none; }
:where(.nn) a { color: inherit; text-decoration: none; }
.nn :focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: var(--radius-sm); }

/* Type */
.nn-display { font-size: 56px; line-height: 1.05; font-weight: 600; letter-spacing: -0.03em; }
.nn-h2 { font-size: 36px; line-height: 1.15; font-weight: 600; letter-spacing: -0.025em; }
.nn-h3 { font-size: 20px; line-height: 1.3; font-weight: 600; letter-spacing: -0.015em; }
.nn-lead { font-size: 19px; line-height: 1.55; color: var(--text-2); }
.nn-body { font-size: 16px; line-height: 1.6; }
.nn-small { font-size: 14px; line-height: 1.5; color: var(--text-2); }
.nn-label { font-family: var(--font-mono); font-size: 12px; line-height: 1.4; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--text-2); }

/* Layout */
.nn-wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.nn-section { padding: 96px 0; }
.nn-section-head { display: flex; flex-direction: column; gap: 12px; max-width: 720px; margin-bottom: 48px; }
.nn-grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.nn-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.nn-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.nn-rule { border-top: 1px solid var(--border); }

/* Wordmark */
.nn-wordmark { display: inline-flex; align-items: center; gap: 0.36em; font-size: 22px; font-weight: 600;
  letter-spacing: -0.04em; line-height: 1; color: var(--primary); }
.nn-wordmark-point { width: 0.27em; height: 0.27em; border-radius: 1px; background: var(--accent); display: inline-block; }
.nn-monogram { display: inline-flex; align-items: center; justify-content: center; width: 1.6em; height: 1.6em;
  border-radius: var(--radius-sm); background: var(--primary); color: var(--on-primary); font-weight: 600;
  letter-spacing: -0.06em; line-height: 1; padding-bottom: 0.1em; }

/* Buttons */
.nn-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px;
  padding: 0 18px; border-radius: var(--radius-sm); border: 1px solid transparent; font: inherit; font-size: 15px;
  font-weight: 500; line-height: 1; cursor: pointer; white-space: nowrap;
  transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease; }
.nn-btn-primary { background: var(--primary); color: var(--on-primary); }
.nn-btn-primary:hover { background: var(--primary-hover); }
.nn-btn-primary:active { background: var(--primary-light); }
.nn-btn-secondary { background: var(--surface); color: var(--text); border-color: var(--border-strong); }
.nn-btn-secondary:hover { background: var(--tint); border-color: var(--primary); }
.nn-btn-secondary:active { background: var(--tint-2); }
.nn-btn-ghost { background: transparent; color: var(--text); padding: 0 12px; }
.nn-btn-ghost:hover { background: var(--tint); }
.nn-btn-ghost:active { background: var(--tint-2); }
.nn-btn-sm { min-height: 36px; padding: 0 14px; font-size: 14px; }
.nn-btn[disabled] { opacity: 0.5; cursor: not-allowed; }
.nn-link { color: var(--primary); font-weight: 500; text-decoration: underline; text-decoration-color: var(--tint-2);
  text-underline-offset: 4px; }
.nn-link:hover { text-decoration-color: var(--primary); }
.nn-icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  border-radius: var(--radius-sm); border: 1px solid var(--border-strong); background: var(--surface); color: var(--text);
  cursor: pointer; font: inherit; }
.nn-icon-btn:hover { background: var(--tint); border-color: var(--primary); }
.nn-icon-btn:active { background: var(--tint-2); }

/* Nav */
.nn-nav { position: sticky; top: 0; z-index: 10; background: var(--bg); border-bottom: 1px solid var(--border); }
.nn-nav-inner { display: flex; align-items: center; gap: 32px; height: 68px; }
.nn-nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nn-nav-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 500; color: var(--text-2); }
.nn-nav-link:hover { color: var(--text); background: var(--tint); }
.nn-nav-link:active { background: var(--tint-2); }
.nn-nav-link[aria-current="page"] { color: var(--text); }
.nn-nav-actions { display: flex; align-items: center; gap: 8px; }
.nn-nav-menu-btn { display: none; }
.nn-theme-btn { min-height: 44px; padding: 0 12px; gap: 8px; font-size: 14px; color: var(--text-2);
  border: 1px solid var(--border); background: transparent; }
.nn-theme-btn:hover { color: var(--text); background: var(--tint); }
.nn-theme-swatch { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid currentColor;
  background: linear-gradient(90deg, currentColor 50%, transparent 50%); }

/* Cards */
.nn-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 24px; display: flex; flex-direction: column; gap: 16px; }
a.nn-card { transition: border-color 120ms ease; }
a.nn-card:hover { border-color: var(--primary); }
a.nn-card:active { background: var(--tint); }
.nn-card-muted { background: transparent; border-style: dashed; border-color: var(--border-strong); color: var(--text-2); }
.nn-list { display: flex; flex-direction: column; gap: 8px; font-size: 14px; line-height: 1.5; color: var(--text-2); }
.nn-list li { display: flex; gap: 10px; }
.nn-list li::before { content: ""; flex: none; width: 5px; height: 5px; margin-top: 8px; border-radius: 1px; background: var(--accent); }
.nn-card-foot { margin-top: auto; padding-top: 8px; font-size: 14px; font-weight: 500; color: var(--primary); }
.nn-card-index { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; color: var(--text-2); }

/* Badges */
.nn-badge { display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 10px;
  border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.02em; color: var(--text); white-space: nowrap; }
.nn-badge-tint { background: var(--tint); border-color: var(--tint-2); color: var(--primary); }
.nn-badge-status { background: var(--status-tint); border-color: transparent; color: var(--status); }
.nn-status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--status); flex: none; }
.nn-badge-row { display: flex; flex-wrap: wrap; gap: 8px; }

/* Form fields */
.nn-field { display: flex; flex-direction: column; gap: 6px; }
.nn-field label { font-size: 14px; font-weight: 500; }
.nn-input { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm); background: var(--surface); color: var(--text); font: inherit; font-size: 15px; }
.nn-input::placeholder { color: var(--text-2); }
.nn-input:hover { border-color: var(--primary); }
.nn-input:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; border-color: var(--primary); }
.nn-input[aria-invalid="true"] { border-color: #b42318; }
.nn-field-error { font-size: 13px; color: #b42318; }
.nn[data-theme="dark"] .nn-input[aria-invalid="true"], .nn-inverse .nn-input[aria-invalid="true"] { border-color: #fda29b; }
.nn[data-theme="dark"] .nn-field-error, .nn-inverse .nn-field-error { color: #fda29b; }
textarea.nn-input { min-height: 132px; resize: vertical; line-height: 1.5; }
.nn-field-hint { font-size: 13px; color: var(--text-2); }

/* Hero */
.nn-hero { padding: 88px 0 80px; }
.nn-hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.nn-hero-copy { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.nn-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* Artefacts: dashboard fragments, schema snippets, diagrams */
.nn-artefact { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.nn-panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm); padding: 16px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.nn-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.nn-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.nn-kpi { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.nn-kpi-value { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; font-variant-numeric: tabular-nums; }
.nn-kpi-delta { font-family: var(--font-mono); font-size: 11px; color: var(--status); }
.nn-chart { width: 100%; height: auto; display: block; }
.nn-chart .bar { fill: var(--tint-2); }
.nn-chart .bar-on { fill: var(--primary); }
.nn-chart .grid { stroke: var(--border); stroke-width: 1; }
.nn-chart .line { fill: none; stroke: var(--accent); stroke-width: 2; }
.nn-chart .node { fill: var(--surface); stroke: var(--border-strong); stroke-width: 1; }
.nn-chart .node-on { fill: var(--tint); stroke: var(--primary); stroke-width: 1; }
.nn-chart .edge { stroke: var(--border-strong); stroke-width: 1; fill: none; }
.nn-chart text { font-family: var(--font-mono); font-size: 10px; fill: var(--text-2); }
.nn-chart text.strong { fill: var(--text); }
.nn-code { font-family: var(--font-mono); font-size: 12px; line-height: 1.7; color: var(--text-2); white-space: pre; overflow: hidden; }
.nn-code b { font-weight: 500; color: var(--text); }
.nn-code i { font-style: normal; color: var(--accent-text); }
.nn-pipeline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 11px; color: var(--text-2); }
.nn-pipeline span { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 3px 8px; color: var(--text); background: var(--surface-2); }
.nn-col-6 { grid-column: span 6; } .nn-col-4 { grid-column: span 4; } .nn-col-3 { grid-column: span 3; } .nn-col-2 { grid-column: span 2; }

/* Proof strip */
.nn-proof { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--surface); }
.nn-proof-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.nn-proof-item { padding: 32px 24px; border-left: 1px solid var(--border); display: flex; flex-direction: column; gap: 4px; }
.nn-proof-item:first-child { border-left: 0; padding-left: 0; }
.nn-proof-value { font-size: 40px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; color: var(--primary); }

/* Process */
.nn-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--border-strong); }
.nn-step { padding: 24px 24px 0 0; display: flex; flex-direction: column; gap: 10px; position: relative; }
.nn-step::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 1px; background: var(--primary); }
.nn-aside { margin-top: 48px; padding: 24px; border: 1px solid var(--tint-2); background: var(--tint); border-radius: var(--radius-md);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; }

.nn-aside .nn-small { color: var(--text-2-strong); }

/* Product Factory (always on the dark surface) */
.nn-inverse { background: var(--inverse-bg); color: var(--text); }
.nn-factory-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 24px; }
.nn-product { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 32px; padding: 32px; align-items: center; }
.nn-product-copy { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.nn-product-name { font-size: 28px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.nn-lab { display: flex; flex-direction: column; gap: 24px; }
.nn-lab .nn-card { flex: 1; justify-content: center; }
.nn-frame { border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg); overflow: hidden; }
.nn-frame-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-bottom: 1px solid var(--border); }
.nn-frame-bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--border-strong); display: block; }
.nn-frame-bar span { margin-left: 8px; font-family: var(--font-mono); font-size: 11px; color: var(--text-2); }
.nn-frame-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.nn-placeholder { display: flex; align-items: center; justify-content: center; text-align: center; padding: 12px;
  border: 1px dashed var(--border-strong); border-radius: var(--radius-sm); background: var(--surface-2);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; color: var(--text-2-strong); }

/* Carousel */
.nn-carousel { position: relative; }
.nn-carousel-view { overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); }
.nn-carousel-track { display: flex; transition: transform 420ms cubic-bezier(0.2, 0.7, 0.2, 1); touch-action: pan-y; }
.nn-slide { flex: 0 0 100%; min-width: 0; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.nn-slide-media { padding: 24px; border-right: 1px solid var(--border); background: var(--surface-2); }
.nn-slide-media .nn-placeholder { aspect-ratio: 16 / 10; background: var(--surface); }
.nn-slide-body { padding: 40px; display: flex; flex-direction: column; gap: 16px; justify-content: center; }
.nn-slide-logo { width: 132px; height: 48px; }
.nn-carousel-controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px; }
.nn-dots { display: flex; align-items: center; }
.nn-dot-btn { width: 28px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.nn-dot-btn::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--border-strong); background: transparent; transition: width 160ms ease, background-color 160ms ease; }
.nn-dot-btn:hover::before { border-color: var(--primary); background: var(--tint-2); }
.nn-dot-btn[aria-current="true"]::before { width: 20px; border-radius: 4px; background: var(--primary); border-color: var(--primary); }
.nn-arrows { display: flex; gap: 8px; }

/* About and contact */
.nn-about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.nn-contact { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
.nn-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 32px; }
.nn-form .nn-span { grid-column: 1 / -1; }
.nn-stack { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }

/* Footer */
.nn-footer { border-top: 1px solid var(--border); background: var(--surface); padding: 48px 0 32px; }
.nn-footer-top { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; align-items: flex-start; }
.nn-footer-links { display: flex; flex-wrap: wrap; gap: 4px 8px; }
.nn-footer-bottom { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border); }

/* Small cookie notice: only ship it if analytics cookies are used */
.nn-cookie { display: flex; align-items: center; gap: 12px; max-width: 420px; padding: 12px 12px 12px 16px;
  border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); font-size: 13px; color: var(--text-2); }

/* Narrow layout */
@container nn (max-width: 760px) {
  .nn-wrap { padding: 0 20px; }
  .nn-section { padding: 64px 0; }
  .nn-section-head { margin-bottom: 32px; }
  .nn-display { font-size: 38px; line-height: 1.08; }
  .nn-h2 { font-size: 28px; }
  .nn-lead { font-size: 17px; }
  .nn-grid-4, .nn-grid-3, .nn-grid-2, .nn-hero-grid, .nn-about, .nn-contact, .nn-factory-grid, .nn-product, .nn-form { grid-template-columns: minmax(0, 1fr); }
  .nn-hero { padding: 48px 0 56px; }
  .nn-hero-grid, .nn-about, .nn-contact { gap: 40px; }
  .nn-hero-cta { width: 100%; }
  .nn-hero-cta .nn-btn { flex: 1 1 100%; }
  .nn-nav-inner { height: 60px; gap: 12px; flex-wrap: wrap; }
  .nn-nav-menu-btn { display: inline-flex; margin-left: auto; }
  .nn-nav-links, .nn-nav-actions { display: none; flex-basis: 100%; margin: 0; }
  .nn[data-nav="open"] .nn-nav-inner { height: auto; padding-top: 8px; padding-bottom: 16px; }
  .nn[data-nav="open"] .nn-nav-links { display: flex; flex-direction: column; align-items: stretch; order: 3; }
  .nn[data-nav="open"] .nn-nav-actions { display: flex; order: 4; }
  .nn[data-nav="open"] .nn-nav-actions .nn-btn-primary { flex: 1; }
  .nn-nav-links .nn-nav-link { min-height: 48px; border-bottom: 1px solid var(--border); border-radius: 0; padding: 0 4px; }
  .nn-kpi-value { font-size: 16px; }
  .nn-col-4, .nn-col-3, .nn-col-2 { grid-column: span 6; }
  .nn-proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nn-proof-item { padding: 24px 16px; }
  .nn-proof-item:nth-child(odd) { border-left: 0; padding-left: 0; }
  .nn-proof-item:nth-child(n+3) { border-top: 1px solid var(--border); }
  .nn-proof-value { font-size: 32px; }
  .nn-steps { grid-template-columns: minmax(0, 1fr); border-top: 0; border-left: 1px solid var(--border-strong); }
  .nn-step { padding: 0 0 28px 24px; }
  .nn-step::before { top: 8px; left: -4px; }
  .nn-aside { grid-template-columns: minmax(0, 1fr); }
  .nn-product { padding: 20px; gap: 24px; }
  .nn-slide { grid-template-columns: minmax(0, 1fr); }
  .nn-slide-media { padding: 16px; border-right: 0; border-bottom: 1px solid var(--border); }
  .nn-slide-body { padding: 24px 20px; }
  .nn-form { padding: 20px; }
  .nn-footer-top { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .nn-carousel-track, .nn-btn, .nn-dot-btn::before { transition: none; }
}

/* Wordmark option C: ascending bars */
.nn-bars { display: inline-flex; align-items: flex-end; gap: 0.13em; height: 0.85em; }
.nn-bars i { display: block; width: 0.27em; border-radius: 1px; background: var(--primary); }
.nn-bars i:nth-child(1) { height: 40%; } .nn-bars i:nth-child(2) { height: 68%; } .nn-bars i:nth-child(3) { height: 100%; background: var(--accent); }

/* Logo mark: two stepped arches (n, n). First arch primary, second accent. */
.nn-mark { width: 1.22em; height: 1.22em; flex: none; display: block; }
.nn-mark path { fill: none; stroke-width: 8; }
.nn-mark .m1 { stroke: var(--primary); }
.nn-mark .m2 { stroke: var(--accent); }

/* Client name strip (swap names for logos when files are supplied) */
.nn-clients { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-top: 20px; padding-bottom: 20px; border-top: 1px solid var(--border); }
.nn-clients ul { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.nn-clients li { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; color: var(--text-2-strong); }

/* Insight (article) cards */
.nn-post-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.nn-section-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: 48px; }
.nn-section-head-row .nn-section-head { margin-bottom: 0; }

/* FAQ: native details/summary, no JavaScript */
.nn-faq { border-bottom: 1px solid var(--border); }
.nn-faq details { border-top: 1px solid var(--border); }
.nn-faq summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 60px; padding: 14px 0; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.nn-faq summary::-webkit-details-marker { display: none; }
.nn-faq summary::after { content: "+"; font-family: var(--font-mono); font-size: 18px; font-weight: 400; color: var(--text-2); }
.nn-faq details[open] summary::after { content: "\2212"; }
.nn-faq summary:hover { color: var(--primary); }
.nn-faq details p { padding: 0 0 22px; max-width: 760px; color: var(--text-2); }

/* External link note */
.nn-ext { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.02em; color: var(--text-2); }

@container nn (max-width: 760px) {
  .nn-section-head-row { margin-bottom: 32px; }
  .nn-faq summary { font-size: 16px; }
}

a.nn-frame { display: block; transition: border-color 120ms ease; }
a.nn-frame:hover { border-color: var(--primary); }
.nn-badge { max-width: 100%; }
@container nn (max-width: 760px) {
  .nn-hero .nn-badge { white-space: normal; height: auto; min-height: 28px; padding: 5px 10px; line-height: 1.4; }
}

/* ---------- Logo: sunrise n (arch with a rising sun) ---------- */
.nn-mark { width: 1.45em; height: 1.45em; }
.nn-mark .mt { fill: var(--mark-bg); stroke: none; }
.nn-mark .ma { fill: none; stroke: #ffffff; stroke-width: 6.5; }
.nn-mark .ms { fill: #fb923c; stroke: none; }

/* ---------- Hero: navy field, Caribbean region map, drifting waves ---------- */
.nn-hero { position: relative; overflow: hidden; background: var(--hero-bg); padding: 80px 0 136px;
  --bg: #001854; --surface: #0b245f; --surface-2: #082050; --border: #27407a; --tint: #12306e; --tint-2: #27407a; }
.nn-hero .nn-wrap { position: relative; z-index: 1; }
.nn-hero-waves { position: absolute; left: 0; right: 0; bottom: 0; height: 150px; overflow: hidden; pointer-events: none; }
.nn-hero-waves svg { position: absolute; left: 0; bottom: 0; width: 2880px; height: 150px; }
.nn-hero-waves path { fill: none; stroke-width: 1.5; }
.nn-hero-waves .w1 { stroke: rgba(139, 164, 212, 0.38); animation: nn-drift 26s linear infinite; }
.nn-hero-waves .w2 { stroke: rgba(139, 164, 212, 0.24); animation: nn-drift 38s linear infinite reverse; }
.nn-hero-waves .w3 { stroke: rgba(251, 146, 60, 0.5); animation: nn-drift 52s linear infinite; }
@keyframes nn-drift { from { transform: translateX(0); } to { transform: translateX(-1440px); } }

.nn-map { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.nn-map-svg { width: 100%; height: auto; display: block; overflow: visible; }
.nn-map-svg .grat { stroke: rgba(139, 164, 212, 0.16); stroke-width: 1; }
.nn-map-svg text { font-family: var(--font-mono); font-size: 10px; fill: #94a3b8; }
.nn-map-svg .deg { font-size: 9px; fill: rgba(148, 163, 184, 0.75); }
.nn-map-svg .node circle { fill: #8ba4d4; transform-box: fill-box; transform-origin: center; animation: nn-twinkle 6s ease-out infinite; animation-delay: inherit; }
.nn-map-svg .ring { fill: none; stroke: #fb923c; stroke-width: 1.5; vector-effect: non-scaling-stroke; transform-box: fill-box; transform-origin: center;
  animation: nn-ring 6s linear infinite; opacity: 0; }
.nn-map-svg .ring.r2 { animation-delay: 2s; } .nn-map-svg .ring.r3 { animation-delay: 4s; }
.nn-map-svg .origin { fill: #fb923c; }
.nn-map-svg .origin-halo { fill: rgba(251, 146, 60, 0.25); transform-box: fill-box; transform-origin: center; animation: nn-halo 2.4s ease-in-out infinite; }
.nn-map-svg .origin-label { font-family: var(--font-sans); font-size: 13px; font-weight: 600; fill: #f8fafc; }
@keyframes nn-ring { 0% { transform: scale(0.02); opacity: 0.9; } 100% { transform: scale(1); opacity: 0; } }
@keyframes nn-twinkle { 0%, 12%, 100% { transform: scale(1); fill: #8ba4d4; } 4% { transform: scale(2.1); fill: #ffffff; } }
@keyframes nn-halo { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.7); } }
.nn-map-foot { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; justify-content: space-between; }

/* Chart draws itself once */
.nn-chart .bar, .nn-chart .bar-on { transform-box: fill-box; transform-origin: bottom; animation: nn-grow 900ms cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.nn-chart .line { stroke-dasharray: 520; animation: nn-draw 1600ms 500ms ease-out both; }
@keyframes nn-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes nn-draw { from { stroke-dashoffset: 520; } to { stroke-dashoffset: 0; } }
.nn-status-dot { animation: nn-blink 2.4s ease-in-out infinite; }
@keyframes nn-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

/* ---------- The page rises over the hero as you scroll ---------- */
.nn-rise { position: relative; z-index: 2; background: var(--bg); border-radius: 28px 28px 0 0; margin-top: -56px; }
.nn-rise > .nn-proof:first-child { border-top: 0; border-radius: 28px 28px 0 0; }
@media (min-height: 780px) {
  @container nn (min-width: 1025px) {
    .nn-hero { position: sticky; top: 68px; min-height: min(calc(100vh - 68px), 720px); display: flex; align-items: center; }
    .nn-hero > .nn-wrap { width: 100%; }
  }
}

/* ---------- Client names: slow marquee ---------- */
.nn-marquee { display: flex; align-items: center; gap: 28px; padding: 18px 0; border-top: 1px solid var(--border); overflow: hidden; }
.nn-marquee > .nn-label { flex: none; padding-left: 32px; }
.nn-marquee-view { flex: 1; min-width: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.nn-marquee-track { display: flex; width: max-content; animation: nn-marquee 48s linear infinite; }
.nn-marquee:hover .nn-marquee-track { animation-play-state: paused; }
.nn-marquee-track ul { display: flex; flex: none; }
.nn-marquee-track li { display: flex; align-items: center; gap: 44px; padding-right: 44px; white-space: nowrap; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; color: var(--text-2-strong); }
.nn-marquee-track li::after { content: ""; width: 5px; height: 5px; border-radius: 1px; background: var(--accent); }
@keyframes nn-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Reveal on scroll (only switched on by the page script when the page really scrolls) ---------- */
.nn[data-motion="on"] .nn-reveal { opacity: 0; transform: translateY(28px); transition: opacity 600ms ease, transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1); }
.nn[data-motion="on"] .nn-reveal.is-in { opacity: 1; transform: none; }

/* Services artefact band */
.nn-band { margin-bottom: 24px; }
.nn-band-side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-content: start; }
.nn-band-side .nn-wide { grid-column: 1 / -1; }

/* ---------- Tablet: 761 to 1024 ---------- */
@container nn (min-width: 761px) and (max-width: 1024px) {
  .nn-display { font-size: 48px; }
  .nn-grid-4, .nn-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nn-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .nn-hero { padding: 64px 0 128px; }
  .nn-map { max-width: 640px; }
  .nn-factory-grid { grid-template-columns: minmax(0, 1fr); }
  .nn-lab { flex-direction: row; }
  .nn-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .nn-about, .nn-contact { gap: 40px; }
  .nn-slide-body { padding: 28px; }
  .nn-proof-item { padding: 28px 18px; }
  .nn-proof-value { font-size: 34px; }
}
/* Menu button replaces the link row on tablet and phone */
@container nn (max-width: 1024px) {
  .nn-nav-inner { gap: 12px; flex-wrap: wrap; }
  .nn-nav-menu-btn { display: inline-flex; margin-left: auto; }
  .nn-nav-links, .nn-nav-actions { display: none; flex-basis: 100%; margin: 0; }
  .nn[data-nav="open"] .nn-nav-inner { height: auto; padding-top: 10px; padding-bottom: 16px; }
  .nn[data-nav="open"] .nn-nav-links { display: flex; flex-direction: column; align-items: stretch; order: 3; }
  .nn[data-nav="open"] .nn-nav-actions { display: flex; order: 4; }
  .nn[data-nav="open"] .nn-nav-actions .nn-btn-primary { flex: 1; }
  .nn-nav-links .nn-nav-link { min-height: 48px; border-bottom: 1px solid var(--border); border-radius: 0; padding: 0 4px; }
  .nn-band-side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@container nn (max-width: 760px) {
  .nn-hero { padding: 44px 0 112px; }
  .nn-rise { border-radius: 20px 20px 0 0; margin-top: -44px; }
  .nn-rise > .nn-proof:first-child { border-radius: 20px 20px 0 0; }
  .nn-marquee > .nn-label { padding-left: 20px; }
  .nn-marquee { gap: 16px; }
  .nn-band-side { grid-template-columns: minmax(0, 1fr); }
  .nn-map-svg text { font-size: 13px; } .nn-map-svg .deg { font-size: 11px; } .nn-map-svg .origin-label { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .nn-hero-waves path, .nn-map-svg .node circle, .nn-map-svg .ring, .nn-map-svg .origin-halo, .nn-marquee-track, .nn-status-dot,
  .nn-chart .bar, .nn-chart .bar-on, .nn-chart .line { animation: none; }
  .nn-map-svg .ring { opacity: 0.35; transform: scale(0.5); }
  .nn-marquee-view { overflow-x: auto; }
}

.nn .nn-band { margin-bottom: 24px; }
.nn-map-svg { overflow: hidden; }
@container nn (min-width: 761px) and (max-width: 1024px) {
  .nn-band > .nn-col-3 { grid-column: span 6; }
}

/* ---------- Region map: coastlines ---------- */
.nn-map-svg .land { fill: rgba(139, 164, 212, 0.17); stroke: rgba(139, 164, 212, 0.55); stroke-width: 0.6; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.nn-map-svg .land.home { fill: rgba(251, 146, 60, 0.6); stroke: #fb923c; }

/* ---------- Bar chart race ---------- */
.nn-race { display: flex; flex-direction: column; gap: 10px; }
.nn-race-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.nn-race-month { font-family: var(--font-mono); font-size: 13px; font-weight: 500; color: var(--text); font-variant-numeric: tabular-nums; }
.nn-race-rows { position: relative; height: 186px; }
.nn-race-row { position: absolute; left: 0; right: 0; top: 0; height: 26px; display: grid; grid-template-columns: 124px minmax(0, 1fr) 40px; align-items: center; gap: 10px;
  transition: transform 900ms cubic-bezier(0.3, 0.7, 0.2, 1); }
.nn-race-name { font-size: 13px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nn-race-track { display: block; height: 18px; }
.nn-race-bar { display: block; height: 100%; border-radius: 3px; background: var(--tint-2); transition: width 900ms cubic-bezier(0.3, 0.7, 0.2, 1), background-color 400ms ease; }
.nn-race-row.is-top .nn-race-bar { background: var(--primary); }
.nn-race-row.is-riser .nn-race-bar { background: var(--accent); }
.nn-race-val { font-family: var(--font-mono); font-size: 12px; color: var(--text-2); text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- Radar ---------- */
.nn-radar .web { fill: none; stroke: var(--border); stroke-width: 1; }
.nn-radar .axis { stroke: var(--border); stroke-width: 1; }
.nn-radar .before { fill: none; stroke: var(--border-strong); stroke-width: 1.25; stroke-dasharray: 3 3; }
.nn-radar .after { fill: var(--accent); fill-opacity: 0.18; stroke: var(--accent); stroke-width: 1.75; stroke-linejoin: round; }
@container nn (max-width: 760px) { .nn-race-row { grid-template-columns: 104px minmax(0, 1fr) 36px; } }
@media (prefers-reduced-motion: reduce) { .nn-race-row, .nn-race-bar { transition: none; } }

/* Canvas only: show the page in parts where an artboard cannot hold its full height */
.nn[data-part="1"] .nn-p2, .nn[data-part="1"] .nn-p3, .nn[data-part="2"] .nn-p1, .nn[data-part="2"] .nn-p3, .nn[data-part="3"] .nn-p1, .nn[data-part="3"] .nn-p2 { display: none; }
.nn[data-part="2"] .nn-rise, .nn[data-part="3"] .nn-rise { margin-top: 0; border-radius: 0; }
