/* ==========================================================================
   Become a partner (page-become-a-partner.php, theme 0.51.0) · direction B · Circuit, ported from
   proto/partners-landing/b.html (Rayan 16 Oct 2026). One trace runs down the whole page and charges with
   the scroll (assets/js/partners-landing.js): it starts on the four read-outs of the first screen, leaves
   the hero along its floor, turns 45 degrees and descends past every section. Each pad lights lime as the
   current reaches it, and the section it feeds powers on (the read-outs, today's rates, the example order,
   the payout meter).
   Rayan's change to B: no number at the centre. The first screen's read-outs say words (SHARE · CLICK ·
   ORDER · EARN); the rates sit in one table that grows, shrinks or empties with the owner's settings.
   Loads after the core bundle and spot.css; it styles this page's .cx-* parts only, never the shell.
   Tokens only (var(--ecc-*)). Every lit point is a square voxel.
   ========================================================================== */

.cx {
  --cx-a: 26px; --cx-b: 46px; --cx-in: 96px; --cx-r: clamp(16px, 3.6vw, 64px); --cx-off: 0px; --cx-h: 7px;
  --cx-wire: color-mix(in srgb, var(--ecc-ink) 19%, transparent);
  --cx-pad-line: color-mix(in srgb, var(--ecc-ink) 40%, transparent);
  --cx-glow: color-mix(in srgb, var(--ecc-lime) 55%, transparent);
  --cx-glow-soft: color-mix(in srgb, var(--ecc-lime) 14%, transparent);
  --cx-unlit: color-mix(in srgb, var(--ecc-on-panel) 13%, transparent);
  position: relative; display: grid; gap: var(--ecc-gap);
}
@media (max-width: 1023px) { .cx { --cx-a: 18px; --cx-b: 34px; --cx-in: 66px; } }
@media (max-width: 600px) { .cx { --cx-a: 11px; --cx-b: 23px; --cx-in: 42px; --cx-r: 16px; } }

/* ---------------------------------------------------------------- the spine */
.cx-spine { position: absolute; left: 0; top: 0; z-index: 2; overflow: visible; pointer-events: none; }
.cx-spine path { fill: none; stroke-width: 2; stroke-linejoin: miter; stroke-linecap: square; }
.cx-spine__dim { stroke: var(--cx-wire); }
.cx-spine__lit { stroke: var(--ecc-lime); filter: drop-shadow(0 0 4px var(--cx-glow)); }
.cx-spine__head { fill: var(--ecc-lime); filter: drop-shadow(0 0 6px var(--ecc-lime)); shape-rendering: crispEdges; }
.cx-spine__halo { fill: color-mix(in srgb, var(--ecc-lime) 22%, transparent); shape-rendering: crispEdges; }

/* a pad on the spine, with its level line into the section */
.cx-node {
  --cx-x: var(--cx-a);
  position: absolute; z-index: 3; top: var(--cx-top, 50%);
  left: calc(var(--cx-x) - var(--cx-in) - var(--cx-off));
  width: calc(var(--cx-h) * 2); height: calc(var(--cx-h) * 2);
  margin: calc(var(--cx-h) * -1) 0 0 calc(var(--cx-h) * -1);
  border: 1.5px solid var(--cx-pad-line); border-radius: 1px; background: var(--ecc-canvas);
  transition: background-color var(--ecc-d-fast) var(--ecc-ease-pixel), border-color var(--ecc-d-fast) var(--ecc-ease-pixel), box-shadow var(--ecc-d-base) var(--ecc-ease-out);
}
.cx-node.is-b { --cx-x: var(--cx-b); }
.cx-node::before,
.cx-node::after {
  content: ""; position: absolute; top: 50%; left: calc(100% + 1.5px); height: 1.5px; margin-top: -.75px; pointer-events: none;
  width: max(0px, calc(var(--cx-in) + var(--cx-off) - var(--cx-x) - var(--cx-h) - 12px));
  background: var(--cx-wire);
}
.cx-node::after {
  background: var(--ecc-lime); box-shadow: 0 0 6px var(--cx-glow);
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform var(--ecc-d-slow) var(--ecc-ease-current) var(--ecc-d-fast);
}
.cx-node.is-on, .cx:not(.cx-live) .cx-node { border-color: var(--ecc-lime); background: var(--ecc-lime); box-shadow: 0 0 0 4px var(--cx-glow-soft), 0 0 16px var(--cx-glow); }
.cx-node.is-on::after, .cx:not(.cx-live) .cx-node::after { transform: scaleX(1); }
.cx-node--flow { --cx-h: 10px; }
.cx-node--flow.is-on, .cx:not(.cx-live) .cx-node--flow { box-shadow: inset 0 0 0 3.5px var(--ecc-canvas), 0 0 0 5px var(--cx-glow-soft), 0 0 22px var(--cx-glow); }
.cx-node--end { --cx-h: 12px; }
.cx-node--end.is-on, .cx:not(.cx-live) .cx-node--end { box-shadow: 0 0 0 6px var(--cx-glow-soft), 0 0 30px var(--ecc-lime); }
.cx-way { position: absolute; width: 2px; height: 2px; pointer-events: none; }

