/* ============================================================ marketing site
   Public landing page for nChurch ERP (route `/`, guests). Scoped `.ncx-*`.
   Dark-navy religious visual language on the same brand tokens as the app:
   indigo primary, gold accent, Inter/system stack, glass surfaces. */

.ncx {
    --m-navy-0: #070D1A;
    --m-navy-1: #0B1220;
    --m-navy-2: #0F172A;
    --m-navy-3: #16213C;
    --m-indigo: #4F46E5;
    --m-indigo-2: #6366F1;
    --m-gold: #F59E0B;
    --m-gold-2: #FBBF24;
    --m-ink: #0F172A;
    --m-muted: #64748B;
    --m-line: #E7EAF3;
    color: var(--m-ink);
    overflow-x: clip;
}

/* ------------------------------------------------------------ nav ------- */
.ncx-nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1040;
    backdrop-filter: blur(14px);
    background: rgba(7, 13, 26, .72);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.ncx-nav-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: .7rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1.4rem;
}
.ncx-brand { display: flex; align-items: center; text-decoration: none; }
.ncx-brand img { height: 38px; border-radius: 9px; box-shadow: 0 0 0 1px rgba(255,255,255,.12); }
.ncx-nav-links { display: flex; gap: 1.2rem; margin-left: auto; align-items: center; }
.ncx-nav-links a {
    color: #C7D2E4; text-decoration: none; font-size: .86rem; letter-spacing: .01em;
    transition: color .15s ease;
}
.ncx-nav-links a:hover { color: #fff; }
.ncx-btn {
    display: inline-flex; align-items: center; gap: .45rem;
    padding: .62rem 1.25rem;
    border-radius: 999px;
    font-weight: 650; font-size: .86rem;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
    white-space: nowrap;
}
.ncx-btn:active { transform: translateY(1px); }
.ncx-btn-ghost {
    color: #E2E8F0; border-color: rgba(255,255,255,.22);
    background: rgba(255,255,255,.04);
}
.ncx-btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
.ncx-btn-gold {
    color: #1A1205;
    background: linear-gradient(135deg, #FCD34D, #F59E0B);
    box-shadow: 0 10px 26px rgba(245, 158, 11, .35);
}
.ncx-btn-gold:hover { box-shadow: 0 14px 34px rgba(245, 158, 11, .5); transform: translateY(-1px); color: #1A1205; }
.ncx-btn-indigo {
    color: #fff;
    background: linear-gradient(135deg, #6366F1, #4F46E5);
    box-shadow: 0 10px 26px rgba(79, 70, 229, .4);
}
.ncx-btn-indigo:hover { transform: translateY(-1px); color: #fff; }

/* ----------------------------------------------------------- hero ------- */
.ncx-hero {
    position: relative;
    overflow: hidden;
    padding: 9.5rem 1.5rem 5rem;
    color: #E2E8F0;
    background:
        radial-gradient(1100px 540px at -8% -12%, rgba(79, 70, 229, .42), transparent 60%),
        radial-gradient(820px 500px at 112% 108%, rgba(245, 158, 11, .2), transparent 58%),
        linear-gradient(170deg, var(--m-navy-0), var(--m-navy-1) 46%, var(--m-navy-3));
}
.ncx-hero::before {
    content: "";
    position: absolute; inset: 0;
    background: repeating-linear-gradient(115deg, transparent 0 26px, rgba(255,255,255,.022) 26px 27px);
    pointer-events: none;
}
.ncx-hero-inner {
    position: relative;
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: 3rem;
    align-items: center;
}
.ncx-badge {
    display: inline-flex; align-items: center; gap: .45rem;
    padding: .42rem 1rem;
    border-radius: 999px;
    font-size: .78rem; font-weight: 650; letter-spacing: .04em;
    color: #FDE68A;
    background: rgba(245, 158, 11, .12);
    border: 1px solid rgba(245, 158, 11, .35);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, .05);
}
.ncx-h1 {
    margin: 1.15rem 0 1rem;
    font-size: clamp(2.5rem, 4.6vw, 3.9rem);
    font-weight: 780;
    letter-spacing: -.028em;
    line-height: 1.06;
    color: #fff;
}
.ncx-gold-text {
    background: linear-gradient(92deg, #FCD34D, #F59E0B 60%, #FBBF24);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ncx-lead { color: #B9C4D8; font-size: 1.05rem; line-height: 1.72; max-width: 52ch; }
.ncx-hero-cta { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.6rem; }
.ncx-hero-cta .ncx-btn { padding: .8rem 1.6rem; font-size: .95rem; }
.ncx-hero-notes {
    display: flex; gap: 1.3rem; flex-wrap: wrap;
    margin-top: 1.4rem;
    color: #94A3B8; font-size: .8rem;
}
.ncx-hero-notes i { color: var(--m-gold-2); margin-right: .25rem; }
.ncx-hero-orbit { display: grid; place-items: center; }
.ncx-hero-orbit .nc-orbit { --orbit: clamp(320px, 30vw, 430px); }

/* --------------------------------------------------------- stats band --- */
.ncx-strip {
    background: var(--m-navy-1);
    border-block: 1px solid rgba(255,255,255,.07);
}
.ncx-strip-inner {
    max-width: 1180px; margin: 0 auto;
    padding: 2rem 1.5rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.ncx-stat b { display: block; color: #fff; font-size: 1.55rem; font-weight: 760; letter-spacing: -.02em; }
.ncx-stat b span { color: var(--m-gold-2); }
.ncx-stat span { color: #8494ad; font-size: .8rem; letter-spacing: .02em; }

/* ------------------------------------------------------- shared section - */
.ncx-section { padding: 5rem 1.5rem; }
.ncx-section-ncuset { background: #F6F8FD; }
.ncx-inner { max-width: 1180px; margin: 0 auto; }
.ncx-eyebrow {
    display: inline-flex; align-items: center; gap: .4rem;
    color: var(--m-indigo);
    font-size: .76rem; font-weight: 720; letter-spacing: .14em; text-transform: uppercase;
}
.ncx-eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--m-gold); border-radius: 2px; }
.ncx-h2 {
    margin: .7rem 0 .8rem;
    font-size: clamp(1.7rem, 2.9vw, 2.45rem);
    font-weight: 760; letter-spacing: -.024em; line-height: 1.14;
    color: var(--m-ink);
}
.ncx-dark .ncx-h2, .ncx-dark .ncx-h3 { color: #fff; }
.ncx-sub { color: var(--m-muted); font-size: 1rem; line-height: 1.7; max-width: 62ch; }
.ncx-dark .ncx-sub { color: #AAB7CF; }

/* --------------------------------------------------------- modules ------ */
.ncx-modgroup h3 {
    display: flex; align-items: center; gap: .6rem;
    font-size: .84rem; font-weight: 740; letter-spacing: .09em; text-transform: uppercase;
    color: var(--m-indigo);
    margin: 2.4rem 0 1rem;
}
.ncx-modgroup h3::after { content: ""; flex: 1; height: 1px; background: var(--m-line); }
.ncx-mods {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
}
.ncx-mod {
    background: #fff;
    border: 1px solid var(--m-line);
    border-radius: 16px;
    padding: 1.15rem 1.15rem 1rem;
    box-shadow: 0 6px 18px rgba(15, 23, 42, .05);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.ncx-mod:hover {
    transform: translateY(-4px);
    border-color: rgba(79, 70, 229, .35);
    box-shadow: 0 16px 36px rgba(15, 23, 42, .1);
}
.ncx-mod-ic {
    width: 42px; height: 42px; border-radius: 12px;
    display: grid; place-items: center;
    font-size: 1.05rem;
    color: #fff;
    background: linear-gradient(135deg, var(--m-indigo-2), var(--m-indigo));
    box-shadow: 0 8px 18px rgba(79, 70, 229, .3);
    margin-bottom: .75rem;
}
.ncx-mod-ic.gold {
    background: linear-gradient(135deg, #FBBF24, #F59E0B);
    color: #1A1205;
    box-shadow: 0 8px 18px rgba(245, 158, 11, .3);
}
.ncx-mod b { display: block; font-size: .92rem; margin-bottom: .3rem; color: var(--m-ink); }
.ncx-mod span { font-size: .8rem; line-height: 1.6; color: var(--m-muted); }
.ncx-mod span em { display: block; margin-top: .4rem; font-style: normal; color: #8B96B0; font-size: .72rem; }

/* ------------------------------------------------------------ tour ------ */
.ncx-tour-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: center;
    margin-top: 3.2rem;
}
.ncx-tour-row.flip > .ncx-tour-shot { order: 2; }
.ncx-shot {
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--m-line);
    box-shadow: 0 24px 60px rgba(15, 23, 42, .14);
    transition: transform .2s ease;
}
.ncx-shot:hover { transform: translateY(-4px); }
.ncx-shot-bar {
    display: flex; align-items: center; gap: .45rem;
    padding: .6rem .9rem;
    background: #F1F4FA;
    border-bottom: 1px solid var(--m-line);
}
.ncx-shot-dot { width: 9px; height: 9px; border-radius: 50%; }
.ncx-shot-url {
    flex: 1;
    margin-left: .4rem;
    background: #fff;
    border: 1px solid var(--m-line);
    border-radius: 7px;
    font-size: .68rem;
    color: var(--m-muted);
    padding: .18rem .6rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ncx-shot img { display: block; width: 100%; height: auto; }
.ncx-tour-copy .ncx-eyebrow { margin-bottom: 0; }
.ncx-perks { list-style: none; padding: 0; margin: 1.1rem 0 0; display: grid; gap: .65rem; }
.ncx-perks li { display: flex; gap: .6rem; font-size: .9rem; color: #3B4763; }
.ncx-perks i { color: var(--m-indigo); margin-top: .15rem; }

/* ------------------------------------------------------------ bible ----- */
.ncx-dark {
    color: #D5DEEF;
    background:
        radial-gradient(900px 460px at 110% -10%, rgba(79, 70, 229, .3), transparent 56%),
        radial-gradient(700px 420px at -10% 115%, rgba(245, 158, 11, .15), transparent 55%),
        linear-gradient(165deg, var(--m-navy-1), var(--m-navy-2) 55%, #131E38);
}
.ncx-bible-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.ncx-verse-card {
    position: relative;
    border-radius: 20px;
    padding: 2rem 1.8rem;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .12);
    backdrop-filter: blur(8px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .3);
}
.ncx-verse-card blockquote {
    margin: 0;
    font-size: 1.12rem; line-height: 1.75; font-style: italic;
    color: #EDF2FA;
}
.ncx-verse-card cite { display: block; margin-top: .8rem; font-style: normal; font-size: .8rem; color: #FBBF24; letter-spacing: .06em; }
.ncx-verse-card::before {
    content: "“";
    position: absolute; top: -1.4rem; left: 1.1rem;
    font-size: 4.4rem; font-family: Georgia, serif;
    color: rgba(251, 191, 36, .5);
}
.ncx-tr-tags { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 1.6rem; }
.ncx-tr-tag {
    padding: .42rem .85rem; border-radius: 999px;
    border: 1px solid rgba(255,255,255,.16);
    background: rgba(255,255,255,.06);
    font-size: .78rem; color: #C7D2E4;
}
.ncx-tr-tag b { color: #fff; margin-right: .25rem; }

/* ---------------------------------------------------------- security ---- */
.ncx-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin-top: 2rem; }
.ncx-tile {
    border-radius: 16px; padding: 1.2rem;
    background: #fff; border: 1px solid var(--m-line);
}
.ncx-tile i { font-size: 1.25rem; color: var(--m-indigo); }
.ncx-tile b { display: block; margin: .6rem 0 .3rem; font-size: .92rem; }
.ncx-tile span { font-size: .8rem; line-height: 1.6; color: var(--m-muted); }

/* ---------------------------------------------------------- pricing ----- */
.ncx-price-wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.ncx-price-card {
    position: relative;
    border-radius: 22px;
    padding: 2.4rem 2.2rem;
    color: #fff;
    background:
        radial-gradient(600px 300px at -10% -20%, rgba(99, 102, 241, .5), transparent 58%),
        linear-gradient(150deg, #131E38, var(--m-navy-2));
    border: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 30px 70px rgba(15, 23, 42, .35);
    overflow: hidden;
}
.ncx-price-card .big {
    font-size: 4rem; font-weight: 800; letter-spacing: -.04em; line-height: 1;
    background: linear-gradient(92deg, #FCD34D, #F59E0B);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ncx-price-card .cap { color: #B9C4D8; font-size: .95rem; margin-top: .4rem; }
.ncx-price-list { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .6rem; }
.ncx-price-list li { display: flex; gap: .55rem; font-size: .88rem; color: #D5DEEF; }
.ncx-price-list i { color: var(--m-gold-2); margin-top: .12rem; }

/* --------------------------------------------------------------- faq ---- */
.ncx-faq .accordion-item {
    border: 1px solid var(--m-line) !important;
    border-radius: 14px !important;
    overflow: hidden;
    margin-bottom: .7rem;
    box-shadow: 0 4px 14px rgba(15,23,42,.04);
}
.ncx-faq .accordion-button { font-weight: 640; font-size: .95rem; padding: 1rem 1.2rem; color: var(--m-ink); }
.ncx-faq .accordion-button:not(.collapsed) { background: #F0F3FF; color: var(--m-indigo); box-shadow: none; }
.ncx-faq .accordion-button:focus { box-shadow: none; border-color: transparent; }
.ncx-faq .accordion-body { font-size: .88rem; color: #465472; line-height: 1.7; }

/* -------------------------------------------------------------- cta ----- */
.ncx-cta {
    position: relative;
    overflow: hidden;
    border-radius: 26px;
    padding: 3.4rem 2.6rem;
    text-align: center;
    color: #fff;
    background: linear-gradient(135deg, #4F46E5, #6D28D9 55%, #7C3AED);
    box-shadow: 0 34px 80px rgba(79, 70, 229, .4);
}
.ncx-cta h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 770; letter-spacing: -.02em; margin: 0 0 .7rem; }
.ncx-cta p { color: #E0E4FF; max-width: 58ch; margin: 0 auto 1.6rem; }
.ncx-cta::before, .ncx-cta::after {
    content: ""; position: absolute; border-radius: 50%;
    background: rgba(255,255,255,.09); filter: blur(2px);
}
.ncx-cta::before { width: 340px; height: 340px; top: -180px; right: -80px; }
.ncx-cta::after { width: 260px; height: 260px; bottom: -150px; left: -60px; }

/* ------------------------------------------------------------- footer --- */
.ncx-footer {
    background: var(--m-navy-0);
    border-top: 1px solid rgba(255,255,255,.07);
    color: #93A2BF;
    padding: 3.4rem 1.5rem 2.2rem;
    font-size: .85rem;
}
.ncx-footer-inner { max-width: 1180px; margin: 0 auto; }
.ncx-footer-cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 2.2rem; border-bottom: 1px solid rgba(255,255,255,.07); }
.ncx-footer img { height: 34px; border-radius: 8px; margin-bottom: .9rem; }
.ncx-footer h4 { color: #E2E8F0; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .9rem; }
.ncx-footer a { display: block; color: #93A2BF; text-decoration: none; margin-bottom: .5rem; transition: color .15s ease; }
.ncx-footer a:hover { color: #fff; }
.ncx-footer-verse { font-style: italic; color: #7790B8; font-size: .8rem; max-width: 34ch; line-height: 1.7; }
.ncx-footer-bar { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem; padding-top: 1.4rem; font-size: .76rem; }

/* ------------------------------------------------------------- motion --- */
.ncx-reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.ncx-reveal.on { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .ncx-reveal { opacity: 1; transform: none; transition: none; }
}

/* ----------------------------------------------------------- responsive - */
@media (max-width: 991.98px) {
    .ncx-nav-links { display: none; }
    .ncx-hero { padding-top: 7rem; }
    .ncx-hero-inner, .ncx-bible-grid, .ncx-price-wrap { grid-template-columns: 1fr; }
    .ncx-hero-orbit { display: none; }
    .ncx-strip-inner { grid-template-columns: repeat(2, 1fr); }
    .ncx-tour-row { grid-template-columns: 1fr; gap: 1.4rem; }
    .ncx-tour-row.flip > .ncx-tour-shot { order: 0; }
    .ncx-footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 575.98px) {
    .ncx-section { padding: 3.4rem 1rem; }
    .ncx-strip-inner { grid-template-columns: 1fr 1fr; gap: 1rem; }
    .ncx-cta { padding: 2.4rem 1.2rem; }
    .ncx-footer-cols { grid-template-columns: 1fr; }
}

/* nav link rule outranks button color for gold/ghost CTAs in the nav bar */
.ncx-nav-links .ncx-btn-gold { color: #1A1205; }
.ncx-nav-links .ncx-btn-gold:hover { color: #1A1205; }
.ncx-nav-links .ncx-btn-ghost { color: #E2E8F0; }
.ncx-nav-links .ncx-btn-ghost:hover { color: #fff; }
.ncx.ncx-flat .ncx-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }

/* ------------------------------------------------ legal / doc pages ----- */
.ncx-doc-wrap { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 3rem; align-items: start; }
.ncx-doc-toc {
    position: sticky; top: 92px;
    display: grid; gap: .15rem;
    font-size: .82rem;
}
.ncx-doc-toc-title {
    font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
    color: var(--m-muted); font-weight: 700; margin-bottom: .5rem;
}
.ncx-doc-toc a {
    color: #3B4763; text-decoration: none; padding: .28rem .6rem;
    border-left: 2px solid var(--m-line); transition: all .15s ease;
}
.ncx-doc-toc a:hover { color: var(--m-indigo); border-color: var(--m-gold); background: #F4F6FF; }
.ncx-doc h2 {
    font-size: 1.12rem; font-weight: 740; letter-spacing: -.01em;
    margin: 2.2rem 0 .6rem; padding-top: .4rem;
    border-top: 1px solid var(--m-line); color: var(--m-ink);
}
.ncx-doc h2:first-of-type { border-top: 0; margin-top: 0; }
.ncx-doc p, .ncx-doc li { font-size: .92rem; line-height: 1.75; color: #333F5C; }
.ncx-doc ul { padding-left: 1.15rem; display: grid; gap: .35rem; margin: .4rem 0 1rem; }
.ncx-doc a { color: var(--m-indigo); }
.ncx-doc-note {
    display: flex; gap: .8rem;
    background: #FFFBEB; border: 1px solid #FBE7C0; border-radius: 14px;
    padding: .95rem 1.05rem; font-size: .84rem; line-height: 1.62; color: #7A5A12;
}
.ncx-doc-note i { color: var(--m-gold); font-size: 1.15rem; margin-top: .1rem; }
.ncx-doc-note b { color: #5C4308; }
@media (max-width: 991.98px) {
    .ncx-doc-wrap { grid-template-columns: 1fr; }
    .ncx-doc-toc { display: none; }
}
@media print {
    .ncx-nav, .ncx-hero, .ncx-doc-toc, .ncx-footer { display: none !important; }
    .ncx-section { padding: 0; }
}

/* ================================================= polish pass (Oct 2026)
   Fine-tune round: motion physics, navigation intelligence, a11y, and
   micro-delight. Everything guards prefers-reduced-motion. */

html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* --------------------------------------------- accessibility ------------- */
.ncx-skip {
    position: absolute; left: 1rem; top: -60px; z-index: 2000;
    background: var(--m-gold); color: #1A1205; font-weight: 700; font-size: .82rem;
    padding: .55rem 1rem; border-radius: 0 0 10px 10px; text-decoration: none;
    transition: top .18s ease;
}
.ncx-skip:focus-visible { top: 0; color: #1A1205; }
.ncx :is(a, button, input, select, textarea, .p-tab):focus-visible {
    outline: 2px solid var(--m-gold);
    outline-offset: 2px;
    border-radius: 6px;
}

/* --------------------------------------------------- nav intelligence ---- */
.ncx-nav { transition: background .25s ease, box-shadow .25s ease; }
.ncx-nav.scrolled {
    background: rgba(7, 13, 26, .88);
    box-shadow: 0 12px 34px rgba(2, 6, 18, .5);
}
.ncx-nav-links a.nav-hot { position: relative; }
.ncx-nav-links a.nav-hot::after {
    content: ""; position: absolute; left: 8px; right: 8px; bottom: -3px;
    height: 2px; border-radius: 2px; background: var(--m-gold);
    transform: scaleX(0); transform-origin: left; transition: transform .22s ease;
}
.ncx-nav-links a.nav-hot:hover::after, .ncx-nav-links a.nav-hot[aria-current]::after { transform: scaleX(1); }

/* mobile: secondary scrollable chips under the bar */
.ncx-subnav {
    display: none;
    background: rgba(7, 13, 26, .78);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,.07);
    overflow-x: auto; scrollbar-width: none;
    padding: .45rem .9rem .55rem; gap: .45rem;
    position: relative; z-index: 1039;
}
.ncx-subnav::-webkit-scrollbar { display: none; }
.ncx-subnav a {
    flex: none; font-size: .75rem; color: #C7D2E4; text-decoration: none;
    border: 1px solid rgba(255,255,255,.14); border-radius: 999px; padding: .3rem .8rem;
    background: rgba(255,255,255,.03);
}
.ncx-subnav a:active { background: rgba(245,158,11,.16); color: #FDE68A; }
@media (max-width: 991.98px) { .ncx-subnav { display: flex; } .ncx { padding-top: 44px; } }
/* subnav ships inside .ncx-nav (fixed), so the content offset adds automatically */
.ncx-nav + * { /* placeholder to keep cascade predictable */ }

/* ------------------------------------------------------------ typography - */
.ncx-h1, .ncx-h2 { text-wrap: balance; }
.ncx-lead, .ncx-sub, .ncx-mod span, .ncx-cta p, .ncx-footer p { text-wrap: pretty; }

/* ------------------------------------------------------------ hero micro - */
@keyframes ncx-hero-pulse {
    0%, 100% { opacity: .8; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.02); }
}
.ncx-badge i { color: var(--m-gold-2); }
.ncx-hero .ncx-badge { animation: ncx-hero-pulse 5s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .ncx-hero .ncx-badge { animation: none; } }
.ncx-h1 .ncx-gold-text { position: relative; }
.ncx-h1 .ncx-gold-text::after {
    content: ""; position: absolute; left: 2%; right: 0; bottom: .02em; height: .12em;
    background: linear-gradient(90deg, rgba(251,191,36,.65), rgba(245,158,11,0));
    border-radius: 3px; transform: scaleX(0); transform-origin: left;
}
.ncx-root-mounted .ncx-h1 .ncx-gold-text::after { transform: scaleX(1); transition: transform .9s cubic-bezier(.2,.8,.2,1) .35s; }
.ncx-scroll-cue {
    display: inline-flex; flex-direction: column; align-items: center; gap: .2rem;
    color: #8494ad; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase;
    text-decoration: none; margin-top: 2.6rem;
}
.ncx-scroll-cue .cue { width: 22px; height: 36px; border: 1.6px solid rgba(148,163,184,.5); border-radius: 12px; position: relative; }
.ncx-scroll-cue .cue::before {
    content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px;
    border-radius: 3px; background: var(--m-gold-2);
    animation: ncx-cue 1.9s ease-in-out infinite;
}
@keyframes ncx-cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .ncx-scroll-cue .cue::before { animation: none; } }

/* --------------------------------------------------------------- stats --- */
.ncx-stat { border-left: 2px solid transparent; padding-left: .8rem; transition: border-color .3s ease; }
.ncx-stat:hover { border-color: var(--m-gold); }
.ncx-stat b { font-variant-numeric: tabular-nums; }

/* --------------------------------------------------------------- cards --- */
.ncx-mod::before {
    content: ""; position: absolute; inset: 0; border-radius: inherit;
    background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
    background-size: 240% 240%; background-position: 130% 0;
    transition: background-position .7s ease; pointer-events: none;
}
.ncx-mod { position: relative; overflow: hidden; }
.ncx-mod:hover::before { background-position: -30% 0; }
.ncx-tile { transition: transform .18s ease, box-shadow .18s ease; }
.ncx-tile:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(15,23,42,.09); }

/* ------------------------------------------------------------ lightbox --- */
dialog.ncx-light {
    border: 0; padding: 0; background: transparent; max-width: min(92vw, 980px);
}
dialog.ncx-light::backdrop { background: rgba(5, 9, 20, .86); backdrop-filter: blur(6px); }
dialog.ncx-light img { width: 100%; border-radius: 14px; box-shadow: 0 40px 120px rgba(0,0,0,.6); }
dialog.ncx-light .cap { color: #C7D2E4; font-size: .8rem; margin-top: .6rem; text-align: center; }
dialog.ncx-light .x {
    position: absolute; top: -14px; right: -14px; width: 38px; height: 38px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,.25); background: #10182E; color: #fff; cursor: pointer;
}
.ncx-shot { cursor: zoom-in; }

/* --------------------------------------------------------------- price --- */
.ncx-price-card .big { position: relative; }
@keyframes ncx-shimmer { from { background-position: -200% 0; } to { background-position: 200% 0; } }
.ncx-price-card .big {
    background: linear-gradient(98deg, #FCD34D 20%, #fff7d6 38%, #F59E0B 55%, #FCD34D 75%);
    background-size: 200% 100%;
    -webkit-background-clip: text; background-clip: text; color: transparent;
    animation: ncx-shimmer 7s linear infinite;
}
@media (prefers-reduced-motion: reduce) { .ncx-price-card .big { animation: none; } }

/* ----------------------------------------------------------------- FAQ --- */
.ncx-faq .accordion-button::after { transition: transform .25s ease; }
.ncx-faq .accordion-button:not(.collapsed)::after { transform: rotate(180deg); }
.ncx-faq .accordion-collapse { border-top: 1px solid var(--m-line); }

/* --------------------------------------------------------- back to top --- */
.ncx-top {
    position: fixed; right: 1.1rem; bottom: calc(1.1rem + env(safe-area-inset-bottom)); z-index: 1035;
    width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.14);
    background: rgba(11,18,32,.88); color: #FDE68A; backdrop-filter: blur(10px);
    display: grid; place-items: center; cursor: pointer; font-size: 1.1rem;
    opacity: 0; pointer-events: none; transform: translateY(8px);
    transition: opacity .25s ease, transform .25s ease;
}
.ncx-top.on { opacity: 1; pointer-events: auto; transform: none; }

/* ----------------------------------------------------------- hero cursor - */
.ncx-hero { transition: background-position .4s ease; }
