/* Product pages (/visionaire, /athena, /twinverse). White page, one dark stage in the product's own colour (--bg, --acc, --acc-ink set per product). */
:root { --ink:#0B0B0C; --muted:#55565a; --hair:#e6e6e3; --gut:clamp(20px,6vw,88px); --max:1180px; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; scroll-padding-top:76px; }
@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } }
html, body { margin:0; background:#fff; color:var(--ink); font:17px/1.6 "Inter Tight", system-ui, sans-serif; }
img, video { display:block; max-width:100%; height:auto; }
a { color:inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline:2px solid var(--ink); outline-offset:3px; border-radius:3px; }
.skip { position:fixed; left:20px; top:-100px; z-index:50; background:#fff; color:#000; padding:12px; }
.skip:focus { top:12px; }

.pg-bar { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:22px var(--gut); }
.pg-bar nav { display:flex; align-items:center; gap:26px; }
.pg-bar nav a { text-decoration:none; font-weight:500; font-size:15px; }
.pg-bar nav a:hover { text-decoration:underline; text-underline-offset:5px; }
.pg-bar nav a.pill { padding:10px 18px; border-radius:999px; background:var(--ink); color:#fff; transition:opacity .2s; }
.pg-bar nav a.pill:hover { text-decoration:none; opacity:.85; }
@media (max-width:820px) { .pg-bar nav .opt { display:none; } .pg-bar nav { gap:18px; } }

/* the stage */
.pg-hero { display:grid; grid-template-columns:minmax(0,5fr) minmax(0,6fr); gap:clamp(28px,4vw,64px); align-items:center; margin:0 clamp(12px,2vw,28px); padding:clamp(32px,5.5vw,84px); border-radius:clamp(22px,2.6vw,36px); background:var(--bg); color:#f4f4f2; }
::selection { background:var(--acc); color:var(--acc-ink); }
.pg-eyebrow { margin:0 0 18px; font-size:12px; font-weight:600; letter-spacing:.12em; text-transform:uppercase; color:var(--acc); opacity:.9; }
.pg-name { margin:0; font-size:clamp(54px,8.4vw,120px); font-weight:600; letter-spacing:-.045em; line-height:.92; color:var(--acc); }
.pg-by { display:flex; align-items:center; gap:8px; margin:14px 0 0; font-size:15px; color:#d6d6d2; }
.pg-by img { height:15px; width:auto; filter:invert(1); }
.pg-lead { margin:26px 0 0; max-width:34ch; font-size:clamp(18px,1.7vw,22px); line-height:1.4; color:#ecebe8; }
.pg-ctas { display:flex; flex-wrap:wrap; align-items:center; gap:14px 26px; margin-top:34px; }
.pg-btn { display:inline-flex; align-items:center; gap:10px; min-height:50px; padding:0 26px; border-radius:999px; background:var(--acc); color:var(--acc-ink); font-weight:600; font-size:16px; text-decoration:none; }
.pg-btn svg { width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.pg-btn:hover { filter:brightness(1.06); }
.pg-link { color:#f4f4f2; font-weight:600; text-underline-offset:5px; }
.pg-hero-media { border-radius:18px; overflow:hidden; border:1px solid var(--line); background:#000; box-shadow:0 40px 80px -50px #000; }
.pg-hero-media img, .pg-hero-media video { width:100%; height:auto; }
@media (max-width:900px) { .pg-hero { grid-template-columns:minmax(0,1fr); } }

.pg-toc { display:flex; flex-wrap:wrap; gap:6px 24px; padding:22px var(--gut) 0; max-width:calc(var(--max) + 2 * var(--gut)); margin:0 auto; font-size:14px; font-weight:500; }
.pg-toc a { color:var(--muted); text-decoration:none; padding:6px 0; }
.pg-toc a:hover { color:var(--ink); text-decoration:underline; text-underline-offset:5px; }

.pg-sec { max-width:calc(var(--max) + 2 * var(--gut)); margin:0 auto; padding:clamp(56px,8vw,112px) var(--gut) 0; }
.pg-h { margin:0 0 28px; font-size:13px; font-weight:600; letter-spacing:.12em; text-transform:uppercase; color:var(--muted); }
.pg-h2 { margin:6px 0 0; font-size:clamp(28px,3.6vw,50px); font-weight:600; letter-spacing:-.035em; line-height:1.06; max-width:22ch; }
.pg-kicker { margin:0 0 10px; display:flex; align-items:center; gap:10px; font-size:12px; font-weight:600; letter-spacing:.12em; text-transform:uppercase; color:var(--muted); }
.pg-kicker::before { content:""; width:9px; height:9px; border-radius:2px; background:var(--acc); box-shadow:0 0 0 1px #0000001f; }
.pg-note { margin:22px 0 0; max-width:70ch; font-size:14px; color:var(--muted); }

/* at a glance */
.pg-facts dl { display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:0 clamp(24px,4vw,64px); margin:0; border-top:1px solid var(--ink); }
.pg-facts dl > div { display:grid; grid-template-columns:minmax(96px,150px) minmax(0,1fr); gap:6px 20px; padding:16px 0; border-bottom:1px solid var(--hair); }
.pg-facts dt { font-size:13px; font-weight:600; letter-spacing:.06em; text-transform:uppercase; color:var(--muted); padding-top:3px; }
.pg-facts dd { margin:0; }
@media (max-width:820px) { .pg-facts dl { grid-template-columns:minmax(0,1fr); } }

/* figures */
.pg-figures ul { list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:32px clamp(20px,3vw,48px); }
.pg-figures li { border-top:2px solid var(--acc); padding-top:16px; }
.pg-figures b { display:block; font-size:clamp(34px,4.2vw,60px); font-weight:600; letter-spacing:-.045em; line-height:1; font-variant-numeric:tabular-nums; }
.pg-figures span { display:block; margin-top:12px; font-size:15px; color:var(--muted); max-width:28ch; }
@media (max-width:900px) { .pg-figures ul { grid-template-columns:repeat(2, minmax(0,1fr)); } }

/* demo */
.pg-demo-head { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:12px clamp(24px,4vw,64px); align-items:end; margin-bottom:28px; }
.pg-demo-head .pg-h { margin:0; font-size:clamp(28px,3.6vw,50px); letter-spacing:-.035em; text-transform:none; color:var(--ink); line-height:1.06; }
.pg-demo-head p { margin:0; color:var(--muted); max-width:52ch; }
.pg-demo-grid { display:grid; grid-template-columns:minmax(0,7fr) minmax(0,4fr); gap:20px; align-items:start; }
.pg-demo-main video { width:100%; border-radius:16px; background:#000; border:1px solid var(--hair); }
.pg-chapters { list-style:none; margin:0; padding:0; display:grid; gap:2px; }
.pg-chapters button { display:grid; grid-template-columns:52px minmax(0,1fr); gap:0 12px; width:100%; text-align:left; padding:12px 14px; border:0; border-radius:12px; background:transparent; font:inherit; color:var(--ink); cursor:pointer; }
.pg-chapters button:hover { background:#f4f4f2; }
.pg-chapters .t { grid-row:1 / 3; font:500 14px ui-monospace,Menlo,monospace; color:var(--muted); padding-top:3px; }
.pg-chapters b { font-weight:600; }
.pg-chapters em { font-style:normal; font-size:14px; color:var(--muted); }
.pg-clips { display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:20px; margin-top:24px; }
.pg-clips figure { margin:0; }
.pg-clips video { width:100%; border-radius:14px; background:#000; border:1px solid var(--hair); cursor:pointer; }
.pg-clips figcaption { margin-top:10px; font-size:14px; color:var(--muted); }
.pg-clips figcaption b { color:var(--ink); font-weight:600; }
@media (max-width:900px) { .pg-demo-head, .pg-demo-grid, .pg-clips { grid-template-columns:minmax(0,1fr); } }

/* features: copy and pictures, side by side, turn by turn */
.pg-features > .pg-h { margin-bottom:0; }
.pg-feat { display:grid; grid-template-columns:minmax(0,5fr) minmax(0,7fr); gap:clamp(28px,4.5vw,72px); align-items:center; padding:clamp(36px,5vw,72px) 0; border-bottom:1px solid var(--hair); }
.pg-feat.flip { grid-template-columns:minmax(0,7fr) minmax(0,5fr); }
.pg-feat.flip .pg-feat-copy { order:2; }
.pg-feat.bare { grid-template-columns:minmax(0,1fr); }
.pg-feat.bare .pg-feat-copy { max-width:62ch; }
.pg-feat h3 { margin:0; font-size:clamp(26px,3vw,40px); font-weight:600; letter-spacing:-.035em; line-height:1.08; }
.pg-feat-copy > p:not(.pg-kicker) { margin:16px 0 0; color:#34353a; }
.pg-feat ul { list-style:none; margin:20px 0 0; padding:0; display:grid; gap:8px; }
.pg-feat li { position:relative; padding-left:22px; color:#26272a; }
.pg-feat li::before { content:""; position:absolute; left:2px; top:.62em; width:8px; height:8px; border-radius:50%; background:var(--acc); box-shadow:0 0 0 1px #0000001f; }
.pg-feat-media { display:grid; gap:14px; }
.pg-feat-media.multi { grid-template-columns:minmax(0,1fr); }
.pg-feat-media.g3 { grid-template-columns:repeat(2, minmax(0,1fr)); }
.pg-feat-media figure { margin:0; border-radius:14px; overflow:hidden; border:1px solid var(--hair); background:#0b0b0c; box-shadow:0 30px 60px -44px #0008; }
.pg-feat-media img { width:100%; height:auto; }
@media (min-width:821px) { .pg-feat-media.g3 { grid-template-columns:repeat(3, minmax(0,1fr)); } .pg-feat:has(.g3) { grid-template-columns:minmax(0,1fr); } .pg-feat:has(.g3) .pg-feat-copy { max-width:64ch; order:0; } }
@media (max-width:820px) { .pg-feat, .pg-feat.flip { grid-template-columns:minmax(0,1fr); } .pg-feat.flip .pg-feat-copy { order:0; } }

/* panels and steps */
.pg-panel-text { margin:18px 0 0; max-width:64ch; color:#34353a; font-size:18px; }
.pg-points { list-style:none; margin:40px 0 0; padding:0; display:grid; grid-template-columns:repeat(auto-fit, minmax(230px,1fr)); gap:28px clamp(20px,3vw,44px); }
.pg-points li { border-top:2px solid var(--acc); padding-top:16px; }
.pg-points b { display:block; font-size:18px; font-weight:600; letter-spacing:-.01em; }
.pg-points span { display:block; margin-top:8px; color:var(--muted); font-size:16px; }
.pg-steps ol { list-style:none; margin:40px 0 0; padding:0; display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:28px clamp(20px,3vw,44px); }
.pg-steps li { border-top:2px solid var(--acc); padding-top:16px; }
.pg-steps .n { display:block; font:500 14px ui-monospace,Menlo,monospace; color:var(--muted); }
.pg-steps b { display:block; margin-top:6px; font-size:22px; font-weight:600; letter-spacing:-.02em; }
.pg-steps li > span:last-child { display:block; margin-top:8px; color:var(--muted); font-size:16px; }
@media (max-width:820px) { .pg-steps ol { grid-template-columns:minmax(0,1fr); } }

/* questions */
.pg-faq > div { margin-top:28px; border-top:1px solid var(--ink); max-width:880px; }
.pg-faq details { border-bottom:1px solid var(--hair); }
.pg-faq summary { list-style:none; cursor:pointer; display:flex; justify-content:space-between; align-items:center; gap:20px; padding:20px 0; font-size:19px; font-weight:600; letter-spacing:-.015em; }
.pg-faq summary::-webkit-details-marker { display:none; }
.pg-faq summary::after { content:"+"; flex:none; width:28px; height:28px; display:grid; place-items:center; border:1px solid var(--hair); border-radius:50%; font-weight:500; line-height:1; }
.pg-faq details[open] > summary::after { content:"−"; background:var(--acc); color:var(--acc-ink); border-color:transparent; }
.pg-faq details p { margin:0 0 22px; max-width:68ch; color:#34353a; }

/* closing call, and the other products */
.pg-cta { margin:clamp(64px,8vw,112px) clamp(12px,2vw,28px) 0; padding:clamp(36px,5.5vw,84px); border-radius:clamp(22px,2.6vw,36px); background:var(--bg); color:#f4f4f2; }
.pg-cta h2 { margin:0; max-width:18ch; font-size:clamp(32px,4.6vw,64px); font-weight:600; letter-spacing:-.04em; line-height:1.02; color:var(--acc); }
.pg-cta p { margin:18px 0 28px; max-width:44ch; font-size:19px; color:#ecebe8; }
.foot { margin-top:clamp(72px,9vw,128px); }
@media (max-width:520px) { .pg-facts dl > div { grid-template-columns:minmax(0,1fr); gap:2px; } .pg-facts dt { padding-top:0; } }
.pg-name.long { font-size:clamp(40px,6vw,84px); line-height:.98; }
.pg-feat-media figcaption { padding:10px 14px 12px; background:#0b0b0c; color:#a9a9a4; font-size:13px; }
.pg-cta .pg-ctas { margin-top:0; }
.pg-badge { margin-left:4px; padding:2px 10px; border-radius:999px; background:var(--bg); color:var(--acc); font-size:11px; letter-spacing:.08em; }
.pg-feat.bare { padding:clamp(24px,3vw,44px) 0; }

/* A product's world: inside /visionaire, /athena or /twinverse the whole page is the product's, not Nodeflux's white page.
   Nodeflux is the small mark in the corner and "by nodeflux". Project pages (class "nodeflux") keep the white page. */
body.world { --surface:color-mix(in srgb, var(--bg) 86%, #fff); --surface2:color-mix(in srgb, var(--bg) 74%, #fff); --txt:#ecebe8; --dim:#a7a7ad; --rule:rgba(255,255,255,.14); --glow:color-mix(in srgb, var(--acc) 22%, transparent); }
html:has(body.world) { background:var(--bg); }
body.world { background:var(--bg); color:var(--txt); background-image:radial-gradient(70% 55% at 85% 0%, var(--glow), transparent 70%); background-repeat:no-repeat; background-size:100% 900px; }
body.world a:focus-visible, body.world button:focus-visible, body.world summary:focus-visible { outline-color:var(--acc); }
body.world .pg-here { margin-left:14px; padding-left:14px; border-left:1px solid var(--rule); color:var(--dim); font-size:15px; }
body.world .pg-here b { color:var(--acc); font-weight:600; letter-spacing:-.01em; }
body.world .pg-bar { position:relative; z-index:2; }
body.world .pg-bar nav a { color:var(--txt); }
body.world .pg-bar nav a.pill { background:var(--txt); color:var(--bg); }
body.world .pg-bar { justify-content:flex-start; flex-wrap:wrap; }
body.world .pg-bar nav { margin-left:auto; }
@media (max-width:520px) { body.world .pg-here { display:none; } }

body.world .pg-hero { margin:0; border-radius:0; background:transparent; padding:clamp(28px,5vw,72px) var(--gut) clamp(40px,6vw,96px); max-width:calc(var(--max) + 2 * var(--gut)); margin-inline:auto; }
body.world .pg-hero-media { background:var(--surface); border-color:var(--line); box-shadow:0 50px 100px -60px #000, 0 0 0 1px rgba(255,255,255,.04); }
body.world .pg-toc { border-top:1px solid var(--rule); padding-top:18px; }
body.world .pg-toc a { color:var(--dim); }
body.world .pg-toc a:hover { color:var(--acc); }
body.world .pg-h { color:var(--dim); }
body.world .pg-h2, body.world .pg-feat h3 { color:var(--txt); }
body.world .pg-kicker { color:var(--dim); }
body.world .pg-kicker::before { box-shadow:none; }
body.world .pg-badge { background:var(--acc); color:var(--acc-ink); }
body.world .pg-note { color:var(--dim); }

body.world .pg-facts dl { border-top-color:var(--acc); }
body.world .pg-facts dl > div { border-bottom-color:var(--rule); }
body.world .pg-facts dt { color:var(--dim); }
body.world .pg-figures b { color:var(--acc); }
body.world .pg-figures span { color:var(--dim); }

body.world .pg-feat { border-bottom-color:var(--rule); }
body.world .pg-feat-copy > p:not(.pg-kicker), body.world .pg-feat li, body.world .pg-panel-text { color:#cfcfd3; }
body.world .pg-feat li::before { box-shadow:none; }
body.world .pg-feat-media figure { border-color:var(--line); background:var(--surface); box-shadow:0 40px 80px -50px #000; }
body.world .pg-feat-media figcaption { background:var(--surface); color:var(--dim); }

body.world .pg-points li, body.world .pg-steps li { border-top-color:var(--acc); }
body.world .pg-points b, body.world .pg-steps b { color:var(--txt); }
body.world .pg-points span, body.world .pg-steps li > span:last-child, body.world .pg-steps .n { color:var(--dim); }

body.world .pg-demo-head .pg-h { color:var(--txt); }
body.world .pg-demo-head p { color:var(--dim); }
body.world .pg-demo-main video, body.world .pg-clips video { border-color:var(--line); }
body.world .pg-chapters button { color:var(--txt); }
body.world .pg-chapters button:hover { background:var(--surface); }
body.world .pg-chapters .t, body.world .pg-chapters em { color:var(--dim); }
body.world .pg-clips figcaption { color:var(--dim); }
body.world .pg-clips figcaption b { color:var(--txt); }

body.world .pg-faq > div { border-top-color:var(--acc); }
body.world .pg-faq details { border-bottom-color:var(--rule); }
body.world .pg-faq summary::after { border-color:var(--rule); }
body.world .pg-faq details p { color:#cfcfd3; }

body.world .pg-cta { background:var(--surface); border:1px solid var(--line); }
body.world .foot { margin-top:clamp(72px,9vw,128px); }

/* A product's own header and footer (not the Nodeflux ones). The product name leads, "by Nodeflux" is the way back. */
.pg-prod { display:inline-flex; align-items:center; gap:.3em; font-weight:700; font-size:20px; letter-spacing:-.01em; text-decoration:none; color:var(--name, var(--acc)); }
.pg-prod .pmark { width:.95em; height:.95em; flex:none; color:var(--acc); }
body.world .pg-bar { justify-content:flex-start; }
.pg-foot { border-top:1px solid var(--rule); margin-top:48px; padding:40px var(--gut) 28px; color:var(--dim); font-size:14px; }
.pg-foot-in { display:grid; grid-template-columns:1.6fr 1fr 1fr; gap:32px; max-width:calc(var(--max) + 2 * var(--gut)); margin:0 auto; }
.pg-foot p { margin:10px 0 0; max-width:34ch; }
.pg-foot h4 { margin:0 0 10px; font-size:12px; letter-spacing:.08em; text-transform:uppercase; color:var(--txt); }
.pg-foot ul { list-style:none; margin:0; padding:0; display:grid; gap:6px; }
.pg-foot a { color:var(--dim); text-decoration:none; } .pg-foot a:hover { color:var(--acc); }
.pg-foot .pg-prod { color:var(--name, var(--acc)); }
.pg-foot-base { max-width:calc(var(--max) + 2 * var(--gut)); margin:28px auto 0; padding-top:16px; border-top:1px solid var(--rule); font-size:13px; }
@media (max-width:700px) { .pg-foot-in { grid-template-columns:1fr 1fr; } .pg-foot-in > div:first-child { grid-column:1/-1; } }

/* A page with a headline: the headline is the big title (the name is in the header) */
.pg-name.headline { font-size:clamp(38px,5.6vw,82px); line-height:1; max-width:14ch; }
/* A point with a small label above it */
.pg-points small { display:block; margin-bottom:6px; font-size:12px; font-weight:600; letter-spacing:.1em; text-transform:uppercase; color:var(--muted); }
body.world .pg-points small { color:var(--dim); }
/* A panel's pictures: the first is large */
.pg-gallery { margin-top:40px; display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:14px; }
.pg-gallery figure { margin:0; border-radius:14px; overflow:hidden; border:1px solid var(--hair); background:#0b0b0c; }
.pg-gallery img { display:block; width:100%; height:100%; object-fit:cover; }
.pg-gallery figure:first-child { grid-column:span 2; grid-row:span 2; }
@media (max-width:820px) { .pg-gallery { grid-template-columns:repeat(2, minmax(0,1fr)); } .pg-gallery figure:first-child { grid-column:1 / -1; grid-row:auto; } }
/* A comparison table; it scrolls sideways on a narrow screen */
.pg-table { margin-top:44px; overflow-x:auto; -webkit-overflow-scrolling:touch; }
.pg-table:focus-visible { outline:2px solid var(--acc); outline-offset:4px; }
.pg-table table { border-collapse:collapse; width:100%; min-width:880px; font-size:15px; }
.pg-table th, .pg-table td { text-align:left; vertical-align:top; padding:14px 16px; border-bottom:1px solid var(--hair); }
.pg-table thead th { font-size:13px; font-weight:600; letter-spacing:.02em; color:var(--muted); border-bottom:1px solid var(--ink); }
.pg-table tbody th { width:19%; font-weight:600; }
.pg-table td b { display:block; font-weight:600; }
.pg-table td.no b, .pg-table td.mid b { font-weight:500; color:var(--muted); }
.pg-table td span { display:block; margin-top:3px; font-size:13px; color:var(--muted); }
.pg-table .us { background:color-mix(in srgb, var(--acc) 12%, transparent); }
.pg-table thead th.us { color:var(--ink); }
body.world .pg-table th, body.world .pg-table td { border-bottom-color:var(--rule); }
body.world .pg-table thead th { color:var(--dim); border-bottom-color:var(--txt); }
body.world .pg-table thead th.us { color:var(--acc); }
body.world .pg-table td.no b, body.world .pg-table td.mid b, body.world .pg-table td span { color:var(--dim); }
body.world .pg-table td.yes b { color:var(--txt); }
/* A line of proof beside the demo clips, and the small print under the closing call */
.pg-clips .stat { grid-column:1 / -1; display:flex; flex-wrap:wrap; align-items:baseline; gap:6px 18px; padding:clamp(18px,2.6vw,30px); border:1px solid var(--hair); border-radius:14px; }
.pg-clips .stat b { font-size:clamp(22px,2.4vw,32px); font-weight:600; letter-spacing:-.03em; line-height:1.1; }
.pg-clips .stat span { color:var(--muted); }
body.world .pg-clips .stat { border-color:var(--rule); } body.world .pg-clips .stat span { color:var(--dim); }
.pg-disclaimer { margin-top:32px; }
body.world .pg-table td.us b { color:var(--txt); }
/* A plain table (no highlighted column) */
.pg-table.plain td b { font-weight:500; color:inherit; }
.pg-features-text { margin:-8px 0 8px; }
.pg-disclaimer a { color:inherit; }
/* Two pictures or videos side by side under the text (an input and what was built from it) */
.pg-feat-media.g2 { grid-template-columns:minmax(0,1fr); }
@media (min-width:821px) { .pg-feat-media.g2 { grid-template-columns:repeat(2, minmax(0,1fr)); } .pg-feat:has(.g2) { grid-template-columns:minmax(0,1fr); } .pg-feat:has(.g2) .pg-feat-copy { max-width:64ch; order:0; } }
.pg-feat-media.g2 figure video { display:block; width:100%; height:auto; }
.pg-features > .pg-h2 { margin:0 0 16px; }

/* Phishing finding, drawn in HTML (panel.mock): the page's dark stage, a white fake login beside the evidence. */
.pg-mock { margin:32px 0 0; }
.pg-mock-row { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; padding:clamp(14px,2.4vw,28px); border-radius:22px; background:var(--bg); color:#f4f4f2; }
.pg-mock-pane { min-width:0; padding:18px; border:1px solid #ffffff1f; border-radius:14px; }
.pg-mock-pane h3 { margin:0 0 14px; font-size:13px; font-weight:500; color:#b4b4b0; }
.pg-mock-login { padding:18px; border-radius:10px; background:#f6f7f9; color:#1c2233; }
.pg-mock-login p { display:flex; align-items:center; gap:10px; margin:0 0 12px; font-weight:600; }
.pg-mock-login i { width:22px; height:22px; border-radius:6px; background:#2b55b8; }
.pg-mock-login span { display:block; margin-top:8px; padding:7px 10px; border:1px solid #d3d6de; border-radius:6px; background:#fff; font-size:13px; color:#6b7080; }
.pg-mock-login b { display:block; margin-top:10px; padding:7px; border-radius:6px; background:#2b55b8; color:#fff; font-size:14px; text-align:center; }
.pg-mock code { display:block; margin-top:12px; font:13px ui-monospace,Menlo,monospace; color:#b4b4b0; overflow-wrap:anywhere; }
.pg-mock ul { list-style:none; margin:0; padding:0; font-size:15px; }
.pg-mock li { display:flex; justify-content:space-between; gap:12px; padding:9px 0; border-bottom:1px solid #ffffff1f; }
.pg-mock li b { text-align:right; font-weight:600; }
.pg-mock .bad { color:#ff8078; } .pg-mock .warn { color:#f0d878; } .pg-mock .ok { color:#6fd08c; }
.pg-mock-verdict { display:flex; flex-wrap:wrap; align-items:center; gap:6px 12px; margin:14px 0 0; padding:12px 14px; border:1px solid #ff807873; border-radius:10px; background:#ff80781a; font-size:14px; }
.pg-mock-verdict b { color:#ff8078; }
.pg-mock figcaption { margin-top:12px; font-size:14px; color:var(--muted); }
@media (max-width:820px) { .pg-mock-row { grid-template-columns:minmax(0,1fr); } }
body.world .pg-bar { gap:0; }
/* project pages have the main header, which is fixed: room for it at the top, and above an anchor */
body.nodeflux { padding-top:88px; }
html:has(body.nodeflux) { scroll-padding-top:80px; }

/* A hero that is one picture across the whole width (heroFull): the copy sits on its left, over a shade of the page colour. */
body.world .pg-hero.full { position:relative; display:block; max-width:none; min-height:clamp(560px,52vw,780px); padding:clamp(64px,8vw,120px) max(var(--gut), calc((100% - var(--max)) / 2)) clamp(88px,9vw,140px); overflow:hidden; }
body.world .pg-hero.full .pg-hero-media { position:absolute; inset:0; border:0; border-radius:0; box-shadow:none; background:var(--bg); }
.pg-hero.full .pg-hero-media img { width:100%; height:100%; object-fit:cover; object-position:60% 50%; }
.pg-hero.full .pg-hero-media::after { content:""; position:absolute; inset:0; background:linear-gradient(90deg, color-mix(in srgb, var(--bg) 96%, transparent) 0%, color-mix(in srgb, var(--bg) 82%, transparent) 38%, color-mix(in srgb, var(--bg) 12%, transparent) 72%, transparent 100%), linear-gradient(0deg, var(--bg) 0%, transparent 24%), linear-gradient(180deg, var(--bg) 0%, transparent 18%); }
.pg-hero.full .pg-hero-copy { position:relative; z-index:1; max-width:620px; }
.pg-hero-cap { position:absolute; z-index:1; right:var(--gut); bottom:26px; margin:0; padding:6px 12px; border-radius:999px; border:1px solid rgba(255,255,255,.14); background:rgba(0,0,0,.55); color:#d8d8d4; font-size:12.5px; }
@media (max-width:900px) {
  /* on a narrow screen the picture goes under the copy instead of behind it, so it stays visible */
  body.world .pg-hero.full { min-height:0; padding-bottom:48px; }
  body.world .pg-hero.full .pg-hero-media { position:relative; inset:auto; margin-top:36px; border:1px solid var(--line); border-radius:14px; }
  .pg-hero.full .pg-hero-media::after { content:none; }
  .pg-hero.full .pg-hero-media img { height:auto; }
  .pg-hero-cap { position:relative; right:auto; bottom:auto; display:inline-block; margin-top:32px; font-size:12px; }
}

/* A feature picture cropped to the part the text is about, with small labels on it */
.pg-feat-media figure.crop { position:relative; }
.pg-feat-media figure.crop img { position:absolute; max-width:none; height:auto; }
.pg-tag { position:absolute; z-index:1; display:flex; align-items:center; gap:8px; transform:translate(-6px,-50%); pointer-events:none; }
.pg-tag::before { content:""; flex:none; width:12px; height:12px; border-radius:50%; background:var(--acc); box-shadow:0 0 0 4px color-mix(in srgb, var(--acc) 28%, transparent); }
.pg-tag > span { padding:5px 10px; border-radius:8px; border:1px solid var(--line); background:color-mix(in srgb, var(--bg) 92%, transparent); color:#f3f1ea; font-size:13.5px; font-weight:500; line-height:1.3; white-space:nowrap; }
.pg-tag.l { flex-direction:row-reverse; transform:translate(calc(-100% + 6px),-50%); }
@media (max-width:520px) { .pg-tag { gap:6px; } .pg-tag::before { width:9px; height:9px; box-shadow:0 0 0 3px color-mix(in srgb, var(--acc) 28%, transparent); } .pg-tag > span { padding:3px 7px; font-size:11.5px; } .pg-tag.l { transform:translate(calc(-100% + 4px),-50%); } .pg-tag { transform:translate(-4px,-50%); } }

/* Figures that are words, under a heading */
.pg-figures .pg-h2 + ul { margin-top:40px; }
.pg-figures.words b { font-size:clamp(28px,2.9vw,40px); letter-spacing:-.03em; line-height:1.1; }

/* A gallery of five: the big one, two beside it, two wide under */
@media (min-width:821px) { .pg-gallery.n5 { grid-template-columns:repeat(6, minmax(0,1fr)); } .pg-gallery.n5 figure { grid-column:span 2; } .pg-gallery.n5 figure:first-child { grid-column:span 4; grid-row:span 2; } .pg-gallery.n5 figure:nth-child(n+4) { grid-column:span 3; } }

/* Points with a main one (panel.lead): the first big, the rest a list beside it */
.pg-lead-points { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,1fr); gap:28px clamp(28px,4.5vw,56px); margin-top:40px; align-items:start; }
.pg-lead-main { border-top:2px solid var(--acc); padding-top:18px; }
.pg-lead-main small { display:block; font-size:12px; font-weight:600; letter-spacing:.1em; text-transform:uppercase; color:var(--muted); }
.pg-lead-main h3 { margin:8px 0 12px; font-size:clamp(24px,2.4vw,30px); font-weight:600; letter-spacing:-.02em; line-height:1.15; }
.pg-lead-main p { margin:0; font-size:17px; }
.pg-lead-points dl { margin:0; }
.pg-lead-points dl > div { display:grid; grid-template-columns:minmax(0,170px) minmax(0,1fr); gap:4px 16px; padding:14px 0; border-top:1px solid var(--hair); }
.pg-lead-points dt { font-weight:600; }
.pg-lead-points dd { margin:0; color:var(--muted); font-size:16px; }
body.world .pg-lead-main small, body.world .pg-lead-points dd { color:var(--dim); }
body.world .pg-lead-main h3, body.world .pg-lead-points dt { color:var(--txt); }
body.world .pg-lead-main p { color:#cfcfd3; }
body.world .pg-lead-points dl > div { border-top-color:var(--rule); }
@media (max-width:820px) { .pg-lead-points { grid-template-columns:minmax(0,1fr); } }
@media (max-width:520px) { .pg-lead-points dl > div { grid-template-columns:minmax(0,1fr); } }

/* The rest of the questions, under one button */
.pg-faq .pg-faq-more { border:0; max-width:880px; }
.pg-faq .pg-faq-more > summary { display:inline-flex; gap:12px; margin-top:26px; padding:12px 14px 12px 20px; border:1px solid var(--hair); border-radius:999px; font-size:15.5px; font-weight:500; letter-spacing:0; }
.pg-faq .pg-faq-more > summary::after { width:24px; height:24px; }
.pg-faq .pg-faq-more > div { margin-top:14px; }
body.world .pg-faq .pg-faq-more > summary { border-color:var(--rule); }

/* A headline of long words (headlineLong) */
.pg-name.headline.long { font-size:clamp(36px,4.6vw,66px); max-width:16ch; }

/* A hero film with its step names (heroSteps) and a top line (heroChrome), as on the homepage card */
.pg-hero-media.film { position:relative; }
.pg-hero-media.film video { aspect-ratio:4/3; object-fit:cover; }
.pg-film-chrome { position:absolute; left:0; right:0; top:0; display:flex; justify-content:space-between; gap:12px; padding:12px 14px; font-size:12px; color:#ffffffb8; background:linear-gradient(#0009, transparent); }
.pg-film-chrome i { display:inline-block; width:7px; height:7px; margin-right:7px; border-radius:50%; background:var(--acc); }
.pg-film-steps { position:absolute; left:0; right:0; bottom:0; display:flex; gap:8px; padding:26px 14px 12px; white-space:nowrap; font-size:13px; color:#ffffff70; background:linear-gradient(transparent, #000b); }
.pg-film-steps i { font-style:normal; color:#ffffff45; }
.pg-hero-media.film[data-step="0"] .pg-film-steps span:nth-of-type(1), .pg-hero-media.film[data-step="1"] .pg-film-steps span:nth-of-type(2), .pg-hero-media.film[data-step="2"] .pg-film-steps span:nth-of-type(3), .pg-hero-media.film[data-step="3"] .pg-film-steps span:nth-of-type(4) { color:#fff; font-weight:600; }

/* Two text-only features side by side (pairWithNext) */
.pg-pair { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:0 clamp(28px,4vw,64px); align-items:start; }
.pg-pair .pg-feat { border-bottom:0; }
@media (max-width:820px) { .pg-pair { grid-template-columns:minmax(0,1fr); } }

/* A loop under them (ProductLoop.astro) */
.pg-loop { display:grid; grid-template-columns:minmax(0,1fr); margin:0 0 clamp(36px,5vw,72px); padding:clamp(18px,3vw,32px); border-radius:18px; background:var(--bg); color:#f2f2ee; }
.pg-loop-node { padding:14px 16px; border:1px solid var(--line); border-radius:12px; background:#ffffff08; }
.pg-loop-node.main { border-color:var(--acc); background:color-mix(in srgb, var(--acc) 8%, transparent); }
.pg-loop-node b { display:block; font-size:17px; font-weight:600; color:var(--acc); }
.pg-loop-node span { display:block; margin-top:4px; font-size:14px; color:#c4c9c6; }
.pg-loop-arrow { position:relative; height:46px; margin-left:28px; border-left:2px solid var(--acc); }
.pg-loop-arrow::after { content:""; position:absolute; left:-7px; bottom:-1px; border:6px solid transparent; border-top:8px solid var(--acc); }
.pg-loop-arrow span { position:absolute; left:14px; top:50%; transform:translateY(-50%); font-size:13px; color:#b9c3be; }
.pg-loop-back { margin:14px 0 0; padding:10px 14px; border:1px dashed var(--line); border-radius:10px; text-align:center; font-size:13px; color:#b9c3be; }
.pg-loop-back span { color:var(--acc); font-weight:700; }
@media (min-width:821px) {
  .pg-loop { grid-template-columns:minmax(0,1fr) 150px minmax(0,1fr) 110px minmax(0,1fr); align-items:center; }
  .pg-loop-arrow { height:2px; margin:0 10px; border-left:0; border-top:2px solid var(--acc); }
  .pg-loop-arrow::after { left:auto; right:-2px; bottom:auto; top:-8px; border:6px solid transparent; border-left:8px solid var(--acc); }
  .pg-loop-arrow span { left:50%; top:-30px; transform:translateX(-50%); white-space:nowrap; text-align:center; }
  .pg-loop-arrow.a1 span { white-space:normal; width:140px; top:-44px; }
  .pg-loop-back { grid-column:1 / -1; margin-top:18px; }
}

/* Two pictures on the same grid, with a divider to drag (feature.compare) */
.pg-feat-media figure.pg-compare { border:0; background:none; box-shadow:none; border-radius:0; overflow:visible; }
.pg-compare .frame { position:relative; aspect-ratio:1; border-radius:14px; overflow:hidden; border:1px solid var(--hair); background:#0b0b0c; box-shadow:0 30px 60px -44px #0008; --x:50%; }
.pg-compare .frame > img, .pg-compare .before img { position:absolute; inset:0; width:100%; height:100%; }
.pg-compare .before { position:absolute; inset:0; clip-path:inset(0 calc(100% - var(--x)) 0 0); }
.pg-compare .divider { position:absolute; top:0; bottom:0; left:var(--x); width:2px; margin-left:-1px; background:#fff; box-shadow:0 0 0 1px #0004; pointer-events:none; }
.pg-compare .divider span { position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); width:38px; height:38px; display:grid; place-items:center; border-radius:50%; background:#fff; color:#111; font:600 14px/1 system-ui, sans-serif; box-shadow:0 4px 14px #0006; }
.pg-compare input { position:absolute; inset:0; width:100%; height:100%; margin:0; opacity:0; cursor:ew-resize; touch-action:pan-y; }
.pg-compare input:focus-visible ~ .divider span { outline:3px solid var(--acc); outline-offset:2px; }
.pg-compare .lab { position:absolute; top:12px; padding:5px 10px; border-radius:999px; background:#000b; color:#fff; font-size:12.5px; pointer-events:none; }
.pg-compare .lab.l { left:12px; } .pg-compare .lab.r { right:12px; }
.pg-feat-media .pg-compare figcaption { margin-top:12px; padding:0; background:none; font-size:14px; color:var(--muted); }

/* Charts under the copy (feature.charts): a row of charts shares one height, a single chart goes across */
.pg-feat.charts { grid-template-columns:minmax(0,1fr); }
.pg-feat.charts .pg-feat-copy > p:not(.pg-kicker) { max-width:64ch; }
.pg-feat.charts ul { columns:2; column-gap:40px; display:block; }
.pg-feat.charts ul li { break-inside:avoid; margin-bottom:8px; }
.pg-charts { display:grid; gap:16px; }
.pg-charts .row { display:flex; gap:16px; }
.pg-charts .row > figure { flex-basis:0; min-width:0; flex-grow:1; }
.pg-charts figure { margin:0; border-radius:14px; overflow:hidden; border:1px solid #ffffff14; background:#0c0b13; box-shadow:0 30px 60px -44px #0008; }
.pg-charts img { display:block; width:100%; height:auto; }
.pg-charts figcaption { padding:10px 14px 12px; border-top:1px solid #ffffff10; color:#a9a9a4; font-size:13px; }
@media (max-width:820px) { .pg-feat.charts ul { columns:1; } .pg-charts .row { flex-direction:column; } .pg-charts .row > figure { flex:none !important; } }

/* A product's own page groups its content in boxes, as the Spaces page does, instead of ruling it with lines. */
body.world { --box:color-mix(in srgb, var(--bg) 95%, #fff); }

/* titles: Archivo, widened and heavy, as on the Spaces page */
body.world :is(h1, h2, h3), body.world .pg-prod, body.world .pg-figures b, body.world .pg-points b, body.world .pg-steps b, body.world .pg-lead-points dt, body.world .pg-clips .stat b { font-family:"Archivo Variable", "Inter Tight", system-ui, sans-serif; text-wrap:balance; }
body.world .pg-name, body.world .pg-name.headline, body.world .pg-cta h2 { font-weight:850; font-stretch:118%; letter-spacing:-.02em; }
body.world .pg-name.headline { font-size:clamp(34px,4.5vw,68px); line-height:1.05; max-width:none; }
body.world .pg-name.headline { color:var(--txt); }
body.world .pg-name.headline em { font-style:normal; color:var(--acc); }
body.world .pg-hero.full .pg-hero-copy { max-width:760px; }     /* three lines for the headline; the lead keeps its own measure */
body.world .pg-h2, body.world .pg-demo-head .pg-h { font-weight:800; font-stretch:112%; letter-spacing:-.01em; line-height:1.08; font-size:clamp(28px,3.4vw,48px); }
body.world .pg-feat h3, body.world .pg-lead-main h3 { font-weight:780; font-stretch:108%; letter-spacing:-.01em; }
body.world .pg-feat h3 { font-size:clamp(24px,2.6vw,34px); line-height:1.12; }
body.world .pg-cta h2 { font-size:clamp(32px,4.4vw,60px); line-height:1.06; }
body.world .pg-prod, body.world .pg-points b, body.world .pg-steps b, body.world .pg-lead-points dt { font-weight:720; font-stretch:106%; letter-spacing:0; }
body.world .pg-figures b, body.world .pg-clips .stat b { font-weight:800; font-stretch:110%; letter-spacing:-.01em; }
body.world .pg-figures.words b { font-size:clamp(25px,2.3vw,32px); }

/* the brief: the story on the left, the facts as one boxed table beside it */
body.world .pg-facts.brief { display:grid; grid-template-columns:minmax(0,7fr) minmax(0,5fr); gap:32px clamp(28px,4.5vw,64px); align-items:start; }
body.world .pg-brief-copy strong { color:var(--txt); font-weight:600; }
body.world .pg-facts dl { grid-template-columns:minmax(0,1fr); border:1px solid var(--rule); border-radius:14px; background:var(--box); overflow:hidden; }
body.world .pg-facts dl > div { grid-template-columns:minmax(0,110px) minmax(0,1fr); gap:4px 16px; padding:13px 20px; font-size:16px; }
body.world .pg-facts dl > div:last-child { border-bottom:0; }
@media (max-width:900px) { body.world .pg-facts.brief { grid-template-columns:minmax(0,1fr); } }
@media (max-width:520px) { body.world .pg-facts dl > div { grid-template-columns:minmax(0,1fr); gap:2px; } }

/* points, figures and steps: cells of one box, a hairline between them */
body.world .pg-points, body.world .pg-figures ul, body.world .pg-steps ol { gap:1px; padding:1px; background:var(--rule); border-radius:14px; overflow:hidden; }
body.world .pg-points li, body.world .pg-figures li, body.world .pg-steps li { border:0; padding:24px 22px 26px; background:var(--box); }
body.world .pg-points { grid-template-columns:repeat(3, minmax(0,1fr)); }
body.world .pg-points:has(> li:nth-child(4):last-child) { grid-template-columns:repeat(4, minmax(0,1fr)); }
@media (max-width:1000px) {
  body.world .pg-points, body.world .pg-points:has(> li:nth-child(4):last-child) { grid-template-columns:repeat(2, minmax(0,1fr)); }
  body.world .pg-points > li:nth-child(odd):last-child { grid-column:1 / -1; }
}
@media (max-width:600px) { body.world .pg-points, body.world .pg-points:has(> li:nth-child(4):last-child), body.world .pg-figures ul { grid-template-columns:minmax(0,1fr); } }

/* sectors: the main one in a box, the rest a boxed list */
body.world .pg-lead-points { align-items:stretch; gap:16px; }
body.world .pg-lead-main, body.world .pg-lead-points dl { border:1px solid var(--rule); border-radius:14px; background:var(--box); }
body.world .pg-lead-main { padding:26px 24px; }
body.world .pg-lead-points dl > div { padding:16px 22px; }
body.world .pg-lead-points dl > div:first-child { border-top:0; }

/* features stand apart by space alone */
body.world .pg-feat { border-bottom:0; }

/* demo chapters, comparison table and questions: each in its own box */
body.world .pg-chapters, body.world .pg-table, body.world .pg-faq > div, body.world .pg-faq-more > div { border:1px solid var(--rule); border-radius:14px; background:var(--box); }
body.world .pg-chapters { padding:6px; }
body.world .pg-chapters button:hover { background:var(--surface); }
body.world .pg-table tbody tr:last-child > * { border-bottom:0; }
body.world .pg-table .pg-note { margin:0; padding:14px 16px 16px; max-width:none; border-top:1px solid var(--rule); }
body.world .pg-table thead th { border-bottom-color:var(--rule); }
body.world .pg-gallery figure { border-color:var(--rule); }
body.world .pg-h2 { max-width:26ch; }
body.world .pg-faq details { padding:0 22px; }
body.world .pg-faq > div > details:last-child, body.world .pg-faq-more > div > details:last-child { border-bottom:0; }
body.world .pg-faq .pg-faq-more { border:0; background:none; padding:0; }

/* the closing call is one more box in the page's own column: the title on the left, the text and buttons on the right */
body.world .pg-cta { width:calc(100% - 2 * var(--gut)); max-width:var(--max); margin:clamp(64px,8vw,112px) auto 0; padding:clamp(28px,3.4vw,44px); border:1px solid var(--rule); border-radius:14px; background:var(--box); display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:20px clamp(28px,4.5vw,64px); align-items:center; }
body.world .pg-cta h2 { grid-row:span 2; color:var(--txt); font-size:clamp(28px,2.8vw,40px); line-height:1.1; max-width:18ch; }
body.world .pg-cta > p { margin:0; font-size:17px; }
body.world .pg-cta .pg-ctas { margin:0; }
body.world .pg-disclaimer { width:calc(100% - 2 * var(--gut)); max-width:var(--max); margin:18px auto 0; font-size:13px; }
@media (max-width:820px) { body.world .pg-cta { grid-template-columns:minmax(0,1fr); } body.world .pg-cta h2 { grid-row:auto; } }

/* a page with `zoom` (Twinverse): pictures open larger, with arrows to step through them */
img.pg-zoom { cursor:zoom-in; }
.pg-lb { border:0; padding:0; background:transparent; max-width:min(1440px,96vw); max-height:96vh; overflow:visible; }
.pg-lb::backdrop { background:rgba(5,6,8,.92); }
.pg-lb img { display:block; max-width:100%; max-height:calc(96vh - 64px); width:auto; height:auto; margin:0 auto; border-radius:10px; }
.pg-lb-bar { display:flex; align-items:center; justify-content:space-between; gap:14px; padding:10px 4px 0; }
.pg-lb-bar p { margin:0; color:#d8d8d4; font-size:14px; text-align:center; }
.pg-lb-bar button { flex:none; width:44px; height:44px; border:0; border-radius:50%; background:#fff; color:#111; font:600 20px/1 system-ui, sans-serif; cursor:pointer; }
.pg-foot-base .priv { color:inherit; text-underline-offset:3px; }
