/* ═══════════════════════════════════════════════════════════════════════════
   Homepage (templates/home.html). Builds on ns.css tokens and components.
   Section classes are prefixed .h-, app-screen classes .ap-.
   ═══════════════════════════════════════════════════════════════════════════ */

.ns-honey { display: none !important; }
.h-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 500; color: var(--ns-ink) !important; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.h-link:hover { text-decoration-thickness: 2px; }
.h-center-head { max-width: 780px; margin: 0 auto 48px; text-align: center; display: flex; flex-direction: column; gap: 18px; }
.h-center-head .ns-lead { max-width: 640px; margin: 0 auto; }
.h-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 72px; align-items: center; }
.h-split--top { align-items: start; }
.h-split-copy { display: flex; flex-direction: column; gap: 18px; }
.h-ticks { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.h-ticks li { position: relative; padding-left: 28px; font-size: 16px; line-height: 1.5; color: var(--ns-body-2); }
.h-ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--ns-ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 11px no-repeat; }
.h-card-note { margin-top: 14px; font-size: 12px; color: var(--ns-muted-2); }
.h-card-note--center { text-align: center; margin-top: 18px; }

/* Shared form styles */
.ns-input { width: 100%; box-sizing: border-box; font: 400 15px var(--ns-sans); color: var(--ns-ink); background: #fff; border: 1px solid #D9D5CC; border-radius: 12px; padding: 12px 14px; transition: border-color var(--ns-fast) var(--ns-ease-out), box-shadow var(--ns-fast) var(--ns-ease-out); }
.ns-input::placeholder { color: var(--ns-muted-2); }
.ns-input:focus { outline: 0; border-color: var(--ns-ink); box-shadow: 0 0 0 3px rgba(20,20,20,.12); }
textarea.ns-input { resize: vertical; min-height: 104px; }
.h-inline { display: flex; gap: 8px; }
.h-inline .ns-input { flex: 1; min-width: 0; }
.h-label { display: block; font-size: 15px; font-weight: 600; margin-bottom: 10px; }
body.ns .form-status { margin-top: 10px; min-height: 0; padding: 0; text-align: left; font-size: 14px; line-height: 1.5; color: var(--ns-muted); background: none; border: 0; }
body.ns .form-status:empty { margin-top: 0; }
body.ns .form-status.form-status-success { color: var(--ns-ok); background: var(--ns-ok-bg); border: 0; border-radius: 12px; padding: 10px 14px; font-weight: 500; }
body.ns .form-status.form-status-error { color: var(--ns-danger); background: #FBEDEC; border: 0; border-radius: 12px; padding: 10px 14px; font-weight: 500; }

/* ── Hero ─────────────────────────────────────────────────────────────── */
.h-hero-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 40px; padding-top: 64px; }
.h-hero-left { flex: 1 1 760px; max-width: 900px; }
#h-hero-title { font-size: clamp(56px, 6.4vw, 84px); letter-spacing: -.04em; line-height: .98; }
html[lang="de"] #h-hero-title { hyphens: manual; -webkit-hyphens: manual; }  /* sized so every word fits whole */  /* a statement, longer than the old question: three lines, not four */
.h-announce { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; min-height: 44px; box-sizing: border-box; margin-bottom: 28px; padding: 7px 18px; transition: box-shadow var(--ns-fast) var(--ns-ease-out), transform .1s var(--ns-ease-out); font-size: 14px; text-decoration: none; color: var(--ns-ink) !important; }
.h-announce:hover { box-shadow: inset 0 1px 0 #fff, 0 8px 24px rgba(20,20,20,.1); }
.h-announce-tag { flex: none; font-size: 12px; font-weight: 600; color: var(--ns-paper); background: var(--ns-ink); border-radius: 999px; padding: 4px 10px; }
.h-announce-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ns-body-2); }
.h-announce-text b { font-weight: 600; color: var(--ns-ink); }
.h-announce-short { display: none; }
.h-hero-right { flex: 0 1 340px; display: flex; flex-direction: column; gap: 22px; padding-bottom: 10px; }
.h-hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; }
/* Proof stat under the hero CTAs: a hairline, the number in display type, a one-line caption. */
body.ns a.h-hero-proof { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; padding-top: 20px; border-top: 1px solid var(--ns-line); color: var(--ns-muted); text-decoration: none; }
.h-proof-stat { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; font-size: 15px; color: var(--ns-muted); }
.h-proof-stat b { font-family: var(--ns-display); font-weight: 300; font-size: 34px; line-height: 1; letter-spacing: -1px; color: var(--ns-ink); }
.h-proof-cap { font-size: 13px; line-height: 1.5; color: var(--ns-muted); text-wrap: pretty; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; transition: text-decoration-color var(--ns-fast) var(--ns-ease-out); }
.h-hero-proof:hover .h-proof-cap, .h-hero-proof:focus-visible .h-proof-cap { text-decoration-color: currentColor; }
.h-stage { position: relative; max-width: 1360px; margin: 40px auto 0; height: 560px; }
.h-stage-docs { position: absolute; inset: 0; overflow: clip; z-index: 0; }
.h-panel { position: absolute; left: 50%; top: 150px; z-index: 2; transform: translateX(-50%); width: min(860px, calc(100% - 48px)); padding: 26px; display: flex; flex-direction: column; gap: 18px; }
.h-panel-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.h-examples { display: flex; flex-wrap: wrap; gap: 6px; }
.h-ex { display: flex; flex-direction: column; gap: 18px; }
.h-ex[hidden] { display: none; }
.h-desc { margin: 0; min-height: 108px; padding: 20px 22px; border-radius: 18px; background: rgba(255,255,255,.78); border: 1px solid rgba(255,255,255,.9); box-shadow: 0 1px 2px rgba(20,20,20,.04); font-family: var(--ns-display); font-weight: 400; font-size: 24px; line-height: 1.5; letter-spacing: -.4px; box-sizing: border-box; }
.h-fact { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 6px; text-decoration-color: rgba(20,20,20,.4); }
.h-sup { font-family: var(--ns-sans); font-size: 11px; font-weight: 400; letter-spacing: 0; color: var(--ns-muted-2); margin-left: 2px; vertical-align: super; line-height: 0; }
.h-scope { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.h-scope-count { font-size: 14px; margin-right: 6px; }
.h-scope-count strong { font-weight: 600; }
/* Hero intro (ns-home.js): the first example types itself in, facts underline as they finish, laws drop in. */
.js-intro [data-ex-panel="0"] .h-desc, .js-intro [data-ex-panel="0"] .h-desc * { color: transparent !important; text-decoration-color: transparent !important; }
.js-intro [data-ex-panel="0"] .h-scope { opacity: 0; }
.h-desc { position: relative; }
.h-desc.is-typing .tw { opacity: 0; }
.h-desc.is-typing .tw.on { opacity: 1; }
.h-desc.is-typing .h-fact { text-decoration-color: transparent; transition: text-decoration-color .45s var(--ns-ease-out); }
.h-desc.is-typing .h-fact.tw-done { text-decoration-color: rgba(20,20,20,.4); }
.tw-caret { position: absolute; width: 2px; border-radius: 1px; background: var(--ns-ink); pointer-events: none; animation: tw-blink 1s steps(1) infinite; }
@keyframes tw-blink { 50% { opacity: 0; } }
.h-scope.is-pre > * { opacity: 0; transform: translateY(6px); }
.h-scope.is-pre > .in { opacity: 1; transform: none; transition: opacity .35s var(--ns-ease-out), transform .35s var(--ns-ease-out); }
.h-run { margin-left: auto; }
.h-trust { list-style: none; margin: 0 auto; padding-top: 8px; padding-bottom: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 36px; font-size: 13px; color: var(--ns-muted-2); }

/* ── Video ────────────────────────────────────────────────────────────── */
.h-video { padding: 140px 0 0; }
.h-video-title { font-size: 44px; letter-spacing: -1.6px; line-height: 1.08; max-width: 900px; margin-bottom: 40px; }
.h-video-frame { border-radius: 20px; overflow: hidden; background: #fff; border: 1px solid var(--ns-line); box-shadow: 0 40px 90px rgba(30,40,60,.12); }
.h-video-body { position: relative; background: #F7F8FA; }
.h-video-el { display: block; width: 100%; height: auto; }
.h-video-play { position: absolute; right: 20px; bottom: 20px; width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(255,255,255,.95); cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--ns-ink); background: rgba(255,255,255,.75); -webkit-backdrop-filter: blur(16px) saturate(170%); backdrop-filter: blur(16px) saturate(170%); box-shadow: 0 12px 30px rgba(20,20,20,.15); transition: transform .2s ease; }
.h-video-play:hover { transform: scale(1.05); }
.h-video-play:active, .h-video-toggle:active { transform: scale(.92); }
.h-video-toggle { transition: transform .1s var(--ns-ease-out); }
.h-video-toggle { position: absolute; left: 20px; bottom: 20px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.95); cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--ns-ink); background: rgba(255,255,255,.75); -webkit-backdrop-filter: blur(16px) saturate(170%); backdrop-filter: blur(16px) saturate(170%); box-shadow: 0 8px 20px rgba(20,20,20,.12); }
.h-video-toggle .h-ic-pause { display: flex; }
.h-video-toggle .h-ic-play, .h-video-toggle.is-paused .h-ic-pause { display: none; }
.h-video-toggle.is-paused .h-ic-play { display: flex; }
.h-covers { margin: 22px auto 0; max-width: 760px; text-align: center; font-size: 15px; line-height: 1.6; color: var(--ns-muted); }
.h-lightbox { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(20,20,20,.72); opacity: 0; visibility: hidden; transition: opacity .15s var(--ns-ease-in), visibility 0s linear .15s; }
.h-lightbox.open { opacity: 1; visibility: visible; transition: opacity .2s var(--ns-ease-out); }
.h-lightbox-inner { position: relative; width: min(1100px, 100%); transform: scale(.96); transition: transform .15s var(--ns-ease-in); }
.h-lightbox.open .h-lightbox-inner { transform: none; transition: transform .3s var(--ns-ease-out); }
.h-lightbox video { display: block; width: 100%; border-radius: 16px; background: #000; }
.h-lightbox-close { position: absolute; top: -52px; right: 0; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--ns-ink); font-size: 26px; line-height: 1; cursor: pointer; }
body.lightbox-open { overflow: hidden; }

