/*
 * Nubie marketing site (mockup, 2026-11-15). Loaded after paper-tokens.css, paper-kit.css and kit/foundation.css.
 * Every colour is a kit token or a color-mix() of tokens; type is the clarity scale (--t-*) plus the three marketing display
 * sizes below (Gate G2). The plan, with every value: .claude/plans/nubie-marketing-site-2026-11-15.md.
 */
:root {
  /* marketing display sizes (G2) and the page frame; names are this page's own, never a foundation name */
  --disp-80: 5rem; --disp-56: 3.5rem; --disp-40: 2.5rem;
  --wrap: 1200px; --gut: 40px; --nav-h: 64px; --sec-pad: 160px;
  /* the first screen (nav + hero) runs wider than the page so the product window can be larger; with the page wire on
     (1240 px and up, nubie-site.js) its sides leave the wire, --wire-gap left of the hero, at least 16 px of margin */
  --wrap-hero: 1280px; --wire-gap: 58px; --hero-side: var(--gut);
  /* a product window's address bar: every .win__bar, and the hero's height budget below */
  --win-bar-h: 40px;
  --lane: max(14px, calc((100% - var(--wrap)) / 2 - 64px));
  --wire: color-mix(in srgb, var(--ps-ink) 46%, transparent);
  --scrim: color-mix(in srgb, var(--ps-paper) 42%, transparent);
  --on-ink-2: color-mix(in srgb, var(--ps-paper) 72%, var(--ps-ink));
}
@media (max-width: 1199px) { :root { --gut: 24px; --sec-pad: 112px; } }
@media (max-width: 759px) { :root { --gut: 16px; --sec-pad: 80px; } }

* { box-sizing: border-box; }
html { color-scheme: light; scroll-padding-top: calc(var(--nav-h) + 24px); }
html, body { margin: 0; }
body { background: var(--ps-paper); font-size: var(--t-16); line-height: 1.6; min-width: 320px; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
b, strong { font-weight: 600; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--ps-ink); outline-offset: 2px; border-radius: var(--ps-r-bar); }
.skip { position: absolute; left: 16px; top: -64px; z-index: 100; padding: 8px 14px; border-radius: var(--ps-r-pill); background: var(--ps-ink); color: var(--ps-paper); font-size: var(--t-14); font-weight: 600; }
.skip:focus { top: 12px; }

.wrap { position: relative; z-index: 2; width: min(var(--wrap), 100% - 2 * var(--gut)); margin-inline: auto; }
@media (min-width: 1240px) { :root { --hero-side: calc(var(--wire-gap) + 16px); } }
.hero__grid.wrap, .nav__in { width: min(var(--wrap-hero), 100% - 2 * var(--hero-side)); }
.money { font-variant-numeric: tabular-nums lining-nums; }

/* ---------- buttons, tags, eyebrow ---------- */
.btn, .sf__submit { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 18px; border: 0; border-radius: var(--ps-r-pill); font-size: var(--t-14); font-weight: 600; line-height: 1.2; white-space: nowrap; cursor: pointer; transition: background var(--d-hover) var(--ease), box-shadow var(--d-glide) var(--ease), transform var(--d-glide) var(--ease); }
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--d-glide) var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active, .sf__submit:active { transform: translateY(1px); }
.btn--ink, .sf__submit { background: var(--ps-ink); color: var(--ps-paper); box-shadow: var(--ps-sh-pb-ink); }
.btn--ink:hover, .sf__submit:hover:not(:disabled) { background: var(--pri-h); }
.btn--quiet { background: var(--ps-paper); color: var(--ps-ink); box-shadow: inset 0 0 0 1px var(--ps-rule); }
.btn--quiet:hover { background: var(--hover); }
.btn--lg, .sf__submit { min-height: 48px; padding: 0 24px; font-size: var(--t-16); }
.tag { display: inline-flex; align-items: center; min-height: 24px; padding: 0 10px; border-radius: var(--ps-r-pill); font-size: var(--t-12); font-weight: 600; line-height: 1.2; white-space: nowrap; letter-spacing: .01em; }
.tag--sent { background: var(--ps-desk); color: var(--ps-ink); box-shadow: inset 0 0 0 1px var(--ps-rule); }
.tag--won { background: var(--ps-ink); color: var(--ps-paper); }
.tag--good { background: var(--good-tint); color: var(--good); box-shadow: inset 0 0 0 1px var(--good-ring); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: var(--t-14); font-weight: 500; color: var(--ps-ink-2); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: var(--ps-r-hairline); background: var(--ps-ink); flex: none; }
.hero__eyebrow::before { display: none; }
.eyebrow__dot { width: 8px; height: 8px; border-radius: var(--ps-r-hairline); background: var(--ps-ink); flex: none; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h); display: flex; align-items: center; }
.nav::before { content: ""; position: absolute; inset: 8px max(12px, calc((100% - min(var(--wrap-hero), 100% - 2 * var(--hero-side))) / 2 - 16px)); border-radius: var(--ps-r-pill); background: color-mix(in srgb, var(--ps-paper) 94%, transparent); box-shadow: var(--ps-sh-pop); opacity: 0; transform: translateY(-6px) scale(.985); transition: opacity .35s var(--ease), transform .45s var(--ps-menu-out); }
.nav.is-float::before { opacity: 1; transform: none; }
.nav__in { position: relative; display: flex; align-items: center; gap: 24px; margin-inline: auto; min-height: 48px; }
.nav.is-float .nav__in { padding-inline: 12px 6px; }
.nav__logo { display: inline-flex; align-items: center; min-height: 40px; color: var(--ps-ink); flex: none; }
.logo { display: inline-flex; align-items: center; }
.logo svg { display: block; }
.logo__text { font: 600 var(--t-18)/1 var(--f-title); }
.nav__links { display: flex; align-items: center; gap: 2px; margin-inline: auto; }
.nav__link { display: inline-flex; align-items: center; gap: 4px; min-height: 36px; padding: 0 12px; border: 0; border-radius: var(--ps-r-pill); background: transparent; color: var(--ps-ink-2); font-size: var(--t-14); font-weight: 500; cursor: pointer; transition: color var(--d-hover) var(--ease), background var(--d-hover) var(--ease); }
.nav__link:hover, .nav__trigger[aria-expanded="true"] { color: var(--ps-ink); background: var(--hover); }
.nav__link[aria-current="true"] { color: var(--ps-ink); box-shadow: inset 0 -2px 0 var(--ps-ink); border-radius: 0; }
.nav__trigger svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; transition: transform var(--d-glide) var(--ease); }
.nav__trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav__cta { display: flex; align-items: center; gap: 8px; flex: none; }
.mega { position: static; }
.mega__panel { position: absolute; top: calc(100% + 14px); left: 50%; width: min(1040px, calc(100vw - 2 * var(--gut))); transform: translateX(-50%); padding: 12px; border-radius: var(--ps-r-pop); background: var(--ps-paper); box-shadow: var(--ps-sh-menu), var(--ps-sh-pop); transform-origin: 50% 0; }
.mega__panel.is-open { animation: unfold var(--d-pop) var(--ps-menu-out) both; }
@keyframes unfold { from { opacity: 0; transform: translateX(-50%) translateY(-6px) scaleY(.96); } to { opacity: 1; transform: translateX(-50%); } }
.mega__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.05fr); gap: 4px; }
.mega__col { display: grid; align-content: start; gap: 2px; padding: 8px; }
.mega__h { padding: 4px 10px 8px; font-size: var(--t-12); font-weight: 600; color: var(--ink-3); letter-spacing: .025em; }
.mega__item { display: grid; gap: 2px; padding: 10px; border-radius: var(--ps-r-menu); transition: background var(--d-hover) var(--ease); }
.mega__item:hover { background: var(--hover); }
.mega__item b { font-size: var(--t-14); font-weight: 600; }
.mega__item span { font-size: var(--t-12); color: var(--ink-3); line-height: 1.4; }
.mega__feature { display: grid; align-content: end; gap: 10px; padding: 20px; border-radius: var(--ps-r-card); background: var(--ps-desk); }
.mega__feature .mega__h { padding: 0; }
.chain { display: grid; gap: 0; margin-bottom: auto; padding: 4px 0 16px; }
.chain li { position: relative; display: flex; align-items: center; gap: 10px; min-height: 30px; font-size: var(--t-14); font-weight: 500; color: var(--ps-ink-2); }
.chain li::before { content: ""; width: 10px; height: 10px; border-radius: var(--ps-r-mark); background: var(--ps-ink-2); flex: none; transition: background .3s var(--ease); }
.mega__feature:hover .chain li::before { background: var(--hue); }
.chain li:nth-child(2)::before { transition-delay: .06s; } .chain li:nth-child(3)::before { transition-delay: .12s; } .chain li:nth-child(4)::before { transition-delay: .18s; } .chain li:nth-child(5)::before { transition-delay: .24s; }
.chain li + li::after { content: ""; position: absolute; left: 4px; bottom: 20px; width: 2px; height: 20px; background: var(--ps-rule); }
.mega__feature { grid-template-rows: 1fr auto auto auto; }
.chain { align-self: start; }

