/* Pro-Motion. Plain CSS, no framework, no inline styles. A dark page in the family of the SuperPower FX site (same canvas, same
   orange accent). The one showpiece is the timeline on the home page: products are layers, the ruler names the stages, a hairline with five nodes: solid
   bar is the stage reached and a dashed one what is still ahead. Onest carries Latin and Cyrillic in one design. */

@font-face { font-family: "Onest"; src: url("/fonts/onest-latin-wght-normal.woff2?v=052df745") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Onest"; src: url("/fonts/onest-cyrillic-wght-normal.woff2?v=68e5e01d") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "JetBrains Mono"; src: url("/fonts/jetbrains-mono-latin-wght-normal.woff2?v=18be4527") format("woff2"); font-weight: 100 800; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "JetBrains Mono"; src: url("/fonts/jetbrains-mono-cyrillic-wght-normal.woff2?v=d274604c") format("woff2"); font-weight: 100 800; font-style: normal; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

:root {
  color-scheme: dark;
  --canvas: #141414;
  --card: #1f1f1f;
  --line: #2f2f2f;
  --tick: #3a3a3a;
  --text: #f4f4f4;
  --text-2: #c1c1c1;
  --text-3: #9a9a9a;
  --accent: #ff7a00;
  --classified: #ff4d3d;
  --accent-ink: #141414;
  --grow: #8a5232;                       /* "room to grow": the accent, quieter; never a stage, never filled */
  --grow-text: #c08560;                  /* its label (6.1:1 on the canvas) */
  --tagw: 29px;                          /* the name tag's thickness: the page keeps clear of it */
  --tagl: 168.5625px;                    /* its length: the artwork (48 x 279) scaled uniformly to --tagw, 279 / 48 x 29 px */
  --danger: #f5beb5;
  --sans: "Onest", "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --head: 380px;
  --gap: 40px;
  font-family: var(--sans);
  color: var(--text);
  background: var(--canvas);
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; }
/* A little atmosphere, as in the loading screens: a faint glow in the upper right and a hairline along the very top edge. */
/* Type and colour are set on body too, not only on the root: a host page that styles body (an embedding preview, a reader mode) must not win. */
body { position: relative; overflow-x: clip; margin: 0; font-family: var(--sans); font-size: 16px; font-weight: 400; color: var(--text); background: radial-gradient(1100px 560px at 88% -120px, rgba(255, 122, 0, .05), transparent 70%) no-repeat, var(--canvas); line-height: 1.5; }
body::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 122, 0, .5) 28%, rgba(255, 122, 0, .5) 72%, transparent); pointer-events: none; }
p { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }
a { color: inherit; text-underline-offset: .25em; }
a:hover { color: var(--accent); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: min(1120px, 100% - 48px); margin: auto; }
@media (max-width: 1232px) { .wrap { width: auto; margin: 0 24px 0 calc(var(--tagw) + 14px); } }   /* where the column comes closer to the edge than the tag is wide, the page keeps clear of it */

/* Header and footer */
header { display: flex; align-items: center; justify-content: flex-end; gap: 24px; min-height: 93px; padding: 26px 0; border-bottom: 1px solid var(--line); }
/* The name tag: the owner's final artwork, version 9 (src/brand-tag.mjs), an orange tag hanging from the left edge of the window near
   the top, the mark at the top and PRO-MOTION reading downwards. It scrolls with the page, above the content and below the open language
   list. The artwork is inline, scaled uniformly to the tag's thickness; only its orange parts change on hover and press (the tag and the
   orange of the mark together, so the mark's rim never shows lighter than the tag), the white stays white. */
