/* NexgenReport — registry editorial system */

:root {
    --ink: #333333;
    --ink-soft: #4f4f4f;
    --muted: #6d6d6d;
    --paper: #f6f7f5;
    --paper-2: #e9ece8;
    --white: #ffffff;
    --line: #d7dbd6;
    --line-strong: rgba(51, 51, 51, 0.82);
    --pine: #168952;
    --pine-deep: #2a2a2a;
    --pine-mid: #1a9d5e;
    --copper: #127246;
    --plate: #1d4e89;
    --copper-deep: #0f6840;
    --cream: #f7f8f6;
    --danger: #8e2e2e;
    --ok: #0f6840;
    --font-display: "IBM Plex Sans", "Avenir Next", "Segoe UI", sans-serif;
    --font-body: "IBM Plex Sans", "Avenir Next", "Segoe UI", sans-serif;
    --font-mono: "IBM Plex Mono", ui-monospace, monospace;
    --header-h: 5.15rem;
    --container: 72rem;
    --gutter: clamp(1.15rem, 3vw, 2.25rem);
    --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
    --shadow: 0 24px 50px rgba(51, 51, 51, 0.12);
    --bp-nav: 980px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 93.75%;
    -webkit-text-size-adjust: 100%;
}

body.nx-body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
    overflow-x: clip;
}

img,
video {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
}

button,
input {
    font: inherit;
}

h1, h2, h3, h4, p {
    margin: 0;
}

ul, ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

:focus-visible {
    outline: 2px solid var(--copper);
    outline-offset: 3px;
}

::selection {
    background: #d7efe4;
    color: var(--ink);
}