.mega__feature b { font: 600 var(--t-18)/1.3 var(--f-title); }
.mega__go { display: inline-flex; align-items: center; gap: 6px; font-size: var(--t-14); font-weight: 600; }
.mega__go svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- the wire (drawn by nubie-site.js) ---------- */
.spine { position: absolute; top: 0; left: 0; width: 100%; height: 0; z-index: 1; pointer-events: none; overflow: visible; display: none; }
.has-spine .spine { display: block; }
.spine path { fill: none; stroke-linecap: butt; stroke-linejoin: miter; }
.spine .spine__lit { stroke: var(--wire); stroke-width: 2; }
/* .node elements are invisible anchors: the script reads where they sit and draws the junction squares on the wire */
.node { position: absolute; z-index: 3; width: 12px; height: 12px; margin: -6px 0 0 -6px; visibility: hidden; pointer-events: none; }
.spine__node { fill: var(--ps-paper); stroke: var(--ps-rule); stroke-width: 2; transition: fill .5s var(--ease), stroke .5s var(--ease); }
.spine__node.is-lit { fill: var(--ps-ink-2); stroke: var(--ps-ink-2); }
.is-moving .spine__node.is-lit { fill: var(--hue); stroke: var(--hue); }
.spine__cars { opacity: 0; transition: opacity .6s var(--ease); }
.is-moving .spine__cars { opacity: 1; transition-duration: .2s; }
.spine__node.is-done { fill: var(--ps-ink-2); stroke: var(--ps-ink-2); }
.node--l { left: calc(var(--lane) + 6px); top: calc(var(--sec-pad) * .72); }
.node--r { left: auto; right: var(--lane); margin: -6px -6px 0 0; top: calc(var(--sec-pad) * .72); }

/* ---------- hero: the five verbs stacked on the left, the product window turned toward them on the right ---------- */
/* --hero-reach: how far the window may run past the content edge into the page margin, so it grows on a wide screen and never leaves the page */
.hero { --hero-reach: clamp(0px, (100vw - min(var(--wrap-hero), 100vw - 2 * var(--hero-side))) / 2 - 32px, 320px); --hero-top: calc(var(--nav-h) + 40px);
  --hero-bottom: 56px; --reel-gap: 16px; --reel-row: 95px; --hero-air: 8px; position: relative; overflow: clip; padding: var(--hero-top) 0 var(--hero-bottom); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background-image: linear-gradient(var(--ps-grid) 1px, transparent 1px), linear-gradient(90deg, var(--ps-grid) 1px, transparent 1px); background-size: 48px 48px; background-position: -1px -1px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 45%, var(--ps-ink) 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 70% 45%, var(--ps-ink) 20%, transparent 75%); }
.hero__stage::after { content: ""; position: absolute; left: 6%; right: calc(0px - var(--hero-reach)); bottom: -40px; height: 60px; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--ps-ink) 12%, transparent), transparent); pointer-events: none; }
/* The row is centred in the first screen (align-content) and the copy in the row, but the window block starts at the row's
   top: the short-screen width below counts the window's height from the hero's top padding, and a stage centred beside a
   taller copy column sat up to 30 px lower, its tabs under the fold at 1366 x 600 and 1280 x 580 (2026-11-15 r4 review).
   On a tall screen the row is the stage, so it still sits in the middle of the first screen. The row fills the first
   screen less the hero's own padding (read, not copied: it was a literal 112px) and 16 px of air. */
