/* NatWest Bankline (prefix nw; the data visualisation instrument nv). Product UI only: Inter and his palette live
   inside the screens and the instrument, the frame stays Overused Grotesk. Spec: tools/natwest/DATAVIZ.md. */
@font-face { font-family: 'Inter'; src: url('../fonts/InterVariable.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --nw-night: #1E1941; --nw-night-hi: #2B2353; --nw-panel: #1A132A;
  --nw-teal: #2EC9C9; --nw-teal-hi: #3AD6D6; --nw-violet: #B552F0;
  --nw-muted: #9A8FC8;   /* his #8579B0 lifted to 4.7:1 on the night panel, so small labels pass AA */ --nw-soft: #B3A9D6;
}

/* ---------- the figures: per-digit columns that roll (Robinhood Ticker, rebuilt) ---------- */
.tk { display: inline-flex; align-items: flex-end; font-variant-numeric: tabular-nums; font-feature-settings: 'tnum' 1; line-height: 1.1; white-space: nowrap; }
.tk-c { display: inline-block; height: 1.1em; overflow: hidden; }   /* colour moves on GSAP */
.tk-d { -webkit-mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent); }
.tk-c i { display: block; height: 1.1em; line-height: 1.1em; font-style: normal; text-align: center; }
.tk-s i { height: 1.6em; line-height: 1.6em; }   /* a digit cell taller than its window: neighbours never peek (POS in nw-viz.js) */
.tk-s { display: block; will-change: transform; }   /* GSAP moves it */
.tk-sm { font-size: 0.5em; margin-bottom: 0.186em; }   /* small pound and pence on the big figure's baseline (Inter: ascent 0.969, descent 0.241) */
.tk-up { color: var(--nw-teal-hi) !important; transition: none; }
.tk-down { color: var(--nw-violet) !important; transition: none; }

/* ---------- the instrument ---------- */
.nv-stage { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }   /* the showcase takes the whole measure (critique 8) */
.nv-stage .nx-beats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 2vw, 28px); }
.nv-stage .nx-beat { grid-template-columns: minmax(0, 1fr); row-gap: 12px; align-content: start; }
.nv-stage .nx-track { grid-row: auto; height: 2px; }
.nv-stage .nx-track i { transform: scaleX(0); transform-origin: left; }
.nv-stage .nx-beat .ph-num, .nv-stage .nx-beat .ph-small { display: none; }
.nv-why { margin: 0 0 10px; min-height: 2.6em; color: rgba(255, 255, 255, 0.72); opacity: 0; transform: translateY(4px); transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.2, 0, 0, 1); }
.nv-why.in { opacity: 1; transform: none; }
.nv { position: relative; font-family: 'Inter', system-ui, sans-serif; color: #fff; }
.nv-card { position: relative; border-radius: 28px; padding: 28px 28px 22px; background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.025));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.07), 0 40px 80px -40px rgba(4, 2, 18, 0.7); }
.nv-title { margin: 0; min-height: 1.3em; font-size: 17px; font-weight: 600; color: var(--nw-soft); letter-spacing: 0;
  opacity: 0; transform: translateY(4px); transition: opacity 0.28s ease, transform 0.4s cubic-bezier(0.2, 0, 0, 1); }