.nx-sr,
.nx-sr:not(:empty) {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.nx-skip {
    position: absolute;
    left: 1rem;
    top: 0;
    transform: translateY(-120%);
    background: var(--white);
    color: var(--ink);
    padding: 0.7rem 1rem;
    z-index: 10001;
}

.nx-skip:focus {
    transform: none;
}

.nx-container {
    width: min(var(--container), calc(100% - var(--gutter) * 2));
    margin-inline: auto;
}

.nx-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 2.85rem;
    padding: 0.7rem 1.15rem;
    border: 1px solid transparent;
    background: transparent;
    color: inherit;
    text-decoration: none;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.nx-btn-primary {
    background: var(--copper);
    color: var(--cream);
    border-color: var(--copper);
}

.nx-btn-primary:hover {
    background: var(--copper-deep);
    border-color: var(--copper-deep);
}

.nx-btn-line {
    border-color: var(--line-strong);
    color: var(--ink);
}

.nx-btn-line:hover {
    background: var(--ink);
    color: var(--cream);
}

.nx-btn-light {
    background: var(--cream);
    color: var(--pine-deep);
}

.nx-btn-light:hover {
    background: var(--white);
}

/* Header */

.nx-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(246, 247, 245, 0.94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
}

.nx-header:has(.is-scrolled) {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 12px 30px rgba(51, 51, 51, 0.06);
}

.nx-header {
    border-bottom: 1px solid var(--line);
}

.nx-progress {
    position: absolute;
    left: 0;
    top: 0;
    height: 2px;
    width: 100%;
    background: var(--copper);
    transform: scaleX(0);
    transform-origin: left center;
}

.nx-nav-inner {
    width: min(var(--container), calc(100% - var(--gutter) * 2));
    margin-inline: auto;
    min-height: var(--header-h);
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nx-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: var(--ink);
    flex: 0 0 auto;
    line-height: 0;
}

.nx-brand img {
    height: 3.7rem;
    width: auto;
    max-width: none;
}

.nx-nav-links {
    display: flex;
    align-items: center;
    gap: 1.35rem;
    margin-left: auto;
}

.nx-nav-link {
    text-decoration: none;
    font-size: 0.92rem;
    color: var(--ink-soft);
    padding: 0.35rem 0;
    background-image: linear-gradient(var(--copper), var(--copper));
    background-repeat: no-repeat;
    background-size: 0 1px;
    background-position: 0 100%;
    transition: color 0.2s var(--ease), background-size 0.25s var(--ease);
}

.nx-nav-link:hover,
.nx-nav-link[aria-current="true"] {
    color: var(--ink);
    background-size: 100% 1px;
}

.nx-nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nx-nav-mail {
    text-decoration: none;
    font-size: 0.92rem;
    color: var(--ink-soft);
}

.nx-nav-mail:hover {
    color: var(--ink);
}

.nx-menu-toggle {
    display: none;
    margin-left: auto;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    background: transparent;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.nx-burger,
.nx-burger::before,
.nx-burger::after {
    display: block;
    width: 1.05rem;
    height: 1px;
    background: var(--ink);
    position: relative;
}

.nx-burger::before,
.nx-burger::after {
    content: "";
    position: absolute;
    left: 0;
}

.nx-burger::before { top: -6px; }
.nx-burger::after { top: 6px; }

.nx-mobile[hidden],
.nx-overlay[hidden] {
    display: none !important;
}

.nx-overlay {
    position: fixed;
    inset: 0;
    background: rgba(19, 40, 36, 0.46);
    z-index: 60;
    opacity: 0;
    transition: opacity 0.35s var(--ease);
}

.nx-overlay.is-open { opacity: 1; }

.nx-mobile {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: min(100%, 24rem);
    background: var(--white);
    z-index: 70;
    display: flex;
    flex-direction: column;
    padding: 1.25rem 1.4rem 2rem;
    transform: translateX(104%);
    transition: transform 0.45s var(--ease);
    box-shadow: var(--shadow);
}

.nx-mobile.is-open { transform: none; }

.nx-mobile-top,
.nx-mobile-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.nx-mobile-kicker {
    font-family: var(--font-display);
    font-size: 1.35rem;
    letter-spacing: -0.03em;
}

.nx-mobile-close {
    border: 0;
    background: transparent;
    cursor: pointer;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.75rem;
    color: var(--ink-soft);
}

.nx-mobile-links {
    display: flex;
    flex-direction: column;
    margin-top: 2.5rem;
    border-top: 1px solid var(--line);
}

.nx-mobile-links a {
    text-decoration: none;
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 5vw, 1.9rem);
    letter-spacing: -0.03em;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
}

.nx-mobile-meta {
    margin-top: auto;
    flex-direction: column;
    align-items: stretch;
    padding-top: 1.5rem;
}

.nx-mobile-mail {
    color: var(--ink-soft);
    text-decoration: none;
    overflow-wrap: anywhere;
}

.nx-mobile .nx-btn { width: 100%; }

body.nav-open { overflow: hidden; }

/* Hero */

.nx-hero {
    padding: clamp(2.2rem, 5vw, 4.5rem) 0 clamp(3rem, 6vw, 5.5rem);
}

.nx-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(16rem, 0.85fr);
    gap: clamp(2rem, 4vw, 4.5rem);
    align-items: stretch;
}

.nx-kicker {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--copper-deep);
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 1.1rem;
}

.nx-kicker::before {
    content: "";
    width: 1.6rem;
    height: 1px;
    background: var(--plate);
}

.nx-hero h1,
.nx-display {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(2.35rem, 4.4vw, 4.05rem);
    line-height: 1.08;
    letter-spacing: -0.025em;
}

.nx-lede {
    margin-top: 1.25rem;
    max-width: 38rem;
    color: var(--ink-soft);
    font-size: 1rem;
}

.nx-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.6rem;
}

.nx-hero .nx-plate {
    margin-top: 1.85rem;
}

.nx-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.6rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--line);
    max-width: 36rem;
}

.nx-facts div { min-width: 0; }

.nx-facts dt {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}

.nx-facts dd {
    margin: 0.2rem 0 0;
    font-family: var(--font-display);
    font-size: 1.2rem;
    letter-spacing: -0.03em;
}

.nx-stage {
    display: flex;
    flex-direction: column;
    border: 2px solid var(--ink);
    background: #f7f8f6;
    color: var(--ink);
    overflow: hidden;
}

.nx-stage-film {
    position: relative;
    height: 9.25rem;
    background: var(--pine-deep);
    overflow: hidden;
}

.nx-stage-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.6s var(--ease);
}

.nx-stage-video.is-ready { opacity: 1; }

.nx-stage-file {
    display: grid;
    grid-template-columns: 2.55rem minmax(0, 1fr);
    flex: 1;
}