.hero__grid { display: grid; grid-template-columns: minmax(384px, 3fr) minmax(0, 9fr); gap: 28px; align-items: center; align-content: center; min-height: calc(100vh - var(--hero-top) - var(--hero-bottom) - 16px); }
.hero__copy { position: relative; display: grid; justify-items: start; gap: 24px; min-width: 0; }
.hero__title { position: relative; padding-left: 28px; font: 600 var(--disp-80)/1.06 var(--f-title); letter-spacing: -.02em; color: var(--ps-ink); }
.verb { display: block; transition: color .5s var(--ease); }
.verb.is-lit { color: var(--hue); }
.hero__wire { position: absolute; left: 0; top: 4%; width: 8px; height: 92%; overflow: visible; display: none; }
.motion .hero__wire { display: block; }
.hero__wire path { fill: none; }
.hero__sub { max-width: 36ch; font-size: var(--t-18); line-height: 1.55; color: var(--ps-ink-2); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__stage { --hero-persp: 2000; position: relative; display: grid; perspective: calc(var(--hero-persp) * 1px); perspective-origin: calc(50% + var(--hero-reach) / 2) 50%; min-width: 0; align-self: start; }
/* The window turns on its centre, so turned or flat it stays inside the room beside the copy. It rests flat, the film drawn
   straight on and sharp; nubie-site.js turns it toward the headline on load (--hero-turn, --hero-lean) and brings it flat
   as the page scrolls. */
.hero__tilt { --hero-turn: 0deg; --hero-lean: 0deg; width: calc(100% + var(--hero-reach)); transform-origin: 50% 50%; transform: rotateY(var(--hero-turn)) rotateX(var(--hero-lean)); }
/* On a short screen the window takes its width from the height left for it, so it and its film tabs fit the first screen:
   the viewport less the hero's top padding (--hero-top), the window bar (--win-bar-h), the tabs' margin (--reel-gap),
   their row (--reel-row) and --hero-air, at the film's 16:9. The first three are the values their own rules use; the row
   is the tabs' height (12 + 20 px of padding round two lines of tab text), which site-check reads off the page at every
   size; and the stage starts at the hero's top padding (.hero__stage align-self). 1536 x 770, the founder's own window,
   had the tabs 27 px under the fold (2026-11-15 r3b review); site-check measures the fit at eleven sizes, down to
   1280 x 580. The 560 px floor keeps the window the hero's subject on a very short screen (under 578 px tall). */
@media (min-width: 1200px) {
  /* the stage's width, read off the grid (content width less the 28 px gap and the copy column, 3fr floored at 384 px), so the
     copy column's café room can line up with the window as well as the window itself */
  .hero { --hero-w: min(var(--wrap-hero), 100vw - 2 * var(--hero-side)); --stage-w: min((var(--hero-w) - 28px) * .75, var(--hero-w) - 412px);
    --tilt-w: min(calc(var(--stage-w) + var(--hero-reach)), max(560px, (100vh - var(--hero-top) - var(--win-bar-h) - var(--reel-gap) - var(--reel-row) - var(--hero-air)) * 16 / 9)); }
  .hero__tilt { width: var(--tilt-w); }
}
.win { position: relative; overflow: hidden; border-radius: var(--ps-r-card); background: var(--ps-paper); box-shadow: var(--ps-sh-sheet), 0 24px 48px -28px color-mix(in srgb, var(--ps-ink) 30%, transparent); }
.win--hero { box-shadow: var(--sh-lift); }
.win__bar { display: flex; align-items: center; gap: 6px; min-height: var(--win-bar-h); padding: 0 14px; border-bottom: 1px solid var(--ps-hair); background: var(--ps-desk-40); }
.win__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--ps-rule); flex: none; }
.win__url { margin-inline: auto; padding: 2px 14px; border-radius: var(--ps-r-pill); background: var(--ps-paper); box-shadow: inset 0 0 0 1px var(--ps-hair); font-size: var(--t-12); color: var(--ps-ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 60%; }
.shot { position: relative; background: var(--ps-desk); }
.shot img { width: 100%; }
/* The film tabs sit right under the window they drive; one live event at a time, in its own row under them at the stage's
   left edge. The event covered the films' lower-left corner when it overlapped the window, and between the window and the
   tabs it pushed the tabs below the fold at 1280 x 720 and 1366 x 768 (2026-11-15 reviews). Here it covers no film, the
   lifted wheel never reaches it, and the tabs end above the fold at every laptop size (site-check.cjs measures all three). */
.hero__tilt { grid-area: 1 / 1; }
.reel-bar { grid-area: 2 / 1; }
.ticker { position: relative; z-index: 3; grid-area: 3 / 1; justify-self: start; margin-top: 14px; display: grid; }
@media (max-width: 1199px) { .ticker { margin-left: 16px; } }   /* under the turned window's left edge, not the gutter's */
.ticker li { grid-area: 1 / 1; display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 18px 8px 14px; border-radius: var(--ps-r-pill); background: var(--ps-paper); box-shadow: var(--ps-sh-pop); font-size: var(--t-14); font-weight: 500; white-space: nowrap; }
.ticker li + li { display: none; }
.js .ticker li + li { display: flex; }
.js .ticker li { opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .45s var(--ease), transform .6s var(--ps-menu-out), visibility 0s .6s; }
.js .ticker li.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .45s var(--ease), transform .6s var(--ps-menu-out), visibility 0s; }
.ticker i { width: 10px; height: 10px; border-radius: var(--ps-r-mark); background: var(--ps-ink); flex: none; transition: background .4s var(--ease); }
.ticker li.is-fresh i { background: var(--hue); }
.ticker b { font-weight: 600; }
.ticker small { font-size: var(--t-12); color: var(--ink-3); }
/* ---------- trades ---------- */
.trades { background: var(--ps-desk); padding: 28px 0; }
.trades__in { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 32px; }
.trades__h { font-size: var(--t-14); font-weight: 600; color: var(--ps-ink); max-width: 18ch; line-height: 1.4; }
.marquee { overflow: hidden; min-width: 0; }
.marquee.is-run { -webkit-mask-image: linear-gradient(90deg, transparent, var(--ps-ink) 6%, var(--ps-ink) 94%, transparent); mask-image: linear-gradient(90deg, transparent, var(--ps-ink) 6%, var(--ps-ink) 94%, transparent); }
.marquee__track { display: flex; width: max-content; }
.marquee__row { display: flex; flex-wrap: wrap; gap: 8px 36px; padding-right: 36px; }
.marquee.is-run .marquee__row { flex-wrap: nowrap; }
.marquee li { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; font-size: var(--t-14); font-weight: 500; color: var(--ps-ink-2); white-space: nowrap; }
.marquee svg { width: 20px; height: 20px; fill: none; stroke: var(--ps-ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- section heads ---------- */
.head { display: grid; gap: 16px; max-width: 820px; margin-bottom: 64px; }
.head--c { justify-items: center; text-align: center; margin-inline: auto; }
.head__title { font: 600 var(--disp-56)/1.12 var(--f-title); letter-spacing: -.015em; text-wrap: balance; }
.head__lead { max-width: 62ch; font-size: var(--t-18); line-height: 1.55; color: var(--ps-ink-2); }
section { position: relative; }
.story, .modules, .voice, .pricing { padding: var(--sec-pad) 0; }
.voice { padding-top: 0; }
.story { padding-top: calc(var(--sec-pad) * .7); }

/* ---------- story: plain rows (no JS, reduced motion, narrow) ---------- */
.stage { position: relative; z-index: 2; }
.step { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; align-items: center; padding: 48px 0; box-shadow: inset 0 1px 0 var(--ps-hair); }
.step__text { display: grid; gap: 12px; align-content: center; min-width: 0; }
.step__n { display: inline-flex; align-items: center; gap: 10px; font-size: var(--t-14); font-weight: 600; color: var(--ps-ink); }
.step__n b { display: inline-grid; place-items: center; min-width: 32px; min-height: 24px; padding: 0 6px; border-radius: var(--ps-r-kbd); background: var(--ps-desk); font-weight: 600; font-variant-numeric: tabular-nums; }
.step__who { display: inline-flex; align-items: center; gap: 10px; font-size: var(--t-14); color: var(--ps-ink-2); }
.av { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ps-ink); color: var(--ps-paper); font-size: var(--t-12); font-weight: 600; flex: none; }
.step__title { font: 600 var(--t-26)/1.25 var(--f-title); }
.step__body { color: var(--ps-ink-2); max-width: 46ch; }
.step__proof { display: inline-flex; align-items: center; gap: 8px; font-size: var(--t-14); font-weight: 600; color: var(--ps-ink); }
.step__proof svg { width: 16px; height: 16px; flex: none; fill: none; stroke: var(--good); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.step__screen { position: relative; min-width: 0; }
.cam { position: relative; overflow: hidden; }
.cam__zoom { position: relative; transform-origin: 0 0; }
.ring { position: absolute; border-radius: var(--ps-r-control); box-shadow: 0 0 0 2px var(--ring-c, var(--ps-ink)), 0 0 0 200vmax var(--scrim); opacity: 0; pointer-events: none; transition: box-shadow .5s var(--ease); }
.cam::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: var(--edge, 0); background: linear-gradient(90deg, var(--ps-paper), transparent 2.5%, transparent 97.5%, var(--ps-paper)), linear-gradient(180deg, transparent 96%, var(--ps-paper)); }
.win__bar { position: relative; }
.step .win__url { margin-left: 12px; max-width: 42%; }
.callout { position: absolute; right: 10px; top: 50%; margin-top: -14px; display: inline-flex; align-items: center; gap: 8px; min-height: 28px; padding: 0 12px; border-radius: var(--ps-r-pill); background: var(--ps-ink); color: var(--ps-paper); font-size: var(--t-12); font-weight: 600; white-space: nowrap; opacity: 0; pointer-events: none; }
.callout::before { content: ""; width: 8px; height: 8px; border-radius: var(--ps-r-hairline); background: var(--on-ink-2); transition: background .4s var(--ease); }
.wipe-seam { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 6; pointer-events: none; overflow: visible; opacity: 0; }
.wipe-seam polyline { fill: none; stroke: var(--hue); stroke-width: 5; stroke-linejoin: miter; vector-effect: non-scaling-stroke; }
.mwin .wipe-seam polyline { stroke: var(--ps-ink); }

/* the story, pinned (nubie-site.js adds .is-pinned on wide screens with motion allowed) */
.story.is-pinned .stage { height: 100vh; display: flex; align-items: center; padding-top: var(--nav-h); }
.story.is-pinned .stage__in { display: flex; flex-direction: column; width: min(1240px, 100% - 2 * var(--gut)); height: min(820px, calc(100vh - var(--nav-h) - 24px)); }
.story.is-pinned .verbs { flex: none; align-self: flex-start; margin-bottom: 16px; }
.story.is-pinned .step { grid-template-columns: minmax(0, 3.3fr) minmax(0, 8.7fr); gap: 36px; }
.story.is-pinned .steps { position: relative; flex: 1 1 0; min-height: 0; container-type: size; }
/* a short screen: the product window takes only the width the steps' height leaves room for (16:10 under its bar), so it
   never runs off the bottom of the pinned stage (review 2026-11-21: 127 px over at 1280 x 580 under the verb bar) */
.story.is-pinned .step__screen .win { width: min(100%, calc((100cqh - var(--win-bar-h) - 1px) * 1.6)); margin-left: auto; }
.story.is-pinned .step { position: absolute; inset: 0; padding: 0; box-shadow: none; pointer-events: none; }
.story.is-pinned .step.is-on { pointer-events: auto; }
.story.is-pinned .step__text > * { opacity: 0; transform: translateY(18px); }
.story.is-pinned .step__screen { clip-path: inset(0 0 0 100%); }
.is-moving .ring { --ring-c: var(--hue); }
.is-moving .callout::before { background: var(--hue); }
.wipe-edge { position: absolute; top: 0; bottom: 0; width: 3px; margin-left: -1px; background: var(--hue); z-index: 5; pointer-events: none; opacity: 0; }

/* ---------- modules explorer: a list of the twelve beside one large window ---------- */
.explorer { display: grid; grid-template-columns: minmax(0, 3.3fr) minmax(0, 8.7fr); gap: 40px; align-items: start; }
.tiles { display: grid; gap: 2px; }
.tiles__group { padding: 16px 14px 6px; font-size: var(--t-12); font-weight: 600; color: var(--ink-3); letter-spacing: .025em; }
.tiles__group:first-child { padding-top: 0; }
.tile { position: relative; display: grid; gap: 2px; min-width: 0; padding: 10px 14px; border: 0; border-radius: var(--ps-r-menu); background: transparent; text-align: left; cursor: pointer; transition: background var(--d-hover) var(--ease), box-shadow var(--d-glide) var(--ease); }
.tile:hover { background: var(--hover); }
.tile[aria-selected="true"] { background: var(--ps-paper); box-shadow: var(--ps-sh-sheet); }
.tile[aria-selected="true"]::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: var(--ps-r-hairline); background: var(--ps-ink); }
.tile b { font-size: var(--t-14); font-weight: 600; line-height: 1.3; }
.tile > span { font-size: var(--t-12); color: var(--ink-3); line-height: 1.35; }
.shot[data-crop] { overflow: hidden; }
.shot[data-crop] img { transform-origin: 0 0; }
.mwin { position: sticky; top: calc(var(--nav-h) + 32px); display: grid; gap: 24px; }
.mwin__view { position: relative; display: grid; }
.mwin__layer { grid-area: 1 / 1; position: relative; min-width: 0; background: var(--ps-paper); }
.owed { display: grid; place-content: center; justify-items: center; gap: 8px; aspect-ratio: 16 / 10; padding: 32px; background: var(--ps-desk); text-align: center; }
.owed b { font: 600 var(--t-24)/1.3 var(--f-title); }
.owed span { font-size: var(--t-14); color: var(--ps-ink-2); max-width: 40ch; }
.mwin__cap { display: grid; gap: 8px; }
.mwin__name { font: 600 var(--t-24)/1.3 var(--f-title); }
.mwin__line { color: var(--ps-ink-2); }
.mwin__facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.mwin__facts li { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: var(--ps-r-pill); background: var(--ps-desk); font-size: var(--t-14); font-weight: 500; }
.mwin .node { left: auto; right: 0; bottom: 48px; top: auto; margin: 0 0 -6px 0; }

