/* Site v2 (staging, 2026-11-01): shared styles for the new home, NexBake and NexUV pages. */
:root {
  --ink:#0a0a0a; --panel:#101010; --p2:#151515; --line:#232323; --line-2:#313131;
  --bone:#f2efec; --dust:#a4a09d; --dim:#6f6c6a; --red:#b5121b;
  --node:#8B5CF6; --bake:#FF6A1F; --uv:#E2337A;
  --acc:var(--red); --on-acc:#fff;
  --gutter:clamp(16px, 4vw, 48px);
}
body.bake { --acc:var(--bake); --on-acc:#160a04; }
body.uv { --acc:var(--uv); --on-acc:#fff; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; background:var(--ink); color:var(--bone); font:16px/1.55 'Familjen Grotesk', system-ui, sans-serif; -webkit-font-smoothing:antialiased; }
a { color:inherit; text-decoration:none; }
img { display:block; }
.i { width:18px; height:18px; stroke:currentColor; fill:none; stroke-width:2.1; stroke-linecap:round; stroke-linejoin:round; flex:none; }
.wrap { max-width:calc(1320px + 2 * var(--gutter)); margin:0 auto; padding:0 var(--gutter); } /* the same width as every other page's header */
.btn { display:inline-flex; align-items:center; gap:8px; height:44px; padding:0 20px; border-radius:999px; font-weight:600; font-size:15px; white-space:nowrap; cursor:pointer; border:0; }
.btn.acc { background:var(--acc); color:var(--on-acc); }
.btn.white { background:var(--bone); color:#0b0b0c; }
.btn.ghost { box-shadow:inset 0 0 0 1px var(--line-2); color:var(--bone); }
.btn.ghost:hover { box-shadow:inset 0 0 0 1px #4a4a4e; }
.btn.soon { cursor:default; opacity:.72; }
.btn .i { width:17px; height:17px; }
.btn.sm { height:36px; padding:0 16px; font-size:13.5px; }
.eyebrow { color:var(--acc); font-size:13px; font-weight:600; letter-spacing:.06em; text-transform:uppercase; }
h1, h2, h3 { margin:0; font-weight:650; letter-spacing:-.02em; }
h2 { font-size:clamp(30px, 3.6vw, 44px); line-height:1.08; }
.lead { color:var(--dust); font-size:18px; max-width:560px; }
.muted { color:var(--dim); }
section { padding:96px 0; }
.sec-head { display:flex; justify-content:space-between; align-items:flex-end; gap:24px; margin-bottom:40px; }
.sec-head p { margin:10px 0 0; color:var(--dust); max-width:520px; }
.link { display:inline-flex; align-items:center; gap:6px; color:var(--dust); font-weight:500; }
.link:hover { color:var(--bone); }
.poster { background:#0e0e0f center/contain no-repeat; }

/* header: one row */
.hdr { position:sticky; top:0; z-index:50; background:color-mix(in srgb, var(--ink) 74%, transparent); backdrop-filter:blur(14px); border-bottom:1px solid transparent; transition:border-color .3s; }
.hdr.scrolled { border-bottom-color:var(--line); } /* hairline only after scrolling */
.hdr .wrap { height:64px; display:flex; align-items:center; gap:4px; }
.hdr .brand img { height:28px; margin-right:24px; }
.hdr nav { display:flex; gap:2px; }
.hdr .nl { position:relative; }
.hdr .nl > a { display:inline-flex; align-items:center; gap:6px; padding:8px 13px; border-radius:999px; color:var(--dust); font-weight:500; font-size:15px; cursor:pointer; }
.hdr .nl > a:hover, .hdr .nl.open > a, .hdr .nl > a.cur { color:var(--bone); }
.hdr .nl.open > a { background:var(--p2); }
.hdr .nl > a .i { width:14px; height:14px; transition:transform .15s; }
.hdr .nl.open > a .i { transform:rotate(180deg); }
.hdr .sp { flex:1; }
.hdr .login { color:var(--dust); font-weight:500; padding:8px 13px; }
.hdr .signup { height:38px; padding:0 18px; font-size:14px; background:var(--red); color:#fff; }
.dd { position:absolute; left:-20px; top:calc(100% + 10px); background:var(--panel); border:1px solid var(--line); border-radius:16px; opacity:0; visibility:hidden; transform:translateY(-4px); transition:opacity .15s, transform .15s, visibility .15s; }
.nl.open .dd { opacity:1; visibility:visible; transform:none; }
.dd::before { content:''; position:absolute; inset:-12px 0 auto; height:12px; }

/* add-ons menu: poster */
.dd-add { --a:var(--bake); --on:#160a04; width:800px; display:grid; grid-template-columns:300px 1fr; overflow:hidden; }
.dd-add .list { display:flex; flex-direction:column; padding:10px; }
.dd-add .it { --c:var(--bake); display:flex; align-items:center; gap:14px; padding:12px 14px; border-radius:12px; }
.dd-add .it[data-k=node] { --c:var(--node); } .dd-add .it[data-k=uv] { --c:var(--uv); }
.dd-add .it.on { background:var(--p2); }
.dd-add .it img { width:40px; height:40px; }
.dd-add .it b { display:block; font-weight:600; transition:color .15s; }
.dd-add .it small { color:var(--dim); font-size:13px; }
.dd-add .it.on b { color:var(--c); }
.dd-add .all { margin-top:auto; display:inline-flex; align-items:center; gap:6px; padding:12px 14px; color:var(--dust); font-size:13px; }
.dd-add .pv { position:relative; min-height:300px; background:#0e0e0f center 38%/58% no-repeat; }
.dd-add .cap { position:absolute; inset:auto 0 0; padding:40px 20px 18px; display:flex; align-items:flex-end; justify-content:space-between; gap:12px; background:linear-gradient(transparent, #0b0b0c 70%); }
.dd-add .cap b { display:block; font-size:20px; font-weight:650; }
.dd-add .cap small { color:var(--dim); font-size:13px; }
.dd-add .cap .btn { background:var(--a); color:var(--on); }

/* market menu: monochrome */
.dd-docs { width:320px; }
.dd-docs .list { display:flex; flex-direction:column; padding:10px; }
.dd-docs .dk { display:flex; align-items:center; gap:14px; padding:12px 14px; border-radius:12px; }
.dd-docs .dk:hover { background:var(--p2); }
.dd-docs .dk img { width:32px; height:32px; }
.dd-docs .dk b { display:block; font-weight:600; transition:color .15s; }
.dd-docs .dk small { color:var(--dim); font-size:13px; }
.dd-docs .dk[data-k=node]:hover b { color:var(--node); } .dd-docs .dk[data-k=bake]:hover b { color:var(--bake); } .dd-docs .dk[data-k=uv]:hover b { color:var(--uv); }
.dd-docs .foot { display:inline-flex; align-items:center; gap:6px; margin-top:6px; padding:14px 14px 6px; border-top:1px solid var(--line); color:var(--dust); font-size:13px; }
.dd-docs .foot:hover { color:var(--bone); }
.dd-mkt { width:520px; padding:10px; display:grid; grid-template-columns:1fr 1fr; gap:2px; }
.dd-mkt a { display:flex; gap:12px; align-items:center; padding:12px; border-radius:12px; }
.dd-mkt a:hover { background:var(--p2); }
.dd-mkt .ic { width:40px; height:40px; border-radius:10px; display:grid; place-items:center; background:var(--p2); color:var(--dust); }
.dd-mkt b { display:block; font-weight:600; font-size:15px; }
.dd-mkt small { color:var(--dim); font-size:13px; }
.dd-mkt .foot { grid-column:1 / -1; border-top:1px solid var(--line); margin-top:6px; padding-top:14px; color:var(--dust); font-size:13px; }
.dd-mkt .foot:hover { background:none; color:var(--bone); }

/* product hero (nexbake / nexuv) */
.p-hero { padding:72px 0 40px; position:relative; overflow:hidden; }
.p-hero::before { content:''; position:absolute; inset:0; background:radial-gradient(60% 70% at 78% 30%, color-mix(in srgb, var(--acc) 10%, transparent), transparent 70%); pointer-events:none; }
.p-hero .wrap { position:relative; display:grid; grid-template-columns:1fr 1.05fr; gap:48px; align-items:center; }
.p-name { display:flex; align-items:center; gap:14px; margin-bottom:28px; }
.p-name img { width:56px; height:56px; }
.p-name b { font-size:22px; font-weight:650; }
.p-name small { display:block; color:var(--dim); font-size:13px; }
.p-hero h1 { font-size:clamp(42px, 5.4vw, 68px); line-height:1.02; }
.p-hero .lead { margin:20px 0 32px; }
.p-hero .cta { display:flex; gap:12px; flex-wrap:wrap; }
.facts { display:flex; gap:22px; margin-top:32px; color:var(--dim); font-size:14px; flex-wrap:wrap; }
.facts span { display:inline-flex; align-items:center; gap:8px; }
.facts .i { width:16px; height:16px; color:var(--dust); }

/* sticky product bar (appears below header after hero) */
.pbar { position:sticky; top:64px; z-index:40; background:color-mix(in srgb, var(--ink) 92%, transparent); backdrop-filter:blur(12px); border-bottom:1px solid var(--line); }
.pbar .wrap { height:52px; display:flex; align-items:center; gap:22px; font-size:14px; }
.pbar .nm { display:flex; align-items:center; gap:10px; font-weight:600; margin-right:10px; }
.pbar .nm img { width:24px; height:24px; }
.pbar a.l { color:var(--dust); }
.pbar a.l:hover { color:var(--bone); }
.pbar .btn { margin-left:auto; height:34px; font-size:13.5px; }

/* features */
.feat { display:grid; grid-template-columns:repeat(2, 1fr); gap:1px; background:var(--line); border:1px solid var(--line); border-radius:18px; overflow:hidden; }
.feat > div { background:var(--ink); padding:32px; }
.feat .i { width:22px; height:22px; color:var(--acc); margin-bottom:18px; }
.feat h3 { font-size:20px; margin-bottom:8px; }
.feat p { margin:0; color:var(--dust); }

/* steps */
.steps { display:grid; grid-template-columns:repeat(3, 1fr); gap:32px; counter-reset:s; }
.steps > div { border-top:1px solid var(--line-2); padding-top:22px; }
.steps > div::before { counter-increment:s; content:counter(s, decimal-leading-zero); display:block; color:var(--acc); font-weight:600; font-size:14px; margin-bottom:14px; }
.steps h3 { font-size:19px; margin-bottom:6px; }
.steps p { margin:0; color:var(--dust); }

/* buy */
/* Text and card side by side are the same width and the same height (owner 2026-11-01). */
.buy { display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:stretch; }
.buy > div:first-child { display:flex; flex-direction:column; }
.buy > div:first-child .req { margin-top:auto; }
.buy > .card { display:flex; flex-direction:column; }
.buy > .card .btn { margin-top:auto; }
.req div:last-child { border-bottom:0; }
.card { border:1px solid var(--line); border-radius:18px; padding:32px; background:var(--panel); }
.card .tier { display:flex; justify-content:space-between; align-items:baseline; }
.card .tier b { font-size:22px; }
.card .price { font-size:15px; color:var(--dust); }
.card ul { list-style:none; padding:0; margin:22px 0 28px; display:grid; gap:12px; }
.card li { display:flex; gap:10px; color:var(--dust); }
.card li .i { color:var(--acc); width:18px; margin-top:3px; }
.card .btn { width:100%; justify-content:center; }
.req { display:grid; gap:0; }
.req div { display:flex; justify-content:space-between; gap:20px; padding:16px 0; border-bottom:1px solid var(--line); }
.req div span:first-child { color:var(--dim); }

/* faq: the same section as the NexNode page (css/style.css .faq-wrap) - every add-on page shares it (owner 2026-11-01) */
.faq-title { margin:0 0 32px; text-align:center; font-size:clamp(36px, 4.4vw, 64px); font-weight:650; letter-spacing:-.035em; line-height:.98; }
.faq { border-top:1px solid var(--line); }
.faq details { border-bottom:1px solid var(--line); }
.faq summary { list-style:none; cursor:pointer; display:flex; justify-content:space-between; gap:20px; align-items:center; padding:22px 0; font-size:19px; font-weight:600; letter-spacing:-.015em; transition:color .2s; }
.faq summary::-webkit-details-marker { display:none; }
.faq summary::after { content:''; flex:none; width:8px; height:8px; margin:0 4px 4px 0; border-right:2px solid var(--bone); border-bottom:2px solid var(--bone); transform:rotate(45deg); transition:transform .35s cubic-bezier(.2,.7,.1,1); }
.faq details[open] summary::after { transform:translateY(4px) rotate(-135deg); }
.faq summary:hover { color:var(--bone); }
.faq details p { margin:0 0 22px; color:var(--dust); font-size:16px; max-width:72ch; }
.faq details[open] p { animation:faqIn .45s cubic-bezier(.2,.7,.1,1); }
@keyframes faqIn { from { opacity:0; transform:translateY(-6px); } }
@media (max-width: 640px) { .faq summary { font-size:17px; } }

/* footer */

@media (max-width: 900px) {
  .p-hero .wrap, .buy { grid-template-columns:1fr; }
  .feat { grid-template-columns:1fr; }
  .steps { grid-template-columns:1fr; }
  .hdr nav, .hdr .login { display:none; }
  .pbar a.l { display:none; }
}

/* Product highlights in the licence section (owner 2026-11-01: sell quality and speed, no system specs). */
.stats { display:grid; grid-template-columns:1fr 1fr; gap:1px; margin-top:auto; background:var(--line); border:1px solid var(--line); border-radius:14px; overflow:hidden; }
.stats div { display:flex; flex-direction:column; gap:6px; padding:20px; background:var(--ink, #0a0a0a); }
.stats b { font-size:30px; line-height:1; letter-spacing:-.01em; }
.stats span { color:var(--dust); font-size:14px; }
.card .card-line { color:var(--dust); margin:18px 0 28px; }

/* Media slots (owner 2026-11-01): real Blender clips and screenshots replace .slot-box later. */
.media .slot { margin:0; }
.media .slot-box { position:relative; display:grid; place-items:center; gap:10px; aspect-ratio:16/9; border:1px solid var(--line); border-radius:16px; color:var(--dim);
  background:var(--panel) radial-gradient(circle at 50% 50%, rgba(255,255,255,.035), transparent 60%); overflow:hidden; }
.media .slot-box video, .media .slot-box img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.media .slot-big .slot-box { aspect-ratio:21/9; align-content:center; }
.media .slot-big .slot-box .i { width:44px; height:44px; padding:12px; border-radius:50%; border:1px solid var(--line-2); color:var(--bone); box-sizing:content-box; }
.media .slot-big .slot-box span { font-size:14px; }
.media .slots { display:grid; grid-template-columns:repeat(3, 1fr); gap:16px; margin-top:16px; }
.media .slots .slot-box .i { width:28px; height:28px; }
.media figcaption { display:flex; justify-content:space-between; gap:12px; margin-top:12px; font-size:14px; }
.media figcaption span { color:var(--dim); }
@media (max-width: 760px) { .media .slots { grid-template-columns:1fr; } .media .slot-big .slot-box { aspect-ratio:16/9; } }

/* Header: signed-in account and the phone/tablet menu (2026-11-01). */
.hdr .acct { display:inline-flex; align-items:center; gap:10px; height:40px; padding:0 14px 0 5px; border:1px solid var(--line-2); border-radius:999px; font-weight:600; font-size:14px; }
.hdr .acct:hover { border-color:var(--dust); }
.hdr .av { width:30px; height:30px; border-radius:50%; overflow:hidden; display:grid; place-items:center; background:var(--red); color:#fff; font-size:12px; }
.hdr .av img { width:100%; height:100%; object-fit:cover; }
.hdr.in .login, .hdr.in .signup { display:none; }
.hdr .menu { display:none; width:40px; height:40px; margin-left:8px; border:1px solid var(--line-2); border-radius:12px; background:none; color:var(--bone); cursor:pointer; }
@media (max-width: 900px) {
  .hdr .menu { display:grid; place-items:center; }
  .hdr.open nav { display:flex; position:absolute; left:0; right:0; top:100%; flex-direction:column; gap:2px; padding:12px var(--gutter, 20px) 24px; background:var(--ink); border-bottom:1px solid var(--line); max-height:calc(100dvh - 64px); overflow-y:auto; }
  .hdr.open .nl > a { font-size:17px; padding:12px 8px; }
  .hdr.open .dd { position:static; opacity:1; visibility:visible; transform:none; width:auto; border:0; box-shadow:none; background:none; display:block; padding:0 0 0 8px; }
  .hdr.open .dd-add .pv, .hdr.open .dd small, .hdr.open .dd-mkt .foot { display:none; }
  .hdr.open .dd-add .list { padding:0; }
  .hdr.open .dd-mkt { display:block; }
  .hdr.in .login, .hdr .signup { display:none; }
}
@media (max-width: 900px) { .hdr.open .dd-add .it.on { background:none; } .hdr.open .dd-add .it.on b { color:inherit; } }

/* The announce bar, as on the other pages (css/style.css .announce); its ✕ is js/nx-announce.js. */
.announce { position:relative; display:flex; align-items:center; justify-content:center; gap:14px; flex-wrap:wrap; padding:9px var(--gutter); font-size:13.5px; line-height:1.55; color:#b8b0aa; background:#0e0e0e; border-bottom:1px solid var(--line); }
.announce .px { color:#b98a86; font-size:11px; font-weight:600; letter-spacing:.08em; text-transform:uppercase; }
.announce-sep { width:4px; height:4px; background:var(--line-2); }
.announce-link { color:var(--bone); border-bottom:1px solid var(--line-2); }
.announce-link:hover { border-color:var(--red); }
html[data-announce='off'] .announce { display:none; }
.announce .announce-hi { color:#f04a50; }
.announce-x { width:26px; height:26px; display:grid; place-items:center; margin-left:-6px; padding:0; border:0; border-radius:8px; background:none; color:var(--dim); cursor:pointer; }
.announce-x:hover, .announce-x:focus-visible { color:var(--bone); background:var(--panel); }
.announce-x svg { width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:2.1; stroke-linecap:round; }
@media (max-width: 760px) { .announce { font-size:12.5px; gap:8px; } .announce-sep, .announce .px { display:none; } }
@media (max-width: 640px) { .hdr .acct { width:40px; padding:0; justify-content:center; } .hdr .acct > span:last-child { display:none; } }