.nx-stage-band {
    display: grid;
    place-items: center;
    background: var(--copper);
    color: var(--cream);
}

.nx-stage-band span {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

.nx-specimen { padding: 1.15rem 1.15rem 1.05rem; }

.nx-specimen-kicker {
    font-size: 0.7rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--copper-deep);
}

.nx-specimen-title {
    max-width: 14ch;
    margin: 0.3rem 0 0.95rem;
    font-family: var(--font-display);
    font-size: clamp(1.45rem, 2vw, 1.85rem);
    font-weight: 600;
    line-height: 1.02;
    letter-spacing: -0.03em;
}

.nx-specimen ol {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, auto);
    grid-auto-flow: column;
    column-gap: 1.15rem;
    border-top: 1px solid var(--ink);
}

.nx-specimen li {
    display: flex;
    align-items: baseline;
    gap: 0.55rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.92rem;
}

.nx-specimen li span {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--copper-deep);
}

.nx-specimen-note {
    max-width: 36ch;
    margin-top: 0.8rem;
    color: var(--muted);
    font-size: 0.8rem;
}

/* Plate */

.nx-plate {
    background: var(--white);
    border: 1px solid var(--ink);
    padding: 0.85rem;
}

.nx-plate-top {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: baseline;
    margin-bottom: 0.55rem;
}

.nx-plate-label {
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.nx-plate-secure,
.nx-plate-note {
    color: var(--muted);
    font-size: 0.78rem;
}

.nx-plate-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    min-height: 3.4rem;
    background: #f7f7f5;
    border: 1px solid var(--ink);
}

.nx-plate-band {
    display: grid;
    place-items: center;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    background: #1d4e89;
    color: #fff;
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    padding: 0.35rem 0.28rem;
}

.nx-plate-input {
    width: 100%;
    height: 100%;
    min-height: 3rem;
    border: 0;
    background: transparent;
    padding: 0 0.9rem;
    font-family: var(--font-mono);
    font-size: 16px;
    letter-spacing: 0.04em;
    color: var(--ink);
    min-width: 0;
}

.nx-plate-input:focus {
    outline: none;
}

.nx-plate-row:focus-within {
    outline: 2px solid var(--copper);
    outline-offset: 2px;
}

.nx-plate-input.vsp-reg-invalid {
    color: var(--danger);
}

.nx-plate-submit {
    border: 0;
    border-left: 1px solid var(--ink);
    background: var(--copper);
    color: var(--cream);
    padding: 0 1.1rem;
    cursor: pointer;
    white-space: nowrap;
}

.nx-plate-submit:hover { background: var(--copper-deep); }

.nx-plate-foot {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.55rem;
}

.nx-feedback {
    margin: 0;
    font-size: 0.78rem;
    color: var(--muted);
}

.nx-feedback.is-error { color: var(--danger); }
.nx-feedback.is-success { color: var(--ok); }

/* Sections */

.nx-section {
    padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}

.nx-section-light { background: var(--paper); }
.nx-section-warm { background: var(--paper-2); }
.nx-section-white { background: var(--white); }

.nx-split {
    display: grid;
    grid-template-columns: minmax(14rem, 0.72fr) minmax(0, 1.28fr);
    gap: clamp(1.5rem, 4vw, 4rem);
    align-items: start;
}

.nx-sticky-intro {
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
}

.nx-section h2,
.nx-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(1.8rem, 3.05vw, 2.75rem);
    line-height: 1.12;
    letter-spacing: -0.025em;
}

.nx-intro-copy {
    margin-top: 1rem;
    color: var(--ink-soft);
    max-width: 28rem;
}

.nx-index {
    border-top: 1px solid var(--ink);
}

.nx-index article {
    display: grid;
    grid-template-columns: 4.5rem minmax(8rem, 0.45fr) minmax(0, 1fr);
    gap: 1rem;
    align-items: baseline;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--line);
}

.nx-index-num {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--copper-deep);
}

.nx-index h3 {
    font-family: var(--font-display);
    font-size: 1.55rem;
    font-weight: 600;
    letter-spacing: -0.03em;
}

.nx-index p { color: var(--ink-soft); }

/* Process */