/* ---------- the segmented bar: the story's five verbs, as links (the step on screen is aria-current) ---------- */
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: var(--ps-r-pill); background: var(--ps-desk); }
.seg__b { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 20px; border-radius: var(--ps-r-pill); background: transparent; color: var(--ps-ink-2); font-size: var(--t-14); font-weight: 600; transition: background var(--d-glide) var(--ease), color var(--d-glide) var(--ease), box-shadow var(--d-glide) var(--ease); }
.seg__b:hover { color: var(--ps-ink); }
.seg__b[aria-current="step"] { background: var(--ps-paper); color: var(--ps-ink); box-shadow: var(--ps-sh-seg-ink); }
.seg__b i { width: 8px; height: 8px; border-radius: var(--ps-r-hairline); background: var(--ps-rule); flex: none; transition: background var(--d-glide) var(--ease); }
.seg__b[aria-current="step"] i, .seg__b.is-done i { background: var(--hue); }
.verbs { margin-bottom: 8px; }

/* ---------- money ---------- */
.band { background: var(--ps-desk); padding: var(--sec-pad) 0; }
.figs { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.fig { display: grid; gap: 8px; padding: 28px; border-radius: var(--ps-r-card); background: var(--ps-paper); box-shadow: var(--ps-sh-sheet); }
.fig dt { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-size: var(--t-14); font-weight: 600; color: var(--ps-ink-2); }
.fig .money { font-size: var(--disp-40); font-weight: 600; line-height: 1.2; letter-spacing: -.01em; transition: color .6s var(--ease); }
.fig .money.is-lit { color: var(--hue); }
.fig__s { font-size: var(--t-14); color: var(--ps-ink-2); }
.figs .node--l { left: 0; top: 50%; margin: -6px 0 0 0; }
.figs .node--r { right: 0; left: auto; top: 50%; margin: -6px 0 0 0; }
.vault li { display: grid; gap: 8px; align-content: start; padding-top: 24px; box-shadow: inset 0 1px 0 var(--ps-rule); }
.vault h3 { font: 600 var(--t-18)/1.3 var(--f-title); }
.vault p { color: var(--ps-ink-2); max-width: 44ch; }

.vault { display: grid; gap: 28px; }
.vault--row { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: 64px; }
.logo--close { justify-content: center; margin: 0 auto 32px; }
.logo--close svg { height: 64px; width: auto; }
.vault svg { width: 28px; height: 28px; margin-bottom: 8px; fill: none; stroke: var(--ps-ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- pricing ---------- */
.plan { position: relative; display: grid; gap: 28px; max-width: 880px; margin-inline: auto; padding: 40px; border-radius: var(--ps-r-band); background: var(--ps-paper); box-shadow: var(--ps-sh-sheet), 0 40px 80px -48px color-mix(in srgb, var(--ps-ink) 35%, transparent); }
.plan .node { left: 50%; top: 0; }
.plan__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 32px; }
.plan__name { font: 600 var(--t-26)/1.25 var(--f-title); }
.plan__for { color: var(--ps-ink-2); }
.plan__price { display: grid; justify-items: end; gap: 2px; }
.plan__price .money { font: 600 var(--disp-40)/1.1 var(--f-ui); letter-spacing: -.01em; }
.plan__per { font-size: var(--t-14); color: var(--ps-ink-2); }
.plan__found { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 14px 16px; border-radius: var(--ps-r-area); background: var(--ps-desk); font-size: var(--t-16); font-weight: 500; }
.plan__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 24px; }
.plan__list li { display: flex; align-items: center; gap: 10px; font-size: var(--t-16); }
.plan__list li::before { content: ""; width: 9px; height: 5px; margin: -3px 3px 0 2px; border-left: 2px solid var(--good); border-bottom: 2px solid var(--good); transform: rotate(-45deg); flex: none; }
.plan__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding-top: 24px; box-shadow: inset 0 1px 0 var(--ps-hair); }
.plan__note { font-size: var(--t-14); color: var(--ps-ink-2); }