.nv-title.in { opacity: 1; transform: none; }
.nv-title b { font-weight: 600; color: var(--nw-teal-hi); }
.nv-title.up { color: #fff; }
.nv-arrow { width: 12px; height: 12px; margin-left: 6px; vertical-align: -1px; fill: none; stroke: var(--nw-teal-hi); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nv-plot { position: relative; aspect-ratio: 2.3 / 1; margin: 6px -12px 0; }
.nv-plot canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; cursor: crosshair; }
[data-view="wheel"] .nv-plot canvas { cursor: default; }
/* the wheel's centre: his composition, + money in, the transactions pill, - money out */
.nv-centre { position: absolute; left: 50%; top: 47%; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 2px; pointer-events: none;
  opacity: 0; transition: opacity 0.3s ease; }
.nv-centre { transition: opacity 0.15s ease; }   /* it clears first, before any arc moves */
.nv-centre.on { opacity: 1; transition: opacity 0.5s ease 0.35s; }
.nv-cf { font-size: calc(var(--nvr, 130px) * 0.18); font-weight: 600; }   /* the centre is sized from the ring (--nvr, set by the script) */
.nv-cf.in { color: var(--nw-teal); } .nv-cf.out { color: var(--nw-violet); }
.nv-cl { font-size: calc(var(--nvr, 130px) * 0.12); font-weight: 600; color: #fff; margin-bottom: calc(var(--nvr, 130px) * 0.02); }
.nv-pill { margin: calc(var(--nvr, 130px) * 0.07) 0 calc(var(--nvr, 130px) * 0.09); padding: 0.45em 0.9em; border-radius: 99px; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18); font-size: calc(var(--nvr, 130px) * 0.1); font-weight: 500; color: var(--nw-soft); }
/* the readout row: his three figures under every chart, split by hairlines */
.nv-row { display: grid; grid-template-columns: 1fr 1.25fr 1fr; margin-top: 18px; }
.nv-row > div { display: grid; justify-items: center; gap: 4px; padding: 2px 8px; }
.nv-row > div + div { box-shadow: -1px 0 0 rgba(255,255,255,0.1); }
.nv-fig { font-size: 19px; font-weight: 600; }
.nv-fig.in { color: var(--nw-teal); } .nv-fig.out { color: var(--nw-violet); } .nv-fig.bal { color: #fff; font-size: 23px; }
.nv-lab { font-size: 12px; color: var(--nw-muted); white-space: nowrap; }

@media (max-width: 999px) { .nv-plot { aspect-ratio: 16 / 9; } }
@media (max-width: 560px) {
  .nv-card { padding: 20px 16px 16px; border-radius: 22px; }
  .nv-plot { aspect-ratio: 5 / 4.4; margin: 4px -6px 0; }
  .nv-fig { font-size: 14px; } .nv-fig.bal { font-size: 16px; } .nv-lab { font-size: 10px; }
  .nv-row > div { padding: 2px 4px; }
}

/* ---------- his screens, in his points (--u: one point of a 375 pt screen). Figma 2342:2 and 2347:2 ---------- */
.nw-phone .ip-scr { background: #1E1941; }
.nw-scr { position: absolute; inset: 0; --u: calc(100cqw / 375); font-family: 'Inter', system-ui, sans-serif; color: #fff; letter-spacing: 0;
  background: linear-gradient(180deg, #2B2353, #1E1941); font-size: calc(var(--a-subhead) * var(--u)); line-height: 1.21; }
.nw-scr p { margin: 0; max-width: none; }
:where(.nw-scr) :where(button) { all: unset; box-sizing: border-box; cursor: pointer; }   /* zero specificity: the buttons' own styles win */
.nw-i { display: block; flex: none; }
.nw-money small { font-size: 0.5em; }
.nw-scr .tk { line-height: 1.1; }

/* the dashboard (v2) */
.nw-home { position: absolute; inset: 0 0 calc(88 * var(--u)); overflow: hidden; padding-top: calc(60 * var(--u)); }
.nw-chips { display: flex; gap: calc(8 * var(--u)); padding-left: calc(16 * var(--u)); white-space: nowrap; }
.nw-chip { height: calc(34 * var(--u)); padding: calc(2 * var(--u)) calc(12 * var(--u)) 0;   /* optical: the label's capitals sit high in the pill, so the box sets it down 1pt */
  border-radius: calc(17 * var(--u)); display: inline-flex !important; align-items: center;
  font-size: calc(var(--a-subhead) * var(--u)); font-weight: 500; color: #B3A9D6; background: rgba(255,255,255,0.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12);
  transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease; }
.nw-chip.on { background: #fff; color: #1C1640; font-weight: 600; box-shadow: none; }
.nw-pers { display: flex; align-items: center; justify-content: space-between; gap: calc(10 * var(--u)); margin-top: calc(20 * var(--u)); padding: 0 calc(16 * var(--u));   /* both margins 16pt, the tabs share the width (one ran off the right edge) */ white-space: nowrap; }
.nw-per { font-size: calc(var(--a-subhead) * var(--u)); color: #9A8FC8; transition: color 0.3s ease; display: inline-flex !important; align-items: center; gap: calc(5 * var(--u)); }
.nw-per.on { color: #fff; font-weight: 600; }
.nw-per svg { width: calc(15 * var(--u)); height: calc(15 * var(--u)); }
.nw-pers-rule { width: 1px; height: calc(16 * var(--u)); background: rgba(255,255,255,0.1); margin: 0 calc(-1 * var(--u)); }
.nw-bal { margin-top: calc(22 * var(--u)) !important; text-align: center; font-size: calc(40 * var(--u)); font-weight: 700; color: #3AD6D6; }
.nw-bal-l { text-align: center; font-size: calc(var(--a-subhead) * var(--u)); color: #A99FC7; margin-top: calc(2 * var(--u)) !important; }
.nw-pager { position: relative; margin-top: calc(28 * var(--u)); height: calc(272 * var(--u)); overflow-x: clip; overflow-y: visible; }   /* clips only sideways, for the slide: the ring glow is never cut (Arash) */
.nw-pages { display: flex; width: 200%; height: calc(242 * var(--u)); }   /* GSAP slides it */
.nw-pg { position: relative; width: 50%; height: 100%; }   /* never .nw-page: that is the body class of the page */
.nw-wheel .nw-ring { position: absolute; left: calc(66.5 * var(--u)); top: 0; width: calc(242 * var(--u)); height: calc(242 * var(--u)); transform: rotate(-90deg); overflow: visible; }
.nw-ring circle { fill: none; }
.nw-ring-track { stroke: rgba(255,255,255,0.04); stroke-width: 12; }
.nw-arc { stroke-linecap: round; }   /* GSAP draws it */
.nw-arc-in { stroke: #2EC9C9; filter: drop-shadow(0 0 6px rgba(46,201,201,0.45)); }
.nw-arc-out { stroke: #B552F0; filter: drop-shadow(0 0 6px rgba(181,82,240,0.45)); }
.nw-wc { position: absolute; inset: 0; display: grid; align-content: center; justify-items: center; padding-top: calc(4 * var(--u)); }
.nw-wf { font-size: calc(var(--a-title-l) * var(--u)); font-weight: 600; }
.nw-wf.in { color: #2EC9C9; } .nw-wf.out { color: #B552F0; }
.nw-wl { font-size: calc(var(--a-callout) * var(--u)); font-weight: 600; margin-top: calc(1 * var(--u)) !important; }
.nw-pill { margin: calc(12 * var(--u)) 0 !important; height: calc(32 * var(--u)); padding: 0 calc(11 * var(--u)); border-radius: calc(16 * var(--u)); display: grid; place-items: center;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18); font-size: calc(var(--a-footnote) * var(--u)); font-weight: 500; color: #B3A9D6; }
.nw-flow { padding: calc(8 * var(--u)) calc(30 * var(--u)) 0; }
.nw-flow-figs { display: flex; justify-content: space-between; }
.nw-flow-figs p { display: grid; font-size: calc(var(--a-title-m) * var(--u)); font-weight: 600; }
.nw-flow-figs p span { font-size: calc(var(--a-caption) * var(--u)); font-weight: 400; color: #9A8FC8; }
.nw-flow-figs .in { color: #2EC9C9; } .nw-flow-figs .out { color: #B552F0; text-align: right; }
.nw-bars { position: relative; height: calc(150 * var(--u)); margin: calc(18 * var(--u)) 0 0 calc(4 * var(--u)); }
.nw-bar { position: absolute; left: calc(var(--x) * 1.03 * var(--u)); top: calc((var(--y) + 30) * 1.25 * var(--u)); width: calc(9 * var(--u)); height: calc(var(--h) * 1.25 * var(--u));
  border-radius: calc(5 * var(--u)); transform-origin: 50% 100%; transition: transform 0.7s cubic-bezier(0.05, 0.7, 0.1, 1) calc(var(--k) * 40ms), opacity 0.3s ease calc(var(--k) * 40ms); }
.nw-bar.in { background: #2EC9C9; box-shadow: 0 0 10px rgba(46,201,201,0.35); } .nw-bar.out { background: #B552F0; box-shadow: 0 0 10px rgba(181,82,240,0.35); }
.nw-pager:not([data-page="1"]) .nw-bar { transform: scaleY(0.05); opacity: 0; }
.nw-axis { display: flex; justify-content: space-between; margin-top: calc(6 * var(--u)) !important; font-size: calc(var(--a-footnote) * var(--u)); color: #9A8FC8; }
.nw-dots { position: absolute; left: 0; right: 0; bottom: calc(6 * var(--u));   /* clear of the ring: 18 below its outer edge */ display: flex; justify-content: center; gap: calc(8 * var(--u)); }
.nw-dots i { width: calc(8 * var(--u)); height: calc(8 * var(--u)); border-radius: 50%; background: rgba(255,255,255,0.3); transition: background 0.3s ease, width 0.35s ease; }
.nw-pager:not([data-page="1"]) .nw-dots i:first-child, .nw-pager[data-page="1"] .nw-dots i:last-child { background: #fff; }
/* one card for every screen (his 2339:2): white 6% on the ground, a 1px white 6% hairline, radius 20, padding 15 */
.nw-card { margin: calc(12 * var(--u)) calc(16 * var(--u)) 0; border-radius: calc(20 * var(--u)); padding: calc(15 * var(--u));
  background: rgba(255,255,255,0.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06); }
.nw-ct { font-size: calc(var(--a-body) * var(--u)); font-weight: 600; margin-bottom: calc(12 * var(--u)) !important; }
.nw-ct.nw-small { font-size: calc(var(--a-footnote) * var(--u)); font-weight: 500; color: #A99FC7; display: flex; gap: calc(6 * var(--u)); align-items: center; margin-bottom: calc(10 * var(--u)) !important; }
.nw-ct svg { width: calc(16 * var(--u)); height: calc(16 * var(--u)); }
.nw-pay { display: flex; justify-content: space-between; align-items: center; }
.nw-pay + .nw-pay { margin-top: calc(12 * var(--u)); }
.nw-pay p { display: grid; gap: calc(3 * var(--u)); }
.nw-pay b { font-size: calc(var(--a-callout) * var(--u)); font-weight: 500; }
.nw-pay p:first-child > span { font-size: calc(var(--a-footnote) * var(--u)); color: #A99FC7; }
.nw-amt { height: calc(32 * var(--u)); padding: 0 calc(12 * var(--u)); border-radius: calc(16 * var(--u)); background: #17807F; display: inline-flex !important; align-items: center;
  font-size: calc(var(--a-footnote) * var(--u)); font-weight: 600; color: #fff; }
.nw-amt span, .nw-amt.done span { color: inherit; }   /* the figure takes the pill's ink, never the row's muted label colour */
.nw-amt:active, .nw-amt.press { transform: scale(0.96); }
.nw-amt.done { background: #2EC9C9; color: #102A2E; }
.nw-in { font-size: calc(var(--a-callout) * var(--u)); font-weight: 600; color: #34E5A6; }
.nw-nav { position: absolute; left: 0; right: 0; bottom: 0; height: calc(88 * var(--u)); display: grid; grid-template-columns: repeat(4, 1fr); padding-top: calc(16 * var(--u));
  background: rgba(18,14,48,0.94); box-shadow: inset 0 1px 0 rgba(255,255,255,0.08); }
.nw-tab { display: grid; justify-items: center; align-content: start; gap: calc(6 * var(--u)); color: #9A8FC8; }
.nw-tab svg { width: calc(26 * var(--u)); height: calc(26 * var(--u)); }
.nw-tab svg [stroke] { stroke: currentColor; }
.nw-tab b { font-size: calc(var(--a-micro) * var(--u)); font-weight: 500; }
.nw-tab.on { color: #2EC9C9; }

/* the three screens (S1 Connect, S2 Next 7 days, S3 Dashboard settings) */
.nw-s { position: absolute; inset: 0; padding: calc(80 * var(--u)) calc(16 * var(--u)) 0; background: linear-gradient(136deg, #342A60 0%, #1F1841 77%); }
.nw-h1 { font-size: calc(var(--a-large) * var(--u)); font-weight: 700; line-height: 1.19; letter-spacing: -0.01em; }
.nw-h2 { font-size: calc(var(--a-title-xl) * var(--u)); font-weight: 700; }
.nw-sub { margin-top: calc(14 * var(--u)) !important; font-size: calc(var(--a-body) * var(--u)); color: #C3BCE0; line-height: 1.2; }
.nw-sub.nw-small { display: block; margin-top: calc(8 * var(--u)) !important; font-size: calc(var(--a-subhead) * var(--u)); }
.nw-kick { margin-top: calc(32 * var(--u)) !important; font-size: calc(var(--a-footnote) * var(--u)); font-weight: 600; letter-spacing: 0.046em; color: rgba(195,188,224,0.8); }
.nw-provs { display: grid; grid-template-columns: 1fr 1fr; gap: calc(16 * var(--u)); margin-top: calc(18 * var(--u)); }
.nw-prov { height: calc(140 * var(--u)); border-radius: calc(22 * var(--u)); background: rgba(255,255,255,0.94); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.14), 0 10px 30px rgba(0,0,0,0.25);
  display: grid; place-items: center; align-content: center; gap: calc(10 * var(--u)); color: #16132B; transition: transform 0.2s cubic-bezier(0.2, 0, 0, 1); }
.nw-prov b { font-size: calc(var(--a-subhead) * var(--u)); font-weight: 600; }
.nw-t-sage > svg { width: calc(77 * var(--u)); } .nw-t-qb > svg { width: calc(54 * var(--u)); } .nw-t-fa > svg { width: calc(117 * var(--u)); } .nw-t-xero > svg { width: calc(72 * var(--u)); }
.nw-prov.press { transform: scale(0.97); }
.nw-notnow { position: absolute; left: 50%; top: calc(712 * var(--u)); translate: -50% 0; width: calc(229 * var(--u)); height: calc(54 * var(--u)); border-radius: calc(27 * var(--u));
  background: rgba(255,255,255,0.05); display: grid; place-items: center; font-size: calc(var(--a-body) * var(--u)); font-weight: 600; }
.nw-next, .nw-set { padding-top: calc(62 * var(--u)); }   /* his frames have no status bar: moved below the real one */
.nw-co { font-size: calc(var(--a-subhead) * var(--u)); font-weight: 600; color: #C3BCE0; }
.nw-x { position: absolute; right: calc(16 * var(--u)); top: calc(68 * var(--u)); width: calc(32 * var(--u)); height: calc(32 * var(--u)); border-radius: 50%; background: rgba(255,255,255,0.1); display: grid; place-items: center; }
.nw-x svg { width: calc(16 * var(--u)); height: calc(16 * var(--u)); }
.nw-x svg [stroke] { stroke: #C3BCE0; }
.nw-set .nw-x { top: calc(70 * var(--u)); }
.nw-srcs { position: absolute; left: calc(16 * var(--u)); right: calc(16 * var(--u)); top: calc(166 * var(--u)); bottom: 0; overflow: hidden; display: grid; align-content: start; gap: calc(16 * var(--u)); }
.nw-src { border-radius: calc(20 * var(--u)); background: rgba(255,255,255,0.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06); padding: calc(20 * var(--u)) calc(16 * var(--u)) calc(4 * var(--u)); }
.nw-src-h { display: flex; align-items: center; gap: calc(14 * var(--u)); padding-bottom: calc(15 * var(--u)) !important; box-shadow: 0 1px 0 rgba(255,255,255,0.1); }
.nw-src-i { width: calc(52 * var(--u)); height: calc(52 * var(--u)); border-radius: calc(16 * var(--u)); background: rgba(255,255,255,0.05); display: grid; place-items: center; }
.nw-src-i svg { width: calc(34 * var(--u)); height: calc(34 * var(--u)); }
.nw-src-h b { font-size: calc(var(--a-title-s) * var(--u)); font-weight: 700; flex: 1; }
.nw-conn { height: calc(30 * var(--u)); padding: 0 calc(12 * var(--u)); border-radius: calc(15 * var(--u)); background: rgba(52,229,166,0.14); color: #34E5A6; display: inline-flex; align-items: center; gap: calc(5 * var(--u));
  font-size: calc(var(--a-caption) * var(--u)); font-weight: 600; }
.nw-conn i { width: calc(7 * var(--u)); height: calc(7 * var(--u)); border-radius: 50%; background: #34E5A6; }
.nw-row { display: flex; justify-content: space-between; padding: calc(15 * var(--u)) 0 calc(13 * var(--u)) !important; }
.nw-row + .nw-row { box-shadow: 0 -1px 0 rgba(255,255,255,0.06); }
.nw-row > span { display: grid; gap: calc(4 * var(--u)); }
.nw-row .r { text-align: right; }
.nw-row b { font-size: calc(var(--a-callout) * var(--u)); font-weight: 500; }
.nw-row .r b { font-weight: 600; }
.nw-row small { font-size: calc(var(--a-footnote) * var(--u)); color: #A99FC7; }
.nw-set .nw-h2 { font-size: calc(var(--a-title-xl) * var(--u)); margin-top: calc(4 * var(--u)) !important; }
.nw-seg { position: relative; display: grid; grid-template-columns: 1fr 1.25fr 1fr; align-items: center; height: calc(42 * var(--u)); margin-top: calc(22 * var(--u)); border-radius: 100px; background: rgba(255,255,255,0.1);
  font-size: calc(var(--a-footnote) * var(--u)); color: #C3BCE0; text-align: center; }
.nw-seg span { position: relative; z-index: 1; }
.nw-seg span.on { color: #16132B; font-weight: 600; }
.nw-seg-ink { position: absolute; left: 50%; top: calc(5 * var(--u)); width: calc(120 * var(--u)); height: calc(32 * var(--u)); translate: -50% 0; border-radius: 100px; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,0.2); }
.nw-set .nw-kick { margin-top: calc(22 * var(--u)) !important; }
.nw-lays { display: grid; grid-template-columns: 1fr 1fr; gap: calc(16 * var(--u)); margin-top: calc(12 * var(--u)); }
.nw-lay { position: relative; height: calc(100 * var(--u)); border-radius: calc(18 * var(--u)); background: rgba(255,255,255,0.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.14), 0 10px 30px rgba(0,0,0,0.25);
  display: grid !important; place-items: center; transition: box-shadow 0.3s ease; }
.nw-lay.on { box-shadow: inset 0 0 0 calc(2 * var(--u)) #2EE6D6, 0 10px 30px rgba(0,0,0,0.25); }
.nw-lay-ring { width: calc(42 * var(--u)); height: calc(42 * var(--u)); border-radius: 50%; box-shadow: inset 0 0 0 calc(5 * var(--u)) #C3BCE0; }
.nw-lay-bars { display: flex; align-items: flex-end; gap: calc(7 * var(--u)); height: calc(61 * var(--u)); }
.nw-lay-bars i { width: calc(9 * var(--u)); height: calc(var(--h) * var(--u)); border-radius: calc(3 * var(--u)); background: rgba(195,188,224,0.6); }
.nw-lay-tick { position: absolute; right: calc(-10 * var(--u)); top: calc(-10 * var(--u)); width: calc(26 * var(--u)); height: calc(26 * var(--u)); border-radius: 50%; background: #2EE6D6;
  display: grid; place-items: center; transform: scale(0); transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1); }
.nw-lay.on .nw-lay-tick { transform: scale(1); }
.nw-check { width: 62%; height: 62%; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.nw-ws { list-style: none; margin: calc(12 * var(--u)) 0 0; padding: 0 0 0 calc(18 * var(--u)); border-radius: calc(18 * var(--u)); background: rgba(255,255,255,0.07); }
.nw-w { display: flex; align-items: center; height: calc(62 * var(--u)); padding-right: calc(22 * var(--u)); font-size: calc(var(--a-body) * var(--u)); font-weight: 500; transition: transform 0.45s cubic-bezier(0.32, 0.72, 0, 1); }
.nw-w + .nw-w { box-shadow: 0 -1px 0 rgba(255,255,255,0.1); }
.nw-w > span { flex: 1; }
.nw-tog { position: relative; width: calc(51 * var(--u)); height: calc(31 * var(--u)); border-radius: 99px; background: rgba(255,255,255,0.18); transition: background 0.25s ease; margin-right: calc(14 * var(--u)); }
.nw-tog i { position: absolute; left: calc(2 * var(--u)); top: calc(2 * var(--u)); width: calc(27 * var(--u)); height: calc(27 * var(--u)); border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1); }
.nw-tog.on { background: #2EE6D6; }
.nw-tog.on i { transform: translateX(calc(20 * var(--u))); }
.nw-grip { width: calc(20 * var(--u)); height: calc(20 * var(--u)); opacity: 0.9; }

/* ---------- the figure specimen (his type, product UI) ---------- */
.nw-spec { font-family: 'Inter', system-ui, sans-serif; font-size: clamp(34px, 9.5vw, 64px); font-weight: 700; letter-spacing: -0.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.nw-spec small { font-size: 0.5em; }

/* ---------- the wheel, layer by layer: apart in depth, then together (Komarov's build-up, his ring) ---------- */
.nw-an { display: grid; justify-items: center; gap: 22px; width: 100%; font-family: 'Inter', system-ui, sans-serif; color: #fff; }
.nw-an-view { position: relative; width: min(100%, 560px); aspect-ratio: 1.25; border-radius: 28px; background: radial-gradient(90% 80% at 50% 40%, #2B2353, #1E1941);
  perspective: 1500px; perspective-origin: 50% 30%; overflow: hidden; display: grid; place-items: center; --u: 1px; }
.nw-an-3d { position: relative; width: 264px; height: 264px; transform-style: preserve-3d; transition: transform 1.1s cubic-bezier(0.32, 0.72, 0, 1); }
.nw-an-l { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform 1.1s cubic-bezier(0.32, 0.72, 0, 1) calc((3 - var(--i)) * 60ms); }
.nw-an.apart .nw-an-l { transform: translateZ(calc(var(--i) * 62px)); transition-delay: calc(var(--i) * 70ms); }
.nw-an-l > svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.nw-an-l .nw-ring { transform: rotate(-90deg); }
.nw-an .nw-hide { display: none; }
.nw-an-figs { position: absolute; inset: 0; display: grid; align-content: center; justify-items: center; }
.nw-an-figs .nw-wf { font-size: 24px; } .nw-an-figs .nw-wl { font-size: 16px; } .nw-an-figs .nw-pill { font-size: 13px; height: 32px; padding: 0 11px; margin: 12px 0; border-radius: 16px; }
.nw-an-view { --labw: 34%; }
.nw-an.apart .nw-an-3d { transform: translateX(-88px) translateY(26px) rotateX(58deg) rotateZ(-34deg) scale(0.86); }
.nw-an-labs { position: absolute; right: 22px; top: 0; bottom: 0; width: calc(var(--labw) - 22px); list-style: none; margin: 0; padding: 0; pointer-events: none; }
.nw-an-labs li { position: absolute; left: 0; right: 0; top: var(--y, 50%); transform: translateY(-50%); font-size: 13px; line-height: 1.3; font-weight: 500; color: #B3A9D6;
  opacity: 0; transition: opacity 0.35s ease; }
.nw-an-leads { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.nw-an-leads path { fill: none; stroke: rgba(179, 169, 214, 0.45); stroke-width: 1; stroke-dasharray: 2 3; opacity: 0; transition: opacity 0.35s ease; }
.nw-an-leads circle { fill: #B3A9D6; opacity: 0; transition: opacity 0.35s ease; }
.nw-an.labelled .nw-an-labs li, .nw-an.labelled .nw-an-leads path, .nw-an.labelled .nw-an-leads circle { opacity: 1; }
.nw-an-btn { all: unset; cursor: pointer; font-family: 'Overused Grotesk', var(--sans); font-size: var(--t-small); font-weight: 500; color: var(--ph-ink, #1C1640);
  padding: 10px 18px; border-radius: 99px; box-shadow: inset 0 0 0 1.5px currentColor; transition: transform 0.16s cubic-bezier(0.2, 0, 0, 1); }
.nw-an-btn:active { transform: scale(0.97); }
.nw-an-btn:focus-visible { outline: 2px solid var(--ph-red); outline-offset: 3px; }
@media (max-width: 560px) { .nw-an-view { --labw: 40%; aspect-ratio: 1 / 1.08; } .nw-an-3d { transform: scale(0.72); } .nw-an.apart .nw-an-3d { transform: translateX(-17%) translateY(58px) rotateX(58deg) rotateZ(-34deg) scale(0.48); } .nw-an-labs li { font-size: 11px; } }
@media (prefers-reduced-motion: reduce) { .nw-an-3d, .nw-an-l { transition: none; } }

/* ================= second pass: his alpha's flows, in his points ================= */
/* one set of parts on every screen (his 2339:2): card white 6% + 1px white 6% hairline, radius 20 (the action card 18),
   padding 15, margins 16; titles 22 bold, card titles 17 semibold, rows 16 medium, meta 13 regular in #A99FC7;
   money in #34E5A6, money out #D65CD0; the chart keeps its teal and violet */
.nw-proto .nw-scr { overflow: hidden; }
.nw-scr [hidden], .nw-comp [hidden] { display: none !important; }   /* hidden wins over every display rule */
.nw-scrn { position: absolute; inset: 0; will-change: transform; }
.nw-dots i.on { background: #fff !important; }
.nw-pager[data-page] .nw-dots i:first-child { background: rgba(255,255,255,0.3); }
.nw-pager .nw-dots i.on { background: #fff; }
/* the pairs: money in rising, money out falling, from each day's balance; the line threads them */
.nw-pairs { padding: 0 calc(16 * var(--u)); }
.nw-figs { display: grid; grid-template-columns: 1fr 1.3fr 1fr; text-align: center; margin: calc(4 * var(--u)) 0 calc(6 * var(--u)) !important; }
.nw-figs span { display: grid; justify-items: center; gap: calc(2 * var(--u)); }
.nw-figs span + span { box-shadow: -1px 0 0 rgba(255,255,255,0.1); }
.nw-figs b { font-size: calc(var(--a-callout) * var(--u)); font-weight: 600; }
.nw-figs span:first-child b { color: #2EC9C9; } .nw-figs span:last-child b { color: #B552F0; }
.nw-figs i { font-style: normal; font-size: calc(var(--a-footnote) * var(--u)); color: #A99FC7; }
.nw-pairs-svg { display: block; width: 100%; height: auto; overflow: visible; touch-action: pan-y; cursor: crosshair; }
.nw-pg-grid line { stroke: rgba(255,255,255,0.06); stroke-width: 1; }
.nw-pg-sel { fill: rgba(255,255,255,0.09); }
.nw-pg-ax text { fill: #A99FC7; font-size: 12px; text-anchor: middle; font-family: Inter, system-ui; }
.nw-pg-ax text.today, .nw-pg-ax text.on { fill: #fff; font-weight: 600; }
.nw-pg-line { fill: none; stroke: rgba(58, 214, 214, 0.55); stroke-width: 2; stroke-linecap: round; }
.nw-pr line { stroke-width: 7; stroke-linecap: round; }
.nw-pr .in { stroke: #2EC9C9; filter: drop-shadow(0 0 4px rgba(46,201,201,0.45)); }
.nw-pr .out { stroke: #B552F0; filter: drop-shadow(0 0 4px rgba(181,82,240,0.45)); }
.nw-pg-dot { fill: #3AD6D6; stroke: #1E1941; stroke-width: 2.5; }
/* the action card under the wheel: approvals, or on Next 7 days the way to connect; one component */
.nw-slot { margin: calc(18 * var(--u)) calc(16 * var(--u)) 0; }
.nw-slot .nw-card { margin: 0; width: 100%; }
.nw-act { display: flex !important; align-items: center; gap: calc(12 * var(--u)); border-radius: calc(18 * var(--u)) !important; }
.nw-approve-cta { background: linear-gradient(90deg, #2E8F87, rgba(51,229,166,0.85)) !important; box-shadow: none !important; }
.nw-act.press, .nw-cta.press, .nw-prov.press, .nw-per.press { transform: scale(0.97); }
.nw-ac-i { width: calc(40 * var(--u)); height: calc(40 * var(--u)); border-radius: 50%; background: rgba(255,255,255,0.18); display: grid; place-items: center; flex: none; }
.nw-ac-i:not(.nw-ac-logos) svg { width: calc(20 * var(--u)); height: calc(20 * var(--u)); }
.nw-ac-i:not(.nw-ac-logos) svg [stroke] { stroke: #fff; }
.nw-ac-t { display: grid; gap: calc(3 * var(--u)); flex: 1; min-width: 0; }
.nw-ac-t b { font-size: calc(var(--a-body) * var(--u)); font-weight: 600; } .nw-ac-t small { font-size: calc(var(--a-footnote) * var(--u)); color: rgba(255,255,255,0.9); }
.nw-ac-chev { width: calc(20 * var(--u)); height: calc(20 * var(--u)); }
.nw-connect-cta { background: rgba(52,229,166,0.1) !important; box-shadow: inset 0 0 0 1px rgba(52,229,166,0.45) !important; }
.nw-connect-cta .nw-ac-i { background: rgba(52,229,166,0.16); }
.nw-connect-cta .nw-ac-i svg [stroke] { stroke: #34E5A6; }
.nw-connect-cta .nw-ac-t small { color: #A99FC7; }
.nw-home2 .nw-pill { cursor: pointer; }
/* Last 7 days: pending first, each day with its closing balance */
.nw-tx-s { padding-top: calc(62 * var(--u)); overflow: hidden; }
.nw-seg3 { grid-template-columns: repeat(3, 1fr); margin-top: calc(16 * var(--u)); }
.nw-seg3 span { cursor: pointer; } .nw-seg3 span.on { color: #16132B; font-weight: 600; }
.nw-seg3 .nw-seg-ink { left: calc(5 * var(--u)); translate: none; width: calc(106 * var(--u)); }
/* a list that runs on under the home indicator: it fades out at the foot and in under the title, and scrolls far enough
   that its last row can be read whole */
.nw-txs, .nw-srcs { --fade: linear-gradient(transparent, #000 calc(10 * var(--u)), #000 calc(100% - 56 * var(--u)), transparent calc(100% - 10 * var(--u)));
  -webkit-mask-image: var(--fade); mask-image: var(--fade); padding-top: calc(4 * var(--u)) !important; padding-bottom: calc(64 * var(--u)) !important; box-sizing: border-box; }
.nw-txs { position: absolute; left: 0; right: 0; top: calc(186 * var(--u)); bottom: 0; padding: 0 calc(16 * var(--u)); overflow: hidden; }
.nw-txd { display: flex; justify-content: space-between; align-items: baseline; padding: calc(14 * var(--u)) 0 calc(8 * var(--u)) !important; }
.nw-txg:first-child .nw-txd { padding-top: 0 !important; }
.nw-txd b { font-size: calc(var(--a-subhead) * var(--u)); font-weight: 600; } .nw-txd > span { font-size: calc(var(--a-footnote) * var(--u)); color: #A99FC7; }
.nw-txd .nw-pend { color: #F5C26B; }
.nw-txg ul, .nw-aps { list-style: none; margin: 0; padding: 0; border-radius: calc(20 * var(--u)); background: rgba(255,255,255,0.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06); }
.nw-tx { display: flex; justify-content: space-between; align-items: center; gap: calc(12 * var(--u)); padding: calc(12 * var(--u)) calc(15 * var(--u)); }
.nw-tx + .nw-tx { box-shadow: 0 -1px 0 rgba(255,255,255,0.06); }
.nw-tx > span { display: grid; gap: calc(2 * var(--u)); } .nw-tx b { font-size: calc(var(--a-callout) * var(--u)); font-weight: 500; } .nw-tx small { font-size: calc(var(--a-footnote) * var(--u)); color: #A99FC7; }
.nw-tx em { font-style: normal; font-size: calc(var(--a-callout) * var(--u)); font-weight: 600; }
.nw-tx.in em { color: #34E5A6; } .nw-tx.out em { color: #fff; } .nw-tx.pend em { color: #F5C26B; }
/* approve: a native iOS screen; tick what to pay, the total keeps up */
.nw-ap-s { padding-top: calc(54 * var(--u)); }
.nw-navbar { height: calc(44 * var(--u)); display: flex; align-items: center; }
.nw-back { display: inline-flex; align-items: center; gap: calc(2 * var(--u)); margin-left: calc(-8 * var(--u)); color: #fff; font-size: calc(var(--a-body) * var(--u)); cursor: pointer; }
.nw-back svg { width: calc(28 * var(--u)); height: calc(28 * var(--u)); transform: scaleX(-1); }
.nw-back b { font-weight: 400; }
.nw-ap-s .nw-h2 { margin-top: calc(4 * var(--u)) !important; font-size: calc(var(--a-title-xl) * var(--u)); line-height: 1.2; }
.nw-from { display: flex !important; align-items: center; gap: calc(12 * var(--u)); margin-top: calc(14 * var(--u)) !important; }
.nw-from-i { width: calc(40 * var(--u)); height: calc(40 * var(--u)); border-radius: 50%; background: rgba(255,255,255,0.08); display: grid; place-items: center; flex: none; }
.nw-from-i svg { width: calc(20 * var(--u)); height: calc(20 * var(--u)); }
.nw-from-i svg [stroke] { stroke: #C3BCE0; }
.nw-from > span:last-child { display: grid; gap: calc(2 * var(--u)); }
.nw-from b { font-size: calc(var(--a-callout) * var(--u)); font-weight: 500; } .nw-from small { font-size: calc(var(--a-footnote) * var(--u)); color: #A99FC7; }
.nw-sec { margin: calc(22 * var(--u)) 0 calc(8 * var(--u)) calc(15 * var(--u)) !important; font-size: calc(var(--a-footnote) * var(--u)); color: #A99FC7; }
.nw-ap { display: flex; align-items: center; gap: calc(12 * var(--u)); padding: calc(13 * var(--u)) calc(15 * var(--u)); }
.nw-ap + .nw-ap { box-shadow: 0 -1px 0 rgba(255,255,255,0.06); }
.nw-ck { width: calc(26 * var(--u)); height: calc(26 * var(--u)); border-radius: 50%; box-shadow: inset 0 0 0 calc(2 * var(--u)) rgba(255,255,255,0.35); display: grid !important; place-items: center; flex: none; transition: background 0.2s ease, box-shadow 0.2s ease; }
.nw-ck .nw-check { width: 64%; height: 64%; stroke: #102A2E; opacity: 0; transition: opacity 0.15s ease; }
.nw-ap.on .nw-ck, .nw-ck.on { background: #34E5A6; box-shadow: none; } .nw-ap.on .nw-ck .nw-check, .nw-ck.on .nw-check { opacity: 1; }
.nw-ap-t { display: grid; gap: calc(2 * var(--u)); flex: 1; min-width: 0; }
.nw-ap-t b { font-size: calc(var(--a-callout) * var(--u)); font-weight: 500; } .nw-ap-t small { font-size: calc(var(--a-footnote) * var(--u)); color: #A99FC7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nw-ap em { font-style: normal; font-size: calc(var(--a-callout) * var(--u)); font-weight: 600; color: #fff; }
.nw-foot { margin: calc(8 * var(--u)) calc(15 * var(--u)) 0 !important; font-size: calc(var(--a-footnote) * var(--u)); line-height: 1.3; color: #A99FC7; }
.nw-foot.lit { color: #F5C26B; }
.nw-ap-bar { position: absolute; left: calc(16 * var(--u)); right: calc(16 * var(--u)); bottom: calc(34 * var(--u)); display: grid; gap: calc(10 * var(--u)); text-align: center; }
.nw-cta { height: calc(54 * var(--u)); border-radius: calc(27 * var(--u)); background: #34E5A6; color: #0E1F24; display: grid !important; place-items: center; font-size: calc(var(--a-body) * var(--u)); font-weight: 600; }
.nw-cta.off { background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.55); pointer-events: none; }
.nw-cta b { font-weight: 700; }
.nw-ap-note { font-size: calc(var(--a-footnote) * var(--u)); color: #A99FC7; }
/* the confirmation sheet and Face ID */
.nw-sheet { position: absolute; inset: 0; z-index: 30; display: none; }
.nw-sheet-in { position: absolute; left: calc(8 * var(--u)); right: calc(8 * var(--u)); bottom: calc(8 * var(--u)); border-radius: calc(38 * var(--u)); background: #F4F3F8; color: #16132B; padding: calc(22 * var(--u)) calc(22 * var(--u)) calc(30 * var(--u)); }
.nw-sh-h { display: flex; justify-content: space-between; align-items: baseline; }
.nw-sh-h b { font-size: calc(var(--a-body) * var(--u)); font-weight: 600; } .nw-sh-h span { font-size: calc(var(--a-callout) * var(--u)); color: #5B3FC4; cursor: pointer; }
.nw-sh-dl { display: grid; grid-template-columns: auto 1fr; gap: calc(10 * var(--u)) calc(16 * var(--u)); align-items: baseline; margin: calc(18 * var(--u)) 0 calc(20 * var(--u)); font-size: calc(var(--a-subhead) * var(--u)); }
.nw-sh-dl dt { color: #615D74; } .nw-sh-dl dd { margin: 0; text-align: right; font-weight: 500; }
.nw-sh-tot { font-size: calc(var(--a-title-s) * var(--u)); font-weight: 700 !important; }
.nw-sh-dl .nw-sh-wait { color: #8A5A00; }
.nw-fid-w { display: grid; justify-items: center; gap: calc(10 * var(--u)); padding-top: calc(16 * var(--u)); box-shadow: 0 -1px 0 rgba(22,19,43,0.1); }
.nw-fid-w p { font-size: calc(var(--a-subhead) * var(--u)); color: #16132B; font-weight: 500; }
.nw-fid { width: calc(60 * var(--u)); height: calc(60 * var(--u)); fill: none; stroke: #5B3FC4; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.nw-fid.ok { stroke: #128A70; } .nw-fid-ok { opacity: 0; stroke-width: 4; }
/* approved */
.nw-done-s { display: grid; place-items: center; padding: 0 calc(16 * var(--u)) calc(40 * var(--u)); }
.nw-done { display: grid; justify-items: center; text-align: center; gap: calc(10 * var(--u)); width: 100%; }
.nw-done-ring { width: calc(104 * var(--u)); height: calc(104 * var(--u)); fill: none; stroke: #34E5A6; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: calc(10 * var(--u)); }
.nw-done .nw-h2 { font-size: calc(var(--a-title-xl) * var(--u)); }
.nw-done .nw-sub { margin-top: 0 !important; font-size: calc(var(--a-callout) * var(--u)); padding: 0 calc(8 * var(--u)); }
.nw-done-next { display: grid; gap: calc(6 * var(--u)); width: 100%; box-sizing: border-box; margin-top: calc(18 * var(--u)) !important; padding: calc(15 * var(--u)); border-radius: calc(20 * var(--u)); background: rgba(245,194,107,0.08); box-shadow: inset 0 0 0 1px rgba(245,194,107,0.35); text-align: left; }
.nw-dn-h { display: flex; justify-content: space-between; align-items: baseline; }
.nw-dn-h b { font-size: calc(var(--a-callout) * var(--u)); font-weight: 500; } .nw-dn-h em { font-style: normal; font-size: calc(var(--a-callout) * var(--u)); font-weight: 600; }
.nw-done-next > span:last-child { font-size: calc(var(--a-footnote) * var(--u)); line-height: 1.3; color: #F5C26B; }
/* connecting the books: what it can and can't do, said plainly */
.nw-sync-s { display: grid; place-items: center; }
.nw-sync { display: grid; justify-items: center; gap: calc(18 * var(--u)); text-align: center; padding: 0 calc(20 * var(--u)); }
.nw-sync .nw-h2 { font-size: calc(var(--a-title-xl) * var(--u)); }
.nw-sync-logos { display: flex; align-items: center; gap: calc(14 * var(--u)); margin-bottom: calc(6 * var(--u)); }
.nw-sync-nw, .nw-sync-t { width: calc(64 * var(--u)); height: calc(64 * var(--u)); border-radius: calc(18 * var(--u)); background: #fff; display: grid; place-items: center; flex: none; }
.nw-sync-nw img { width: 64%; }
.nw-sync-tools { display: flex; gap: calc(6 * var(--u)); }
.nw-sync-t { width: calc(46 * var(--u)); height: calc(46 * var(--u)); border-radius: calc(13 * var(--u)); }
.nw-sync-t svg { width: 70%; }
.nw-sync-dots { display: flex; gap: calc(6 * var(--u)); } .nw-sync-dots b { width: calc(6 * var(--u)); height: calc(6 * var(--u)); border-radius: 50%; background: #34E5A6; }
.nw-sync-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: calc(12 * var(--u)); text-align: left; }
.nw-sync-steps li { position: relative; padding-left: calc(28 * var(--u)); font-size: calc(var(--a-callout) * var(--u)); line-height: calc(20 * var(--u)); color: #C3BCE0; }
.nw-sync-steps li::before { content: ""; position: absolute; left: 0; top: calc(1 * var(--u)); width: calc(18 * var(--u)); height: calc(18 * var(--u)); border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.4); }
.nw-sync-steps li i { position: absolute; left: 0; top: calc(1 * var(--u)); width: calc(18 * var(--u)); height: calc(18 * var(--u)); border-radius: 50%; background: #34E5A6; display: grid; place-items: center; transform: scale(0); }
.nw-sync-steps li i .nw-check { stroke: #102A2E; stroke-width: 2.6; }
/* choosing the tools: tick each, connect once */
.nw-prov { position: relative; cursor: pointer; }
.nw-prov-tick { position: absolute; right: calc(10 * var(--u)); top: calc(10 * var(--u)); width: calc(26 * var(--u)); height: calc(26 * var(--u)); border-radius: 50%; background: #34E5A6; display: grid; place-items: center; transform: scale(0); }
.nw-prov-tick .nw-check { stroke: #102A2E; stroke-width: 2.6; }
.nw-prov.on { box-shadow: inset 0 0 0 calc(3 * var(--u)) #34E5A6, 0 10px 30px rgba(0,0,0,0.25); }
.nw-conn-go { position: absolute; left: calc(16 * var(--u)); right: calc(16 * var(--u)); top: calc(712 * var(--u)); }
/* the research chart (D3), the system's widget stack and component states: the app's own type */
.nw-rank-svg { width: 100%; height: auto; display: block; font-family: Inter, system-ui, sans-serif; }
.nw-rk-n { font-size: 14px; fill: #4A4468; } .nw-rk-v { font-size: 13px; font-weight: 600; fill: #6B6390; }
.nw-rk-b { fill: #C9C2E2; } .nw-rk.top .nw-rk-b { fill: #7E3CC8; } .nw-rk.pay .nw-rk-b { fill: #2EC9C9; } .nw-rk.pay .nw-rk-n { fill: #1C1640; font-weight: 600; }
.nw-wd { list-style: none; border-radius: 18px; padding: 16px 18px; background: linear-gradient(180deg, #2B2353, #221B47); color: #fff; font-family: Inter, system-ui, sans-serif; display: grid; gap: 6px; }
.nw-wd-n { font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: #9A8FC8; }
.nw-wd b { font-size: 17px; font-weight: 600; display: block; } .nw-wd small { font-size: 13px; color: #C3BCE0; display: block; margin-top: 3px; }
.nw-wd .nw-money small { display: inline; font-size: 0.5em; margin: 0; color: inherit; }
.nw-w-bal b { font-size: 26px; color: #3AD6D6; font-weight: 700; }
.nw-w-ap { margin: -2px -4px; padding: 12px 14px; border-radius: 12px; background: linear-gradient(90deg, #2E8F87, rgba(51,229,166,0.85)); }
.nw-w-ap small { color: rgba(255,255,255,0.9) !important; }
.nw-w-fx { margin: -2px -4px; padding: 12px 14px; border-radius: 12px; background: linear-gradient(156deg, #A854F0, #7333BF); }
.nw-w-fx small { color: rgba(255,255,255,0.88) !important; }
.nw-states .nw-amt, .nw-states .nw-chip, .nw-states .nw-cta, .nw-states .nw-ck, .nw-states .nw-tog { --u: 1px; font-family: Inter, system-ui, sans-serif; }
.nw-states .nw-cta { padding: 0 22px; color: #0E1F24; } .nw-states .nw-cta.off { color: rgba(255,255,255,0.6); }
.nw-states .nw-chip { display: inline-flex; }
.nw-ty { font-family: Inter, system-ui, sans-serif; color: #fff; letter-spacing: -0.01em; line-height: 1.1; }
.nw-tx em, .nw-ap em, .nw-in, .nw-row .r b { white-space: nowrap; }   /* an amount never breaks across lines */
.nw-tx span, .nw-ap-t { min-width: 0; }

/* NumberFlow figures: his small pound and pence, on the figure's baseline */
number-flow { font-variant-numeric: tabular-nums; --number-flow-mask-height: 0.18em; }
number-flow.nf-small::part(currency), number-flow.nf-small::part(decimal), number-flow.nf-small::part(fraction-digit), number-flow.nf-small::part(prefix) { font-size: 0.5em; }

/* the alpha's fake doors as a v2 bottom sheet (his values: night surface, white 6% hairline, Inter, money-in green
   primary, radius 28 on top), with his Edit dashboard button under the cards */
.nw-edit { display: block !important; margin: calc(22 * var(--u)) auto 0; height: calc(34 * var(--u)); padding: 0 calc(16 * var(--u)); border-radius: calc(8 * var(--u)); border: 1px solid rgba(179,169,214,0.5); color: #B3A9D6; font-size: calc(var(--a-footnote) * var(--u)); }
.nw-fd { position: absolute; inset: 0; z-index: 40; }
.nw-fd[hidden] { display: none !important; }
.nw-fd-dim { position: absolute; inset: 0; background: rgba(10, 8, 24, 0.55); }
.nw-fd-sheet { position: absolute; left: 0; right: 0; bottom: 0; padding: calc(12 * var(--u)) calc(28 * var(--u)) calc(44 * var(--u)); border-radius: calc(28 * var(--u)) calc(28 * var(--u)) 0 0;
  background: #2F2758; box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 -20px 40px -10px rgba(0,0,0,0.5); color: #fff; font-family: Inter, system-ui, sans-serif; text-align: center; }
.nw-fd-grab { display: block; width: calc(40 * var(--u)); height: calc(5 * var(--u)); margin: 0 auto calc(32 * var(--u)); border-radius: 3px; background: rgba(255,255,255,0.25); }
.nw-fd-ask, .nw-fd-done { display: grid; justify-items: center; }
.nw-fd-done[hidden] { display: none !important; }
.nw-fd-ic { display: grid; place-items: center; width: calc(64 * var(--u)); height: calc(64 * var(--u)); border-radius: 50%; background: rgba(52,229,166,0.15); }
.nw-fd-ic svg { width: calc(30 * var(--u)); height: calc(30 * var(--u)); } .nw-fd-ic svg [stroke] { stroke: #34E5A6; }
.nw-fd-tag { margin: calc(22 * var(--u)) 0 calc(16 * var(--u)); padding: calc(4 * var(--u)) calc(10 * var(--u)); border-radius: 99px; background: rgba(255,255,255,0.08); color: #A99FC7; font-size: calc(var(--a-caption) * var(--u)); font-weight: 600; letter-spacing: 0.04em; }
.nw-fd-t { margin: 0 !important; font-size: calc(var(--a-title-m) * var(--u)); font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }
.nw-fd-b { margin: calc(14 * var(--u)) 0 calc(40 * var(--u)) !important; color: #A99FC7; font-size: calc(var(--a-callout) * var(--u)); line-height: 1.5; }
.nw-fd-btn { display: grid !important; place-items: center; width: 100%; height: calc(54 * var(--u)); border-radius: calc(27 * var(--u)); font-size: calc(var(--a-body) * var(--u)); font-weight: 600; }
.nw-fd-yes { background: #34E5A6; color: #1A1526; }
.nw-fd-no { margin-top: calc(14 * var(--u)); color: rgba(255,255,255,0.75); }
.nw-fd-done svg { width: calc(64 * var(--u)); height: calc(64 * var(--u)); margin-bottom: calc(18 * var(--u)); fill: none; stroke: #34E5A6; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.nw-fd-done .nw-fd-b { margin-bottom: calc(60 * var(--u)) !important; }
.nw-slot .nw-card + .nw-card { margin-top: calc(10 * var(--u)); }


/* THE KIT: his v2 components (Figma 2339:2), used by the design system section */
/* =====================================================================================================================
   THE KIT (design system plate 1): his v2 widgets rebuilt from Figma 2339:2 and Shot-2. --u is one of his pixels in a
   343-wide widget; every value below is his (tools/natwest/DS-DIRECTION.md). Inter only inside the widgets.
   ===================================================================================================================== */
.nw-dsys { --k-ink: #fff; --k-2: #A99FC7; --k-3: #8579B0; --k-in: #34E5A6; --k-out: #D65CD0; --k-vio: #A855F0; --u: 1px; }
.nw-dsys .ds-cell, .nw-dsys .ds-spec-card, .nw-dsys .ds-meas { font-family: Inter, system-ui, sans-serif; color: #fff; }
.nk-w { position: relative; box-sizing: border-box; border-radius: calc(20 * var(--u)); padding: calc(15 * var(--u));
  background: rgba(255,255,255,0.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06); }
.nk-w p { margin: 0; }
.nk-fig { display: inline-flex; align-items: baseline; font-size: calc(var(--s) * var(--u)); font-weight: 700; letter-spacing: -0.01em; line-height: 1; white-space: nowrap; font-variant-numeric: tabular-nums; }
.nk-fig small { font-size: 0.5em; font-weight: inherit; }
.nk-fig b { font-weight: inherit; }
.nk-meta, .nk-cap { font-size: calc(var(--a-footnote) * var(--u)); color: var(--k-2); }
.nk-h { display: flex; justify-content: space-between; align-items: baseline; font-size: calc(var(--a-title-m) * var(--u)); font-weight: 700; }
.nk-h span { font-size: calc(var(--a-subhead) * var(--u)); font-weight: 500; color: var(--k-in); }
.nk-i { display: block; }
/* hello: greeting, chips, the balance */
.nk-hello { background: rgba(12, 9, 28, 0.42); padding: calc(20 * var(--u)) calc(20 * var(--u)) calc(24 * var(--u)); }
.nk-hi { display: flex; align-items: center; gap: calc(12 * var(--u)); }
.nk-av { display: grid; place-items: center; width: calc(44 * var(--u)); height: calc(44 * var(--u)); border-radius: 50%; background: #8A4F3C; font-weight: 700; font-size: calc(var(--a-title-s) * var(--u)); }
.nk-hi p { display: grid; flex: 1; } .nk-hi small { font-size: calc(var(--a-subhead) * var(--u)); color: var(--k-2); } .nk-hi b { font-size: calc(var(--a-title-s) * var(--u)); font-weight: 600; }
.nk-bell { position: relative; display: grid; place-items: center; width: calc(44 * var(--u)); height: calc(44 * var(--u)); border-radius: 50%; background: rgba(255,255,255,0.06); }
.nk-bell svg { width: calc(22 * var(--u)); height: calc(22 * var(--u)); }
.nk-bell i { position: absolute; right: calc(6 * var(--u)); top: calc(2 * var(--u)); width: calc(9 * var(--u)); height: calc(9 * var(--u)); border-radius: 50%; background: var(--k-out); }
.nk-chips { display: flex; gap: calc(8 * var(--u)); margin: calc(28 * var(--u)) 0 calc(28 * var(--u)); }
.nk-chip { height: calc(36 * var(--u)); padding: 0 calc(14 * var(--u)); border-radius: calc(18 * var(--u)); display: inline-flex; align-items: center; background: rgba(255,255,255,0.06); color: var(--k-2); font-size: calc(var(--a-subhead) * var(--u)); font-weight: 500;  }
.nk-chip.on { background: #fff; color: #1A1526; font-weight: 600; }
.nk-cap { font-size: calc(var(--a-subhead) * var(--u)); margin-bottom: calc(12 * var(--u)) !important; }
/* accounts: name, sort code, trend tag, balance, the share bar */
.nk-acc { background: rgba(12, 9, 28, 0.42); padding: calc(15 * var(--u)) calc(15 * var(--u)) calc(17 * var(--u)); }
.nk-acc-n { font-size: calc(var(--a-body) * var(--u)); font-weight: 600; } .nk-acc .nk-meta { font-size: calc(var(--a-footnote) * var(--u)); margin-top: calc(4 * var(--u)) !important; }
.nk-tag { position: absolute; right: calc(17 * var(--u)); top: calc(15 * var(--u)); height: calc(28 * var(--u)); padding: 0 calc(10 * var(--u)); border-radius: calc(14 * var(--u)); display: inline-flex; align-items: center; font-size: calc(var(--a-footnote) * var(--u)); font-weight: 600; }
.nk-acc.up .nk-tag { background: rgba(52,229,166,0.15); color: var(--k-in); } .nk-acc.down .nk-tag { background: rgba(214,92,208,0.15); color: var(--k-out); }
.nk-acc-b { margin: calc(22 * var(--u)) 0 calc(14 * var(--u)) !important; }
.nk-bar { display: block; height: calc(4 * var(--u)); border-radius: calc(2 * var(--u)); background: rgba(255,255,255,0.12); overflow: hidden; }
.nk-bar i { display: block; height: 100%; width: calc(var(--f) * 100%); border-radius: inherit; transform-origin: left; }
.nk-acc.up .nk-bar i { background: var(--k-in); } .nk-acc.down .nk-bar i { background: var(--k-vio); }
/* the currency alert, his gradient */
.nk-alert { background: linear-gradient(156.4deg, #A854F0 0%, #7333BF 71.4%); padding: calc(20 * var(--u)); }
.nk-al-h { display: flex; align-items: center; gap: calc(8 * var(--u)); font-size: calc(var(--a-subhead) * var(--u)); }
.nk-al-h svg { width: calc(20 * var(--u)); height: calc(20 * var(--u)); } .nk-al-h b { flex: 1; font-weight: 600; } .nk-al-h span { font-weight: 600; font-size: calc(var(--a-subhead) * var(--u)); }
.nk-al-t { font-size: calc(var(--a-body) * var(--u)); font-weight: 600; margin: calc(18 * var(--u)) 0 calc(20 * var(--u)) !important; }
.nk-al-a { display: flex; justify-content: space-between; align-items: center; }
.nk-btn { height: calc(40 * var(--u)); padding: 0 calc(16 * var(--u)); border-radius: calc(20 * var(--u)); display: inline-flex; align-items: center; background: #34E5A6; color: #1A1526; font-weight: 600; font-size: calc(var(--a-subhead) * var(--u)); }
.nk-dis { font-size: calc(var(--a-subhead) * var(--u)); font-weight: 500; color: rgba(255,255,255,0.8); }
/* approve: his gradient card */
.nk-appr { display: flex; align-items: center; gap: calc(16 * var(--u)); box-sizing: border-box; height: calc(84 * var(--u)); padding: 0 calc(19 * var(--u)); border-radius: calc(18 * var(--u)); background: linear-gradient(90deg, #2E8F87, rgba(51,229,166,0.85)); }
.nk-appr-i { display: grid; place-items: center; flex: none; width: calc(40 * var(--u)); height: calc(40 * var(--u)); border-radius: 50%; background: rgba(255,255,255,0.18); }
.nk-appr-i svg { width: calc(22 * var(--u)); height: calc(22 * var(--u)); }
.nk-appr p { display: grid; gap: calc(4 * var(--u)); flex: 1; } .nk-appr b { font-size: calc(var(--a-body) * var(--u)); font-weight: 600; } .nk-appr small { font-size: calc(var(--a-subhead) * var(--u)); color: rgba(255,255,255,0.85); }
.nk-chev { width: calc(22 * var(--u)); height: calc(22 * var(--u)); }
/* payments to approve today: rows with his teal amount pills */
.nk-apl { padding: calc(20 * var(--u)); } .nk-apl .nk-h { font-size: calc(var(--a-body) * var(--u)); }
.nk-apl ul { list-style: none; margin: calc(16 * var(--u)) 0 0; padding: 0; display: grid; gap: calc(14 * var(--u)); }
.nk-apl li { display: flex; align-items: center; justify-content: space-between; gap: calc(10 * var(--u)); }
.nk-apl li p { display: grid; gap: calc(4 * var(--u)); } .nk-apl li b { font-size: calc(var(--a-callout) * var(--u)); font-weight: 500; white-space: nowrap; } .nk-apl li small { font-size: calc(var(--a-footnote) * var(--u)); color: var(--k-3); }
.nk-pill { height: calc(32 * var(--u)); padding: 0 calc(12 * var(--u)); border-radius: calc(16 * var(--u)); display: inline-flex; align-items: center; background: #2B6E78; font-size: calc(var(--a-footnote) * var(--u)); font-weight: 600; white-space: nowrap; }
/* candles: his Balance trend bars */
.nk-cand { padding: calc(18 * var(--u)) calc(18 * var(--u)) calc(16 * var(--u)); background: rgba(255,255,255,0.05); }
.nk-cand-f { display: flex; justify-content: space-between; }
.nk-cand-f > span { display: grid; gap: calc(6 * var(--u)); } .nk-cand-f .out { text-align: right; justify-items: end; }
.nk-cand-f .nk-fig { font-weight: 600; } .nk-cand-f .in .nk-fig { color: #2EC9C9; } .nk-cand-f .out .nk-fig { color: #B552F0; }
.nk-cand-f small { font-size: calc(var(--a-footnote) * var(--u)); color: var(--k-3); }
.nk-bars { display: block; width: 88%; margin: calc(26 * var(--u)) auto calc(18 * var(--u)); overflow: visible; }
.nk-bars .in { fill: #2EC9C9; } .nk-bars .out { fill: #B552F0; }
.nk-ax { display: flex; justify-content: space-between; padding: 0 calc(4 * var(--u)); font-size: calc(var(--a-subhead) * var(--u)); color: var(--k-3); }
/* latest activity */
.nk-act { padding: calc(18 * var(--u)) calc(16 * var(--u)); }
.nk-act ul { list-style: none; margin: calc(14 * var(--u)) 0 0; padding: 0; }
.nk-act li { display: flex; align-items: center; gap: calc(14 * var(--u)); padding: calc(13 * var(--u)) 0; }
.nk-act li + li { box-shadow: 0 -1px 0 rgba(255,255,255,0.06); }
.nk-ai { position: relative; flex: none; width: calc(44 * var(--u)); height: calc(44 * var(--u)); } .nk-act li { gap: calc(12 * var(--u)) !important; }
.nk-ai-bg { position: absolute; inset: 0; width: 100%; height: 100%; } .nk-ai-g { position: absolute; left: 22.7%; top: 22.7%; width: 45.5%; height: 45.5%; }
.nk-act li p { flex: 1; display: grid; gap: calc(4 * var(--u)); min-width: 0; } .nk-act li b { font-size: calc(var(--a-callout) * var(--u)); font-weight: 500; white-space: nowrap; } .nk-act li small { font-size: calc(var(--a-footnote) * var(--u)); color: var(--k-2); }
.nk-amt .nk-fig { font-weight: 600; } .nk-amt.in .nk-fig { color: var(--k-in); } .nk-amt.out .nk-fig { color: var(--k-out); }
/* balance up 20% */
.nk-trend { padding: calc(20 * var(--u)) calc(18 * var(--u)) calc(16 * var(--u)); background: rgba(255,255,255,0.05); }
.nk-tr-h { display: flex; align-items: center; gap: calc(8 * var(--u)); color: #2EC9C9; font-size: calc(var(--a-body) * var(--u)); font-weight: 600; }
.nk-tr-i { width: calc(16 * var(--u)); height: calc(16 * var(--u)); } .nk-tr-i path { stroke: #2EC9C9; }
.nk-line { display: block; width: 100%; margin: calc(22 * var(--u)) 0 calc(14 * var(--u)); overflow: visible; }
.nk-line path { fill: none; stroke-width: 3; stroke-linecap: round; } .nk-line circle { fill: #2EC9C9; }
.nk-grid line { stroke: rgba(255,255,255,0.07); stroke-width: 1; }
/* in and out this week */
.nk-week { display: flex; align-items: center; padding: calc(16 * var(--u)) calc(18 * var(--u)); }
.nk-week > p { flex: 1; display: flex; align-items: center; gap: calc(12 * var(--u)); }
.nk-week > i { width: 1px; align-self: stretch; margin: 0 calc(14 * var(--u)); background: rgba(255,255,255,0.12); }
.nk-wk-i svg { width: calc(18 * var(--u)); height: calc(18 * var(--u)); }
.nk-week > p > span:last-child { display: grid; gap: calc(3 * var(--u)); } .nk-week small { font-size: calc(var(--a-footnote) * var(--u)); color: var(--k-2); }
.nk-week .nk-fig { font-weight: 600; } .nk-wf[data-t~="money-in"] .nk-fig { color: var(--k-in); } .nk-wf[data-t~="money-out"] .nk-fig { color: var(--k-out); }
/* the wheel, his alpha v2 */
.nk-wheel { padding: calc(40 * var(--u)) calc(20 * var(--u)) calc(26 * var(--u)); text-align: center; background: rgba(255,255,255,0.05); }
.nk-wh-b { display: grid; justify-items: center; gap: calc(6 * var(--u)); } .nk-wh-b .nk-fig { color: #3AD6D6; } .nk-wh-b small { font-size: calc(var(--a-body) * var(--u)); color: var(--k-2); }
.nk-ring { position: relative; width: 86%; aspect-ratio: 1; margin: calc(26 * var(--u)) auto calc(18 * var(--u)); }
.nk-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.nk-ring circle { fill: none; stroke-width: 9; stroke-linecap: round; }
.nk-ring .trk { stroke: rgba(255,255,255,0.04); }
.nk-ring .in { stroke: #2EC9C9; stroke-dasharray: 23.2 76.8; stroke-dashoffset: -1.6; filter: drop-shadow(0 0 6px rgba(46,201,201,0.55)); }
.nk-ring .out { stroke: #B552F0; stroke-dasharray: 70.4 29.6; stroke-dashoffset: -28; filter: drop-shadow(0 0 6px rgba(181,82,240,0.55)); }
.nk-rc { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: calc(10 * var(--u)); }
.nk-rc p { display: grid; justify-items: center; gap: calc(4 * var(--u)); } .nk-rc b { font-size: calc(var(--a-body) * var(--u)); font-weight: 600; }
.nk-rc .in .nk-fig { color: #3AD6D6; } .nk-rc .out .nk-fig { color: #C46BF5; } .nk-rc .nk-fig { font-weight: 600; }
.nk-pill2 { padding: calc(7 * var(--u)) calc(14 * var(--u)); border-radius: calc(20 * var(--u)); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.22); font-size: calc(var(--a-subhead) * var(--u)); color: var(--k-2); }
.nk-dots { display: flex; justify-content: center; gap: calc(8 * var(--u)); } .nk-dots i { width: calc(7 * var(--u)); height: calc(7 * var(--u)); border-radius: 50%; background: rgba(255,255,255,0.3); } .nk-dots i.on { background: #fff; }
.nk-w { width: calc(343 * var(--u)); }
.ds-tog { display: inline-block; position: relative; width: 51px; height: 31px; border-radius: 99px; background: rgba(255,255,255,0.18); }
.ds-tog i { position: absolute; left: 2px; top: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0,0,0,0.2); }
.ds-tog.on { background: #2EE6D6; } .ds-tog.on i { left: 22px; }
.ds-tabi { display: grid; justify-items: center; gap: 4px; padding: 8px 14px 6px; border-radius: 12px; background: rgba(18,14,31,0.92); }
.ds-tabi svg { width: 26px; height: 26px; } .ds-tabi b { font: 500 11px Inter, system-ui, sans-serif; color: #8D82B0; } .ds-tabi.on b { color: #34E5A6; }
.ds-tabi:not(.on) svg path { stroke: #8D82B0; }
.ds-one ul { margin: 0 !important; } .nk-act.ds-one { padding: 6px 16px; }
.ds-tagw { display: inline-block; position: relative; background: none !important; box-shadow: none !important; padding: 0 !important; width: auto !important; }
.ds-tagw .nk-tag { position: static; }
.ds-tr-x { font-family: Inter, system-ui, sans-serif; font-size: calc(var(--s) * 1px); font-weight: var(--fw); color: #fff; line-height: 1.15; }
.ds-tr-x .nk-fig { --u: 1px; }
.nw-dsys .nk-chip, .nw-dsys .nk-btn, .nw-dsys .nk-dis, .nw-dsys .nk-pill, .nw-dsys .nk-tag { --u: 1.15px; font-family: Inter, system-ui, sans-serif; }

/* Next 7 days before the books are linked: the bank cannot know what is coming in, so money in says so, never £0 */
.nw-wf.in.unk .tk { display: none; }
.nw-wf.in.unk::after { content: 'Not linked yet'; font-size: calc(var(--a-body) * var(--u)); font-weight: 600; color: #A99FC7; }

/* approvals, clean (Arash: no amber, no small print): the over-limit payment carries a neutral tag in his chip style;
   the approved screen is two short facts */
.nw-two { display: block; margin: calc(5 * var(--u)) 0 0 auto; width: max-content; padding: calc(1 * var(--u)) calc(7 * var(--u)); border-radius: 99px; background: rgba(255,255,255,0.1); color: #fff; font-style: normal; font-size: calc(var(--a-caption) * var(--u)); font-weight: 600; vertical-align: middle; }
.nw-done-l { display: grid; gap: calc(10 * var(--u)); width: 100%; margin: calc(24 * var(--u)) 0 0; padding: 0; list-style: none; }
.nw-done-l li { display: flex; justify-content: space-between; align-items: baseline; padding: calc(16 * var(--u)); border-radius: calc(20 * var(--u)); background: rgba(255,255,255,0.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06); }
.nw-done-l li[hidden] { display: none; }
.nw-done-l b { font-size: calc(var(--a-body) * var(--u)); font-weight: 600; } .nw-done-l em { font-style: normal; font-size: calc(var(--a-body) * var(--u)); font-weight: 600; color: #34E5A6; } .nw-done-l span { font-size: calc(var(--a-subhead) * var(--u)); color: #A99FC7; }

.nw-ap em { text-align: right; }   /* the amount, with any status under it, right-aligned */

.nw-slot { display: flow-root; } .nw-slot > :first-child { margin-top: 0 !important; }   /* no leaked margin: the gap under the wheel is chosen, not collapsed */

/* ---------- the hero opens like the app: his icon on the home screen, a tap, his splash, then the dashboard ---------- */
.nw-launch { position: absolute; inset: 0; z-index: 30; pointer-events: none; }
.nw-hs { position: absolute; inset: 0; display: grid; place-items: center;
  background: radial-gradient(120% 70% at 20% 10%, #5A3F9E 0%, transparent 60%), radial-gradient(90% 60% at 90% 90%, #1F8F87 0%, transparent 65%), #1E1941; }
.nw-app { display: grid; justify-items: center; gap: calc(7 * var(--u)); margin-top: calc(-60 * var(--u)); }
.nw-app img { width: calc(76 * var(--u)); height: auto; border-radius: calc(17 * var(--u)); box-shadow: 0 calc(8 * var(--u)) calc(24 * var(--u)) rgba(0, 0, 0, 0.35); }
.nw-app b { font-size: calc(var(--a-footnote) * var(--u)); font-weight: 500; color: #fff; }
.nw-splash { position: absolute; inset: 0; background: linear-gradient(90deg, #463162, #1D1430); opacity: 1; }   /* the hero starts on the splash (Arash, 2026-11-14: simplify, start from the splash screen) */
.nw-launch .nw-hs { display: none; }
.nw-splash img { position: absolute; left: 35.185%; width: 29.815%; height: auto; top: 50%; transform: translateY(-58%); }
@media (prefers-reduced-motion: reduce) { .nw-launch { display: none; } }

/* Connect your books shows the books it links (his alpha's Sync card showed the tools, never a calendar): three of
   their marks, overlapped like a group of avatars */
.nw-connect-cta .nw-ac-i.nw-ac-logos { width: auto; height: auto; background: none; border-radius: 0; display: flex; }
.nw-ac-logos svg { width: calc(28 * var(--u)); height: calc(28 * var(--u)); border-radius: 50%; box-shadow: 0 0 0 calc(2 * var(--u)) #2B2650; }
.nw-ac-logos svg + svg { margin-left: calc(-7 * var(--u)); }
.nw-ac-logos svg:nth-child(2) { box-sizing: border-box; padding: calc(4 * var(--u)) calc(3 * var(--u)); background: #fff; }   /* his Sage mark is a bare wordmark: it sits on a white disc like the others sit on theirs */