/* ---------------------------------------------------------------- shared type */
.cx-sec { padding: clamp(44px, 5.6vw, 92px) var(--cx-r) clamp(44px, 5.6vw, 92px) var(--cx-in); }
.cx-kick { --cx-top: 9px; position: relative; display: block; min-height: 20px; margin: 0; padding-top: 1px; color: var(--ecc-ink-2); }
.cx-kick > .ecc-pip { margin-right: 10px; vertical-align: 1px; }
.cx-kick b { color: var(--ecc-ink); font-weight: inherit; }
.cx-sep { display: inline-block; width: 4px; height: 4px; margin: 0 10px; border-radius: 1px; background: var(--ecc-spark); vertical-align: 2px; }
.cx-head { display: grid; gap: 16px; max-width: 48rem; margin-bottom: clamp(32px, 4.4vw, 56px); }
.cx-h2 {
  font-size: clamp(2.125rem, 1.3rem + 2.9vw, 4rem); line-height: .98; letter-spacing: -.034em;
  font-weight: var(--ecc-fw-display); font-stretch: var(--ecc-wdth-display); text-wrap: balance;
}
.cx-h2 em { font-style: normal; color: var(--ecc-on-panel-2); }
.cx-h2--two em { display: block; }
.cx-sub { max-width: 34em; color: var(--ecc-ink-2); font-size: var(--ecc-t-body-lg); line-height: 1.5; }
.cx-sub b { color: var(--ecc-ink); font-weight: var(--ecc-fw-medium); }
.cx-h3 { font-size: clamp(1.25rem, 1.12rem + .5vw, 1.5rem); line-height: 1.15; letter-spacing: var(--ecc-ls-heading); font-weight: var(--ecc-fw-strong); font-stretch: var(--ecc-wdth-heading); }
.cx-p { color: var(--ecc-ink-2); }
.cx-p b { color: var(--ecc-ink); font-weight: var(--ecc-fw-medium); }

/* the call to action, the same words in every place */
.cx-btn { min-height: 56px; padding: 0 30px; font-size: 1.0625rem; }
.cx-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: clamp(32px, 4.4vw, 52px); padding-top: 28px; border-top: 1px solid var(--ecc-line); }
.cx-free { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0; color: var(--ecc-ink-2); }
.cx-free i { width: 4px; height: 4px; background: var(--ecc-spark); border-radius: 1px; }
.cx-link { display: inline-flex; align-items: center; gap: 8px; min-height: var(--ecc-hit); color: var(--ecc-ink); font-weight: var(--ecc-fw-medium); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.cx-sub .cx-link { display: inline; min-height: 0; padding-block: 12px; }
@media (hover: hover) and (pointer: fine) { .cx-link:hover { text-decoration-color: var(--ecc-spark); text-decoration-thickness: 2px; } }

/* ---------------------------------------------------------------- LED read-outs */
.cx-led { --cx-dig: 64px; display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; padding: 16px 18px 14px; }
.cx-led__num { display: flex; align-items: flex-start; margin: 0; color: var(--ecc-lime); text-shadow: 0 0 18px var(--cx-glow); transition: color 480ms var(--ecc-ease-pixel), text-shadow 480ms var(--ecc-ease-out); }
.cx-dig { font-family: var(--ecc-f-dot); font-variation-settings: var(--ecc-dot-settings); font-weight: var(--ecc-fw-dot); font-size: var(--cx-dig); line-height: .8; letter-spacing: .02em; }
.cx-unit { font-family: var(--ecc-f-mono); font-weight: 700; font-size: calc(var(--cx-dig) * .4); line-height: 1; margin: .06em 0 0 .12em; }
.cx-unit--pre { margin: .06em .1em 0 0; }
.cx-pt { font-family: var(--ecc-f-mono); font-weight: 700; font-size: calc(var(--cx-dig) * .5); line-height: .8; align-self: flex-end; margin: 0 -.06em; }
.cx-led__word { margin: 0; font-family: var(--ecc-f-dot); font-variation-settings: var(--ecc-dot-settings); font-weight: 900; font-size: 22px; line-height: 1; letter-spacing: .08em; color: var(--ecc-on-panel-2); text-transform: uppercase; white-space: nowrap; transition: color 480ms var(--ecc-ease-pixel); }
.cx-live [data-cx-zone]:not(.is-lit) .cx-led__num { color: var(--cx-unlit); text-shadow: none; }
.cx-live [data-cx-zone]:not(.is-lit) .cx-led__word { color: var(--cx-unlit); }

/* ---------------------------------------------------------------- 1 · first screen */
.cx-hero {
  display: grid; align-content: center; min-height: min(860px, calc(100svh - 132px));
  padding-top: clamp(40px, 6vw, 96px); padding-bottom: clamp(84px, 8vw, 120px);
  background:
    radial-gradient(52% 64% at 84% 34%, color-mix(in srgb, var(--ecc-lime) 8%, transparent), transparent 72%),
    radial-gradient(40% 50% at 8% 100%, color-mix(in srgb, var(--ecc-case-light) 5%, transparent), transparent 70%),
    var(--ecc-surface);
}
.cx-hero::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background-image: conic-gradient(at 2px 2px, transparent 75%, var(--ecc-line) 0); background-size: 14px 14px;
  -webkit-mask: linear-gradient(100deg, transparent 18%, black 70%); mask: linear-gradient(100deg, transparent 18%, black 70%);
}
.cx-hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 4.4vw, 80px); }
.cx-hero__say { display: grid; justify-items: start; gap: clamp(20px, 2.4vw, 30px); }
.cx-h1 {
  display: grid; margin: 0; font-size: clamp(2.75rem, 1.05rem + 6.4vw, 7.25rem); line-height: .9; letter-spacing: -.045em;
  font-weight: var(--ecc-fw-display); font-stretch: var(--ecc-wdth-display);
}
.cx-h1 > span { display: block; }
.cx-h1__spark { display: inline-block; width: .15em; height: .15em; margin-left: .07em; background: var(--ecc-lime); border-radius: 2px; box-shadow: 0 0 .22em var(--cx-glow); vertical-align: baseline; }
.cx-lead { max-width: 31em; color: var(--ecc-ink-2); font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); line-height: 1.5; }
.cx-lead b { color: var(--ecc-ink); font-weight: var(--ecc-fw-strong); }
.cx-acts { display: flex; flex-wrap: wrap; gap: 12px; }
.cx-hero .cx-free { margin-top: -8px; }