.nx-process {
    background: var(--pine-deep);
    color: var(--cream);
}

.nx-process-head {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 2rem;
    align-items: end;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(246, 241, 232, 0.18);
}

.nx-process h2 { color: var(--cream); }

.nx-process-aside {
    color: rgba(246, 241, 232, 0.78);
    max-width: 28rem;
    justify-self: end;
}

.nx-process-aside a {
    display: inline-flex;
    margin-top: 1rem;
    color: var(--cream);
    text-underline-offset: 0.25em;
}

.nx-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 0.25rem;
}

.nx-step {
    padding: 1.6rem 1.4rem 0.4rem 0;
    border-right: 1px solid rgba(246, 241, 232, 0.16);
    margin-right: 1.4rem;
}

.nx-step:last-child {
    border-right: 0;
    margin-right: 0;
}

.nx-step-num {
    font-family: var(--font-display);
    font-size: 2.4rem;
    letter-spacing: -0.04em;
    color: #8fd4b0;
}

.nx-step h3 {
    margin: 0.8rem 0 0.45rem;
    font-size: 1.2rem;
    font-weight: 500;
}

.nx-step p {
    color: rgba(246, 241, 232, 0.74);
    font-size: 0.98rem;
}

.nx-process-foot {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem 2.5rem;
    margin-top: 2.2rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(246, 241, 232, 0.18);
    color: rgba(246, 241, 232, 0.8);
    font-size: 0.92rem;
}

.nx-process-foot strong {
    color: var(--cream);
    font-weight: 500;
    margin-right: 0.35rem;
}

/* Voices */

.nx-voices {
    background: var(--paper-2);
}

.nx-voices-head {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(14rem, 0.6fr);
    gap: clamp(1rem, 3vw, 3rem);
    align-items: end;
    margin-bottom: 1.75rem;
}

.nx-voices-head h2 { max-width: 14ch; }

.nx-voices-head p:last-child {
    margin: 0 0 0.4rem;
    color: var(--ink-soft);
}

.nx-voices-list {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--ink);
}

.nx-voices-list li {
    display: grid;
    grid-template-columns: 7.5rem minmax(0, 1fr) 11.5rem;
    gap: clamp(0.8rem, 2vw, 1.75rem);
    align-items: start;
    padding: 1.15rem 0 1.2rem;
    border-bottom: 1px solid var(--line);
}

.nx-voice-place {
    padding-top: 0.28rem;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--copper-deep);
}

.nx-voices-list blockquote {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.02rem, 1.25vw, 1.18rem);
    font-weight: 500;
    line-height: 1.28;
    letter-spacing: -0.025em;
}

.nx-voice-who {
    padding-top: 0.2rem;
    text-align: right;
    font-size: 0.92rem;
    font-weight: 500;
}

.nx-voice-who small {
    display: block;
    margin-top: 0.15rem;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 400;
}

/* Makes */

.nx-makes {
    background: var(--white);
    padding-top: clamp(3rem, 6vw, 4.75rem);
    padding-bottom: clamp(3rem, 6vw, 4.75rem);
}

.nx-makes-head {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(14rem, 0.7fr);
    gap: clamp(1rem, 3vw, 3rem);
    align-items: end;
    margin-bottom: 1.6rem;
}

.nx-makes-head h2 { max-width: 12ch; }

.nx-makes-head p:last-child {
    color: var(--ink-soft);
    margin: 0 0 0.35rem;
}

.nx-makes-grid {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 1px;
    margin: 0;
    padding: 0;
    list-style: none;
    background: var(--line);
    border: 1px solid var(--line);
}

.nx-makes-grid li {
    display: grid;
    place-items: center;
    min-height: 6.75rem;
    padding: 1rem 0.75rem;
    background: var(--white);
}

.nx-makes-grid li:hover { background: var(--paper); }

.nx-makes-grid img {
    width: auto;
    max-width: 82%;
    max-height: 3.35rem;
    object-fit: contain;
}

/* FAQ */

.nx-faq-grid {
    display: grid;
    grid-template-columns: minmax(14rem, 0.7fr) minmax(0, 1.3fr);
    gap: clamp(1.5rem, 4vw, 4rem);
}