/* ---------- close ---------- */
.close { padding: 120px 0 var(--sec-pad); text-align: center; }
.close__title { font: 600 var(--disp-56)/1.12 var(--f-title); letter-spacing: -.015em; }
.close__sub { margin-top: 16px; font-size: var(--t-18); color: var(--ps-ink-2); }
.hero__cta--c { margin-top: 32px; justify-content: center; }

/* ---------- footer ---------- */
.foot { position: relative; background: var(--ps-desk); padding: 64px 0 40px; }
.panel { position: relative; width: 520px; max-width: 100%; height: 64px; margin-bottom: 56px; }
.panel__svg { display: block; width: 100%; height: 100%; }
.panel__body { fill: var(--ps-ink); }
.panel__ear { fill: color-mix(in srgb, var(--ps-paper) 30%, var(--ps-ink)); }
.port { fill: color-mix(in srgb, var(--ps-paper) 14%, var(--ps-ink)); }
.port-hole { fill: color-mix(in srgb, var(--ps-ink) 80%, var(--ps-paper)); }
.led { fill: color-mix(in srgb, var(--ps-paper) 26%, var(--ps-ink)); transition: fill .3s var(--ease); }
.led.is-on { fill: var(--ps-hue-green); }
.panel .node { left: 48px; top: 0; }
.foot__grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 32px; padding-bottom: 40px; box-shadow: inset 0 -1px 0 var(--ps-rule); }
.foot__brand { display: grid; gap: 12px; align-content: start; }
.foot__brand p { max-width: 36ch; font-size: var(--t-14); color: var(--ps-ink-2); }
.foot__col { display: grid; align-content: start; gap: 4px; }
.foot__h { font-size: var(--t-14); font-weight: 600; margin-bottom: 4px; }
.foot__col a { display: inline-flex; align-items: center; min-height: 32px; font-size: var(--t-14); color: var(--ps-ink-2); transition: color var(--d-hover) var(--ease); }
.foot__col a:hover { color: var(--ps-ink); }
.foot__line { padding-top: 24px; font-size: var(--t-14); color: var(--ps-ink-2); }

/* ---------- entrances (only with motion; the end state is the resting CSS) ---------- */
.motion [data-rise], .motion [data-unmask] { will-change: transform; }

/* ---------- smaller screens: the display sizes step down, never in vw ---------- */
@media (max-width: 1199px), (max-height: 820px) { .hero__title { font-size: var(--disp-56); } }
/* the café room under the hero's buttons (founder 2026-11-16: "move the screen a little bit to the right and then put the entire scene
   on the left side, making it a little bit smaller, but still balancing"; then, with a drawn box, "increase it a bit"): the video steps
   right by --hero-step at its own size, the headline steps down to 56, and the room is drawn as a pair to the window:
   - its right edge stops 16 px short of the stage's edge plus the step, where the activity ticker under the window starts (the turned
     window itself starts about 28 px further in; measured 2026-11-16 at 1440 and 1737);
   - its left edge reaches into the margin by --hero-reach, the same 32 px from the screen edge the window keeps on the right;
   - at most 760 px wide, cut from the left when capped, so it keeps its line with the window.
   The step is whatever the window leaves of its reach when the screen's height sizes it (stage + reach - --tilt-w), at most 96 px, so
   the window never runs off the right edge; a window the width sizes already stands at its reach and does not step. */