.cx-board {
  --cx-a: 20px; --cx-b: 36px; --cx-in: 60px;
  position: relative; display: grid; gap: 14px; padding: 20px 22px 22px var(--cx-in);
  border-radius: var(--ecc-r); background: color-mix(in srgb, var(--ecc-canvas) 86%, transparent);
  box-shadow: inset 0 0 0 1px var(--ecc-line-strong);
}
.cx-board__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0; color: var(--ecc-ink-2); }
.cx-board__top span { display: inline-flex; align-items: center; gap: 8px; }
.cx-board__rows { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.cx-row { position: relative; display: grid; grid-template-columns: minmax(212px, 252px) minmax(0, 1fr); align-items: center; gap: 18px; }
.cx-row .cx-led__word { font-size: 20px; }
.cx-row .cx-led { --cx-dig: clamp(54px, 4.6vw, 78px); min-height: 96px; padding: 14px 16px 12px; }
.cx-row__say { display: grid; gap: 3px; margin: 0; }
.cx-row__say b { font-size: 1.0625rem; font-weight: var(--ecc-fw-strong); line-height: 1.2; }
.cx-row__say span { color: var(--ecc-ink-2); font-size: var(--ecc-t-small); line-height: 1.4; }
.cx-board__foot { margin: 0; color: var(--ecc-ink-2); }

/* ---------------------------------------------------------------- 2 · how it works */
.cx-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--ecc-gap); margin: 0; padding: 0; list-style: none; }
.cx-step { display: grid; align-content: start; gap: 14px; padding: 24px 24px 28px; border-radius: var(--ecc-r); background: var(--ecc-canvas); box-shadow: inset 0 0 0 1px var(--ecc-line-strong); }
.cx-step__top { display: flex; align-items: center; gap: 0; margin-bottom: 8px; }
.cx-step__wire { position: relative; flex: 1; height: 1.5px; margin-right: -25px; background: var(--cx-wire); }
.cx-rule .cx-step__top { margin-bottom: 4px; }
.cx-wired > li:last-child .cx-step__wire { margin-right: 0; }
.cx-wired > li:last-child .cx-step__wire::before { content: ""; position: absolute; right: 0; top: -3.5px; width: 8px; height: 8px; border-radius: 1px; background: var(--cx-wire); }
.cx-step__wire::after { content: ""; position: absolute; inset: 0; background: var(--ecc-lime); box-shadow: 0 0 6px var(--cx-glow); transform: scaleX(0); transform-origin: 0 50%; transition: transform var(--ecc-d-slow) var(--ecc-ease-current); }
.cx-live [data-cx-zone]:not(.is-lit) .cx-wired .ecc-mark--led::before { background: var(--cx-unlit); box-shadow: none; }
[data-cx-zone].is-lit .cx-step__wire::after, .cx:not(.cx-live) .cx-step__wire::after { transform: scaleX(1); }
[data-cx-zone].is-lit .cx-wired > li:last-child .cx-step__wire::before { background: var(--ecc-lime); box-shadow: 0 0 8px var(--cx-glow); transition: background-color var(--ecc-d-fast) var(--ecc-ease-pixel) 900ms; }
[data-cx-zone].is-lit .cx-wired > li:nth-child(2) .cx-step__wire::after { transition-delay: 220ms; }
[data-cx-zone].is-lit .cx-wired > li:nth-child(3) .cx-step__wire::after { transition-delay: 440ms; }
.cx-step__top .ecc-mark--led { position: relative; z-index: 1; flex: none; }
.cx-code__word { position: relative; z-index: 1; font-size: 34px; color: var(--ecc-lime); text-shadow: 0 0 14px var(--cx-glow); }
.cx-live .cx-how:not(.is-lit) .cx-code__word { color: var(--cx-unlit); text-shadow: none; }
.cx-code { display: grid; gap: 10px; justify-items: start; margin-top: 6px; padding: 16px 18px; color: var(--ecc-lime); }
.cx-code .ecc-voxtext { position: relative; z-index: 1; width: auto; max-width: 100%; height: 30px; filter: drop-shadow(0 0 4px var(--cx-glow)); }
.cx-code__link { position: relative; z-index: 1; margin: 0; color: var(--ecc-on-panel-2); overflow-wrap: anywhere; }
.cx-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; padding: 0; list-style: none; }
.cx-tags li { display: inline-flex; align-items: center; min-height: 32px; padding: 0 10px; border-radius: var(--ecc-r-sm); box-shadow: inset 0 0 0 1px var(--ecc-line-strong); color: var(--ecc-ink-2); font-family: var(--ecc-f-mono); font-size: var(--ecc-t-micro); letter-spacing: var(--ecc-ls-label); text-transform: uppercase; }
.cx-tags li.is-ad { color: var(--ecc-on-lime); background: var(--ecc-lime); box-shadow: none; text-transform: none; font-weight: 700; }