.nx-faq-item { border-top: 1px solid var(--ink); }
.nx-faq-item:last-child { border-bottom: 1px solid var(--ink); }

.faq-trigger {
    width: 100%;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.9rem;
    align-items: center;
    padding: 1.05rem 0;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
    color: inherit;
}

.nx-faq-num {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--copper-deep);
}

.nx-faq-q {
    font-size: 1.05rem;
    font-weight: 500;
}

.faq-icon {
    width: 0.9rem;
    height: 0.9rem;
    position: relative;
}

.faq-icon::before,
.faq-icon::after {
    content: "";
    position: absolute;
    background: var(--ink);
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
}

.faq-icon::after {
    transform: rotate(90deg);
    transition: transform 0.2s var(--ease);
}

.vsp-faq-item.is-open .faq-icon::after { transform: rotate(0deg); }

.faq-panel-inner {
    padding: 0 0 1.15rem 2.4rem;
    color: var(--ink-soft);
    max-width: 42rem;
}

.nx-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.8rem;
}

.nx-chips span {
    border: 1px solid var(--line);
    padding: 0.2rem 0.45rem;
    font-size: 0.75rem;
    color: var(--muted);
}

/* Folio */

.nx-folio { background: var(--white); }

.nx-folio-head {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(16rem, 0.7fr);
    gap: clamp(1.25rem, 3vw, 3rem);
    align-items: end;
    padding-bottom: 1.4rem;
    border-bottom: 1px solid var(--ink);
}

.nx-folio-head h2 { max-width: 14ch; }

.nx-folio-aside p {
    margin: 0;
    color: var(--ink-soft);
}

.nx-folio-aside a {
    display: inline-flex;
    margin-top: 0.9rem;
    color: var(--copper-deep);
    text-underline-offset: 0.22em;
}

.nx-folio-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    list-style: none;
}

.nx-folio-grid li {
    min-width: 0;
    padding: 1.35rem 1.25rem 1.45rem 0;
    border-bottom: 1px solid var(--line);
}

.nx-folio-grid li:nth-child(4n) { padding-right: 0; }

.nx-folio-grid span {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    color: var(--copper-deep);
}

.nx-folio-grid h3 {
    margin: 0.45rem 0 0.4rem;
    font-family: var(--font-display);
    font-size: 1.55rem;
    font-weight: 600;
    letter-spacing: -0.03em;
}

.nx-folio-grid p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.95rem;
}

.nx-folio-meta {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin: 1.5rem 0 0;
    padding: 1.15rem 1.25rem;
    background: var(--pine-deep);
    color: var(--cream);
}

.nx-folio-meta dt {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(246, 241, 232, 0.62);
}

.nx-folio-meta dd {
    margin: 0.2rem 0 0;
    font-family: var(--font-display);
    font-size: 1.55rem;
    letter-spacing: -0.03em;
}

.nx-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.8rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(246, 241, 232, 0.2);
}

.nx-metrics dt {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(246, 241, 232, 0.62);
}

.nx-metrics dd {
    margin: 0.25rem 0 0;
    font-family: var(--font-display);
    font-size: 1.45rem;
    letter-spacing: -0.03em;
}

/* Close */

.nx-close {
    background: var(--paper-2);
    color: var(--ink);
    scroll-margin-top: 5.5rem;
    padding-top: clamp(2.25rem, 5vw, 3.5rem);
    padding-bottom: clamp(2.25rem, 5vw, 3.5rem);
}

.nx-desk {
    display: grid;
    grid-template-columns: 4.5rem minmax(0, 1fr);
    background: #f7f8f6;
    border: 2px solid var(--ink);
}

.nx-desk-band {
    display: grid;
    place-items: center;
    background: #1d4e89;
    color: #fff;
}