@media (min-width: 1200px) { .hero { --hero-step: clamp(0px, calc(var(--stage-w) + var(--hero-reach) - var(--tilt-w)), 96px); } }
.hero__scene { width: 100%; aspect-ratio: 1440 / 600; overflow: hidden; border-radius: var(--ps-r-card); background: var(--ps-desk); box-shadow: var(--ps-sh-sheet), 0 24px 48px -28px color-mix(in srgb, var(--ps-ink) 30%, transparent); }
@media (min-width: 1200px) {
  .hero__stage { translate: var(--hero-step) 0; }
  .hero__title { font-size: var(--disp-56); }
  /* the copy column fills the row, but never past the first screen less 16 px (the stage may run lower), and the room takes the height its words leave, its
     width following at 2.4 : 1, so the whole room is always in the frame (founder 2026-11-16: "image is cut out i need it to be in
     the frame"). Under 900 px tall the headline steps to 40 so the room keeps its size (at 1737 x 813 it was 373 px wide at 56); it
     stands on the column's right line and grows left into the margin, no wider than the line-up allows */
  @media (max-height: 899px) { .hero__title { font-size: var(--disp-40); } }
  .hero__copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; align-self: stretch;
    max-height: calc(100vh - var(--hero-top) - 16px); }
  .hero__scene { --scene-room: calc(100% + 12px + var(--hero-step)); --scene-w: min(calc(var(--scene-room) + var(--hero-reach)), 760px);
    flex: 1 1 0; min-height: 120px; max-height: calc(var(--scene-w) / 2.4); width: auto; max-width: var(--scene-w); align-self: flex-end;
    margin-right: calc(100% - var(--scene-room)); }
}
/* a short screen beside the window: the paragraph keeps three lines in the narrow copy column, so the trust line stays above the fold */
@media (min-width: 1200px) and (max-height: 820px) { .hero__sub { font-size: var(--t-16); } }
@media (max-width: 1199px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero__stage { perspective-origin: 50% 50%; }
  .hero__tilt { width: 100%; }
  .vault--row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 979px) {
  .head__title, .close__title { font-size: var(--disp-40); line-height: 1.2; }
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
  .explorer { grid-template-columns: minmax(0, 1fr); }
  .mwin { position: relative; top: 0; order: -1; }
  .step { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .figs, .vault--row { grid-template-columns: minmax(0, 1fr); }
  .foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trades__in { grid-template-columns: minmax(0, 1fr); gap: 12px; }
}
@media (max-width: 759px) {
  .hero__title { font-size: var(--disp-40); line-height: 1.15; }
  .ticker li { white-space: normal; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan__list { grid-template-columns: minmax(0, 1fr); }
  .plan { padding: 24px; }
  .plan__price { justify-items: start; }
  .nav__cta .btn--quiet { display: none; }
}
@media (max-width: 519px) {
  .head__title, .close__title { font-size: var(--t-26); line-height: 1.25; }
  .foot__grid { grid-template-columns: minmax(0, 1fr); }
  .nav__logo .logo svg { width: 96px; height: auto; }
}

/* ---------- films: the hero reel, module films, voice fill (2026-11-15, 4K takes from nubie-site-assets/films) ---------- */
.reel { display: grid; aspect-ratio: 16 / 9; overflow: hidden; }
/* A film is drawn whole: in a box of another shape it is framed, never cropped. The module window is 16:10 for its stills and
   cut the sides off its 16:9 films (2026-11-15 review); site-check.cjs checks every film on the page. */
.reel__v, .film { display: block; width: 100%; height: 100%; object-fit: contain; background: var(--ps-desk); }
.reel__v { grid-area: 1 / 1; opacity: 0; transition: opacity var(--d-bar) var(--ease); }
.reel__v.is-on { opacity: 1; }
/* The wheel lift-out (nubie-site.js "the wheel lift-out"). While the survey film holds Survey Studio's wheel open, a still of
   that wheel lifts off the window toward the reader, turns square to them and grows, its shadow falling on the plan, then
   settles back into the film. The bed (the plan behind the wheel, cut from the same page) covers the film's own wheel while
   the still is out, so the wheel leaves the plan instead of being doubled, and the film's pointer (.reel-hand), which rests
   on the wheel for the whole hold, is drawn over it at rest and hidden while it is up. The three stills are one square around the
   wheel's centre, --pop-cut times the ring's diameter a side (wheel-snapshot.cjs: a 436 px cut over the 300 px ring). The script
   measures, on #hero-lift: --pop-x / --pop-y, the centre in reel px; --pop-r, the ring's radius; --pop-w, the reel's width;
   --pop-oy, the reel's top inside the window; --pop-src, the wheel still's URL once it has decoded. The still is laid out
   at its lifted size and scaled down at rest, so it rasterises sharp where it is read; the window and the still share
   #hero-lift, so the pointer tilts them together. The stills have no fade: at rest they match the film's frame, and the
   script cuts them in and out (.pop-cut), because a half-clear still shows the film's wheel through it. */
.hero__tilt, .hero__lift { position: relative; transform-style: preserve-3d; }
.hero__lift {
  --pop-cut: calc(436 / 300); --pop-lift: 1.2; --pop-z: 80;
  /* the wheel's shadow on the plan (the window's own shadow tint) and the light that sweeps it once it is up (Gate G2) */
  --pop-shade: color-mix(in srgb, var(--ps-ink) 30%, transparent); --pop-light: color-mix(in srgb, var(--ps-paper) 55%, transparent);
  --pop-d: calc(2 * var(--pop-r, 0px) * var(--pop-cut));
  /* lifted, the wheel grows by --pop-lift and by the stage's perspective, standing --pop-z px nearer the reader */
  --pop-grow: calc(var(--pop-lift) * var(--hero-persp) / (var(--hero-persp) - var(--pop-z)));
  /* and slides toward the window's middle until the chosen segment, 6 % past the ring, clears the side by 4 % of the reel in
     the window's own plane; turned toward the headline, the perspective carries it a few px past the frame, out of the screen */
  --pop-dx: max(0px, calc(var(--pop-w, 0px) * .04 + var(--pop-r, 0px) * var(--pop-grow) * 1.06 - var(--pop-x, 0px)));
}
.reel-bed, .reel-pop__w, .reel-hand { position: absolute; aspect-ratio: 1; pointer-events: none; }
.reel-bed { left: var(--pop-x); top: var(--pop-y); width: var(--pop-d); margin: calc(var(--pop-d) / -2) 0 0 calc(var(--pop-d) / -2); visibility: hidden;
  -webkit-mask: radial-gradient(closest-side, var(--ps-ink) 92%, transparent); mask: radial-gradient(closest-side, var(--ps-ink) 92%, transparent); }
.reel-bed img, .reel-pop__face img, .reel-hand img { width: 100%; height: 100%; }
/* the film's pointer, in the window's plane at the bed's square, after .reel-pop at the same depth, so it is drawn over the
   wheel at rest. While the wheel is up, and until it has settled back (--d-bar), the pointer is hidden: Chromium and Firefox
   sort it behind the lifted wheel by depth, but WebKit painted it over the wheel (round-2 review, 2026-11-15), so every
   engine is given the one picture Chromium showed */
.reel-hand { left: var(--pop-x); top: calc(var(--pop-oy) + var(--pop-y)); width: var(--pop-d); margin: calc(var(--pop-d) / -2) 0 0 calc(var(--pop-d) / -2); visibility: hidden; }
/* while the wheel is up the plan steps back under the page's spotlight scrim (.ring's --scrim), so what the lifted wheel
   covers reads as behind it, and the wheel's shadow falls on the plan under where it hangs */
.reel-shade { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity var(--d-bar) var(--ease);
  background: radial-gradient(circle calc(var(--pop-r) * 1.3) at calc(var(--pop-x) + var(--pop-dx) * .75) calc(var(--pop-y) + var(--pop-r) * .22), var(--pop-shade), transparent),
    linear-gradient(var(--scrim), var(--scrim)); }
.reel-pop { position: absolute; left: var(--pop-x); top: calc(var(--pop-oy) + var(--pop-y)); width: 0; height: 0; transform-style: preserve-3d; pointer-events: none; visibility: hidden; }
.reel-pop__w { left: 0; top: 0; width: calc(var(--pop-d) * var(--pop-lift)); margin: calc(var(--pop-d) * var(--pop-lift) / -2) 0 0 calc(var(--pop-d) * var(--pop-lift) / -2);
  transform-style: preserve-3d; transform: translate3d(0, 0, 0) scale(calc(1 / var(--pop-lift)));
  transition: transform var(--d-bar) var(--ps-menu-out); }
/* Lifted, the wheel faces the reader: its face turns against the window's tilt by --pop-face, 0 at rest and 1 up, a number
   that eases with the lift. The tilt itself is applied at once, so a pointer or scroll move turns the face with the window
   instead of re-running the spring on every move (as one transition on the whole transform did). */
@property --pop-face { syntax: "<number>"; inherits: false; initial-value: 0; }
.reel-pop__face { position: absolute; inset: 0; --pop-face: 0; transition: --pop-face var(--d-bar) var(--ps-menu-out);
  transform: rotateX(calc(-1 * var(--hero-lean) * var(--pop-face))) rotateY(calc(-1 * var(--hero-turn) * var(--pop-face))); }
/* once it is up, a light passes over the wheel, the wheel's own shape as the mask */
.reel-pop__face::after { content: ""; position: absolute; inset: 0; opacity: 0;
  background: linear-gradient(105deg, transparent 38%, var(--pop-light) 50%, transparent 62%) 140% 0 / 250% 100% no-repeat;
  -webkit-mask: var(--pop-src) center / 100% 100%; mask: var(--pop-src) center / 100% 100%; }
.pop-on .reel-pop, .pop-on .reel-bed, .pop-on .reel-hand { visibility: visible; }
.pop-on .reel-hand { transition: visibility 0s linear var(--d-bar); }
.pop-up .reel-hand { visibility: hidden; transition: none; }
.pop-up .reel-shade { opacity: 1; }
.pop-up .reel-pop__w { transform: translate3d(var(--pop-dx), 0, calc(var(--pop-z) * 1px)) scale(1); transition: transform var(--d-bar) var(--ps-spring); }
.pop-up .reel-pop__face { --pop-face: 1; transition: --pop-face var(--d-bar) var(--ps-spring); }
.pop-up .reel-pop__face::after { animation: pop-sheen var(--d-bar) var(--ease) var(--d-bar) both; }
@keyframes pop-sheen { from { opacity: 1; background-position: 140% 0; } to { opacity: 1; background-position: -40% 0; } }
/* the stills come and go at once (nubie-site.js popSet), and a new size is put at once (popPlace) */
.pop-cut .reel-shade, .pop-cut .reel-pop__w, .pop-cut .reel-pop__face, .pop-cut .reel-hand { transition: none; }
.reel-bar { position: relative; z-index: 3; display: flex; align-items: center; gap: 12px; max-width: 720px; margin: var(--reel-gap) auto 0; }
.reel-tabs { flex: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; min-width: 0; }
.reel-tab { position: relative; display: grid; align-content: start; gap: 2px; min-width: 0; padding: 12px 14px 20px; border: 0; border-radius: var(--ps-r-menu); background: transparent; color: var(--ps-ink); font: inherit; text-align: left; cursor: pointer; transition: background var(--d-hover) var(--ease), box-shadow var(--d-glide) var(--ease); }
.reel-tab:hover { background: var(--hover); }
.reel-tab[aria-selected="true"] { background: var(--ps-paper); box-shadow: var(--ps-sh-sheet); }
.reel-tab b { font-size: var(--t-16); font-weight: 600; line-height: 1.3; }
.reel-tab > span { font-size: var(--t-14); line-height: 1.43; color: var(--ps-ink-2); }
.reel-tab__run { position: absolute; left: 14px; right: 14px; bottom: 9px; height: 3px; overflow: hidden; border-radius: var(--ps-r-hairline); background: var(--ps-hair); }
.reel-tab__run i { display: block; width: 100%; height: 100%; background: var(--hue); transform: scaleX(0); transform-origin: 0 50%; }
.film-pause { display: grid; place-items: center; flex: none; width: 40px; height: 40px; padding: 0; border: 0; border-radius: var(--ps-r-pill); background: var(--ps-paper); box-shadow: inset 0 0 0 1px var(--ps-rule); color: var(--ps-ink); cursor: pointer; transition: background var(--d-hover) var(--ease); }
.film-pause:hover { background: var(--hover); }
.film-pause svg { width: 16px; height: 16px; fill: currentColor; }
.film-pause .i-play, .film-pause[aria-pressed="true"] .i-pause { display: none; }
.film-pause[aria-pressed="true"] .i-play { display: block; }
.shot--film { position: relative; }
.shot--film > .film-pause { position: absolute; right: 12px; bottom: 12px; z-index: 2; box-shadow: var(--ps-sh-pop); }
.mwin__layer .shot--film, .step .shot--film { aspect-ratio: 16 / 10; overflow: hidden; }
.mwin__layer .shot--film .film, .step .shot--film .film { position: absolute; inset: 0; background: var(--ps-paper); }

/* voice fill */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.split .head { margin-bottom: 0; }
.split__facts { display: flex; flex-wrap: wrap; gap: 8px; }
.split__facts li { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: var(--ps-r-pill); background: var(--ps-desk); font-size: var(--t-14); font-weight: 500; }
.split__film .film { height: auto; aspect-ratio: 16 / 9; }

@media (max-width: 979px) {
  .split { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .reel-bar { max-width: none; }
}
@media (max-width: 519px) {
  .reel-tab > span { display: none; }
  .reel-tab { padding: 10px 10px 18px; }
  .reel-tab__run { left: 10px; right: 10px; }
}

/* ---------- sign-up popup: the plan and the company sign-up in one dialog (2026-11-15) ----------
   Made of the page's own parts: the .plan grammar on the left, the page's eyebrow, tag and buttons (.sf__submit, the kit's
   PaperButton ink, shares .btn--ink .btn--lg above), the kit's form controls at the full-form size, and the kit's modal
   radius and shadow. Its width is the mega menu's. nubie-site.js ("sign-up popup") opens and closes it and puts
   html.signup-open on while it is open. The .sf classes are the live form's too: style a state here, never in the app. */
html.signup-open { overflow: hidden; }
.signup { width: min(1040px, 100% - 2 * var(--gut)); max-width: none; max-height: calc(100% - 2 * var(--gut)); margin: auto; padding: 0; border: 0; border-radius: var(--ps-r-modal); background: var(--ps-paper); color: var(--ps-ink); box-shadow: var(--ps-sh-modal); overflow: auto; overscroll-behavior: contain; }
.signup[open] { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); animation: signup-in var(--d-pop) var(--ps-menu-out) both; }
/* the backdrop is the window's own shadow tint (the wheel lift-out's --pop-shade) */
.signup::backdrop { background: color-mix(in srgb, var(--ps-ink) 30%, transparent); animation: signup-scrim var(--d-scrim) var(--ease) both; }
@keyframes signup-in { from { opacity: 0; transform: translateY(12px) scale(.985); } }
@keyframes signup-scrim { from { opacity: 0; } }
.signup__close { position: absolute; top: 16px; right: 16px; z-index: 1; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: var(--ps-r-pill); background: var(--ps-paper); box-shadow: inset 0 0 0 1px var(--ps-rule); color: var(--ps-ink); cursor: pointer; transition: background var(--d-hover) var(--ease); }
.signup__close:hover { background: var(--hover); }
.signup__close svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.signup__plan { display: grid; align-content: start; gap: 24px; min-width: 0; padding: 40px; background: var(--ps-desk); }
.signup__head { display: grid; gap: 8px; }
.signup__plan .plan__price { justify-items: start; }
.signup__plan .plan__found { background: var(--ps-paper); }
.signup__plan .plan__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; }
.signup__plan .plan__list li { font-size: var(--t-14); }
.signup__main { display: grid; align-content: start; gap: 8px; min-width: 0; padding: 40px; }
.signup__title { padding-right: 48px; font: 600 var(--t-24)/1.3 var(--f-title); }
.signup__lead { color: var(--ps-ink-2); }
.signup__slot { margin-top: 16px; }
.signup__foot { margin-top: 16px; font-size: var(--t-14); color: var(--ps-ink-2); }
.signup__foot a, .sf__check a { color: var(--ps-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
/* the form and its states: a problem for the whole form, a field's problem, busy (.sf--busy), and the e-mail sent (.sf__sent).
   The controls are the kit's own parts, as the app's live form renders them: Field (label.ps-field, with ps-field--invalid
   and ps-field--disabled), Label (.ps-lbl), Checkbox (.ps-cb), PaperButton ink (.ps-pb--ink). The kit keeps their focus,
   invalid and disabled looks; here they only take the page's full-form scale: 48 px controls, 16 px input text, 14 px labels
   (.ps-lbl is 13.5 and .ps-pb 34 px high, off this page's clarity scale). */
/* first and last name share a line, found by their contract names so the live form lays out the same; under 520 px they stack */
.sf { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.sf > * { grid-column: 1 / -1; }
.sf > .sf__row:has([name="firstName"]), .sf > .sf__row:has([name="lastName"]) { grid-column: auto; }
.sf__problem { padding: 12px 14px; border-radius: var(--ps-r-area); background: var(--bad-tint); color: var(--bad); font-size: var(--t-14); font-weight: 500; line-height: 1.43; }
.sf__problem:empty, .sf__error:empty { display: none; }
.sf__row { display: grid; gap: 6px; min-width: 0; }
.sf__label { margin: 0; color: var(--ps-ink); font: 500 var(--t-14)/1.43 var(--f-ui); }
.sf__field { height: auto; min-height: 48px; padding: 0 14px; }
.sf__field .sf__input { min-height: 46px; font: 400 var(--t-16)/1.43 var(--f-ui); }
.sf__hint, .sf__error { font-size: var(--t-14); line-height: 1.43; color: var(--ps-ink-2); }
.sf__error { font-weight: 500; color: var(--bad); }
.sf__check { display: flex; align-items: center; gap: 10px; font-size: var(--t-14); line-height: 1.43; }
/* the kit box draws 18 px; the wrapper gives it the 24 px hit area (WCAG 2.5.8, ui-readability.md §4) */
.sf__check .ps-cb { width: 24px; height: 24px; }
.sf__check .ps-cb i { inset: 3px; }
.sf__check label { cursor: pointer; }
.sf__check .ps-cb:has(> :disabled) + label { cursor: not-allowed; }
.sf__submit { width: 100%; height: auto; margin-top: 8px; font-family: var(--f-ui); }
/* busy is not unavailable: the label keeps full ink while it says what is happening (the kit dims a disabled button to .42) */
.sf--busy .sf__submit:disabled { opacity: 1; cursor: progress; }
.sf__sent { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; padding: 20px; border-radius: var(--ps-r-area); background: var(--ps-desk); font-size: var(--t-16); }
.sf__sent > p { flex-basis: 100%; }
.sf__link { display: inline-flex; align-items: center; min-height: 32px; padding: 0; border: 0; background: none; color: var(--ps-ink); font-size: var(--t-14); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
/* a short screen (the page's own 820 px line): the columns take the page's narrow 24 px top and bottom, so the dialog
   fits 1366 x 768 whole (the form side measured 707 px tall with 40) */
@media (max-height: 820px) { .signup__plan, .signup__main { padding-block: 24px; } }
/* one column: the form first, where the first field takes focus, and the plan under it */
@media (max-width: 899px) {
  .signup[open] { grid-template-columns: minmax(0, 1fr); }
  .signup__main { order: -1; }
  .signup__plan, .signup__main { padding: 24px; }
  .signup__plan { gap: 16px; }
}
@media (max-width: 519px) { .sf > .sf__row:has([name="firstName"]), .sf > .sf__row:has([name="lastName"]) { grid-column: 1 / -1; } }

/* ---------- the opening (nubie-site.js playIntro): the name full screen, then into the nav ----------
   The page's one blocking layer, on the 1300 band (floating-ui.md: true modals); the skip button above it.
   The cover is in the page's markup, the first element of <body>, so the first painted frame is the cover and never the
   page under it: the scripts that play the opening are the last thing to arrive. Where no opening will play, this
   stylesheet lets the page through by itself: at once under reduced motion or with scripts turned off, and after the
   8 s time limit when the scripts have not taken the cover over (playIntro then plays nothing: an opening over a page
   already shown is the defect the cover exists to prevent). */
.intro { position: fixed; inset: 0; z-index: 1300; background: var(--ps-paper); animation: intro-let-through var(--ps-dur-base) var(--ease) 8s forwards; }
.is-intro .intro { animation: none; cursor: pointer; }
@keyframes intro-let-through { to { opacity: 0; visibility: hidden; } }
@media (prefers-reduced-motion: reduce), (scripting: none) { .intro { display: none; } }
.intro__grid { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(var(--ps-grid) 1px, transparent 1px), linear-gradient(90deg, var(--ps-grid) 1px, transparent 1px); background-size: 56px 56px; background-position: center; -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 45%, var(--ps-ink) 15%, transparent 72%); mask-image: radial-gradient(ellipse 60% 55% at 50% 45%, var(--ps-ink) 15%, transparent 72%); }
.intro__logo { position: fixed; z-index: 1310; pointer-events: none; transform-origin: 0 0; will-change: transform; }
.intro__logo svg { display: block; overflow: visible; }
.intro__seam { position: fixed; inset: 0; z-index: 1305; width: 100%; height: 100%; pointer-events: none; }
.intro__seam polyline { fill: none; stroke: var(--ps-ink); stroke-width: 2; vector-effect: non-scaling-stroke; }
.intro__slogan { position: absolute; left: 0; right: 0; text-align: center; font: 600 var(--t-26)/1.3 var(--f-title); color: var(--ps-ink); }
.intro__slogan span { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 4px; }
.intro__slogan i { display: inline-block; font-style: normal; }
.intro__chain { position: absolute; left: 0; right: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; font-size: var(--t-14); font-weight: 500; color: var(--ps-ink-2); }
.intro__chain li { display: inline-flex; align-items: center; gap: 10px; }
.intro__chain li::before { content: ""; width: 10px; height: 10px; border-radius: var(--ps-r-mark); background: var(--ps-ink-2); transition: background .3s var(--ease), transform .3s var(--ps-spring); }
.intro__chain li.is-lit::before { background: var(--hue); transform: scale(1.25); }
.intro__skip { position: fixed; z-index: 1320; right: 24px; bottom: 24px; }
.is-intro .nav__logo .logo { visibility: hidden; }
.is-intro body { overflow: hidden; }
.foot__slogan { font: 600 var(--t-18)/1.3 var(--f-title); color: var(--ps-ink); }

/* ---------- the hero's light string, snow and lamp (founder 2026-11-16, from the sign in page mockups/front-door.html) ----------
   The string and the lamp are drawn by front-door.art.js in the crew palette (art, like the installers); the page only places,
   lights and dims them. The lamp's warm tones are mixes of the kit's amber. */
.hero__lights { position: absolute; left: 0; top: var(--nav-h); z-index: 1; width: 100%; height: 44px; overflow: visible; pointer-events: none; }
.hero__lights .bulbs circle { opacity: .95; transition: opacity .4s var(--ease), filter .4s var(--ease); }
.motion .hero__lights .bulbs circle { animation: twinkle 3.4s ease-in-out infinite; animation-delay: calc(var(--i) * -.41s); }
@keyframes twinkle { 0%, 100% { opacity: .95; } 50% { opacity: .5; } }
html[data-light="off"] .hero__lights .bulbs circle { opacity: 1; filter: drop-shadow(0 0 4px color-mix(in srgb, var(--ps-hue-amber) 75%, transparent)); }
/* the snow falls over the whole site as it scrolls (founder 2026-11-16: "the snow should be in the entire website"): one layer
   fixed to the window, under the nav (50), over the sections; it never takes a click */
.site-snow { position: fixed; inset: 0; z-index: 40; width: 100%; height: 100%; pointer-events: none; }
.lamp { --bulb: color-mix(in srgb, var(--ps-hue-amber) 42%, var(--ps-paper)); --glow: var(--ps-hue-amber); --brass: color-mix(in srgb, var(--ps-hue-amber) 55%, var(--ps-ink));
  position: absolute; z-index: 4; top: calc(var(--nav-h) + 2px + var(--lamp-drop, 0px)); left: var(--lamp-x, 46%); display: none; width: var(--lamp-w, 112px); height: calc(var(--lamp-w, 112px) * 1.4); margin-left: calc(var(--lamp-w, 112px) / -2); padding: 0; border: 0; background: transparent; color: var(--ps-ink); cursor: pointer; }
@media (min-width: 1200px) { .lamp { display: block; } }
.lamp:focus-visible { outline-offset: 4px; }
/* the longer cord when the lamp hangs lower (--lamp-drop, set by nubie-site.js) */
.lamp::before { content: ""; position: absolute; left: 50%; bottom: 100%; width: 1.3px; height: var(--lamp-drop, 0px); margin-left: -.65px; background: currentColor; }
.lamp svg { display: block; width: 100%; height: 100%; overflow: visible; }
.lamp line { stroke: currentColor; stroke-width: 1.3px; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.lamp .collar { fill: var(--brass); }
.lamp .knob, .lamp .shade { fill: currentColor; }
.lamp .halo { opacity: 0; transition: opacity .4s var(--ease); }
html[data-light="on"] .lamp .halo { opacity: .7; }
.lamp .bulb, .lamp .rim { fill: var(--ps-ink-3); transition: fill .2s linear; }
html[data-light="on"] .lamp .bulb { fill: var(--bulb); filter: drop-shadow(0 0 12px var(--glow)); }
html[data-light="on"] .lamp .rim { fill: var(--bulb); }
.lamp .lamp-sway { transform-box: view-box; transform-origin: 75px 0; }
.lamp .lamp-eyes .lp { transition: transform .35s var(--ease); }
.lamp .lamp-eyes .lid { transform-box: fill-box; transform-origin: 50% 50%; transition: transform .3s var(--ease); }
html[data-light="off"] .lamp .lamp-eyes .lid { transform: scaleY(.12); }
.lamp.is-pulled .lamp-sway { animation: lamp-swing 1.4s var(--ease) both; }
.lamp.is-pulled .cord { animation: lamp-cord .5s var(--ease) both; }
@keyframes lamp-swing { 0% { transform: rotate(0deg); } 25% { transform: rotate(5deg); } 50% { transform: rotate(-3.5deg); } 75% { transform: rotate(1.5deg); } 100% { transform: rotate(0deg); } }
@keyframes lamp-cord { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(10px); } }
/* the pool of light the lamp throws down over the headline and the window; in the dark the hero falls back */
@media (min-width: 1200px) {
  .hero::after { content: ""; position: absolute; z-index: 0; left: var(--lamp-x, 46%); top: calc(var(--nav-h) + 90px); width: 960px; height: 720px; margin-left: -480px; pointer-events: none; background: radial-gradient(ellipse 50% 50% at 50% 28%, color-mix(in srgb, var(--ps-hue-amber) 10%, transparent), transparent 70%); opacity: 0; transition: opacity .6s var(--ease); }
  html[data-light="on"] .hero::after { opacity: 1; }
}
/* the lamp off is the kit's night mode for the whole page (nubie-site.js setLight); the page fades between the two */
body, .nav, .hero, .sec, .foot { transition: background-color .6s var(--ease), color .6s var(--ease); }

/* ---------- the café room in the hero (art from nubie-cafe.js) ---------- */
.cafe__art { display: block; width: 100%; height: 100%; }