/* ---------------------------------------------------------------- 3 · the circuit */
.cx-flow__grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr); align-items: start; gap: clamp(28px, 3.6vw, 64px); }
.cx-stops { display: grid; gap: clamp(36px, 4.6vw, 64px); margin: 0; padding: 0; list-style: none; }
.cx-stop { display: grid; grid-template-columns: minmax(196px, 248px) minmax(0, 1fr); align-items: start; gap: 18px 32px; }
.cx-stop__name { --cx-top: 10px; position: relative; grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; min-height: 20px; margin: 0; color: var(--ecc-ink-2); }
.cx-stop__name b { color: var(--ecc-ink); font-weight: inherit; }
.cx-stop__n { color: var(--ecc-spark); }
.cx-live .cx-stop:not(.is-lit) .cx-stop__n { color: var(--ecc-ink-2); }
.cx-stop .cx-led { --cx-dig: clamp(64px, 5.6vw, 96px); min-height: 132px; flex-direction: column; align-items: flex-start; justify-content: space-between; }
.cx-stop__txt { display: grid; gap: 10px; align-content: start; max-width: 30em; }
.cx-stop__eg { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 4px; padding: 10px 12px; border-radius: var(--ecc-r-sm); background: var(--ecc-surface-2); color: var(--ecc-ink-2); font-size: var(--ecc-t-small); }
.cx-stop__eg b { color: var(--ecc-ink); font-family: var(--ecc-f-mono); font-weight: 600; font-variant-numeric: tabular-nums; }
.cx-tagx { font-family: var(--ecc-f-mono); font-size: var(--ecc-t-micro); letter-spacing: var(--ecc-ls-label); text-transform: uppercase; color: var(--ecc-ink-2); }

/* the sample post (stop 01) */
.cx-post { display: grid; gap: 12px; padding: 16px; border-radius: var(--ecc-r); background: var(--ecc-canvas); box-shadow: inset 0 0 0 1px var(--ecc-line-strong); transition: box-shadow var(--ecc-d-base) var(--ecc-ease-out); }
.cx-stop.is-lit .cx-post, .cx:not(.cx-live) .cx-post { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ecc-lime) 55%, transparent), 0 0 24px -8px var(--cx-glow); }
.cx-post__who { display: flex; align-items: center; gap: 10px; }
.cx-post__av { display: grid; place-items: center; width: 34px; height: 34px; border-radius: var(--ecc-r-sm); background: var(--ecc-screen); color: var(--ecc-lime); }
.cx-post__av .ecc-voxtext { height: 14px; width: auto; }
.cx-post__who b { display: block; font-size: var(--ecc-t-small); line-height: 1.2; }
.cx-post__who small { display: block; color: var(--ecc-ink-2); font-size: var(--ecc-t-micro); }
.cx-post__txt { margin: 0; font-size: var(--ecc-t-small); line-height: 1.5; color: var(--ecc-ink); }
.cx-post__txt mark { padding: 0 3px; border-radius: 2px; background: color-mix(in srgb, var(--ecc-lime) 18%, transparent); color: var(--ecc-ink); font-family: var(--ecc-f-mono); font-size: .92em; }
.cx-post__txt .is-ad { color: var(--ecc-spark); font-weight: 700; }

/* the example order: sticky beside the stops on a computer (the two share their own grid) */
.cx-ex { position: sticky; top: 24px; display: grid; gap: 18px; padding: 24px; border-radius: var(--ecc-r); background: var(--ecc-canvas); box-shadow: inset 0 0 0 1px var(--ecc-line-strong); }
.cx-ex__tag { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 10px; margin: 0; color: var(--ecc-ink-2); }
.cx-ex__tag span { display: inline-flex; align-items: center; gap: 8px; }
.cx-ex__name { display: flex; align-items: center; gap: 12px; }
.cx-ex__name .ecc-icon { color: var(--ecc-spark); }
.cx-ex__lines { display: grid; margin: 0; }
.cx-ex__lines > div { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 13px 0; border-top: 1px solid var(--ecc-line); transition: opacity var(--ecc-d-slow) var(--ecc-ease-out); }
.cx-ex__lines dt { color: var(--ecc-ink-2); font-size: .9375rem; }
.cx-ex__lines dd { font-family: var(--ecc-f-mono); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cx-ex__lines .is-save dd { color: var(--ecc-spark); }
.cx-ex__total { display: grid; gap: 10px; }
.cx-ex__total .cx-led { --cx-dig: clamp(56px, 4.4vw, 76px); align-items: flex-end; }
.cx-ex__total .cx-led__word { font-size: 20px; }
.cx-live .cx-ex [data-cx-when]:not(.is-lit) { opacity: .26; }
.cx-live .cx-ex .cx-ex__total[data-cx-zone]:not(.is-lit) { opacity: 1; }
.cx-ex__note { margin: 0; color: var(--ecc-ink-2); font-size: var(--ecc-t-small); }

.cx-open { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: clamp(36px, 4.4vw, 56px); padding: 18px 20px; border-radius: var(--ecc-r); background: var(--ecc-canvas); box-shadow: inset 0 0 0 1px var(--ecc-line-strong); }
.cx-open__k { margin: 0; color: var(--ecc-ink-2); }
.cx-open__chip { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; min-height: 44px; margin: 0; padding: 8px 14px; border-radius: var(--ecc-r-sm); background: var(--ecc-selected-bg); box-shadow: inset 0 0 0 1px var(--ecc-selected-line); font-weight: var(--ecc-fw-strong); }
.cx-open__chip .ecc-icon { color: var(--ecc-spark); }
.cx-open__chip small { white-space: nowrap; color: var(--ecc-ink-2); font-family: var(--ecc-f-mono); font-size: var(--ecc-t-micro); letter-spacing: var(--ecc-ls-label); text-transform: uppercase; font-weight: var(--ecc-fw-mono); }
.cx-open__note { margin: 0; color: var(--ecc-ink-2); font-size: var(--ecc-t-small); }

/* ---------------------------------------------------------------- 4 · the toolkit */
.cx-tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--ecc-gap); margin: 0; padding: 0; list-style: none; }
.cx-tool { display: grid; grid-template-rows: auto 1fr; border-radius: var(--ecc-r); background: var(--ecc-canvas); box-shadow: inset 0 0 0 1px var(--ecc-line-strong); overflow: hidden; }
.cx-tool__view { position: relative; display: grid; align-items: center; min-height: 212px; padding: 22px; border-bottom: 1px solid var(--ecc-line); background-image: conic-gradient(at 2px 2px, transparent 75%, var(--ecc-line) 0); background-size: 12px 12px; }
.cx-tool__say { display: grid; align-content: start; gap: 8px; padding: 22px 22px 26px; }
.cx-tool__k { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--ecc-ink-2); }
.cx-tool__k .ecc-icon { color: var(--ecc-spark); }