.brand { --fill: #ff6b00; position: absolute; top: 26px; left: 0; z-index: 2; display: block; width: var(--tagw); height: var(--tagl); line-height: 0; }
.brand > svg { display: block; width: 100%; height: 100%; pointer-events: none; }   /* only the outer one: the mark is a nested svg with its own size; no pointer, so the artwork's own <title> never shows as a tooltip instead of the link's */
.brand svg [fill="#FF6B00" i] { fill: var(--fill); }
.brand svg [stroke="#FF6B00" i] { stroke: var(--fill); }
.brand:hover { --fill: #e85f00; }
.brand:active { --fill: #d15500; }
.brand:focus-visible { outline: 2px solid #ff6b00; outline-offset: 3px; }
@media print { .brand { display: none; } }
/* No tag on the page (owner, 2026-10-24: off everywhere for now; src/brand-tag.mjs TAG_SHOWN): what hung under it moves up to its place */
:where(.pm):not(:has(> .brand)) { --tagl: 0px; }
nav.main { margin-left: auto; display: flex; gap: 24px; font-size: 14.5px; color: var(--text-2); }
nav.main a { display: inline-block; padding: 10px 0; margin: -10px 0; text-decoration: none; }   /* a taller target for a finger, same layout */
nav.main a:hover, nav.main a[aria-current] { color: var(--text); }
nav.main a[aria-current] { text-decoration: underline; text-decoration-thickness: 1px; }
/* The language menu, made for up to 16 languages (a disclosure, no script). The button carries the ringed cross of the map's survey
   marks and the current code; the list opens under it with the cut corner of the button and the logo, past 8 languages in two
   columns. The current language has the filled ring of the status line. */
nav.lang { position: relative; }
nav.lang summary { display: flex; align-items: center; gap: 8px; padding: 8px 10px 8px 9px; border: 1px solid var(--line); border-radius: 7px; font: 500 12px/1 var(--mono); color: var(--text-2); list-style: none; cursor: pointer; user-select: none; }
nav.lang summary::-webkit-details-marker { display: none; }
nav.lang summary::before { content: ""; width: 13px; height: 13px; border: 1px solid currentColor; border-radius: 50%; background: linear-gradient(currentColor, currentColor) 50% 50% / 1px 100% no-repeat, linear-gradient(currentColor, currentColor) 50% 50% / 100% 1px no-repeat; }
nav.lang summary::after { content: ""; width: 5px; height: 5px; margin: -3px 1px 0 1px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
nav.lang details[open] summary::after { margin-top: 3px; transform: rotate(-135deg); }
nav.lang summary:hover, nav.lang details[open] summary { color: var(--text); border-color: #4a4a4a; }
nav.lang summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.lang-code { color: var(--accent); }
.lang-list { position: absolute; right: 0; top: calc(100% + 8px); z-index: 10; display: grid; gap: 2px; width: 230px; margin: 0; padding: 6px; list-style: none; border: 1px solid var(--line); border-radius: 8px 0 8px 8px;
  background: linear-gradient(225deg, transparent 8.2px, var(--line) 8.2px 9.3px, transparent 9.3px) 100% 0 / 14px 14px no-repeat, #1b1b1b;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%); }
.lang-list.many { width: 360px; grid-template-columns: 1fr 1fr; }
.lang-list a { position: relative; display: flex; align-items: center; gap: 10px; padding: 9px 10px 9px 30px; border-radius: 5px; font-size: 14.5px; line-height: 1.3; color: var(--text-2); text-decoration: none; }
.lang-list a:hover { background: #262626; color: var(--text); }
.lang-list .code { margin-left: auto; font: 500 11px/1 var(--mono); color: var(--text-3); }
.lang-list a[aria-current] { color: var(--accent); }
.lang-list a[aria-current]::before { content: ""; position: absolute; left: 10px; top: 50%; width: 11px; height: 11px; margin-top: -5.5px; border: 1.5px solid currentColor; border-radius: 50%; background: radial-gradient(circle, currentColor 0 1.8px, transparent 2.3px); }

/* "Products" in the main menu: a link to the list of all products; the list of the products drops down on hover and on keyboard focus
   (owner, 2026-10-27). Works without script. */
/* each list under its own button (owner, 2026-11-23: "the Products menu is offset from its button"); the Admin list, nearer the right edge, ends at its button */
nav.main .products { position: relative; }
nav.main .products > .prod-list { left: 0; right: auto; }
nav.main .products.pm-admin > .prod-list { left: auto; right: 0; }
nav.main .products-link { display: inline-flex; align-items: center; gap: 7px; padding: 10px 0; margin: -10px 0; }
nav.main .products-link::after { content: ""; width: 5px; height: 5px; margin-top: -3px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
nav.main .products:hover .products-link, nav.main .products:focus-within .products-link { color: var(--text); }
nav.main .products:hover .products-link::after, nav.main .products:focus-within .products-link::after { margin-top: 3px; transform: rotate(-135deg); }
.prod-list { display: none; }
nav.main .products:hover .prod-list, nav.main .products:focus-within .prod-list { display: grid; }
.prod-list::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
nav.main { position: relative; }   /* the list hangs from the menu's right edge, so that it stays inside the window where the menu sits at the right */
.prod-list { position: absolute; right: 0; top: calc(100% + 8px); z-index: 10; gap: 2px; width: 290px; max-width: calc(100vw - 36px); margin: 0; padding: 6px; list-style: none; border: 1px solid var(--line); border-radius: 8px; background: #1b1b1b; }
nav.main .prod-list a { display: grid; gap: 2px; min-height: 0; margin: 0; padding: 10px 12px; border-radius: 5px; text-decoration: none; color: var(--text-2); }
nav.main .prod-list a:hover { background: #262626; color: var(--text); }
nav.main .prod-list li.planned .item { display: grid; gap: 2px; margin: 0; padding: 10px 12px; color: var(--text-3); cursor: default; }   /* a planned product: no link, no hover (owner, 2026-11-07) */
.prod-list .pn { font-size: 14.5px; font-weight: 500; }
.prod-list .pk { font-size: 12.5px; color: var(--text-3); }
.prod-list .pk.soon { color: var(--grow-text); }
.prod-list li.classified .pk { color: var(--classified); letter-spacing: .06em; text-transform: uppercase; font-size: 11.5px; }   /* owner, 2026-10-27: name "Branchwright", the line under it "classified" in red */
footer { position: relative; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; padding: 30px 0 44px; font-size: 13.5px; color: var(--text-3); }
footer::before { content: ""; position: absolute; left: 0; right: 0; top: -3px; height: 6px; background: url("/brush-line.webp?v=02e8a65b") 0 0 / 100% 100% no-repeat; opacity: .5; transform: rotate(.25deg) scaleX(-1); pointer-events: none; }
footer a { display: inline-block; padding: 10px 0; margin: -10px 0; }

/* Home: pen lines run loosely down the whole page behind the text (a drawing the text sits on; still, no animation) */
main { position: relative; z-index: 0; }
.lines { position: absolute; top: 0; bottom: 0; left: 50%; width: min(100vw, 2000px); transform: translateX(-50%); z-index: -1; overflow: hidden; background: var(--lines, url("/lines.svg?v=afe32e0a")) 50% 0 / 2000px auto no-repeat; pointer-events: none; }  /* wider than the column, so the lines run off the window */
/* Home: the opening line */
.intro { padding: 92px 0 60px; max-width: 920px; }
h1 { font-size: clamp(44px, 7.6vw, 94px); font-weight: 500; line-height: 1.02; letter-spacing: -.045em; margin: 0 0 28px; }
.intro > p { max-width: 640px; margin: 0; font-size: 20px; line-height: 1.65; color: var(--text-2); }

/* Home: the timeline. The ruler names five stages; a product's bar is filled up to the stage it has reached (class stage-N). */
/* A hairline brush stroke instead of a plain rule, leaning a little off level (the logo is asymmetric and angular as well). */
.timeline { position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: -3px; height: 6px; background: url("/brush-line.webp?v=02e8a65b") 0 0 / 100% 100% no-repeat; opacity: .6; transform: rotate(-.3deg); transform-origin: left center; pointer-events: none; }
/* The lane is four stage columns and, after them, a fifth of the same width: "improvements", a point no product ever reaches (--tail). */
.timeline { --tail: 20%; }
.ruler { display: grid; grid-template-columns: repeat(4, 1fr) var(--tail); margin: 0 0 0 calc(var(--head) + var(--gap)); padding: 0 0 14px; list-style: none; }
.ruler li { text-align: center; font-size: 12.5px; line-height: 1.3; color: var(--text-3); }
.ruler .grow-label a { color: var(--grow-text); text-decoration: none; }
.ruler .grow-label a:hover { color: var(--accent); text-decoration: underline; }
.layers { list-style: none; margin: 0; padding: 0; }
.layer { display: grid; grid-template-columns: var(--head) 1fr; column-gap: var(--gap); padding: 32px 0 38px; border-bottom: 1px solid var(--line); }
.layer h3 { margin: 0 0 6px; font-size: 29px; font-weight: 560; letter-spacing: -.03em; line-height: 1.15; }
.kind { margin: 0 0 18px; font-size: 14px; color: var(--text-3); }
.lane { position: relative; }
/* Minimal: a hairline from the first stage to the last, four nodes on it, solid up to the stage a product has reached (--s stages
   done), dashed after it. Past the last stage it goes on to a fifth point that is never filled: a stroke, a few dashes, a stroke
   (there is always something to improve); in a quieter accent once the product is released, grey before. */
.track { --u: calc((100% - var(--tail)) / 4); position: relative; height: 22px; margin-top: 4px; }
.stage-1 { --s: 0; } .stage-2 { --s: 1; } .stage-3 { --s: 2; } .stage-4 { --s: 3; }
.bar, .bar-next, .grow { position: absolute; top: 11px; height: 0; }
.bar { left: calc(var(--u) * .5); width: calc(var(--u) * var(--s)); border-top: 1.5px solid var(--accent); }
.bar-next { left: calc(var(--u) * (.5 + var(--s))); width: calc(var(--u) * (3 - var(--s))); border-top: 1px dashed var(--tick); }
.stage-4 .bar-next { display: none; }
.layer { --way: #4a4a4a; } .stage-4 { --way: var(--grow); }
.grow { left: calc(var(--u) * 3.5 + 12px); width: calc(var(--u) - 24px); top: 11px; height: 1px;   /* stroke, gap, 3 dashes with equal gaps, stroke */
  background: linear-gradient(90deg, var(--way) 0 28%, transparent 28% 34.29%, var(--way) 34.29% 40.57%, transparent 40.57% 46.86%,
    var(--way) 46.86% 53.14%, transparent 53.14% 59.43%, var(--way) 59.43% 65.71%, transparent 65.71% 72%, var(--way) 72% 100%); }
.dots { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(4, 1fr) var(--tail); }
.dots i { place-self: center; width: 9px; height: 9px; border: 1px solid #5a5a5a; border-radius: 50%; background: var(--canvas); }
.stage-1 .dots i:nth-child(-n+1), .stage-2 .dots i:nth-child(-n+2), .stage-3 .dots i:nth-child(-n+3), .stage-4 .dots i:nth-child(-n+4) { border-color: var(--accent); background: var(--accent); }
.dots .beyond { width: 11px; height: 11px; border: 1.5px dotted #6a6a6a; background: var(--canvas); }
.stage-4 .dots .beyond { border-color: var(--grow-text); }
.stage-1 .dots i:nth-child(1), .stage-2 .dots i:nth-child(2), .stage-3 .dots i:nth-child(3), .stage-4 .dots i:nth-child(4) { width: 15px; height: 15px; background: var(--canvas); box-shadow: inset 0 0 0 3px var(--canvas), inset 0 0 0 9px var(--accent); }
/* The status reads like the line under a title on an install screen: a small ring and the state. The ring is solid with a filled centre
   once the product has a working version (beta or release) and dashed while it is still being made. */
.status { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 14px; font-weight: 520; line-height: 1.3; }
.status::before { content: ""; flex: none; width: 13px; height: 13px; border: 1.5px solid currentColor; border-radius: 50%; }
.stage-1 .status::before, .stage-2 .status::before { border-style: dashed; }
.stage-3 .status::before, .stage-4 .status::before { background: radial-gradient(circle, currentColor 0 2.1px, transparent 2.6px); }
.stage-1 .status, .stage-2 .status { color: var(--text-2); }
.stage-3 .status, .stage-4 .status { color: var(--accent); }
.text { max-width: 580px; margin: 0 0 16px; font-size: 16.5px; line-height: 1.65; color: var(--text-2); }
/* A product's block on the timeline (owner, 2026-10-26): the product's logo and two-line name as a lockup, the whole lockup is the link to the
   product. The mark keeps the logo's own proportions; a product without a logo shows its name alone. Each block takes its product's colour
   (SuperPower Normals lavender, SuperPower FX green, SuperPower Studio cyan, SuperPower MCP pink; the others keep the orange until they have one). */
h3.plogo { display: block; margin: 0; font-size: clamp(30px, 3.6vw, 44px); font-weight: 700; line-height: 1.05; letter-spacing: 0; }
h3.plogo a.plink, h3.plogo span.plink { display: flex; align-items: center; gap: .6em; color: inherit; text-decoration: none; }
h3.plogo a.plink:hover .p2, h3.plogo a.plink:hover .s2m { text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
h3.plogo a.plink:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; border-radius: 6px; }
h3.plogo .pmark { flex: none; width: 2.1em; height: 2.1em; object-fit: contain; }
h3.plogo .pname { display: grid; min-width: 0; }
h3.plogo .p1 { white-space: nowrap; font-weight: 600; letter-spacing: .005em; color: var(--text); }
h3.plogo .p2 { color: var(--accent); letter-spacing: .005em; }
h3.plogo .s2m { font-size: 1.05em; letter-spacing: .01em; }
h3.plogo .s2m b { color: var(--accent); font-weight: 700; }
.layer.is-normals { --accent: #8f8fff; }
.layer.is-spfx { --accent: #92f390; }
.layer.is-studio { --accent: #5ccfe6; }
.layer.is-mcp { --accent: #ff6ec7; }
/* The progress line (bar, dashed rest, nodes) stays the Pro-Motion orange in every block (owner, 2026-10-26: "give these back the orange"). */
.layer .lane { --accent: #ff7a00; }
.layer .text { margin-top: 18px; }
.hint { margin: 18px 0 0; font-size: 13px; color: var(--text-3); }
.hint a { color: var(--grow-text); }
.hint a:hover { color: var(--accent); }

/* Roadmap: each product a row like a layer of the timeline; its plans in three groups whose rings say how near they are: a filled
   ring (now, as a product's status once it works), a dashed one (next), a dotted one in the "room to grow" colour (later). */
.road-intro { max-width: none; padding: 96px 0 72px; }
.eyebrow-mono { margin: 0 0 28px; font: 500 12px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.road-intro .statement { max-width: 860px; margin: 0 0 28px; font-size: clamp(26px, 3.6vw, 40px); line-height: 1.25; letter-spacing: -.02em; font-weight: 500; color: var(--text); }
.road-intro .statement .dim, .road .lede .dim { color: var(--text-3); }
.road-intro .statement-sub + .statement-sub { margin-top: 14px; }
.road-intro .statement-sub { max-width: 640px; margin: 0; font-size: 17px; line-height: 1.65; color: var(--text-2); }
.roads { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.road { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: 56px; min-height: 460px; padding: 56px 0 64px; border-bottom: 1px solid var(--line); }
/* the row's drawing (owner, 2026-11-01): behind the row, from its left edge, fading out to the right under the text; decorative */
.road-bg { position: absolute; z-index: -1; left: -4%; top: 0; width: 82%; height: 100%; object-fit: cover; object-position: left center; opacity: .2; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, #000 0, #000 34%, rgba(0, 0, 0, .35) 70%, transparent 100%); mask-image: linear-gradient(90deg, #000 0, #000 34%, rgba(0, 0, 0, .35) 70%, transparent 100%); }
.road-head { position: sticky; top: 24px; align-self: start; }
.road-head .idx { display: block; margin-bottom: 14px; font: 500 12px/1 var(--mono); letter-spacing: .12em; color: var(--accent); }
.road h2 { margin: 0; font-size: 24px; font-weight: 560; letter-spacing: -.03em; line-height: 1.15; }
.road .lede { max-width: 860px; margin: 0 0 28px; font-size: clamp(19px, 2vw, 24px); line-height: 1.45; letter-spacing: -.012em; font-weight: 480; color: var(--text); }
.road .detail { max-width: 860px; margin: 0 0 32px; font-size: 15.5px; line-height: 1.7; color: var(--text-2); }
.road .avail { margin: 0 0 28px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 8px; font-size: 15px; line-height: 1.55; color: var(--text-2); }
.road .avail b { display: block; margin-bottom: 4px; font: 500 11px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.road-body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.road-body.one { grid-template-columns: 1fr; }
.road-group { padding: 22px 22px 18px; background: var(--card); border-radius: 10px; }
.road-group h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font: 500 11px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); }
.road-group h3::before { content: ""; flex: none; width: 13px; height: 13px; border: 1.5px solid currentColor; border-radius: 50%; }
.road-group.now h3 { color: var(--accent); }
.road-group.now h3::before { background: radial-gradient(circle, currentColor 0 2.1px, transparent 2.6px); }
.road-group.next h3::before { border-style: dashed; }
.road-group ul { margin: 0; padding: 0; list-style: none; }
.road-group li { padding: 9px 0; border-top: 1px solid var(--line); font-size: 15.5px; line-height: 1.5; color: var(--text-2); }
.road-group li:first-child { border-top: 0; padding-top: 0; }

/* Roadmap: where to send a wish (each product's own site) */
.wish-index { display: grid; grid-template-columns: var(--head) minmax(0, 620px); column-gap: var(--gap); padding: 56px 0 76px; border-top: 1px solid var(--line); }
.wish-index h2 { margin-top: 2px; }
.wish-text p { margin: 0; font-size: 16px; line-height: 1.7; color: var(--text-2); }
.wish-text p + p { margin-top: 12px; }
.wish-links { list-style: none; margin: 0; padding: 0; }
.wish-links li { padding: 10px 0; border-top: 1px solid var(--line); font-size: 17px; }
.wish-links li:first-child { border-top: 0; padding-top: 0; }

/* The account service's pages for administrators: the notice on the account page and the list of ideas (src/app.mjs) */
.notice { margin: 0 0 24px; padding: 14px 16px; border: 1px solid var(--accent); border-radius: 7px; }
.notice p { margin: 0 0 4px; color: var(--text) !important; font-weight: 560; }
.idea-filter { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 14px 0; font-size: 14px; }
.idea-filter a { color: var(--text-2); text-decoration: none; }
.idea-filter a span { color: var(--text-3); }
.idea-filter a[aria-current] { color: var(--accent); text-decoration: underline; }
.ideas-admin { margin: 24px 0 0; padding: 0; list-style: none; }
.idea { padding: 18px 0; border-top: 1px solid var(--line); }
.idea.new { border-left: 2px solid var(--accent); padding-left: 14px; }
.prose .idea-meta { margin: 0 0 8px; font-size: 13.5px; color: var(--text-3); }
.idea-state { color: var(--text-2); font-weight: 560; }
.idea.new .idea-state { color: var(--accent); }
.prose .idea-text { margin: 0 0 12px; color: var(--text); white-space: normal; }
.idea form { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.idea button { padding: 6px 12px; border: 1px solid #444; border-radius: 6px; background: transparent; color: var(--text-2); font: inherit; font-size: 13.5px; cursor: pointer; }
.idea button:hover { border-color: var(--accent); color: var(--text); }

h2 { font-size: 28px; font-weight: 540; letter-spacing: -.035em; line-height: 1.2; margin: 0 0 14px; }
.button { display: inline-block; margin: 16px 0; padding: 11px 22px 11px 18px; border: 1px solid var(--accent); border-radius: 7px 0 7px 7px; clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%); background: var(--accent); color: var(--accent-ink); font: inherit; font-size: 15px; font-weight: 600; line-height: 1.4; text-decoration: none; cursor: pointer; }
.button:hover { color: var(--accent-ink); background: #fff; border-color: #fff; }

/* Text pages (privacy notice, and the account service's pages) */
.prose { max-width: 780px; padding: 64px 0 76px; }
.prose h1 { font-size: clamp(36px, 5vw, 58px); margin-bottom: 18px; }
.prose h2 { font-size: 22px; margin: 40px 0 10px; }
.prose p, .prose li { font-size: 16px; line-height: 1.8; color: var(--text-2); }
.prose li { margin: .5em 0; }
.prose code { padding: .1em .35em; border-radius: 4px; background: var(--card); font: .9em var(--mono); color: var(--text); }
.kicker, .eyebrow { margin: 0 0 14px; font-size: 14px; color: var(--accent); }
.date { margin: 0 0 24px; font-size: 13px !important; color: var(--text-3) !important; }

/* The account service's forms (sign-in, account page) */
.google-button { display: block; margin: 24px 0; padding: 0; border: 0; border-radius: 24px; background: transparent; line-height: 0; cursor: pointer; }
.google-button img { display: block; width: auto; height: 40px; }
.small { max-width: 580px; font-size: 14px !important; }
form { margin: 24px 0; }
label { display: block; margin: 14px 0 8px; color: var(--text-2); }
input[type=email], input[type=text], input[type=url], textarea { display: block; width: min(100%, 420px); padding: 12px; border: 1px solid #76877b; border-radius: 5px; background: #1b231e; color: var(--text); font: inherit; }
textarea { width: min(100%, 560px); resize: vertical; }
textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
[aria-invalid=true] { border-color: #b86559; }
input[type=file] { display: block; max-width: 100%; color: var(--text-2); font: inherit; font-size: 14px; }
/* The Profile section of the account page: the avatar is a circle, as products show it */
.profile { margin: 40px 0; padding-top: 4px; border-top: 1px solid var(--line); }
.profile form { margin: 16px 0; }
.avatar { margin: 18px 0 8px; }
.avatar img, .avatar-none { display: block; width: 96px; height: 96px; border-radius: 50%; object-fit: cover; background: var(--card); }
.avatar-none { display: grid; place-items: center; font-size: 13px; color: var(--text-3); }
.prose .field-error { margin: 6px 0 0; font-size: 14px; color: var(--danger); }
.danger { border-color: #b86559; background: transparent; color: var(--danger); }

/* The account service's pages in cards (owner, 2026-11-06: sign-in, account and administration in the site's look, fewer words).
   One button style for the service: .btn (outline), .btn-primary (the accent), .btn-danger; rows of a card in .rows. */
.btn { display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 8px 14px; border: 1px solid #444; border-radius: 7px; background: transparent; color: var(--text); font: inherit; font-size: 14px; font-weight: 520; line-height: 1.3; text-decoration: none; white-space: nowrap; cursor: pointer; }
.btn:hover { border-color: var(--accent); color: var(--text); }
.btn-primary { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { border-color: #fff; background: #fff; color: var(--accent-ink); }
.btn-danger, .btn.danger { border-color: #7a4a43; color: var(--danger); }
.btn-danger:hover, .btn.danger:hover { border-color: var(--danger); color: var(--danger); }
.acct { display: grid; gap: 16px; max-width: 780px; }
.card { margin: 0; padding: 22px 24px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); }
.prose .card h2 { margin: 0 0 6px; font-size: 18px; letter-spacing: -.01em; }
.prose .card p { font-size: 15px; line-height: 1.6; }
.prose .card-lead { margin: 0 0 16px; color: var(--text-3); }
.card form { margin: 0; }
.rows { margin: 10px 0 0; padding: 0; list-style: none; }
.prose .rows li { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0; padding: 12px 0; border-top: 1px solid var(--line); line-height: 1.4; }
.prose .rows li:first-child { border-top: 0; }
.row-name { display: flex; flex-direction: column; color: var(--text); font-weight: 520; }
.row-name small { font-size: 13px; font-weight: 400; color: var(--text-3); }
.who { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.who-pic { flex: none; width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: #2a2a2a; }
.who-text { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.4; }
.who-text span { font-size: 14px; color: var(--text-3); overflow-wrap: anywhere; }
.who-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.card.profile { margin: 0; padding-top: 22px; }
.profile-grid { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 28px; }
.profile-side { display: grid; gap: 10px; align-content: start; }
.profile-side .avatar { margin: 0 0 4px; }
.profile-side .btn { width: 100%; justify-content: center; white-space: normal; text-align: center; }
.prose .profile-side .small { margin: 0; font-size: 13px !important; line-height: 1.5; color: var(--text-3); }
.profile-form label:first-of-type { margin-top: 0; }
.profile-form input[type=text], .profile-form input[type=url], .profile-form textarea { width: 100%; background: var(--canvas); border-color: #444; }
.profile-form .btn-primary { margin-top: 16px; }
.danger-zone { border-color: #4a2f2b; }
.card .avatar-none { background: #2a2a2a; }
input[type=file]::file-selector-button { margin-right: 12px; padding: 7px 12px; border: 1px solid #444; border-radius: 7px; background: transparent; color: var(--text); font: inherit; font-size: 13.5px; cursor: pointer; }
input[type=file]::file-selector-button:hover { border-color: var(--accent); }
.danger-zone form input[type=email] { margin-bottom: 12px; background: var(--canvas); border-color: #444; }
.notice { background: transparent; }
/* Sign-in: one card, one button */
.auth-card { max-width: 440px; padding: 26px 28px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.prose .auth-card p { margin: 0; font-size: 15px; line-height: 1.6; }
.auth-card .google-button { margin: 20px 0; }
.prose .auth-legal { max-width: 440px; margin: 14px 0 0; font-size: 13px; color: var(--text-3); }
/* the admin pages keep their width whether or not they scroll (owner, 2026-11-23: "the page jumps when switching"); only there, where no decoration spans the window */
html:has(.admin-layout) { scrollbar-gutter: stable; }
/* Administration: one template for every admin page of the portal and of the SuperPower FX website (owner, 2026-11-23), in the frame _frame-admin:
   the menu on the left, then the column with the heading, the sub-tabs of joined pages and the page; a bar of filters, plain tables */
.admin-page { display: block; padding: 40px 0 72px; }
.admin-main > * + * { margin-top: 20px; }
.admin-main .page-head h1 { margin: 0 0 6px; color: var(--text); font-size: clamp(30px, 3.4vw, 42px); font-weight: 650; line-height: 1.1; letter-spacing: -.02em; }
.admin-main .page-head p { max-width: 64ch; margin: 0; color: var(--text-2); font-size: 15px; line-height: 1.6; }
.admin-prose { max-width: none; padding: 0; }
.admin-prose > :first-child { margin-top: 0; }
.admin-nav { display: flex; flex-wrap: wrap; gap: 4px 22px; max-width: 100%; border-bottom: 1px solid var(--line); }
.admin-nav a { display: inline-flex; align-items: center; gap: 7px; margin-bottom: -1px; padding: 10px 0; border-bottom: 2px solid transparent; color: var(--text-2); font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.admin-nav a:hover { color: var(--text); }
.admin-nav a[aria-current] { border-bottom-color: var(--accent); color: var(--text); }
.admin-nav .count { padding: 1px 8px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 600; }
@media (max-width: 832px) { .admin-side { max-width: none; } .admin-nav { flex-wrap: nowrap; overflow-x: auto; } }
.admin-layout { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 24px 40px; }
.admin-side { flex: 1 1 200px; max-width: 240px; display: flex; flex-direction: column; gap: 2px; font-size: 15px; }
.prose .admin-side .admin-group { margin: 18px 12px 6px; color: var(--text-3); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.prose .admin-side .admin-group:first-child { margin-top: 0; }
.admin-side a { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 40px; padding: 0 12px; border-radius: 8px; color: var(--text-2); text-decoration: none; }
.admin-side a:hover { background: var(--card); color: var(--text); }
.admin-side a[aria-current] { background: #282828; color: var(--text); font-weight: 600; }
.admin-main { flex: 999 1 560px; min-width: 0; }
.prose form button:not(.google-button):not(.btn) { padding: 6px 12px; border: 1px solid #444; border-radius: 6px; background: transparent; color: var(--text-2); font: inherit; font-size: 13.5px; cursor: pointer; }
.prose form button:not(.google-button):not(.btn):hover { border-color: var(--accent); color: var(--text); }
.prose form button.danger:not(.btn) { border-color: #7a4a43; color: var(--danger); }
.pill { padding: 1px 8px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 600; }
.admin-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin: 0 0 18px; }
.admin-bar form, .admin-bar .idea-filter { margin: 0; }
.search { display: flex; gap: 8px; }
input[type=search], input[type=number] { padding: 8px 12px; border: 1px solid #444; border-radius: 7px; background: var(--canvas); color: var(--text); font: inherit; font-size: 14px; }
input[type=number] { width: 110px; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-table th { padding: 8px 10px; border-bottom: 1px solid var(--line); color: var(--text-3); font-weight: 500; text-align: left; }
.admin-table td { padding: 10px; border-bottom: 1px solid var(--line); color: var(--text-2); vertical-align: middle; }
.admin-table td form { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; }
.prose:has(.admin-layout), .prose:has(.admin-table) { max-width: 1320px; }
@media (max-width: 640px) {
  .profile-grid { grid-template-columns: minmax(0, 1fr); }
  .card { padding: 18px; }
  .admin-table { display: block; overflow-x: auto; }
}
.danger:hover { background: #4c2823; border-color: #b86559; color: #ffe1dc; }

/* One orchestrated moment: the solid bars are drawn in from the left. */
@media (prefers-reduced-motion: no-preference) {
  .bar { animation: uncover 1.1s cubic-bezier(.2, .75, .15, 1) both; }
}
@keyframes uncover { from { clip-path: inset(-3px 100% -3px 0); } to { clip-path: inset(-3px 0 -3px 0); } }

@media (max-width: 1000px) {
  :root { --head: 300px; --gap: 32px; }
  .road-body { grid-template-columns: 1fr; }
}
@media (max-width: 780px) {
  :root { --head: 0px; --gap: 0px; }
  :root { --tagw: 25px; --tagl: 145.3125px; }   /* 279 / 48 x 25 px */
  .wrap { margin: 0 18px 0 calc(var(--tagw) + 12px); }
  header { flex-wrap: wrap; gap: 14px 18px; padding: 22px 0; min-height: 0; }
  .brand { top: 22px; }
  nav.main { margin-left: 0; order: 3; width: 100%; gap: 18px; font-size: 14px; }
  nav.lang { margin-left: auto; }
  .lang-list.many { width: min(360px, 100vw - 36px); }
  .lines { background-image: var(--lines-narrow, url("/lines-narrow.svg?v=5a0aba15")); background-size: 1375px auto; background-position: -426px 0; opacity: .7; }   /* the same line, without the big drops of ink, which would land in the text */
  .intro { padding: 58px 0 42px; }
  .intro > p { font-size: 18px; }
  .layer { display: flex; flex-direction: column; align-items: flex-start; padding: 26px 0 30px; }
  .layer-head { display: contents; }
  .layer h3 { order: 1; }
  .kind { order: 2; margin-bottom: 14px; }
  .lane { order: 3; align-self: stretch; margin: 0 0 22px; }
  .status { order: 4; }
  .text { order: 5; }
  .ruler { display: none; }
  .road { display: block; min-height: 0; padding: 36px 0 40px; }
  .road-head { position: static; margin-bottom: 20px; }
  .road-bg { left: 0; width: 100%; opacity: .11; }
  .road-body { grid-template-columns: 1fr; }
  .road-intro { padding: 56px 0 44px; }
  .wish-index { display: block; padding: 40px 0 52px; }
  .wish-text { margin-bottom: 24px; }
  .layer h3 { font-size: 26px; }
  .prose { padding: 40px 0 52px; }
}

/* Product pages: the stage band at the top (owner, 2026-10-21: "at the top of every project page, our scale showing the project's
   progress"). The home page's timeline for one product: the status on the left, the hairline with its nodes on the right, every stage
   named under its node (also on phones, where the home page hides its ruler); the stage reached in the product's colour. */
.stage-band { --tail: 20%; --way: #4a4a4a; display: grid; grid-template-columns: 220px minmax(0, 1fr); column-gap: var(--gap); align-items: start; padding: 24px 0 20px; border-bottom: 1px solid var(--line); }
.stage-band.stage-4 { --way: var(--grow); }
.stage-band .status { margin: 3px 0 0; }
.stage-band.quiet { grid-template-columns: minmax(0, 1fr); }
.stage-band .track { margin-top: 0; }
.stage-names { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) var(--tail); margin: 8px 0 0; padding: 0; list-style: none; }
/* a stage's name stays whole (never broken inside a word on a phone): centred under its point, it may run past its column */
.stage-names li { display: flex; justify-content: center; min-width: 0; font-size: 12.5px; line-height: 1.3; white-space: nowrap; color: var(--text-3); }
.stage-1 .stage-names li:nth-child(1), .stage-2 .stage-names li:nth-child(2), .stage-3 .stage-names li:nth-child(3), .stage-4 .stage-names li:nth-child(4) { color: var(--accent); }
.stage-names .grow-label { color: var(--grow-text); }
.stage-band + .intro { padding-top: 56px; }
@media (max-width: 780px) {
  .stage-band { grid-template-columns: minmax(0, 1fr); row-gap: 16px; padding: 20px 0 16px; }
  .stage-names li { font-size: 11px; }
  .stage-band + .intro { padding-top: 40px; }
}
@media (max-width: 400px) { .stage-names li { font-size: 10px; } }   /* the five names apart on a 360 px phone */

/* The wish form of the stage band (owner, 2026-10-21): it opens from the "improvements" node, the last point of the line, which no
   product reaches: there is always something to improve. A hairline drops from that node and the card unfolds from it (a circle
   growing from the node; since 2026-10-22 it lies over the line itself); once clicked or typed in, it stays until sent or cancelled. The thank-you rises in the same card, the node
   sends out a ripple, and the card folds back into the node. Without motion (prefers-reduced-motion) it simply appears and goes. */
.stage-band .lane { position: relative; }
.has-wish .lane { cursor: default; }
.wish-spot { position: absolute; right: calc(var(--tail) / 2 - 22px); top: -11px; width: 44px; height: 44px; border-radius: 50%; padding: 0; border: 0; background: transparent; color: transparent; font-size: 0; cursor: pointer; }
.wish-spot:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.has-wish .dots .beyond { transition: border-color .3s, box-shadow .3s, transform .3s; }
.has-wish .lane:hover .dots .beyond, .wish-open .dots .beyond { border-style: solid; border-color: var(--accent); box-shadow: 0 0 0 3px var(--canvas), 0 0 8px 1px var(--accent); }
/* The robots' field and the thank-you after the way back: shared by every product page with the form (owner, 2026-10-24: shared code). */
.wish-hp { position: absolute; top: 0; left: 0; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
/* The thank-you after the way back (#wish-sent): fixed at the bottom right, so it is seen wherever the page stands; by CSS alone
   without the script (:target), opened and closed by wish.js with it ('closed' wins over :target, which may stay matched). */
.wish-sent { display: none; position: fixed; right: 24px; bottom: 24px; z-index: 20; width: min(380px, calc(100vw - 48px)); padding: 16px 20px; border: 1px solid var(--accent); border-radius: 8px 0 8px 8px; background: #1b1b2b; box-shadow: 0 12px 40px rgba(0, 0, 0, .5); }
.wish-sent:target:not(.closed), .wish-sent.open { display: block; }
.wish-sent p { margin: 0; }
.wish-sent b { display: block; font-weight: 560; color: var(--text); }
.wish-sent span { display: block; margin-top: 4px; font-size: 14px; color: var(--accent); }
@media (max-width: 780px) { .wish-sent { right: 18px; bottom: 18px; width: calc(100vw - 36px); } }
.wish-pop { position: absolute; left: var(--wl); right: var(--wr); top: var(--wt); height: var(--wh); z-index: 30; width: auto; padding: 0; border: 0; border-inline: 1px solid var(--accent); border-radius: 0; background: var(--wish-bg, #2a3346); box-shadow: 0 24px 60px rgba(0, 0, 0, .55); }
/* Owner, 2026-10-22 (his sketch): the line of the scale itself opens into the field. From half-way between "idea" and "development" to
   half-way between "release" and "improvements" it splits in two halves, one rising, one sinking (plain lines, no dots), and the field
   appears between them, its sides drawn as it opens (owner: "the field has no left and right outline"), filled with the slate blue of his sketch; it closes the same way, the halves meeting again on the line. The halves stop 8 px under the header's rule and
   8 px above the band's bottom line; a long wish scrolls inside. Geometry (shared by the field and the two halves): --wl/--wr the sides,
   --wt the top and --wh the height (from the line's top), --wy where the line runs inside the field. */
.has-wish .lane { --wl: 20%; --wr: 20%; --wt: -40px; --wh: 98px; --wy: 51px; }
.wish-lips { position: absolute; left: var(--wl); right: var(--wr); top: var(--wt); height: var(--wh); z-index: 31; display: none; pointer-events: none; }
.wish-pop:not([hidden]) + .wish-lips { display: block; }
.wish-lips i { position: absolute; left: 0; right: 0; height: 1px; background: var(--accent); box-shadow: 0 0 8px color-mix(in srgb, var(--accent) 60%, transparent); }
.wish-lips i:first-child { top: 0; }
.wish-lips i:last-child { bottom: 0; }
.wish-pop form, .wish-field { height: 100%; }
.wish-pop form { margin: 0; }
/* Owner, 2026-10-21: the whole element is just the field: a grey hint inside it that goes when you click or type, a small round send button in its
   lower right corner, and a click outside closes it. */
.wish-field { position: relative; }
.wish-pop textarea { display: block; width: 100%; height: 100%; min-height: 0; padding: 12px 52px 12px 18px; border: 0; border-radius: 8px; background: transparent; color: var(--text); font: inherit; font-size: 14px; line-height: 1.5; resize: none; }
.wish-pop textarea::placeholder { color: #a7adbf; opacity: 1; transition: color .15s; }
.wish-pop textarea:focus::placeholder { color: transparent; }
.wish-pop textarea:focus-visible { outline: none; }
/* a long wish (owner, 2026-10-22: the scroll bar spoiled the field): it scrolls inside the box without a visible bar (wheel, keys and
   touch still scroll it) */
.wish-pop textarea { overflow-y: auto; scrollbar-width: none; }
.wish-pop textarea::-webkit-scrollbar { display: none; }
.wish-send { position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; background: var(--accent); color: var(--accent-ink); cursor: pointer; transition: transform .15s, background .15s; }
.wish-send:hover, .wish-send:focus-visible { background: var(--accent-2); transform: scale(1.08); }
.wish-send:active { transform: scale(.94); }
.wish-send svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wish-pop-thanks { display: none; margin: 0; padding: 12px 14px; }
.wish-pop-thanks b { display: block; font-size: 15px; font-weight: 600; letter-spacing: -.01em; color: var(--text); }
.wish-pop-thanks span { display: block; margin-top: 4px; font-size: 12.5px; color: var(--accent); }
.wish-pop.is-thanks form { display: none; }
.wish-pop.is-thanks .wish-pop-thanks { display: block; }
@media (prefers-reduced-motion: no-preference) {
  .wish-pop.is-open { animation: wish-unfold .5s cubic-bezier(.2, .8, .2, 1) both; }
  .wish-pop.is-open + .wish-lips i:first-child { animation: wish-rise-half .5s cubic-bezier(.2, .8, .2, 1) both; }
  .wish-pop.is-open + .wish-lips i:last-child { animation: wish-sink-half .5s cubic-bezier(.2, .8, .2, 1) both; }
  .wish-pop.is-closing + .wish-lips i:first-child { animation: wish-rise-half-back .38s cubic-bezier(.6, 0, .8, .2) both; }
  .wish-pop.is-closing + .wish-lips i:last-child { animation: wish-sink-half-back .38s cubic-bezier(.6, 0, .8, .2) both; }
  .wish-pop.is-open form > * { animation: wish-rise .5s cubic-bezier(.2, .8, .2, 1) both; }
  .wish-pop.is-closing { animation: wish-fold .38s cubic-bezier(.6, 0, .8, .2) both; }
  .wish-pop.is-thanks .wish-pop-thanks b { animation: wish-rise .6s cubic-bezier(.2, .8, .2, 1) both; }
  .wish-pop.is-thanks .wish-pop-thanks span { animation: wish-rise .6s .14s cubic-bezier(.2, .8, .2, 1) both; }
  .stage-band.thanked .dots .beyond { animation: wish-ripple 1.4s ease-out 2; }
}
@keyframes wish-unfold { from { clip-path: inset(var(--wy) 0 calc(var(--wh) - var(--wy) - 1px) 0); } to { clip-path: inset(0); } }
@keyframes wish-rise-half { from { transform: translateY(var(--wy)); } to { transform: none; } }
@keyframes wish-sink-half { from { transform: translateY(calc(var(--wy) - var(--wh) + 1px)); } to { transform: none; } }
/* closing: separate keyframes (the same name played in reverse would not restart, it would jump to its start) */
@keyframes wish-fold { from { clip-path: inset(0); } to { clip-path: inset(var(--wy) 0 calc(var(--wh) - var(--wy) - 1px) 0); } }
@keyframes wish-rise-half-back { from { transform: none; } to { transform: translateY(var(--wy)); } }
@keyframes wish-sink-half-back { from { transform: none; } to { transform: translateY(calc(var(--wy) - var(--wh) + 1px)); } }
@keyframes wish-rise { from { opacity: 0; transform: translateY(10px); filter: blur(3px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes wish-ripple { 0% { box-shadow: 0 0 0 4px var(--canvas), 0 0 0 4px var(--accent); } 100% { box-shadow: 0 0 0 4px var(--canvas), 0 0 0 26px transparent; } }
@media (min-width: 781px) and (max-width: 1100px) {
  .has-wish .lane { --wt: -17px; --wh: 75px; --wy: 28px; }
}
@media (max-width: 780px) {
  .has-wish .lane { --wt: -13px; --wh: 87px; --wy: 24px; }
}

/* SuperPower FX page (spfx.pro-motion.dev): the same canvas and accent; one sample element, drawn as hairlines like the timeline. */
.intro > p.facts { margin: 22px 0 0; font-size: 15px; color: var(--text-3); }
.intro > p.small { margin-top: 14px; font-size: 14px; }
.intro .button { margin-top: 26px; }
.sample { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; padding: 56px 0; border-top: 1px solid var(--line); }
.code { margin: 0; padding: 0 0 0 22px; border-left: 1px solid var(--line); font: 14px/1.85 var(--mono); color: var(--text-2); overflow-x: auto; }
.element { display: grid; grid-template-columns: 150px 1fr; gap: 12px 36px; align-items: center; }
.shape { width: 150px; height: 150px; }
.shape polygon { fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linejoin: round; }
.ctls { display: grid; gap: 22px; }
.ctl { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; font-size: 14px; color: var(--text-2); }
.ctl b { font-weight: 560; color: var(--accent); font-family: var(--mono); font-size: 13px; }
.ctl-line { grid-column: 1 / -1; position: relative; height: 11px; border-top: 0; background: linear-gradient(var(--tick), var(--tick)) 0 5px / 100% 1px no-repeat; }
.ctl-line u { position: absolute; left: 0; top: 4px; height: 0; border-top: 1.5px solid var(--accent); text-decoration: none; }
.ctl-line u::after { content: ""; position: absolute; right: -5px; top: -6px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.ctl-line .f75 { width: 75%; } .ctl-line .f33 { width: 33%; }
.element .small { grid-column: 1 / -1; margin: 6px 0 0; color: var(--text-3); }
.how { padding: 56px 0 76px; border-top: 1px solid var(--line); }
.steps { counter-reset: step; list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 32px; }
.steps li { position: relative; padding-top: 24px; border-top: 1px solid var(--tick); counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; top: -9px; left: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--canvas); border: 1px solid var(--accent); color: var(--accent); font: 11px/16px var(--mono); text-align: center; }
.steps h3 { margin: 0 0 8px; font-size: 18px; font-weight: 560; letter-spacing: -.02em; }
.steps p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--text-2); }
@media (max-width: 1000px) {
  .sample { grid-template-columns: 1fr; gap: 36px; padding: 40px 0; }
  .steps { grid-template-columns: 1fr 1fr; gap: 36px 28px; }
}
@media (max-width: 560px) {
  .element { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
}

/* "Where it works" of a product page (owner, 2026-11-24: the SuperPower Studio and SuperPower MCP pages made by analogy with SuperPower FX's;
   first on the SuperPower FX page): a heading, then one column per item, each under a glowing line in its colour (--h1, --h2, --h4 where
   the host's stylesheet sets them, the product's accent otherwise), its name, its status in the colour and a short text. Markup:
   productHosts() in site/pages.mjs. */
.fx-hosts { position: relative; padding: 56px 0 8px; }
.fx-hosts h2 { margin: 0 0 28px; font-size: clamp(26px, 3vw, 36px); line-height: 1.12; letter-spacing: -.03em; background: linear-gradient(90deg, #fff 30%, var(--h1, var(--accent))); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fx-hosts ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin: 0; padding: 0; list-style: none; }
.fx-hosts.two ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fx-hosts li { --c: var(--h1, var(--accent)); position: relative; isolation: isolate; padding-top: 28px; }
.fx-hosts li:nth-child(2) { --c: var(--h2, var(--accent)); }
.fx-hosts li:nth-child(3) { --c: var(--h4, var(--accent)); }
.fx-hosts li::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--c) 9%, color-mix(in srgb, var(--c) 10%, transparent) 92%); filter: drop-shadow(0 0 7px color-mix(in srgb, var(--c) 65%, transparent)); }
.fx-hosts h3 { margin: 0 0 6px; font-size: 18px; font-weight: 560; letter-spacing: -.02em; color: #fff; }
.fx-hosts p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--text-2); }
.fx-hosts p a { color: var(--accent); }
.fx-hosts p a:hover { color: var(--accent-2, var(--text)); }
.fx-hosts .fx-status { margin-bottom: 10px; font: 500 12.5px/1 var(--mono); color: var(--c); }
@media (max-width: 780px) { .fx-hosts ul, .fx-hosts.two ul { grid-template-columns: minmax(0, 1fr); } }

/* ---------------------------------------------------------------------------------------------------------------------------
   Header K01 "shared support" (owner 2026-10-20; the approved mock-up is design-brief-top-left/concepts/header-bottom-aligned).
   Pages of pro-motion.dev only (body.pm); the product sites and the account service keep the header above. :where() keeps
   every selector as specific as the rule it refines, so the order below decides, as in the mock-up.
   Wide screens: a 128 px drawing at the start of the column, its box from 14 px down to 142 px, crossing the rule at 88 px. The
   title block, the menu and the language button are centred on one axis, half-way between the top of the drawing's box and the
   rule (51 px), whatever their own height. 781 to 1100 px: a 72 px drawing, the menu in a row of its own; up to 780 px: 56 px.
   --------------------------------------------------------------------------------------------------------------------------- */
:where(.pm) { --text-3: #a3a3a3; --grow-text: #c98d67; min-height: 320px; }
:where(.pm) .wrap { --left: max(24px, calc((100vw - 1120px) / 2)); --right: max(24px, calc((100vw - 1120px) / 2)); }
:where(.pm) .skip { position: absolute; left: 48px; top: -100px; z-index: 100; padding: 10px 16px; border: 1px solid var(--accent); background: var(--canvas); color: var(--text); }
:where(.pm) .skip:focus { top: 8px; }
:where(.pm) a:focus-visible, :where(.pm) summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
:where(.pm) header { --band-top: 14px; --rule-y: 88px; --band-center: calc((var(--band-top) + var(--rule-y)) / 2); --line-start: 140px;
  position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 28px; height: 112px; min-height: 112px;
  padding: 24px 0; border-bottom: 0; overflow: visible; }
:where(.pm) header > * { min-width: 0; }
/* the rule starts just after the drawing; its last 60 px are orange */
:where(.pm) header::before { content: ""; position: absolute; left: var(--line-start); right: 0; top: var(--rule-y); border-top: 1px solid #363636; pointer-events: none; }
:where(.pm) header::after { content: ""; position: absolute; right: 0; top: var(--rule-y); width: 60px; border-top: 1px solid var(--accent); pointer-events: none; }
:where(.pm) .caption { --art-size: 128px; --art-top: -10px; --copy-x: 144px; --copy-y: calc(var(--band-center) - 24px);
  position: relative; display: block; flex: 1; height: 64px; min-width: 0; margin: 0; overflow-wrap: anywhere; font-size: 15px; line-height: 1.35; color: var(--text); }
:where(.pm) .left-art { position: absolute; left: 0; top: var(--art-top); z-index: 1; width: var(--art-size); height: var(--art-size); }
:where(.pm) .left-art img { display: block; width: 100%; height: 100%; }
:where(.pm) .caption-copy { position: absolute; left: var(--copy-x); top: var(--copy-y); z-index: 2; display: block; width: max-content; max-width: calc(100% - var(--copy-x) - 8px); transform: translateY(-50%); }
:where(.pm) .caption-title { display: block; font-size: 18px; font-weight: 500; line-height: 1.3; letter-spacing: -.015em; }
:where(.pm) .caption-copy small { display: block; margin-top: 5px; font: 400 8px/1.5 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #a3a3a3; }
:where(.pm) nav.main { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; width: auto; margin: 0; font-size: 14px; color: var(--text-2); order: 0;
  align-self: flex-start; margin-top: calc(var(--band-center) - 24px); transform: translateY(-50%); }
:where(.pm) nav.main a { position: relative; display: flex; align-items: center; min-height: 44px; margin: 0; padding: 8px 0; text-decoration: none; overflow-wrap: anywhere; }
:where(.pm) nav.main a[aria-current] { color: var(--text); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 7px; text-decoration-thickness: 1px; }
:where(.pm) .utilities { display: flex; align-items: center; flex: none; gap: 0; min-width: 0; align-self: flex-start; margin-top: calc(var(--band-center) - 24px); transform: translateY(-50%); }
:where(.pm) nav.lang { position: relative; flex: none; margin: 0; order: 0; }
:where(.pm) nav.lang summary { min-height: 44px; padding: 10px 11px; gap: 7px; }
:where(.pm) .lang-list { right: 0; max-width: calc(100vw - 55px); max-height: min(70vh, 560px); overflow-y: auto; clip-path: none; }
:where(.pm) .lang-list.many { width: 360px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
:where(.pm) .lang-list a { min-height: 44px; overflow-wrap: anywhere; }
:where(.pm) .lang-list .code { flex: none; }
:where(.pm) .lang-list a:focus-visible { outline-offset: -2px; }
/* the page under the header (as in the mock-up) */
:where(.pm) .intro { padding-top: 68px; }
:where(.pm) .intro, :where(.pm) .layer-head { min-width: 0; }
:where(.pm) .intro h1, :where(.pm) .layer h3, :where(.pm) .prose h1, :where(.pm) .prose h2 { overflow-wrap: anywhere; }
:where(.pm) .ruler li { padding-top: 8px; }
:where(.pm) .button { clip-path: none; }
:where(.pm) .lines { max-width: 100vw; left: calc(50% - (var(--left) - var(--right)) / 2); }   /* centred on the window, not on the column that clears the tag */
@media (max-width: 1232px) { :where(.pm) .wrap { --left: calc(var(--tagw) + 14px); --right: 24px; } }
@media (min-width: 781px) and (max-width: 1100px) {
  :where(.pm) header { flex-wrap: wrap; height: auto; min-height: 0; padding: 20px 0; gap: 14px 24px; --line-start: 0px; }
  :where(.pm) header::before, :where(.pm) header::after { top: auto; bottom: 0; }
  :where(.pm) .caption { --art-size: 72px; --art-top: -4px; --copy-x: 88px; --copy-y: 0px; }
  :where(.pm) .caption-copy { transform: none; }
  :where(.pm) nav.main { order: 3; flex-basis: 100%; width: 100%; margin: 0; transform: none; }
  :where(.pm) .utilities { margin-left: auto; margin-top: 0; transform: none; }
}
@media (max-width: 780px) {
  :where(.pm) { min-height: 460px; }
  :where(.pm) .wrap { --left: calc(var(--tagw) + 12px); --right: 18px; }
  :where(.pm) header { flex-wrap: wrap; height: auto; min-height: 0; padding: 18px 0; gap: 12px; --line-start: 0px; }
  :where(.pm) header::before, :where(.pm) header::after { top: auto; bottom: 0; }
  :where(.pm) header::after { width: 40px; }
  :where(.pm) .caption { --art-size: 56px; --art-top: 4px; --copy-x: 72px; --copy-y: 8px; font-size: 12px; }
  :where(.pm) .caption-copy { max-width: calc(100% - 74px); transform: none; }
  :where(.pm) .caption-title { font-size: 13px; }
  :where(.pm) .caption-copy small { letter-spacing: .02em; }
  :where(.pm) nav.main { order: 3; flex-basis: 100%; width: 100%; margin: 0; gap: 4px 18px; font-size: 14px; transform: none; }
  :where(.pm) .utilities { margin-left: auto; margin-top: 0; transform: none; }
  :where(.pm) nav.lang { order: 2; margin-left: auto; }
  :where(.pm) nav.lang summary { padding: 10px 9px; gap: 6px; }
  :where(.pm) .lang-list.many { max-width: calc(100vw - 55px); }
  :where(.pm) .intro { padding: 46px 0 42px; }
  :where(.pm) h1 { font-size: clamp(40px, 10.5vw, 64px); line-height: 1.05; }
  :where(.pm) .prose h1 { font-size: clamp(28px, 8vw, 34px); }
}
.wish-pop:focus-within + .wish-lips i { height: 2px; }   /* typing: the outline a little stronger */
.wish-pop:focus-within { border-inline-width: 2px; }

/* The animated embroidery corner (owner, 2026-10-22): a cross-stitch pattern in the top right corner of every page that changes every
   10 seconds (site/static/corner-anim.js, the owner's engine, unchanged; it draws into one canvas and pauses when the tab is hidden or
   the corner is off screen). Background graphics: at rest only a little lighter than the page, new stitches flash brighter. */
body { isolation: isolate; }   /* the page's background is on body (and html): the corner below everything must stay above it */
.pm-corner { position: absolute; top: 0; right: 0; z-index: -1; pointer-events: none; opacity: .11; }

/* Narrower windows (owner, 2026-10-22): the menu stays in the top row as long as it fits (it wraps by itself only when it does not), and
   the language button leaves the row for the left margin, right under the orange name tag, as a narrow tab of the tag's width. */
@media (max-width: 1100px) {
  :where(.pm) header { flex-wrap: wrap; }
  :where(.pm) nav.main { order: 0; flex-basis: auto; width: auto; margin-left: auto; }
  :where(.pm) .utilities { position: absolute; left: calc(-1 * var(--left)); top: calc(var(--tag-top, 26px) + var(--tagl) + 18px); z-index: 4; margin: 0; transform: none; }
  :where(.pm) nav.lang { order: 0; margin: 0; }
  :where(.pm) nav.lang summary { flex-direction: column; justify-content: center; gap: 6px; box-sizing: border-box; width: var(--tagw); min-height: 0; padding: 8px 0 9px; border-left: 0; border-radius: 0 7px 7px 0; font-size: 10.5px; }
  :where(.pm) nav.lang summary::after { margin: 0; }
  :where(.pm) nav.lang details[open] summary::after { margin: 3px 0 0; }
  :where(.pm) .lang-list { left: calc(100% + 8px); right: auto; top: 0; border-radius: 0 8px 8px 8px; max-width: calc(100vw - var(--tagw) - 24px); }
}
@media (max-width: 780px) {
  :where(.pm) { --tag-top: 22px; }
  :where(.pm) nav.main { order: 0; flex-basis: auto; width: auto; margin-left: auto; }
}
@media (max-width: 640px) {
  :where(.pm) nav.main { order: 3; flex-basis: 100%; width: 100%; margin-left: 0; }   /* phones: the menu in a row of its own */
}

/* A project's strip (owner, 2026-10-24, chosen from two mock-ups: "the line above the product's name made wider, with the menu in it",
   the menu on the right): the project's own menu, while the site's menu at the top stays Pro-Motion's. Two hairlines with a faint tint of
   the product's accent between them; each word has the accent line of the site's menu, here on the strip's lower edge, under the current
   page and the pointer, and is a 44 px target. After the stage band it shares the band's bottom line; on the project's other pages the
   product's logo and name lead home from its left (on phones the menu goes under them). Markup: projectStrip() in site/pages.mjs. */
.proj-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 0 36px; min-height: 52px; padding: 0 24px; border-block: 1px solid var(--line); background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 3.5%, transparent), color-mix(in srgb, var(--accent) 7%, transparent) 50%, color-mix(in srgb, var(--accent) 3.5%, transparent)); }
.stage-band + .proj-strip { margin-top: -1px; }
.proj-home { display: inline-flex; align-items: center; gap: 12px; min-height: 50px; margin-right: auto; font-size: 18px; font-weight: 650; letter-spacing: -.02em; color: var(--text); text-decoration: none; }
.proj-home img { width: 32px; height: 32px; filter: drop-shadow(0 0 12px rgb(var(--pi-glow, 146 243 144) / .45)); }
.proj-home:hover { color: var(--accent-2); }
.proj-menu { display: flex; flex-wrap: wrap; align-items: center; gap: 0 34px; }
.proj-menu a { position: relative; display: inline-flex; align-items: center; min-height: 50px; font-size: 16px; font-weight: 540; letter-spacing: -.01em; color: var(--text-2); text-decoration: none; white-space: nowrap; }
.proj-menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.proj-menu a:hover, .proj-menu a[aria-current] { color: var(--text); }
.proj-menu a:hover::after, .proj-menu a[aria-current]::after { transform: scaleX(1); }
/* phones: the words keep one line across the strip's width and scroll sideways where they do not fit (soft edges say there is more; the
   room before the first word and after the last lets them scroll clear of those edges; strip.js brings the current page's word into view) */
@media (max-width: 780px) {
  .proj-strip { gap: 0 22px; padding: 0 14px; }
  .proj-menu { flex: 1 1 100%; flex-wrap: nowrap; justify-content: space-between; gap: 0 20px; margin: 0 -14px; padding: 0 28px 0 14px; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 14px, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, transparent, #000 14px, #000 calc(100% - 28px), transparent); }
  .proj-menu::-webkit-scrollbar { display: none; }
  .proj-menu a { font-size: 14.5px; }
  .proj-menu a::after { bottom: 0; }   /* inside the scrolling box, which clips what lies past it */
  .proj-home { min-height: 46px; font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { .proj-menu a::after { transition: none; } }

/* The stub (owner, 2026-10-24: "a fun picture saying this page is still in development; we will use this stub in many places"): a small
   tower crane lowers the page's last block towards its slot and never quite sets it down. Markup: devStub() in site/pages.mjs; the
   drawing takes the product's accent. */
.dev-stub { padding: 8px 0 72px; }
.ds-art { display: block; width: min(100%, 560px); height: auto; overflow: visible; }
.dev-stub h1, .dev-stub h2 { margin: 26px 0 8px; font-size: clamp(20px, 2.2vw, 26px); font-weight: 620; line-height: 1.25; letter-spacing: -.02em; }
.dev-stub p { max-width: 34em; margin: 0; font-size: 16px; line-height: 1.6; color: var(--text-2); }
.ds-art .ds-line, .ds-art .ds-line *, .ds-page rect, .ds-page path, .ds-cabin { fill: none; stroke: var(--text-3); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ds-art .ds-thin { stroke-width: 1; opacity: .65; }
.ds-art .ds-ground { fill: none; stroke: var(--line); stroke-width: 1; }
.ds-page > rect:not(.ds-slot) { fill: rgba(255, 255, 255, .025); }
.ds-art .ds-slot { fill: none; stroke: var(--accent); stroke-dasharray: 5 6; opacity: .5; }
.ds-cabin { fill: var(--canvas); }
.ds-fill { fill: var(--accent); }
.ds-tint { fill: color-mix(in srgb, var(--accent) 16%, transparent); }
.ds-card { stroke: var(--accent); stroke-width: 1.5; }
.ds-acc { fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; }
.ds-cable { fill: none; stroke: var(--text-2); stroke-width: 1.2; stroke-linecap: round; }
.ds-glow { fill: var(--accent); opacity: .18; }
.ds-cone-band { stroke: var(--canvas); stroke-width: 3; }
.ds-spark { fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; opacity: .5; }
.ds-swing { transform-box: view-box; transform-origin: 400px 61px; }
.ds-eyes { transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) {
  .ds-load { animation: ds-lower 7s cubic-bezier(.45, 0, .3, 1) infinite; }
  .ds-swing { animation: ds-swing 3.4s ease-in-out infinite alternate; }
  .ds-eyes { animation: ds-blink 4.6s infinite; }
  .ds-beacon, .ds-glow { animation: ds-flash 1.4s steps(1) infinite; }
  .ds-spark { animation: ds-twinkle 2.6s ease-in-out infinite; }
  .ds-spark:nth-of-type(2n) { animation-delay: .9s; }
  .ds-spark:last-of-type { animation-delay: 1.7s; }
}
/* down, three tries to fit the slot, a little lift, and back up for another go */
@keyframes ds-lower { 0%, 6% { transform: translateY(-38px); } 38% { transform: translateY(-3px); } 46% { transform: translateY(-9px); } 54% { transform: translateY(-2px); } 62% { transform: translateY(-8px); } 70%, 76% { transform: translateY(-2.5px); } 94%, 100% { transform: translateY(-38px); } }
@keyframes ds-swing { from { transform: rotate(-1.4deg); } to { transform: rotate(1.4deg); } }
@keyframes ds-blink { 0%, 90%, 100% { transform: none; } 93% { transform: scaleY(.1); } }
@keyframes ds-flash { 0% { opacity: 1; } 50% { opacity: .15; } }
@keyframes ds-twinkle { 0%, 100% { opacity: .1; transform: scale(.7); } 50% { opacity: .8; transform: none; } }
.ds-spark { transform-box: fill-box; transform-origin: center; }
@media (max-width: 780px) { .dev-stub { padding-bottom: 48px; } }

/* The opening of a product page (owner, 2026-10-24: one shared code for every product page; the product's stylesheet only sets its colours,
   --pi-glow, --pi-glow-2, --pi-act, --pi-act-glow): the logo with the product's two-line name, the headline, the lead, the bar of the
   main action with the drop of ink and the facts. Markup: productIntro() in site/pages.mjs. */
.pi-intro { max-width: none; padding: 56px 0 0; }
/* the logo with the product's own two-line name ("SuperPower" over the product's name in the accent; owner, 2026-10-21) */
.pi-product { position: relative; display: flex; align-items: center; gap: 22px; margin: 0 0 34px; }

.pi-product::before { content: ""; position: absolute; left: -90px; top: 50%; width: 300px; height: 220px; transform: translateY(-50%); background: radial-gradient(closest-side, rgb(var(--pi-glow) / .30), rgb(var(--pi-glow) / .10) 55%, transparent 100%); pointer-events: none; z-index: -1; }
.pi-product img { display: block; flex: none; width: 92px; height: 92px; filter: drop-shadow(0 0 22px rgb(var(--pi-glow) / .55)) drop-shadow(0 14px 32px rgb(var(--pi-glow-2) / .28)); }
.pi-name { display: block; font-size: 44px; font-weight: 700; line-height: 1; letter-spacing: -.035em; color: var(--text); }
.pi-name b { display: block; font-weight: 700; color: var(--accent); }
.pi-intro h1 { max-width: 26ch; margin: 0 0 22px; font-size: clamp(28px, 3.8vw, 48px); font-weight: 650; line-height: 1.1; letter-spacing: -.035em; text-wrap: balance; }
.pi-lead { max-width: 36em; margin: 0; font-size: clamp(17px, 1.5vw, 20px); font-weight: 400; line-height: 1.6; letter-spacing: -.005em; color: var(--text-2); text-wrap: pretty; }
/* the main action of the page: large, in the accent, with the glow of the app's logo */
.pi-act { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; box-sizing: border-box; width: 100vw; margin: 34px 0 0 calc(-1 * var(--left, 24px)); padding: 24px var(--right, 24px) 9px var(--left, 24px); background: var(--pi-act); box-shadow: 0 0 60px rgb(var(--pi-act-glow) / .35); transition: box-shadow .18s, filter .18s; }
.pi-act:hover { filter: brightness(1.08) saturate(1.1); box-shadow: 0 0 90px rgb(var(--pi-act-glow) / .55); }
/* the whole bar is the link (a stretched link: its ::before covers the bar), the notes sit on the bar */
.pi-cta { display: flex !important; align-items: center; gap: 18px; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; clip-path: none !important; background: none !important; font-size: clamp(19px, 2.3vw, 26px) !important; font-weight: 640 !important; color: var(--accent-ink) !important; }
.pi-cta::before { content: ""; position: absolute; inset: 0; }
.pi-cta:focus-visible { outline: 3px solid #fff; outline-offset: -6px; }
/* The arrow is a drop of ink (owner, 2026-10-22, after the "gooey liquid morphing switch"): two dark drops, the arrow's and its echo a moment
   behind, under an SVG goo filter (blur, then a hard alpha threshold) that fuses them, so a liquid neck stretches between them while they
   fly and snaps when the echo catches up. On hover the drop flies 4 radii to the right, the arrow turns round (flat) as it flies back, and turns
   again at home; this repeats while the pointer is on the bar. */
.pi-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.pi-go { position: relative; flex: none; width: 4.5em; height: 1.5em; }
.pi-goo { position: absolute; inset: -.6em; filter: url(#pi-goo); }
.pi-goo i, .pi-arrow { position: absolute; width: 1.5em; height: 1.5em; }
.pi-goo i { left: .6em; top: .6em; border-radius: 50%; background: var(--accent-ink); }
.pi-goo i + i { scale: .84; }
/* the arrow drawn as three lines (owner, 2026-10-22, his sketch: it turns round flat and the line width never changes): to turn, the whole
   arrow is squeezed sideways to its centre and opened the other way, so the shaft shrinks to a dot and the barbs stand upright for a
   moment; the lines keep their width all the way (each keyframe is the exact geometry of that step) */
.pi-arrow { left: 0; top: 0; }
.pi-arrow b, .pi-arrow::before, .pi-arrow::after { content: ""; position: absolute; top: 0.6975em; height: 0.105em; border-radius: 0.105em; background: #fff; }
.pi-arrow b { left: .75em; width: 0.6300em; translate: -50% 0; }
.pi-arrow::before, .pi-arrow::after { left: 0.6975em; width: 0.4762em; translate: 0.3062em 0; transform-origin: 0.0525em 50%; }
.pi-arrow::before { rotate: -135.00deg; }
.pi-arrow::after { rotate: 135.00deg; }
.pi-act:hover .pi-goo i, .pi-act:hover .pi-arrow { animation: pi-fly 2.4s infinite; }
.pi-act:hover .pi-arrow b { animation: pi-shaft 2.4s linear infinite; }
.pi-act:hover .pi-arrow::before { animation: pi-barb-up 2.4s linear infinite; }
.pi-act:hover .pi-arrow::after { animation: pi-barb-down 2.4s linear infinite; }
.pi-act:hover .pi-goo i + i { animation-delay: .17s; }
@keyframes pi-fly {
  0% { translate: 0; animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
  30%, 45% { translate: 3em 0; animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
  75%, 100% { translate: 0; }
}
@keyframes pi-shaft {
  0.00% { width: 0.6300em; }
  45.00% { width: 0.6300em; }
  46.08% { width: 0.6093em; }
  47.17% { width: 0.5522em; }
  48.25% { width: 0.4659em; }
  49.33% { width: 0.3578em; }
  50.42% { width: 0.2350em; }
  51.50% { width: 0.1050em; }
  52.58% { width: 0.2350em; }
  53.67% { width: 0.3578em; }
  54.75% { width: 0.4659em; }
  55.83% { width: 0.5522em; }
  56.92% { width: 0.6093em; }
  58.00% { width: 0.6300em; }
  82.00% { width: 0.6300em; }
  83.08% { width: 0.6093em; }
  84.17% { width: 0.5522em; }
  85.25% { width: 0.4659em; }
  86.33% { width: 0.3578em; }
  87.42% { width: 0.2350em; }
  88.50% { width: 0.1050em; }
  89.58% { width: 0.2350em; }
  90.67% { width: 0.3578em; }
  91.75% { width: 0.4659em; }
  92.83% { width: 0.5522em; }
  93.92% { width: 0.6093em; }
  95.00% { width: 0.6300em; }
  100.00% { width: 0.6300em; }
}
@keyframes pi-barb-up {
  0.00% { translate: 0.3062em 0; width: 0.4762em; rotate: -135.00deg; }
  45.00% { translate: 0.3062em 0; width: 0.4762em; rotate: -135.00deg; }
  46.08% { translate: 0.2942em 0; width: 0.4690em; rotate: -133.85deg; }
  47.17% { translate: 0.2609em 0; width: 0.4498em; rotate: -130.43deg; }
  48.25% { translate: 0.2105em 0; width: 0.4236em; rotate: -124.51deg; }
  49.33% { translate: 0.1475em 0; width: 0.3963em; rotate: -115.71deg; }
  50.42% { translate: 0.0759em 0; width: 0.3754em; rotate: -103.91deg; }
  51.50% { translate: 0.0000em 0; width: 0.3675em; rotate: -90.00deg; }
  52.58% { translate: -0.0759em 0; width: 0.3754em; rotate: -76.09deg; }
  53.67% { translate: -0.1475em 0; width: 0.3963em; rotate: -64.29deg; }
  54.75% { translate: -0.2105em 0; width: 0.4236em; rotate: -55.49deg; }
  55.83% { translate: -0.2609em 0; width: 0.4498em; rotate: -49.57deg; }
  56.92% { translate: -0.2942em 0; width: 0.4690em; rotate: -46.15deg; }
  58.00% { translate: -0.3062em 0; width: 0.4762em; rotate: -45.00deg; }
  82.00% { translate: -0.3062em 0; width: 0.4762em; rotate: -45.00deg; }
  83.08% { translate: -0.2942em 0; width: 0.4690em; rotate: -46.15deg; }
  84.17% { translate: -0.2609em 0; width: 0.4498em; rotate: -49.57deg; }
  85.25% { translate: -0.2105em 0; width: 0.4236em; rotate: -55.49deg; }
  86.33% { translate: -0.1475em 0; width: 0.3963em; rotate: -64.29deg; }
  87.42% { translate: -0.0759em 0; width: 0.3754em; rotate: -76.09deg; }
  88.50% { translate: 0.0000em 0; width: 0.3675em; rotate: -90.00deg; }
  89.58% { translate: 0.0759em 0; width: 0.3754em; rotate: -103.91deg; }
  90.67% { translate: 0.1475em 0; width: 0.3963em; rotate: -115.71deg; }
  91.75% { translate: 0.2105em 0; width: 0.4236em; rotate: -124.51deg; }
  92.83% { translate: 0.2609em 0; width: 0.4498em; rotate: -130.43deg; }
  93.92% { translate: 0.2942em 0; width: 0.4690em; rotate: -133.85deg; }
  95.00% { translate: 0.3062em 0; width: 0.4762em; rotate: -135.00deg; }
  100.00% { translate: 0.3062em 0; width: 0.4762em; rotate: -135.00deg; }
}
@keyframes pi-barb-down {
  0.00% { translate: 0.3062em 0; width: 0.4762em; rotate: 135.00deg; }
  45.00% { translate: 0.3062em 0; width: 0.4762em; rotate: 135.00deg; }
  46.08% { translate: 0.2942em 0; width: 0.4690em; rotate: 133.85deg; }
  47.17% { translate: 0.2609em 0; width: 0.4498em; rotate: 130.43deg; }
  48.25% { translate: 0.2105em 0; width: 0.4236em; rotate: 124.51deg; }
  49.33% { translate: 0.1475em 0; width: 0.3963em; rotate: 115.71deg; }
  50.42% { translate: 0.0759em 0; width: 0.3754em; rotate: 103.91deg; }
  51.50% { translate: 0.0000em 0; width: 0.3675em; rotate: 90.00deg; }
  52.58% { translate: -0.0759em 0; width: 0.3754em; rotate: 76.09deg; }
  53.67% { translate: -0.1475em 0; width: 0.3963em; rotate: 64.29deg; }
  54.75% { translate: -0.2105em 0; width: 0.4236em; rotate: 55.49deg; }
  55.83% { translate: -0.2609em 0; width: 0.4498em; rotate: 49.57deg; }
  56.92% { translate: -0.2942em 0; width: 0.4690em; rotate: 46.15deg; }
  58.00% { translate: -0.3062em 0; width: 0.4762em; rotate: 45.00deg; }
  82.00% { translate: -0.3062em 0; width: 0.4762em; rotate: 45.00deg; }
  83.08% { translate: -0.2942em 0; width: 0.4690em; rotate: 46.15deg; }
  84.17% { translate: -0.2609em 0; width: 0.4498em; rotate: 49.57deg; }
  85.25% { translate: -0.2105em 0; width: 0.4236em; rotate: 55.49deg; }
  86.33% { translate: -0.1475em 0; width: 0.3963em; rotate: 64.29deg; }
  87.42% { translate: -0.0759em 0; width: 0.3754em; rotate: 76.09deg; }
  88.50% { translate: 0.0000em 0; width: 0.3675em; rotate: 90.00deg; }
  89.58% { translate: 0.0759em 0; width: 0.3754em; rotate: 103.91deg; }
  90.67% { translate: 0.1475em 0; width: 0.3963em; rotate: 115.71deg; }
  91.75% { translate: 0.2105em 0; width: 0.4236em; rotate: 124.51deg; }
  92.83% { translate: 0.2609em 0; width: 0.4498em; rotate: 130.43deg; }
  93.92% { translate: 0.2942em 0; width: 0.4690em; rotate: 133.85deg; }
  95.00% { translate: 0.3062em 0; width: 0.4762em; rotate: 135.00deg; }
  100.00% { translate: 0.3062em 0; width: 0.4762em; rotate: 135.00deg; }
}
/* when the system asks for less motion (Windows: animation effects off): no loop and no turning, one calm flight of the same 4 radii */
@media (prefers-reduced-motion: reduce) {
  .pi-goo i, .pi-arrow { transition: translate .5s cubic-bezier(.65, 0, .35, 1); }
  .pi-goo i + i { transition-delay: .1s; }
  .pi-act:hover .pi-goo i, .pi-act:hover .pi-arrow { animation: none; translate: 3em 0; }
  .pi-act:hover .pi-arrow b, .pi-act:hover .pi-arrow::before, .pi-act:hover .pi-arrow::after { animation: none; }
}
.pi-facts { display: flex; flex-wrap: wrap; gap: 6px 24px; margin: 0; padding: 0; list-style: none; pointer-events: none; }
.pi-facts li { display: flex; align-items: center; gap: 9px; font-size: 14.5px; font-weight: 520; color: rgba(20, 20, 20, .78); }
.pi-facts li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-ink); opacity: .7; }
/* The application's own picture docked under the bar (owner, 2026-11-08, SuperPower Studio: "a screenshot of the application under the big bar"):
   the width of the page's column, shown whole, a hairline in the product's glow colour on its sides, melting into the page at the bottom, the glow
   (--pi-glow) behind it. The opaque backing in the page's colour stops the page's pen lines at the picture, as under SuperPower Normals' picture. */
.pi-shot { position: relative; margin: 0 0 8px; }
.pi-shot::before { content: ""; position: absolute; inset: 8% 10%; background: radial-gradient(60% 70% at 50% 50%, rgb(var(--pi-glow) / .26), transparent 70%); filter: blur(34px); pointer-events: none; }
.pi-shot::after { --sx: min(80px, var(--left, 24px)); content: ""; position: absolute; top: -40px; bottom: -60px; left: calc(-1 * var(--sx)); right: calc(-1 * min(80px, var(--right, 24px))); z-index: -1; background: var(--canvas); pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 var(--sx), #000 calc(100% - var(--sx)), transparent), linear-gradient(to bottom, transparent, #000 40px, #000 calc(100% - 60px), transparent);
  mask-image: linear-gradient(to right, transparent, #000 var(--sx), #000 calc(100% - var(--sx)), transparent), linear-gradient(to bottom, transparent, #000 40px, #000 calc(100% - 60px), transparent);
  -webkit-mask-composite: source-in; mask-composite: intersect; }
.pi-shot img { position: relative; display: block; width: 100%; height: auto; box-sizing: border-box; border: 1px solid rgb(var(--pi-glow) / .38); border-top: 0; border-radius: 0; background: #101010;
  -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 84%, transparent 100%); mask-image: linear-gradient(to bottom, #000 0, #000 84%, transparent 100%); }
@media (max-width: 780px) {
  .pi-intro { padding: 40px 0 0; }
  .pi-product img { width: 68px; height: 68px; }
  .pi-product::before { left: -60px; width: 220px; height: 170px; }
  .pi-name { font-size: 32px; }
  .pi-lead { font-size: 17px; }
}
@media (max-width: 400px) { .pi-cta { gap: 12px; font-size: 17px !important; } }

@media (max-width: 640px) { .prod-list { right: auto; left: 0; } }
.hl { color: var(--accent); }
.layer.is-branchwright .text { color: var(--classified); letter-spacing: .06em; text-transform: uppercase; font-size: 13px; }   /* owner, 2026-10-27: the line under BranchWright is just "classified", in red */

/* The sign-in page takes a product's look by name (owner, 2026-11-02: one page, one place to change; colours and the look of elements only, never the layout).
   The names are LOOKS in src/app.mjs. The values are the product's palette from its own stylesheet (site/static-<site>/). */
.login-look { padding: 28px 0; }
.look-branchwright { --accent: #e8a65a; --accent-2: #f3c992; --accent-ink: #2a1a0b; --grow: #9a6a33; --grow-text: #d9b98f; --canvas: #17120d;
  background: radial-gradient(900px 320px at 80% -80px, rgba(232, 166, 90, .08), transparent 70%) no-repeat, var(--canvas); border-top: 1.5px solid #9a6a33; }
.look-branchwright a:hover { color: var(--accent-2); }

/* The signed-in person in the header of the plain pages (site/static/who.js): avatar or the name's first letters, and the name. */
nav.main a.pm-who { display: inline-flex; align-items: center; gap: 9px; max-width: 220px; }
.pm-who-pic { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; overflow: hidden; border: 1px solid var(--line); border-radius: 50%; background: #282828; color: var(--accent); font-size: 11px; font-weight: 600; letter-spacing: .02em; }
.pm-who-pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pm-who-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 640px) { .pm-who-name { display: none; } }   /* phones: the menu keeps one row; the name stays in the link's accessible name and tooltip */
/* No blink of the header's person (owner, 2026-11-22; site/static/who.js): "Sign in" stays invisible until the script has decided, and shows by
   itself after 1.5 s, so a page without the script still offers it. Its place is kept, so the menu does not move. */
header nav.main > a[href$="/login"] { visibility: hidden; animation: pm-who-show 0s 1.5s forwards; }
.pm-who-ready header nav.main > a[href$="/login"] { visibility: visible; animation: none; }
@keyframes pm-who-show { to { visibility: visible; } }