/* ── How it works: scroll story ───────────────────────────────────────── */
.h-story { margin-top: 140px; }
.h-story-docs { position: absolute; inset: 0; z-index: 0; overflow: clip; border-radius: 40px; }
.h-story-grid { position: relative; z-index: 1; display: flex; gap: 64px; align-items: flex-start; }
.h-story-left { flex: 1 1 380px; min-width: 0; padding: 40px 0; }
.h-story-intro { padding-top: 120px; display: flex; flex-direction: column; gap: 16px; max-width: 460px; }
.h-step { min-height: 720px; display: flex; flex-direction: column; justify-content: center; }
.h-step-inner { display: flex; flex-direction: column; gap: 18px; transform: translateY(6px); transition: transform var(--ns-slow) var(--ns-ease-out); }
.h-step-inner .ns-h3, .h-step-inner .ns-lead, .h-step-k { transition: color .3s var(--ns-ease-out); }
@media (min-width: 961px) {  /* side by side only: the step next to the card is the dark one */
  .h-step:not(.is-current) .ns-h3, .h-step:not(.is-current) .ns-lead, .h-step:not(.is-current) .h-step-k { color: var(--ns-muted-2); }
}
.h-step.is-past .h-step-inner { transform: translateY(-6px); }
.h-step.is-current .h-step-inner { transform: none; }
.h-step .ns-lead { max-width: 430px; line-height: 1.65; }
.h-step-k { display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--ns-muted); font-variant-numeric: tabular-nums; }
.h-step-line { width: 120px; height: 2px; background: rgba(20,20,20,.12); border-radius: 1px; overflow: hidden; }
.h-step-line span { display: block; height: 2px; width: 0; background: var(--ns-ink); transition: width var(--ns-slow) var(--ns-ease-out); }
.h-step.is-current .h-step-line span { width: 50%; }
.h-step.is-past .h-step-line span { width: 100%; }
.h-story-right { flex: 1 1 600px; min-width: 0; position: sticky; top: 96px; padding: 100px 0 80px; }
.h-card { padding: 26px; }
.h-card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.h-dots { display: flex; }
.h-dot { display: flex; align-items: center; justify-content: center; min-width: 32px; height: 40px; padding: 0 4px; margin: -8px 0; background: none; border: 0; cursor: pointer; }
.h-dot span { display: block; width: 8px; height: 8px; border-radius: 4px; background: rgba(20,20,20,.15); transition: width var(--ns-base) var(--ns-ease-out), background-color var(--ns-base) var(--ns-ease-out); }
.h-dot.is-past span { background: rgba(20,20,20,.45); }
.h-dot[aria-current="step"] span { width: 28px; background: var(--ns-ink); }
.h-card-stage { position: relative; height: 412px; border-top: 1px solid rgba(20,20,20,.08); transition: height .4s var(--ns-ease-in-out); }
.h-state { position: absolute; inset: 20px 0 auto 0; display: flex; flex-direction: column; gap: 10px; opacity: 0; transform: translateY(14px); pointer-events: none; visibility: hidden; transition: opacity .2s var(--ns-ease-in), transform .2s var(--ns-ease-in), visibility 0s linear .2s; }
.h-state.is-before { transform: translateY(-14px); }
.h-state.is-on { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition: opacity var(--ns-slow) var(--ns-ease-out) .08s, transform var(--ns-slow) var(--ns-ease-out) .08s; }
/* Follow-through: the rows of a story card settle one after another */
.h-state.is-on > * { animation: ns-rise .4s var(--ns-ease-out) both; }
.h-state.is-on > :nth-child(2) { animation-delay: .05s; }
.h-state.is-on > :nth-child(3) { animation-delay: .1s; }
.h-state.is-on > :nth-child(4) { animation-delay: .15s; }
.h-state.is-on > :nth-child(n+5) { animation-delay: .2s; }
.h-state strong { font-weight: 500; }
.h-drop { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 22px; border: 1.5px dashed rgba(20,20,20,.18); border-radius: 16px; background: rgba(255,255,255,.45); text-align: center; }
.h-drop strong { font-size: 15px; }
.h-drop-files { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 8px; }
.h-drop-files .ns-pill { font-size: 12px; padding: 5px 10px; background: #fff; }
.h-or { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--ns-muted); margin: 4px 0; }
.h-or span { flex: 1; height: 1px; background: rgba(20,20,20,.1); }
.h-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; }
.h-row > div { display: flex; flex-direction: column; gap: 2px; }
.h-row strong { font-size: 14px; }
.h-row .ns-small { font-size: 12px; }
.h-row .ns-pill { background: #fff; border-color: rgba(20,20,20,.15); }
.h-twin-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.h-twin-id { display: flex; align-items: center; gap: 12px; }
.h-twin-id > div { display: flex; flex-direction: column; }
.h-twin-id strong { font-size: 15px; font-weight: 600; }
.h-twin-id .ns-small { font-size: 12px; }
.h-twin-ic { width: 36px; height: 36px; border-radius: 10px; background: var(--ns-ink); color: #fff; display: flex; align-items: center; justify-content: center; }
.h-segs { display: flex; gap: 4px; padding: 4px; border-radius: 12px; background: rgba(20,20,20,.05); font-size: 13px; }
.h-segs span { flex: 1; text-align: center; padding: 7px 0; color: var(--ns-muted); }
.h-segs .is-on { border-radius: 9px; background: #fff; box-shadow: 0 1px 2px rgba(20,20,20,.08); font-weight: 500; color: var(--ns-ink); }
.h-traits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.h-trait { padding: 12px 14px; display: flex; flex-direction: column; gap: 3px; }
.h-trait .ns-small { font-size: 12px; }
.h-trait strong { font-size: 15px; }
.h-trait em { font-style: normal; font-size: 11px; color: var(--ns-muted-2); }
.h-checked { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.h-checked .ns-small { font-size: 13px; }
.h-checked-bar { height: 3px; border-radius: 2px; background: rgba(20,20,20,.08); }
.h-checked-bar span { display: block; height: 3px; width: 100%; border-radius: 2px; background: var(--ns-ink); }
.h-red { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.h-reg { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.h-reg > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.h-reg strong { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.h-reg strong { font-size: 15px; }
.h-reg .ns-mono { font-size: 12.5px; color: var(--ns-muted); }
.h-reg b { font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.h-reg--row { align-items: center; padding: 12px 14px; }
.h-reg--row strong { font-size: 14px; }
.h-reg--row.is-na { opacity: .6; }
.h-reg--row .ns-small { font-size: 12px; }
.h-whybox { font-size: 13px; line-height: 1.55; color: #3F3E3A; background: rgba(20,20,20,.035); border-radius: 10px; padding: 10px 12px; }
.h-whybox strong { font-weight: 600; }
.h-src { font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.h-bubble-user { align-self: flex-end; max-width: 78%; background: var(--ns-ink); color: var(--ns-paper); border-radius: 18px 18px 4px 18px; padding: 12px 16px; font-size: 15px; line-height: 1.5; }
.h-bubble-reply { max-width: 92%; border-radius: 18px 18px 18px 4px; padding: 16px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.5; }
.h-checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; font-size: 14px; }
.h-checks li { display: flex; gap: 10px; align-items: center; }
.h-checks li.is-pending { color: var(--ns-muted); }
.h-check { flex: none; width: 18px; height: 18px; border-radius: 9px; background: var(--ns-ink); color: #fff; font-size: 11px; display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; }
.h-check--open { background: transparent; border: 1.5px solid rgba(20,20,20,.3); }
.h-act { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 4px; }
.h-fake-btn { font-size: 14px; border: 1px solid rgba(20,20,20,.15); background: #fff; border-radius: 999px; padding: 9px 16px; }
.h-fake-btn--primary { color: var(--ns-paper); background: var(--ns-ink); border-color: var(--ns-ink); }
.h-act .ns-small { font-size: 12px; margin-left: 6px; }
.h-mon-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.h-mon-head > div:first-child { display: flex; flex-direction: column; gap: 2px; }
.h-mon-head strong { font-size: 15px; font-weight: 600; }
.h-mon-head .ns-small { font-size: 12px; }
.h-score { display: flex; align-items: baseline; gap: 4px; }
.h-score span { font-family: var(--ns-display); font-weight: 300; font-size: 44px; letter-spacing: -2px; line-height: 1; }
.h-score em { font-style: normal; font-size: 12px; color: var(--ns-muted); }
.h-goldbar { height: 6px; border-radius: 3px; background: rgba(20,20,20,.08); }
.h-goldbar span { display: block; height: 6px; border-radius: 3px; background: var(--ns-gold); }
.h-alert { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; }
.h-alert > div { display: flex; flex-direction: column; gap: 2px; }
.h-alert strong { font-size: 14px; }
.h-alert .ns-small { font-size: 12px; }
.h-alert.is-warn { background: var(--ns-warn-bg); border-color: var(--ns-warn-line); }
.h-alert .ns-pill { background: #fff; border-color: rgba(20,20,20,.15); }
.h-ok { font-size: 13px; color: var(--ns-ok); white-space: nowrap; }

/* ── Product tour (app screens) ───────────────────────────────────────── */
.h-tour { padding-top: 150px; }
.h-tour-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 40px; }
.h-tour-copy { display: flex; flex-direction: column; gap: 18px; max-width: 640px; }
.h-appstage { margin: 0; padding: 56px 56px 0; overflow: clip; }
.ap-win { border-radius: 16px 16px 0 0; overflow: hidden; background: #F7F8FA; border: 1px solid rgba(255,255,255,.9); border-bottom: 0; box-shadow: 0 40px 90px rgba(30,40,60,.16); font-family: var(--ns-sans); color: #111; }
.ap-scroll { overflow-x: auto; }
.ap-scroll:focus-visible { outline-offset: -3px; }
.ap-viewport { min-width: 1060px; height: 640px; overflow: hidden; position: relative; }
.ap-screen { position: absolute; inset: 0; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .18s var(--ns-ease-in), visibility 0s linear .18s; }
.ap-screen.is-on { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .2s var(--ns-ease-out); }
.ap-frame { display: flex; height: 100%; }
.ap-side { width: 210px; flex: none; background: #FBFBFC; border-right: 1px solid #E6E8EC; padding: 16px 12px; display: flex; flex-direction: column; gap: 2px; box-sizing: border-box; }
.ap-brand { display: flex; align-items: center; gap: 10px; padding: 0 6px 18px; font-size: 15px; }
.ap-brand strong { font-weight: 600; }
.ap-mark { display: block; width: 28px; height: 28px; flex: none; }
.ap-nav { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 8px; font-size: 14px; color: #3B414B; }
.ap-nav.is-on { background: #EEF0F3; color: #111; font-weight: 500; box-shadow: inset 3px 0 0 #1B2B4B; }
.ap-sep { height: 1px; background: #E6E8EC; margin: 8px 10px; }
.ap-grow { flex-grow: 1; }
.ap-ws { border: 1px solid #E6E8EC; border-radius: 10px; padding: 10px; display: flex; align-items: center; gap: 10px; background: #fff; }
.ap-ws > span { width: 28px; height: 28px; border-radius: 6px; background: #111; color: #fff; font-size: 11px; display: flex; align-items: center; justify-content: center; }
.ap-ws > div { display: flex; flex-direction: column; }
.ap-ws strong { font-size: 12px; font-weight: 600; }
.ap-ws em { font-style: normal; font-size: 11px; color: #5F6672; }
.ap-main { flex: 1; min-width: 0; }
.ap-top { display: flex; justify-content: space-between; align-items: center; padding: 12px 28px; border-bottom: 1px solid #E6E8EC; background: #fff; font-size: 13px; color: #5F6672; }
.ap-top b { font-weight: 400; color: #111; }
.ap-search { display: flex; align-items: center; gap: 8px; border: 1px solid #E6E8EC; border-radius: 8px; padding: 5px 10px; color: #3B414B; }
.ap-search kbd { font: 11px var(--ns-sans); color: #5F6672; background: #F1F2F4; border-radius: 4px; padding: 1px 5px; }
.ap-body { padding: 22px 28px; display: flex; flex-direction: column; gap: 14px; }
.ap-body .ap-h { margin: 0; font-size: 26px; font-weight: 700; letter-spacing: -.6px; }
.ap-titlerow { display: flex; justify-content: space-between; align-items: center; }
.ap-titlerow > div { display: flex; align-items: center; gap: 12px; }
.ap-titlerow em, .ap-status > em { font-style: normal; font-size: 12px; color: #5F6672; }
.ap-btn { font-size: 13px; font-weight: 500; color: #fff; background: #1B2B4B; border-radius: 7px; padding: 7px 12px; }
.ap-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ap-card { background: #fff; border: 1px solid #E6E8EC; border-radius: 12px; }
.ap-pad { padding: 18px; }
.ap-card.ap-pad { display: flex; flex-direction: column; gap: 14px; }
.ap-cardhead { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.ap-cardhead strong, .ap-cardintro strong, .ap-nexthead strong { font-weight: 600; font-size: 14px; }
.ap-cardhead em { font-style: normal; font-size: 11px; color: #5F6672; }
.ap-warn { font-size: 11px; color: #6B5317; background: #F7F0DE; border-radius: 5px; padding: 3px 7px; }
.ap-score { display: flex; align-items: baseline; gap: 4px; }
.ap-score span { font-size: 40px; font-weight: 700; letter-spacing: -1.5px; line-height: 1; }
.ap-score em { font-style: normal; color: #5F6672; }
.ap-barblock { display: flex; flex-direction: column; gap: 6px; }
.ap-barhead { display: flex; justify-content: space-between; font-size: 13px; }
.ap-barhead span:first-child { font-weight: 500; }
.ap-barhead span:last-child { color: #3B414B; }
.ap-barhead .is-gold { color: #8A6A1F !important; font-weight: 600; }
.ap-meter { height: 5px; border-radius: 3px; background: #ECEEF1; }
.ap-meter span { display: block; height: 5px; border-radius: 3px; background: #4B5563; }
.ap-meter span.is-gold { background: #8A6A1F; }
.ap-barblock em { font-style: normal; font-size: 11px; color: #5F6672; }
.ap-cardintro, .ap-nexthead > div { display: flex; flex-direction: column; gap: 4px; }
.ap-cardintro em, .ap-nexthead em { font-style: normal; font-size: 12px; color: #5F6672; }
.ap-open { display: flex; align-items: center; gap: 18px; padding: 20px 18px; border-top: 1px solid #E6E8EC; }
.ap-openn { font-size: 30px; font-weight: 600; width: 36px; }
.ap-open > div { display: flex; flex-direction: column; gap: 3px; flex: 1; }
.ap-open strong { font-size: 14px; font-weight: 500; }
.ap-open em { font-style: normal; font-size: 12px; color: #5F6672; }
.ap-mut { color: #5F6672; }
.ap-nexthead { display: flex; justify-content: space-between; }
.ap-navy { font-size: 13px; font-weight: 600; color: #1B2B4B; }
.ap-next { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 18px; border-top: 1px solid #E6E8EC; }
.ap-next > div { display: flex; gap: 12px; align-items: flex-start; min-width: 0; color: #3B414B; }
.ap-next > div > div { display: flex; flex-direction: column; gap: 3px; min-width: 0; color: #111; }
.ap-next strong { font-size: 13px; font-weight: 500; }
.ap-next em { font-style: normal; font-size: 11px; color: #5F6672; }
.ap-ghost { font-size: 12px; font-weight: 500; border: 1px solid #E6E8EC; border-radius: 6px; padding: 5px 10px; }
.ap-pri { font-family: var(--ns-sans); font-size: 11px; font-weight: 500; color: #5F6672; white-space: nowrap; display: inline-flex; align-items: center; gap: 5px; }
.ap-pri::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.ap-crit { color: #9F1D1D !important; }
.ap-status { display: flex; gap: 8px; align-items: center; font-size: 12px; }
.ap-statuspill { border: 1px solid #E6E8EC; border-radius: 999px; padding: 5px 10px; background: #fff; }
.ap-statuspill i { font-style: normal; color: #1E3A5F; }
.ap-statuspill b { font-weight: 500; }
.ap-statuspill em { font-style: normal; color: #5F6672; }
.ap-prodrow { display: grid; grid-template-columns: 200px repeat(3, minmax(0, 1fr)); overflow: hidden; }
.ap-prodimg { display: flex; align-items: center; justify-content: center; background: #FAFAFB; border-right: 1px solid #E6E8EC; padding: 24px 0; }
.ap-speaker { width: 150px; height: 84px; border-radius: 42px; background: linear-gradient(180deg, #3A3F47, #24272D); box-shadow: 0 14px 24px rgba(0,0,0,.18); position: relative; }
.ap-speaker i { position: absolute; inset: 12px 22px; border-radius: 30px; background-color: #2E3238; background-image: radial-gradient(#4A505A 1.2px, transparent 1.4px); background-size: 6px 6px; }
.ap-speaker b { position: absolute; top: -5px; left: 50%; transform: translateX(-50%); width: 46px; height: 7px; border-radius: 4px; background: #1D2025; }
.ap-prodcol { padding: 16px; display: flex; flex-direction: column; gap: 9px; border-right: 1px solid #E6E8EC; }
.ap-prodcol:last-child { border-right: 0; }
.ap-prodcol > strong { font-weight: 600; font-size: 14px; }
.ap-kv { display: flex; gap: 10px; font-size: 12px; }
.ap-kv span:first-child { width: 76px; color: #5F6672; flex: none; }
.ap-kv--wide span:first-child { width: 92px; }
.ap-kv u { text-decoration: underline dotted #C3C7CE; text-underline-offset: 3px; }
.ap-missing { color: #8A4B08; }
.ap-mkpill { font-size: 12px; border: 1px solid #E6E8EC; border-radius: 999px; padding: 3px 9px; align-self: flex-start; }
.ap-mkpill i { font-style: normal; font-size: 10px; color: #5F6672; }
.ap-tabs { display: flex; gap: 22px; font-size: 14px; border-bottom: 1px solid #E6E8EC; }
.ap-tabs span { padding: 8px 0; color: #5F6672; }
.ap-tabs span.is-on { border-bottom: 2px solid #1B2B4B; font-weight: 500; color: #111; }
.ap-tabs em { font-style: normal; font-size: 11px; color: #5F6672; }
.ap-table { overflow: hidden; }
.ap-wrow { display: grid; grid-template-columns: 90px minmax(0, 1fr) 170px 70px 90px; gap: 12px; align-items: center; padding: 11px 16px; border-top: 1px solid #E6E8EC; font-size: 12.5px; }
.ap-whead { border-top: 0; padding: 9px 16px; font-size: 11.5px; color: #5F6672; background: #FAFAFB; }
.ap-wtype { display: flex; align-items: center; gap: 6px; color: #3B414B; }
.ap-witem { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ap-witem em { font-style: normal; font-size: 11px; color: #5F6672; }
.ap-witem b { font-weight: 500; }
.ap-wrow code, .ap-kcard code { font-family: var(--ns-sans); font-size: 12px; color: #5F6672; }
.ap-filters { display: flex; gap: 8px; font-size: 12px; color: #3B414B; }
.ap-filter { border: 1px solid #E6E8EC; border-radius: 8px; padding: 7px 10px; background: #fff; }
.ap-filter--grow { flex: 1; color: #5F6672; }
.ap-filter b { font-weight: 500; }
.ap-board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; align-items: start; }
.ap-col { background: #F1F2F4; border-radius: 12px; padding: 10px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.ap-colhead { display: flex; align-items: center; gap: 8px; padding: 2px 4px; font-size: 13px; font-weight: 600; }
.ap-colhead i { font-style: normal; font-size: 11px; font-weight: 500; background: #fff; border-radius: 999px; padding: 1px 7px; color: #5F6672; }
.ap-kcard { background: #fff; border: 1px solid #E6E8EC; border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.ap-kcard.is-crit { border-left: 3px solid #9F1D1D; }
.ap-khead { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.ap-khead .ap-pri { margin-left: auto; }
.ap-qtag { font-style: normal; font-size: 11px; color: #1B2B4B; border: 1px solid #1B2B4B; border-radius: 5px; padding: 1px 6px; }
.ap-kcard > strong { font-size: 13.5px; font-weight: 600; line-height: 1.35; }
.ap-kreg { font-size: 11.5px; color: #3B414B; display: flex; align-items: center; gap: 6px; }
.ap-kreg i { width: 10px; height: 10px; border-radius: 2px; background: repeating-linear-gradient(135deg, #C9CDD3 0 2px, transparent 2px 4px); border: 1px solid #C9CDD3; }
.ap-kcard > em { font-style: normal; font-size: 11.5px; line-height: 1.45; color: #5F6672; }
.ap-kprod { font-size: 11px; background: #F3F4F6; border-radius: 6px; padding: 5px 8px; align-self: flex-start; }

/* ── What you get ─────────────────────────────────────────────────────── */
.h-out { padding: 160px 0 0; }
.h-map { background: #fff; border: 1px solid var(--ns-line); border-radius: 22px; padding: 22px; box-shadow: 0 1px 2px rgba(20,20,20,.03), 0 24px 60px rgba(20,20,20,.05); display: flex; flex-direction: column; gap: 8px; }
.h-map-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--ns-line-2); }
.h-map-head > div { display: flex; flex-direction: column; }
.h-map-head strong { font-weight: 600; font-size: 15px; }
.h-map-branch { border: 1px solid var(--ns-line-2); border-radius: 14px; padding: 12px 14px; }
.h-map-branch.is-open { background: #FCFBF8; }
.h-map-b { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.h-map-b strong { font-weight: 500; font-size: 14px; }
.h-map-mk { flex: none; align-self: center; font-style: normal; font-size: 11px; font-weight: 600; letter-spacing: .02em; line-height: 1.5; color: var(--ns-body-2); border: 1px solid var(--ns-line); border-radius: 999px; padding: 1px 8px; }
.h-map-b .ns-mono { font-size: 12.5px; color: var(--ns-muted); }
.h-map-b em { margin-left: auto; font-style: normal; font-size: 12px; color: var(--ns-muted-2); }
.h-map-leaf { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 0 0 4px; margin-top: 9px; border-top: 1px solid var(--ns-line-2); font-size: 13px; }
.h-map-leaf .ns-mono { font-size: 12.5px; color: var(--ns-muted); }
.h-map-src { font-size: 12px; text-decoration: underline; text-underline-offset: 3px; color: var(--ns-body-2); }
.h-gap { font-size: 11px; color: var(--ns-gold-ink); background: var(--ns-warn-bg); border: 1px solid var(--ns-warn-line); border-radius: 999px; padding: 2px 8px; }
.h-map-more { padding-top: 6px; }

/* ── Markets ──────────────────────────────────────────────────────────── */
.h-markets { padding: 160px 0 140px; }
/* Stacked (intro above the list) until both columns fit; the intro only pins
   while it sits beside the list, otherwise the list would scroll under it. */
.h-mk-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; align-items: start; }
.h-mk-left { display: flex; flex-direction: column; gap: 22px; }
@media (min-width: 1100px) {
  .h-mk-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; }
  .h-mk-left { position: sticky; top: 120px; }
}
.h-mk-left .ns-lead { max-width: 440px; font-size: 17px; }
/* Requirement library: tab list on the left, the selected kind on the right */
.h-lib-tabs { display: flex; flex-direction: column; margin-top: 8px; border-top: 1px solid var(--ns-line); }
.h-lib-tab { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 48px; padding: 10px 12px; margin: 0; border: 0; border-bottom: 1px solid var(--ns-line); background: none; font: 400 16px var(--ns-sans); color: var(--ns-muted); text-align: left; cursor: pointer; transition: background var(--ns-fast) var(--ns-ease-out); }
.h-lib-tab:hover { color: var(--ns-ink); background: rgba(20,20,20,.03); }
.h-lib-tab[aria-selected="true"] { color: var(--ns-ink); font-weight: 500; background: #fff; box-shadow: inset 2px 0 0 var(--ns-ink); }
/* Legal status as plain text, not coloured badges */
.h-lib-badge { flex: none; font: 400 13px var(--ns-sans); color: var(--ns-muted); }
.h-lib-tab[aria-selected="true"] .h-lib-badge { color: var(--ns-body-2); }
.h-lib-panels { display: grid; }
.h-lib-panel { grid-area: 1 / 1; }
/* keep the card as tall as the longest panel so it does not jump */
.h-lib-panel[hidden] { display: block; visibility: hidden; }
.h-lib-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 22px 0 16px; border-bottom: 1px solid var(--ns-ink); }
.h-lib-title { margin: 0; font-family: var(--ns-display); font-weight: 300; font-size: 40px; letter-spacing: -1.4px; line-height: 1.05; }
.h-lib-status { font: 400 14px var(--ns-sans); color: var(--ns-muted); }
.h-lib-def { margin: 18px 0 8px; font-size: 16px; line-height: 1.6; color: var(--ns-body-2); max-width: 620px; }
.h-lib-list { list-style: none; margin: 0; padding: 0; }
.h-lib-note { margin: 18px 0 0; max-width: 420px; font-size: 13px; line-height: 1.5; color: var(--ns-muted); text-wrap: pretty; }
.h-lib-note a { color: var(--ns-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.h-lib-list li { display: grid; grid-template-columns: minmax(0, 150px) minmax(0, 1fr) auto; gap: 14px; align-items: baseline; padding: 13px 0; border-bottom: 1px solid var(--ns-line-2); }
.h-lib-ref { font-size: 13.5px; color: var(--ns-body-2); }
.h-lib-name { font-size: 16px; }
.h-lib-who { font-size: 13px; color: var(--ns-muted-2); text-align: right; }
.h-lib-use { margin: 18px 0 0; font-size: 15px; line-height: 1.6; color: var(--ns-body-2); }
.h-lib-use strong { font-weight: 600; color: var(--ns-ink); }
.h-lib-foot { margin: 20px 0 0; padding-top: 16px; border-top: 1px solid var(--ns-line-2); font-size: 13.5px; line-height: 1.55; color: var(--ns-muted-2); }
.h-mk-card { min-width: 0; background: #fff; border: 1px solid var(--ns-line); border-radius: 28px; padding: 12px 32px 20px; box-shadow: 0 1px 2px rgba(20,20,20,.03), 0 24px 60px rgba(20,20,20,.05); }

/* ── Comparison and proof ─────────────────────────────────────────────── */
.h-cmp { background: var(--ns-warm); }
.h-cmp-inner { padding-top: 128px; padding-bottom: 128px; display: flex; flex-direction: column; gap: 64px; }
.h-cmp-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; }
.h-cmp-head .ns-h2 { max-width: 940px; }
.h-cmp-fig { display: flex; flex-direction: column; gap: 14px; }
.h-cmp-big { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 20px; }
.h-cmp-big .ns-big { color: var(--ns-ink); }
.h-cmp-big .ns-lead { font-size: 16px; max-width: 420px; }
.h-cmp-chart { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.h-cmp-row { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 20px; align-items: center; }
.h-cmp-rl { display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: var(--ns-muted); }
.h-cmp-rl b { font-weight: 500; font-size: 17px; color: var(--ns-ink); }
.h-cmp-track { position: relative; display: block; height: 44px; border-radius: 14px; background: rgba(255,255,255,.45); border: 1px solid rgba(255,255,255,.9); overflow: hidden; }
.h-cmp-bar { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 13px; transition: width 1.6s var(--ns-ease); }
.h-cmp-bar--old { background: repeating-linear-gradient(135deg, rgba(20,20,20,.16) 0 10px, rgba(20,20,20,.06) 10px 20px); }
.h-cmp-bar--new { background: var(--ns-ink); transition-duration: .7s; transition-delay: .9s; }
.h-cmp-chart.is-in .h-cmp-bar--old { width: 100%; }
.h-cmp-chart.is-in .h-cmp-bar--new { width: 17.6%; }
.h-cmp-ticks { position: relative; display: block; height: 18px; }
.h-cmp-ticks span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
.h-cmp-ticks span:first-child { transform: none; }
.h-cmp-pairs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.h-cmp-pair { display: grid; grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr); align-items: stretch; }
.h-cmp-card { display: flex; flex-direction: column; gap: 10px; padding: 26px 28px; border-radius: 20px; }
.h-cmp-card .ns-text { font-size: 15px; line-height: 1.6; }
.h-cmp-card--old { border: 1px solid rgba(20,20,20,.12); }
.h-cmp-card--old .ns-h4 { color: var(--ns-body-2); }
.h-cmp-card--new { background: #fff; border: 1px solid var(--ns-line); box-shadow: 0 1px 2px rgba(20,20,20,.03), 0 18px 40px rgba(20,20,20,.06); }
.h-cmp-tag { font: 500 13px var(--ns-sans); color: var(--ns-muted); }
.h-cmp-tag--new { color: var(--ns-ink); }
.h-cmp-arrow { display: flex; align-items: center; justify-content: center; color: var(--ns-muted); }
.h-quote { margin: 24px 0 0; display: flex; flex-direction: column; gap: 18px; max-width: 980px; }
.h-quote blockquote { margin: 0; font-family: var(--ns-display); font-weight: 300; font-size: 40px; letter-spacing: -1.4px; line-height: 1.2; }
.h-quote figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 15px; color: var(--ns-body-2); }
.h-quote figcaption > span { width: 40px; height: 1px; background: var(--ns-ink); }
.h-quote figcaption a { color: var(--ns-ink) !important; text-underline-offset: 4px; }

/* ── Why NormScout table ──────────────────────────────────────────────── */
.h-why { padding: 160px 0 140px; }
.h-why-tabs { display: flex; width: fit-content; max-width: 100%; margin: 0 auto 28px; }
.h-why-table { position: relative; background: #fff; border: 1px solid var(--ns-line); border-radius: 22px; overflow: hidden; box-shadow: 0 1px 2px rgba(20,20,20,.03), 0 24px 60px rgba(20,20,20,.05); }
.h-why-table[hidden] { display: none; }
.h-why-table::before { content: ""; position: absolute; top: 0; bottom: 0; left: 31%; width: 25%; pointer-events: none; background: rgba(20,20,20,.025); border-left: 1px solid var(--ns-ink); border-right: 1px solid var(--ns-ink); }
.h-why-row { display: grid; grid-template-columns: 31% 25% 22% 22%; border-top: 1px solid var(--ns-line-2); }
.h-why-row--head { border-top: 0; }
.h-why-cell { position: relative; display: flex; align-items: flex-start; gap: 10px; padding: 17px 20px; font-size: 14.5px; line-height: 1.45; color: var(--ns-body-2); }
.h-why-row--head .h-why-cell { font-size: 13px; color: var(--ns-muted-2); align-items: center; }
.h-why-row--head .h-why-cell.is-ns { color: var(--ns-ink); font-weight: 600; }
.h-why-cap { color: var(--ns-ink); font-weight: 500; }
.h-why-cell.is-ns { color: var(--ns-ink); font-weight: 500; }
.h-st { flex: none; width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; line-height: 1; margin-top: -1px; }
.h-st--y { background: #ECEAE4; color: var(--ns-ink); }
.is-ns .h-st--y { background: var(--ns-ink); color: #fff; }
.h-st--p { background: #F4EFE3; color: var(--ns-gold-ink); }
.h-st--n { background: #F3F2EE; color: #8C887F; }
.h-st--s { background: #fff; color: var(--ns-gold-ink); box-shadow: inset 0 0 0 1.5px var(--ns-gold); }
.h-why-note { text-align: center; margin: 14px 0 0; font-size: 12.5px; color: var(--ns-muted-2); }
.h-why-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 56px; }
.h-why-card { display: flex; flex-direction: column; gap: 12px; padding: 28px; border: 1px solid var(--ns-line); border-radius: 22px; background: #fff; }
.h-why-card .ns-text { font-size: 15px; }
.h-why-card .h-link { margin-top: auto; padding-top: 6px; }

/* ── Built to be defended ─────────────────────────────────────────────── */
.h-def { padding: 128px 0; }
.h-def-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.h-def-card { display: flex; flex-direction: column; gap: 12px; padding: 22px; background: #fff; border: 1px solid rgba(255,255,255,.9); border-radius: 22px; box-shadow: 0 16px 40px rgba(20,20,20,.05); }
.h-def-card .ns-h4 { font-size: 21px; }
.h-def-card .ns-text { font-size: 14.5px; }
.h-def-vis { min-height: 148px; background: var(--ns-paper); border-color: var(--ns-line-2); padding: 14px; display: flex; flex-direction: column; gap: 9px; justify-content: center; box-sizing: border-box; margin-bottom: 6px; font-size: 13px; }
.h-def-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.h-def-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.h-def-chips .ns-pill { font-size: 12px; padding: 4px 9px; }
.h-def-lines { display: flex; flex-direction: column; gap: 6px; }
.h-def-lines i { display: block; height: 5px; border-radius: 3px; background: rgba(20,20,20,.09); }
.h-def-verify { align-self: flex-start; font-size: 12px; color: var(--ns-gold-ink); background: var(--ns-warn-bg); border: 1px solid var(--ns-warn-line); border-radius: 999px; padding: 3px 9px; }
.h-def-check { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.h-def-check.is-open { color: var(--ns-muted); }

/* ── Why now ──────────────────────────────────────────────────────────── */
.h-now { padding: 160px 0 0; }
.h-now-line { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.h-now-line li { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 26px 16px 0 0; border-top: 1px solid var(--ns-ink); font-size: 15px; color: var(--ns-body-2); }
.h-now-line li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--ns-ink); }
.h-now-year { font-family: var(--ns-display); font-weight: 300; font-size: 44px; letter-spacing: -1.8px; line-height: 1; color: var(--ns-ink); }

/* ── Security ─────────────────────────────────────────────────────────── */
.h-sec { padding: 160px 0 140px; }
.h-sec-cards { display: flex; flex-direction: column; }
.h-sec-card { display: flex; gap: 18px; padding: 22px 0; border-top: 1px solid var(--ns-line); }
.h-sec-card:first-child { border-top: 0; padding-top: 0; }
.h-sec-ic { flex: none; width: 44px; height: 44px; border-radius: 12px; background: #fff; border: 1px solid var(--ns-line); display: flex; align-items: center; justify-content: center; }
.h-sec-card h3 { margin: 0 0 4px; font-size: 17px; font-weight: 600; }
.h-sec-card .ns-text { font-size: 15px; }
.h-sec-team { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--ns-line); display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; }
.h-sec-badges { display: flex; gap: 8px; }
.h-sec-team p { margin: 0; flex: 1 1 420px; font-family: var(--ns-display); font-weight: 300; font-size: 24px; line-height: 1.35; letter-spacing: -.5px; }

/* ── Pricing ──────────────────────────────────────────────────────────── */
.h-plans { padding: 160px 0 140px; }
.h-plans-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.h-plan { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 30px 28px 28px; background: #fff; border: 1px solid var(--ns-line); border-radius: 22px; }
.h-plan.is-featured { border: 1.5px solid var(--ns-ink); box-shadow: 0 24px 60px rgba(20,20,20,.08); }
.h-plan-pop { position: absolute; top: -13px; left: 28px; font-size: 12px; font-weight: 500; color: var(--ns-paper); background: var(--ns-ink); border-radius: 999px; padding: 4px 11px; }
.h-plan-fit { display: flex; flex-direction: column; gap: 6px; margin: 10px 0 6px; padding-bottom: 18px; border-bottom: 1px solid var(--ns-line); }
.h-plan-price { margin: 0; font-family: var(--ns-display); font-weight: 300; font-size: 30px; line-height: 1.15; letter-spacing: -.9px; text-wrap: balance; }
.h-plan-scope { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ns-muted); }
@media (min-width: 761px) { .h-plan-scope { min-height: 3em; } }  /* two lines everywhere, so the dividers line up */
.h-plan .h-ticks { margin: 4px 0 20px; flex: 1; }
.h-plan .h-ticks li { font-size: 15px; }
.h-plan-cta { width: 100%; }
.h-plan-free { align-self: center; font-size: 14px; margin-top: 4px; }

/* ── MCP ──────────────────────────────────────────────────────────────── */
.h-mcp { padding: 112px 0; }
.h-mcp-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.h-mcp-grid > div:first-child { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.h-mcp-title { font-size: 52px; letter-spacing: -2px; line-height: 1.04; }
.h-mcp-card { padding: 28px; background: #fff; border-radius: 22px; box-shadow: 0 1px 2px rgba(20,20,20,.03), 0 24px 60px rgba(20,20,20,.06); }
.h-mcp-card .ns-small { margin: 12px 0 0; font-size: 13px; }

/* ── FAQ ──────────────────────────────────────────────────────────────── */
.h-faq { padding: 160px 0 96px; }
.h-faq-grid { display: flex; flex-wrap: wrap; gap: 72px; align-items: flex-start; }
.h-faq-left { flex: 1 1 320px; display: flex; flex-direction: column; gap: 18px; }
.h-faq-left .ns-lead { font-size: 17px; max-width: 360px; }
.h-faq-left a { color: var(--ns-ink) !important; text-underline-offset: 4px; }
.h-faq-list { flex: 2 1 600px; min-width: 0; border-top: 1px solid var(--ns-ink); }
.h-faq-item { border-bottom: 1px solid #E3E0D8; }
.h-faq-item h3 { margin: 0; font: inherit; }
.h-faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; background: none; border: 0; text-align: left; cursor: pointer; font: 400 21px/1.35 var(--ns-sans); letter-spacing: -.3px; color: var(--ns-ink); }
.h-faq-icon { flex: none; font-size: 26px; font-weight: 300; line-height: 1; transition: transform var(--ns-base) var(--ns-ease-out); }
.h-faq-q[aria-expanded="true"] .h-faq-icon { transform: rotate(45deg); }
.h-faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--ns-base) var(--ns-ease-in-out); }
.h-faq-a.is-open { grid-template-rows: 1fr; }
.h-faq-a > div { min-height: 0; overflow: hidden; }
.h-faq-a p { margin: 0; padding: 0 64px 24px 0; max-width: 70ch; font-size: 16px; line-height: 1.65; color: var(--ns-body-2); }

/* ── Closing CTA ──────────────────────────────────────────────────────── */

/* ── Demo form ────────────────────────────────────────────────────────── */
.h-demo { padding: 112px 0; margin-bottom: 16px; }
.h-form { display: flex; flex-direction: column; gap: 16px; padding: 30px; background: #fff; border: 1px solid var(--ns-line); border-radius: 22px; box-shadow: 0 1px 2px rgba(20,20,20,.03), 0 24px 60px rgba(20,20,20,.05); }
.h-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.h-field label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.h-opt { font-weight: 400; color: var(--ns-muted-2); }
.h-form-submit { width: 100%; }

/* ── Newsletter ───────────────────────────────────────────────────────── */
.h-nl { padding: 96px 0 120px; }
.h-nl-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px 48px; }
.h-nl-inner > div { display: flex; flex-direction: column; gap: 6px; max-width: 520px; }
.h-nl-form { flex: 1 1 360px; max-width: 460px; display: block; }  /* legacy style.css made it a flex row */
body.ns .h-nl-form .form-status { position: static; }

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 370px) {  /* the text link wraps under the button: keep it flush left */
  .h-hero-ctas .ns-btn--text { padding-inline: 0; }
}
@media (max-width: 1100px) {
  .h-def-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .h-split, .h-mcp-grid { grid-template-columns: 1fr; gap: 40px; }
  .h-story-grid { gap: 40px; }
}
/* Stacked scroll story: heading, then the card (not sticky), then the
   steps at full opacity. The document backdrop is hidden. */
@media (max-width: 960px) {
  .h-story-grid { flex-direction: column; gap: 0; }
  .h-story-left { display: contents; }
  .h-story-intro { order: 1; padding-top: 64px; padding-bottom: 28px; }
  .h-story-right { order: 2; position: static; width: 100%; padding: 0 0 16px; }
  .h-step { order: 3; min-height: 0; padding: 32px 0; }
  .h-step:last-child { padding-bottom: 64px; }
  .h-step-inner { opacity: 1; transform: none; }
  .h-step-line { display: none; }
  .h-story-docs { display: none; }
}
@media (max-width: 760px) {
  .ns-h1 { font-size: 56px; letter-spacing: -2.2px; line-height: 1; }
  .ns-h2, .h-mcp-title { font-size: 38px; letter-spacing: -1.4px; line-height: 1.05; }
  .ns-h2--60 { font-size: 38px; }
  .ns-h3 { font-size: 34px; letter-spacing: -1.2px; }
  .ns-big { font-size: 64px; letter-spacing: -2.6px; }
  .h-video-title { font-size: 30px; letter-spacing: -1px; }
  .h-quote blockquote { font-size: 28px; letter-spacing: -.8px; }
  .h-now-year, .h-score span { font-size: 34px; }

  .h-hero-top { padding-top: 32px; gap: 24px; }
  #h-hero-title { font-size: 44px; letter-spacing: -1.7px; line-height: 1.02; }
  html[lang="de"] #h-hero-title { font-size: 37px; letter-spacing: -1.3px; }  /* long German compounds without hyphenating */
  .h-announce-long { display: none; }
  .h-announce-short { display: inline; }
  .h-stage { height: auto; margin-top: 28px; padding: 0 16px; }
  .h-stage-docs { display: none; }
  .h-panel { position: static; transform: none; width: 100%; padding: 18px; }
  .h-desc { font-size: 19px; padding: 16px; }
  .h-trust { padding-top: 20px; justify-content: flex-start; gap: 6px 20px; }

  .h-video, .h-tour, .h-out, .h-now { padding-top: 96px; }
  .h-markets, .h-why, .h-plans, .h-faq, .h-sec { padding: 96px 0; }
  .h-nl { padding: 64px 0 80px; }
  .h-story { margin-top: 96px; }
  .h-appstage { padding: 20px 20px 0; border-radius: 24px; }
  .ap-side { display: none; }  /* phones open on the screen's content, not the app menu */
  .ap-viewport { min-width: 860px; }
  .h-card-head { flex-direction: column; align-items: flex-start; gap: 6px; }
  .h-dots { margin-left: -8px; }
  .h-mk-card { padding: 4px 18px 16px; border-radius: 22px; }
  .h-lib-tabs { flex-direction: row; flex-wrap: wrap; gap: 8px; border-top: 0; }
  .h-lib-tab { width: auto; min-height: 40px; padding: 8px 14px; border: 1px solid rgba(20,20,20,.15); border-radius: 999px; font-size: 14px; }
  .h-lib-tab .h-lib-badge { display: none; }
  .h-lib-tab[aria-selected="true"] { background: var(--ns-ink); color: var(--ns-paper); border-color: var(--ns-ink); box-shadow: none; }
  .h-lib-panel[hidden] { display: none; }
  .h-lib-title { font-size: 30px; letter-spacing: -1px; }
  .h-lib-list li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .h-lib-who { text-align: left; }
  .h-cmp-inner { padding-top: 72px; padding-bottom: 72px; gap: 40px; }
  .h-cmp-row { grid-template-columns: 92px minmax(0, 1fr); gap: 12px; }
  .h-cmp-rl b { font-size: 15px; }
  .h-cmp-track { height: 36px; border-radius: 12px; }
  .h-cmp-ticks span:not(:first-child):not(:last-child) { display: none; }
  .h-cmp-ticks span:last-child { transform: translateX(-100%); }
  .h-cmp-pairs { gap: 28px; }
  .h-cmp-pair { grid-template-columns: minmax(0, 1fr); }
  .h-cmp-arrow { height: 32px; transform: rotate(90deg); }
  .h-cmp-card { padding: 22px; }
  .h-why-cards, .h-plans-grid { grid-template-columns: 1fr; }
  .h-plans-grid { gap: 28px; }
  .h-def { padding: 72px 0; }
  .h-def-grid { grid-template-columns: 1fr; }
  .h-now-line { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .h-faq-grid { gap: 32px; }
  .h-faq-q { font-size: 18px; padding: 20px 0; }
  .h-faq-a p { padding-right: 0; }
  .h-demo { padding: 96px 0 80px; }
  .h-form { padding: 20px; }
  .h-form-row { grid-template-columns: 1fr; }
  .h-inline { flex-direction: column; }
  .h-mcp { padding: 64px 0; }
  .ns-seg { max-width: 100%; }
  .ns-seg-btn { padding: 0 14px; font-size: 14px; }
  .h-sec-team p { font-size: 20px; }

  /* Comparison table: rows become stacked cards; each cell names its column */
  .h-why-tabs { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; }
  .h-why-tabs .ns-seg-btn { white-space: normal; font-size: 13px; line-height: 1.25; padding: 6px; }
  .h-why-table { border: 0; border-radius: 0; overflow: visible; background: transparent; box-shadow: none; }
  .h-why-table::before { display: none; }
  .h-why-row--head { display: none; }
  .h-why-row { grid-template-columns: 1fr; border: 1px solid var(--ns-line); border-radius: 16px; margin-bottom: 12px; background: #fff; overflow: hidden; }
  .h-why-cell { padding: 10px 18px; }
  .h-why-cap { padding-top: 16px; font-size: 15.5px; }
  .h-why-cell[data-col] { flex-wrap: wrap; }
  .h-why-cell[data-col] > span:last-child { flex: 1; min-width: 0; }
  .h-why-cell[data-col]::before { content: attr(data-col); flex-basis: 100%; font-size: 12px; font-weight: 500; color: var(--ns-muted-2); }
  .h-why-cell.is-ns { background: rgba(20,20,20,.03); border-left: 3px solid var(--ns-ink); }
  .h-why-cell:last-child { padding-bottom: 16px; }
}

.h-announce:active, .h-lib-tab:active, .h-faq-q:active { transform: scale(.99); }
.h-lib-tab, .h-faq-q { transition: background var(--ns-fast) var(--ns-ease-out), transform .1s var(--ns-ease-out); }
.h-quote figcaption a { display: inline-flex; align-items: center; min-height: 44px; }

/* ── Hero: facts and laws are linked (tap one, the other lights up) ───── */
.h-fact { font: inherit; color: inherit; letter-spacing: inherit; background: none; border: 0; padding: 0 1px; margin: 0 -1px; border-radius: 4px; cursor: pointer; -webkit-box-decoration-break: clone; box-decoration-break: clone;
  text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 6px; text-decoration-color: rgba(20,20,20,.4);
  transition: background-color .24s var(--ns-ease-out), text-decoration-color .24s var(--ns-ease-out); }
.h-fact:hover { text-decoration-color: var(--ns-ink); }
.h-fact.is-on { background: rgba(141,162,232,.28); text-decoration-color: #3352B5; }
.h-fact:active { transform: none; }
.h-law { font: inherit; font-size: 13px; cursor: pointer; transition: background-color .24s var(--ns-ease-out), color .24s var(--ns-ease-out), border-color .24s var(--ns-ease-out), transform .1s var(--ns-ease-out); }
.h-law:hover { border-color: rgba(20,20,20,.3); }
.h-law.is-on { background: var(--ns-ink); color: var(--ns-paper); border-color: var(--ns-ink); }
.h-law.is-dim { color: var(--ns-muted-2); }
.h-law:active, .h-more:active { transform: scale(.97); }
.h-law[hidden] { display: none; }
.h-more { font: inherit; font-size: 13px; cursor: pointer; transition: background-color .24s var(--ns-ease-out), color .24s var(--ns-ease-out); }
.h-more.is-on { background: var(--ns-ink); color: var(--ns-paper); border-color: var(--ns-ink); }
.h-why-line { margin: -6px 0 0; min-height: 42px; font-size: 14px; line-height: 1.5; color: var(--ns-body-2); transition: opacity .22s var(--ns-ease-out); }
.h-why-line.is-empty { opacity: 0; }
.is-intro .h-fact, .is-intro .h-law, .is-intro .h-more { pointer-events: none; }
.h-why-line b { font-weight: 600; color: var(--ns-ink); }
/* the matching line in the documents behind the panel */
.h-stage-docs .ns-doc u { transition: background-color .28s var(--ns-ease-out); border-radius: 2px; }
.h-stage-docs .ns-doc u.is-hit { background: rgba(141,162,232,.45); text-decoration-color: #3352B5; }

.h-quote-link { margin-left: 12px; }

/* ── Motion (ns-home.js). All of it is skipped under reduced motion. ── */
/* scroll reveals */
.rv { opacity: 0; translate: 0 18px; transition: opacity .7s var(--ns-ease-out), translate .7s var(--ns-ease-out); transition-delay: var(--rv-d, 0ms); }
.rv.rv-in { opacity: 1; translate: none; }
/* tab switches: rows of the new panel rise in */
.h-lib-panel.is-swap .h-lib-head, .h-lib-panel.is-swap .h-lib-def, .h-lib-panel.is-swap .h-lib-list li, .h-lib-panel.is-swap .h-lib-use,
.h-why-table.is-swap .h-why-row { animation: ns-rise .38s var(--ns-ease-out) both; }
.h-lib-panel.is-swap .h-lib-def { animation-delay: 30ms; }
.h-lib-panel.is-swap .h-lib-list li:nth-child(1), .h-why-table.is-swap .h-why-row:nth-child(2) { animation-delay: 60ms; }
.h-lib-panel.is-swap .h-lib-list li:nth-child(2), .h-why-table.is-swap .h-why-row:nth-child(3) { animation-delay: 95ms; }
.h-lib-panel.is-swap .h-lib-list li:nth-child(3), .h-why-table.is-swap .h-why-row:nth-child(4) { animation-delay: 130ms; }
.h-lib-panel.is-swap .h-lib-list li:nth-child(4), .h-why-table.is-swap .h-why-row:nth-child(5) { animation-delay: 165ms; }
.h-lib-panel.is-swap .h-lib-list li:nth-child(5), .h-why-table.is-swap .h-why-row:nth-child(6) { animation-delay: 200ms; }
.h-lib-panel.is-swap .h-lib-list li:nth-child(6) { animation-delay: 235ms; }
.h-lib-panel.is-swap .h-lib-use { animation-delay: 260ms; }
/* reasoning cards: bar and lines draw, chips and checks appear */
.h-def-grid.anim-pre .h-checked-bar span, .h-def-grid.anim-pre .h-def-lines i { transform: scaleX(0); transform-origin: left center; }
.h-def-grid.anim-pre .h-def-chips .ns-pill, .h-def-grid.anim-pre .h-def-check, .h-def-grid.anim-pre .ns-tag-ok, .h-def-grid.anim-pre .h-def-verify { opacity: 0; translate: 0 6px; }
.h-def-grid.anim-go .h-checked-bar span, .h-def-grid.anim-go .h-def-lines i { transform: none; transition: transform .9s var(--ns-ease-out) .35s; }
.h-def-grid.anim-go .h-def-lines i:nth-child(2) { transition-delay: .5s; }
.h-def-grid.anim-go .h-def-lines i:nth-child(3) { transition-delay: .65s; }
.h-def-grid.anim-go .h-def-chips .ns-pill, .h-def-grid.anim-go .h-def-check, .h-def-grid.anim-go .ns-tag-ok, .h-def-grid.anim-go .h-def-verify { opacity: 1; translate: none; transition: opacity .4s var(--ns-ease-out) .4s, translate .4s var(--ns-ease-out) .4s; }
.h-def-grid.anim-go .h-def-chips .ns-pill:nth-child(2), .h-def-grid.anim-go .h-def-check:nth-child(2) { transition-delay: .6s; }
.h-def-grid.anim-go .h-def-chips .ns-pill:nth-child(3), .h-def-grid.anim-go .h-def-check:nth-child(3) { transition-delay: .8s; }
.h-def-grid.anim-go .ns-tag-ok { transition-delay: .9s; }
.h-def-grid.anim-go .h-def-verify { transition-delay: 1.1s; }
/* app dashboard: meters fill */
.h-appstage.anim-pre .ap-meter span { transform: scaleX(0); transform-origin: left center; }
.h-appstage.anim-go .ap-meter span { transform: none; transition: transform 1s var(--ns-ease-out) .3s; }