/* the dashboard: a voxel chart */
.cx-chart { display: grid; gap: 12px; }
.cx-chart__cols { display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); align-items: end; gap: 5px; height: 128px; }
.cx-chart__cols span { display: grid; align-content: end; gap: 3px; height: 100%; }
.cx-chart__cols i { display: block; height: 8px; border-radius: 1px; background: color-mix(in srgb, var(--ecc-ink) 22%, transparent); transform: scaleY(1); transform-origin: 50% 100%; transition: background-color var(--ecc-d-fast) var(--ecc-ease-pixel), opacity var(--ecc-d-base) var(--ecc-ease-out); transition-delay: calc(var(--d, 0) * 1ms); }
.cx-chart__cols span.is-top i { background: var(--ecc-lime); box-shadow: 0 0 8px -1px var(--cx-glow); }
.cx-live .cx-tools-sec:not(.is-lit) .cx-chart__cols i { opacity: .15; }
.cx-live .cx-tools-sec:not(.is-lit) .cx-chart__cols span.is-top i { background: color-mix(in srgb, var(--ecc-ink) 22%, transparent); box-shadow: none; }
.cx-chart__flow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0; color: var(--ecc-ink-2); }
.cx-chart__flow i { width: 18px; height: 1.5px; background: var(--ecc-spark); }

/* links and QR */
.cx-qr { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 22px; }
.cx-qr svg { display: block; width: 132px; height: 132px; border-radius: 4px; }
.cx-qr__urls { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; min-width: 0; }
.cx-qr__urls li { display: grid; gap: 2px; padding: 8px 10px; border-radius: var(--ecc-r-sm); background: var(--ecc-surface); min-width: 0; }
.cx-qr__urls small { color: var(--ecc-ink-2); font-family: var(--ecc-f-mono); font-size: var(--ecc-t-micro); letter-spacing: var(--ecc-ls-label); text-transform: uppercase; }
.cx-qr__urls code { font-family: var(--ecc-f-mono); font-size: var(--ecc-t-micro); color: var(--ecc-ink); overflow-wrap: anywhere; }
.cx-qr__urls code b { color: var(--ecc-spark); font-weight: 700; }

/* the post writer */
.cx-write { display: grid; gap: 12px; }
.cx-seg { display: inline-flex; gap: 4px; padding: 4px; border-radius: var(--ecc-r-sm); background: var(--ecc-surface); justify-self: start; }
.cx-seg button { min-height: var(--ecc-hit); min-width: 88px; padding: 0 14px; border: 0; border-radius: 4px; background: transparent; color: var(--ecc-ink-2); font-weight: var(--ecc-fw-strong); cursor: pointer; }
.cx-seg button[aria-pressed="true"] { background: var(--ecc-selected-bg); color: var(--ecc-ink); box-shadow: inset 0 0 0 1px var(--ecc-selected-line); }
@media (hover: hover) and (pointer: fine) { .cx-seg button:hover { color: var(--ecc-ink); } }
.cx-draft { position: relative; margin: 0; padding: 14px 16px 14px 18px; border-radius: var(--ecc-r-sm); background: var(--ecc-surface); font-size: var(--ecc-t-small); line-height: 1.55; }
.cx-draft::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; background: var(--ecc-lime); border-radius: 1px; }
.cx-draft mark { padding: 0 3px; border-radius: 2px; background: color-mix(in srgb, var(--ecc-lime) 18%, transparent); color: var(--ecc-ink); font-family: var(--ecc-f-mono); font-size: .92em; }
.cx-draft .is-ad { display: block; margin-top: 8px; color: var(--ecc-spark); font-weight: 700; }

