/* The lesson as a long page (scripts/build-longread.mjs writes the markup, read.js the motion).
   Built from the home page's own parts: Satoshi at weight 500 for headings, ink and grey text, warm hairlines,
   halftone dots in the soft accent colours, tinted cards with a corner of dots, black and white buttons. */

.rd {
  --rd-w: min(100% - 2 * var(--gut, 40px), 1240px);
  --rail: 236px;
  --flow: 820px;
  color: var(--ink);
  font-family: var(--font-sans);
  background: #fff;
}
.rd [data-tone="orange"], .rd[data-tone="orange"], [data-tone="orange"] { --tn: #FF8A45; --tn-a: #FFF4EC; --tn-b: #FFE3CE; --tn-t: #B4501A; }
.rd [data-tone="rose"], [data-tone="rose"] { --tn: #C98470; --tn-a: #FDF3F0; --tn-b: #F7DCD3; --tn-t: #85503F; }
.rd [data-tone="lilac"], [data-tone="lilac"] { --tn: #9F86DD; --tn-a: #F7F3FD; --tn-b: #E5DBF8; --tn-t: #5B47A0; }
.rd [data-tone="blue"], [data-tone="blue"] { --tn: #5FBFE0; --tn-a: #F0FAFD; --tn-b: #D3EFFA; --tn-t: #1D6A86; }
.rd [data-tone="aqua"], [data-tone="aqua"] { --tn: #66CDBF; --tn-a: #F0FBF9; --tn-b: #CFF3EC; --tn-t: #1C6A60; }
.rd [data-tone="green"], [data-tone="green"] { --tn: #6FD68C; --tn-a: #F1FCF4; --tn-b: #D3F5DD; --tn-t: #22743F; }
.rd { --tn: #FF8A45; --tn-a: #FFF4EC; --tn-b: #FFE3CE; --tn-t: #B4501A; }
.rd [data-tone=""] { --tn: inherit; }

/* ---------- buttons, tags, small text ---------- */
.rd-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.rd-btns--c { justify-content: center; }
.rd-btn { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 20px; border-radius: var(--r-btn, 4px); font-size: 16px; line-height: 24px; font-weight: 500; white-space: nowrap; transition: background .25s var(--ease), box-shadow .25s var(--ease), color .25s var(--ease); }
.rd-btn--dark { background: #000; color: #fff; }
.rd-btn--dark:hover { background: var(--black-hover, #262626); }
.rd-btn--light { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ll-line); }
.rd-btn--light:hover { box-shadow: inset 0 0 0 1px var(--ink-3); }
.rd-btn .rd-arr { transition: transform .35s var(--ease); }
.rd-btn:hover .rd-arr { transform: translateX(3px); }
.rd-btn--dark[href^="#"]:hover .rd-arr { transform: translateY(3px); }
.rd-btn svg:not(.rd-arr) { flex: none; }
.rd-btn:focus-visible, .rd a:focus-visible, .rd button:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.rd-src { margin: 14px 0 0; font-size: 14px; line-height: 20px; color: var(--ink-3); }
.rd-tag { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 13px; line-height: 18px; color: var(--ink-2); background: var(--inner, #F4F4F4); white-space: nowrap; }
.rd-tag--o { color: #B4501A; background: #FFF1E6; }
.rd-k { margin: 0; font-size: 15px; line-height: 22px; color: var(--ink-2); }

/* ---------- lesson header ---------- */
.rd-hero { position: relative; padding: 64px 0 68px; overflow: hidden; }
.rd-hero::before { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; background-image: radial-gradient(circle, #E7E3DC 0 1px, transparent 1.4px); background-size: 16px 16px; -webkit-mask-image: radial-gradient(70% 90% at 80% 40%, #000 0%, transparent 70%); mask-image: radial-gradient(70% 90% at 80% 40%, #000 0%, transparent 70%); opacity: .8; }
.rd-hero-in { position: relative; z-index: 1; width: var(--rd-w); margin: 0 auto; display: grid; grid-template-columns: minmax(0, .58fr) minmax(0, 1fr); align-items: center; gap: 52px; }
.rd-meta { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 0; font-size: 15px; line-height: 22px; color: var(--ink-3); }
.rd-meta > span + span::before { content: ''; display: inline-block; width: 3px; height: 3px; margin: 0 12px 4px; border-radius: 50%; background: currentColor; opacity: .7; vertical-align: middle; }
.rd-meta > .rd-pill + span::before { display: none; }
.rd-meta > .rd-pill + span { margin-left: 14px; }
.rd-pill { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px 0 10px; border-radius: 999px; color: var(--ink); background: #FFF4EC; box-shadow: inset 0 0 0 1px #FFE3CE; }
.rd-pill i { display: block; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--cta, #FF7F32); box-shadow: 0 0 0 3px rgb(255 127 50 / .18); }
.rd-h { margin: 28px 0 0; font-size: clamp(46px, 5.35vw, 82px); line-height: .98; letter-spacing: -.045em; font-weight: 500; overflow-wrap: anywhere; }
.rd-promise { margin: 24px 0 0; max-width: 26ch; font-size: clamp(22px, 2vw, 28px); line-height: 1.3; letter-spacing: -.015em; color: var(--ink-2); text-wrap: balance; }
.rd-hero .rd-btns { margin-top: 40px; }

.rd-player { min-width: 0; scroll-margin-top: calc(var(--hd-h) + 12px); }
.rd-player iframe { display: block; width: 100%; height: clamp(410px, 34vw, 506px); border: 1px solid var(--ll-line); border-radius: 12px; background: #faf6ef; box-shadow: 0 28px 55px -37px rgb(88 55 35 / .46); }
.rd-player-open { display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; text-decoration: underline; text-underline-offset: 3px; }
.rd-player-open[hidden] { display: none; }
.rd-read-anchor { scroll-margin-top: var(--hd-h); }

/* ---------- body: chapter rail and the flow ---------- */
.rd-body { width: var(--rd-w); margin: 0 auto; display: grid; grid-template-columns: var(--rail) minmax(0, 1fr); gap: 0 88px; align-items: start; padding-bottom: 120px; border-top: 1px solid var(--ll-line); padding-top: 88px; }
.rd-flow { min-width: 0; max-width: var(--flow); }

.rd-rail { position: sticky; top: calc(var(--hd-h) + 32px); max-height: calc(100svh - var(--hd-h) - 64px); overflow: auto; scrollbar-width: none; }
.rd-rail::-webkit-scrollbar { display: none; }
.rd-rail-n ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.rd-rail-n a { position: relative; display: grid; grid-template-columns: 14px minmax(0, 1fr); align-items: center; gap: 0 12px; padding: 8px 10px 9px; border-radius: 8px; font-size: 15px; line-height: 20px; color: var(--ink-3); transition: color .25s var(--ease), background .25s var(--ease); }
.rd-rail-n a:hover { color: var(--ink); background: var(--inner, #F4F4F4); }
.rd-rail-dot { width: 8px; height: 8px; margin-left: 3px; border-radius: 50%; background: #D9D5CE; transition: background .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease); }
.rd-rail-bar { grid-column: 2; display: block; height: 2px; margin-top: 8px; border-radius: 2px; background: var(--ll-line-2); overflow: hidden; opacity: 0; transition: opacity .3s var(--ease); }
.rd-rail-bar i { display: block; height: 100%; width: calc(var(--p, 0) * 100%); background: var(--tn); border-radius: inherit; }
.rd-rail-n a.is-done { color: var(--ink-2); }
.rd-rail-n a.is-done .rd-rail-dot { background: var(--ink-3); }
.rd-rail-n a.is-on { color: var(--ink); font-weight: 500; }
.rd-rail-n a.is-on .rd-rail-dot { background: var(--tn); box-shadow: 0 0 0 4px color-mix(in srgb, var(--tn) 25%, transparent); transform: scale(1.15); }
.rd-rail-n a.is-on .rd-rail-bar { opacity: 1; }
.rd-rail-p { margin: 20px 0 0; padding: 16px 10px 0; border-top: 1px solid var(--ll-line-2); font-size: 14px; line-height: 20px; color: var(--ink-3); }
.rd-rail-p span { color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }

.rd-mbar { display: none; }

/* ---------- chapters ---------- */
.rd-ch { padding-top: 32px; }
.rd-ch + .rd-ch { margin-top: 120px; }
.rd-ch-head { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; min-height: 196px; padding: 36px 40px 34px; border-radius: 20px; overflow: hidden; isolation: isolate;
  background: radial-gradient(80% 90% at 100% 100%, var(--tn-b), transparent 70%), linear-gradient(160deg, var(--tn-a), color-mix(in srgb, var(--tn-b) 70%, #fff));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tn-b) 80%, #fff); }
.rd-ch-head::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .55; background-image: radial-gradient(circle, var(--tn) 0 1.1px, transparent 1.6px); background-size: 10px 10px; -webkit-mask-image: radial-gradient(70% 90% at 100% 0%, #000 0%, transparent 60%); mask-image: radial-gradient(70% 90% at 100% 0%, #000 0%, transparent 60%); }
.rd-ch-txt { min-width: 0; }
.rd-ch-k { margin: 0 0 12px; display: inline-flex; align-items: center; gap: 8px; font-size: 15px; line-height: 20px; font-weight: 500; color: var(--tn-t); }
.rd-ch-k::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--tn); }
.rd-ch-t { margin: 0; max-width: 16ch; font-size: 44px; line-height: 48px; letter-spacing: -.025em; font-weight: 500; text-wrap: balance; }
.rd-ch-head--plain { min-height: 160px; }
.rd-ch-glow { position: absolute; right: -40px; top: -60px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--tn) 45%, transparent), transparent 65%); filter: blur(10px); opacity: .7; animation: rd-breathe 8s ease-in-out infinite; }
@keyframes rd-breathe { 0%, 100% { transform: scale(1); opacity: .6; } 50% { transform: scale(1.12); opacity: .85; } }

/* the ten levers as dotted pillars: height is the effect, the lit one is this chapter */
.rd-pil { flex: none; display: flex; align-items: flex-end; gap: 9px; height: 124px; }
.rd-pil i { width: 13px; height: calc(var(--h) * 24px); background-image: radial-gradient(circle, rgb(17 17 17 / .16) 0 2.4px, transparent 2.9px); background-size: 13px 8px; background-position: center bottom; }
.rd-pil i.is-on { background-image: radial-gradient(circle, var(--tn-t) 0 2.9px, transparent 3.4px); filter: drop-shadow(0 0 8px color-mix(in srgb, var(--tn) 70%, transparent)); }

/* ---------- scenes ---------- */
.rd-sc { padding-top: 88px; scroll-margin-top: calc(var(--hd-h) + 24px); }
.rd-ch > header + .rd-sc { padding-top: 64px; }
.rd-ch, .rd-ch-head { scroll-margin-top: calc(var(--hd-h) + 24px); }
.rd-t { margin: 0; max-width: 24ch; font-size: 34px; line-height: 42px; letter-spacing: -.022em; font-weight: 500; text-wrap: balance; }
.rd-n { margin-top: 16px; max-width: 62ch; }
.rd-n p { margin: 0; font-size: 19px; line-height: 30px; color: var(--ink-2); text-wrap: pretty; }
.rd-n p + p { margin-top: 12px; }
.rd-sc > :is(.rd-fig, .rd-stat, .rd-chg, .rd-bars, .rd-q, .rd-pit, .rd-100, .rd-rates, .rd-fun, .rd-steps, .rd-pair, .rd-ryze, .rd-mx, .rd-plan, .rd-week, .rd-loop, .rd-linkrow) { margin-top: 32px; }
.rd-sc > .rd-pit { margin-top: 16px; }
.rd-sc > :is(.rd-fig, .rd-stat, .rd-chg, .rd-bars, .rd-q, .rd-100, .rd-rates, .rd-fun, .rd-pair, .rd-plan) + :is(.rd-stat, .rd-chg, .rd-bars, .rd-q, .rd-rates, .rd-pair, .rd-steps) { margin-top: 16px; }

/* the presentation's own visual, without its text */
.rd-fig { margin-left: 0; margin-right: 0; border-radius: 18px; overflow: hidden; background: var(--fbg, #fff); box-shadow: inset 0 0 0 1px var(--ll-line); }
.rd-fig.is-dark { background: #050506; box-shadow: 0 40px 70px -46px rgb(0 0 0 / .65), 0 0 0 1px rgb(0 0 0 / .9); }
.rd-fig:not(.is-dark) .rd-fig-in { padding: clamp(12px, 3vw, 28px); }
.rd-fig img { display: block; width: 100%; height: auto; }
.rd-fig:not(.is-dark) img { border-radius: 8px; }

/* a number in the home page's style: big ink figure, a field of coloured dots beside it */
.rd-stat { position: relative; overflow: hidden; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px var(--ll-line); isolation: isolate; }
.rd-stat-in { position: relative; z-index: 1; padding: 34px 36px 30px; max-width: 70%; }
.rd-stat-dots { position: absolute; right: 0; top: 0; bottom: 0; width: 48%; z-index: 0; background-image: radial-gradient(circle, var(--tn) 0 2.6px, transparent 3px); background-size: 11px 11px; background-position: right bottom;
  -webkit-mask-image: linear-gradient(to top, #000 0%, rgb(0 0 0 / .65) 35%, transparent 92%), linear-gradient(to left, #000 30%, transparent 100%); -webkit-mask-composite: source-in; mask-image: linear-gradient(to top, #000 0%, rgb(0 0 0 / .65) 35%, transparent 92%), linear-gradient(to left, #000 30%, transparent 100%); mask-composite: intersect; }
.rd-stat-v { margin: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; font-size: clamp(48px, 5.2vw, 72px); line-height: 1; letter-spacing: -.04em; font-weight: 500; }
.rd-stat--big .rd-stat-v { font-size: clamp(56px, 7vw, 96px); }
.rd-stat-v b { font-weight: 500; font-variant-numeric: tabular-nums; }
.rd-stat-pre, .rd-stat-u { font-size: .4em; letter-spacing: -.01em; color: var(--ink-3); }
.rd-stat-l { margin: 14px 0 0; max-width: 34ch; font-size: 18px; line-height: 27px; color: var(--ink-2); text-wrap: pretty; }
.rd-stat-f { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; margin-top: 4px; }
.rd-stat-f .rd-src { margin-top: 14px; }
.rd-stat-f .rd-tag { margin-top: 14px; }
.rd-alert { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; height: 28px; padding: 0 12px; border-radius: 999px; font-size: 14px; color: #85503F; background: #FDF3F0; box-shadow: inset 0 0 0 1px #F7DCD3; }
.rd-alert i { width: 7px; height: 7px; border-radius: 50%; background: #E0674A; animation: rd-pulse 1.8s ease-in-out infinite; }
@keyframes rd-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgb(224 103 74 / .45); } 50% { box-shadow: 0 0 0 6px rgb(224 103 74 / 0); } }

/* dotted bars: one width per value, grey for the before, colour for the after */
.rd-dotbar { display: block; height: 26px; width: calc(var(--v) * 100%); min-width: 10px; background-image: radial-gradient(circle, var(--tn) 0 2.7px, transparent 3.1px); background-size: 9px 9px; background-position: left center; }
.rd-dotbar.is-muted { background-image: radial-gradient(circle, #D4D1CA 0 2.7px, transparent 3.1px); }

.rd-chg { padding: 30px 36px 28px; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--ll-line); background: #fff; }
.rd-chg-n { margin: 14px 0 0; display: flex; align-items: center; flex-wrap: wrap; gap: 6px 16px; font-size: clamp(32px, 3.4vw, 48px); line-height: 1.08; letter-spacing: -.035em; font-weight: 500; }
.rd-chg-from { color: var(--ink-3); text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: rgb(17 17 17 / .25); }
.rd-chg-n b { font-weight: 500; }
.rd-chg-to { flex: none; width: 34px; height: 20px; color: var(--ink-3); }
.rd-chg-bars { display: grid; gap: 6px; margin-top: 24px; }
.rd-chg-after { margin: 18px 0 0; font-size: 18px; line-height: 27px; color: var(--ink); font-weight: 500; }

.rd-bars { padding: 28px 36px 26px; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--ll-line); background: #fff; }
.rd-bars-l { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 14px; }
.rd-bar { display: grid; grid-template-columns: minmax(120px, 210px) minmax(0, 1fr) minmax(70px, auto); align-items: center; gap: 18px; }
.rd-bar-l { font-size: 16px; line-height: 22px; color: var(--ink-2); }
.rd-bar-track { position: relative; display: block; }
.rd-bar-v { font-size: 26px; line-height: 30px; letter-spacing: -.025em; font-weight: 500; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.rd-bar.is-muted .rd-bar-v { color: var(--ink-3); }
.rd-bars-l[style*="--m"] .rd-bar-track::after, .rd-fun-l .rd-fun-track::after { content: ''; position: absolute; top: -6px; bottom: -6px; left: calc(var(--m) * 100%); border-left: 1.5px dashed rgb(17 17 17 / .35); }
.rd-bars-mark { margin: 16px 0 0; display: flex; align-items: center; gap: 10px; font-size: 14px; line-height: 20px; color: var(--ink-2); }
.rd-bars-mark i { width: 14px; height: 0; border-top: 1.5px dashed rgb(17 17 17 / .45); }

.rd-q { position: relative; margin-left: 0; margin-right: 0; padding: 30px 36px 28px 36px; border-radius: 18px; background: linear-gradient(160deg, var(--tn-a), #fff 80%); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tn-b) 70%, #fff); }
.rd-q-m { display: block; width: 28px; height: 21px; color: var(--tn); opacity: .9; }
.rd-q p { margin: 14px 0 0; max-width: 34ch; font-size: 24px; line-height: 34px; letter-spacing: -.015em; font-weight: 500; text-wrap: pretty; }
.rd-q footer { margin-top: 14px; font-size: 14px; line-height: 20px; color: var(--ink-3); }

.rd-pit { display: flex; align-items: flex-start; gap: 14px; padding: 18px 22px; border-radius: 14px; background: #FDF3F0; box-shadow: inset 0 0 0 1px #F7DCD3; }
.rd-pit-i { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: #C0573C; background: #fff; box-shadow: 0 0 0 1px #F7DCD3; }
.rd-pit p { margin: 6px 0 0; font-size: 17px; line-height: 26px; color: var(--ink); }
.rd-pit .rd-src { margin-top: 4px; }

.rd-100 { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 40px; padding: 32px 36px; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--ll-line); background: #fff; }
.rd-100-g { display: grid; grid-template-columns: repeat(10, 14px); gap: 9px; }
.rd-100-g i { width: 14px; height: 14px; border-radius: 50%; background: #E3E0DA; }
.rd-100-g i.is-hit { background: var(--tn); box-shadow: 0 0 0 4px color-mix(in srgb, var(--tn) 22%, transparent); }
.rd-100-t { display: grid; gap: 18px; justify-items: start; }
.rd-100-n { margin: 0; display: flex; align-items: baseline; gap: 12px; }
.rd-100-n b { font-size: 56px; line-height: 1; letter-spacing: -.04em; font-weight: 500; color: var(--ink-3); }
.rd-100-n.is-hit b { color: var(--ink); }
.rd-100-n span { font-size: 18px; color: var(--ink-2); }

.rd-rates ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ll-line); border-bottom: 1px solid var(--ll-line); }
.rd-rates li { display: flex; flex-direction: column; gap: 6px; padding: 24px 20px 22px; }
.rd-rates li:first-child { padding-left: 0; }
.rd-rates li + li { border-left: 1px solid var(--ll-line); }
.rd-rates b { font-size: 38px; line-height: 1.1; letter-spacing: -.035em; font-weight: 500; }
.rd-rates span { font-size: 16px; line-height: 23px; color: var(--ink-2); }
.rd-rates em { font-style: normal; font-size: 14px; line-height: 20px; color: var(--ink-3); margin-top: 4px; }

.rd-fun { padding: 26px 36px 26px; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--ll-line); background: #fff; }
.rd-fun-h { display: flex; justify-content: flex-end; }
.rd-fun-l { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 14px; }
.rd-fun-r { display: grid; grid-template-columns: 76px minmax(0, 1fr) minmax(150px, 230px); align-items: center; gap: 18px; }
.rd-fun-r b { font-size: 30px; line-height: 1; letter-spacing: -.03em; font-weight: 500; font-variant-numeric: tabular-nums; }
.rd-fun-r.is-low b { color: var(--ink-3); }
.rd-fun-track { position: relative; display: block; }
.rd-fun-lab { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 16px; line-height: 22px; color: var(--ink-2); }
.rd-fun-lab em { font-style: normal; display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 13px; color: #fff; background: var(--tn-t); }

.rd-steps ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.rd-steps li { display: flex; align-items: flex-start; gap: 14px; padding: 16px 20px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--ll-line); font-size: 18px; line-height: 26px; }
.rd-ck { flex: none; margin-top: 3px; color: var(--tn-t, #22743F); }
.rd-ck svg { display: block; }
.rd-steps--flow ul { display: flex; flex-wrap: wrap; gap: 10px; }
.rd-steps--flow li { align-items: center; gap: 10px; padding: 12px 16px; font-size: 16px; line-height: 22px; }
.rd-steps--flow li .rd-arr { color: var(--ink-3); margin-left: 6px; }

.rd-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.rd-pair-c { padding: 28px 30px 26px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px var(--ll-line); }
.rd-pair-c:first-child { background: linear-gradient(160deg, var(--tn-a), #fff 70%); }
.rd-pair-w { margin: 0; font-size: 15px; line-height: 20px; font-weight: 500; color: var(--ink-2); }
.rd-pair-v { margin: 16px 0 0; font-size: 56px; line-height: 1; letter-spacing: -.04em; font-weight: 500; }
.rd-pair-l { margin: 14px 0 0; font-size: 17px; line-height: 26px; color: var(--ink-2); }

.rd-linkrow { margin-bottom: 0; }

/* the ten levers on one chart: effect up, effort to the right */
.rd-mx { display: grid; grid-template-columns: 28px minmax(0, 1fr); grid-template-rows: auto auto; gap: 10px 14px; padding: 28px 30px 22px 22px; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--ll-line); background: #fff; }
.rd-mx-yl { grid-row: 1; display: flex; flex-direction: column-reverse; align-items: center; justify-content: center; gap: 8px; color: var(--ink-3); }
.rd-mx-yl span { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 14px; line-height: 20px; white-space: nowrap; }
.rd-mx-g { grid-row: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(3, minmax(108px, auto)); border-left: 1px solid var(--ll-line); border-bottom: 1px solid var(--ll-line);
  background-image: linear-gradient(var(--ll-line-2) 1px, transparent 1px), linear-gradient(90deg, var(--ll-line-2) 1px, transparent 1px); background-size: 100% calc(100% / 3), 25% 100%; }
.rd-mx-c { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 8px; padding: 12px 12px 12px 14px; }
.rd-mx-xl { grid-column: 2; display: flex; align-items: center; justify-content: flex-end; gap: 8px; font-size: 14px; line-height: 20px; color: var(--ink-3); }
.rd-mx-i { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 999px; font-size: 14px; line-height: 18px; color: var(--ink-2); background: #F6F5F2; box-shadow: inset 0 0 0 1px var(--ll-line-2); transition: transform .3s var(--ease), box-shadow .3s var(--ease), color .3s; }
.rd-mx-i i { flex: none; width: 10px; height: 10px; border-radius: 50%; background: #B9B4AB; }
.rd-mx-i.is-top { color: var(--ink); font-weight: 500; background: #FFF4EC; box-shadow: inset 0 0 0 1px #FFE0C8; }
.rd-mx-i.is-top i { background: #FF7F32; box-shadow: 0 0 0 4px rgb(255 127 50 / .2); animation: rd-pulse-o 2.4s ease-in-out infinite; }
.rd-mx-i:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--ink-3); color: var(--ink); }
@keyframes rd-pulse-o { 0%, 100% { box-shadow: 0 0 0 3px rgb(255 127 50 / .25); } 50% { box-shadow: 0 0 0 7px rgb(255 127 50 / 0); } }

.rd-plan { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.rd-plan-c { padding: 22px 22px 24px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px var(--ll-line); }
.rd-plan-c:first-child { background: linear-gradient(170deg, #FFF4EC, #fff 60%); box-shadow: inset 0 0 0 1px #FFE3CE; }
.rd-plan-h { margin: 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 19px; line-height: 26px; font-weight: 500; }
.rd-plan-c ul { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.rd-plan-c li { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 999px; font-size: 15px; color: var(--ink); background: #fff; box-shadow: inset 0 0 0 1px var(--ll-line), 0 1px 2px rgb(17 17 17 / .04); }

.rd-week { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ll-line); }
.rd-week li { border-bottom: 1px solid var(--ll-line); }
.rd-week a { display: grid; grid-template-columns: 140px minmax(0, 1fr) 24px; align-items: center; gap: 16px; padding: 18px 8px 18px 4px; transition: background .25s var(--ease), padding .25s var(--ease); }
.rd-week a:hover { background: #FBFAF8; padding-left: 12px; }
.rd-week-d { position: relative; padding-left: 20px; font-size: 15px; line-height: 22px; color: var(--ink-3); }
.rd-week-d::before { content: ''; position: absolute; left: 0; top: 7px; width: 8px; height: 8px; border-radius: 50%; background: var(--tn); opacity: calc(.35 + var(--i) * .1); }
.rd-week-t { font-size: 20px; line-height: 28px; letter-spacing: -.01em; font-weight: 500; }
.rd-week .rd-arr { color: var(--ink-3); transition: transform .3s var(--ease), color .3s; }
.rd-week a:hover .rd-arr { color: var(--ink); transform: translateX(3px); }

.rd-loop { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr) 28px minmax(0, 1fr); align-items: center; gap: 8px; padding-bottom: 30px; }
.rd-loop-i { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 26px 16px 22px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px var(--ll-line); text-align: center; font-size: 18px; line-height: 24px; font-weight: 500; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.rd-loop-i:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--ll-line), 0 22px 40px -24px rgb(17 17 17 / .28); }
.rd-loop-i i { width: 56px; height: 56px; border-radius: 50%; background-image: radial-gradient(circle, var(--c) 0 2.2px, transparent 2.6px); background-size: 8px 8px; -webkit-mask-image: radial-gradient(circle, #000 55%, transparent 72%); mask-image: radial-gradient(circle, #000 55%, transparent 72%); animation: rd-spin 14s linear infinite; }
.rd-loop-i[style*="--i:0"] i { --c: #FF8A45; }
.rd-loop-i[style*="--i:1"] i { --c: #66CDBF; animation-direction: reverse; }
.rd-loop-i[style*="--i:2"] i { --c: #9F86DD; }
.rd-loop-a { display: grid; place-items: center; color: var(--ink-3); }
.rd-loop-back { position: absolute; left: 16%; right: 16%; bottom: 0; height: 14px; color: var(--ink-3); }
.rd-loop-back svg { width: 100%; height: 100%; display: block; }
@keyframes rd-spin { to { transform: rotate(360deg); } }

/* Ryze: one quiet card */
.rd-ch--ryze .rd-ch-head { background: linear-gradient(160deg, #FBFAF8, #F4F2EE); box-shadow: inset 0 0 0 1px var(--ll-line); }
.rd-ch--ryze .rd-ch-head::before { background-image: radial-gradient(circle, #FF7F32 0 1.1px, transparent 1.6px); opacity: .4; }
.rd-ryze { position: relative; overflow: hidden; border-radius: 18px; padding: 30px 32px 26px; background: #fff; box-shadow: inset 0 0 0 1px var(--ll-line); isolation: isolate; }
.rd-ryze-dots { position: absolute; right: -10px; top: -10px; width: 46%; height: 120%; z-index: -1; opacity: .5; background-image: radial-gradient(circle, #FF8A45 0 1.4px, transparent 1.9px); background-size: 10px 10px; -webkit-mask-image: radial-gradient(70% 70% at 100% 0%, #000, transparent 70%); mask-image: radial-gradient(70% 70% at 100% 0%, #000, transparent 70%); }
.rd-ryze-s { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rd-ryze-s li { display: flex; flex-direction: column; gap: 6px; padding: 6px 16px; }
.rd-ryze-s li:first-child { padding-left: 0; }
.rd-ryze-s li + li { border-left: 1px solid var(--ll-line); }
.rd-ryze-s b { font-size: 40px; line-height: 1.05; letter-spacing: -.035em; font-weight: 500; }
.rd-ryze-s span { font-size: 15px; color: var(--ink-2); }
.rd-ryze-f { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--ll-line-2); }
.rd-ryze-f .rd-src { margin: 0; }

/* the end: the cream closing band of the home page */
.rd-end { position: relative; padding: 120px 0 128px; background: #FBF8F1; overflow: hidden; }
.rd-end::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle, #E6DFCF 0 1.1px, transparent 1.5px); background-size: 18px 18px; -webkit-mask-image: radial-gradient(60% 80% at 50% 50%, #000, transparent 75%); mask-image: radial-gradient(60% 80% at 50% 50%, #000, transparent 75%); }
.rd-end-in { position: relative; width: var(--rd-w); margin: 0 auto; text-align: center; }
.rd-end-h { margin: 0 auto; max-width: 18ch; font-size: 52px; line-height: 56px; letter-spacing: -.03em; font-weight: 500; text-wrap: balance; }
.rd-end-p { margin: 18px auto 36px; max-width: 40ch; font-size: 20px; line-height: 30px; color: var(--ink-2); }

/* ---------- motion: elements rise in as they scroll into view (read.js adds .rd-js and .is-in) ---------- */
.rd-js [data-rv] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease) calc(var(--d, 0) * 90ms), transform 1.1s var(--ease) calc(var(--d, 0) * 90ms); }
.rd-js [data-rv].is-in { opacity: 1; transform: none; }
.rd-js .rd-fig[data-rv] { transform: translateY(34px) scale(.985); }
.rd-js .rd-fig[data-rv].is-in { transform: none; }
.rd-js .rd-fig img { transform: scale(1.06); transition: transform 1.8s var(--ease) .1s; }
.rd-js .rd-fig.is-in img { transform: scale(1); }
.rd-js :is(.rd-dotbar) { clip-path: inset(0 100% 0 0); transition: clip-path 1.4s cubic-bezier(.2, .7, .1, 1) calc(var(--i, 0) * 160ms + 250ms); }
.rd-js .rd-chg-bars .rd-dotbar + .rd-dotbar { transition-delay: 550ms; }
.rd-js .is-in :is(.rd-dotbar) { clip-path: inset(0 0 0 0); }
.rd-js .rd-stat-dots { clip-path: inset(100% 0 0 0); transition: clip-path 1.6s cubic-bezier(.2, .7, .1, 1) .25s; }
.rd-js .rd-stat.is-in .rd-stat-dots { clip-path: inset(0 0 0 0); }
.rd-js .rd-100-g i { transform: scale(0); transition: transform .5s var(--ease-pop, cubic-bezier(.2, 1.4, .4, 1)) calc(var(--i) * 9ms + 150ms); }
.rd-js .rd-100.is-in .rd-100-g i { transform: scale(1); }
.rd-js .rd-mx-i { opacity: 0; transform: scale(.8); transition: opacity .5s var(--ease) calc(var(--i) * 110ms + 200ms), transform .6s var(--ease-pop, cubic-bezier(.2, 1.4, .4, 1)) calc(var(--i) * 110ms + 200ms), box-shadow .3s var(--ease), color .3s; }
.rd-js .rd-mx.is-in .rd-mx-i { opacity: 1; transform: none; }
.rd-js .rd-mx.is-in .rd-mx-i:hover { transform: translateY(-2px); }
.rd-js .rd-plan-c li { opacity: 0; transform: translateY(-10px); transition: opacity .45s var(--ease) calc(var(--i) * 240ms + var(--j) * 80ms + 300ms), transform .55s var(--ease-pop, cubic-bezier(.2, 1.4, .4, 1)) calc(var(--i) * 240ms + var(--j) * 80ms + 300ms); }
.rd-js .rd-plan.is-in .rd-plan-c li { opacity: 1; transform: none; }
.rd-js :is(.rd-rates li, .rd-week li, .rd-fun-r, .rd-bar, .rd-pair-c, .rd-ryze-s li, .rd-loop-i, .rd-steps li) { opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease) calc(var(--i, 0) * 110ms + 150ms), transform .7s var(--ease) calc(var(--i, 0) * 110ms + 150ms), background .25s var(--ease), padding .25s var(--ease), box-shadow .35s var(--ease); }
.rd-js .is-in :is(.rd-rates li, .rd-week li, .rd-fun-r, .rd-bar, .rd-pair-c, .rd-ryze-s li, .rd-loop-i, .rd-steps li), .rd-js :is(.rd-week, .rd-loop).is-in > * { opacity: 1; transform: none; }
.rd-js .rd-loop.is-in .rd-loop-i:hover { transform: translateY(-3px); }
.rd-js .rd-ck-p { stroke-dasharray: 16; stroke-dashoffset: 16; transition: stroke-dashoffset .6s var(--ease) calc(var(--i, 0) * 110ms + 500ms); }
.rd-js .is-in .rd-ck-p { stroke-dashoffset: 0; }
.rd-js .rd-pil i { transform: scaleY(0); transform-origin: bottom; transition: transform .9s cubic-bezier(.2, .7, .1, 1) calc(var(--i) * 60ms + 200ms); }
.rd-js .rd-ch-head.is-in .rd-pil i { transform: none; }

/* ---------- tablet ---------- */
@media (max-width: 1180px) {
  .rd { --rail: 200px; }
  .rd-body { gap: 0 56px; }
  .rd-hero-in { gap: 40px; }
}

/* ---------- below a laptop: no rail, a slim bar with the chapter and the progress instead ---------- */
@media (max-width: 1023px) {
  .rd-hero { padding: 72px 0 64px; }
  .rd-hero-in { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .rd-body { grid-template-columns: minmax(0, 1fr); padding-top: 24px; }
  .rd-rail { display: none; }
  .rd-flow { max-width: none; }
  .rd-mbar { display: block; position: sticky; top: var(--hd-h); z-index: 80; background: rgb(255 255 255 / .9); -webkit-backdrop-filter: saturate(1.5) blur(16px); backdrop-filter: saturate(1.5) blur(16px); box-shadow: inset 0 -1px 0 var(--ll-line-2); }
  .rd-mbar-b { width: 100%; height: 48px; display: flex; align-items: center; gap: 12px; padding: 0 var(--gut); border: 0; background: none; font: inherit; color: var(--ink); text-align: left; cursor: pointer; }
  .rd-mbar-c { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; font-weight: 500; }
  .rd-mbar-p { font-size: 14px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
  .rd-mbar-b svg { color: var(--ink-3); transition: transform .3s var(--ease); }
  .rd-mbar-b[aria-expanded="true"] svg { transform: rotate(180deg); }
  .rd-mbar-line { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; }
  .rd-mbar-line i { display: block; height: 100%; width: calc(var(--p, 0) * 100%); background: linear-gradient(90deg, #FF8A45, #C98470, #9F86DD, #5FBFE0, #66CDBF); transition: width .2s linear; }
  .rd-mlist { list-style: none; margin: 0; padding: 6px var(--gut) 14px; max-height: min(62svh, 520px); overflow: auto; border-top: 1px solid var(--ll-line-2); }
  .rd-mlist a { display: flex; align-items: center; gap: 12px; padding: 11px 4px; font-size: 16px; color: var(--ink-2); border-bottom: 1px solid var(--ll-line-2); }
  .rd-mlist a i { width: 8px; height: 8px; border-radius: 50%; background: var(--tn); }
  .rd-mlist a.is-on { color: var(--ink); font-weight: 500; }
  .rd-ch + .rd-ch { margin-top: 88px; }
  .rd-sc, .rd-ch, .rd-ch-head { scroll-margin-top: calc(var(--hd-h) + 64px); }
}

/* ---------- phone ---------- */
@media (max-width: 759px) {
  .rd-hero { padding: 36px 0 40px; }
  .rd-player iframe { height: clamp(480px, 74svh, 660px); }
  .rd-h { margin-top: 22px; font-size: clamp(40px, 11vw, 56px); }
  .rd-promise { margin-top: 16px; font-size: 21px; }
  .rd-hero .rd-btns { margin-top: 28px; }
  .rd-hero .rd-btn { flex: 1 1 auto; justify-content: center; }
  .rd-body { padding-bottom: 72px; }
  .rd-ch { padding-top: 24px; }
  .rd-ch + .rd-ch { margin-top: 64px; }
  .rd-ch-head { flex-direction: column; align-items: flex-start; min-height: 0; padding: 26px 22px 24px; border-radius: 18px; gap: 22px; }
  .rd-ch-t { font-size: 32px; line-height: 38px; letter-spacing: -.02em; }
  .rd-pil { height: 84px; gap: 7px; }
  .rd-pil i { height: calc(var(--h) * 16px); width: 11px; background-size: 11px 7px; }
  .rd-sc { padding-top: 56px; }
  .rd-ch > header + .rd-sc { padding-top: 40px; }
  .rd-t { font-size: 26px; line-height: 33px; letter-spacing: -.018em; }
  .rd-n { margin-top: 12px; }
  .rd-n p { font-size: 17px; line-height: 27px; }
  .rd-sc > :is(.rd-fig, .rd-stat, .rd-chg, .rd-bars, .rd-q, .rd-100, .rd-rates, .rd-fun, .rd-steps, .rd-pair, .rd-ryze, .rd-mx, .rd-plan, .rd-week, .rd-loop, .rd-linkrow) { margin-top: 24px; }
  .rd-fig { margin-left: calc(-1 * var(--gut)); margin-right: calc(-1 * var(--gut)); border-radius: 0; }
  .rd-fig:not(.is-dark) { box-shadow: inset 0 1px 0 var(--ll-line), inset 0 -1px 0 var(--ll-line); }
  .rd-stat-in { padding: 26px 22px 22px; max-width: none; }
  .rd-stat-dots { width: 60%; opacity: .55; }
  .rd-stat-l { font-size: 17px; line-height: 25px; }
  .rd-chg, .rd-bars, .rd-fun, .rd-q, .rd-100, .rd-ryze, .rd-mx { padding: 24px 20px 22px; border-radius: 16px; }
  .rd-q p { font-size: 20px; line-height: 29px; }
  .rd-bar { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; }
  .rd-bar-l { grid-column: 1; grid-row: 1; }
  .rd-bar-v { grid-column: 2; grid-row: 1; font-size: 22px; }
  .rd-bar-track { grid-column: 1 / -1; grid-row: 2; }
  .rd-fun-r { grid-template-columns: 60px minmax(0, 1fr); gap: 6px 14px; }
  .rd-fun-r b { font-size: 26px; }
  .rd-fun-lab { grid-column: 2; }
  .rd-fun-track { grid-column: 1 / -1; grid-row: 2; }
  .rd-fun-r .rd-fun-lab { grid-row: 1; }
  .rd-100 { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .rd-100-g { grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 7px; }
  .rd-100-g i { width: 100%; height: auto; aspect-ratio: 1; }
  .rd-100-n b { font-size: 44px; }
  .rd-rates ul { grid-template-columns: minmax(0, 1fr); }
  .rd-rates li, .rd-rates li:first-child { padding: 18px 0; }
  .rd-rates li + li { border-left: 0; border-top: 1px solid var(--ll-line); }
  .rd-rates b { font-size: 34px; }
  .rd-pair { grid-template-columns: minmax(0, 1fr); }
  .rd-pair-v { font-size: 48px; }
  /* the chart keeps its shape and scrolls sideways, its edge showing that it does */
  .rd-mx { display: block; padding: 0; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .rd-mx::-webkit-scrollbar { display: none; }
  .rd-mx { --mx-w: 640px; }
  .rd-mx-yl { display: none; }
  .rd-mx-g { width: var(--mx-w); margin: 20px 20px 0; grid-template-rows: repeat(3, minmax(96px, auto)); }
  .rd-mx-xl { width: var(--mx-w); margin: 10px 20px 18px; }
  .rd-mx-i { font-size: 13px; }
  .rd-meta > span:nth-child(4) { display: none; }
  .rd-100-t { grid-auto-flow: row; grid-template-columns: auto auto; justify-content: start; align-items: end; gap: 14px 22px; }
  .rd-100-t .rd-tag { grid-column: 1 / -1; }
  .rd-plan { grid-template-columns: minmax(0, 1fr); }
  .rd-week a { grid-template-columns: 104px minmax(0, 1fr) 18px; gap: 10px; padding: 15px 2px; }
  .rd-week-t { font-size: 17px; line-height: 24px; }
  .rd-loop { grid-template-columns: minmax(0, 1fr); gap: 6px; padding-bottom: 0; }
  .rd-loop-a { transform: rotate(90deg); height: 22px; }
  .rd-loop-back { display: none; }
  .rd-loop-i { flex-direction: row; justify-content: flex-start; padding: 16px 18px; text-align: left; }
  .rd-loop-i i { width: 40px; height: 40px; }
  .rd-ryze-s { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; }
  .rd-ryze-s li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .rd-ryze-s b { font-size: 34px; }
  .rd-end { padding: 80px 0 88px; }
  .rd-end-h { font-size: 34px; line-height: 40px; }
  .rd-end-p { font-size: 18px; line-height: 27px; margin-bottom: 28px; }
  .rd-end .rd-btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .rd *, .rd *::before, .rd *::after { animation: none !important; }
  .rd-js [data-rv], .rd-js [data-rv] *, .rd-js .rd-fig img { transition: none !important; opacity: 1 !important; transform: none !important; clip-path: none !important; stroke-dashoffset: 0 !important; }
}

/* =====================================================================================================
   The article (build-longread.mjs, article.json): 5 or 6 chapters of connected text at a reading measure,
   small visuals in the home page's style, a quiet source label after each sourced sentence.
   ===================================================================================================== */
.rd--article { --flow: 700px; }
.rd--article .rd-body { grid-template-columns: var(--rail) minmax(0, var(--flow)); justify-content: start; gap: 0 clamp(56px, 8vw, 128px); }
.rd-rail-h { margin: 0 0 12px; padding: 0 10px; font-size: 13px; line-height: 18px; color: var(--ink-3); }

.ar { min-width: 0; }
.ar-ch { scroll-margin-top: calc(var(--hd-h) + 24px); }
.ar-ch + .ar-ch { margin-top: 128px; }
.ar-ch-h { position: relative; padding-bottom: 36px; margin-bottom: 8px; }
.ar-ch-k { margin: 0 0 18px; display: inline-flex; align-items: center; gap: 10px; font-size: 15px; line-height: 20px; font-weight: 500; color: var(--tn-t); }
.ar-ch-k i { display: block; width: 8px; height: 8px; background: var(--tn); box-shadow: 0 0 0 4px color-mix(in srgb, var(--tn) 22%, transparent); }
.ar-ch-t { margin: 0; font-size: 46px; line-height: 52px; letter-spacing: -.03em; font-weight: 500; text-wrap: balance; }
.ar-lede { margin: 20px 0 0; font-size: 22px; line-height: 34px; letter-spacing: -.01em; color: var(--ink-2); text-wrap: pretty; }
/* a strip of dots in the chapter's colour, fading out to the right */
.ar-ch-dots { position: absolute; left: 0; right: 0; bottom: 0; height: 14px; background-image: radial-gradient(circle, var(--tn) 0 2.2px, transparent 2.6px); background-size: 10px 10px; background-position: left center;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, rgb(0 0 0 / .55) 35%, transparent 85%); mask-image: linear-gradient(90deg, #000 0%, rgb(0 0 0 / .55) 35%, transparent 85%); }

.ar-h { margin: 56px 0 0; font-size: 28px; line-height: 36px; letter-spacing: -.02em; font-weight: 500; text-wrap: balance; scroll-margin-top: calc(var(--hd-h) + 24px); }
.ar-p { margin: 18px 0 0; font-size: 20px; line-height: 33px; color: #262626; text-wrap: pretty; }
.ar-h + .ar-p { margin-top: 14px; }
.ar-src { display: inline-block; margin-left: 2px; padding: 0 7px; font-size: 13px; line-height: 22px; letter-spacing: 0; color: var(--ink-3); background: #F6F5F2; vertical-align: 2px; white-space: nowrap; }

/* small visuals: a hairline card with a short grey caption under it */
.ar-vis { margin: 36px 0 8px; }
.ar-vis figcaption { margin-top: 12px; font-size: 14px; line-height: 20px; color: var(--ink-3); }
.ar-vis :is(.rd-chg, .rd-bars, .rd-100, .rd-mx, .rd-ryze) { margin: 0; }
.ar-vis .rd-chg, .ar-vis .rd-bars { padding: 24px 28px 22px; }
.ar-vis .rd-chg-n { font-size: 40px; }
.ar-vis .rd-bar { grid-template-columns: minmax(110px, 170px) minmax(0, 1fr) minmax(64px, auto); gap: 14px; }
.ar-vis .rd-bar-v { font-size: 22px; }
.ar-vis .rd-dotbar { height: 22px; background-size: 8px 8px; background-image: radial-gradient(circle, var(--tn) 0 2.3px, transparent 2.7px); }
.ar-vis .rd-dotbar.is-muted { background-image: radial-gradient(circle, #D4D1CA 0 2.3px, transparent 2.7px); }
.ar-vis .rd-100 { gap: 32px; padding: 26px 28px; }
.ar-vis .rd-100-g { grid-template-columns: repeat(10, 11px); gap: 7px; }
.ar-vis .rd-100-g i { width: 11px; height: 11px; }
.ar-vis .rd-100-n b { font-size: 44px; }
.ar-vis .rd-mx-g { grid-template-rows: repeat(3, minmax(86px, auto)); }
.ar-vis .rd-mx-i { font-size: 13px; }
.ar-vis .rd-ryze-s b { font-size: 34px; }
.ar-vis--week { margin-top: 28px; }
.ar-vis .rd-week-t { font-size: 18px; line-height: 26px; }
.ar-vis .rd-week a { padding: 14px 8px 14px 4px; }

.ar-steps, .ar-pit { margin: 28px 0 8px; }
.ar-steps li { font-size: 18px; line-height: 27px; }
.ar-pit p { font-size: 18px; line-height: 27px; }

/* two inputs feed Meta, Meta picks the crowd */
.vz-in { display: grid; grid-template-columns: minmax(0, 1.25fr) 96px minmax(0, 1fr); align-items: center; gap: 0; padding: 30px 28px; background: #fff; box-shadow: inset 0 0 0 1px var(--ll-line); }
.vz-in-l { display: grid; gap: 22px; }
.vz-in-s { position: relative; display: grid; grid-template-columns: 54px minmax(0, 1fr); align-items: center; gap: 14px; padding-right: 28px; }
.vz-in-s b { font-size: 16px; line-height: 22px; font-weight: 500; }
.vz-in-ic { position: relative; height: 44px; display: flex; align-items: center; }
.vz-in-s--ads .vz-in-ic i { position: absolute; top: 4px; width: 28px; height: 36px; background: #fff; box-shadow: inset 0 0 0 1px var(--ll-line), 0 6px 14px -10px rgb(17 17 17 / .4);
  background-image: radial-gradient(circle, #D4D1CA 0 1.4px, transparent 1.8px); background-size: 5px 5px; background-position: 2px 2px; }
.vz-in-s--ads .vz-in-ic i:nth-child(1) { left: 0; transform: rotate(-8deg); }
.vz-in-s--ads .vz-in-ic i:nth-child(2) { left: 12px; transform: rotate(2deg); }
.vz-in-s--ads .vz-in-ic i:nth-child(3) { left: 24px; transform: rotate(10deg); background-image: radial-gradient(circle, var(--tn) 0 1.4px, transparent 1.8px); }
.vz-in-s--sales .vz-in-ic i { width: 44px; height: 44px; background-image: radial-gradient(circle, var(--tn) 0 2.2px, transparent 2.6px); background-size: 8px 8px; -webkit-mask-image: radial-gradient(circle, #000 50%, transparent 72%); mask-image: radial-gradient(circle, #000 50%, transparent 72%); }
/* a wire with dots travelling along it */
.vz-wire { position: absolute; right: -96px; top: 50%; width: 120px; height: 2px; overflow: hidden; background-image: radial-gradient(circle, #CFCAC1 0 1px, transparent 1.4px); background-size: 6px 2px; }
.vz-wire i { position: absolute; inset: 0; background-image: radial-gradient(circle, var(--tn) 0 1.6px, transparent 2px); background-size: 24px 2px; animation: vz-flow 1.6s linear infinite; }
.vz-in-s:nth-child(1) .vz-wire { transform-origin: left center; transform: rotate(14deg); }
.vz-in-s:nth-child(2) .vz-wire { transform-origin: left center; transform: rotate(-14deg); }
@keyframes vz-flow { to { background-position: 24px 0; } }
.vz-in-c { position: relative; z-index: 1; display: grid; place-items: center; width: 96px; height: 96px; background: #111; color: #fff; font-size: 17px; font-weight: 500; box-shadow: 0 20px 40px -24px rgb(0 0 0 / .6); }
.vz-in-c::after { content: ''; position: absolute; inset: -10px; border: 1px dashed color-mix(in srgb, var(--tn) 70%, transparent); animation: vz-ring 3.2s ease-in-out infinite; }
@keyframes vz-ring { 0%, 100% { inset: -10px; opacity: .9; } 50% { inset: -16px; opacity: .35; } }
.vz-in-o { position: relative; display: grid; justify-items: center; gap: 12px; padding-left: 40px; text-align: center; }
.vz-wire--o { position: absolute; left: 0; right: auto; top: 46px; width: 44px; transform: none; }
.vz-crowd { width: 100px; height: 80px; background-image: radial-gradient(circle, var(--tn) 0 2.4px, transparent 2.8px), radial-gradient(circle, #D9D5CE 0 2.4px, transparent 2.8px); background-size: 9px 9px, 9px 9px; background-position: 0 0, 4.5px 4.5px;
  -webkit-mask-image: radial-gradient(closest-side, #000 60%, transparent 100%); mask-image: radial-gradient(closest-side, #000 60%, transparent 100%); }
.vz-in-o b { font-size: 16px; line-height: 22px; font-weight: 500; }

/* the waterfall */
.vz-wf { position: relative; padding: 26px 28px 20px; background: #fff; box-shadow: inset 0 0 0 1px var(--ll-line); }
.vz-wf-badge { position: absolute; right: 24px; top: 22px; display: inline-flex; align-items: center; height: 28px; padding: 0 12px; font-size: 14px; font-weight: 500; color: #fff; background: #FF7F32; }
.vz-wf-g { position: relative; height: 230px; margin-top: 34px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; border-bottom: 1px solid var(--ll-line); }
.vz-wf-g::after { content: ''; position: absolute; left: 0; right: 0; bottom: calc(var(--zero) * 100%); border-top: 1px dashed rgb(17 17 17 / .3); }
.vz-wf-c { position: relative; }
.vz-wf-bar { position: absolute; left: 12%; right: 12%; bottom: calc(var(--b) * 100%); height: calc(var(--h) * 100%); min-height: 6px; background-image: radial-gradient(circle, #2B2B2B 0 2.3px, transparent 2.7px); background-size: 8px 8px; }
.vz-wf-c.is-neg .vz-wf-bar { background-image: radial-gradient(circle, #C9C4BA 0 2.3px, transparent 2.7px); }
.vz-wf-c:nth-child(3) .vz-wf-bar { background-image: radial-gradient(circle, #FF8A45 0 2.3px, transparent 2.7px); }
.vz-wf-c.is-end .vz-wf-bar { background-image: radial-gradient(circle, #E0674A 0 2.3px, transparent 2.7px); }
.vz-wf-v { position: absolute; left: 0; right: 0; bottom: calc((var(--b) + var(--h)) * 100% + 8px); text-align: center; font-size: 15px; font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }
.vz-wf-c.is-end .vz-wf-v { color: #C0573C; }
.vz-wf-x { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 10px; }
.vz-wf-x span { text-align: center; font-size: 14px; line-height: 19px; color: var(--ink-2); }

/* motion for the article's visuals */
.rd-js .ar-vis .rd-dotbar { clip-path: inset(0 100% 0 0); transition: clip-path 1.4s cubic-bezier(.2, .7, .1, 1) calc(var(--i, 0) * 160ms + 250ms); }
.rd-js .ar-vis.is-in .rd-dotbar { clip-path: inset(0 0 0 0); }
.rd-js .ar-vis .rd-chg-bars .rd-dotbar + .rd-dotbar { transition-delay: 600ms; }
.rd-js .ar-vis .rd-100-g i { transform: scale(0); transition: transform .5s cubic-bezier(.2, 1.4, .4, 1) calc(var(--i) * 9ms + 150ms); }
.rd-js .ar-vis.is-in .rd-100-g i { transform: scale(1); }
.rd-js .ar-vis .rd-mx-i { opacity: 0; transform: scale(.8); transition: opacity .5s var(--ease) calc(var(--i) * 110ms + 200ms), transform .6s cubic-bezier(.2, 1.4, .4, 1) calc(var(--i) * 110ms + 200ms), box-shadow .3s var(--ease), color .3s; }
.rd-js .ar-vis.is-in .rd-mx-i { opacity: 1; transform: none; }
.rd-js .ar-vis :is(.rd-bar, .rd-week li, .rd-ryze-s li) { opacity: 0; transform: translateY(10px); transition: opacity .6s var(--ease) calc(var(--i, 0) * 110ms + 150ms), transform .7s var(--ease) calc(var(--i, 0) * 110ms + 150ms), background .25s var(--ease), padding .25s var(--ease); }
.rd-js .ar-vis.is-in :is(.rd-bar, .rd-week li, .rd-ryze-s li) { opacity: 1; transform: none; }
.rd-js .vz-wf-bar { clip-path: inset(100% 0 0 0); transition: clip-path 1.1s cubic-bezier(.2, .7, .1, 1) calc(var(--i) * 260ms + 200ms); }
.rd-js .vz-wf-c.is-neg .vz-wf-bar { clip-path: inset(0 0 100% 0); }
.rd-js .ar-vis.is-in .vz-wf-bar { clip-path: inset(0 0 0 0); }
.rd-js .vz-wf-v { opacity: 0; transition: opacity .5s var(--ease) calc(var(--i) * 260ms + 700ms); }
.rd-js .ar-vis.is-in .vz-wf-v { opacity: 1; }
.rd-js .vz-in-s, .rd-js .vz-in-c, .rd-js .vz-in-o { opacity: 0; transform: translateY(10px); transition: opacity .6s var(--ease), transform .7s var(--ease); }
.rd-js .vz-in-s { transition-delay: calc(var(--i) * 140ms + 100ms); }
.rd-js .vz-in-c { transition-delay: 420ms; }
.rd-js .vz-in-o { transition-delay: 620ms; }
.rd-js .ar-vis.is-in :is(.vz-in-s, .vz-in-c, .vz-in-o) { opacity: 1; transform: none; }
.rd-js .ar-ch-dots { clip-path: inset(0 100% 0 0); transition: clip-path 1.6s cubic-bezier(.2, .7, .1, 1) .3s; }
.rd-js .ar-ch-h.is-in .ar-ch-dots { clip-path: inset(0 0 0 0); }

@media (max-width: 1023px) {
  .rd--article .rd-body { grid-template-columns: minmax(0, 1fr); }
  .rd--article .rd-flow { max-width: 700px; margin: 0 auto; width: 100%; }
  .ar-ch { padding-top: 32px; }
}
@media (max-width: 759px) {
  .ar-src { white-space: normal; overflow-wrap: anywhere; }
  .ar-ch + .ar-ch { margin-top: 80px; }
  .ar-ch-t { font-size: 32px; line-height: 38px; letter-spacing: -.022em; }
  .ar-lede { margin-top: 14px; font-size: 19px; line-height: 29px; }
  .ar-ch-h { padding-bottom: 28px; }
  .ar-h { margin-top: 44px; font-size: 23px; line-height: 30px; }
  .ar-p { font-size: 18px; line-height: 30px; }
  .ar-vis { margin-top: 28px; }
  .ar-vis .rd-chg, .ar-vis .rd-bars { padding: 20px 18px; }
  .ar-vis .rd-chg-n { font-size: 32px; }
  .ar-vis .rd-bar { grid-template-columns: minmax(0, 1fr) auto; }
  .ar-vis .rd-100 { padding: 20px 18px; }
  .ar-vis .rd-100-g { grid-template-columns: repeat(10, minmax(0, 1fr)); }
  .ar-vis .rd-100-g i { width: 100%; height: auto; aspect-ratio: 1; }
  .vz-in { grid-template-columns: minmax(0, 1fr); justify-items: start; gap: 26px; padding: 22px 18px; }
  .vz-wire { display: none; }
  .vz-in-s { padding-right: 0; }
  .vz-in-c { width: 100%; height: 56px; }
  .vz-in-c::after { display: none; }
  .vz-in-o { grid-template-columns: 100px minmax(0, 1fr); align-items: center; justify-items: start; padding-left: 0; text-align: left; gap: 16px; }
  .vz-crowd { width: 100px; height: 64px; }
  .vz-wf { padding: 20px 14px 16px; }
  .vz-wf-badge { position: static; margin-bottom: 4px; }
  .vz-wf-g, .vz-wf-x { gap: 8px; }
  .vz-wf-v { font-size: 12px; }
  .vz-wf-x span { font-size: 12px; line-height: 16px; }
}

/* interactive visuals (site/assets/read/viz/<id>.js): the module draws inside .vz; until it loads, a quiet placeholder */
.ar-vis--viz .vz { min-height: 120px; }
.ar-vis--viz .vz:empty { min-height: 300px; background: #FBFAF8; box-shadow: inset 0 0 0 1px var(--ll-line); }
@media (max-width: 759px) { .ar-vis--viz .vz:empty { min-height: 260px; } }

/* back to the presentation, while the article is on screen */
.lm-back { position: fixed; z-index: 85; right: 24px; bottom: 24px; display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 18px 0 16px; background: #111; color: #fff; font-size: 15px; font-weight: 500;
  box-shadow: 0 18px 40px -16px rgb(0 0 0 / .55), inset 0 0 0 1px rgb(255 255 255 / .08); transform: translateY(0); opacity: 1; transition: transform .45s cubic-bezier(.2, .8, .2, 1), opacity .35s, background .25s; }
.lm-back svg { color: #FF8A45; }
.lm-back:hover { background: #262626; }
.lm-back[hidden] { display: none; }

@media (max-width: 759px) {
  .lm-back { right: 16px; bottom: 16px; height: 40px; font-size: 14px; }
}