.nx-desk-band span {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

.nx-desk-body { padding: 1.35rem 1.45rem 1.2rem; }

.nx-desk h2 {
    max-width: 18ch;
    margin-top: 0.35rem;
    font-family: var(--font-display);
    font-size: clamp(1.65rem, 2.5vw, 2.2rem);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.nx-desk-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.7rem;
    margin-top: 1.15rem;
}

.nx-desk-row input {
    width: 100%;
    min-height: 3.25rem;
    border: 1px solid var(--ink);
    background: #fff;
    padding: 0 0.9rem;
    font-family: var(--font-mono);
    font-size: 16px;
    letter-spacing: 0.04em;
    color: var(--ink);
}

.nx-desk-row input:focus {
    outline: 2px solid var(--copper);
    outline-offset: 2px;
}

.nx-desk-row input.vsp-reg-invalid { color: var(--danger); }

.nx-desk-row button {
    min-height: 3.25rem;
    padding: 0 1.35rem;
    border: 0;
    background: var(--copper);
    color: var(--cream);
    cursor: pointer;
}

.nx-desk-row button:hover { background: var(--copper-deep); }

.nx-desk .nx-feedback { margin-top: 0.5rem; }

.nx-desk-note {
    margin: 0.3rem 0 0;
    color: var(--muted);
    font-size: 0.85rem;
}

/* Footer */

.nx-footer {
    background: var(--white);
    color: var(--ink-soft);
    padding: 3.5rem 0 1.4rem;
    border-top: 3px solid var(--copper);
}

.nx-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--line);
}

.nx-footer h2 {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--copper);
    margin-bottom: 0.8rem;
}

.nx-footer a { text-decoration: none; }
.nx-footer a:hover { color: var(--copper-deep); }

.nx-footer li + li { margin-top: 0.4rem; }

.nx-footer-brand p {
    margin-top: 0.8rem;
    max-width: 26rem;
}

.nx-footer .nx-brand img {
    height: 4.6rem;
}

.nx-footer-base {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding-top: 1.1rem;
    font-size: 0.85rem;
}

.nx-footer-base img { height: 28px; width: auto; }

/* Legal */

.nx-legal {
    padding: clamp(2.5rem, 6vw, 4.5rem) 0 5rem;
}

.nx-legal-head {
    max-width: 40rem;
    margin-bottom: 2rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--ink);
}

.nx-legal-head p {
    margin-top: 0.8rem;
    color: var(--ink-soft);
}

.nx-prose {
    max-width: 44rem;
}

.nx-prose h2 {
    font-family: var(--font-display);
    font-size: 1.55rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    margin: 2rem 0 0.55rem;
}

.nx-prose p,
.nx-prose li { color: var(--ink-soft); }

.nx-prose ul { list-style: disc; padding-left: 1.2rem; }
.nx-prose li + li { margin-top: 0.35rem; }
.nx-prose a { color: var(--copper-deep); }

/* Checkout */

.nx-checkout {
    padding: clamp(2rem, 5vw, 3.5rem) 0 4.5rem;
}

.nx-checkout-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: end;
    margin-bottom: 1.5rem;
}

.nx-checkout-head p { color: var(--ink-soft); max-width: 32rem; }

.nx-alert {
    border: 1px solid var(--danger);
    background: #f8ece8;
    color: var(--danger);
    padding: 0.8rem 1rem;
    margin-bottom: 1rem;
}

.nx-checkout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(16rem, 0.85fr);
    gap: 1.25rem;
    align-items: start;
}

.nx-panel {
    background: var(--white);
    border: 1px solid var(--line);
    padding: clamp(1.1rem, 2vw, 1.6rem);
    position: relative;
}

.nx-fields { display: grid; gap: 1rem; }

.nx-field label {
    display: block;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.35rem;
}

.nx-field input {
    width: 100%;
    min-height: 3rem;
    font-size: 16px;
    border: 1px solid var(--line);
    background: var(--paper);
    padding: 0.7rem 0.8rem;
    color: var(--ink);
}

.nx-field input:focus {
    outline: 2px solid var(--copper);
    outline-offset: 1px;
    background: var(--white);
}

.nx-field input.vsp-reg-invalid { border-color: var(--danger); }
.nx-field input.vsp-reg-valid { border-color: var(--ok); }

.nx-mono { font-family: var(--font-mono); letter-spacing: 0.03em; }

.nx-hint {
    margin-top: 0.35rem;
    color: var(--muted);
    font-size: 0.8rem;
}

.nx-terms {
    margin-top: 1.3rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
    display: grid;
    gap: 0.75rem;
}

.nx-check {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.65rem;
    align-items: start;
    font-size: 0.86rem;
    color: var(--ink-soft);
}