/* the payout meter */
.cx-pay { display: grid; gap: 14px; }
.cx-pay__top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 14px; }
.cx-pay .cx-led { --cx-dig: 54px; flex: none; padding: 12px 16px 10px; }
.cx-pay__k { margin: 0; color: var(--ecc-ink-2); text-align: right; }
.cx-cells { display: grid; grid-template-columns: repeat(25, minmax(0, 1fr)); gap: 4px; }
.cx-cells i { height: 26px; border-radius: 2px; background: color-mix(in srgb, var(--ecc-ink) 10%, transparent); transition: background-color var(--ecc-d-fast) var(--ecc-ease-pixel), box-shadow var(--ecc-d-fast) var(--ecc-ease-out); transition-delay: calc(var(--i) * 34ms); }
.cx-tools-sec.is-lit .cx-cells i, .cx:not(.cx-live) .cx-cells i { background: var(--ecc-lime); box-shadow: 0 0 10px -2px var(--cx-glow); }
.cx-cells__scale { display: flex; justify-content: space-between; margin: 0; color: var(--ecc-ink-2); }

/* ---------------------------------------------------------------- 5 · why Cyber City */
.cx-why__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); gap: clamp(32px, 4.4vw, 80px); align-items: start; }
.cx-why__grid .cx-head { margin-bottom: 0; }
.cx-visit { display: grid; gap: 2px; margin-top: 8px; }
.cx-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--ecc-gap); margin: 0; padding: 0; list-style: none; }
.cx-fact { display: grid; align-content: start; gap: 12px; padding: 24px; border-radius: var(--ecc-r); background: var(--ecc-canvas); box-shadow: inset 0 0 0 1px var(--ecc-line-strong); }
.cx-fact__ico { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 6px; border-radius: var(--ecc-r-sm); background: var(--ecc-surface); color: var(--ecc-ink); box-shadow: inset 0 0 0 1px var(--ecc-line-strong); transition: box-shadow var(--ecc-d-base) var(--ecc-ease-out), color var(--ecc-d-fast) var(--ecc-ease-pixel); }
.cx-why.is-lit .cx-fact__ico, .cx:not(.cx-live) .cx-fact__ico { color: var(--ecc-lime); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ecc-lime) 60%, transparent), 0 0 18px -6px var(--cx-glow); }
.cx-fact__ico .ecc-icon { --ecc-icon-spark: var(--ecc-lime); }

/* ---------------------------------------------------------------- 6 · the three rules */
.cx-rules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--ecc-gap); margin: 0; padding: 0; list-style: none; }
.cx-rule { display: grid; align-content: start; gap: 12px; padding: 26px 24px 28px; border-radius: var(--ecc-r); background: var(--ecc-canvas); box-shadow: inset 0 0 0 1px var(--ecc-line-strong); }
.cx-rule__big { margin: 4px 0 6px; font-family: var(--ecc-f-mono); font-weight: 700; font-size: clamp(2rem, 1.6rem + 1.6vw, 3rem); line-height: 1; letter-spacing: -.02em; color: var(--ecc-ink); }
.cx-rule__big b { color: var(--ecc-spark); font-weight: inherit; }
.cx-rules__more { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 24px; color: var(--ecc-ink-2); }

/* ---------------------------------------------------------------- 7 · questions */
.cx-faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.3fr); gap: clamp(32px, 4.4vw, 80px); align-items: start; }
.cx-faq__grid .cx-head { margin-bottom: 0; }
.cx-faq .ecc-acc > summary { min-height: 64px; font-size: 1.125rem; }
.cx-faq .ecc-acc__body { max-width: 36em; font-size: 1rem; }
.cx-faq .ecc-acc[open] > summary { color: var(--ecc-ink); }
.cx-faq .ecc-acc > summary::before { content: ""; flex: none; width: 6px; height: 6px; margin-right: 4px; border-radius: 1px; background: var(--cx-wire); order: -1; }
.cx-faq .ecc-acc[open] > summary::before { background: var(--ecc-lime); box-shadow: 0 0 8px var(--cx-glow); }
.cx-faq .ecc-acc > summary span { flex: 1; }

/* ---------------------------------------------------------------- 8 · the end of the line */
.cx-join { min-height: 520px; display: grid; align-content: center; background-color: var(--ecc-surface); }
.cx-join.ecc-field-still { background: var(--ecc-surface); }
.cx-join::before { opacity: .5; }
.cx-join::after { opacity: .4; -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Crect x='1' y='1' width='10' height='10'/%3E%3C/svg%3E"), linear-gradient(90deg, transparent 28%, black 78%); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Crect x='1' y='1' width='10' height='10'/%3E%3C/svg%3E"), linear-gradient(90deg, transparent 28%, black 78%); -webkit-mask-size: 12px 12px, 100% 100%; mask-size: 12px 12px, 100% 100%; -webkit-mask-repeat: repeat, no-repeat; mask-repeat: repeat, no-repeat; -webkit-mask-composite: source-in; mask-composite: intersect; }
.cx-join__in { position: relative; display: grid; justify-items: start; gap: 22px; max-width: 46rem; }
.cx-join__h { font-size: clamp(2.75rem, 1.2rem + 5.4vw, 6.25rem); line-height: .92; letter-spacing: -.045em; font-weight: var(--ecc-fw-display); font-stretch: var(--ecc-wdth-display); }
.cx-join__h span { display: block; }
.cx-join .cx-acts { margin-top: 6px; }
.cx-join__call { margin: 0; color: var(--ecc-ink-2); }

