/* Resources section: hub (index-card fan, featured insight, case ledger with cursor preview, framework glyphs,
   checklist teaser, editorial post list, procurement pack), articles (progress bar, sticky contents) and the gated checklist. */

/* ---------- Hub hero: fanned index cards ---------- */
.rs-hero { position: relative; isolation: isolate; overflow: hidden; padding: 90px 0 70px; }
.rs-hero .glow { -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent); mask-image: linear-gradient(180deg, #000 55%, transparent); }
.rs-hero__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.rs-hero__copy > * + * { margin-top: 24px; }
.rs-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px !important; }
.rs-jump a { padding: 7px 14px; border-radius: 999px; font-size: 14px; color: rgba(255,255,255,0.75); border: 1px solid var(--line); background: rgba(255,255,255,0.03); transition: border-color .25s, color .25s, background .25s; }
.rs-jump a:hover { color: #fff; border-color: rgba(120,165,255,0.6); background: rgba(0,85,255,0.12); }
.rs-deck { position: relative; perspective: 1300px; }
.rs-fan { --ease: cubic-bezier(.22,1,.36,1); position: relative; height: 400px; transform: rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)); will-change: transform; }
.rs-card { position: absolute; left: 50%; top: 50%; width: 240px; height: 310px; margin: -155px 0 0 -120px; padding: 22px; border-radius: 18px; display: flex; flex-direction: column; overflow: hidden;
  z-index: var(--z, 1); border: 1px solid rgba(143,178,255,0.3); background: linear-gradient(160deg, #0d1a3d, #050914 70%); box-shadow: 0 30px 70px rgba(0,0,0,0.6);
  transform: translate3d(var(--x, 0px), var(--y, 0px), 0) rotate(var(--r, 0deg)) scale(var(--s, 1)); transform-origin: 50% 110%;
  transition: transform .8s var(--ease) var(--delay, 0s), z-index .35s step-end, border-color .4s ease, box-shadow .5s ease; will-change: transform; backface-visibility: hidden; }
.rs-card:nth-child(2) { background: linear-gradient(160deg, #102350, #050914 70%); }
.rs-card:nth-child(3) { background: linear-gradient(160deg, #15255a, #060a17 70%); }
.rs-card:nth-child(4) { background: linear-gradient(160deg, #0b3aa8, #061233 75%); border-color: rgba(143,178,255,0.55); }
.rs-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; opacity: 0; transition: opacity .5s ease;
  background: radial-gradient(60% 50% at var(--gx, 50%) var(--gy, 0%), rgba(143,178,255,0.25), transparent 70%); }
.rs-card__top { display: flex; align-items: center; gap: 12px; }
.rs-card__name { font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; color: #8fb2ff; }
.rs-card b { margin-top: auto; font-size: 92px; line-height: .9; font-weight: 300; letter-spacing: -0.06em; color: #fff; transform-origin: 0 100%; transition: transform .7s var(--ease); }
.rs-card__peek { position: absolute; left: 22px; right: 22px; bottom: 52px; opacity: 0; transform: translateY(14px); transition: opacity .45s ease, transform .7s var(--ease); pointer-events: none; }
.rs-card__line { display: block; font-size: 14px; line-height: 20px; color: rgba(255,255,255,0.78); }
.rs-card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.rs-card__tags i { font-style: normal; font-size: 11.5px; line-height: 1; padding: 6px 9px; border-radius: 999px; color: #cfe0ff; border: 1px solid rgba(143,178,255,0.3); background: rgba(0,85,255,0.12); }
.rs-card__go { position: absolute; left: 22px; bottom: 20px; font-size: 13px; color: #8fb2ff; opacity: 0; transform: translateY(8px); transition: opacity .4s ease .05s, transform .7s var(--ease) .05s; }
.rs-card.is-peek { border-color: #8fb2ff; box-shadow: 0 36px 80px rgba(0,0,0,0.65), 0 0 46px rgba(0,85,255,0.45); }
.rs-card.is-peek::after { opacity: 1; }
.rs-card.is-peek b { transform: translateY(-142px) scale(.6); }
.rs-card.is-peek .rs-card__peek { opacity: 1; transform: none; transition-delay: .08s; }
.rs-card.is-peek .rs-card__go { opacity: 1; transform: none; }
.rs-deck__ctrl { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 4px; }
.rs-deck__ctrl button { width: 40px; height: 40px; border-radius: 50%; font: inherit; color: #fff; cursor: pointer; border: 1px solid var(--line); background: rgba(255,255,255,0.04); transition: border-color .25s, background .25s; }
.rs-deck__ctrl button:hover { border-color: rgba(120,165,255,0.7); background: rgba(0,85,255,0.15); }
.rs-deck__label { min-width: 120px; text-align: center; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--subtle); }
@media (prefers-reduced-motion: no-preference) { .js .rs-card { animation: rsDeal .9s cubic-bezier(.2,.75,.15,1) both; animation-delay: calc(.15s + var(--i) * .12s); } }
@keyframes rsDeal { from { opacity: 0; } }

/* ---------- Shared section head ---------- */
.rs-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; }
.rs-head > div > * + * { margin-top: 22px; }

/* ---------- Featured insight ---------- */
.rs-feature { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; grid-template-areas: "meta quote" "title quote" "lead quote" "go quote"; column-gap: 56px; row-gap: 18px;
  padding: 48px; border-radius: var(--radius); border: 1px solid rgba(0,85,255,0.35); overflow: hidden;
  background: radial-gradient(70% 90% at 0% 0%, rgba(0,85,255,0.22), transparent 60%), #04060c; transition: border-color .3s; }
.rs-feature:hover { border-color: rgba(143,178,255,0.75); }
.rs-feature__meta { grid-area: meta; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.rs-feature__meta small { font-size: 13px; color: var(--subtle); }
.rs-feature__title { grid-area: title; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.1; font-weight: 400; letter-spacing: -0.035em; }
.rs-feature .lead { grid-area: lead; }
.rs-feature__go { grid-area: go; color: #8fb2ff; }
.rs-feature__quote { grid-area: quote; align-self: center; margin: 0; padding-left: 28px; border-left: 2px solid #0055fe; font-size: 22px; line-height: 1.45; letter-spacing: -0.02em; color: rgba(255,255,255,0.85); font-style: italic; }

/* ---------- Case ledger with cursor preview ---------- */
.rs-cases { list-style: none; margin: 56px 0 0; padding: 0; border-top: 1px solid var(--line); }
.rs-case { position: relative; display: grid; grid-template-columns: 56px 150px 1.1fr 1.4fr 40px; gap: 24px; align-items: baseline; padding: 30px 6px; border-bottom: 1px solid var(--line); transition: background .3s, padding .4s cubic-bezier(.2,.75,.15,1); }
.rs-case::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 0; background: #0055fe; transition: width .6s ease; }
.rs-case:hover { background: rgba(0,85,255,0.05); padding-left: 18px; }
.rs-case:hover::after { width: 100%; }
.rs-case__n { font: 13px ui-monospace, "SF Mono", Menlo, monospace; color: #8fb2ff; }
.rs-case__sector { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--subtle); }
.rs-case__title { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.15; letter-spacing: -0.03em; }
.rs-case__line { color: var(--muted); font-size: 15px; line-height: 24px; }
.rs-case__go { justify-self: end; font-size: 20px; color: var(--subtle); transition: transform .3s, color .3s; }
.rs-case:hover .rs-case__go { color: #fff; transform: translateX(6px); }
.rs-case__thumb { display: none; }
.rs-preview { position: fixed; left: 0; top: 0; z-index: 30; width: 300px; height: 190px; border-radius: 14px; overflow: hidden; pointer-events: none; opacity: 0;
  border: 1px solid rgba(143,178,255,0.4); box-shadow: 0 30px 80px rgba(0,0,0,0.7); transform: translate3d(var(--x, 0), var(--y, 0), 0) scale(.85); transition: opacity .3s, transform .3s cubic-bezier(.2,.75,.15,1); }
.rs-preview.is-on { opacity: 1; transform: translate3d(var(--x, 0), var(--y, 0), 0) scale(1) rotate(-2deg); }
.rs-preview img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.35) contrast(1.05); }

/* ---------- Frameworks ---------- */
.rs-fws { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.rs-fw { display: flex; flex-direction: column; padding: 30px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,0.03), transparent); transition: border-color .3s, transform .4s cubic-bezier(.2,.75,.15,1); }
.rs-fw:hover { border-color: rgba(0,85,255,0.5); transform: translateY(-4px); }
.rs-fw__glyph svg { width: 120px; height: 80px; fill: none; stroke: rgba(143,178,255,0.55); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.rs-fw__glyph .g-hot { stroke: #4d8bff; stroke-width: 2; stroke-dasharray: 140; stroke-dashoffset: 140; transition: stroke-dashoffset 1.2s ease; filter: drop-shadow(0 0 4px #0055fe); }
.rs-fw:hover .g-hot, .rs-fw.is-visible .g-hot { stroke-dashoffset: 0; }
.rs-fw small { margin-top: 26px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: #8fb2ff; }
.rs-fw h3 { margin-top: 10px; font-size: 24px; line-height: 1.2; font-weight: 400; letter-spacing: -0.03em; }
.rs-fw p { margin-top: 12px; color: var(--muted); font-size: 15px; line-height: 24px; }
.rs-fw__go { margin-top: auto; padding-top: 22px; color: #8fb2ff; font-size: 14px; }

/* ---------- Checklist teaser ---------- */
.rs-check { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 56px; border-radius: var(--radius);
  border: 1px solid rgba(0,85,255,0.35); background: radial-gradient(80% 100% at 100% 100%, rgba(0,85,255,0.24), transparent 60%), #03050b; }
.rs-check__copy > * + * { margin-top: 22px; }
.rs-check__copy .btn-row { margin-top: 30px; }
.rs-check__areas { list-style: none; margin: 0; padding: 0; counter-reset: a; }
.rs-check__areas li { display: grid; grid-template-columns: 40px 1fr auto; align-items: baseline; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 19px; letter-spacing: -0.02em; }
.rs-check__areas li:first-child { border-top: 1px solid var(--line); }
.rs-check__areas b { font: 12px ui-monospace, "SF Mono", Menlo, monospace; color: #8fb2ff; }
.rs-check__areas span { font-size: 13px; color: var(--subtle); letter-spacing: 0; }
.rs-check__areas li::after { content: ""; grid-column: 1 / -1; height: 2px; margin-top: 8px; border-radius: 2px; background: linear-gradient(90deg, #0055fe, #8fb2ff); transform-origin: left; transform: scaleX(0); transition: transform .9s cubic-bezier(.2,.75,.15,1); transition-delay: calc(var(--i) * .1s); }
.rs-check.is-visible .rs-check__areas li::after { transform: scaleX(calc(0.35 + var(--i) * 0.12)); }

/* ---------- Insight list ---------- */
.rs-posts { margin-top: 48px; border-top: 1px solid var(--line); }
.rs-post { display: grid; grid-template-columns: 120px 1fr 40px; gap: 32px; align-items: start; padding: 32px 0; border-bottom: 1px solid var(--line); transition: background .3s; }
.rs-post time { font-size: 13px; color: var(--subtle); line-height: 1.2; }
.rs-post time b { display: block; font-size: 52px; font-weight: 300; line-height: 1; letter-spacing: -0.05em; color: #fff; margin-bottom: 6px; }
.rs-post small { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: #8fb2ff; }
.rs-post h3 { margin-top: 10px; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; font-weight: 400; letter-spacing: -0.03em; transition: color .3s; }
.rs-post p { margin-top: 10px; color: var(--muted); max-width: 720px; }
.rs-post__go { justify-self: end; font-size: 22px; color: var(--subtle); transition: transform .3s, color .3s; }
.rs-post:hover h3 { color: #8fb2ff; }
.rs-post:hover .rs-post__go { color: #fff; transform: translateX(6px); }

/* ---------- Procurement pack ---------- */
.rs-proc { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: start; }
.rs-proc > div:first-child > * + * { margin-top: 22px; }
.rs-proc__commit { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.rs-proc__commit li { padding: 6px 12px; border-radius: 999px; font-size: 13.5px; color: rgba(255,255,255,0.8); border: 1px solid var(--line); }
.rs-proc__commit li::before { content: "✓ "; color: #7ee2b8; }
.rs-proc__pack { position: relative; padding: 32px; border-radius: var(--radius); border: 1px solid rgba(143,178,255,0.3);
  background: repeating-linear-gradient(-45deg, rgba(255,255,255,0.015) 0 10px, transparent 10px 20px), linear-gradient(180deg, #0a1328, #04060c); }
.rs-proc__pack::before { content: "CONFIDENTIAL · UNDER NDA"; position: absolute; top: 18px; right: 20px; font: 10px ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: 0.14em; color: rgba(255,255,255,0.3); }
.rs-proc__label { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: #8fb2ff; }
.rs-proc__pack ul { list-style: none; margin: 18px 0 26px; padding: 0; }
.rs-proc__pack li { padding: 14px 0 14px 30px; border-bottom: 1px dashed rgba(255,255,255,0.1); position: relative; }
.rs-proc__pack li::before { content: ""; position: absolute; left: 0; top: 17px; width: 14px; height: 17px; border-radius: 2px; border: 1px solid rgba(143,178,255,0.6); }
.rs-proc__pack li b { display: block; font-weight: 500; }
.rs-proc__pack li span { font-size: 14px; color: var(--muted); }

/* ---------- Article ---------- */
.rs-progress { position: fixed; left: 0; right: 0; top: 0; z-index: 60; height: 3px; pointer-events: none; }
.rs-progress i { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, #0055fe, #8fb2ff); box-shadow: 0 0 10px #0055fe; }
.rs-art__head { padding-top: 70px; max-width: 980px; }
.rs-crumbs { display: flex; gap: 10px; font-size: 14px; color: var(--subtle); margin-bottom: 26px; }
.rs-crumbs a:hover { color: #fff; }
.rs-art__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; font-size: 14px; color: var(--subtle); }
.rs-art__title { margin-top: 24px; font-size: clamp(38px, 5vw, 64px); line-height: 1.06; letter-spacing: -0.045em; font-weight: 400; }
.rs-art__dek { margin-top: 24px; font-size: 21px; line-height: 1.5; color: var(--muted); max-width: 780px; }
.rs-art__grid { display: grid; grid-template-columns: 240px minmax(0, 700px); gap: 80px; margin-top: 64px; padding-bottom: 40px; }
.rs-toc { position: sticky; top: 120px; align-self: start; }
.rs-toc p { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--subtle); }
.rs-toc ol { list-style: none; margin: 14px 0 0; padding: 0 0 0 14px; border-left: 1px solid var(--line); }
.rs-toc li a { display: block; position: relative; padding: 6px 0; font-size: 14px; line-height: 20px; color: var(--subtle); transition: color .25s; }
.rs-toc li a::before { content: ""; position: absolute; left: -15px; top: 6px; bottom: 6px; width: 2px; background: #4d8bff; transform: scaleY(0); transition: transform .3s; }
.rs-toc li a:hover { color: #fff; }
.rs-toc li a.is-on { color: #fff; }
.rs-toc li a.is-on::before { transform: none; }
.rs-prose h2 { margin: 52px 0 0; font-size: 28px; line-height: 1.2; font-weight: 400; letter-spacing: -0.03em; }
.rs-prose h2:first-child { margin-top: 0; }
.rs-prose p { margin-top: 18px; font-size: 18px; line-height: 31px; color: rgba(255,255,255,0.78); }
.rs-prose h3 { margin: 34px 0 0; font-size: 20px; line-height: 1.3; font-weight: 500; letter-spacing: -0.02em; }
.rs-prose ul, .rs-prose ol { margin: 18px 0 0; padding-left: 22px; font-size: 18px; line-height: 30px; color: rgba(255,255,255,0.78); }
.rs-prose li + li { margin-top: 8px; }
.rs-prose li b, .rs-prose p b { color: #fff; font-weight: 500; }
.rs-prose em { color: rgba(255,255,255,0.9); }
.rs-aside { margin: 30px 0 0; padding: 22px 24px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255,255,255,0.025); }
.rs-aside > b { display: block; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: #8fb2ff; font-weight: 500; }
.rs-aside p, .rs-aside ul { margin-top: 10px; font-size: 16px; line-height: 27px; }
.rs-pull { margin: 40px 0; padding: 6px 0 6px 28px; border-left: 2px solid #0055fe; font-size: 26px; line-height: 1.4; letter-spacing: -0.02em; color: #fff; }
/* Article blocks: verified quote cards, "why now" timeline and bar charts (tools/resources.py block()). */
.rs-qcard { margin: 36px 0; padding: 26px 28px 24px; border-radius: 18px; border: 1px solid rgba(143,178,255,0.28); background: linear-gradient(135deg, rgba(0,85,255,0.12), rgba(255,255,255,0.02) 60%); position: relative; }
.rs-qcard::before { content: "“"; position: absolute; top: 6px; right: 22px; font-size: 96px; line-height: 1; color: rgba(143,178,255,0.18); font-family: Georgia, serif; }
.rs-qcard blockquote { margin: 0; }
.rs-qcard blockquote p { margin: 0; font-size: 22px; line-height: 1.45; letter-spacing: -0.015em; color: #fff; }
.rs-qcard figcaption { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; font-size: 14px; color: var(--muted); }
.rs-qcard figcaption b { color: #fff; font-weight: 500; font-size: 15px; }
.rs-qcard figcaption a { color: #8fb2ff; text-decoration: none; }
.rs-qcard figcaption a:hover { text-decoration: underline; text-underline-offset: 3px; }
.rs-viz { margin: 36px 0; padding: 26px 28px 20px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255,255,255,0.025); }
.rs-viz__head small { display: block; font: 500 11.5px "DM Sans", system-ui, sans-serif; letter-spacing: 0.14em; text-transform: uppercase; color: #8fb2ff; }
.rs-viz__head b { display: block; margin-top: 6px; font-size: 20px; line-height: 1.3; font-weight: 500; letter-spacing: -0.02em; color: #fff; }
.rs-viz__src { margin-top: 18px !important; font-size: 13px !important; line-height: 20px !important; color: var(--subtle) !important; }
.rs-viz__src a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
/* Timeline: a line that draws down, events that arrive one by one. */
.rs-tl ol { position: relative; list-style: none; margin: 20px 0 0; padding: 0 0 0 26px; }
.rs-tl ol::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 2px; border-radius: 2px; background: linear-gradient(180deg, #4d8bff, #7ee2b8 60%, #c4b5fd); transform-origin: top; }
.rs-prose .rs-tl__item { position: relative; margin: 0; padding: 0 0 18px; display: grid; grid-template-columns: 150px 1fr; gap: 2px 16px; }
.rs-tl__item::before { content: ""; position: absolute; left: -26px; top: 7px; width: 12px; height: 12px; border-radius: 50%; background: #04060c; border: 2px solid #4d8bff; }
.rs-tl__item--sector::before { border-color: #7ee2b8; } .rs-tl__item--deadline::before { border-color: #c4b5fd; background: #c4b5fd; }
.rs-tl__item time, .rs-tl__when { font: 500 14px/24px "DM Sans", system-ui, sans-serif; color: #fff; }

.rs-tl__lane { grid-column: 1; white-space: nowrap; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: #8fb2ff; }
.rs-tl__item--sector .rs-tl__lane { color: #7ee2b8; } .rs-tl__item--deadline .rs-tl__lane { color: #c4b5fd; }
.rs-tl__item p { grid-column: 2; grid-row: 1 / span 2; margin: 0 !important; font-size: 16px !important; line-height: 25px !important; }
/* Bars: grow to their value. */
.rs-bars ul { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 16px; }
.rs-prose .rs-bars li { margin: 0; display: grid; grid-template-columns: 1fr 64px; gap: 6px 14px; align-items: center; }
.rs-bars__label { grid-column: 1 / -1; font-size: 15px; line-height: 22px; color: rgba(255,255,255,0.85); }
.rs-bars__track { height: 10px; border-radius: 999px; background: rgba(255,255,255,0.07); overflow: hidden; }
.rs-bars__track i { display: block; height: 100%; width: calc(var(--v) * 1%); border-radius: inherit; background: linear-gradient(90deg, #0055fe, #4d8bff); transform-origin: left; }
.rs-bars li b { font: 500 18px/1 "DM Sans", system-ui, sans-serif; color: #fff; text-align: right; }
/* Compare: two columns, items arrive one by one. */
.rs-cmp__grid { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rs-cmp__col { padding: 18px 18px 8px; border-radius: 14px; border: 1px solid rgba(126,226,184,0.35); background: rgba(126,226,184,0.05); }
.rs-cmp__col--risk { border-color: rgba(196,181,253,0.45); background: rgba(139,92,246,0.07); }
.rs-cmp__head { margin: 0 !important; font-size: 12px !important; line-height: 18px !important; letter-spacing: 0.12em; text-transform: uppercase; color: #7ee2b8 !important; }
.rs-cmp__col--risk .rs-cmp__head { color: #c4b5fd !important; }
.rs-prose .rs-cmp ul { list-style: none; margin: 12px 0 0; padding: 0; }
.rs-prose .rs-cmp li { position: relative; margin: 0 0 10px; padding-left: 22px; font-size: 16px; line-height: 24px; }
.rs-cmp li::before { content: "✓"; position: absolute; left: 0; color: #7ee2b8; }
.rs-cmp__col--risk li::before { content: "!"; left: 4px; font-weight: 700; color: #c4b5fd; }
.rs-viz.is-armed .rs-cmp li { opacity: 0; transform: translateX(-6px); transition: opacity .45s ease, transform .45s ease; transition-delay: calc(var(--i) * .16s + .15s); }
.rs-viz.is-in .rs-cmp li { opacity: 1; transform: none; }
@media (max-width: 640px) { .rs-cmp__grid { grid-template-columns: 1fr; } }
/* Toolkit gate inside an article: what's inside, then the form. */
.rs-tk { margin: 40px 0; border-radius: 22px; border: 1px solid rgba(0,85,255,0.4); background: radial-gradient(90% 80% at 100% 0%, rgba(0,85,255,0.18), transparent 60%), #04060c; overflow: hidden; }
.rs-tk__info { padding: 30px 30px 8px; }
.rs-prose .rs-tk__info h3 { margin: 14px 0 0; font-size: 26px; font-weight: 500; letter-spacing: -0.03em; }
.rs-prose .rs-tk__info p { margin-top: 8px; font-size: 16.5px; line-height: 26px; }
.rs-prose .rs-tk__info ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; }
.rs-prose .rs-tk__info li { position: relative; margin: 0; padding-left: 20px; font-size: 14.5px; line-height: 21px; color: rgba(255,255,255,0.82); }
.rs-tk__info li::before { content: "✓"; position: absolute; left: 0; color: #7ee2b8; }
.rs-prose .rs-tk__top { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.rs-tk__meta { font-size: 14px; line-height: 20px; color: var(--muted); }
.rs-gate--inline { position: static; margin: 18px; padding: 26px; }
.rs-gate--inline .rs-gate__form { grid-template-columns: 1fr 1fr; }
.rs-gate--inline .rs-gate__title, .rs-gate--inline .rs-gate__topics, .rs-gate--inline .rs-optin, .rs-gate--inline .ct-submit, .rs-gate--inline .ct-note { grid-column: 1 / -1; }
.rs-gate__topics { margin: 0; }
.rs-other[hidden] { display: none; }
.rs-gate--inline .rs-other { grid-column: 1 / -1; }
.rs-optin { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 21px; color: rgba(255,255,255,0.8); cursor: pointer; }
.rs-optin input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: #0055fe; }
.rs-prose .rs-gate__done p { font-size: 16px; }
.rs-prose .rs-gate .ct-note { margin-top: 0; font-size: 13px; line-height: 20px; color: var(--subtle); }
.rs-prose .rs-gate .ct-status { margin-top: 0; font-size: 14px; }
@media (max-width: 640px) {
  .rs-tk__info { padding: 24px 20px 4px; } .rs-prose .rs-tk__info ul { grid-template-columns: 1fr; }
  .rs-gate--inline { margin: 12px; padding: 20px; } .rs-gate--inline .rs-gate__form { grid-template-columns: 1fr; }
}
/* Steps: checklist cards; each ticks off in turn while a progress bar fills to "Review complete". */
.rs-steps__bar { position: relative; margin-top: 18px; height: 26px; border-radius: 999px; background: rgba(255,255,255,0.06); overflow: hidden; }
.rs-steps__bar i { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, #0055fe, #7ee2b8); transform-origin: left; }
.rs-steps__bar span { position: absolute; right: 12px; top: 0; font-size: 12px; line-height: 26px; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; font-weight: 500; }
.rs-steps ol { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; counter-reset: none; }
.rs-prose .rs-steps li { margin: 0; display: flex; gap: 12px; padding: 16px 16px 14px; border-radius: 14px; border: 1px solid rgba(126,226,184,0.35); background: rgba(126,226,184,0.05); }
.rs-steps__tick { flex: none; width: 28px; height: 28px; }
.rs-steps__tick svg { width: 28px; height: 28px; fill: none; stroke: #7ee2b8; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rs-steps__tick path { stroke-dasharray: 16; stroke-dashoffset: 0; }
.rs-prose .rs-steps__meta { margin: 0 !important; display: flex; gap: 10px; align-items: baseline; font-size: 13px !important; line-height: 20px !important; }
.rs-steps__meta b { color: #fff; font-weight: 500; } .rs-steps__meta span { color: #7ee2b8; letter-spacing: 0.08em; text-transform: uppercase; font-size: 11.5px; }
.rs-prose .rs-steps li div > p:last-child { margin-top: 6px; font-size: 15.5px; line-height: 24px; }
.rs-viz.is-armed.rs-steps li { border-color: var(--line); background: rgba(255,255,255,0.02); transition: border-color .5s, background .5s; transition-delay: calc(var(--i) * .45s + .3s); }
.rs-viz.is-armed .rs-steps__tick path { stroke-dashoffset: 16; transition: stroke-dashoffset .4s ease; transition-delay: calc(var(--i) * .45s + .45s); }
.rs-viz.is-armed .rs-steps__tick circle { stroke: rgba(255,255,255,0.25); transition: stroke .4s; transition-delay: calc(var(--i) * .45s + .3s); }
.rs-viz.is-armed .rs-steps__bar i { transform: scaleX(0); transition: transform calc(var(--n) * .45s + .3s) linear .3s; }
.rs-viz.is-armed .rs-steps__bar span { opacity: 0; transition: opacity .4s; transition-delay: calc(var(--n) * .45s + .5s); }
.rs-viz.is-in.rs-steps li { border-color: rgba(126,226,184,0.35); background: rgba(126,226,184,0.05); }
.rs-viz.is-in .rs-steps__tick path { stroke-dashoffset: 0; } .rs-viz.is-in .rs-steps__tick circle { stroke: #7ee2b8; }
.rs-viz.is-in .rs-steps__bar i { transform: none; } .rs-viz.is-in .rs-steps__bar span { opacity: 1; }
/* Wall: bricks drop in and stack up, one brick per unit. */
.rs-wall ul { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: end; }
.rs-prose .rs-wall li { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.rs-wall li > b { font: 500 22px/1 "DM Sans", system-ui, sans-serif; color: #fff; }
.rs-wall__stack { display: flex; flex-direction: column-reverse; gap: 4px; width: 100%; max-width: 150px; }
.rs-wall__stack i { display: block; height: 18px; border-radius: 4px; background: linear-gradient(90deg, #0055fe, #4d8bff); box-shadow: inset 0 -2px 0 rgba(0,0,0,0.25); }
.rs-wall li:first-child .rs-wall__stack i { background: rgba(143,178,255,0.35); }
.rs-wall__label { font-size: 14px; line-height: 20px; text-align: center; color: var(--muted); }
.rs-viz.is-armed .rs-wall__stack i { opacity: 0; transform: translateY(-60px); transition: opacity .3s ease, transform .45s cubic-bezier(.3,1.4,.5,1); transition-delay: calc(var(--b) * .09s + .2s); }
.rs-viz.is-armed .rs-wall li > b { opacity: 0; transition: opacity .4s; transition-delay: 1.9s; }
.rs-viz.is-in .rs-wall__stack i { opacity: 1; transform: none; } .rs-viz.is-in .rs-wall li > b { opacity: 1; }
/* Compare, "sort" motion: each column fills in turn, items sliding in from the centre line. Columns clip, so nothing overlaps. */
.rs-cmp--sort .rs-cmp__col { overflow: hidden; }
.rs-viz.is-armed.rs-cmp--sort .rs-cmp__col li { opacity: 0; transition: opacity .45s ease, transform .55s cubic-bezier(.2,.8,.2,1); }
.rs-viz.is-armed.rs-cmp--sort .rs-cmp__col--safe li { transform: translateX(48px); transition-delay: calc(var(--r) * .22s + .2s); }
.rs-viz.is-armed.rs-cmp--sort .rs-cmp__col--risk li { transform: translateX(-48px); transition-delay: calc(var(--r) * .22s + 1.4s); }
.rs-viz.is-in.rs-cmp--sort .rs-cmp__col li { opacity: 1; transform: none; }
@media (max-width: 640px) {
  .rs-steps ol { grid-template-columns: 1fr; } .rs-wall__stack i { height: 13px; } .rs-wall li > b { font-size: 18px; }
  .rs-viz.is-armed.rs-cmp--sort .rs-cmp__col--safe li, .rs-viz.is-armed.rs-cmp--sort .rs-cmp__col--risk li { transform: translateY(12px); }
  .rs-viz.is-in.rs-cmp--sort .rs-cmp__col li { transform: none; }
}
/* Funnel: centred bands, each as wide as its share; when armed they start full width and squeeze in, one after another */
.rs-fun ol { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 14px; }
.rs-prose .rs-fun li { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.rs-fun__band { display: flex; align-items: center; justify-content: center; height: 46px; width: calc(var(--v) * 1%); min-width: 68px; border-radius: 10px; background: linear-gradient(90deg, #0055fe, #4d8bff); box-shadow: inset 0 -2px 0 rgba(0,0,0,0.25); }
.rs-fun li:last-child .rs-fun__band { background: linear-gradient(90deg, #4d8bff, #8fb2ff); }
.rs-fun__band b { font: 500 20px/1 "DM Sans", system-ui, sans-serif; color: #fff; }
.rs-fun__label { max-width: 520px; font-size: 15px; line-height: 22px; color: rgba(255,255,255,0.85); }
.rs-viz.is-armed .rs-fun__band { width: 100%; opacity: .3; transition: width 1s cubic-bezier(.2,.75,.15,1), opacity .5s ease; transition-delay: calc(var(--i) * .55s + .2s); }
.rs-viz.is-armed .rs-fun__band b { opacity: 0; transition: opacity .4s ease; transition-delay: calc(var(--i) * .55s + 1s); }
.rs-viz.is-in .rs-fun__band { width: calc(var(--v) * 1%); opacity: 1; }
.rs-viz.is-in .rs-fun__band b { opacity: 1; }
@media (max-width: 640px) { .rs-fun__band { height: 40px; } .rs-fun__band b { font-size: 18px; } .rs-fun__label { font-size: 14px; line-height: 20px; } }
/* Armed by resources.js only when motion is allowed; until then (and without JS) everything shows at its final state. */
.rs-viz.is-armed .rs-tl__item, .rs-viz.is-armed .rs-bars li b { opacity: 0; transform: translateY(8px); transition: opacity .5s ease, transform .5s ease; transition-delay: calc(var(--i) * .22s + .15s); }
.rs-tl.is-armed ol::before { transform: scaleY(0); transition: transform 1.4s cubic-bezier(.3,.7,.2,1); }
.rs-viz.is-armed .rs-bars__track i { transform: scaleX(0); transition: transform 1.1s cubic-bezier(.2,.75,.15,1); transition-delay: calc(var(--i) * .18s + .1s); }
.rs-viz.is-in .rs-tl__item, .rs-viz.is-in .rs-bars li b { opacity: 1; transform: none; }
.rs-tl.is-in ol::before, .rs-viz.is-in .rs-bars__track i { transform: none; }
@media (max-width: 640px) {
  .rs-qcard { padding: 22px 20px 20px; } .rs-qcard blockquote p { font-size: 19px; }
  .rs-viz { padding: 22px 18px 16px; }
  .rs-prose .rs-tl__item { grid-template-columns: auto 1fr; gap: 0 12px; align-items: baseline; padding-bottom: 20px; }
  .rs-tl__lane { grid-column: 2; grid-row: 1; } .rs-tl__item p { grid-column: 1 / -1; grid-row: 2; margin-top: 4px !important; }
}
.rs-take { margin-top: 56px; padding: 30px 32px; border-radius: var(--radius); border: 1px solid rgba(0,85,255,0.35); background: radial-gradient(80% 100% at 100% 0%, rgba(0,85,255,0.16), transparent 60%), #04060c; }
.rs-take h2 { margin: 0; font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: #8fb2ff; font-weight: 500; }
.rs-take ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.rs-take li { position: relative; padding-left: 28px; font-size: 17px; line-height: 27px; }
.rs-take li::before { content: "→"; position: absolute; left: 0; color: #8fb2ff; }
.rs-art__rel { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; font-size: 15px; }
.rs-art__rel span { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--subtle); }
.rs-art__rel a { color: #8fb2ff; }
.rs-art__rel a:hover { color: #fff; }
.rs-more { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; padding-top: 48px; border-top: 1px solid var(--line); }
.rs-more__cta .btn { margin-top: 28px; }
.rs-more__list > p { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--subtle); }
.rs-more__item { display: block; padding: 18px 0; border-bottom: 1px solid var(--line); }
.rs-more__item small { font-size: 12px; color: #8fb2ff; }
.rs-more__item b { display: block; margin-top: 4px; font-weight: 400; font-size: 19px; line-height: 1.3; transition: color .25s; }
.rs-more__item:hover b { color: #8fb2ff; }
.rs-more__all { display: inline-block; margin-top: 18px; color: #8fb2ff; }

/* ---------- Checklist page ---------- */
.rs-cl__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: start; }
.rs-cl__grid > div:first-child > * + * { margin-top: 24px; }
.rs-cl__score { list-style: none; margin: 34px 0 0 !important; padding: 0; display: grid; gap: 10px; }
.rs-cl__score li { display: grid; grid-template-columns: 70px 80px 1fr; gap: 14px; align-items: baseline; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,0.02); }
.rs-cl__score b { font: 13px ui-monospace, "SF Mono", Menlo, monospace; color: #8fb2ff; }
.rs-cl__score strong { font-weight: 500; }
.rs-cl__score span { font-size: 14px; color: var(--muted); line-height: 21px; }
.rs-gate { position: sticky; top: 120px; padding: 34px; border-radius: var(--radius); border: 1px solid rgba(0,85,255,0.35);
  background: radial-gradient(90% 60% at 100% 0%, rgba(0,85,255,0.2), transparent 60%), linear-gradient(180deg, #070b17, #03050b); box-shadow: 0 40px 120px rgba(0,60,255,0.18); }
.rs-gate__form { display: grid; gap: 16px; }
.rs-gate__form[hidden] { display: none; }
.rs-gate__done .btn-row { justify-content: center; }
.rs-gate__title { font-size: 22px; font-weight: 500; letter-spacing: -0.4px; }
.rs-gate__done { text-align: center; padding: 30px 6px; }
.rs-gate__done h2 { margin-top: 22px; font-size: 26px; font-weight: 500; }
.rs-gate__done p { margin: 8px 0 22px; color: var(--muted); }
.rs-areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.rs-area { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,0.03), transparent); }
.rs-area__n { font: 13px ui-monospace, "SF Mono", Menlo, monospace; color: #8fb2ff; }
.rs-area h3 { margin-top: 8px; font-size: 22px; font-weight: 400; letter-spacing: -0.03em; }
.rs-area ul { list-style: none; margin: 16px 0 0; padding: 0; }
.rs-area li { position: relative; padding: 9px 0 9px 26px; border-top: 1px solid var(--line); font-size: 14.5px; line-height: 22px; color: rgba(255,255,255,0.82); }
.rs-area li::before { content: ""; position: absolute; left: 0; top: 12px; width: 13px; height: 13px; border-radius: 3px; border: 1px solid rgba(143,178,255,0.6); }
.rs-area li.is-locked { color: transparent; text-shadow: 0 0 8px rgba(255,255,255,0.55); user-select: none; }
.rs-area li.is-locked::before { border-color: rgba(255,255,255,0.15); }
.rs-areas.is-unlocked li.is-locked { color: rgba(255,255,255,0.82); text-shadow: none; user-select: auto; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) { .rs-case { grid-template-columns: 44px 1fr 32px; row-gap: 6px; } .rs-case__sector { grid-column: 2; grid-row: 1; } .rs-case__title { grid-column: 2; } .rs-case__line { grid-column: 2; } .rs-case__go { grid-column: 3; grid-row: 1 / span 3; align-self: center; } }
@media (max-width: 960px) {
  .rs-hero__grid, .rs-head, .rs-check, .rs-proc, .rs-more, .rs-cl__grid { grid-template-columns: 1fr; gap: 32px; }
  .rs-fan { height: 380px; }
  .rs-feature { grid-template-columns: 1fr; grid-template-areas: "meta" "title" "lead" "quote" "go"; padding: 32px; }
  .rs-fws, .rs-areas { grid-template-columns: 1fr; }
  .rs-check { padding: 32px; }
  .rs-art__grid { grid-template-columns: 1fr; gap: 0; }
  .rs-toc { display: none; }
  .rs-gate { position: static; }
  .rs-preview { display: none; }
  .rs-case__thumb { display: block; grid-column: 2; width: 100%; max-width: 360px; height: 150px; object-fit: cover; border-radius: 12px; margin-top: 10px; filter: grayscale(0.35); }
}
@media (max-width: 640px) {
  .rs-fan { height: 340px; }
  .rs-card { width: 210px; height: 280px; margin: -140px 0 0 -105px; }
  .rs-card b { font-size: 72px; }
  .rs-card.is-peek b { transform: translateY(-136px) scale(.6); }
  .rs-post { grid-template-columns: 1fr; gap: 12px; }
  .rs-post__go { display: none; }
  .rs-cl__score li { grid-template-columns: 60px 1fr; } .rs-cl__score span { grid-column: 1 / -1; }
  .rs-prose p { font-size: 17px; line-height: 29px; }
}

/* ---------- Article: hero figure, case studies, references ---------- */
.rs-art__fig { margin: 48px auto 0; max-width: 1200px; }
.rs-art__fig img { width: 100%; height: clamp(240px, 42vw, 520px); object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); filter: grayscale(0.55) contrast(1.08) brightness(0.85); }
.rs-cases-x, .rs-refs { margin-top: 56px; }
.rs-cases-x h2, .rs-refs h2 { margin: 0; font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: #8fb2ff; font-weight: 500; }
.rs-cases-x__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-top: 18px; }
.rs-xcase { display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255,255,255,0.025); transition: border-color .25s, transform .3s; }
.rs-xcase:hover { border-color: rgba(120,165,255,0.6); transform: translateY(-3px); }
.rs-xcase small { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: #8fb2ff; }
.rs-xcase.is-ext small { color: #7ee2b8; }
.rs-xcase b { font-weight: 500; font-size: 16px; line-height: 22px; color: #fff; }
.rs-xcase span { font-size: 14px; line-height: 21px; color: var(--muted); }
.rs-refs ol { margin: 18px 0 0; padding-left: 22px; font-size: 15px; line-height: 24px; color: var(--muted); }
.rs-refs li + li { margin-top: 10px; }
.rs-refs li a { color: #cfe0ff; text-decoration: underline; text-decoration-color: rgba(143,178,255,0.4); text-underline-offset: 3px; }
.rs-refs li a:hover { color: #fff; text-decoration-color: #8fb2ff; }
.rs-refs li span { display: block; font-size: 13px; color: var(--subtle); }
.rs-refs__note { margin-top: 16px !important; font-size: 13px !important; line-height: 20px !important; color: var(--subtle) !important; }
.rs-prose .rs-note { padding: 12px 16px; border-radius: 12px; border: 1px dashed rgba(143,178,255,0.4); font-size: 14.5px; line-height: 23px; color: var(--muted); }
/* Article header lines up with the contents list and image below it; the text keeps a readable width. */
.rs-art__head { max-width: calc(var(--max) + 40px); }
.rs-art__head > * { max-width: 980px; }
.rs-art__fig { max-width: calc(var(--max) + 40px); }
.rs-mtoc { display: none; }
@media (max-width: 960px) {
  .rs-mtoc { display: block; margin-bottom: 28px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,0.03); }
  .rs-mtoc summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; font-size: 15px; cursor: pointer; }
  .rs-mtoc summary::-webkit-details-marker { display: none; }
  .rs-mtoc summary small { font-size: 12px; color: var(--subtle); }
  .rs-mtoc summary::after { content: ""; width: 8px; height: 8px; margin-left: 10px; border-right: 1.6px solid #8fb2ff; border-bottom: 1.6px solid #8fb2ff; transform: rotate(45deg); transition: transform .3s; }
  .rs-mtoc[open] summary::after { transform: rotate(-135deg); }
  .rs-mtoc ol { margin: 0; padding: 0 16px 14px 34px; font-size: 15px; line-height: 22px; }
  .rs-mtoc li + li { margin-top: 8px; }
  .rs-mtoc a { color: #cfe0ff; }
  .rs-prose .rs-mtoc + h2 { margin-top: 0; }
}
.rs-proc__more { display: inline-block; margin-top: 22px; color: #8fb2ff; }