.nx-check input {
    width: 1rem;
    height: 1rem;
    margin-top: 0.2rem;
    accent-color: var(--copper);
}

.nx-submit {
    width: 100%;
    margin-top: 1.2rem;
    min-height: 3.3rem;
    border: 0;
    background: var(--copper);
    color: var(--cream);
    cursor: pointer;
}

.nx-submit:hover { background: var(--copper-deep); }
.nx-submit:disabled { opacity: 0.7; cursor: progress; }

.nx-fine {
    margin-top: 0.8rem;
    color: var(--muted);
    font-size: 0.78rem;
}

.nx-fine a { color: var(--copper-deep); }

.nx-summary {
    background: var(--pine-deep);
    color: var(--cream);
    padding: clamp(1.1rem, 2vw, 1.6rem);
}

.nx-summary h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    letter-spacing: -0.03em;
    font-weight: 600;
}

.nx-summary-intro {
    margin-top: 0.5rem;
    color: rgba(246, 241, 232, 0.75);
    font-size: 0.92rem;
}

.nx-summary-price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
    margin-top: 1.2rem;
    padding-top: 0.9rem;
    border-top: 1px solid rgba(246, 241, 232, 0.16);
}

.nx-summary-price strong {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 600;
    letter-spacing: -0.03em;
}

.nx-summary ul {
    margin-top: 1rem;
    display: grid;
    gap: 0.45rem;
}

.nx-summary li {
    padding-left: 0.9rem;
    position: relative;
    font-size: 0.92rem;
    color: rgba(246, 241, 232, 0.86);
}

.nx-summary li::before {
    content: "";
    width: 0.35rem;
    height: 1px;
    background: #8fd4b0;
    position: absolute;
    left: 0;
    top: 0.7rem;
}

.nx-delivery {
    margin-top: 1rem;
    font-size: 0.88rem;
    color: #8fd4b0;
}

.nx-trust {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    margin-top: 1.25rem;
}

.nx-trust article {
    background: var(--white);
    padding: 1rem 1.05rem;
}