/* ---------------------------------------------------------------- phones: the bar that stays */
.cx-bar { display: none; }
@media (max-width: 760px) {
  body:has([data-cx-bar]) { padding-bottom: 84px; }
  .cx-bar {
    position: fixed; left: 8px; right: 8px; bottom: max(8px, env(safe-area-inset-bottom)); z-index: var(--ecc-z-sticky);
    display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 14px;
    border-radius: var(--ecc-r); background: var(--ecc-surface-2); box-shadow: var(--ecc-elev-overlay), inset 0 2px 0 -1px color-mix(in srgb, var(--ecc-lime) 70%, transparent);
    visibility: hidden; transform: translateY(calc(100% + 24px));
    transition: transform var(--ecc-d-base) var(--ecc-ease-out), visibility 0s linear var(--ecc-d-base);
  }
  .cx-bar.is-shown { visibility: visible; transform: none; transition-delay: 0s; }
  .cx-bar__say { display: grid; gap: 2px; margin: 0; color: var(--ecc-ink-2); line-height: 1.3; }
  .cx-bar__say b { color: var(--ecc-ink); font-weight: inherit; }
  .cx-bar .ecc-btn { flex: none; padding: 0 18px; }
}

/* ---------------------------------------------------------------- the first screen powers on */
@media (prefers-reduced-motion: no-preference) {
  html:not([data-ecc-motion="paused"]) .cx-live .cx-h1 > span,
  html:not([data-ecc-motion="paused"]) .cx-live .cx-hero__say > :not(.cx-h1) { animation: cx-on 700ms var(--ecc-ease-out) both; animation-delay: calc(var(--i, 0) * 90ms); }
}
@keyframes cx-on { from { opacity: var(--ecc-standby); translate: 0 var(--ecc-rise); } }

