/* nexus-2.css: round 2 assembly for nexus-2.html (design copy, 17 Nov 2026). Nexus-only; orion.css, home-v2.css and
   products.css are untouched. Three parts, in order:
   1. the visuals pass (copied from nexus-v.css) for every section below the hero;
   2. hero option B "Product stage" (copied from nexus-b.css, every rule scoped to #hero.nb / .nb-*);
   3. option C's two drawn cards as the visual of #look (from nexus-c.css, scoped to .n2-look), plus round 2 fixes. */

/* ======================= 1. visuals pass (nexus-v.css) ======================= */
/* nexus-v.css: the "more visuals down the page" pass for nexus-v.html (design copy, 17 Nov 2026). Nexus-only, loaded after the
   page's own <style>. Colour stays on small marks (Nexus pink #ff4fd8, win/loss/drop), no washes, no glow, flat buttons.
   Motion: one calm play when a part reaches the screen (nexus-v.js adds .in); loops are short and motion.js caps and pauses
   them; under prefers-reduced-motion every hidden start state is skipped, so the finished frame shows. */

/* ── section kickers: a small pink mark beside each label ── */
.nv-k{display:flex;align-items:center;gap:9px}
.nv-ki{flex:none;width:22px;height:22px;padding:4px;box-sizing:border-box;border:1px solid #2a2a2e;border-radius:7px;background:#0e0e10;
  color:#ff4fd8;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}

/* ── What Nexus can do: a drawing on every card ── */
.nx-can li.nv-can{gap:0;padding:12px 12px 18px;transition:border-color .2s ease}
.nx-can li.nv-can:hover{border-color:#2c2c31}
.nv-stage{position:relative;display:block;height:88px;margin-bottom:14px;border:1px solid #18181b;border-radius:11px;overflow:hidden;
  background:#0d0d0f linear-gradient(#141417 1px,transparent 1px) 0 11px/100% 22px}
.nv-stage svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.nv-stage svg text{font:500 9px var(--mono,ui-monospace,monospace)}
.nv-dr{position:absolute;right:8px;bottom:6px;color:#7c7c81;font:500 8.5px/1 var(--mono,ui-monospace,monospace);font-style:normal;letter-spacing:.14em;text-transform:uppercase}
.nx-can li.nv-can>b{display:flex;align-items:center;gap:10px;padding:0 6px}
.nx-can li.nv-can .px-ico{width:26px;height:26px;margin:0;border-radius:8px}
.nx-can li.nv-can .px-ico .px-i{width:15px;height:15px}
.nx-can li.nv-can>span:last-child{padding:7px 6px 0}
.nv-pulse{opacity:0}

/* ── our record: the balance line under each card (drawn by nexus-v.js from data/nexus-results.json) ── */
.nx-rec .nx-acc{grid-row:span 4}
.nv-spark{display:grid;gap:10px;min-width:0;padding:16px 24px 18px;border-top:1px solid var(--nl,#1c1c1e)}
.nv-spark>p{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 14px;margin:0;color:var(--k5,#8a8a8f);
  font:500 10.5px/1.4 var(--mono,ui-monospace,monospace);letter-spacing:.14em;text-transform:uppercase}
.nv-spark>p em{color:#7c7c81;font:400 12px/1.4 Inter,sans-serif;font-style:normal;letter-spacing:0;text-transform:none}
.nv-spark svg{display:block;width:100%;height:64px;overflow:visible}

/* ── every closed trade: a small R bar beside each trade's R ── */
.nv-rb{position:relative;display:inline-block;width:34px;height:5px;margin-right:9px;border-radius:3px;background:#1a1a1d;vertical-align:middle;overflow:hidden}
.nv-rb>i{position:absolute;inset:0 auto 0 0;border-radius:3px;background:#5c5c61}
.nv-rb[data-tone="pos"]>i{background:#3ecf6e}
.nv-rb[data-tone="neg"]>i{background:#ff5a52}

/* ── Nexus Lab: the two waiting cards show the outline of what they will become ── */
#lab-spread .n3-wait::before,#lab-hours .n3-wait::before{content:'';width:42px;height:42px;border:1px dashed #2e2e33;border-radius:12px;
  background:#0e0e10 no-repeat center/22px}
#lab-spread .n3-wait::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff8fe6' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M3.5 20.5h17'/%3E%3Crect x='5' y='13' width='3' height='5' rx='.8'/%3E%3Crect x='10.5' y='6' width='3' height='12' rx='.8'/%3E%3Crect x='16' y='10' width='3' height='8' rx='.8'/%3E%3C/svg%3E")}
#lab-hours .n3-wait::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff8fe6' stroke-width='1.6' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M12 7v5l3.5 2'/%3E%3C/svg%3E")}

/* ── What it looks like: the EA's own chart comment, top left like MT5 prints it ── */
.nv-cmt{margin:0 0 12px;color:#a6a6ab;font:400 10.5px/1.6 var(--mono,ui-monospace,monospace);overflow-wrap:anywhere}
.nv-cmt p{margin:0}
.nv-cmt p:first-child{color:#d9d9dd}

/* ── How one trade works: the steps light in turn while the drawing plays; pointing at a step lights its mark ── */
@media (hover:hover){
  .nv-story li{transition:color .2s ease}
  .nv-story li:hover{color:#e6e6ea}
  .nv-story:has(li:nth-child(1):hover) .nx-mk[data-m="1"] circle,.nv-story:has(li:nth-child(2):hover) .nx-mk[data-m="2"] circle,
  .nv-story:has(li:nth-child(3):hover) .nx-mk[data-m="3"] circle,.nv-story:has(li:nth-child(4):hover) .nx-mk[data-m="4"] circle,
  .nv-story:has(li:nth-child(5):hover) .nx-mk[data-m="5"] circle{fill:#ff4fd8}
  .nv-story:has(li:nth-child(1):hover) .nx-mk[data-m="1"] text,.nv-story:has(li:nth-child(2):hover) .nx-mk[data-m="2"] text,
  .nv-story:has(li:nth-child(3):hover) .nx-mk[data-m="3"] text,.nv-story:has(li:nth-child(4):hover) .nx-mk[data-m="4"] text,
  .nv-story:has(li:nth-child(5):hover) .nx-mk[data-m="5"] text{fill:#0b0b0c}
}
#breakout .nv-story li:nth-child(1){--sa:.25s}#breakout .nv-story li:nth-child(2){--sa:1.25s}
#breakout .nv-story li:nth-child(3){--sa:1.75s}#breakout .nv-story li:nth-child(4){--sa:2.7s}
#trend .nv-story li:nth-child(1){--sa:.25s}#trend .nv-story li:nth-child(2){--sa:.75s}#trend .nv-story li:nth-child(3){--sa:2s}
#trend .nv-story li:nth-child(4){--sa:2.6s}#trend .nv-story li:nth-child(5){--sa:4.1s}

/* ── How it works: one route through the five steps, a dot runs along it ── */
.nv-route{--x0:0px;--y0:0px;--len:0px;--end:translateX(var(--len));position:relative;isolation:isolate}
.nv-route.nv-v{--end:translateY(var(--len))}
.nv-rt,.nv-rf{position:absolute;z-index:1;left:var(--x0);top:calc(var(--y0) - .75px);width:var(--len);height:1.5px;border-radius:2px;pointer-events:none}
.nv-rt{background:#2a2a2e}
.nv-rf{background:#ff4fd8;transform-origin:0 50%}
.nv-v .nv-rt,.nv-v .nv-rf{left:calc(var(--x0) - .75px);top:var(--y0);width:1.5px;height:var(--len);transform-origin:50% 0}
.nv-dot{position:absolute;z-index:1;left:calc(var(--x0) - 4.5px);top:calc(var(--y0) - 4.5px);width:9px;height:9px;border-radius:50%;
  background:#ff4fd8;box-shadow:0 0 0 4px rgba(255,79,216,.16);opacity:0;pointer-events:none}
.nv-route .px-step::after{display:none}
.nv-route .px-ico{position:relative;z-index:2;background:#1a0e17}
.nv-route .px-num em{position:relative;z-index:2;padding:3px 7px;border-radius:6px;background:#0b0b0b}

/* ── Your Nexus dashboard: window dots ── */
.nv-dots{display:inline-flex;gap:5px;margin-right:4px}
.nv-dots i{width:8px;height:8px;border-radius:50%;background:#2a2a2e}

/* ── How we tested it: the eight full years ── */
.nv-yrs{margin-top:18px;padding:14px 16px 12px;border:1px solid #1c1c1e;border-radius:12px;background:#0e0e10}
.nx-test .nv-yrs p.nv-yrs-h{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 12px;margin:0;color:#8a8a8f;
  font:500 10.5px/1.4 var(--mono,ui-monospace,monospace);letter-spacing:.12em;text-transform:uppercase}
.nx-test .nv-yrs .px-tag{margin-left:0;color:#c9c9cd}
.nv-yrs ol{position:relative;display:grid;grid-template-columns:repeat(8,minmax(0,1fr));margin:16px 0 0;padding:0;list-style:none}
.nv-yrs ol::before{content:'';position:absolute;left:calc(100%/16);right:calc(100%/16);top:6.5px;height:1px;background:#232326}
.nv-yrs li{position:relative;display:grid;justify-items:center;gap:8px;min-width:0}
.nv-yrs li i{width:14px;height:14px;border-radius:50%;background:#3a3a40;box-shadow:0 0 0 3px #0e0e10}
.nv-yrs li[data-k="loss"] i{background:#0e0e10;box-shadow:inset 0 0 0 2.5px #ff5a52,0 0 0 3px #0e0e10}
.nv-yrs li b{color:#9a9a9e;font:500 11px/1 var(--mono,ui-monospace,monospace)}
.nv-yrs li[data-k="loss"] b{color:#ff7a73}
.nx-test .nv-yrs p.nv-yrs-k{display:flex;flex-wrap:wrap;gap:6px 18px;margin:14px 0 0;color:#9a9a9e;font-size:12px;line-height:1.4}
.nv-yrs-k span{display:inline-flex;align-items:center;gap:8px}
.nv-yrs-k i{width:10px;height:10px;border-radius:50%;background:#3a3a40}
.nv-yrs-k i[data-k="loss"]{background:transparent;box-shadow:inset 0 0 0 2px #ff5a52}

/* ── Before you start: an icon per item, the Beta tag, the account rule as a drawing ── */
.pp-c.nv-pp li{grid-template-columns:26px minmax(0,1fr);column-gap:12px;align-items:start}
.pp-c.nv-pp li>span:last-child{padding-top:3px}
.nv-li{display:grid;place-items:center;width:26px;height:26px;box-sizing:border-box;border:1px solid #232326;border-radius:8px;color:#ff4fd8;background:#0e0e10}
.nv-li .px-i{width:14px;height:14px}
.nv-li:has(img){border:0;background:none}
.nv-li img{display:block;width:26px;height:26px;border-radius:8px}
.nv-beta{display:inline-flex;align-items:center;gap:6px;margin-left:12px;padding:3px 10px 3px 4px;border:1px solid #4a2343;border-radius:999px;
  color:#ff8fe6;font:500 11.5px/1.4 Inter,sans-serif;letter-spacing:0;vertical-align:3px}
.nv-beta img{width:18px;height:18px;border-radius:5px}
.nv-acc-c{display:flex;flex-direction:column}
.nv-accs{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.45fr);gap:12px;margin:auto 0 12px;padding:34px 14px 14px;
  border:1px solid #1c1c1e;border-radius:12px;background:#0e0e10}
.nv-accs .nv-dr{top:12px;bottom:auto;right:12px}
.nv-ab{display:grid;align-content:start;gap:8px;min-width:0}
.nv-ab-h{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#c9c9cd;font-size:12.5px}
.nv-ab-h b{font-weight:500}
.nv-ab-h em{display:grid;place-items:center;width:20px;height:20px;border-radius:50%;font-style:normal;font-size:12px;line-height:1}
.nv-no .nv-ab-h em{color:#ff5a52;box-shadow:inset 0 0 0 1.5px #ff5a52}
.nv-ok .nv-ab-h em{color:#3ecf6e;box-shadow:inset 0 0 0 1.5px #3ecf6e}
.nv-ab-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.nv-ab-box{display:flex;flex-wrap:wrap;align-items:center;gap:6px;min-width:0;padding:8px 10px 10px;border:1px dashed #2e2e33;border-radius:9px}
.nv-no .nv-ab-box{border-color:rgba(255,90,82,.45)}
.nv-mt{flex-basis:100%;color:#8a8a8f;font:500 9.5px/1.3 var(--mono,ui-monospace,monospace);letter-spacing:.1em;text-transform:uppercase}
.nv-ab-box img{width:28px;height:28px;border-radius:8px}

/* ── readability and keyboard (from the brief's contrast notes) ── */
.nr-fine,.n3-days>span{color:#7c7c81}
.nr-in:focus-within{outline:2px solid rgba(255,255,255,.7);outline-offset:2px}

/* ── Part of Orion Pro: the plan's own mark on its label ── */
.px-k.nv-pk img{width:22px;height:22px;border-radius:6px}

/* ── motion (one play on arrival; never under reduced motion) ── */
@media (prefers-reduced-motion:no-preference){
  .js [data-nv]{opacity:0;transform:translateY(14px);
    transition:opacity .7s var(--o-eo,ease) calc(var(--i,0)*80ms),transform .7s var(--o-eo,ease) calc(var(--i,0)*80ms),border-color .2s ease}
  .js [data-nv].in{opacity:1;transform:none}

  .nv-can{--o:calc(var(--i,0)*80ms + .3s)}
  .nv-story{--o:.15s}
  .px-fig.nv-play{--o:.35s}
  .nv-spark{--o:.15s}
  .js .nv-play .a-d{stroke-dasharray:1;stroke-dashoffset:1}
  .js .nv-play.in .a-d{stroke-dashoffset:0;transition:stroke-dashoffset var(--t,.6s) var(--e,cubic-bezier(.45,0,.25,1)) calc(var(--d,0s) + var(--o,0s))}
  .js .nv-play .a-f{opacity:0}
  .js .nv-play.in .a-f{opacity:1;transition:opacity var(--t,.45s) ease calc(var(--d,0s) + var(--o,0s))}
  .js .nv-play .a-p{opacity:0;transform:scale(.35);transform-box:fill-box;transform-origin:center}
  .js .nv-play.in .a-p{opacity:1;transform:none;transition:opacity .3s ease calc(var(--d,0s) + var(--o,0s)),transform .5s var(--o-eo,ease) calc(var(--d,0s) + var(--o,0s))}
  .js .nv-play .a-x{transform:scaleX(0);transform-box:fill-box;transform-origin:0 50%}
  .js .nv-play.in .a-x{transform:none;transition:transform var(--t,.6s) var(--e,cubic-bezier(.45,0,.25,1)) calc(var(--d,0s) + var(--o,0s))}
  .js .nv-play .a-w{clip-path:inset(0 100% 0 0) stroke-box}
  .js .nv-play.in .a-w{clip-path:inset(0 0 0 0) stroke-box;transition:clip-path var(--t,.6s) var(--e,cubic-bezier(.45,0,.25,1)) calc(var(--d,0s) + var(--o,0s))}
  .js .nv-play .a-c{opacity:0;transform:scaleY(.2);transform-box:fill-box;transform-origin:center}
  .js .nv-play.in .a-c{opacity:1;transform:none;transition:opacity .3s ease calc(var(--d,0s) + var(--o,0s)),transform .4s var(--o-eo,ease) calc(var(--d,0s) + var(--o,0s))}
  .js .nv-play .a-n{transform:rotate(-45deg);transform-box:view-box}
  .js .nv-play.in .a-n{transform:none;transition:transform var(--t,.9s) var(--o-eo,ease) calc(var(--d,0s) + var(--o,0s))}
  .js .nv-play .a-r{opacity:0;transform:translateX(-8px)}
  .js .nv-play.in .a-r{opacity:1;transform:none;transition:opacity .4s ease calc(var(--d,0s) + var(--o,0s)),transform .5s var(--o-eo,ease) calc(var(--d,0s) + var(--o,0s))}

  /* the check-in pulse: a few rounds, then rest (motion.js caps it and pauses it off screen) */
  .js .nv-play.in .nv-pulse{animation:nvPulse 2.8s ease-in-out calc(1.2s + var(--o,0s)) infinite}
  @keyframes nvPulse{0%{opacity:0;transform:none}10%{opacity:1}46%{opacity:1;transform:translateX(100px)}56%,100%{opacity:0;transform:translateX(100px)}}

  /* the steps beside the trade drawings light in turn, once */
  .js .nv-story.in li::before{animation:nvStep 1s ease var(--sa,0s)}
  .js .nv-story.in li{animation:nvStepT 1s ease var(--sa,0s)}
  @keyframes nvStep{0%,100%{background-color:transparent;color:#fff}20%,70%{background-color:#ff4fd8;color:#0b0b0c}}
  @keyframes nvStepT{0%,100%{color:#9a9a9e}20%,70%{color:#e6e6ea}}

  /* the route fills, the steps light as it passes, then a dot runs along it a few times */
  .js .nv-route .nv-rt{opacity:0;transition:opacity .5s ease .4s}
  .js .nv-route.in .nv-rt{opacity:1}
  .js .nv-route .nv-rf{transform:scaleX(0)}
  .js .nv-route.nv-v .nv-rf{transform:scaleY(0)}
  .js .nv-route.in .nv-rf{transform:none;transition:transform 2.2s cubic-bezier(.45,0,.25,1) .7s}
  .js .nv-route .px-step.in .px-ico{border-color:#232326;transition:border-color .4s ease calc(var(--t,0)*2.2s + .7s),box-shadow .4s ease calc(var(--t,0)*2.2s + .7s)}
  .js .nv-route.in .px-step.in .px-ico{border-color:#7a2a6a;box-shadow:0 0 0 4px rgba(255,79,216,.07)}
  .js .nv-route.in .nv-dot{animation:nvRun 3.6s cubic-bezier(.45,0,.25,1) 3.1s infinite}
  @keyframes nvRun{0%{opacity:0;transform:none}8%{opacity:1}86%{opacity:1;transform:var(--end)}100%{opacity:0;transform:var(--end)}}

  /* the example dashboard: its own "MT5 connected" dot breathes a few times; the numbers arrive in turn */
  .js .nv-dash.in .nx-dash-top p.nx-st i{animation:nvPing 2.6s ease-out 1s infinite}
  @keyframes nvPing{0%{box-shadow:0 0 0 0 rgba(255,79,216,.45)}70%,100%{box-shadow:0 0 0 7px rgba(255,79,216,0)}}
  .js .nv-dash .nx-dash-kpis>div,.js .nv-dash .nx-dash-open{opacity:0;transform:translateY(8px)}
  .js .nv-dash.in .nx-dash-kpis>div,.js .nv-dash.in .nx-dash-open{opacity:1;transform:none;transition:opacity .5s ease var(--k,.3s),transform .6s var(--o-eo,ease) var(--k,.3s)}
  .nv-dash .nx-dash-kpis>div:nth-child(2){--k:.4s}.nv-dash .nx-dash-kpis>div:nth-child(3){--k:.5s}.nv-dash .nx-dash-kpis>div:nth-child(4){--k:.6s}
  .nv-dash .nx-dash-open{--k:.75s}

  /* the eight years arrive one by one */
  .js .nx-test.nv-play .nv-yrs li{opacity:0;transform:translateY(6px)}
  .js .nx-test.nv-play.in .nv-yrs li{opacity:1;transform:none;transition:opacity .4s ease calc(.35s + var(--i)*90ms),transform .5s var(--o-eo,ease) calc(.35s + var(--i)*90ms)}

  /* the what-if line draws in once, the first time it is seen */
  #wi-line path.nv-wd{stroke-dasharray:1;animation:nvDraw 1.6s cubic-bezier(.45,0,.25,1) both}
  @keyframes nvDraw{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
}

/* ── sizes ── */
@media (min-width:901px){
  .nv-beta-c ul{grid-template-columns:repeat(3,minmax(0,1fr));column-gap:26px}
}
@media (max-width:620px){
  .nx-can li.nv-can{grid-template-columns:minmax(0,1fr);padding:10px 10px 16px}
  .nx-can li.nv-can .px-ico{grid-row:auto}
  .nv-stage{height:92px;margin-bottom:10px} /* taller on phones so the drawing's words stay readable (about 10px) */
  .nx-can li.nv-can>span:last-child{padding-top:5px}
  .nv-spark{gap:8px;padding:14px 16px 14px}
  .nv-spark svg{height:52px}
  .nv-cmt{font-size:9.5px}
  .nv-accs{gap:10px;padding:32px 10px 10px}
  .nv-ab-box{padding:7px 8px 8px}
  .nv-mt{font-size:8px;letter-spacing:.02em}
  .nv-ab-h{font-size:12px}
  .nv-ab-box img{width:24px;height:24px;border-radius:7px}
  .nx-test .nv-yrs{padding:12px 10px 10px}
  .nx-test .nv-yrs .px-tag{white-space:normal;letter-spacing:.1em}
  .nv-yrs li b{font-size:9.5px}
  .nv-yrs li i{width:12px;height:12px}
  .nv-yrs ol::before{top:5.5px}
}
@media (max-width:360px){
  .nv-yrs li b{font-size:8.5px;letter-spacing:-.02em}
}
@media (max-width:380px){.nv-accs{grid-template-columns:minmax(0,1fr)}}


/* ======================= 2. hero B (nexus-b.css) ======================= */
/* nexus.html hero, option B "Product stage" (17 Nov 2026 design copy). Nexus-only file; orion.css, home-v2.css and
   products.css are untouched. A centred launch top: the N of star dots (canvas, nexus-b.js), the name, one line, the two
   site buttons, then ONE portal window (Example screen) with one soft glow behind it (?glow=0 shows the no-glow version),
   then the four facts as icon tiles. Colour only on small marks. Motion plays once on load, rests, and is off under
   prefers-reduced-motion (one finished frame). */

#hero.nb{padding:100px 0 96px}

/* ── the head ── */
.nb-top{display:flex;flex-direction:column;align-items:center;text-align:center}
.nb-mark{width:min(640px,100%);height:188px;margin-bottom:4px}
.nb-mark canvas{display:block;width:100%;height:100%}
.nb .sec-kicker{display:block}
.nb-name{max-width:none;margin-top:14px;color:#fff;font-family:var(--display);font-size:clamp(44px,6.4vw,86px);
  font-weight:500;line-height:1;letter-spacing:-.045em}
.nb-say{max-width:56ch;margin-top:20px;color:var(--o-k3);font-size:17px;line-height:1.6;text-wrap:balance}
.nb-cta{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:28px}
.nb-cta .pill:focus-visible{outline:2px solid #fff;outline-offset:3px}   /* the live page's ring for these two buttons */
.nb-note{margin-top:14px;color:var(--o-k6);font-size:12.5px;line-height:1.5}

/* ── the stage: one window, one glow (the site's 21st.dev recipe, plus one pink touch) ── */
.nb-stage{position:relative;isolation:isolate;margin:52px 0 0}
.nb-glow{position:absolute;z-index:-1;left:-2%;right:-2%;top:-5%;bottom:34%;border-radius:45%;filter:blur(48px);pointer-events:none;opacity:.42;
  background:
    radial-gradient(42% 58% at 50% 42%,rgba(35,94,250,.5),transparent 72%),
    radial-gradient(40% 55% at 26% 55%,#4ebceb,transparent 70%),
    radial-gradient(40% 55% at 74% 55%,#3ba6f5,transparent 70%),
    radial-gradient(26% 40% at 86% 30%,rgba(255,79,216,.55),transparent 72%);
  animation:nbGlow 10s ease-in-out infinite}
@keyframes nbGlow{50%{opacity:.6}}
.nb-noglow .nb-glow{display:none}

.nb-dev{margin:0;border:1px solid #26262a;border-radius:18px;background:#070708;overflow:hidden;text-align:left;
  box-shadow:inset 0 1px rgba(255,255,255,.05),0 40px 90px -30px #000;transform-origin:50% 0;
  animation:nbRise 1.5s var(--easeout) .3s backwards}
@keyframes nbRise{from{opacity:0;transform:perspective(2000px) rotateX(18deg) translateY(40px) scale(.96)}}

.nb-dev{position:relative}
.nb-dev::before{content:'';position:absolute;z-index:1;left:12%;right:12%;top:0;height:1px;pointer-events:none;
  background:linear-gradient(90deg,transparent,rgba(78,188,235,.7) 30%,rgba(255,79,216,.8) 62%,transparent)}
.nb-bar{display:flex;align-items:center;gap:8px 14px;padding:11px 16px;box-shadow:inset 0 -1px #1c1c1e;color:#8a8a8f;font-size:12.5px}
.nb-dots{display:flex;gap:6px}
.nb-dots i{width:9px;height:9px;border-radius:50%;background:#26262a}
.nb-path{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nb-path b{color:#fff;font-weight:500}
.nb-bar .px-tag{color:#ffbe4a}

.nb-body{display:grid;grid-template-columns:212px minmax(0,1fr)}
.nb-rail{padding:18px 12px;background:#0a0a0b;box-shadow:inset -1px 0 #1c1c1e}
.nb-brand{display:grid;gap:6px;padding:0 10px 16px;color:#fff;font-size:14px;font-weight:500}
.nb-brand span{display:flex;align-items:center;gap:6px;color:#8a8a8f;font-size:11.5px;font-weight:400}
.nb-brand span i{padding:0 7px;border:1px solid #2e2e33;border-radius:999px;color:#c9c9cd;font-size:10.5px;font-style:normal;line-height:1.6}
.nb-rail ul{display:grid;gap:2px;margin:0;padding:0;list-style:none}
.nb-rail li{display:flex;align-items:center;gap:10px;padding:7px 10px;border-radius:8px;color:#9a9a9e;font-size:12.5px;white-space:nowrap}
.nb-rail svg{flex:none;width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.nb-rail li.on{color:#fff;background:#18181b}
.nb-rail li.on svg{color:var(--pc)}
.nb-rail li.on svg circle{fill:currentColor}
.nb-rail li .nb-beta{margin-left:auto}
.nb-beta{display:inline-block;padding:1px 6px;border-radius:5px;background:rgba(255,79,216,.12);color:#ff8fe6;
  font:500 10.5px/1.5 Inter,sans-serif;font-style:normal;letter-spacing:0}

.nb-main{min-width:0;padding:22px 26px 24px}
.nb-k{color:#8a8a8f;font-size:11.5px}
.nb-t{display:flex;align-items:center;gap:10px;margin-top:2px;color:#fff;font-family:var(--display);font-size:30px;font-weight:500;
  line-height:1.15;letter-spacing:-.03em}
.nb-conn{display:flex;align-items:center;flex-wrap:wrap;gap:4px 8px;margin-top:8px;color:#9a9a9e;font-size:12.5px}
.nb-conn i{flex:none;width:7px;height:7px;border-radius:50%;background:var(--pc)}
.nb-conn b{color:#e6e6ea;font-weight:500}
.nb-conn span::before{content:"\00b7";margin-right:8px}
.nb-tabs{display:inline-flex;gap:4px;margin-top:16px;padding:4px;border:1px solid #1c1c1e;border-radius:10px;background:#0b0b0b}
.nb-tabs span{padding:5px 12px;border-radius:7px;color:#8a8a8f;font-size:12.5px;white-space:nowrap;transition:color .4s ease,background-color .4s ease}
.nb-dev[data-tab="setup"] [data-t="setup"],.nb-dev[data-tab="mine"] [data-t="mine"]{color:#fff;background:#1f1f23}
.nb-tabs [data-t]{cursor:pointer}   /* the two tabs with a pane switch on click (nexus-b.js) */
@media (hover:hover){.nb-tabs [data-t]:hover{color:#fff}}

/* both panes share one cell, so the window is always as tall as the taller pane (no jump when it switches) */
.nb-panes{display:grid;margin-top:16px}
.nb-pane{grid-area:1/1;display:grid;align-content:start;gap:12px;min-width:0;
  transition:opacity .55s ease .15s,transform .7s var(--easeout) .15s,visibility 0s linear 0s}
.nb-dev:not([data-tab="setup"]) [data-p="setup"],.nb-dev:not([data-tab="mine"]) [data-p="mine"]{opacity:0;transform:translateY(10px);visibility:hidden;
  transition:opacity .3s ease,transform .3s ease,visibility 0s linear .3s}

.nb-card{min-width:0;padding:16px 18px;border:1px solid #1c1c1e;border-radius:14px;background:#0b0b0b}
.nb-key{color:#8a8a8f;font-size:12px;line-height:1.5}
.nb-ct{display:flex;align-items:center;gap:8px;color:#fff;font-size:15px;font-weight:500}
.nb-btn{display:inline-flex;align-items:center;gap:8px;margin-top:12px;padding:7px 14px;border:1px solid rgba(255,255,255,.28);border-radius:999px;
  color:#fff;background:rgba(255,255,255,.05);font-size:12.5px;font-weight:500}
.nb-btn svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.nb-sm{margin-top:10px;color:#9a9a9e;font-size:12.5px;line-height:1.5}
.nb-steps ol{counter-reset:nb;display:grid;gap:12px;margin:14px 0 0;padding:0;list-style:none}
.nb-steps li{display:grid;grid-template-columns:24px minmax(0,1fr);gap:12px;align-items:start;color:#c9c9cd;font-size:12.5px;line-height:1.55;
  overflow-wrap:break-word;transition:color .5s ease}
.nb-steps li::before{counter-increment:nb;content:counter(nb);display:grid;place-items:center;width:24px;height:24px;margin-top:-2px;
  border:1.5px solid var(--pc);border-radius:50%;color:#fff;font:600 11px/1 var(--mono);transition:border-color .5s ease,color .5s ease}
.nb-arm .nb-steps li:not(.on){color:#6f6f74}
.nb-arm .nb-steps li:not(.on)::before{border-color:#2a2a2e;color:#6f6f74}

.nb-me{display:grid;grid-template-columns:auto minmax(0,1fr);gap:16px;align-items:center}
.nb-me img{display:block;width:56px;height:56px;border-radius:22%}
.nb-me .nb-sm{margin:0}
.nb-st{display:flex;align-items:baseline;flex-wrap:wrap;gap:2px 8px;margin:2px 0 8px;color:#fff;font-family:var(--display);font-size:20px;
  font-weight:500;letter-spacing:-.02em}
.nb-st i{flex:none;align-self:center;width:8px;height:8px;border-radius:50%;background:var(--pc)}
.nb-st small{color:#9a9a9e;font:400 12.5px Inter,sans-serif;letter-spacing:0}
.nb-st small::before{content:"\00b7";margin-right:8px}
.nb-chips{display:flex;flex-wrap:wrap;gap:6px}
.nb-chips span{padding:3px 9px;border:1px solid #232326;border-radius:999px;color:#c9c9cd;font-size:11.5px}
.nb-kp{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border:1px solid #1c1c1e;border-radius:14px;background:#0b0b0b}
.nb-kp>div{display:grid;gap:4px;min-width:0;padding:14px 18px}
.nb-kp>div+div{box-shadow:inset 1px 0 #1c1c1e}
.nb-kp span{color:#8a8a8f;font-size:12px}
.nb-kp b{color:#fff;font:600 22px/1.15 var(--mono)}
.nb-kp small{color:#8a8a8f;font-size:11.5px}
.nb-open{display:grid;gap:12px}
.nb-otag{display:flex;flex-wrap:wrap;align-items:center;gap:6px;color:#c9c9cd;font:500 12px var(--mono)}
.nb-open dl{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px 18px;margin:0}
.nb-open dt{color:#8a8a8f;font-size:11.5px}
.nb-open dd{margin:2px 0 0;color:#e6e6ea;font:500 13px var(--mono)}
.nb-open dd small{display:block;color:#8a8a8f;font:400 11px Inter,sans-serif}

.nb-dev figcaption{display:grid;padding:12px 18px;box-shadow:inset 0 1px #1c1c1e;color:#ffbe4a;font-size:12.5px;line-height:1.5}
.nb-dev figcaption span{grid-area:1/1;transition:opacity .45s ease}
.nb-dev:not([data-tab="setup"]) [data-c="setup"],.nb-dev:not([data-tab="mine"]) [data-c="mine"]{opacity:0;visibility:hidden}

/* ── the four facts as icon tiles ── */
.nb-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:40px 0 0}
.nb-facts>div{display:grid;align-content:start;gap:10px;min-width:0;padding:20px 20px 22px;border:1px solid var(--o-hcell);border-radius:16px;
  background:var(--o-panel)}
.nb-facts dt{display:grid;justify-items:start;gap:16px;color:var(--o-k5);font-family:var(--mono);font-size:10.5px;line-height:1.4;
  letter-spacing:.14em;text-transform:uppercase}
.nb-facts .px-ico{width:38px;height:38px;border-radius:11px}
.nb-facts dd{display:grid;gap:6px;margin:0}
.nb-facts dd b{display:flex;align-items:center;gap:9px;color:#fff;font-family:var(--display);font-size:20px;font-weight:500;line-height:1.2;letter-spacing:-.02em}
.nb-facts dd span{color:var(--o-k4);font-size:13px;line-height:1.5}
.nb-facts b.y::before{content:'';flex:none;width:9px;height:9px;border-radius:50%;background:var(--pc)}

/* ── arrival: from-only keyframes, so the resting state is always the element's own style ── */
@keyframes nbUp{from{opacity:0;transform:translateY(12px)}}
.nb-top>*:not(.nb-mark){animation:nbUp .8s var(--easeout) backwards}
.nb-top .sec-kicker{animation-delay:.1s}
.nb-name{animation-delay:.18s}
.nb-say{animation-delay:.26s}
.nb-cta{animation-delay:.34s}
.nb-note{animation-delay:.4s}
.nb-facts>div{animation:nbUp .8s var(--easeout) backwards}
.nb-facts>div:nth-child(1){animation-delay:.9s}
.nb-facts>div:nth-child(2){animation-delay:.98s}
.nb-facts>div:nth-child(3){animation-delay:1.06s}
.nb-facts>div:nth-child(4){animation-delay:1.14s}

@media (max-width:1100px){
  .nb-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:900px){
  .nb-body{grid-template-columns:minmax(0,1fr)}
  .nb-rail{display:none}
  .nb-open dl{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:620px){
  #hero.nb{padding:92px 0 72px}
  .nb-mark{height:160px}
  .nb-say{font-size:15.5px}
  .nb-cta{align-self:stretch}
  .nb-cta .pill{flex:1 1 100%}
  .nb-stage{margin-top:44px}
  .nb-bar{padding:10px 12px}
  .nb-dots{display:none}
  .nb-conn span{flex-basis:100%;padding-left:15px}
  .nb-conn span::before{content:none}
  .nb-main{padding:16px 14px 16px}
  .nb-t{font-size:24px}
  .nb-tabs span{padding:5px 9px;font-size:12px}
  .nb-card{padding:14px}
  .nb-me{grid-template-columns:40px minmax(0,1fr);gap:12px;align-items:start}
  .nb-me img{width:40px;height:40px}
  .nb-st small{flex-basis:100%}
  .nb-st small::before{content:none}
  .nb-st{font-size:18px}
  .nb-kp>div{padding:12px 14px}
  .nb-kp b{font-size:20px}
  .nb-dev figcaption{padding:11px 14px}
  .nb-facts{gap:10px;margin-top:28px}
  .nb-facts>div{padding:16px 16px 18px}
  .nb-facts dt{gap:12px}
  .nb-facts dd b{font-size:18px}
}
@media (max-width:420px){.nb-root{display:none}}
/* phones: one column, icon at the left, so each fact reads in two or three lines instead of eight */
@media (max-width:560px){
  .nb-facts{grid-template-columns:minmax(0,1fr)}
  .nb-facts>div{position:relative;padding:16px 16px 18px 68px}
  .nb-facts .px-ico{position:absolute;left:16px;top:16px}
}
@media (prefers-reduced-motion:reduce){
  .nb *,.nb *::before,.nb *::after{animation:none!important;transition:none!important}
}


/* ======================= 3. #look: option C's two drawn cards (nexus-c.css, scoped to .n2-look) ======================= */
/* Keeps #look's own kicker, heading and line above. Two cards side by side from 721 px, stacked below. Each card holds two
   copies of its drawing: the wide one (520 x 124) and a narrow one (340 x 156, same made-up candles, squeezed across and
   taller) that shows when the card is 440 px or less, so phone drawings stay about 115 px or taller with labels near 10-13 px.
   Made-up prices only, no axis, no money; each card keeps its "Drawing" tag and the caption under the pair. */
.n2-look{--px-line:var(--o-hcell,#1c1c1e);--px-comp:var(--o-hcomp,#232326);--px-panel:var(--o-panel,#0b0b0b);
  --px-mono:var(--mono,ui-monospace,"SF Mono",Menlo,Consolas,monospace);--px-ease:cubic-bezier(.2,.8,.2,1);--nxc-pk:#ff4fd8;min-width:0;margin-top:40px}   /* the gap the old window had (.px-fig) */
.n2-look .nxc-pair{display:grid;gap:12px}
@media (min-width:721px){
  /* side by side; the card rows (head, drawing, timeline) line up across both cards even when one head wraps */
  .n2-look .nxc-pair{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto auto 1fr}
  .n2-look .nxc-card{display:grid;grid-template-rows:subgrid;grid-row:span 3;row-gap:0}
}
.n2-look .nxc-card{position:relative;container-type:inline-size;min-width:0;border:1px solid var(--px-line);border-radius:16px;background:var(--px-panel);
  overflow:hidden;transition:border-color .6s ease}
.n2-look .nxc-card.run{border-color:color-mix(in srgb,var(--nxc-pk) 34%,#1c1c1e)}
.n2-look .nxc-ch{display:flex;align-items:flex-start;gap:12px;padding:16px 18px 0}
.n2-look .nxc-ch>div{min-width:0}
.n2-look .nxc-ch .px-ico{width:36px;height:36px;border-radius:10px;color:var(--nxc-pk);background:color-mix(in srgb,var(--nxc-pk) 7%,transparent)}
.n2-look .nxc-ch .px-i{width:18px;height:18px}
.n2-look .nxc-t{display:block;padding-right:84px;color:#fff;font-family:var(--display);font-size:17px;font-weight:500;line-height:1.25;letter-spacing:-.02em}
.n2-look .nxc-ch p{margin-top:2px;color:var(--o-k4,#9a9a9e);font-size:13px;line-height:1.45}
.n2-look .nxc-ch .px-tag{position:absolute;top:16px;right:18px}
.n2-look .nxc-plot{padding:8px 18px 0}
.n2-look .nxc-svg{display:block;width:100%;height:auto;overflow:visible}
.n2-look .nxc-svg.n{display:none}
.n2-look .nxc-grid{fill:none;stroke:#161618}
.n2-look .nxc-c path{stroke-width:1.2}
.n2-look .nxc-c.u rect{fill:#e6e6ea}.n2-look .nxc-c.u path{stroke:#c9c9cd}
.n2-look .nxc-c.d rect{fill:#0b0b0b;stroke:#8a8a8f;stroke-width:1.2}.n2-look .nxc-c.d path{stroke:#8a8a8f}
.n2-look .nxc-lb{font:500 10.5px 'IBM Plex Mono',var(--px-mono)}
.n2-look .nxc-svg.n .nxc-lb{font-size:14px}
.n2-look .nxc-tl{position:relative;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0 10px;margin:12px 18px 17px;padding:0;list-style:none}
.n2-look .nxc-tl::before{content:'';position:absolute;left:4px;right:0;top:4px;height:1px;background:var(--px-comp)}
.n2-look .nxc-tl li{position:relative;display:grid;align-content:start;gap:1px;min-width:0;padding-top:17px;transition:opacity .4s ease}
.n2-look .nxc-tl li::before{content:'';position:absolute;left:0;top:0;width:9px;height:9px;border-radius:50%;background:var(--c);
  box-shadow:0 0 0 3px var(--px-panel);transition:background-color .4s ease}
.n2-look .nxc-tl b{color:var(--o-k2,#e6e6ea);font-size:12.5px;font-weight:500;line-height:1.35}
.n2-look .nxc-tl span{color:var(--o-k5,#8a8a8f);font:11px/1.4 var(--px-mono)}
.n2-look .nxc-chips{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 0;padding:0;list-style:none}
.n2-look .nxc-chips li{display:inline-flex;align-items:center;gap:8px;min-height:34px;padding:0 13px 0 11px;border:1px solid var(--px-line);
  border-radius:999px;background:var(--px-panel);color:var(--o-k3,#c9c9cd);font-size:12.5px;line-height:1.3}
.n2-look .nxc-chips .px-i{width:15px;height:15px;color:var(--nxc-pk)}
.n2-look .nxc-chips img{flex:none;width:16px;height:16px;border-radius:5px}
.n2-look .n2-cap{margin-top:14px;padding:0;box-shadow:none}

/* the wide drawing's words grow a little on mid-size cards; at 440 px or less the narrow drawing takes over */
@container (max-width:560px){.n2-look .nxc-svg.w .nxc-lb{font-size:13px}}
@container (max-width:480px){.n2-look .nxc-svg.w .nxc-lb{font-size:14px}}   /* about 11 px on screen at 1024 */
@container (max-width:440px){.n2-look .nxc-svg.w{display:none}.n2-look .nxc-svg.n{display:block}}
@container (max-width:380px){
  .n2-look .nxc-tl{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 10px}
  .n2-look .nxc-tl::before{display:none}
}
@media (max-width:620px){
  .n2-look .nxc-ch{padding:14px 14px 0}
  .n2-look .nxc-ch .px-tag{top:14px;right:14px}
  .n2-look .nxc-plot{padding:8px 14px 0}
  .n2-look .nxc-tl{margin:12px 14px 15px}
}

/* motion: nexus-2.js adds .nxc-anim on <html>, then .p1 to .p4 on each card in turn (one play, then rest) */
@media (prefers-reduced-motion:no-preference){
  .nxc-anim .n2-look .nxc-card [data-k]{opacity:0;transition:opacity .45s ease}
  .nxc-anim .n2-look .nxc-card .nxc-c{transform:scaleY(.35);transform-box:fill-box;transform-origin:50% 50%;
    transition:opacity .35s ease calc(var(--i)*70ms),transform .45s var(--px-ease) calc(var(--i)*70ms)}
  .nxc-anim .n2-look .nxc-card .nxc-c[data-k="3"]{transition-delay:calc(var(--i)*95ms)}
  .nxc-anim .n2-look .nxc-card .nxc-grow{transform:scaleX(0);transform-box:fill-box;transform-origin:0 50%;
    transition:opacity .3s ease,transform .7s var(--px-ease) .15s}
  .nxc-anim .n2-look .nxc-card .nxc-grow.v{transform:scaleY(0);transform-origin:50% 0}
  .nxc-anim .n2-look .nxc-card .nxc-pop{transform:scale(0);transform-box:fill-box;transform-origin:50% 50%;
    transition:opacity .25s ease,transform .5s cubic-bezier(.3,1.5,.5,1)}
  .nxc-anim .n2-look .nxc-card .nxc-trail{stroke-dasharray:1 1;stroke-dashoffset:1;transition:opacity .2s ease,stroke-dashoffset 1.9s linear .1s}
  .nxc-anim .n2-look .nxc-card .nxc-tl li{opacity:.4}
  .nxc-anim .n2-look .nxc-card .nxc-tl li::before{background:#3a3a3f}
  .nxc-anim .n2-look .nxc-card.p1 [data-k="1"],.nxc-anim .n2-look .nxc-card.p2 [data-k="2"],
  .nxc-anim .n2-look .nxc-card.p3 [data-k="3"],.nxc-anim .n2-look .nxc-card.p4 [data-k="4"]{opacity:1;transform:none;stroke-dashoffset:0}
  .nxc-anim .n2-look .nxc-card.p1 .nxc-tl [data-k="1"]::before,.nxc-anim .n2-look .nxc-card.p2 .nxc-tl [data-k="2"]::before,
  .nxc-anim .n2-look .nxc-card.p3 .nxc-tl [data-k="3"]::before,.nxc-anim .n2-look .nxc-card.p4 .nxc-tl [data-k="4"]::before{background:var(--c)}
}
@media (prefers-reduced-motion:reduce){.n2-look .nxc-card{transition:none}}


/* ======================= round 2: hero B shorter on phones ======================= */
/* B's phone hero was about 2,100 px at 390. Same words, same window: a smaller star mark, a shorter crop of the Example
   screen (its panes end in a soft fade, like a cropped screen picture; the whole Setup page is in the caption's words and
   in #dashboard), and the fact tiles a little tighter. */
@media (max-width:620px){
  .nb-mark{height:128px;margin-bottom:0}
  .nb-stage{margin-top:36px}
  .nb-panes{max-height:338px;overflow:hidden;
    -webkit-mask-image:linear-gradient(180deg,#000 72%,transparent);mask-image:linear-gradient(180deg,#000 72%,transparent)}
  .nb-facts{margin-top:24px;gap:8px}
}
@media (max-width:560px){
  .nb-facts>div{gap:6px;padding:14px 14px 15px 62px}
  .nb-facts .px-ico{left:14px;top:14px;width:34px;height:34px;border-radius:10px}
  .nb-facts dt{gap:8px}
  .nb-facts dd{gap:4px}
}