.nx-trust h3 {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.nx-trust p { color: var(--ink-soft); font-size: 0.9rem; }

.nx-ch-loader {
    display: none;
    position: absolute;
    inset: 0;
    z-index: 3;
    background: rgba(246, 247, 245, 0.96);
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
}

.nx-ch-loader.is-active { display: flex; }

.nx-ch-loader .nx-boot {
    display: grid;
    grid-template-columns: 3.35rem minmax(0, 1fr);
    width: min(100%, 23.5rem);
    background: #f7f8f6;
    border: 2px solid var(--ink);
}

.nx-ch-loader .nx-boot-band {
    display: grid;
    place-items: center;
    background: #1d4e89;
    color: #fff;
}

.nx-ch-loader .nx-boot-band span {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

.nx-ch-loader .nx-boot-body { padding: 1.05rem 1.1rem 1rem; }

.nx-ch-loader .nx-boot-logo {
    display: block;
    height: 1.85rem;
    width: auto;
    margin-bottom: 0.7rem;
}

.nx-ch-loader .nx-boot-name {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.05;
}

.nx-ch-loader .nx-boot-copy {
    margin: 0.4rem 0 0;
    font-size: 0.78rem;
    color: var(--ink-soft);
}

.nx-ch-loader .nx-boot-words {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.42rem 0.55rem;
    margin: 0.85rem 0 0;
}

.nx-ch-loader .nx-boot-words span {
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #b7b7b7;
    animation: nxMarkLoop 2.1s ease infinite;
}

.nx-ch-loader .nx-boot-words span:nth-child(2) { animation-delay: 0.28s; }
.nx-ch-loader .nx-boot-words span:nth-child(3) { animation-delay: 0.56s; }
.nx-ch-loader .nx-boot-words span:nth-child(4) { animation-delay: 0.84s; }
.nx-ch-loader .nx-boot-words span:nth-child(5) { animation-delay: 1.12s; }
.nx-ch-loader .nx-boot-words span:nth-child(6) { animation-delay: 1.4s; }

@keyframes nxMarkLoop {
    0%, 62%, 100% { color: #b7b7b7; }
    18%, 40% { color: var(--copper); }
}

.hidden-fields {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Reveal */

.vsp-reveal {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.vsp-reveal.vsp-visible {
    opacity: 1;
    transform: none;
}

/* Responsive */

@media (max-width: 980px) {
    .nx-nav-links,
    .nx-nav-actions { display: none; }
    .nx-menu-toggle { display: inline-flex; }

    .nx-hero-grid,
    .nx-split,
    .nx-process-head,
    .nx-faq-grid,
    .nx-folio-head,
    .nx-checkout-grid,
    .nx-footer-grid {
        grid-template-columns: 1fr;
    }

    .nx-sticky-intro { position: static; }
    .nx-process-aside { justify-self: start; }
    .nx-steps { grid-template-columns: 1fr; }
    .nx-step {
        border-right: 0;
        margin-right: 0;
        padding-right: 0;
        border-bottom: 1px solid rgba(246, 241, 232, 0.16);
        padding-bottom: 1.2rem;
    }
    .nx-stage-film { height: 7.5rem; }
    .nx-metrics,
    .nx-trust { grid-template-columns: 1fr 1fr; }
    .nx-voices-head { grid-template-columns: 1fr; }
    .nx-voices-head h2 { max-width: none; }
    .nx-makes-head { grid-template-columns: 1fr; }
    .nx-makes-head h2 { max-width: none; }
    .nx-makes-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .nx-folio-head h2 { max-width: none; }
    .nx-folio-grid { grid-template-columns: 1fr 1fr; }
    .nx-folio-meta { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
    .nx-facts,
    .nx-metrics,
    .nx-trust,
    .nx-index article,
    .nx-plate-foot,
    .nx-footer-base,
    .nx-checkout-head,
    .nx-folio-grid {
        grid-template-columns: 1fr;
        display: grid;
    }

    .nx-index article { gap: 0.2rem; }
    .nx-plate-row { grid-template-columns: auto minmax(0, 1fr); }
    .nx-plate-submit {
        grid-column: 1 / -1;
        border-left: 0;
        border-top: 1px solid var(--ink);
        min-height: 3rem;
    }
    .nx-footer-base { align-items: flex-start; }
    .nx-hero h1 { font-size: clamp(2.05rem, 9vw, 2.65rem); }
    .faq-panel-inner { padding-left: 0; }
    .nx-makes-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nx-voices-list li { grid-template-columns: 1fr; gap: 0.35rem; }
    .nx-voice-who { text-align: left; }
    .nx-stage-file { grid-template-columns: 1fr; }
    .nx-stage-band { min-height: 2rem; }
    .nx-stage-band span {
        writing-mode: horizontal-tb;
        transform: none;
    }
    .nx-specimen ol {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        grid-auto-flow: row;
    }
    .nx-desk { grid-template-columns: 1fr; }
    .nx-desk-band { min-height: 2.1rem; }
    .nx-desk-band span {
        writing-mode: horizontal-tb;
        transform: none;
    }
    .nx-desk-row { grid-template-columns: 1fr; }
    .nx-desk-body { padding: 1.1rem 1rem 1rem; }

    .nx-header { padding-top: env(safe-area-inset-top); }
    .nx-mobile {
        padding-top: calc(1.25rem + env(safe-area-inset-top));
        padding-bottom: calc(2rem + env(safe-area-inset-bottom));
    }
    .nx-mobile-close { min-height: 44px; padding: 0 0.35rem; }
    .nx-footer { padding-bottom: calc(1.4rem + 5.5rem + env(safe-area-inset-bottom)); }
    .nx-makes-grid li { min-height: 4.75rem; padding: 0.75rem 0.45rem; }
    .nx-check input { width: 1.25rem; height: 1.25rem; }
}

@media (max-width: 420px) {
    .nx-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .nx-hero-actions .nx-btn { width: 100%; }
    .nx-brand img { height: 2.85rem; }
    .nx-footer .nx-brand img { height: 3.4rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .vsp-reveal,
    .nx-stage-video,
    .nx-mobile,
    .nx-overlay,
    .nx-progress {
        transition: none;
    }
    .vsp-reveal { opacity: 1; transform: none; }
    .nx-ch-loader .nx-boot-words span { animation: none; color: var(--ink); }
}