/* ---------------------------------------------------------------- widths */
@media (max-width: 1180px) {
  .cx-flow__grid { grid-template-columns: minmax(0, 1fr); }
  .cx-ex { position: static; max-width: 34rem; }
  .cx-why__grid, .cx-faq__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 1023px) {
  .cx-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .cx-hero { min-height: 0; padding-bottom: clamp(44px, 6vw, 72px); }
  .cx-board { --cx-a: 18px; --cx-b: 34px; --cx-in: 66px; --cx-off: 18px; position: static; padding: 18px; max-width: 40rem; }
  .cx-way { display: none; }
  .cx-steps, .cx-rules { grid-template-columns: minmax(0, 1fr); }
  .cx-step__wire { margin-right: 0; }
  .cx-wired > li .cx-step__wire::before { content: ""; position: absolute; right: 0; top: -3.5px; width: 8px; height: 8px; border-radius: 1px; background: var(--cx-wire); }
  [data-cx-zone].is-lit .cx-wired > li .cx-step__wire::before, .cx:not(.cx-live) .cx-step__wire::before { background: var(--ecc-lime); box-shadow: 0 0 8px var(--cx-glow); }
}
@media (max-width: 860px) {
  .cx-tools { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .cx-board { --cx-a: 11px; --cx-b: 23px; --cx-in: 42px; --cx-off: 14px; padding: 14px; gap: 12px; }
  .cx-row { grid-template-columns: 124px minmax(0, 1fr); gap: 14px; }
  .cx-row .cx-led { --cx-dig: 40px; min-height: 84px; flex-direction: column; align-items: flex-start; justify-content: space-between; padding: 12px 12px 10px; gap: 8px; }
  .cx-row .cx-led__word { font-size: 20px; }
  .cx-row__say b { font-size: 1rem; }
  .cx-board__top { flex-wrap: wrap; }
  .cx-stop { grid-template-columns: minmax(0, 1fr); }
  .cx-stop .cx-led { min-height: 0; flex-direction: row; align-items: flex-end; --cx-dig: 64px; }
  .cx-facts { grid-template-columns: minmax(0, 1fr); }
  .cx-fact { grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; row-gap: 6px; }
  .cx-fact__ico { grid-row: span 2; width: 44px; height: 44px; margin: 0; }
  .cx-ex__total .cx-led__word { display: none; }
  .cx-pay__k { text-align: left; }
  .cx-qr { grid-template-columns: minmax(0, 1fr); }
  .cx-tool__view { padding: 18px; min-height: 0; }
  .cx-tool__say { padding: 18px 18px 22px; }
  .cx-ex { padding: 18px; }
  .cx-btn { width: 100%; }
  .cx-acts { width: 100%; }
  .cx-acts .ecc-btn { flex: 1 1 100%; }
  .cx-step { padding: 20px 18px 22px; }
  .cx-fact, .cx-rule { padding: 20px 18px 22px; }
  .cx-join { min-height: 0; }
  .cx-cells { gap: 3px; }
  .cx-cells i { height: 22px; }
}

/* ---------------------------------------------------------------- theme 0.51.0: read-outs that say a word */
/* the stages of "Your link at work" and the stops of the circuit: a word on the LED face, never a rate */
.cx-word {
  font-family: var(--ecc-f-dot); font-variation-settings: var(--ecc-dot-settings); font-weight: 900;
  font-size: calc(var(--cx-dig) * .5); line-height: .9; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
}
.cx-led--say .cx-led__num { align-items: center; }
.cx-led--say .cx-led__word { letter-spacing: .12em; }
.cx-row .cx-led--say { align-items: center; }
.cx-stop .cx-led--say .cx-word { font-size: calc(var(--cx-dig) * .44); }
.cx-pay .cx-led--say .cx-word { font-size: calc(var(--cx-dig) * .46); }
@media (max-width: 600px) {
  .cx-row .cx-led--say { align-items: flex-start; }
  .cx-row .cx-led--say .cx-word { font-size: 21px; }
  .cx-stop .cx-led--say .cx-word { font-size: 26px; }
}

/* ---------------------------------------------------------------- today's rates (the earnings section) */
/* one row per department the code works in; the table grows, shrinks or empties with the owner's settings */
.cx-rates { display: grid; gap: 14px; margin-bottom: clamp(40px, 5vw, 72px); }
.cx-rates__box {
  display: grid; max-width: 56rem; border-radius: var(--ecc-r); background: var(--ecc-canvas); overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--ecc-line-strong); transition: box-shadow var(--ecc-d-base) var(--ecc-ease-out);
}
.cx-rates.is-lit .cx-rates__box, .cx:not(.cx-live) .cx-rates__box { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ecc-lime) 55%, transparent), 0 0 24px -8px var(--cx-glow); }
.cx-rates__table { width: 100%; border-collapse: collapse; }
.cx-rates__table th, .cx-rates__table td { padding: 12px 20px; text-align: left; vertical-align: middle; }
.cx-rates__table thead th {
  padding-top: 16px; padding-bottom: 12px; color: var(--ecc-ink-2);
  font-family: var(--ecc-f-mono); font-size: var(--ecc-t-micro); font-weight: var(--ecc-fw-mono); letter-spacing: var(--ecc-ls-label); text-transform: uppercase;
}
.cx-rates__table tbody tr { border-top: 1px solid var(--ecc-line); }
.cx-rates__table tbody th { font-weight: var(--ecc-fw-strong); }
.cx-rates__dept { display: inline-flex; align-items: center; gap: 12px; min-height: var(--ecc-hit); color: var(--ecc-ink); text-decoration: none; }
.cx-rates__dept .ecc-icon { flex: none; color: var(--ecc-spark); }
@media (hover: hover) and (pointer: fine) {
  a.cx-rates__dept:hover span { text-decoration: underline; text-decoration-color: var(--ecc-spark); text-decoration-thickness: 2px; text-underline-offset: 6px; }
}
.cx-rates__v { font-family: var(--ecc-f-mono); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--ecc-ink); }
.cx-rates__v--save { color: var(--ecc-spark); }
.cx-rates__none { color: var(--ecc-ink-2); }
.cx-rates__empty { margin: 0; padding: 22px 20px; max-width: 40em; color: var(--ecc-ink); font-size: var(--ecc-t-body-lg); line-height: 1.5; }
.cx-rates__note { display: flex; align-items: center; gap: 10px; margin: 0; padding: 14px 20px; border-top: 1px solid var(--ecc-line); background: var(--ecc-surface); color: var(--ecc-ink-2); font-size: var(--ecc-t-small); }
.cx-rates__note .ecc-pip { flex: none; }
@media (max-width: 600px) {
  .cx-rates__table thead { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  .cx-rates__table tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 4px 0 12px; }
  .cx-rates__table tbody th { grid-column: 1 / -1; padding: 6px 16px 2px; }
  .cx-rates__table td { display: grid; align-content: start; gap: 4px; padding: 4px 16px; }
  .cx-rates__table td::before { content: attr(data-k); color: var(--ecc-ink-2); font-family: var(--ecc-f-mono); font-size: var(--ecc-t-micro); letter-spacing: var(--ecc-ls-label); text-transform: uppercase; }
  .cx-rates__v { white-space: normal; }
  .cx-rates__note, .cx-rates__empty { padding-inline: 16px; }
  .cx-rates__note { align-items: flex-start; }
  .cx-rates__note .ecc-pip { margin-top: 6px; }
}

/* the example names a real product: its name opens it */
.cx-ex__name a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: var(--ecc-line-strong); text-underline-offset: 6px; }
@media (hover: hover) and (pointer: fine) { .cx-ex__name a:hover { text-decoration-color: var(--ecc-spark); text-decoration-thickness: 2px; } }
/* no example (no priced product in stock where the code works): the stops take the whole width */
.cx-flow__grid--solo { grid-template-columns: minmax(0, 1fr); }
.cx-flow__grid--solo .cx-stops { max-width: 64rem; }

/* sign-ups closed: a quiet line with the store's phone where the call to action was */
.cx-closed { margin: 0; max-width: 34em; color: var(--ecc-ink-2); font-size: var(--ecc-t-body-lg); line-height: 1.5; }
.cx-closed .cx-link { display: inline; min-height: 0; padding-block: 12px; }
.cx-acts .cx-closed { flex: 1 1 100%; }

/* ---------------------------------------------------------------- still: reduced motion and Pause motion */
@media (prefers-reduced-motion: reduce) {
  .cx *, .cx *::before, .cx *::after, .cx-bar { transition: none !important; animation: none !important; }
}
html[data-ecc-motion="paused"] .cx *, html[data-ecc-motion="paused"] .cx *::before, html[data-ecc-motion="paused"] .cx *::after, html[data-ecc-motion="paused"] .cx-bar { transition: none !important; animation: none !important; }
@media (forced-colors: active) {
  .cx-node, .cx-cells i, .cx-chart__cols i { border: 1px solid CanvasText; }
  .cx-spine__lit, .cx-spine__head { stroke: Highlight; fill: Highlight; }
}
